dolibarr  7.0.0-beta
Public 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...
 
 print_file ($file, $module, $subdir='')
 Print selected file. More...
 
 listAvailablePrinters ()
 Return list of available printers. More...
 
 getlist_available_printers ()
 Return list of available printers. More...
 
 get_printer_detail ($uri)
 Get printer detail. More...
 
 list_jobs ($module)
 List jobs print. More...
 
- Public Member Functions inherited from PrintingDriver
 __construct ($db)
 Constructor. More...
 
 getDesc ()
 Return description of Printing Module. 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

printing_printipp::__construct (   $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

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

References conf(), and user.

Member Function Documentation

printing_printipp::get_printer_detail (   $uri)

Get printer detail.

Parameters
string$uriURI
Returns
array List of attributes

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

References user.

printing_printipp::getlist_available_printers ( )

Return list of available printers.

Returns
array list of printers

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

References user.

printing_printipp::list_jobs (   $module)

List jobs print.

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

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

References user.

printing_printipp::listAvailablePrinters ( )

Return list of available printers.

Returns
int 0 if OK, >0 if KO

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

References img_picto().

printing_printipp::print_file (   $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 78 of file printipp.modules.php.

References dol_print_error(), dol_syslog(), and user.


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