LibreOffice: XPrinterServer Interface Reference

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
XPrinterServer Interface Referencepublished

manages several printers on one machine. More...

`import "XPrinterServer.idl";`

Inheritance diagram for XPrinterServer:

## Public Member Functions
sequence< string > | getPrinterNames ()
| returns a list of all available printer names.
com::sun::star::awt::XPrinter | createPrinter ([in] string printerName)
| creates a new virtual printer.
com::sun::star::awt::XInfoPrinter | createInfoPrinter ([in] string printerName)
| creates a new information printer.
Public Member Functions inherited from XInterface
any | queryInterface ([in] type aType)
| queries for a new interface to an existing UNO object.
void | acquire ()
| increases the reference counter by one.
void | release ()
| decreases the reference counter by one.

## Detailed Description

manages several printers on one machine.

## Member Function Documentation

## ◆ createInfoPrinter()

com::sun::star::awt::XInfoPrinter createInfoPrinter | ( | [in] string | printerName | ) |

creates a new information printer.

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

## ◆ createPrinter()

com::sun::star::awt::XPrinter createPrinter | ( | [in] string | printerName | ) |

creates a new virtual printer.

You must call com::sun::star::awt::XPrinter::start() to put the job into the printer spooler.

## ◆ getPrinterNames()

sequence< string > getPrinterNames | ( |  | ) |

returns a list of all available printer names.

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

- com/sun/star/awt/XPrinterServer.idl