Skip to main content

Module virtual_printer

Module virtual_printer 

Source
Expand description

The virtual printer. In a run given DD PRINTER, a CALL of SYSTEM or C$SYSTEM whose command prints files with lp or lpr appends those files to that DD, and nothing runs on the host. Each file the command names is a DD, as an ASSIGN literal names one, so the run still reaches only the files the operator gave it.

Structs§

Job
The files an lp or lpr command prints, in order.

Constants§

DD
ROUTINES

Functions§

print
Prints job on printer: each file’s DD, read whole, appended to it in order. Every file needs a DD before anything prints, as lp prints nothing when it cannot read one. notify hears each DD opened and closed.