Overview | Module | Use | Devguide | 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 ::com::sun::star::beans::PropertyValue [] . See also ::com::sun::star::beans::PropertyValue Developers Guide 9.2.3 Drawing Documents and Presentation Documents - Handling Drawing Document Files - Printing Drawing Documents - Printer and Print Job Settings 8.2.3 Spreadsheet Documents - Handling Spreadsheet Document Files - Printing Spreadsheet Documents - Printer and Print Job Settings

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
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

Copyright © 2003 Sun Microsystems, Inc.