(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

service PrintOptions
Description
describes the options for print jobs.

These options are only valid for a single print job. They do not change layout or formatting of the document.

Developers Guide
Drawings - Printing Drawing Documents - Printer and Print Job Settings
Spreadsheets - Printing Spreadsheet Documents - Printer and Print Job Settings

Properties' Summary
short
CopyCount
specifies the number of copies to print.  
string
FileName
if set, specifies the name of a file to print to.  
boolean
Collate
advises the printer to collate the pages of the copies.  
boolean
Sort
[ DEPRECATED ]
advises the printer to sort the pages of the copies.  
string
Pages
specifies which pages to print.  
boolean
Wait
[ OPTIONAL ]
if set to TRUE, the corresponding XPrintable.print() request will be executed synchronous.  
short
DuplexMode
[ OPTIONAL ]
determines the duplex mode for the print job.  
Properties' Details
CopyCount
short CopyCount;
Description
specifies the number of copies to print.
FileName
string FileName;
Description
if set, specifies the name of a file to print to.
Collate
boolean Collate;
Description
advises the printer to collate the pages of the copies.
Sort
boolean Sort;
Usage Restrictions
deprecated
Deprecation Info
Use Collate instead.
Description
advises the printer to sort the pages of the copies.
Pages
string Pages;
Description
specifies which pages to print.

This range is given as at the user interface. For example: "1-4;10" to print the pages 1 to 4 and 10.

Wait
boolean Wait;
Usage Restrictions
optional
Description
if set to TRUE, the corresponding XPrintable.print() request will be executed synchronous.

Default is the asynchronous print mode.

@attention Using of this property with TRUE as value is highly reommended. Otherwhise following actions (as e.g. closing the corresponding model) can fail.
DuplexMode
short DuplexMode;
Usage Restrictions
optional
Description
determines the duplex mode for the print job.
See also
DuplexMode
for more information about supported values

 
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.