Other Printing @RPTOPT Options

@RPTOPT system variable supports several printing options:

@RPTOPT only supports the above three options if they are defined in Free Form format. They are specified at the end of the current options (after the 8 Y/N flags), in the order listed above.

For example, if the following is specified in the Function-In logic of a report: 

@RPTOPT = "1,LP3,,2,,,,,Y,Y,,,S,66,132"

The report is sent to the spooled printer (device type "1") defined in the kernel mapping table entry for LP3. Two copies are output; suppress standard first line (1st "Y"); suppress page eject at start of report (2nd "Y"); lines are spaced to fit to page ("S"), and the report is sized to 66 lines per page, 132 columns per line.

@RPTOPT also supports the sending of raw XML to the screen.

For example:

@RPTOPT = '5,CRT:OUTFMT=X'  

where 5 is the device type, CRT:OUTFMT= X sets the screen output of type XML.

Comment on this topic

Topic ID: 730085