944,049 Members | Top Members by Rank

Ad:
Jul 2nd, 2007
0

USB to Parallel

Expand Post »
My laptop doesn't have a parallel port so I purchased a USB to parallel convertor. I wrote a program which sends data to the parallel port to turn on some LEDS and it works ok on a PC with a built in parallel port but it wont work on my laptop with the USB to Parallel convertor. I used the delphi parallel port driver inpout32.dll which I found at http://www.sixca.com/eng/articles/pardel/index.html

Typical use is shown below....

procedure TForm1.Button1Click(Sender: TObject);
begin
Out32($378,$0f); //send $0f to parallel port
end;

Does anyone know why the above code will not work with a USB to parallel convertor?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
docdoc is offline Offline
8 posts
since Jun 2007
Jul 3rd, 2007
0

Re: USB to Parallel

What brand is the USB Parallel converter?
I am just taking a guess here but it could be that the converter is using 0x278 for the memory location of the port and not 0x378 . Look at the manual and see what location the port is using.
Let me know if you can't find the correct memory address.

Reputation Points: 10
Solved Threads: 2
Junior Poster in Training
guy40az is offline Offline
51 posts
since Mar 2007
Jul 3rd, 2007
0

Re: USB to Parallel

It's a ARCHEON’s USB-Parallel Printer Cable and the manual doesn't say what address it uses. I did try 0x278 but still no joy.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
docdoc is offline Offline
8 posts
since Jun 2007
Oct 30th, 2009
0
Re: USB to Parallel
Yes same i don't see that address to my laptop using usb to paralel can explain for more? thanks
Reputation Points: 10
Solved Threads: 0
Newbie Poster
azze is offline Offline
1 posts
since Oct 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Pascal and Delphi Forum Timeline: TClientSockte OnRead issue
Next Thread in Pascal and Delphi Forum Timeline: Storing an Integer with each row in a TListView?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC