Top   Module   Use   Manual   Index 
 INCLUDED SERVICES | EXPORTED INTERFACES | PROPERTIES' SUMMARY | PROPERTIES' DETAILS 

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 PropertyValue [] .

See also
com::sun::star::beans::PropertyValue


Properties' 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, whether the printer is busy or not.
CanSetPaperOrientation indicates, whether the printer allows changes to PrinterDescriptor::PaperOrientation .
CanSetPaperFormat indicates, whether the printer allows changes to PrinterDescriptor::PaperFormat .
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
 
com::sun::star::view::PaperOrientation PaperOrientation;
Description
specifies the orientation of the paper.
PaperFormat
 
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 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