CUPS - Does a Submitted Print file live somehwere?

Hello All,

When using CUPs. Does the file that gets printed live in some temp directory somewhere?

For example, if a user submits a PDF file to be printed, does a cached copy of that PDF file live somewhere on the Server in a temporary directory, at least until its printed?

# lpq -P printer15
printer15 is not ready
Rank    Owner   Job     File(s)                Total Size
1st     applpro 11261   myfile123.PDF    2048 bytes
2nd     applpro 11307   myfile1456.PDF    2048 bytes
3rd     applpro 11313   myfile12345.PDF    11264 bytes
4th     applpro 11322   myfile16789.PDF    2048 bytes

Thanks in Advance,
Matt

--- Post updated at 03:11 PM ---

Correct me if this is wrong. But, I think I may have just discovered the answer...

The following link describes CUPs Design: CUPS Design Description

In there it states print job files are stored in /var/spool/cups. Each print job has one control file, i.e. "c<job-num>", and 0 or more data files, i.e. "d<job-num>-001".

And it looks like the d* file is the actual cached file of the printed document.

-Matt

1 Like

Congratulations. You found a good reference. That is the way it works.