Capturing a Linux Spool File

KB Home   |   Capturing a Linux Spool File

Main.CapturingALinuxSpoolFile History

Hide minor edits - Show changes to output

November 21, 2018, at 06:35 AM by Aaron Pouliot - Added category - Linux
Changed line 52 from:
''Categories:'' [[Category.Troubleshooting|+]]
to:
''Categories:'' [[Category.Linux|+]]
April 17, 2018, at 10:23 AM by 90.152.8.32 -
Changed line 5 from:
The video below demonstrates capture to capture a Linux spool file:
to:
The video below demonstrates how to capture a Linux spool file:
February 20, 2018, at 01:51 AM by Anthony - Changes reference from support@papercut.com to https://support.papercut.com
Changed line 33 from:
and email to [[mailto:support@papercut.com|support@papercut.com]].
to:
and send it to us at  http://support.papercut.com.
July 14, 2017, at 10:08 PM by Mel Zouzoulas - Added video
Changed line 5 from:
The video below demonstrates capturehow to import ID numbers from a text file:
to:
The video below demonstrates capture to capture a Linux spool file:
July 14, 2017, at 10:07 PM by Mel Zouzoulas - Added video
Added lines 4-6:

The video below demonstrates capturehow to import ID numbers from a text file:
(:youtube hkp6v1Y3QTQ:)
February 12, 2015, at 05:02 AM by 203.222.91.204 -
Changed lines 24-25 from:
'''6.''' Repeat steps 5 and 6 again as required to demonstrate the issue with different settings (e.g. greyscale, color, duplex etc.).
to:
'''6.''' Repeat steps 5 and 6 again as required to demonstrate the issue with different settings (e.g. grayscale, color, duplex etc.).
December 09, 2013, at 06:01 AM by Peter - Removed incorrect step
Changed lines 14-21 from:
'''3.''' Temporarily stop the printer, or turn off the printer so that jobs hold in the queue.

'''4.''' Start the Print Server and make sure that no one else uses any of
the attached printers or devices during the period of testing

'''5.''' Print a job that demonstrates the problem behavior and wait for it to spool
. This printing may be performed from a workstation.

'''6.''' As a user with root privileges on the PaperCut printer server, enter the command:
to:
'''3.''' Start the Print Server and make sure that no one else uses any of the attached printers or devices during the period of testing

'''4.''' Print a job that demonstrates
the problem behavior and wait for it to spool. This printing may be performed from a workstation.

'''5.''' As a user with root privileges on the PaperCut printer server, enter the command:
Changed lines 24-27 from:
'''7.''' Repeat steps 5 and 6 again as required to demonstrate the issue with different settings (e.g. greyscale, color, duplex etc.).

'''8.''' Compress the [@*.spl@] files in the root home directory as well as
to:
'''6.''' Repeat steps 5 and 6 again as required to demonstrate the issue with different settings (e.g. greyscale, color, duplex etc.).

'''7.''' Compress the [@*.spl@] files in the root home directory as well as
Changed lines 26-27 from:
'''7.''' Repeat steps 5 and 6 again as required to demonstrate the issue with different settings (e.g. greyscale, colorm, duplex etc.).
to:
'''7.''' Repeat steps 5 and 6 again as required to demonstrate the issue with different settings (e.g. greyscale, color, duplex etc.).
Changed lines 18-19 from:
'''5.''' Print a job, or set of jobs, that demonstrates the problem behavior and wait for it to spool. This printing may be performed from a workstation.
to:
'''5.''' Print a job that demonstrates the problem behavior and wait for it to spool. This printing may be performed from a workstation.
Changed lines 22-27 from:
->[@cp /tmp/spool-snapshot.spl ~/10-pages-grayscale.spl@]

->(Note: Replace 10-pages-grayscale.spl with an appropriate name as suggested by PaperCut support
).

'''7.''' Repeat steps 5 and 6 again as required to demonstrate the issue.
to:
->[@cp /tmp/spool-snapshot.spl ~/10-pages-grayscale.spl@] NB Only copy the latest spool file

->(Note: Replace 10-pages-grayscale.spl with an appropriate name
).

'''7.''' Repeat steps 5 and 6 again as required to demonstrate the issue with different settings (e.g. greyscale, colorm, duplex etc.).
October 31, 2013, at 03:16 AM by Alec - Added extra info
Changed lines 10-17 from:
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:
to:
to the file [@~papercut/providers/print/linux-[arch]/print-provider.conf@]

'''2.''' Stop the PaperCut Print Server

'''3.''' Temporarily stop
the printer, or turn off the printer so that jobs hold in the queue.

'''4.''' Start the Print Server and make sure that no one else uses any of
the attached printers or devices during the period of testing

'''5.''' Print a job, or set of jobs, that demonstrates the problem behavior and wait for it to spool. This printing may be performed from a workstation.

'''6.''' As a user with root privileges on the PaperCut printer
server, enter the command:
Changed lines 26-29 from:
'''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
to:
'''7.''' Repeat steps 5 and 6 again as required to demonstrate the issue.

'''8.''' Compress the [@*.spl@] files in the root home directory as well as
Added lines 34-42:
'''9.''' Disable snapshot level debug logging in the Print Provider layer by removing the line:

->[@debug=snapshot@]

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

'''10.''' Restart the PaperCut Print Server. Other users may now use it as normal.

Changed lines 20-21 from:
->(Note: Replace 10-pages-grayscale.spl with an appropriate name).
to:
->(Note: Replace 10-pages-grayscale.spl with an appropriate name as suggested by PaperCut support).
Changed lines 1-2 from:
(:title Capturing a Linux Spool file:)
to:
(:title Capturing a Linux Spool File:)
November 09, 2012, at 03:01 AM by ian - add link to support e-mail, other relevant KB articles
Changed lines 28-32 from:
and email to support.


Apple Mac users may find the following related article useful:
[[MacSpoolFile  | +]]
to:
and email to [[mailto:support@papercut.com|support@papercut.com]].

See also:

* [[PageCountProblems|+]]
* [[CapturingAWindowsSpoolFile|+]]
*
[[MacSpoolFile|+]]
* [[CapturingANovellSpoolFile|
+]]
Added line 32:
Added lines 34-35:
''Categories:'' [[Category.Troubleshooting|+]]
----
September 11, 2009, at 01:00 AM by 218.214.136.161 -
Changed line 32 from:
to:
----
September 11, 2009, at 01:00 AM by 218.214.136.161 -
Added lines 30-32:

Apple Mac users may find the following related article useful: [[MacSpoolFile  | +]]

Changed lines 20-21 from:
   (Note: Replace 10-pages-grayscale.spl with an appropriate name).
to:
->(Note: Replace 10-pages-grayscale.spl with an appropriate name).
Changed lines 6-7 from:
'''1.''' Enable snapshot level debug logging by adding the line:
to:
'''1.''' Enable snapshot level debug logging in the Print Provider layer by adding the line:
Added line 25:
Added line 27:
Changed lines 6-7 from:
1. Enable snapshot level debug logging by adding the line:
to:
'''1.''' Enable snapshot level debug logging by adding the line:
Changed lines 12-17 from:
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:
to:
'''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:
Changed lines 22-25 from:
5. Repeat the 3 and 4 again as required to demonstrate the issue.

6. Compress the files in the root home directory and email to support.
to:
'''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.
Added lines 1-26:
(:title 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 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 files in the root home directory and email to support.

[-keywords: linux print to file -]

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.

Article last modified on November 21, 2018, at 06:35 AM
Printable View   |   Article History   |   Edit Article