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

Commands Reference, Volume 4

rmvirprt Command

Purpose

Removes a virtual printer.

Syntax

rmvirprt -q PrinterQueueName -d QueueDeviceName

Description

The rmvirprt command removes the virtual printer assigned to the PrinterQueueName and QueueDeviceName variable value. The rmvirprt command also removes the System Management Interface Tool (SMIT) Object Database Manager (ODM) objects associated with the specified queue and queue device.

You can use the Printer Queues application in Web-based System Manager to change printer characteristics.

You can also use the System Management Interface Tool (SMIT) smit rmvirprt fast path to run this command.

Note
When the command rmvirprt is run from the command line, it does not remove the queue or queue device, nor does it check for any jobs running or queued on the specified queue and queue device. However, if SMIT is used to run this command interactively, the corresponding queue, queue device, and, optionally, printer device, are removed along with the virtual printer, if there are no jobs running or queued.

Flags

-d QueueDeviceName Specifies the name of the queue device to which the virtual printer is assigned.
-q PrinterQueueName Specifies the name of the print queue to which the virtual printer is assigned.

Examples

To remove the attribute values for the mypro virtual printer associated with the proq print queue, type:


rmvirprt -d mypro -q proq

Files

/etc/qconfig Contains the configuration file.
/usr/sbin/rmvirprt Contains the rmvirprt command.
/var/spool/lpd/pio/@local/custom/* Contains the customized virtual printer attribute files.
/var/spool/lpd/pio/@local/ddi/* Contains the digested virtual printer attribute files.

Related Information

The chvirprt command, lsvirprt command,mkvirprt command, smit command.

Printer Overview for System Management in the AIX 5L Version 5.2 Guide to Printers and Printing.

Spooler Overview for System Management in the AIX 5L Version 5.2 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.2 Web-based System Manager Administration Guide.

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