interface XPrinterServer in module com::sun::star::awt::

(Global Index)

Syntax

interface XPrinterServer : com::sun::star::uno::XInterface ;

Description

manages several printers on one machine.

Method Summary

getPrinterNames

createPrinter creates a new virtual printer.

createInfoPrinter creates a new information printer.

Method Details



getPrinterNames

Syntax

sequence< string > getPrinterNames ();

Returns

a list of all available printer names.

createPrinter

Syntax

com::sun::star::awt::XPrinter createPrinter (
string printerName );

Description

creates a new virtual printer.

You must call XPrinter::start to put the job into the printer spooler.


createInfoPrinter

Syntax

com::sun::star::awt::XInfoPrinter createInfoPrinter (
string printerName );

Description

creates a new information printer.

You can get all information from this printer, but the printer cannot really print.

Top of Page