Method: isPrintDialog()
E.g. var dialog = ViewONE.isPrintDialog();
Returns a Boolean ‘True’ if the print dialog is enabled, ‘False’ if it is not.
Method: 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.
Method: 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).
58