27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

QUERY VIRTUAL PRINTER<br />

QUERY VIRTUAL PRINTER<br />

►►<br />

Query<br />

Authorization<br />

Purpose<br />

Virtual<br />

Usage Notes<br />

Responses<br />

Printer<br />

PRT<br />

Privilege Class: G<br />

Use QUERY VIRTUAL PRINTER to display the status of all print devices accessible<br />

to your virtual machine.<br />

1. VAFP spool files are intended for use by AFP printers <strong>and</strong> real printers<br />

managed by RSCS. VAFP printers are not intended for normal use as a virtual<br />

printer.<br />

Response 1:<br />

For each virtual printer defined in your virtual machine configuration, the first three<br />

lines of the response are:<br />

PRT vdev CL c { CONT} { HOLD} {COPY nnn} { READY} FORM userform<br />

{NOCONT} {NOHOLD} {<strong>CP</strong>Y *nnn} {NOTREADY}<br />

vdev TO userid {RDR} DIST distcode FLASHC ccc DEST dest<br />

{PRT}<br />

{PUN}<br />

vdev FLASH name CHAR char [char[char[char]]] MDFY cmod n FCB fcb LPP nnn<br />

For 3800 printers only, an additional line follows:<br />

vdev SIZE width length {2WCGM} {BTS} {DATCK }<br />

{4WCGM} {CFS} {NODATCK}<br />

The remaining lines of the response for all printers are:<br />

vdev type { EOF} {OPEN spoolid} { KEEP} { MSG} { NAME fname ftype}<br />

{NOEOF} {CLOSED } {NOKEEP} {NOMSG} {NONAME }<br />

[vdev SUBCHANNEL = vsub]<br />

vdev<br />

identifies the virtual printer.<br />

CL c<br />

identifies the spool file class given to spool files created on this device.<br />

CONT<br />

NOCONT<br />

controls the continuous spooling option. CONT causes all CLOSE requests to<br />

be ignored unless specified with the EOF override option.<br />

HOLD<br />

1116 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

►◄

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!