Discussion Locked

Defining parallel port number

0 helpful
13 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to assign lpt2 to the built-in parallel port on a pc. NT assigns lpt1 as default - any way to work around this and assign lpt2 instead ?

13 replies

by redshift

How many parallel ports does the PC have? If only one, then you're S.O.L. If more than one, the lower the IO range, the lower the LPT# assignment. This is achieved through one of two ways - set your integrated parallel port to a hight IO range via the BIOS, or set your add-on parallel port to a lower range via the jumpers on the card.

by mbraffor

Why LPT2 as the port? You can also add a port (usually using the HP port choice) and then configure it to the setup you desire. LPT is NOT your only alternative. If that doesn't fix it shoot me an email.

by michael

Because the customer is using some old programs that needs to send reports to lpt1, but the attached printer is not capable of the large reports, and the user wants to keep the local printer for small printouts from ie outlook

by burcjo

NT is going to assign the first lpt port it finds to lpt1. You can't have an lpt2 without an lpt1. If you have an extra lpt port installed in the machine then (depending on the make of your pc) you may be able to change the setting of the built in lpt port to be lpt2 (sometimes you can do this in the bios... sometimes you just have to disable it).

by howard

What I have done in the past is make the printer in question a shared network printer, then use the NET USE command to capture the LPT2 port. EG: NET USE LPT2 \\CPU\PRINTER

by michael

That'll not work as the local printer connected to lpt1 still needs to be accessed

by burcjo

0x3BC
0x378
0x278
Are common addresses for LPT ports. No matter what address you assign your lpt port, Microsoft OS's will assign LPT1 to the first LPT port it finds. . So if you want to work around that situation, set your internal lpt port as 378, purchase an inexpensive LPT card and install it as LPT2(0x278). If you need to redirect LPT1 to print to a network printer, then you're all set.

by michael

I have thought about this solution myself, but in this specific case its not possible as there are no more vacant pci nor isa slots in the machine - thats why I was looking for a sw-based solution

by curtis864

Ok. The BIOS usually assigns the name LPT1 to any port with the IRQ 7 and IO 378 and LPT2 to any port with IRQ 5 and IO 278.

Try going into your bios and either tell it to assign the port to LPT2 or set it to IRQ 5. I had to use this method of port numbering when installing 2 parallel ports on windows98. Not sure if it will work on NT.

This discussion is closed to new replies.