service PrinterDescriptor in module com::sun::star::view::

(Global Index)

Syntax

service PrinterDescriptor;

Description

describes a printer by specifying the queue name and some settings.

This service may be represented by a PropertyValue [] .

See also

PropertyValue

Property Summary

Name specifies the name of the printer queue to be used.

PaperOrientation specifies the orientation of the paper.

PaperFormat specifies a predefined paper size or if the paper size is a user-defined size.

PaperSize specifies the size of the paper in 100th mm.

IsBusy indicates if the printer is busy.

CanSetPaperOrientation indicates if the printer allows changes to PaperOrientation.

CanSetPaperFormat indicates if the printer allows changes to PaperFormat.

CanSetPaperSize indicates if the printer allows changes to PaperSize.

Property Details



Name

Syntax

string Name;

Description

specifies the name of the printer queue to be used.


PaperOrientation

Syntax

com::sun::star::view::PaperOrientation PaperOrientation;

Description

specifies the orientation of the paper.


PaperFormat

Syntax

com::sun::star::view::PaperFormat PaperFormat;

Description

specifies a predefined paper size or if the paper size is a user-defined size.

Setting this property may change the value of "PaperSize".


PaperSize

Syntax

com::sun::star::awt::Size PaperSize;

Description

specifies the size of the paper in 100th mm.

Setting this property may change the value of "PaperFormat".


IsBusy

Syntax

[readonly] boolean IsBusy;

Description

indicates if the printer is busy.


CanSetPaperOrientation

Syntax

[readonly] boolean CanSetPaperOrientation;

Description

indicates if the printer allows changes to PaperOrientation.


CanSetPaperFormat

Syntax

[readonly] boolean CanSetPaperFormat;

Description

indicates if the printer allows changes to PaperFormat.


CanSetPaperSize

Syntax

[readonly] boolean CanSetPaperSize;

Description

indicates if the printer allows changes to PaperSize.

Top of Page