Home » Main » Capturing a Linux Spool file

Capturing a Linux Spool file

PaperCut Support may ask you to supply a print-to-file or a spool file. This is a little more difficult on the Linux platform and involves "capturing" a spool file using one of the following procedures:

1. Enable snapshot level debug logging in the Print Provider layer by adding the line:

debug=snapshot

to the file at ~papercut/providers/print/linux-[arch]/print-provider.conf

2. Temporarily stop the printer, or turn off the printer so that jobs hold in the queue. Print a job, or set of jobs that demonstrates the problem behavior. This printing may be performed from a workstation.

3. Print a problem document the demonstrates the issue and wait for it to spool.

4. As root on the PaperCut server, enter the command:

cp /tmp/spool-snapshot.spl ~/10-pages-grayscale.spl
(Note: Replace 10-pages-grayscale.spl with an appropriate name).

5. Repeat the 3 and 4 again as required to demonstrate the issue.

6. Compress the *.spl files in the root home directory as well as

~papercut/providers/print/linux-[arch]/print-provider.log

and email to support.

Apple Mac users may find the following related article useful: Capturing a Mac spool file


Categories: Troubleshooting


keywords: linux print to file

Page last modified on February 06, 2011, at 07:16 PM

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.