DOS and LPT ports

itinside
itinside used Ask the Experts™
on
I have a dos application that prints to LPT1.

Have a new computer that I need to run this application on.
I have sucessfully setup the hard drive with dos and the application and they work fine.

The trouble I am having is that the PCIe LPT card I put into the computer is not being recogized by dos.
I am testing by:  dir > lpt1

I do not want to run this throug windows, I need it to run in pure dos.
Windows recognizes the LPT port as LPT3. and prints fine.

In dos I tried: dir >lpt3 but that did not work either.

Any thoughts?

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Try looking in the pc bios.  set it to the most basic settings, might be on ECP or similar at the moment and sometimes you can choose the port directly (i.e. lpt1/2/3) or the actual internal port no. in there.  DOS programs expect it to be on 378 using iRQ 7 or 278 and iRQ5 normally for lpt1 and lpt2 (afai remember, has bee MANY years!).

Commented:
or possibl as it's a pci card you might have to / be abel to configure it in a util that came with it?

Author

Commented:
I cannot see the LPT card in the Bios, I already checked.
There is a possilbility that this card is not dos compatibile, I am checking into this now.
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

Commented:
fair enough.  Quite a lot aren't.  If it doesn't give you the option of setting port/irq through a utility prog or whatever it's probably no good.

When you say it is dos... do you mean cmd.exe prompt or dos btw?  If it id cmd.exe prompt then you can probably change what it appears as in the device manager settings if it is plug and play and then print to the correct port.
Qlemo"Batchelor", Developer and EE Topic Advisor
Top Expert 2015

Commented:
In the famous, early days of DOS, LPT/COM extension cards had jumpers to set IRQ and I/O address. PCIe (PCI Express) cards will not have such a thing anymore. I don't think you will succeed in getting DOS support with that card. However, there are even USB drivers for DOS, so - who knows?

Commented:
Fair enough.  good luck in finding one that works!
Steve

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial