Capture printing port

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

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??
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

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
--------------------------------------------------------------