Asked By
Edwaard Lee
30 points
N/A
Posted on - 11/23/2012
Â
Hello,
I have been worried for some time about how to print from DOS based programs since by default, most dos based documents print directly to an LPT 1 port.
But I recently heard that the DOS printer can capture lpt 1 directly and then redirect it to any printer on Windows. I would like to know more about this program before I install it. Also please tell me how to use the DOS printer on Ubuntu.
Thanks.
Â
Answered By
speel
0 points
N/A
#131033
How to use a DOS printer on Ubuntu?
The idea of printing from Ubuntu to a Windows based printer sounds scary, but in reality it isn't. You can use a wide range of software that is designed to print from Ubuntu to a DOS based printer just by using the default CUPS and their handy Printer Admin tool.
The tool will allow Ubuntu users to "see" the printer that is attached to a host printer server, which they then can see with their host computer, thus they can send the files over to be printed. You can see instructions on how to set it up at the following link-
https://help.ubuntu.com/community/NetworkPrintingWithUbuntu
How to use a DOS printer on Ubuntu?
Almost all MS-DOS based programs print the pages directly either LPT1 or LPT2 port. If you use default method then the output will automatically redirected. To solve your problem you can use the following sample method.
To make a connection you can use net.exe command. You have to use the following command prompt
net use lptx \printserversharename /persistent:yes
Â
Here X is the number of printer port which you wish to map as well as Printserver is print server which sharing the printer. On the other hand sharename indicates the name of the printer share
Â