lpinfo(8) OpenPrinting lpinfo(8)

# [NAME](#NAME)

lpinfo - show available devices or drivers (deprecated)

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#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](#OPTIONS)

**lpinfo** accepts the following options:

[**-E**](#E)

Forces encryption when connecting to the server.

[**-h server**\[**:port**\]](#h)

Selects an alternate server. Note: This option must occur before all others.

[**-l**](#l)

Shows a "long" listing of devices or drivers.

[**--device-id device-id-string**](#device)

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

[**--exclude-schemes scheme-list**](#exclude)

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**](#include)

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**](#language)

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

[**--make-and-model name**](#make)

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

[**--product name**](#product)

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

[**--timeout seconds**](#timeout)

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

# [CONFORMING TO](#CONFORMING_TO)

The *lpinfo* command is unique to CUPS.

# [EXAMPLES](#EXAMPLES)

List all devices:

```


    lpinfo -v
```

List all drivers:

```


    lpinfo -m
```

List drivers matching "HP LaserJet":

```


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

# [NOTES](#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)](/man/os/cups/ippeveprinter.1).

# [SEE ALSO](#SEE_ALSO)

[**lpadmin**(8)](/man/os/cups/lpadmin.8), CUPS Online Help (http://localhost:631/help)

# [COPYRIGHT](#COPYRIGHT)

Copyright © 2020-2024 by OpenPrinting.

CUPS 2022-05-02

---

Document: lpinfo(8) from cups 2.4.19-r6 (Chainguard OS)
Source: https://github.com/OpenPrinting/cups
