?



Accepted Solution on 2011-11-04 at 23:29:39ID: 37087078

There aren't any that I know of, but there is a long workaround that will do what you want. Basically, yo're going to install a free virtual PDF in Windows, then reroute LPT2 to print to that printer, and then use your DOS program (which I assume just runs under Windows in the command console) to print to LPT2.

Here are the steps:
1. Download and install CutePDF Writer (http://www.cutepdf.com/products/cutepdf/writer.asp)
2. Go to the Printers menu in the Control Panel, open the printer properties, and make that printer shared. Make sure that you make the shared name something easy (like PDFPrinter)
3. Open the command prompt, and type in the following command: "net use lpt2 \\127.0.0.1\pdfprint /persistent:yes"

Now, anything printed to LPT2 will print to the CutePDF writer, which will let you save it as a PDF file.


+ Recent posts