EZTYP

Updated June 2010

xcall EZTYP, fspec {,topmgn, leftmgn, exitcode}

EZTYP.SBR provides a simple way to call the text/print file viewer within the EZ-SPOOL subsystem. Note that it is possible to print individual pages or page ranges (including the entire file) within EZTYP.SBR, so it could in some circumstances be used in place of EZSPL.SBR. See EZTYP.LIT for more information on the capabilities of the print file viewer.

Note that EZTYP.SBR behavior may be affected by the WAIT (timeout) and AUTOWIDTH parameters in the EZSPL configuration files, as well as the EZCLR entry in the INI.CLR file. Refer to EZSPL Config Files and Color Customization for more information.

Parameters

topmgn, leftmgn

allow you to preserve the specified number of rows and columns at the left and top of the screen to be untouched by the EZTYP display. If you are not using these parameters, set them to 0.

exitcode

optionally returns the exitcode (INFLD-compatible) which caused the preview session to exit. Exitcode should be a floating point since many of the return values are negative. The typical exitcode would be 1 (Escape).

History

2010 June, 5.1.1184:  The "Default Printer" option in the brief printer menu now clears the field as soon as you type a character.