[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 1


chvirprt Command

Purpose

Changes the attribute values of a virtual printer.

Syntax

chvirprt  -d QueueDeviceName  -q PrintQueueName  -a Attribute=Value ... 

Description

The chvirprt command changes attribute values for the virtual printer assigned to PrintQueueName and QueueDeviceName.

Note: Attribute names for default values of the qprt command line flags can be specified by entering the flag letters. For example, to change the default value for the -w flag (page width) to 132, enter w=132. All other attribute names must be 2 characters long.

You can use the Printer Queues application in Web-based System Manager (wsm) to change printer characteristics. You could also use the System Management Interface Tool (SMIT) smit chvirprt fast path to run this command.

Flags


-a Attribute=Value Replaces the value for Attribute with Value. If Value contains one or more spaces, it must be surrounded by quotes ('Value'). be the last flag when entering the chvirprt command on the command line.
-d QueueDeviceName Specifies the name of the queue device to which the virtual printer is assigned.
-q PrintQueueName Specifies the name of the print queue to which the virtual printer is assigned.

Examples

To change the default page width to 132 characters (the w attribute) and specify that user mary receives the "intervention required" messages (the si attribute) for the virtual printer associated with the proq print queue and the mypro queue device, enter:
chvirprt -q proq -d mypro -a si=mary w=132

Files


/etc/qconfig Configuration file
/usr/sbin/chvirprt Contains the chvirprt command.
/var/spool/lpd/pio/@local/custom/* Virtual printer attribute files
/var/spool/lpd/pio/@local/ddi/* Digested virtual printer attribute files.

Related Information

The lsvirprt command, mkvirprt command, qprt command, rmvirprt command, smit command.

The qconfig file.

Changing or Showing Characteristics of a Virtual Printer in AIX 5L Version 5.1 Guide to Printers and Printing.

Printer Colon File Conventions in AIX 5L Version 5.1 Guide to Printers and Printing.

Printer Specific Information in AIX 5L Version 5.1 Guide to Printers and Printing.

Printer Support in AIX 5L Version 5.1 Guide to Printers and Printing.

Virtual Printer Definitions and Attributes in AIX 5L Version 5.1 Guide to Printers and Printing.

Adding a Printer Using the Printer Colon File in AIX 5L Version 5.1 Guide to Printers and Printing.

Printer Code Page Translation Tables in AIX 5L Version 5.1 Guide to Printers and Printing.

For information on installing the Web-based System Manager, see Chapter 2: Installation and System Requirements in AIX 5L Version 5.1 Web-based System Manager Administration Guide.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]