Author Topic: Library suitable for usbprint.sys?  (Read 1923 times)

Burt

  • Newbie
  • *
  • Posts: 2
    • View Profile
Library suitable for usbprint.sys?
« on: July 17, 2009, 01:18:49 pm »
Hi, nice libraries!

I am wondering if a USB device, that uses usbprint.sys, will work with the library?

Thx

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Library suitable for usbprint.sys?
« Reply #1 on: July 17, 2009, 09:24:41 pm »
Hello

If you want to work with your device as printer, you can use the ordinary way (TPrinter class) to print.

If you need a special access to device features, you need replace this default driver by WinUSB driver.
After that you can try TnrUsb, TnrUsbPipePair components.

Roman Novgorodov
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Burt

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Library suitable for usbprint.sys?
« Reply #2 on: July 18, 2009, 05:53:09 am »
Well it's not for regular printing, i have a usb2lpt cable and i want to make it react like a normal lpt port would. It has a prolific pl2305 and so far i can only write to it by simulating an ACK, so something waits for the ACK. I don't know what waits for the ACK, but i figured i may as well try this lib to write to it and see what happens.


Since i would only use this for USB i'm gonna use a free library (no more nagging ;D) but thanks anyway. Good luck with the project!
« Last Edit: July 18, 2009, 12:32:27 pm by Burt »