Lesson 3: Printing a File on a Line Printer [ MPE V to MPE XL: Getting Started ] MPE/iX 5.0 Documentation
MPE V to MPE XL: Getting Started
Lesson 3: Printing a File on a Line Printer
The contents of a file may also be sent to a printer with the PRINT
command.
The following example prints the file MYFILE to a printer as specified by
the file equation.
FILE PRINTER;DEV=LP
PRINT FILE=MYFILE;OUT=*PRINTER
or
PRINT MYFILE,*PRINTER
Exercises
Given the file equation FILE PRINTER;DEV=LP, fill in the blanks below
with the command lines you would use in each case; verify by trying the
command lines at your terminal (after entering an appropriate file
equation).
5. Print the file LUCY to the printer.
Command:
6. Print lines 6 through 9 of the file LUCY to the printer. Command:
7. Enter the following command:
PRINT FILE=LUCY;START=-3
What happened? Why?
MPE/iX 5.0 Documentation