Author Topic: USB  (Read 865 times)

lapni

  • Newbie
  • *
  • Posts: 2
    • View Profile
USB
« on: May 09, 2013, 06:43:32 am »
Hi, I need have a delphi application which works fine with parallel port printer using TASCII Printer( which is a third party component). I need to upgrade my application which will use a USB port printer. Can any one guide me on how to proceed with this

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: USB
« Reply #1 on: May 09, 2013, 08:44:50 am »
Hello

If your USB printer is visible as virtual serial port (COM9 ... COM128), you can use TnrComm component. It is more suitable way, because using USB connection directly needs driver installations.
If your printer is visible as usb HID device, please take a look HidDemo\hiddemo.dpr demo.
If you still want use USB port, you can try \USBIODemo\usbiodemo.dpr sample project. But you should well know the details about your usb printer pipes implementation.

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