Skip to content
VeryPDF Knowledge Base

VeryPDF Knowledge Base

Knowledge Base to VeryPDF Products

  • Home
  • Products
    • PDF to Any Converter
      • PDF to Word Converter
      • PDF to Word OCR Converter
      • PDF to Excel Converter
      • PDF to Excel OCR Converter
      • PDF to Text Converter
      • PDF to Text OCR Converter
      • PDF to HTML Converter
      • PDF Extract TIFF
      • PDF to Image Converter
      • PDF to PowerPoint Converter
    • Any to PDF Converter
      • AutoCAD to PDF Converter
      • PCL to PDF Converter
      • Image to PDF Converter
      • Image to PDF OCR Converter
      • HTML to PDF Converter
      • Document Printer
      • Document Converter
      • PowerPoint to Flash Converter
      • PowerPoint Converter
      • Free Text To PDF Converter
      • Metafile To PDF Converter
      • Office to Any Converter
    • PDF Utilities
      • PDFcamp Printer
      • PDF Editor
      • PDF Password Remover
      • Encrypt PDF
      • PDF Stamper
      • PDF Print
      • PDF Form Filler
      • Advanced PDF Tools
      • PDF Split-Merge
      • PDF Size Splitter
      • PDF Manual Splitter
      • PDF Optimizer
      • PDF Crop
      • PDF to PDF/A Converter
      • PDF Batch Print
    • Graphics Tools
      • TIFF Toolkit
      • Raster to Vector Converter
      • PDF to Flash Flip Book Converter
      • Image to Text OCR Converter
    • Business & OCR
      • PDF to Excel Converter
      • PDF to Excel OCR Converter
      • Scan to Excel OCR Converter
      • PDF to Word Converter
      • PDF to Word OCR Converter
      • Scan to Word OCR Converter
      • Office to Any Converter
      • Screen OCR
      • TIFF Toolkit
    • Multimedia
      • Flash to Image Converter
      • PowerPoint to Video Converter
      • Flash to Animated GIF Converter
      • PowerPoint to Flash Converter
      • PowerPoint Converter
    • Virtual Printer
      • PDFcamp Printer
      • Document Printer
      • Document Converter
      • Mini EMF Printer Driver
    • Development
      • Doc Converter COM Component
      • PDF Editor OCX Control
      • PDF to Text Converter SDK
      • Image to PDF Converter SDK
      • Image to PDF OCR Shell
      • HTML Converter Command Line
      • PDF to Image Converter SDK
      • PCL to PDF Converter SDK
      • PDF Password Remover SDK
      • Encrypt PDF SDK
      • PDF Split-Merge SDK
      • PDF Stamp SDK
      • PDF Print SDK
      • PDF Form Filler OCX
      • Advanced PDF Tools SDK
      • PDF Editor Toolkit SDK
      • Document Converter SDK
    • Customization
      • Custom Development Solution
    • More >>
  • Solutions
    • Web Viewer Solution
    • Web Annotator Solution
    • OCR Solution
    • PDF to Office Solution
    • PDF Form Filler Solution
    • Document Security Solution
    • Printer Intercept and Capture
    • PDF Extraction Solution
    • Paperless Printing Solution
    • Document Conversion
    • PDF Digital Signature
    • More >>
  • Blog
    • Advanced PDF Tools
    • docPrint Pro
    • PDFcamp Printer
    • PDF Editor
    • PDF Print
    • OCR Products
    • HTML to PDF Converter
    • PDF to Image Converter
    • Image to PDF Converter
    • PDF to Word Converter
  • Company
    • About Us
    • Contact Us

Understanding Windows SPL and SHD Files and How to Convert Them to PDF with VeryPDF SPL to PDF Converter Command Line

Posted on 2025/11/14Author VeryPDF / 2504 Views

In Windows printing, documents sent to a printer are first stored as spooler files. These files include SPL and SHD files, which contain raw print data and job metadata. By enabling “Keep Printed Documents” on your printer, Windows will preserve these spooler files. You can then convert them to PDF automatically using VeryPDF SPL to PDF Converter Command Line. This article explains everything in detail.


1. What Are SPL and SHD Files?

SPL Files

  • The SPL (Spool) file contains the actual print content in raw printer format.
  • It may include:
    • EMF (Enhanced Metafile)
    • PCL
    • PostScript
    • RAW printer commands
    • Other printer-specific binary instructions
  • SPL files are not human-readable and cannot be opened by standard PDF tools.

SHD Files

  • The SHD (Shadow) file contains metadata about the print job:
    • Username
    • Document title
    • Page count
    • Printer name
    • Submission time
    • Job ID
  • SHD files are important if you want to create structured output filenames or log print activity.

Normally, Windows deletes SPL and SHD files after printing. Enabling “Keep Printed Documents” allows these files to persist for conversion or auditing.


2. Enable “Keep Printed Documents” on Windows Printer

Steps:

  1. Open Control Panel → Devices and Printers.
  2. Right-click your printer → Printer Properties.
  3. Go to the Advanced tab.
  4. Check Keep printed documents.
  5. Click OK.

Understanding Windows SPL and SHD Files and How to Convert Them to PDF with VeryPDF SPL to PDF Converter Command Line

After this, all SPL/SHD files will be saved in the spool folder:

Contact Us for Custom Development Solutions
Response within 24 hours
C:\Windows\System32\spool\PRINTERS

You need administrator privileges to access this folder.

Understanding Windows SPL and SHD Files and How to Convert Them to PDF with VeryPDF SPL to PDF Converter Command Line


3. Introduction to VeryPDF SPL to PDF Converter Command Line

VeryPDF SPL to PDF Converter Command Line is a professional tool that can convert SPL, PRN, PCL, EMF, PostScript, and other print formats into PDF.

Executable path example:

E:\SPL2PDF\product_release\spl2pdf_cmd\spl2pdf.exe

Basic usage:

spl2pdf.exe [options] <in-file> [<out-file>]

The tool supports batch conversion, scheduled tasks, and full command-line automation.


4. Key Command Line Options

Some common options include:

Option Description
-width <int> Set page width for PDF
-height <int> Set page height for PDF
-margin <string> Set PDF page margins (e.g., -margin 10x10x10x10)
-rotate <int> Rotate pages (90, 180, 270)
-pdfver <int> Set PDF version (1.0–1.9, PDF/A)
-author <string> Set author in PDF metadata
-title <string> Set PDF title
-openpwd <string> Set open password
-ownerpwd <string> Set owner password
-encryption <int> Set permissions and restrictions
-bookmark <int> Add bookmarks to PDF
-unicode Enable Unicode conversion
-noempty Delete empty pages
-imgcompress <int> Set image compression for TIFF output
-imgbitcount <int> Set image color depth
-multipage Create multi-page TIFF files
-debug Output debug messages
-v Show version info
-h or -help Show usage information

Examples:

spl2pdf.exe D:\temp\sample.spl D:\output\sample.pdf
spl2pdf.exe -margin 50x50x50x50 D:\temp\sample.spl D:\output\sample.pdf
spl2pdf.exe -width 612 -height 792 D:\temp\sample.emf D:\output\sample.pdf
spl2pdf.exe -author "John Doe" -title "Report" D:\temp\sample.spl D:\output\sample.pdf

5. Converting SPL Files to PDF

Step 1: Print documents to printer

  • Make sure “Keep Printed Documents” is enabled.
  • Print your document to a physical or virtual printer.

Step 2: Locate SPL files

  • Go to:
    C:\Windows\System32\spool\PRINTERS
    
  • You will see `.spl` files generated for each print job.

Step 3: Convert SPL to PDF using SPL2PDF

  • Open Command Prompt or PowerShell.
  • Run:
    E:\SPL2PDF\product_release\spl2pdf_cmd\spl2pdf.exe D:\path\to\job.spl D:\output\job.pdf
    
  • For batch conversion of all SPL files in a folder:
    for %F in (C:\Windows\System32\spool\PRINTERS\*.spl) do "E:\SPL2PDF\product_release\spl2pdf_cmd\spl2pdf.exe" "%F" "%~dpnF.pdf"
    
  • You can also add options for margins, page size, rotation, or PDF metadata as needed.

6. Automation Tips

  • Combine with Task Scheduler to run nightly:
    • Collect all SPL files
    • Convert to PDF automatically
    • Move PDFs to an archive folder
    • Delete original SPL/SHD files
  • Use PowerShell scripts to handle errors, logging, and folder management.

7. Supported Input Formats

VeryPDF SPL to PDF Converter Command Line supports multiple formats:

  • SPL, PRN, EMF, PCL, PostScript (PS), EPS, XPS, PXL, PCL-XL, TSC Label Barcode, WMF

You can convert any of these to PDF with full batch support.


8. Summary

  1. Enable “Keep Printed Documents” in Windows Printer properties.
  2. Print documents to the printer.
  3. Locate SPL files in:
    C:\Windows\System32\spool\PRINTERS
    
  4. Use VeryPDF SPL to PDF Converter Command Line (spl2pdf.exe) to convert SPL files to PDF.
  5. Optionally, automate with batch scripts or PowerShell for nightly conversion.

This workflow ensures complete control over print jobs, allows PDF archiving, and works reliably for both single jobs and bulk print processing.

Contact Us for Custom Development Solutions
Response within 24 hours

Related Posts

  • [Solution] How to Enable “Keep Spooler Files” on Windows Printers and Convert SPL Files to PDF Automatically Using VeryPDF SPL to PDF Converter Command Line
  • How to Capture, Save, and Convert SPL Printer Spool Files to PDF or PNG Using Windows "Keep Printed Documents" Setting in Windows Printer Properties and SPL to PDF Converter Command Line Tools
  • [Solution] Capture High-Volume Batch Printing to PDF: Convert a 7,000-Page Print Job Using a Virtual PDF Printer or Print Capture SDK Without Losing Formatting
  • Understanding PCL and SPL File Conversion: Solutions for Managing Spool Files
  • [Solution] VeryPDF Text to PDF Converter: The Complete Solution for Converting ASA-Controlled Text Reports to PDF
  • [Solution] Two VeryPDF Virtual Printer Workflows: Inherit Physical Printer Settings & Capture Print Jobs
  • [Solution] Choosing the Right VeryPDF SDK for SPL-to-PDF Conversion and Print Job Capture
  • How to Convert PostScript Files to PDF and Add Barcodes/QR Codes Using VeryPDF PostScript to PDF Converter and PDFStamp Command Line SDK Tools
  • [Solution] VeryPDF Printer Capture Solution – Virtual Port Monitor & Virtual Printer for Secure Print Job Interception, Conversion, and Automation
  • Custom PDF to PDF/A-3 + ZUGFeRD Development by VeryPDF (Simple Guide for Businesses)
  • VeryPDF OCR Engine is the most comprehensive OCR SDK for software developers. Integrate AI-powered OCR features into your applications
  • Introducing VeryPDF PDF Viewer SDK: Powerful PDF Viewer, Annotation, and Form Filling SDK for Web Applications and Document Collaboration
  • Which package comes with all below features for PDF for Web and iOS: annotations, highlighter, split and merge pages, add image, hyperlink, measurement calibrations? Or a subset of the above?
  • VeryPDF Source Code License for Mobile Compression SDK for iPhone and iPad
  • Send PRN File to Printer, Print & Convert PRN to other formats

Related posts:

Convert PowerPoint to PDF and set PDF keywords by command line
Convert Office to PDF and set PDF keywords by command line
How can I unpack PDF page streams for editing PDF in a text editor?
How can I use “bookmark2” option in PDF Split-Merge GUI application?
VeryPDF PDF Rendering SDK for iOS, VeryPDF PDF Rendering SDK is an Objective-C framework for Xcode d...
How to batch load and save metadata XML file format into PDF file?
I need a SDK to convert PDF files to Word/Excel/PowerPoint documents in our apps both on iOS & A...
PDF Reader Source Code License for iOS and Android mobile platforms
Category: @VeryPDF SDK & COM & CLI Tag: admin access, adobe reader, advanced tab, arabic font, archive pdf, batch conversion, color depth, command line, delete empty, delete shd, delete spl, deny copying, deny modification, deny printing, document archive, document printing, embed fonts, emf conversion, emf files, encryption level, eps files, file conversion, image quality, image resolution, keep documents, nightly conversion, open password, owner password, page height, page rotation, page size, page width, pcl files, pcl-xl files, pdf archiving, pdf author, pdf automation, pdf bookmark, pdf control, pdf conversion, pdf converter, pdf creator, pdf encryption, pdf guide, pdf keywords, pdf layout, pdf margin, pdf metadata, pdf noempty, pdf owner, pdf page, pdf password, pdf producer, pdf security, pdf software, pdf solution, pdf subject, pdf tips, pdf title, pdf tools, pdf version, pdf workflow, pdf zoom, powershell script, print automation, print job, print metadata, print monitoring, print output, print spooler, print workflow, printer properties, printer setup, prn files, ps files, pxl files, raster emf, repair emf, scheduled conversion, shd files, spl batch, spl converter, spl files, spl handling, spl management, spl printing, spl to pdf, spl2pdf command, spl2pdf tool, spool folder, spooler files, supported formats, tiff compression, tiff output, tsc barcode, unicode pdf, verypdf pdf, verypdf spl, viewer options, virtual printer, windows printing, windows spl, wmf files, x resolution, xps files, y resolution

Post navigation

Previous Post[Solution] How to Enable “Keep Spooler Files” on Windows Printers and Convert SPL Files to PDF Automatically Using VeryPDF SPL to PDF Converter Command Line
Next PostHow to Disable Copy Paste and Sharing Functions on Your PDF Files With Anti Sharing Technologies

Custom Development Services

VeryPDF offers customized development services to meet your unique business needs, including PDF Processing, Document Automation, Document Analysis, Format Conversion, OCR, DRM, Barcode Solutions, Virtual Printer, Digital Signature, AI Integration, and more. Contact us today to get a personalized solution!

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • VeryPDF.com
  • VeryDOC.com
  • VeryUtils.com
  • imPDF.com

Recent Solutions

  • image_thumb.pngPDF/A-3 vs ZUGFeRD: Custom PDF to PDF/A e-Invoice Development with VeryPDF
  • image_thumb.pngCustom PDF to PDF/A-3 + ZUGFeRD Development by VeryPDF (Simple Guide for Bu…
  • image_thumb.png[Solution] VeryPDF Virtual Printer Driver SDK OEM Licensing, Full Source Co…
  • image_thumb.png[Solution] Secure Redaction of PII and Sensitive Data from PDFs Without Clo…
  • image_thumb.png[Solution] VeryPDF AI-Powered Smart Redact Server Solution: Permanently Rem…

Recent Posts

  • image_thumb.pngHow to Highlight Part Numbers in Large PDF Drawings Automatically (Mac and …
  • image_thumb.pngHow to Convert DOC and RTF to PDF Without Microsoft Office | DocPrint PDF v…
  • image_thumb.pngHow to Add a PHP Variable as a Text Watermark to PDF Files Automatically
  • image_thumb.pngPDF/A-3 vs ZUGFeRD: Custom PDF to PDF/A e-Invoice Development with VeryPDF
  • image_thumb.pngCustom PDF to PDF/A-3 + ZUGFeRD Development by VeryPDF (Simple Guide for Bu…

Categories

Archives

Calendar

November 2025
M T W T F S S
« Sep   Feb »
 12
3456789
10111213141516
17181920212223
24252627282930
© 2026 VeryPDF Knowledge Base / VeryPDF.com / VeryDOC.com / VeryUtils.com / Support
Contact
Us