lpc - line printer control program
$ lpc status hp_psc_1210: printer is on device 'usb' speed -1 queuing is enabled printing is enabled no entries daemon present
Since lpc is geared towards the Berkeley printing system, it is impossible to use lpc to configure printer or class queues provided by CUPS. To configure printer or class queues you must use the lpadmin(8) command or another CUPS-compatible client with that functionality.
lpadmin - configure cups printers and classes
-E Enables the printer and accepts jobs; this is the same as running the accept(8) and enable(8) programs on the printer.
printer and class names are not case-sensitive.
lpstat - print cups status information
$ lpstat -t scheduler is running system default destination: hp_psc_1210 device for hp_psc_1210: usb:/dev/usb/lp0 device for hp_psc_1210/a4: usb:/dev/usb/lp0 device for hp_psc_1210/bw: usb:/dev/usb/lp0 device for hp_psc_1210/draft: usb:/dev/usb/lp0
hp_psc_1210 accepting requests since Jan 01 00:00 hp_psc_1210/a4 accepting requests since Jan 01 00:00 hp_psc_1210/bw accepting requests since Jan 01 00:00 hp_psc_1210/draft accepting requests since Jan 01 00:00
printer hp_psc_1210 is idle. enabled since Jan 01 00:00 printer hp_psc_1210/a4 is idle. enabled since Jan 01 00:00 printer hp_psc_1210/bw is idle. enabled since Jan 01 00:00 printer hp_psc_1210/draft is idle. enabled since Jan 01 00:00
-t Shows all status information. This is equivalent to using the "-r", "-d", "-c", "-d", "-v", "-a", "-p", and "-o" options.
disable, enable - stop/start printers and classes
SYNOPSIS
disable [ -E ] [ -c ] [ -h server ] [ -r reason ] destination(s) enable [ -E ] destination(s)
DESCRIPTION enable starts the named printers or classes.
disable stops the named printers or classes. The following options may be used:
-c Cancels all jobs on the named destination.
The CUPS versions of disable and enable may ask the user for an access password depending on the printing system configuration. This differs from the System V versions which require the root user to execute these commands.