Print from old Dos program to USB Printer

March 19, 2012 at 17:49:16
Specs: Windows XP
Hello I am trying to print from a Dos program and I almost have to working. The Dos program executes,
net print LPT1 \\computer\printer
and the computer has the printer shared as well as the command
net use ltp1 \\computer\printer
Heres the kicker is that when I print from the program I receive no error and the job will show up in the printer spool acts as if it is going to print and simple does nothing it acts as if it printed successfully but the print does nothing.
The printer is USB and the Dos program asks for
"Compressed Print"
"Extra Compresses Print"
"normal print"
The program asks for theses codes I am hoping that there is a Dos master out there that could shine some light on this.
Thank You to anyone who responds.

See More: Print from old Dos program to USB Printer

Report •


#1
March 19, 2012 at 19:04:42
http://geekswithblogs.net/dtotzke/a...

A Pit Bull is like a gun you can pet. And there is no safety on it.


Report •

#2
March 19, 2012 at 19:12:37
Thank You jefro but I have tried that forum and it didn't seem to help me. I installed the loop back adapter and configured it with a IP that is not in the dchp range but it didn't help with my problem. and it also doesn't say anything about the "compressed Print" configuration the program asks for. I know it posible because this same program is set up on another machine like that the only difference being it uses DOT4_001 and the new one uses USB001 in the printer properties under the port tab.
Anyone else I have been all over the internet and have not found anything.
Anyone have any insight?

Report •

#3
March 19, 2012 at 20:05:11
Regarding printer codes. You probably don't have a printer that uses Epson or IBM dot matrix printer codes. If you use a printer that has a Page Description Language like PCL you may its codes. You might install a print-to-file utility to capture the printer output and print it later in Windows. Sorry no experience with DOS to USB. I still have printers that have parallel ports.

Report •

Related Solutions

#4
March 20, 2012 at 13:44:19
a) NET USE LPT1: \\[Computer Name]\Printer /PERSISTENT:YES

Since you are in a round about way using a networked printer, the ability to print to the device directly has been removed. The software for the printer should print as any shared printer should.

The questions you have are very old dos questions that should change the font even today and any one of them ought to work.

Instead of printer name you can be sure to use the IP address and you have to be sure you have properly shared the printer for networked printing.

A Pit Bull is like a gun you can pet. And there is no safety on it.


Report •

#5
March 20, 2012 at 16:21:16
Thanks everyone I got it working I used a app called dosprnfound at http://www.dosprn.com/. On the other setup it work fine with out it but the new one uses the USB and the others is DOT4 under the ports tab in properties of that print so all I did was install this and it works just fine. Thanks Again I'm not a DOS fanatic I send a lot of time in a debian terminal very little in DOS.

Report •


Ask Question