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

interface XPrinterPropertySet
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-::com::sun::star::beans::XPropertySet
    |
    +-XPrinterPropertySet
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
See also
XInfoPrinter

Methods' Summary
setHorizontal sets the orientation.
getFormDescriptions
selectForm sets the form that should used.
getBinarySetup
setBinarySetup sets the data specific to the printer driver.
Methods' Details
setHorizontal
void
setHorizontal(
 
[in] boolean 

raises(

 
bHorizontal ) 
::com::sun::star::beans::PropertyVetoException,
::com::sun::star::lang::IllegalArgumentException );

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

Returns
descriptions of all available printer forms.
selectForm
void
selectForm(
 
[in] string 

raises(

 
aFormDescription ) 
::com::sun::star::beans::PropertyVetoException,
::com::sun::star::lang::IllegalArgumentException );

Description
sets the form that should used.

Indirectly a printer is selected.

getBinarySetup
sequence< byte >
getBinarySetup();
 
 

Returns
a binary encoded version of the printer setup.
setBinarySetup
void
setBinarySetup(
 
[in] sequence< byte > 

raises(

 
data ) 
::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