dolibarr 21.0.0-beta
|
Class to provide printing with PrintIPP. More...
Public Member Functions | |
__construct ($db) | |
Constructor. | |
printFile ($file, $module, $subdir='') | |
Print selected file. | |
listAvailablePrinters () | |
Return list of available printers. | |
getlistAvailablePrinters () | |
Return list of available printers. | |
listJobs ($module=null) | |
List jobs print. | |
Public Member Functions inherited from PrintingDriver | |
getDesc () | |
Return description of Printing Module. | |
Private Member Functions | |
getPrinterDetail ($uri) | |
Get printer detail. | |
Additional Inherited Members | |
Static Public Member Functions inherited from PrintingDriver | |
static | listDrivers ($db, $maxfilenamelength=0) |
Return list of printing driver. | |
Class to provide printing with PrintIPP.
Definition at line 32 of file printipp.modules.php.
printing_printipp::__construct | ( | $db | ) |
Constructor.
Reimplemented from PrintingDriver.
Definition at line 95 of file printipp.modules.php.
References conf(), getDolGlobalInt(), getDolGlobalString(), and user.
printing_printipp::getlistAvailablePrinters | ( | ) |
Return list of available printers.
Reimplemented from PrintingDriver.
Definition at line 245 of file printipp.modules.php.
|
private |
Get printer detail.
string | $uri | URI |
Definition at line 267 of file printipp.modules.php.
printing_printipp::listAvailablePrinters | ( | ) |
Return list of available printers.
@phan-suppress PhanTypeExpectedObjectPropAccess
Reimplemented from PrintingDriver.
Definition at line 192 of file printipp.modules.php.
References $conf, img_picto(), and newToken().
printing_printipp::listJobs | ( | $module = null | ) |
List jobs print.
?string | $module | module |
Reimplemented from PrintingDriver.
Definition at line 292 of file printipp.modules.php.
References dolPrintHTML(), and user.
printing_printipp::printFile | ( | $file, | |
$module, | |||
$subdir = '' ) |
Print selected file.
string | $file | file |
string | $module | module |
string | $subdir | subdirectory of document like for expedition subdir is sendings |
Reimplemented from PrintingDriver.
Definition at line 122 of file printipp.modules.php.
References $conf, dol_print_error(), dol_syslog(), getDolGlobalString(), and user.