<html> <head> <title>Service PrintOptions</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="PrintOptions-xref.html" class="navimain">Use</a></td> <td class="navimain"><a href="#devmanual" class="navimain">Devguide</a></td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub">Included Services</td> <td class="navisub">Exported Interfaces</td> <td class="navisub"><a href="#PropertiesSummary" class="navisub">Properties' Summary</a></td> <td class="navisub"><a href="#PropertiesDetails" class="navisub">Properties' Details</a></td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">view</a> :: </p> </td> </tr> <tr> <td class="title">service PrintOptions</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>describes the options for print jobs. </dd> <dd><p>These options are only valid for a single print job. They do not change layout or formatting of the document. </dd> </dl> <a name="devmanual"> </a><dl> <dt><b>Developers Guide</b></dt> <dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Drawings/Printing_Drawing_Documents#Printer_and_Print_Job_Settings">Drawings - Printing Drawing Documents - Printer and Print Job Settings</a></dd> <dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Spreadsheets/Printing_Spreadsheet_Documents#Printer_and_Print_Job_Settings">Spreadsheets - Printing Spreadsheet Documents - Printer and Print Job Settings</a></dd> </dl> </td> </tr> </table> <hr> <a name="PropertiesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Properties' Summary</td> </tr> <tr> <td class="imsum_left">short<br> <a href="#CopyCount">CopyCount</a></td> <td class="imsum_right">specifies the number of copies to print. </td> </tr> <tr> <td class="imsum_left">string<br> <a href="#FileName">FileName</a></td> <td class="imsum_right">if set, specifies the name of a file to print to. </td> </tr> <tr> <td class="imsum_left">boolean<br> <a href="#Collate">Collate</a></td> <td class="imsum_right">advises the printer to collate the pages of the copies. </td> </tr> <tr> <td class="imsum_left">boolean<br> <a href="#Sort">Sort</a></td> <td class="imsum_right"><b>[ DEPRECATED ]<br> </b>advises the printer to sort the pages of the copies. </td> </tr> <tr> <td class="imsum_left">string<br> <a href="#Pages">Pages</a></td> <td class="imsum_right">specifies which pages to print. </td> </tr> <tr> <td class="imsum_left">boolean<br> <a href="#Wait">Wait</a></td> <td class="imsum_right"><b>[ OPTIONAL ]<br> </b>if set to TRUE, the corresponding <a href="XPrintable.html">XPrintable</a>.print() request will be executed synchronous. </td> </tr> </table> <a name="PropertiesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Properties' Details</td> </tr> <tr> <td class="imdetail"><a name="CopyCount" class="membertitle">CopyCount</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>CopyCount</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the number of copies to print. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="FileName" class="membertitle">FileName</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>FileName</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>if set, specifies the name of a file to print to. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Collate" class="membertitle">Collate</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>Collate</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>advises the printer to collate the pages of the copies. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Sort" class="membertitle">Sort</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>Sort</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>deprecated</i></dd> <dt><b>Deprecation Info</b></dt> <dd>Use <a href="#Collate">Collate</a> instead. </dd> <dt><b>Description</b></dt> <dd>advises the printer to sort the pages of the copies. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Pages" class="membertitle">Pages</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>Pages</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies which pages to print. </dd> <dd><p>This range is given as at the user interface. For example: "1-4;10" to print the pages 1 to 4 and 10. </p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Wait" class="membertitle">Wait</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>Wait</b>;<hr> <dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>if set to TRUE, the corresponding <a href="XPrintable.html">XPrintable</a>.print() request will be executed synchronous. </dd> <dd><p>Default is the asynchronous print mode.</p> @attention Using of this property with TRUE as value is highly reommended. Otherwhise following actions (as e.g. closing the corresponding model) can fail. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <br> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>