lpinfo

List connected printers and installed drivers for the CUPS print server. More information: <https://openprinting.github.io/cups/doc/man-lpinfo.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y cups-client
Ubuntu
RUN apt-get update && \ apt-get install -y cups-client
Alpine
RUN apk add cups
Arch Arch Linux
RUN pacman -S --noconfirm cups
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y cups-client
Fedora
RUN dnf install -y cups-1
Raspbian
RUN apt-get update && \ apt-get install -y cups-client
click the source code to copy install lpinfo on any operating system with command-not-found.com