SELECT print-prev ASSIGN TO PRINT "-P PREVIEW"        ORGANIZATION LINE SEQUENTIAL.  | 
static String  | getDialogTitle() Returns the title of the preview window  | 
static javax.swing.ImageIcon  | getImageIcon() Returns the current icon shown in the preview dialog title bar  | 
static java.awt.Point  | getPreviewLocation() Returns the location in pixels of the preview dialog  | 
static double  | getPreviewScale() Returns the current scale  | 
static java.awt.Dimension  | getPreviewSize() Returns the size in pixels of the preview dialog  | 
static java.awt.Color  | getPrintableAreaBoxColor() Returns the color of the frame in which the preview is displayed  | 
static String  | getSaveDefaultDirectory() Returns the directory proposed by the Save As dialog  | 
static String  | getSaveDefaultFilename() Returns the file name proposed by the Save As dialog  | 
static boolean  | isCloseWindowAfterPrint() Returns if the preview dialog will close automatically after the document has been printed  | 
static boolean  | isCloseWindowAfterPrintPdf() Returns if the preview dialog will close automatically after the document has been saved to PDF  | 
static boolean  | isPreviewAliasing() Returns the status of the Aliasing button  | 
static boolean  | isPreviewMaximized() Returns if the preview dialog is maximized  | 
static boolean  | isShowExportMenu() Returns if the Export menu is visible (IDE reports only)  | 
static boolean   | isShowPrintButton() Returns if the Print button is visible or not in the tool-bar  | 
static boolean   | isShowPrintDialog() Returns if the Printer Setup dialog must be shown before printing  | 
static boolean   | isShowPrintSetupButton() Returns if the Print Setup button is visible or not in the tool-bar  | 
static boolean  | isShowSaveButton() Returns if the Save button is visible or not in the tool-bar  | 
static boolean  | isShowThumbnailsButton() Returns if the Thumbnails button is visible or not in the tool-bar  | 
static void  | setCloseWindowAfterPrint(boolean close) Specifies if the preview window will close automatically after the the document has been printed  | 
static  void  | setCloseWindowAfterPrintPdf(boolean close) Specifies if the preview window will close automatically the document has been saved to PDF  | 
static void  | setDialogTitle(String title) Sets the title of the preview window  | 
static void  | setImageIcon(javax.swing.ImageIcon icon) Sets the icon to show in the preview dialog title bar  | 
static void  | setPreviewAliasing(boolean aliasing) Sets the status of the Aliasing button  | 
static void   | setPreviewLocation(int x, int y) Sets the location in pixels of the preview dialog  | 
static void  | setPreviewMaximized(boolean maximize) Choose if the preview dialog must be maximized or not  | 
static void  | setPreviewMaximized(boolean maximize) Choose if the preview dialog must be maximized or not  | 
static void  | setPreviewScale(double scale) Sets the current scale  | 
static void  | setPreviewSize(int width, int height) Sets the size in pixels for the print preview dialog  | 
static void  | setPrintableAreaBoxColor(java.awt.Color color) Sets the color of the frame in which the preview is displayed  | 
static void  | setSaveDefaultDirectory(String path) Sets the directory proposed by the Save As dialog  | 
static void  | setSaveDefaultFilename(String name) Sets the file name proposed by the Save As dialog  | 
static void  | setShowExportMenu(boolean showExportMenu) Sets the visibility of the the Export menu (IDE reports only)  | 
static void  | setShowPrintButton(boolean showPrintButton) Sets the visibility of the Print button in the tool-bar  | 
static void  | setShowPrintDialog(boolean showPrintDialog) Choose if the Printer Setup dialog must be shown before printing  | 
static void  | setShowPrintSetupButton(boolean showPrintSetupButton) Sets the visibility of the Print Setup button in the tool-bar  | 
static void  | setShowSaveButton(boolean showSaveButton) Sets the visibility of the Save button in the tool-bar  | 
static void  | setShowThumbnailsButton(boolean showThumbnailsButton) Sets the visibility of the Thumbnails button in the tool-bar  | 
CONFIGURATION SECTION. REPOSITORY.     class is-spoolprinter as "com.iscobol.rts.print.SpoolPrinter"               . INPUT-OUTPUT SECTION. FILE-CONTROL.     select print-job assign to printer "-P PREVIEW"            organization line sequential. FILE SECTION. FD  print-job. 01  print-record pic x(83). PROCEDURE DIVISION. main.      open output print-job.     write print-record from "test zoom".     is-spoolprinter:>setPreviewScale(50 as double).     close print-job.     goback.  | 
CONFIGURATION SECTION. REPOSITORY.     class is-java-bean as "com.iscobol.gui.server.CobolGUIJavaBean"     class j-double     as "java.lang.Double"               . INPUT-OUTPUT SECTION. FILE-CONTROL.     select print-job assign to printer "-P PREVIEW"            organization line sequential. FILE SECTION. FD  print-job. 01  print-record pic x(83). PROCEDURE DIVISION. main.      open output print-job.     write print-record from "test zoom".     is-java-bean:>callStaticMethod("com.iscobol.rts.print.SpoolPrinter", "setPreviewScale", j-double:>new(50 as double)).     close print-job.     goback.  |