EZSPL Print Preview

A-Shell includes an implementation of MicroSabio’s EZSPL printer enhancement package, which was original developed for AMOS. One feature of EZSPL is the ability to preview any print file before, and perhaps in lieu of, sending it to a printer. The option to preview the file may be configured via the EZSPL configuration files. The preview utility itself (which goes by the name of EZTYP or EZVUE) allows you to scroll or page through the file, or to go direct to individual lines, pages, or to search for text strings. You may also print excerpts from the print file. The available keyboard commands may be displayed by entering "?" (question mark) at the EZTYP command prompt, and are briefly described in the table below:

Command

Action

Right Arrow

If the current screen width is normal, and the terminal device supports wide (132 column) mode, the right arrow key will cause it to switch into wide mode. If already in wide mode, or the terminal does not support wide mode, it will increase the left margin by 4.

Left Arrow

If the current screen width is wide, the left arrow key will switch the terminal back into normal (80 column) mode. If the screen is already in normal mode, and the left margin is greater than 0, then it will decrease the left margin by 4.

Up Arrow

Scroll up one line

Shift Up

Switch display to short (24 row) mode. Also see T command.

Down Arrow

Scroll down one line

Shift Down Arrow

If supported by the terminal device, switch to tall (42 row) mode. Also see the T command.

TAB

Increase left margin by 8.

Shift TAB

Decrease left margin by 8

+#

Go forward # pages (paper pages, not screen pages)

-#

Go backward # pages

=#

Go to page #

0-9

Scroll; the number determines the scrolling speed. Stop scrolling with any other keystroke.

B

Go back one page

E

(End) Go to the end of the document

F

To forward one page

H

(Home) Go to the start of the document

L#

Go to line #

M#

Set left margin to #

N {string}

Search for next occurrence of string specified, or if no string specified, of the string specified in a previous S (search) or N (next) command

P

Print current page or a range of pages.

R

Recalculate pages (see notes below the table)

S <string>

Search for the first occurrence of the specified string

T

Toggle between tall (42 row) and short (24 row) display format. (This is only possible under A-Shell/Windows and with certain ZTERM-specific terminal drivers under A-Shell/UNIX.)

 

The EZVUE utility displays on the bottom status line (if supported by the terminal device), the filename, plus the current line and total number of lines (L # / #) and the current page and total number of pages (P # / #). If the document is reasonably large, EZVUE will not initially scan all the way through the document to determine the total number of lines or pages. In that case, it will display a question mark next to its estimate of the total number of lines and pages. To force it to scan through the entire document to compute the number of lines and pages, you can use the R (recalculate) command. It will do this automatically if needed to carry out specific commands.

If the document being displayed contains formfeed characters, then "pages" will refer to pages as printed (i.e. paper pages). Otherwise, "pages" will refer to screen pages.