LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XPrinterServer Interface Referencepublished

manages several printers on one machine. More...

import"XPrinterServer.idl";

Inheritance diagram for XPrinterServer:
XInterface XPrinterServer2 PrinterServer

Public Member Functions

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

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: