Integrate ActMask PDF Virtual Printer SDK — Step-by-step Guide
Overview
ActMask PDF Virtual Printer SDK installs a virtual printer driver that captures print jobs and converts them to PDF (and other formats). Your application can receive notifications and print-job metadata (title, JobID, pages, orientation, DPI, paper size, copies, color, etc.) when a PDF is created.
Prerequisites
- Windows development environment (Windows 7–10 and older Windows supported).
- Developer SDK package from ActMask (trial or licensed).
- Admin rights to install printer drivers.
Installation (assumed defaults)
- Download the ActMask PDF Virtual Printer SDK installer.
- Run installer as Administrator.
- Allow driver installation when prompted and complete setup.
- Reboot if installer requests it.
Registering and configuring the virtual printer
- After install, a virtual printer (e.g., “ActMask Virtual Printer”) appears in Devices & Printers.
- Open the printer’s properties to set defaults (paper size, resolution, output folder, and conversion options).
- Configure any system-wide profiles for PDF output (if provided by the SDK).
Integration patterns (recommended)
- Print-to-folder + notification: let users print to the ActMask printer; SDK converts the spool to PDF and writes output to a folder. Your app monitors that folder or receives SDK callbacks for generated filenames and job metadata.
- Programmatic print submission: from your app, send print jobs to the virtual printer (using standard Windows printing APIs or .NET PrintDocument). Use job properties to set title, copies, pages.
- Spool/SPL processing: some ActMask tools accept .SPL files for batch conversion—useful for server-side workflows.
Leave a Reply