Send a File saved in .prn format to the Printer

Category:
Miscellaneous
Type:
Modules
Difficulty:
Intermediate
Author:
Daniel Cohen Gindi

Version Compatibility:

More information:
When you print a document to a file, you usually save it in .prn format. This .bas module contains the functions you need to send such a file to a printer. It also illustrates how to use a number of the printer-related API functions, such as EnumPrinters and OpenPrinter. Included is a demo application that calls functions in the module.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download prnprinter.zip