|
LibreOffice
LibreOffice 26.2 SDK API Reference
|
represents a virtual printer. More...
import "XPrinter.idl";
represents a virtual printer.
All properties are vetoable properties. If you change the properties between a call to com::sun::star::awt::XPrinter::startPage() and a call to com::sun::star::awt::XPrinter::endPage(), a com::sun::star::beans::PropertyVetoException is thrown.
| void end | ( | ) | ||||
| raises | ( | com::sun::star::awt::PrinterException ) | ||||
notifies the printer spooler that the job is done and printing starts.
| void endPage | ( | ) | ||||
| raises | ( | com::sun::star::awt::PrinterException ) | ||||
ends the current page.
| boolean start | ( | [in] string | nJobName, | |||
| [in] short | nCopies, | |||||
| [in] boolean | nCollate ) | |||||
| raises | ( | com::sun::star::awt::PrinterException, | ||||
| com::sun::star::lang::IllegalArgumentException ) | ||||||
puts the job into the printer spooler.
This call may block the thread. So release all resources (mutex, semaphore, etc.) before this call.
| com::sun::star::awt::XDevice startPage | ( | ) | ||||
| raises | ( | com::sun::star::awt::PrinterException ) | ||||
begins with a new page.
| void terminate | ( | ) |
stops the current print job.
If the method com::sun::star::awt::XPrinter::end() is called beforehand, then this call does nothing. If you call com::sun::star::awt::XPrinter::terminate() in or before the call to com::sun::star::awt::XPrinter::start(), com::sun::star::awt::XPrinter::terminate() returns FALSE. This call must not block the thread.