Where are files temporarily written in Unix when printing?
Where are files temporarily written in Unix when printing?
In Unix systems, the directory where files are temporarily written when printing is /var/spool. This directory is used for storing data that is awaiting some kind of further processing, which includes print jobs.
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s14.html
This is incorrect, the answer is /usr/spool
From EC-Council: Linux stores the scheduled tasks in /var/spool/cron/ and /etc/cron.daily directories. You can find the scheduled tasks by navigating to those directories.
/var/spool contains data which is awaiting some kind of later processing.
Printing problems occur when the /var file system is full.