Printing
accept
Allow print jobs to be submitted to a printer destination.
printercupsqueuejobs
Additional Notes
accept tells CUPS that a printer or class should accept new print jobs. It does not necessarily start printing immediately; it controls whether new jobs may enter the queue.
Use it with reject, lpstat, and cupsenable when managing printer queues.
Syntax
accept destination...
Parameters
destination: Printer or printer class name.options: This command is usually used with destination names rather than many flags.
Common Commands
accept PRINTER: Allow new jobs for a printer.reject PRINTER: Stop accepting new jobs for a printer.lpstat -a: Show whether destinations accept jobs.
Examples
lpstat -a
Check which destinations accept jobs.
sudo accept office-printer
Allow jobs to be submitted to office-printer.
sudo reject office-printer
Stop accepting new jobs.
Practical Notes
acceptcontrols queue acceptance, whilecupsenablecontrols whether queued jobs are processed.- Printer administration may require root or printer-admin permissions.
- Destination names can be listed with
lpstat -vorlpstat -a.