SCREEN
Top  Previous  Next


PRINT reportname ARRANGE clause WHERE clause .. ORDER BY clause .. OPTION SCREEN

PRINT_OPTION_SCREEN


Note: Each additional OPTION parameter must be separated by the pipe | symbol.


OPTION Parameters:

WINDOW_STATE specifies the state of preview window. By default, the window state is normalized.

Values:
MAXIMIZED  
MINIMIZED  
   NORMAL

TOOLBAR_VISIBLE specifies the option to display preview toolbar with all buttons such as, Print, Whole Page, Page Width, 100%, Zoom Level, First, Page Previous Page, Next Page, Last Page and Cancel/Close.

Values:
TRUE  
   FALSE

PRINT_PreviewTB

BUTTONBAR_VISIBLE specifies the option to display button bar with Whole Page, Page Width and 100%. If set to FALSE, all three buttons (Whole Page, Page Width and 100%) will not be visible.

Values:
TRUE  
FALSE  

BTNPRINT_VISIBLE specifies the option to display Printer button on the button toolbar.

Values:
TRUE  
FALSE  

BTNWHOLEPAGE_VISIBLE
specifies the option to display Whole Page button on the button toolbar.

Values:
TRUE  
FALSE  

BTNPAGEWIDTH_VISIBLE
specifies the option to display Page Width button on the button toolbar.

Values:
TRUE  
FALSE  

BTNP100PERCENT_VISIBLE
specifies the option to display 100% button on the button toolbar.

Values:
TRUE  
FALSE  

ZOOMPERCENT_VISIBLE
specifies the option to display Zoom Level button on the button toolbar.

Values:
TRUE  
FALSE  
BTNFIRST_VISIBLE specifies the option to display First Page button on the button toolbar.

Values:
TRUE  
FALSE  

BTNPRIOR_VISIBLE
specifies the option to display Previous Page button on the button toolbar.

Values:
TRUE  
FALSE  

PAGENO_VISIBLE
specifies the option to display Page Number button on the button toolbar.

Values:
TRUE  
FALSE  

BTNNEXT_VISIBLE specifies the option to display Next Page button on the button toolbar.

Values:
TRUE  
FALSE  

BTNLAST_VISIBLE
specifies the option to display Last Page button on the button toolbar.

Values:
TRUE  
FALSE  

BTNCANCEL_VISIBLE specifies the option to display Cancel/Close button on the button toolbar.

Values:
TRUE  
FALSE  

ZOOM_TYPE specifies the zoom type, such as PAGE_WIDTH, WHOLE_PAGE, 100_PERCENT or PERCENTAGE.

Values:
PAGE_WIDTH  
WHOLE_PAGE  
100_PERCENT  
PERCENTAGE (to be used when specifying the ZOOMPERCENT option)  

ZOOMPERCENTAGE specifies the zoom level percentage, such as 70, 100, 120, 200, 250.

PREVIEW_CAPTION specifies the caption for the preview window

Note:
You must use ZOOM_TYPE value as PERCENTAGE when specifying the ZOOMPERCENTAGE value. See examples below for a more practical use of this option.

MDI specifies the option to display the preview window in a modeless window, to access other windows without closing it first.

THEMENAME
Will dynamically provide over thirty pre-defined themes
 
Values:  
 
·Deep Cyan  
·Deep Green  
·Deep Orange  
·Diamond Blue  
·Diamond Green  
·Funny Theme  
·Gnome  
·Green Glass  
·Longhorn  
·Mac OS  
·Matrix  
·Media  
·One Blue  
·One Clear Blue  
·One Cyan  
·One Green  
·One Orange  
·Orange Glass  
·R:BASE Rocks!  
·Razzmatazz  
·Real One  
·Sports Black  
·Sports Blue  
·Sports Cyan  
·Sports Green  
·Sports Orange  
·Steel Black  
·Steel Blue  
·Win Native  
·XP Blue  
·XP Egypt  
·XP Green  
·XP Grey Scale  
·XP Orange  
·XP Silver  



Eamples:

Example 01 (Typical Print Preview on SCREEN with Toolbar):

PRINT Invoice WHERE TransID = 1002 OPTION SCREEN

Example 02 (Typical Print Preview on SCREEN with maximized preview window):

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
WINDOW_STATE MAXIMIZED

Example 03 (Typical Print Preview on SCREEN with zoom type as page width):

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
ZOOM_TYPE PAGE_WIDTH

Example 04 (Typical Print Preview on SCREEN with zoom type as whole page):

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
ZOOM_TYPE WHOLE_PAGE

Example 05 (Typical Print Preview on SCREEN with zoom type as 100%):

PRINT Invoice WHERE TransID = 1002 + 
OPTION SCREEN|
ZOOM_TYPE 100_PERCENT

Example 06 (Typical Print Preview on SCREEN with zoom type as 90%):

PRINT Invoice WHERE CustID = 1002 +
OPTION SCREEN|
WINDOW_STATE MAXIMIZED +
|ZOOM_TYPE PERCENTAGE|
ZOOMPERCENT 90

Example 07 (Print Preview Tool Bar without Printer Icon):

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
WINDOW_STATE MAXIMIZED +
|
BTNPRINT_VISIBLE FALSE

Example 07 (Print Preview Tool Bar without Whole Page Icon):

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
WINDOW_STATE MAXIMIZED +
|
BTNWHOLEPAGE_VISIBLE FALSE

Example 07 (Print Preview Tool Bar without Page Width Icon):

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
WINDOW_STATE MAXIMIZED +
|
BTNPAGEWIDTH_VISIBLE FALSE

Example 08 (Print Preview Tool Bar without 100% Icon):

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
WINDOW_STATE MAXIMIZED +
|
BTN100PERCENT_VISIBLE FALSE
Example 09 (Print Preview Tool Bar without Zoom Percentage Icon):

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
WINDOW_STATE MAXIMIZED +
|
ZOOMPERCENT_VISIBLE FALSE

Example 10 (Print Preview Tool Bar without First Page Icon):

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
WINDOW_STATE MAXIMIZED +
|
BTNFIRST_VISIBLE FALSE

Example 11 (Print Preview Tool Bar without Previous Page Icon):

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
WINDOW_STATE MAXIMIZED +
|
BTNPRIOR_VISIBLE FALSE

Example 12 (Print Preview Tool Bar without Page Number Icon):

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
WINDOW_STATE MAXIMIZED +
|
PAGENO_VISIBLE FALSE

Example 13 (Print Preview Tool Bar without Next Page Icon)

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
WINDOW_STATE MAXIMIZED +
|
BTNNEXT_VISIBLE FALSE

Example 14 (Print Preview Tool Bar without Last Page Icon)

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
WINDOW_STATE MAXIMIZED +
|
BTNLAST_VISIBLE FALSE

Example 15 (Print Preview Tool Bar without Cancel/Close Icon)

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
WINDOW_STATE MAXIMIZED +
|
BTNCANCEL_VISIBLE FALSE

Example 16 (Print Preview without the entire Tool Bar)

PRINT Invoice WHERE TransID = 1002 +
OPTION SCREEN|
WINDOW_STATE MAXIMIZED +
|
TOOLBAR_VISIBLE FALSE


For more examples and templates, please refer to R:Docs (version 2.5 or higher).