CUPS backends

Several backends are available for CUPS: parallel, serial, SCSI, and USB ports, as well as network backends that operate via the Internet Printing Protocol (HTTP, HTTPS, and IPP), JetDirect (AppSocket port 9100), Line Printer Daemon (LPD), CIFS (which used to be called SMB) protocols, and more. PDF generators are also available. These backends usually live in the directory /usr/lib/cups/backend, and can be compiled programs or scripts written in any scripting language, such as Perl or Python.

The backend is always the last program executed for processing a print job. Table 18-1 lists the most popular backends.

Table 18-1. Backend processors under CUPS

Backend

URI syntax

Example URI

Parallel

parallel:/dev/lpnumber

parallel:/dev/lp0

USB

usb://make/model?serial= number

usb://vendor/printer%201000?serial=A1B2C3

ipp

ipp://host/printers/queue

ipp://host/printers/printer1000

LPD

lpd://host/queue

lpd://host/printer

socket

socket://host:port

socket://ip:9100

CIFS (Common Internet Filesystem, the protocol Microsoft Windows-based systems use for file and printer communication across a network)

see the smbspool(8) manpage

smb://user:password@workgroup/host/share

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.