JAVA Tech VERSION 3.0 Manuel D’Utilisation

Page de 88
 
 
58
58
58
58
isPrintDialog() 
 
E.g. var dialog = ViewONE.isPrintDialog(); 
 
Returns a Boolean ‘True’ if the print dialog is enabled, ‘False’ if it is not. 
 
setPrintCopies(integer) 
 
E.g. ViewONE.setPrintCopies(2); 
 
This method is effective only when the print dialog is disabled (by calling 
setPrintDialog(false) or using the equivalent HTML tag). This method sets the number of 
copies that will be printed when printing a page, pages or the document. 
 
setPrinter(string) 
 
E.g. ViewONE.setPrinter(“myprinter”); 
 
This method is effective only when the print dialog is disabled (by calling 
setPrintDialog(false) or using the equivalent HTML tag). This method sets the ViewONE 
default printer to the one specified as the parameter. The parameter must be the ‘name’ 
(or unique part thereof) as seen by the users printer settings. The printers’ default settings 
will be used for each print (e.g. orientation, resolution etc). 
Method:
 
Method:
 
Method: