Please enable JavaScript to view this site.

A-Shell Reference

Reviewed and revised April 2024

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

EZTYP 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, so it could in some circumstances be used in place of EZSPL. See EZTYP.LIT for more information on the capabilities of the print file viewer.    

Note that EZTYP 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

fspec (String)  [in]

file (native or DevPPN format) to display

topmgn, leftmgn (Unsigned Int)  [in]

allows 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  (Signed Int)  [in]

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).