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

Commands Reference, Volume 3


lsquedev Command

Purpose

Displays the device stanza name.

Syntax

lsquedev [ -c ] -qName -d Name

Description

The lsquedev command displays the name of the queue stanza and associated attributes from the /etc/qconfig file.

Flags


-c Specifies colon output format for use by SMIT.
-d Name Specifies the Name variable of the device stanza that is displayed.
-q Name Specifies the Name variable of the queue containing the device stanza that is displayed.

Examples

  1. To display device stanza dlp0 on the lp0 queue, enter:
    lsquedev -q lp0 -d dlp0
    A listing similar to the following is displayed:

    dlp0:
    FILE = /dev/lp0
    BACKEND = /usr/lib/lpd/piobe
    
  2. To display device stanza dlp0 on the lp0 queue in colon format, enter:
    lsquedev -c -qlp0 -d dlp0
    A listing similar to the following is displayed:

    file:access:feed:header:trailer:backend:align
    dlp0:/dev/lp0:read:never:never:never:/usr/lib/lpd/piobe:TRUE
    

Files


/usr/bin/lsquedev Contains the lsquedev command.
/etc/qconfig Contains the configuration file.

Related Information

The chquedev command, lsque command, mkquedev command, rmquedev command.

The qconfig file.

The printf subroutine.

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

Printer Specific Information, Printer Support, and Virtual Printer Definitions and Attribute Values in the AIX 5L Version 5.1 Guide to Printers and Printing.

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


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