Thank you for your feedback

How to Capture a Spool or Job File in Linux

Document ID:HO3932

Usergroup :External
05/01/14 Properties  


Job file creation steps; Jobfiles; Spoolfiles; Capture Spoolfile; Get a copy of spool file; Obtain PRN file; Print file; Original document file; Output file not accurate; Linux systems;



This article outlines the steps required to create and capture a spool or job file in a Linux environment. Capturing the spool file may prove useful in the analysis and troubleshooting of print errors and anomalies.



Follow the steps below:

Step Action Click Image to Enlarge
Open the Command terminal, type cd /tmp/ and press Enter to go to the tmp folder.

Create a test file while in the tmp directory. To do so, type:

vi filename.txt (e.g., vi jobfile.txt

3 Open a web browser and type localhost:631 to open the CUPS web page. 
4 Go to Administration tab > Server > Edit Configuration File

In the second line, type FileDevice Yes and save changes.

Note: Enter username and password, if prompted. The Server will restart automatically. This allows the CUPS scheduler to create a job file in File Device.

6 Reopen a web browser and type localhost:631 to reopen the CUPS web page. Then go to Printers tab and select the printer (e.g.,MS610). 

Click on the Administration drop down, and select Modify Printer.

8 The Modify menu opens. Select Internet Printing Protocol (ipp) radio button, and click Continue

Type file:/tmp/jobfile.txt in the Connection text box, and click Continue.

Note: The printer will print to a text file which is called the job file.


Do not change any other options. Click on Modify Printer.

Note: Clicking Modify Printer will restart cups.

11 Go to Printers tab, click on the Maintenance drop down, and select Print Test Page. Check if a job file is created in the file:/tmp/jobfile.txt location.

Print the actual job.

Note: Click here to view a sample job file.

No Image


Still need help?

If you require additional assistance, please close this window and locate  Get In Touch with Lexmark! for contact information. NOTE: When calling for support, you will need your printer model/machine type and serial number (SN).

Please be near the products described in this article to expedite the support process and reduce callbacks.


Please enter the email address you would like to send a copy of this page to.