Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XPrinterPropertySet
Base Interfaces
XPrinterPropertySet
┗ ::com::sun::star::beans::XPropertySet

::com::sun::star::beans::XPropertySet
(referenced interface's summary:)
provides information about and access to the properties from an implementation.
Description
represents an extended property set for printer properties.

All properties are vetoable properties. If you change the properties between XPrinter::startPage and XPrinter::endPage, a ::com::sun::star::beans::PropertyVetoException is thrown.

See also
XPrinter, XInfoPrinter

Methods' Summary
setHorizontal sets the orientation.  
getFormDescriptions returns descriptions of all available printer forms.  
selectForm sets the form that should be used.  
getBinarySetup returns a binary encoded version of the printer setup.  
setBinarySetup sets the data specific to the printer driver.  
Methods' Details
setHorizontal
void
setHorizontal( [in] boolean  bHorizontal )
raises( ::com::sun::star::beans::PropertyVetoException,
::com::sun::star::lang::IllegalArgumentException );

Description
sets the orientation.
getFormDescriptions
sequence< string >
getFormDescriptions();

Description
returns descriptions of all available printer forms.
selectForm
void
selectForm( [in] string  aFormDescription )
raises( ::com::sun::star::beans::PropertyVetoException,
::com::sun::star::lang::IllegalArgumentException );

Description
sets the form that should be used.

Indirectly a printer is selected.

getBinarySetup
sequence< byte >
getBinarySetup();

Description
returns a binary encoded version of the printer setup.
setBinarySetup
void
setBinarySetup( [in] sequence< byte >  data )
raises( ::com::sun::star::beans::PropertyVetoException,
::com::sun::star::lang::IllegalArgumentException );

Description
sets the data specific to the printer driver.

Get this data from the info printer and set the data to the printer.

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.