Provides a way to format and edit attributes in a virtual printer.
The pioattred command provides a way to format virtual printer attributes and to edit the attributes. Specifically, attributes in the printer definition file can be formatted and/or edited according to the action specified with the -o flag. Formatted attributes are written to standard output stdout. Attributes are edited with the editor specified in the VISUAL environment variable. The virtual printer definition file is assumed to be in the /var/spool/lpd/pio/@local/custom/* directory.
Item | Description |
---|---|
-a Attribute | Specifies the name of the attribute in the virtual printer definition file to format or edit. This flag may be specified many times. |
-d QueueDeviceName | Specifies the QueueDeviceName spooler of the virtual printer definition to format or edit. |
-o Action | Specifies the action that the pioattred command should
take on the virtual printer definition. If this flag is omitted, the pioattred command
assumes a value of 0 (zero).
The following values are used in the event that an error return code was returned after editing the attributes.
|
-q PrintQueueName | Specifies the PrintQueueName spooler of the virtual printer definition to format or edit. |
pioattred -q queue -d quedev -o 0 -a ci -a sh
OR
pioattred -q queue -d quedev -a ci -a sh
pioattred -q queue -d quedev -o 0
OR pioattred -q queue -d quedev
pioattred -q queue -d quedev -o 1 -a st
Item | Description |
---|---|
/usr/sbin/pioattred | Contains the pioattred command. |