Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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