27require
'../main.inc.php';
28include_once DOL_DOCUMENT_ROOT.
'/core/modules/printing/modules_printing.php';
31$langs->load(
"printing");
51print_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');
53print $langs->trans(
"DirectPrintingJobsDesc").
'<br><br>';
57$result =
$object->listDrivers($db, 10);
58foreach ($result as $driver) {
59 require_once DOL_DOCUMENT_ROOT.
'/core/modules/printing/'.$driver.
'.modules.php';
60 $classname =
'printing_'.$driver;
61 $langs->load($driver);
62 $printer =
new $classname($db);
63 '@phan-var-force PrintingDriver $printer';
64 $keyforprinteractive = $printer->active;
67 $result = $printer->listJobs();
68 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($head='', $title='', $help_url='', $target='', $disablejs=0, $disablehead=0, $arrayofjs='', $arrayofcss='', $morequerystring='', $morecssonbody='', $replacemainareaby='', $disablenofollow=0, $disablenoindex=0)
Empty header.
Parent class of emailing target selectors modules.
setEventMessages($mesg, $mesgs, $style='mesgs', $messagekey='', $noduplicate=0, $attop=0)
Set event messages in dol_events session object.
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.
getDolGlobalString($key, $default='')
Return a 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.