EZSPL Commands

Following is a brief rundown on the EZ-SPOOL configuration file commands. These are also supported under EZ-SPOOL for AMOS.

Command

Argument

Description (default)

ASKPRT

Boolean

Provides an option to not go through with the spooling operation. If MENU=ON, the operation is aborted by entering choice Z. If MENU=OFF, the user is prompted on line 24 of the terminal whether to print. (OFF)

AUTO

WIDTH

Boolean

OFF affects the initial display width of the preview utility (see Type) Normally (when on) it scans the first several dozen lines of the file to be previewed, and if any are longer than 80 columns, it switches automatically to 132 columns. (ON)

BRIEF

Boolean

ON activates a single-line menu (on line 24) asking for the name of the printer only. The user can TAB through the available choices. If OPTIONS=ON (or omitted) it will also prompt for the number of copies. (OFF)

DEFAULT

printer name

Defines the default spooler name to be used if no spooler name is passed in the XCALL SPOOL. This overrides the default established by the PRINTER= statement in miame.ini.

EXTOPT

Numeric

Enable various options.

LEFT

MARGIN

Numeric

Leaves the specified number of columns untouched by EZVUE. This may be useful if you want to retain a sense of context with the underlying screen (or perhaps the underlying screen has some useful information you want to be able to see while looking at a report).

MENU

Boolean

ON causes a printer selection menu to appear. The choices on the menu consist of the printers defined in the PRTSPL statements. (OFF)

OPTIONS

Boolean

OFF eliminates the question about number of copies from the BRIEF menu. (ON)

PRINTER

printer name

PRINTER (in the EZ-SPOOL configuration file, as opposed to miame.ini) is like DEFAULT but overrides the spooler choice specified in the subroutine. (The confusion with miame.ini PRINTER property is regrettable, but this terminology matches EZ-SPOOL under AMOS.)

PRTSPL

spooler name,

desc

These statements (e.g. PRTSPL=JET,LaserJet) establish choices that appear on the printer selection menu. If MENU=OFF, these statements have no effect. You may define up to 64 printer choices this way.

ROWS

number

of rows

Establishes the initial number of display rows, when set to a legal value within the range of 24-50, subject to the capabilities of the terminal. The default setting is equal to the screen height at the time EZTYP is called. Note that the operator can also toggle between 24 and 42 row mode from the EZTYP command prompt with the "T" command or with the Shift+UpArrow or Shift+DownArrow keys.

SWITCHES

{+/-}#####

Allows you to add, remove, or replace the switches passed in the XCALL EZSPL, XCALL SPOOL, or even XCALL EZTYP.

TOP

MARGIN

Numeric

Leaves the specified number of rows untouched by EZVUE. (Same idea as LEFTMARGIN.)

TYPE

Boolean

ON provides an option to preview the file on the screen. If MENU=ON, this becomes choice X. Otherwise, the user is prompted on line 24 whether to preview the file.

WAIT

number of seconds

Specifies the number of seconds that various EZ-SPOOL screen prompts will wait for an answer before using the default value. "0" produces an unlimited wait. The default value (no WAIT specified) is 300 seconds.