Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Where are items stored in print queue?

I held documents in print queue for several weeks while I had my printer packed for moving. System still backed up using Time Machine during this time. Before I reconnected printer, in trying to resolve another issue, I used Onyx software and deleted the cache (which apparently included the print queue). Now I want to recover the documents in the print queue from my time Machine back up but I am unable to find them.


Where does OS X 10.6 put the data to print documents from the print queue? What is the name of the file or folder where they are stored?

MacBook, Mac OS X (10.6.7)

Posted on Nov 26, 2011 9:09 PM

Reply
9 replies

Nov 29, 2011 4:02 PM in response to tomfromflagstaff

Clearly I have asked the wrong question. Please allow me to try again.


I have a Time Machine backup just before clearing my printer cache but I am having difficulty locating the file to restore the documents back into the print queue.


The genius at the genius bar at my local Apple store was not able to locate the storage location of the items in my print queue.


Is there a way to contact Apple to locate the data contained in the print queue in OS X 10.6?

Nov 29, 2011 6:22 PM in response to tomfromflagstaff

I think the misunderstanding is in using the term printer cache. I am not sure what you mean by that. I took a look at Onyx in Lion and the only item I could find that might be what you mean is CUPS jobs. Is this what you mean?

User uploaded file


At least in Lion, when only the CUPS jobs was checked, it did not delete the jobs that were queued up to print.


The only way to be sure if yoiur print jobs were retained is to use the Terminal command:

sudo ls /private/var/spool/cups

You will be prompted for your password which will not appear as you type it. Any files that begin with the letter "d" are your queued print jobs. Any files that begin with the letter "c" are the parameters for the corresponding print job.


If you don't find any queued print jobs by using that Terminal command, you have lost your print jobs. Time Machine does not back up any of the spooled jobs or the control files from /var/spool/cups.

Nov 30, 2011 8:03 AM in response to Matt Broughton

Thank you Matt.


Yes, I assume that the CUPS job is what caused my difficulty.


And they are gone.


If I understand you correctly, restoring my system to the Time Machine back-up prior to performing this maintenance will not restore my system to it's state (including these print files) at the time of the back-up? How can that be? My understanding was that Time Machine backed-up everything.


Are there other vital files that Time Machine does not back up?

Nov 30, 2011 5:51 PM in response to tomfromflagstaff

tomfromflagstaff wrote:

Yes, I assume that the CUPS job is what caused my difficulty.


And they are gone.


As I mentioned, I only tried Onyx in 10.7.x. Deleting the cache for the CUPS jobs did not actually remove a print job I had spooled. I was able to "see" the file beginning the the "d" in /private/var/spool/cups and move it to my Desktop.


Did you try the Terminal comand I had in my last post to see if there are any files in the spool directory? You will not be able to see the files themselves as even administrators do not have enough privileges to view that directory. The best you can do is use the sudo command to list the files.


The long and short of it is that if the files are not in /private/var/spool/cups, they are gone.


If I understand you correctly, restoring my system to the Time Machine back-up prior to performing this maintenance will not restore my system to it's state (including these print files) at the time of the back-up? How can that be? My understanding was that Time Machine backed-up everything.


Are there other vital files that Time Machine does not back up?


That is my understanding based on what I see in 10.7.x. Time Machine does not back up any caches or any of the files in /private/var/spool/cups. Time Machine will also not back up any other caches or system logs. I don't have a list of what it does not back up. I am not even sure if there is such a list available to users.

Sep 29, 2013 12:12 AM in response to Matt Broughton

Dear Matt,


I too would like to backup my print queue. I usually keep print jobs in the queue for a couple of weeks and then print them all at once. twice, I have lost the queue and it's quite troublesome when that happens.


if I were to backup the /spool/cups/ directory, would that allow me to restore the queue if I needed to? would I need additional terminal commands to get the printer driver to notice the restored jobs?


sincerely,

Gregory


(Mountain Lion 10.8.5)

Jan 20, 2014 7:57 PM in response to Matt Broughton

Hey Matt, so what if I have those files that start with a "d" such as:


To proceed, enter your password, or type Ctrl-C to abort.


Password:

c00005 c00016 cache d00011-001 d00023-001

c00006 c00017 d00001-001 d00013-001 d00024-001

c00007 c00018 d00002-001 d00014-001 d00025-001

c00008 c00019 d00003-001 d00015-001 d00026-001

c00009 c00020 d00004-001 d00016-001 tmp

c00010 c00021 d00005-001 d00017-001

c00011 c00022 d00006-001 d00018-001



How do I recover them?

Where are items stored in print queue?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.