i have a project that is supposed to read a spooler .spl file and add extra information at the end of the file then forward it to another printer. My biggest headache is getting the structure of the .spl file to be able to extract just the printed text and manipulate it.
understanding print-spooler Raw .spl structure
1k Views Asked by Gomesh At
1
There are 1 best solutions below
Related Questions in WINDOWS
- Get Maximum Log Size
- Debugging Windows Services while starting
- Possible consequences of duplicate ProgId for different classes
- How to chain BCryptEncrypt and BCryptDecrypt calls using AES in GCM mode?
- mingw-64 conflicting declarations when cross-compiling
- I run an EXE program from a Windows Service but I can't see form C#?
- Why is PowerShell "not recognized" when installing Chocolatey?
- How to check if Windows device is phone or tablet/pc?
- How to add directories to Cygwin gcc default search path
- Can't install anything with pip2 on Windows 7 due to UnicodeDecodeError
- Active directory and linux nslcd binding without extending the AD schema
- How To Prevent Over Scrolling in Scroll Viewer Windows Phone 8.1
- Unicode error from pip install
- Where is the 'EnablePinning' property in the ribbon framework's recent items?
- How can I implement the same models and data across ASP.NET and Windows Apps
Related Questions in PRINTING
- How to send ESC/POS commands to thermal printer in Linux
- JTable Printing. How to set page breaks programmatically?
- Why do print and echo behave differently in a "for" loop
- Is there a way to limit the html page to a particular page size?
- How to execute keybord shortcut CTRL + P by clicking a link using jquery
- Chrome print preview disable only link location in footer and header
- C program doesn't print
- how to print a receipt to a particular printer
- How to print Jasper reports from servlets?
- Is it possible to print web content on thermal printer?
- How to print the HTML in Java
- How to get a response of file printing job to user from printer using CUPS in linux
- Android PrintManager get callback
- Business card height and width in pixels on web?
- Microsoft Dynamics Ax 2012 R2 run time issue
Related Questions in PRINT-SPOOLER-API
- Combine Printer Spooler files to better utilize paper real estate
- EnumJobs returning a different JOB_INFO_1 size than Marshal.SizeOF
- When job is printed, last job status is JOB_STATUS_RETAINED, instead of JOB_STATUS_PRINTED
- Capture lab measurements as they are sent to printer
- How can I change the Print Spooler filename/document name associated with wxPrintout in wxwidgets
- AddJob + SetPrinter: is it possible to set dmCopies and get effect?
- Retrieve actual printer queue
- Thermal printer Driver In windows
- Send print to windows spooler with Epson Thermal printer
- Rust Winapi is printing garbage while printing unicode international characters
- GETJob() Win32 Print spooler api 64bit The parameter is incorrect, how to fix?
- Win32 printing with js-ctypes fails with ERROR_INVALID_HANDLE
- Why do I get ERROR_ACCESS_DENIED attempting to open a specific job using OpenPrinter?
- How do I find the spool file for the job with a given ID even when spool file pooling is enabled?
- understanding print-spooler Raw .spl structure
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The problems you need to solve will vary depending on your ability to control the spool format. The behaviour of Windows spooling is described in this archived website.
I will quote from one of my comments on a previous answer:
The default in older versions of Windows is EMF, which is basically a stream of serialised GDI calls, and because this API evolved, there are different versions of EMF. You could reverse engineer this format, or there are third-party EMF viewers (or use the old Windows Photo Viewer) and libraries.
XPS is the spool format for XPSDrv drivers. "An XPS file is a ZIP archive using the Open Packaging Conventions, containing the files which make up the document. These include an XML markup file for each page, text, ..."
Otherwise if you need to deal with raw PDLs, you'll need to handle PostScript, PCL6, etc.