PHP. PrinterWrapper

Summary
Object containing the methods used to print.
Text name of the current printer driver.
Boolean, determines if debug information is displayed
Determines if the system uses CUPS (Common Unix Printing System).
Sets the debug status of the wrapper.

Variables

PrinterWrapper->driver

Object containing the methods used to print.

PrinterWrapper->type

Text name of the current printer driver.

PrinterWrapper->debug

Boolean, determines if debug information is displayed

Functions

PrinterWrapper constructor

Parameters

$driver(optional) Force driver to specified.  The driver is loaded as PHP.Printer + $driver.  Defaults to autodetect.

PrinterWrapper->IsCUPS

Determines if the system uses CUPS (Common Unix Printing System).

PrinterWrapper->SetDebug

Sets the debug status of the wrapper.

Parameters

$debugBoolean, whether debug is on.  If not given, defaults to true.