I'm trying to find out if this is possible, and if so how to do it. From a machine running XP or Vista, as I understand it, when you send something to print, Windows/the print drivers render the file into a format the printer can read and understand (a spool file?). This file is sent to the printer then the local copy is deleted. I believe this file is held briefly in the "C:\WINDOWS\system32\spool\PRINTERS" folder, which is effectively the shared print queue folder. for all printers on that machine.
My question is whether you can capture this 'raw' spooler data (I've managed to copy and paste to capture the files that appear in the spool folder, but you have to be fast!), and crucially, once you've captured it, can you then somehow send it to print again?
I have a feeling this is more complicated than I think. Presumably there are different formats of spooler data etc.? Is there a utility that can do the printing/viewing of captured files?
Customer
-------------------------------------------------
How to capture a Windows Spool File?
If the application does not support "Print to file", the following method (for a Windows server) can be used:
- Manually power down the printer or pause the queue so printing will stay held in the queue.
- Print a document that demonstrates the problem (normally using a workstation).
- On the server, navigate to C:\Windows\System32\Spool\PRINTERS\ folder.
- Take a copy of the SPL and SHD files who's creation date matches the time of the print.
- Copy and Rename the files to a descriptive name like "testprint-3pages-2color-1bw.spl".
- Zip the files and email both files to support@verypdf.com for analysis.
VeryPDF
-------------------------------------------------
In troubleshooting problems, it is sometimes necessary to capture the data (spool file) being sent to the printer. Below are instructions for two different methods for capturing a spool file on a Windows computer.
The first step is to make sure that output is spooled to the printer, rather than printing directly.
- Go to Devices and Printers, right click on the printer queue, and select "Printer Properties",
- Make sure that the setting "Spool print documents so program finishes printing faster" radio button is selected,
Next, we pause printing to the queue so we can capture the file:
Next, open the spool directory ( C:\Windows\System32\spool\PRINTERS\ ) to watch for the spool file after it enters the queue,
Print your document through the print queue,
Look for files with an extension of *.spl in the directory:
Email the spool file to others,
Spool File Relevant Tools:
PCL Converter: Convert PCL files to PDF, PS, EPS, TIFF, JPG, PNG, BMP, etc. formats,
https://www.verypdf.com/app/pcl-converter/index.html
Postscript to PDF Converter Command Line and SDK,
http://www.verydoc.com/ps-to-pdf.html
Postscript to Image Converter Command Line and SDK,
http://www.verydoc.com/ps-to-image.html
Postscript to Text Converter Command Line and SDK,
http://www.verydoc.com/ps-to-text.html
Spool File Page Counter SDK,
http://www.verydoc.com/spool-page-count.html
See Also:
How to capture printer spooler file when printing and then view and/or print that spooler file again?
https://www.verypdf.com/wordpress/201607/how-to-capture-printer-spooler-file-when-printing-and-then-view-andor-print-that-spooler-file-again-42708.html
Intercepting data sent to a Windows printer
http://www.verydoc.com/blog/intercepting-data-sent-to-a-windows-printer.html
How to intercept and capture a print job and convert it to PDF & Plain Text & Image files and then print?
http://www.verydoc.com/blog/how-to-intercept-and-capture-a-print-job-and-convert-it-to-pdf-plain-text-image-files-and-then-print.html
Can I forward and redirect print jobs from one printer to another in windows?
https://www.verypdf.com/wordpress/201607/can-i-forward-and-redirect-print-jobs-from-one-printer-to-another-in-windows-42706.html