Capture printing port

G

Guest

I have 2 XP machines. Each one has a printer attached. They were previously
ME machines and I could set computer2 to capture a printer port so it could
to the printer on computer1. With XP I see that option is gone, but found
out about "net use" command.
How do I set up computer2 so that it prints to its local computer when
needed, and the printer on computer2 when I print from a dos program??
 
D

Davide Guolo

JasonC,
I have 2 XP machines. Each one has a printer attached. They were previously
ME machines and I could set computer2 to capture a printer port so it could
to the printer on computer1. With XP I see that option is gone, but found
out about "net use" command.
How do I set up computer2 so that it prints to its local computer when
needed, and the printer on computer2 when I print from a dos program??

You can map an LPT port to the other computer's printer by the NET USE
command:

From Computer1:
NET USE LPT1: \\computer2\printer_shared_name

You must have Administrator rights, if LPT1 is physically present into
computer1

In addition, if your local Printer is connected to LPT1 too, then you need
to disable the redirection when printing to the local printer:

NET USE LPT1 /d

to avoid having the output going to \\computer2\printer_shared_name.

You may want also to have a look at Printfil, which allows your DOS app.
printing to any Windows printer (including Windows-only, GDI and virtual
printers), local or networked, capturing an LPT port and at the same time
allowing printing to the captured port.

More info and a free trial is available for download at our web site.

Kind regards,
Davide Guolo
--------------------------------------------------------------
Printfil - Windows Printing System for Applications
http://www.guolo.com/printfil
Odbc4All - Connection to ODBC Data Sources for any Application
http://www.guolo.com/odbc4all
--------------------------------------------------------------
 

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