USB to Parallel

Please support our Pascal and Delphi advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jun 2007
Posts: 6
Reputation: docdoc is an unknown quantity at this point 
Solved Threads: 0
docdoc docdoc is offline Offline
Newbie Poster

USB to Parallel

 
0
  #1
Jul 2nd, 2007
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?
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 50
Reputation: guy40az is an unknown quantity at this point 
Solved Threads: 2
guy40az guy40az is offline Offline
Junior Poster in Training

Re: USB to Parallel

 
0
  #2
Jul 3rd, 2007
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.

Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 6
Reputation: docdoc is an unknown quantity at this point 
Solved Threads: 0
docdoc docdoc is offline Offline
Newbie Poster

Re: USB to Parallel

 
0
  #3
Jul 3rd, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 1
Reputation: azze is an unknown quantity at this point 
Solved Threads: 0
azze azze is offline Offline
Newbie Poster
 
0
  #4
Oct 30th, 2009
Yes same i don't see that address to my laptop using usb to paralel can explain for more? thanks
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the Pascal and Delphi Forum


Views: 4245 | Replies: 3
Thread Tools Search this Thread



Tag cloud for Pascal and Delphi
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC