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 / 114 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:

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.

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
  • Understanding PCL and SPL File Conversion: Solutions for Managing Spool Files
  • [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
  • VeryPDF PDF SDK for Developers: Built for Developers, Trusted by Enterprises! Powerful PDF Toolkit for Developers to Edit, Convert, Sign, Secure, and Automate PDF Documents
  • How to Reliably Replace Text in PDF Files with VeryPDF PDF Text Replacer Command Line (pdftr.exe)
  • [Solution] VeryPDF Printer Capture to PDF or PNG – The Complete Print Job Monitoring and Archiving Solution
  • Streamline Form Filling with VeryPDF PDF Form Filler SDK and HTML5 PDF Form Filler Online
  • Extract Images from PDF and Recognize BarCodes
  • How can I repair PDF’s corrupted XREF table and stream lengths?
  • I want to use your VeryPDF PaperTools COM/SDK product to remove borders image files and deskew image files
  • User Questions for SPL2PDF SDK, HookPrinter and PDF Editor SDK products
  • Use VeryPDF Barcode Scanner SDK to Read and Decode Intelligent Mail Barcode (IMB)

Related posts:

How to set the printer when printing pdf documents via a command line?
Convert pcl to jpeg and set page size via command line?
Convert prn to tif and set page size via command line?
Convert URL to PDF and edit PDF author
How to add more virtual PDF Printers into my Windows system? How to suppress Save As dialog?
How to password protect PDF files on Linux system?
[Solution] VeryPDF Virtual Printer: A Paperless Printing Solution
[Solution] Unlock Custom PDF Solutions with DeepSeek + PDF Technology at VeryPDF
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 Stop Sharing PDF Files Securely Using Professional DRM Protection Software for Complete Control

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.png[Solution] How to Enable “Keep Spooler Files” on Windows Printe…
  • image_thumb.png[Solution] VeryPDF Custom-built Smart Redact Server: AI-Powered PDF Redacti…
  • image_thumb.png[Solution] Choosing the Right VeryPDF SDK for SPL-to-PDF Conversion and Pri…
  • image_thumb.png[Solution] VeryPDF Custom-Built Print Filter for Windows: Add Signatures, C…
  • wlEmoticon-star.png[Solution] VeryPDF Printer Capture Solution – Virtual Port Monitor &a…

Recent Posts

  • image-20250607_180340_5026.pngWhy VeryPDF DRM Protector is necessary for secure distribution of investmen…
  • image-20250607_174502_5553.pngHow law firms use VeryPDF virtual data rooms to manage discovery files, wit…
  • image-20250726_112340_4107.pngComparing VeryPDF DRM-protected VDRs to email encryption tools for corporat…
  • image-20250726_113249_1633.pngHow to secure confidential supply chain documents and vendor contracts usin…
  • image-20250607_175826_6216.pngWhy VeryPDF virtual data rooms are ideal for multi-department enterprises n…

Categories

Archives

Calendar

November 2025
M T W T F S S
« Oct    
 12
3456789
10111213141516
17181920212223
24252627282930
© 2025 VeryPDF Knowledge Base / VeryPDF.com / VeryDOC.com / VeryUtils.com / Support