Computing.Net > Forums > Windows XP > usb to parallel port

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

usb to parallel port

Reply to Message Icon

Name: sinil
Date: September 1, 2009 at 08:40:36 Pacific
OS: Windows XP
Product: Hawking tech. Usb to parallel port adapter
Subcategory: Software Problems
Comment:

I have been using Parallel Port of PC to communicate with controller which uses 2 data pins(as Clock and Data) as inputs and one of the Status pin as output. But Now a days most of the Laptops are not having Parallel ports, So I have purchased BAFO USB to 25 pin Parallel Port Converters. When the converter is conneted to Laptop it is detected as USB printing support instead LPT port, then I started investigation and Finally I understood that first I have to find device path Name using win API functions, then by using CreateFile(), ReadFile(),WriteFile() and DeviceIoControl() I can send and read data to the parallel port.

Finally by using VC++ and WinDDK I am able to find the Device Path Name successfully(Called Set of API functions given in USB COMPLETE manual but I fixed GUID name, which I found in usbprint.c file availabe in net)

Now the Problem is
1. How to send 8 bit Data to Parallel port (like LPT1 - 0x378 used to send data)
2. How to Read Status Bits from Parallel Port (like LPT1 - 0x379 used to read data)

I think ReadFile(),WriteFile() may not work in this case.

Please help me.



Sponsored Link
Ads by Google

Response Number 1
Name: MWCC
Date: September 1, 2009 at 12:44:56 Pacific
Reply:

Personally I prefer Parallel Port Cardbus/Express Cards:

http://www.cooldrives.com/software-...

http://www.cooldrives.com/1ppaspex3...

This would remove the USB/Parallel Conversion difficulty.....


0

Response Number 2
Name: sinil
Date: September 2, 2009 at 01:44:00 Pacific
Reply:

Thanks for the reply,

Do I have any alternate Low cost solution with USB.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: usb to parallel port

USB to Parallel Printing Problems www.computing.net/answers/windows-xp/usb-to-parallel-printing-problems/139328.html

Aokide IDE/ATAPI to Parallel Port www.computing.net/answers/windows-xp/aokide-ideatapi-to-parallel-port/48880.html

redirect usb to com port www.computing.net/answers/windows-xp/redirect-usb-to-com-port/177069.html