Capturing a Mac Spool File
Last updated March 17, 2025
Sometimes when troubleshooting issues PaperCut Support may ask you to pause a macOS print queue to make a copy of the spool files used for printing. This can help us diagnose issues related to print analysis and other problems.
This method involves running Terminal commands on the system hosting your print queues (i.e. the print server) to gather up required files.
To collect spool files from a macOS system running PaperCut:
- Enable snapshot-level debugging for the Print Provider. Using Finder, navigate to
/Applications/PaperCut MF/providers/print/mac
then run the script debug-snapshot-enable.command and follow the prompts in the Terminal window.
An alternative method is to navigate to the same directory, and openprint-provider.conf
using an app like TextEdit to add the linedebug=snapshot
. - Temporarily turn off the printer or disconnect it from the network so that jobs are held in the queue.
- Next, reproduce the problem by printing submitting a print job that reproduces the issue. (If macOS prompts you with a choice of “Cancel”, “Add to Printer” or “Resume” select “Add to Printer”).
- Open the Terminal.
- Copy /private/var/spool/cups folder to Downloads:
sudo cp -r /private/var/spool/cups /Users/<username>/Downloads
- Set 755 permissions to the copied folder:
sudo chmod -R 755 /Users/<username>/Downloads/cups
- Inside this folder look for any files that start with the letter “d”, for example
d00077–001
. These are spool files. - Control-click on those files and choose Compress.
- Share the newly Archive.zip file with your PaperCut support contact. Make sure you include the following details:
- the number of pages
- the paper size
- other attributes such as grayscale, copies, etc.
Related Articles
- Troubleshooting page count and color detection issues
- Capturing a Windows Spool File
- Capturing a Linux Spool File
- Capturing a Novell Spool file
- Capturing Spool Files with Mobility Print
Analyze your spool file
Curious to find out how PaperCut interprets that print job? Now that you’ve collected your spool file you can head over to our Spool File Analysis page to get the results yourself, and even compare how different versions of PaperCut stack up.
Need a hand?
Let us know! We love chatting about what’s going on under the hood, and we’re happy to help out when needed. Contact your PaperCut Authorized Solutions Center or head over to Support Portal for further assistance.
Categories: How-to Articles , Print Jobs , Logs
Keywords: mac print to file , apple , macOS
Comments