by Frank Kusluski (19 Submissions)
Category: Windows API Call/Explanation
Compatability: VB 6.0
Difficulty: Advanced
Originally Published: Fri 22nd September 2017
Date Added: Tue 9th February 2021
Rating: (1 Votes)
Visual Basic source code demonstrating how to pro-grammatically print PDF files from a specific printer silently or with a print dialog screen. Includes five different methods for printing PDF files using Window's API, Adobe Reader, and the Adobe Acrobat API. Includes code for setting the default printer, code for checking the printer status, and code for printing specific PDF page numbers. Also contains functions for getting Acrobat version, closing Acrobat, executing a bookmark, and opening a PDF file.