dolibarr  9.0.0
Public Member Functions | Private Member Functions | List of all members
printing_printipp Class Reference

Class to provide printing with PrintIPP. More...

+ Inheritance diagram for printing_printipp:
+ Collaboration diagram for printing_printipp:

Public Member Functions

 __construct ($db)
 Constructor. More...
 
 printFile ($file, $module, $subdir='')
 Print selected file. More...
 
 listAvailablePrinters ()
 Return list of available printers. More...
 
 getlistAvailablePrinters ()
 Return list of available printers. More...
 
 listJobs ($module)
 List jobs print. More...
 
- Public Member Functions inherited from PrintingDriver
 __construct ($db)
 Constructor. More...
 
 getDesc ()
 Return description of Printing Module. More...
 

Private Member Functions

 getPrinterDetail ($uri)
 Get printer detail. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from PrintingDriver
static listDrivers ($db, $maxfilenamelength=0)
 Return list of printing driver. More...
 

Detailed Description

Class to provide printing with PrintIPP.

Definition at line 31 of file printipp.modules.php.

Constructor & Destructor Documentation

◆ __construct()

printing_printipp::__construct (   $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 65 of file printipp.modules.php.

Member Function Documentation

◆ getlistAvailablePrinters()

printing_printipp::getlistAvailablePrinters ( )

Return list of available printers.

Returns
array list of printers

Definition at line 207 of file printipp.modules.php.

◆ getPrinterDetail()

printing_printipp::getPrinterDetail (   $uri)
private

Get printer detail.

Parameters
string$uriURI
Returns
array List of attributes

Definition at line 229 of file printipp.modules.php.

◆ listAvailablePrinters()

printing_printipp::listAvailablePrinters ( )

Return list of available printers.

Returns
int 0 if OK, >0 if KO

Definition at line 155 of file printipp.modules.php.

◆ listJobs()

printing_printipp::listJobs (   $module)

List jobs print.

Parameters
string$modulemodule
Returns
int 0 if OK, >0 if KO

Definition at line 254 of file printipp.modules.php.

◆ printFile()

printing_printipp::printFile (   $file,
  $module,
  $subdir = '' 
)

Print selected file.

Parameters
string$filefile
string$modulemodule
string$subdirsubdirectory of document like for expedition subdir is sendings
Returns
int 0 if OK, >0 if KO

Definition at line 90 of file printipp.modules.php.


The documentation for this class was generated from the following file: