Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

lpinfo (8)

Name

lpinfo - show available devices or drivers (deprecated)

Synopsis

lpinfo  [  -E  ]  [  -h server[:port] ] [ -l ] [ --device-id device-id-
string ] [ --exclude-schemes scheme-list ] [ --include-schemes  scheme-
list ] [ --language locale ] [ --make-and-model name ] [ --product name
] -m
lpinfo [ -E ] [ -h server[:port] ] [ -l ] [  --exclude-schemes  scheme-
list ] [ --include-schemes scheme-list ] [ --timeout seconds ] -v

Description

lpinfo(8)                         Apple Inc.                         lpinfo(8)



NAME
       lpinfo - show available devices or drivers (deprecated)

SYNOPSIS
       lpinfo  [  -E  ]  [  -h server[:port] ] [ -l ] [ --device-id device-id-
       string ] [ --exclude-schemes scheme-list ] [ --include-schemes  scheme-
       list ] [ --language locale ] [ --make-and-model name ] [ --product name
       ] -m
       lpinfo [ -E ] [ -h server[:port] ] [ -l ] [  --exclude-schemes  scheme-
       list ] [ --include-schemes scheme-list ] [ --timeout seconds ] -v

DESCRIPTION
       lpinfo lists the available devices or drivers known to the CUPS server.
       The first form (-m) lists the available drivers, while the second  form
       (-v) lists the available devices.

OPTIONS
       lpinfo accepts the following options:

       -E   Forces encryption when connecting to the server.

       -h server[:port]
            Selects an alternate server.

       -l   Shows a "long" listing of devices or drivers.

       --device-id device-id-string
            Specifies  the  IEEE-1284  device ID to match when listing drivers
            with the -m option.

       --exclude-schemes scheme-list
            Specifies a comma-delimited list of device  or  PPD  schemes  that
            should  be  excluded  from  the results.  Static PPD files use the
            "file" scheme.

       --include-schemes scheme-list
            Specifies a comma-delimited list of device  or  PPD  schemes  that
            should  be  included  in  the  results.   Static PPD files use the
            "file" scheme.

       --language locale
            Specifies the language to match when listing drivers with  the  -m
            option.

       --make-and-model name
            Specifies  the  make  and model to match when listing drivers with
            the -m option.

       --product name
            Specifies the product to match when listing drivers  with  the  -m
            option.

       --timeout seconds
            Specifies the timeout when listing devices with the -v option.

CONFORMING TO
       The lpinfo command is unique to CUPS.

EXAMPLES
       List all devices:

           lpinfo -v

       List all drivers:

           lpinfo -m

       List drivers matching "HP LaserJet":

           lpinfo --make-and-model "HP LaserJet" -m


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | print/cups       |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+

NOTES
       CUPS  printer drivers and backends are deprecated and will no longer be
       supported in a future feature release of CUPS.  Printers  that  do  not
       support   IPP   can   be   supported   using   applications   such   as
       ippeveprinter(1).

       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source   was   downloaded    from     https://github.com/apple/cups/ar-
       chive/v2.3.3.zip.

       Further information about this software can be found on the open source
       community website at http://www.cups.org/.

SEE ALSO
       lpadmin(8), CUPS Online Help (http://localhost:631/help)

COPYRIGHT
       Copyright (C) 2007-2019 by Apple Inc.




26 April 2019                        CUPS                            lpinfo(8)