Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting lpt1 = lpt2
Message
From
08/09/2006 14:09:27
 
 
To
08/09/2006 11:27:03
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Windows
Category:
Printing
Miscellaneous
Thread ID:
01152331
Message ID:
01152427
Views:
25
>Is there a way to set the LPT1 port = to LPT2? This is for a Win95 PC.
>
>We have a DOS program that is trying to print to LPT2. The printer is connected directly to the PC. Can we set LPT1 to LPT2?

If the program is trying to print to a specific hexadecimal port, you could try setting the printer port in the PC's BIOS setup program appropriately:
LPT1: 378h (sometimes 3BCh), IRQ7
LPT2: 278h, IRQ5
If it's actually printing to assigned DOS printer ports that could be a little trickier. It might be possible to assign LPT2 to the printer port directly in Device Manager (don't have W95 here to check).

Another possibility would be to experiment with the DOS MODE command e.g.
REM To redirect LPT2 to the existing LPT1 port
MODE LPT2:=LPT1:
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform