LibreOffice
LibreOffice 7.6 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Attributes | List of all members
PrintOptions Service Referencepublished

describes the options for print jobs. More...

import "PrintOptions.idl";

Public Attributes

short CopyCount
 specifies the number of copies to print. More...
 
string FileName
 if set, specifies the name of a file to print to. More...
 
boolean Collate
 advises the printer to collate the pages of the copies. More...
 
boolean Sort
 advises the printer to sort the pages of the copies. More...
 
string Pages
 specifies which pages to print. More...
 
boolean Wait
 if set to TRUE, the corresponding XPrintable.print() request will be executed synchronous. More...
 
short DuplexMode
 determines the duplex mode for the print job. More...
 
string PrinterName
 if set, specifies name of the printer to use. More...
 
boolean SinglePrintJobs
 advises the printer to create a single print job for each copy. More...
 
boolean JobName
 The job name which is sent to the printer (can be seen in the Printer job queue). More...
 

Detailed 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 and Presentations - Printing Drawing Documents - Printer and Print Job Settings
Spreadsheet Documents - Printing Spreadsheet Documents - Printer and Print Job Settings

Member Data Documentation

boolean Collate
property

advises the printer to collate the pages of the copies.

short CopyCount
property

specifies the number of copies to print.

short DuplexMode
optionalproperty

determines the duplex mode for the print job.

See Also
DuplexMode for more information about supported values
string FileName
property

if set, specifies the name of a file to print to.

boolean JobName
optionalproperty

The job name which is sent to the printer (can be seen in the Printer job queue).

If omitted, the document title will be used as default.

Since
LibreOffice 7.5
string Pages
property

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.

string PrinterName
optionalproperty

if set, specifies name of the printer to use.

boolean SinglePrintJobs
optionalproperty

advises the printer to create a single print job for each copy.

boolean Sort
property

advises the printer to sort the pages of the copies.

Deprecated:
Use Collate instead.
boolean Wait
optionalproperty

if set to TRUE, the corresponding XPrintable.print() request will be executed synchronous.

<p>Default is the asynchronous print mode.</p>
Attention
Using of this property with TRUE as value is highly recommended. Otherwise following actions (as e.g. closing the corresponding model) can fail.

The documentation for this service was generated from the following file: