Spooler Programmer's Guide

Spooler Procedure Calls
Spooler Programmer’s Guide522287-002
4-15
Considerations
is the page size of the job being referred to if the control number is 2 (start job);
otherwise, this parameter has no meaning.
batchname output
INT:ref:16
is the name of the batch job.
batchid output
INT:ref:1
is the batch number.
owner output
INT:ref:1
is the owner of the job.
charmap output
INT:ref:1
returns one of the following codes indicating which character sets are supported:
devflagx output
INT:ref:1
When devflagx.<1> = 0, the device is not in pretranslate mode.
When devflagx.<1> = 1, the device is in pretranslate mode.
All other bits in devflagx are reserved for use by the spooler.
Considerations
The following considerations apply to the use of the PRINTREADCOMMAND
procedure:
If desired, PRINTREADCOMMAND can be called once to get the controlnum
and then a second time to get whatever particular information is needed.
The print process can use the location, form-name, report-name, and
devflags values to print out a header message.
-1 Device does not support MBCS characters.
2 Device supports IBMKANJIKANA characters.
5 Device supports JEFKANJIKANA characters.
8 Device supports JISKANJIKANA characters.