Re: [NF] Printing from DOS Programs

Author: Leland F. Jackson, CPA

Posted: 2009-05-05 at 22:52:12

Perhaps this will help:

#-----------------------------

Excerpt:

I do something similar on my network with an old DOS app. The best

way I've found is to put the printer on the network with a print server

and an IP address. You then install the printer on the workstation and

say that it's a local printer (uncheck the autodetect option), then

instead of choosing LPT1 you check the option to create a new port and

choose TCP/IP. You can then enter the IP address of the networked

printer. Finally, turn on printer sharing and give the printer a name.

Once that's done, you have to trick the DOS app by capturing its

output to LPT1 and sending it to the networked printer. This is done by

using the "net use" command. For example,

net use lpt1: \\localcomputername\sharedprintername /persistent:yes

The persistent switch forces the command to execute everytime the

PC boots. Everytime your DOS app tries to print to LPT1, the print job

gets captured and sent to the shared printer, which of course is located

at an IP address on your network. It sounds like a lot, but once you've

done it a few times it becomes second-nature.

http://www.computing.net/answers/windows-xp/win-xp-msdos-printing/94362.html

or

http://tinyurl.com/cdlnyp

#------------------------------

Regards,

LelandJ

Enzer, Charles (enzerch) wrote:

> I just switched from a Local Printer, HP 520, to a Network Printer, HP Officejet Pro 8500.

>

> My DOS program WordStar 4 nolonger can print.

>

> My OS is XP Professional SP3.

>

> What is the workaroud or patch?

>

> Thank you.

>

> -- Charles Hart Enzer, M.D., FAACAP --

> Volunteer Associate Professor of Psychiatry

> University of Cincinnati Medical Center

> Website: http://homepages.uc.edu/~enzerch

[excessive quoting removed by server]

©2009 Leland F. Jackson, CPA