Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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
Drawings - Printing Drawing Documents - Printer and Print Job Settings
Spreadsheets - 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 PrinterDescriptorPaperSize

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 PrinterDescriptorPaperFormat

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

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.