The command line tools cupsdisable and cupsenable are used for starting and stopping CUPS printers and classes. For blocking jobs at the early stage of submission, the command line tools cupsreject and cupsaccept should be used. On the other hand, if the printer is accepting jobs, but the jobs are not printing, find out if the printer is enabled with:. Can't submit new jobs to the printer Next, if the problem is that the printer is greyed out when you try to print a document or your application tells you that the printer is rejecting jobs, confirm this status with: After running cupsreject for a given printer, users will not be able to submit further jobs. Accepting and Rejecting Jobs As mentioned above, disabling and enabling printers does not block users from submitting their jobs.
Arch Linux / extra / cups
cupsdisable stops the named printers or classes. The following options may be used: E Forces encryption of the connection to the server. -U username Uses. cupsaccept instructs the printing system to accept print jobs to the specified destinations.
Administering CUPS from the command line
cupsreject instructs the printing system to reject print jobs to the specified destinations. Unlike the System V printing system, CUPS allows printer names to contain any printable.
TH cupsenable 8 "CUPS" "11 June " "Apple Inc.".SH NAME. cupsdisable, cupsenable \- stop/start printers and SYNOPSIS.B cupsdisable.
Edit RecentChanges Preferences Comment.
On the other hand, if the printer is accepting jobs, but the jobs are not printing, find out if the printer is enabled with:. In such cases, rejecting jobs see below is more appropriate since this action makes users aware of the long-term interrupt.
man cupsenable howto cupsclientx86_rpm
Short Descriptions accept instructs the printing system to accept print jobs to the specified destinations. To test the results, issue: You can find all the commands available from the man page man lpstat.
Apr 22, In cupsys-client version rcubuntu1 the enable and disable commands have been removed in favour of cupsenable and cupsdisable. /usr/sbin/cupsdisable /usr/sbin/cupsenable /usr/sbin/cupsreject /usr/sbin/ lpadmin /usr/share/man/man8/cupsctlgz /usr/share/man/man8/cupsdisable.8 .gz.
Configuration of CUPS is dependent on the type of printer and can be complex.
Two command-line tools, cupsdisable and cupsenablelet you control the print queue.
mavericks How do you disable Printer Sharing via terminal Ask Different
As mentioned above, disabling and enabling printers does not block users from submitting their jobs. Instead, new jobs are accepted but not processed.
Send documents to a printer and automate many tasks from the command line. Use a small and unobtrusive Raspberry Pi to convert your legacy USB printer to a new wireless network printer system.
Video: Man cupsdisable WiFi-Enabled Printer Using Raspberry Pi 3 and USB-printer
Since they are counterparts, they are described by a single man page: