Spooler Plus Programmer's Guide
Spooler Procedure Calls
Spooler Plus Programmer’s Guide—522293-003
4-16
Example
If the control number is 7, the skipnum parameter can pass directly to
PRINTREAD.
If the control number is 8, PRINTINFO must be called to get the current-page.
skipnum must then be added to the current-page to find the page number to
pass to PRINTREAD.
A print process can ignore the header and truncation flags and the devwidth
parameter.
Example
READ^ERROR:= PRINTREADCOMMAND ( PRINT^BUFFER ! print buffer
, CNTRL^NUM ! control number
, ! device
, ! device flags
, ! device parameter
, ! device width
, ! pages to skip
, DATA^FILE ); ! data file