|
| 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.
|
| void | end () raises ( com::sun::star::awt::PrinterException ) |
| | notifies the printer spooler that the job is done and printing starts.
|
| void | terminate () |
| | stops the current print job.
|
| com::sun::star::awt::XDevice | startPage () raises ( com::sun::star::awt::PrinterException ) |
| | begins with a new page.
|
| void | endPage () raises ( com::sun::star::awt::PrinterException ) |
| | ends the current page.
|
| void | setHorizontal ([in] boolean bHorizontal) raises ( com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException ) |
| | sets the orientation.
|
| sequence< string > | getFormDescriptions () |
| | returns descriptions of all available printer forms.
|
| void | selectForm ([in] string aFormDescription) raises ( com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException ) |
| | sets the form that should be used.
|
| sequence< byte > | getBinarySetup () |
| | returns a binary encoded version of the printer setup.
|
| void | setBinarySetup ([in] sequence< byte > data) raises ( com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException ) |
| | sets the data specific to the printer driver.
|
| com::sun::star::beans::XPropertySetInfo | getPropertySetInfo () |
| void | setPropertyValue ([in] string aPropertyName, [in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException ) |
| | sets the value of the property with the specified name.
|
| any | getPropertyValue ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| void | addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| | adds an XPropertyChangeListener to the specified property.
|
| void | removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| | removes an XPropertyChangeListener from the listener list.
|
| void | addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| | adds an XVetoableChangeListener to the specified property with the name PropertyName.
|
| void | removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException ) |
| | removes an XVetoableChangeListener from the listener list.
|
| 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.
|
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.