Mac Developer Library Developer
Search

 

This manual page is for Mac OS X version 10.9

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • To learn how the manual is organized or to learn about command syntax, read the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Developer Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



lpinfo(8)                                        Apple Inc.                                        lpinfo(8)



NAME
       lpinfo - show available devices or drivers

SYNOPSIS
       lpinfo  [  -E  ]  [  -U  username  ]  [  -h server[:port] ] [ -l ] [ --device-id device-id-string ] [
       --exclude-schemes scheme-list ] [ --include-schemes scheme-list ] [ --language locale ] [ --make-and-model --make-andmodel
       model name ] [ --product name ] -m
       lpinfo  [  -E  ]  [  -U  username  ]  [ -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.

       -U username
            Sets the username to use 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-separated  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-separated 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.

COMPATIBILITY
       The lpinfo command is unique to CUPS.

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

COPYRIGHT
       Copyright 2007-2013 by Apple Inc.



5 December 2008                                     CUPS                                           lpinfo(8)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Feedback