Parallel Port

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hy there,
i created a xp-embedded image on which i must use the serial and the
parallel ports. My serial ports are working well, but my parallel Ports not*.
Does anybody know the necessary components for parallel comunications ?

*Not working means, that a customer specific device driver cannot open that
port.

Thanks
Jo
 
On your runtime image, open the device manager and try uninstalling and then
reinstalling the parallel port driver. I have run into a problem with the
parallel port where a port setting won't stick unless I uninstall and then
reinstall the driver. I'm still investigating why it won't just work without
having to do this.
 
On my image i can see all my parallel ports. i can uninstall and reinstall
again without any effect. That driver we use for parallel communications
seems to us some XP components we still not have in the image. But what
component?
 
Hi Jo,

Drivers seldom need additional components in your image to install and work.
Anyhow you did not gave us any clue that your driver is not working and reason why.

1. Delete setupapi.log from windows folder.
2. Install manually driver.
3. Send setupapi.log here.

Use Device Manger to see if there is error mark next to the driver. And tell us about it.

Best regards,
Slobodan
 
Hi Slobodan,
thanks for your reply. That software component i called "driver" is simply a
DLL which tries to communicate over Parallel port (I assume, that it will
open the parallel port LPT2 with "CreateFile" and that action causes the
error but actually i try make that information sure))
When i run the device manager i can see the LPT2 port. Therefore i think
that i do not have a necessary component included in my image.
 
Hi Jo,

For parallel port you usually need one of components "ECP Printer Port", "Printer Port".
From Device Manager you can see if LPT is installed and working.

Your dll file should be treated with same procedure as you would any third party application. Detect and satisfy all dependencies
and registry values if needed.
Use filemon, regmon, dependency walker, debuger, etc.

Or write simple application that will Use CreateFile to open LPT port and try for your self to see if it is working.

Regards,
Slobodan
PS: Are you using administrator or user account?
 
Hi Slobodan,
meanwhile i fixed my problem. it was a missing sys-driver from out driver
supplier.
Thank you very much for your help

Jo
 

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

Back
Top