26require
'../main.inc.php';
27include_once DOL_DOCUMENT_ROOT.
'/core/modules/printing/modules_printing.php';
30$langs->load(
"printing");
50print_barre_liste($langs->trans(
"Printing"), 0, $_SERVER[
"PHP_SELF"],
'',
'',
'',
'<a class="button" href="'.$_SERVER[
"PHP_SELF"].
'">'.$langs->trans(
"Refresh").
'</a>', 0, 0,
'title_setup.png');
52print $langs->trans(
"DirectPrintingJobsDesc").
'<br><br>';
56$result =
$object->listDrivers($db, 10);
57foreach ($result as $driver) {
58 require_once DOL_DOCUMENT_ROOT.
'/core/modules/printing/'.$driver.
'.modules.php';
59 $classname =
'printing_'.$driver;
60 $langs->load($driver);
61 $printer =
new $classname($db);
62 $keyforprinteractive = $printer->active;
65 $result = $printer->listJobs();
66 print $printer->resprint;
if( $user->socid > 0) if(! $user->hasRight('accounting', 'chartofaccount')) $object
if(!defined('NOREQUIRESOC')) if(!defined( 'NOREQUIRETRAN')) if(!defined('NOTOKENRENEWAL')) if(!defined( 'NOREQUIREMENU')) if(!defined('NOREQUIREHTML')) if(!defined( 'NOREQUIREAJAX')) llxHeader()
Empty header.
Parent class of emailing target selectors modules.
print_barre_liste($title, $page, $file, $options='', $sortfield='', $sortorder='', $morehtmlcenter='', $num=-1, $totalnboflines='', $picto='generic', $pictoisfullpath=0, $morehtmlright='', $morecss='', $limit=-1, $hideselectlimit=0, $hidenavigation=0, $pagenavastextinput=0, $morehtmlrightbeforearrow='')
Print a title with navigation controls for pagination.
setEventMessages($mesg, $mesgs, $style='mesgs', $messagekey='', $noduplicate=0)
Set event messages in dol_events session object.
getDolGlobalString($key, $default='')
Return dolibarr global constant string value.
accessforbidden($message='', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program.