Print jobs are sent to the printer by a printer daemon.
When you print a file on UNIX, the file doesn’t go directly to the printer. Instead, the file is spooled for the printer and placed on a queue. You can think of the print spool as a sort of waiting room, where your job patiently sits until it is called to the printer.
The program that determines when a file can be sent from the queue to the printer is called the printer daemon . A daemon is a special UNIX program that remains running all the time, waiting for requests. The printer daemon is responsible for determining when a print job is completed and then sending the next job in the queue. If you think of the print spool as the waiting room, then you can think of the printer daemon as the receptionist who yells, “Next!”
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access