Specifications
4-136
Guide to Printers and Printing
Viewing, Formatting, or Modifying Virtual Printer Definitions
An IBM 4029 LaserPrinter supports four distinct data streams. The root user can use the
mkvirprt command to create both a queue and a virtual printer definition for each of the four
data stream types. The root user can further use the lsvirprt command to view and modify
the colon file underlying the virtual printer definition. For a system on which a queue of each
type has been defined, issuing of the lsvirprt command results in the following list and
query being displayed (queue names and device are chosen by the root user at queue
creation time):
No. Queue Device Description
1 asc lxx 4029 (IBM ASCII)
2 gl lxx 4029 (Plotter Emulation)
3 pcl lxx 4029 (HP LaserJet II Emulation)
4 ps lxx 4029 (PostScript)
Enter number from list above (press Enter to terminate): –>
From this list, the root user enters the number corresponding to the virtual printer that he
wants to view, format, or modify. The following message and prompt are then displayed.
To LIST attributes, enter AttributeName1 ... (* for all attributes)
To CHANGE an attribute value, enter AttributeName=NewValue
To FORMAT and EDIT an attribute value, enter AttributeName~v
To EDIT the attribute file, enter ~v
To terminate, press Enter:
There are several options at this point, one of which is to press Enter and terminate the
lsvirprt command. The other options are as follows:
• Enter an asterisk (*) to view a list of all attributes in the colon file along with their text
descriptions from the message catalog.
• Enter the name of an attribute to view that attribute only, along with its text description
from the message catalog.
• Enter the name of an attribute, an =, and a value to assign the attribute that value.
• Enter a ~v to engage in a vi session with the raw colon file.
• Enter the name of an attribute, immediately followed (no blank spaces) by a ~v to
engage in a vi session with a heavily formatted version of the attribute.
Each of these five options will be discussed in the context of the asc queue and the
associated virtual printer definition with its underlying colon file.
Entering an asterisk (*) and pressing Enter will result in the following being displayed: