Forrest logo
back to the lpinfo tool

lpinfo:tldr:f9050

lpinfo: Search installed printer drivers by make and model.
$ lpinfo --make-and-model "${printer_model}" -m
try on your machine

The command lpinfo is a command-line utility for querying information about available printers on a system.

The --make-and-model option is used to filter the printer information based on the specified make and model. In this case, ${printer_model} is a placeholder for the actual make and model of a printer that needs to be provided as an argument. It could be something like HP LaserJet 2000 or Epson Stylus SX410.

The -m parameter, when used with the --make-and-model option, instructs lpinfo to only display the available printer models that match the specified make and model.

So, when you execute this command, it will query the system for available printer models that match the provided make and model, and display the resulting list of matching printer models.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the lpinfo tool