how to have a dos application print to a network printer?

L

Luc

Is there a way to print from within a dos box under XP to a network printer
instead of the default LPTx ports. Problem is that older dos applications by
default want to print to a LPT port and don't have the option to print to
something else.
So I'm looking for a work around solution to get rid of directly attached
printers.

any help would be very welcome
 
L

Luc

ok!

syntax should look like: net use lptx: \\printserver\sharename /persistent:yes

Pinter is a HP 5M with MIO card on adress 192.168.x.x and configured on
every PC as printing to port IP_192.168.x.x standard TCP/IP port.....

Printserving is done by the Printer itself I presume....

tried "net use lpt1: \\192.168.x.x\IP_192.168.x.x /persistent:yes" and other
combinations but always comes back with an error

What am I doing wrong? Any bright ideas?
 
K

Klaus Jorgensen

Luc wrote :
syntax should look like: net use lptx: \\printserver\sharename
/persistent:yes

Pinter is a HP 5M with MIO card on adress 192.168.x.x and configured on
every PC as printing to port IP_192.168.x.x standard TCP/IP port.....

Printserving is done by the Printer itself I presume....

tried "net use lpt1: \\192.168.x.x\IP_192.168.x.x /persistent:yes" and other
combinations but always comes back with an error

In this setup you should share the printer in XP, and use that share in
the net use command - e.g.
net use lpt1 \\yourxppc\yourshare

.....but it's a lot easier to use the other option; enable printer
pooling in the Windows printer driver, and mark LPT1 in addition to the
IP port.


/klaus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top