[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 4

piomgpdev Command

Purpose

Manages printer pseudo-devices.

Syntax

piomgpdev -p PseudoDevice -t AttachmentType { -A | -C | -R | -D } [ -a Clause ... ]

Description

The piomgpdev command changes and removes pseudo-devices for printer attachments. The piomgpdev command stores information about the pseudo-devices in files in the /var/spool/lpd/pio/@local/dev directory. The file contains stanzas in the following form:

key_word = value

The information stored in these files pertains to connection characteristics for a given attachment and a printer. For example, the information about an Xstation named yoder and a port called cs2 might be:

Xstation = yoder
port = s2
baud = 9600
stop_bits = 1

Flags

-a Clause Specifies a clause to be added or changed in the file for a pseudo-device. The clause is in the following form:
key_word = value

If the -D flag is specified, the clause can contain only the keyword.

-A Adds a pseudo-device.
-C Changes a pseudo-device.
-D Displays information for a specified clause of a pseudo-device definition.
-p PseudoDevice Specifies the name of a pseudo-device for a printer attachment.
-R Removes a pseudo-device.

Examples

  1. To add a pseudo-device for an Xstation attachment for the Xstation named yoder and the parallel port named p , enter on one line:
    piomgpdev -p p@yoder -A -a 'Xstation=yoder' -a
    'interface=parallel' -a 'port=p'
  2. To change a pseudo-device for an Xstation attachment for the Xstation yoder and the serial port s2 , enter:
    piomgpdev -p s2@yoder -C -a 'baud=9600'
  3. To remove a pseudo-device for an Xstation attachment for the Xstation yoder and the parallel port p , enter:
    piomgpdev -p p@yoder -R
  4. To display information regarding the baud rate for an Xstation attachment for the Xstation yoder and the parallel port p , enter:
    piomgpdev -p p@yoder -D -a baud

Files

/usr/lib/lpd/pio/etc/piomgpdev Contains the piomgpdev command.
/var/spool/lpd/pio/@local/dev/* Contains the printer pseudo-device files.

Related Information

The piobe command, qprt command.

Printer Overview for System Management in the AIX Version 4.3 Guide to Printers and Printing.

Spooler Overview for System Management in the AIX Version 4.3 Guide to Printers and Printing.

Printer Backend Overview for Programming in the AIX Version 4.3 Guide to Printers and Printing.


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