:: com :: sun :: star :: view ::

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

This service may be represented by a ::com::sun::star::beans::PropertyValue [] .

See also
::com::sun::star::beans::PropertyValue
Developers Guide
10.2.3 Drawing Documents and Presentation Documents - Handling Drawing Document Files - Printing Drawing Documents - Printer and Print Job Settings
9.2.3 Spreadsheet Documents - Handling Spreadsheet Document Files - Printing Spreadsheet Documents - Printer and Print Job Settings

Properties' Summary
string
Name
specifies the name of the printer queue to be used.  
PaperOrientation
PaperOrientation
specifies the orientation of the paper.  
PaperFormat
PaperFormat
specifies a predefined paper size or if the paper size is a user-defined size.  
::com::sun::star::awt::Size
PaperSize
specifies the size of the paper in 100th mm.  
[ readonly ] boolean
IsBusy
indicates, whether the printer is busy or not.  
[ readonly ] boolean
CanSetPaperOrientation
indicates, whether the printer allows changes to PrinterDescriptor::PaperOrientation .  
[ readonly ] boolean
CanSetPaperFormat
indicates, whether the printer allows changes to PrinterDescriptor::PaperFormat .  
[ readonly ] boolean
CanSetPaperSize
indicates if the printer allows changes to PrinterDescriptor::PaperSize .  
Properties' Details
Name
string Name;
Description
specifies the name of the printer queue to be used.

Which printer queues are available, can be figured out with the system library of the used programming language/environment.

PaperOrientation
PaperOrientation PaperOrientation;
Description
specifies the orientation of the paper.
PaperFormat
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 PrinterDescriptor PaperSize

PaperSize
::com::sun::star::awt::Size PaperSize;
Description
specifies the size of the paper in 100th mm.

Setting this property may change the value of PrinterDescriptor PaperFormat

IsBusy
[ readonly ] boolean IsBusy;
Description
indicates, whether the printer is busy or not.
CanSetPaperOrientation
[ readonly ] boolean CanSetPaperOrientation;
Description
indicates, whether the printer allows changes to PrinterDescriptor::PaperOrientation .
CanSetPaperFormat
[ readonly ] boolean CanSetPaperFormat;
Description
indicates, whether the printer allows changes to PrinterDescriptor::PaperFormat .
CanSetPaperSize
[ readonly ] boolean CanSetPaperSize;
Description
indicates if the printer allows changes to PrinterDescriptor::PaperSize .

 
Top of Page