Spooler Utilities Reference Manual

Peruse
Spooler Utilities Reference Manual522295-003
3-21
FORM Command
FORM Command
The FORM command alters the form name of the current job. If there is no current job,
then the job most recently spooled becomes the current job. The form name of a job
denotes the requirement for a special print device or paper associated with that printer.
form-name
is a string of as many as 16 letters, digits, and spaces. If you omit form-name,
Peruse assigns a form name containing all blanks.
Considerations
For a job to print on a given device, both the job and the device must have the
same form name.
The assignment of form names to jobs and devices is completely arbitrary, but it is
intended to prevent jobs that require special print devices or paper from being
printed on the wrong device. You can assign any form name to your job, but only
the system operator can change the form name of a device. Use the DEV or JOB
STATUS command to check for form-name restrictions on your destination device.
When you queue a job to the spooler, it is given a form name containing all blanks.
All form names are automatically shifted to upper case.
The FORM command is not supported for a single job that is part of a batch job. If
a batch job is current, the FORM command operates on all jobs that are part of the
batch job.
The FORM command is not supported if the current job is a spooler job file.
Example
In this example, you want your job to print out on a printer loaded with blank
paychecks. You send the job to the spooler, specifying the location where your form
paper is loaded, as the DEV command confirms:
JOBV BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
J 1221 READY 1 1458 4 #CHKWRTR BKKPG
JEN
_DEV $CHKWRTR
DEV STATE: WAITING FORM: PAYCHECK
_
FORM [ form-name ]