DO Command

The DO command sends a document to the printer or displays it on the terminal screen.

Format

DO filename docname [(options)]

Parameter(s)

filename

Name of the file.

docname

Item-ID of the document.

options

Enclose in parenthesis.

n [-m]

Prints only page n or pages n-m.

C

Sends document to slave printer (the printer attached to the terminal AUX port).

F

Suppresses page-eject for single-sheet documents.

L

Prints line numbers.

N

Suppresses paging when copying to the terminal (NOPAGE).

P

Sends document to the printer via the Spooler.

R

Ensures that blank spaces inserted for right justification appear in the same positions for each printout.

V

Prints draft documents.

Description

DO is one of the three DocuMentor commands. See also the DI Command and DE Command.

Printing a Document

The following example sends pages 4 through 8 of a document called FEB-SALES to the printer and includes the line numbers on the printed copy:

>DO REPORTS FEB-SALES (P,L,4-8)