interface XPrinterPropertySet in module com::sun::star::awt::

(Global Index)

Syntax

interface XPrinterPropertySet : com::sun::star::beans::XPropertySet ;

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 PropertyVetoException is thrown.

See also

XPrinter

See also

XInfoPrinter

Method Summary

setHorizontal sets the orientation.

getFormDescriptions

selectForm sets the form that should used.

getBinarySetup

setBinarySetup sets the data specific to the printer driver.

Method Details



setHorizontal

Syntax

void setHorizontal (
boolean bHorizontal )
raises ( com::sun::star::beans::PropertyVetoException , com::sun::star::lang::IllegalArgumentException );

Description

sets the orientation.


getFormDescriptions

Syntax

sequence< string > getFormDescriptions ();

Returns

descriptions of all available printer forms.

selectForm

Syntax

void selectForm (
string aFormDescription )
raises ( com::sun::star::beans::PropertyVetoException , com::sun::star::lang::IllegalArgumentException );

Description

sets the form that should used.

Indirectly a printer is selected.


getBinarySetup

Syntax

sequence< byte > getBinarySetup ();

Returns

a binary encoded version of the printer setup.

setBinarySetup

Syntax

void setBinarySetup (
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