Method:

Method:

Method:

printSelected()

E.g. ViewONE.printSelected();

Produces a print dialog to print pages selected using the page-select menu (available for multi-page documents only). Can be used with the “selectPage(pageNumber)” and “clearSelections()” methods to print any page or group of pages within a document.

Security note: This method is disabled by default unless the “JavascriptExtensions” parameter is set to “true”.

printVisible()

E.g. ViewONE.printVisible();

Produces a print dialog to print the image display (visible).

Security note: This method is disabled by default unless the “JavascriptExtensions” parameter is set to “true”.

printTransformed()

E.g. ViewONE.printTransformed();

Generates a print with rotate, invert and flip modes applied to the image.

Security note: This method is disabled by default unless the “JavascriptExtensions” parameter is set to “true”.

setPrintDialog(true/false)

E.g. ViewONE.setPrintDialog(false);

This method applies only when the print-accelerator is used. When this parameter is set to false, printing will take place without showing the standard print-dialog. If the user has not printed using ViewONE with the accelerator previously, then the users’ default printer will be used. Otherwise, the last printer used by the user (with ViewONE print accelerator) will be used.

57

Page 57
Image 57
JAVA Tech VERSION 3.0 manual PrintSelected, PrintVisible, PrintTransformed, SetPrintDialogtrue/false, ViewONE.printSelected