|T O P I C R E V I E W
||Posted - Nov 14 2022 : 20:20:22
We have created the following application to provide automatic printing of files in a designated folder.
Full source code, as well as 32bit and 64bit exe files are available below.
AUTOMATIC PRINTING FROM FOLDER
PdfPrinter.exe will automatically print PDF files, images, documents and other files to the default printer. Specify the folder it should watch, and the folder to move files after printing. PDF files are printed using PDFium (by Google), images are printed using ImageEn and other documents are passed to Windows for printing (support depends on Windows).
It will also wait for files to complete copying (not locked) before printing, and can automatically start monitoring if run on Windows start-up.
If you edit PdfPrinter.ini, you can limit printing to specific formats, e.g. '*.pdf;*.jpeg;*.jpg'
Copy PdfPrinter.exe and iepdf*.dll to a folder on your computer and run it. Specify your monitoring folder and other options. Click "Start Montioring" to commence.
TO START PDF PRINTER WITH WINDOWS
1. Copy PdfPrinter.exe to the clipboard
2. Click the Windows logo key + R, type shell:startup, then select OK. This opens the Startup folder.
3. Right-click the Startup folder and choose "Paste as Shortcut" (On Windows 11, you need to hold down the Shift key as you right-click, or select "Show more options")
26 KB. Tested in Delphi 11
32bit EXE: https://www.ImageEn.com/files/Other/PdfPrinter32.zip
9.4 MB. Tested with Windows 10 and 11
64bit EXE: https://www.ImageEn.com/files/Other/PdfPrinter64.zip
10.4 MB. Tested with Windows 10 and 11