Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.11

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

interface XPrinterServer
Description
manages several printers on one machine.

Methods' Summary
getPrinterNames returns a list of all available printer names.  
createPrinter creates a new virtual printer.  
createInfoPrinter creates a new information printer.  
Methods' Details
getPrinterNames
sequence< string >
getPrinterNames();

Description
returns a list of all available printer names.
createPrinter
XPrinter
createPrinter( [in] string  printerName );

Description
creates a new virtual printer.

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

createInfoPrinter
XInfoPrinter
createInfoPrinter( [in] 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.