Displaying the Spooling Options of Your Printer or Punch

Displaying Information about Your Spool Files tells you how to display information about spool files queued for your spooled printer or punch. If, however, you want to display the current spooling options for your spooled printer or punch (instead of spool files queued for your printer or punch), enter:
query virtual printer
query virtual punch
or
query virtual vdev

Where vdev is the virtual device number of your printer or punch.

In response to these commands, CP displays information similar to the following example.

Note: The actual output you receive varies depending on how your spooled printer or punch is defined.
PRT  vdev CL a NOCONT NOHOLD CPY   *nnn    READY FORM formname
     vdev TO userid   dev DIST distcode    FLASHC ccc DEST dest
     vdev FLASH ovly  CHAR char MDFY cmod n FCB fcb  LPP nnn
     vdev SIZE width length 4WCGM CFS NODATCK
     vdev type   EOF CLOSED    NOKEEP NOMSG NONAME
     vdev SUBCHANNEL=vsub

Where:

vdev
is the virtual device number.
CL a
specifies the class CP assigns to your spool files as they are created.
NOCONT
means that the CLOSE command can be used without the EOF option to close open spool files.
NOHOLD
means that CP can process spool files once they are closed.
COPY *nnn
specifies the number (nnn) of copies you want CP to print or punch. When the optional asterisk (*nnn) appears, it specifies the number of copies of each page that a 3800 printer prints before printing the next page.
READY
means that your spooled printer or punch is operating (that is, information can be sent to the device).
FORM formname
displays the form name that is associated with the device and assigned to the spool files as they are created.
TO userid dev
specifies that when you print or punch spool files, CP sends them to the spooled device of userid. (Unless you specify otherwise, userid defaults to your own user identification.) The dev variable tells you the type of spooled device to which spooled output goes (PRT for spooled printer, PUN for spooled punch, and RDR for spooled reader).
DIST distcode
is an installation-dependent code (1 to 8 alphanumeric characters) that your installation can use as it wants (for example, to specify where output is sent after CP processes it on a real printer or punch).
FLASHC ccc
is the number of copies printed while the forms overlay frame is in place.
DEST dest
is the destination value to be assigned to each spool file created on the device. If the destination value was not changed by a SPOOL command, the default is OFF.
FLASH ovly
is the name of the forms overlay frame superimposed on the output.
CHAR char
is the name of the character set that you use to determine the size and style of the characters on your printed output. Up to four names may be specified.
MDFY cmod n
is the name of the copy modification module and the number (0, 1, 2, or 3) of the copy modification character arrangement table you are using to alter output text.
LPP nnn
indicates the lines per page setting for the virtual printer. The value can be a decimal number in the range 30 to 255, or 'OFF', which indicates that internal defaults will be used.
FCB fcb
is the name of the forms control buffer you use to control the vertical formatting of pages CP prints on 3800 printers.
SIZE width length
is the width and length of the paper to be used (displayed for virtual 3800 printers only).
4WCGM
is the number of writable-character generation modules available to your character set (displayed for virtual 3800 printers only). It can also be 2WCGM.
CFS
specifies a continuous forms stacker (displayed for virtual 3800 printers only). The other option is BTS (burster-trimmer-stacker).
NODATCK
specifies that data checks are not reflected to your virtual machine (displayed for virtual 3800 printers only). NODATCK is the default setting and is usually preferred, since specifying DATCK severely increases the overhead associated with simulation of WRITE and SKIP CCWs to the virtual 3800. Generally, the reflection of data checks due to overprinting and invalid EBCDIC codes is not necessary; therefore, specify DATCK only when absolutely necessary.
type
is the device type.
EOF
means that CP automatically closes the device when 50,000 records are placed in the file that is currently being created.
CLOSED
means CP is not processing an open spool file for the device. If CP is processing an open spool file, this field says OPEN spid (where spid is the identification number of the open spool file).
NOKEEP
means that CP deletes the spool file that was created on this virtual device after it processes the file on a real printer or punch.
NOMSG
means that CP does not inform you when it prints or punches spool files created on this virtual device.
NONAME
means that CP does not assign the spool file a file name or file type when it processes the file.
Note: For more information on spooling options, see z/VM: CP Commands and Utilities Reference.