[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 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 Web-based System Manager Printer Queues application (wsm printers fast path) run this command. 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 Version 4.3 Guide to Printers and Printing.

Printer Colon File Conventions in AIX Version 4.3 Guide to Printers and Printing.

Printer Specific Information in AIX Version 4.3 Guide to Printers and Printing.

Printer Support in AIX Version 4.3 Guide to Printers and Printing.

Virtual Printer Definitions and Attributes in AIX Version 4.3 Guide to Printers and Printing.

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

Printer Code Page Translation Tables in AIX Version 4.3 Guide to Printers and Printing.

Setting up and running Web-based System Management in AIX Version 4.3 System Management Guide: Operating System and Devices.


[ Previous | Next | Contents | Glossary | Home | Search ]