Detailed Descriptions

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 in the A-Shell Command Reference 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 Configuration and Color Customization, both in the in the A-Shell Setup Guide, 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.

2010 May, 5.1.1182

EZTYP partial printing bug fix: for files containing hard form feeds, selecting a range of pages was resulting in an unwanted leading form feed on the first page, and typically one less page than requested.

2010 May, 5.1.1182

EZTYP bug fix: when using the P (print) option via the EZPRTX.SBX plug-in, after returning, an additional spurious request to print the entire file was being sent.