Question Locked

Printing to Dot matrix Printer from a Clipper application

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have experience that when I print some thing through a dos program (Clipper) it is not directly printing through the printer and I have to exit or wait few minutes to take the print out
I am looking for a solution

4 replies

by bart777

DOS applications are a royal pain in the backside.

In order for them to work properly you need to capture the LPT1 port.

Just create a net use command and point LPT1 to where ever this printer is located.

net use lpt1: \\servername\printer

Hope this helps.

by tonythetiger

that did the same thing when we went to XP (worked fine under W2K). "Set print off" in the source code will do it. So will "Set Printer to" (no lpt1 or anything after it). The advantage of the latter is that it only flushes the spool, meaning you don't have to "Set print on" for subsequent prints.

This discussion is closed to new replies.