02-25-2009 02:53 AM
Hi all,
I am currently developing the tests for printer product. I have a list of USB function (in hex format) provided by the firmware engineer. The firmware functions can work well if USB visa driver is used.As many might knows, printer device will show as "USB printing support" in the device manager, the printer software will use this "USB printing support" port for printing purpose. So if I use the USB visa driver to overwrite the "USB printing support", the printer software will not be able to send the print job to the printer.
I have to perform both USB firmware functions and user printing test in the same computer.
Is there a way to read/write USB raw data without creating the visa driver for printer?
Appreciate any help. Thank you.
02-25-2009 06:42 AM
You could have a look at the Libusb-win32 project. It offers a filter driver for USB devices which enables parallel usage of standard drivers AND other usages. It's not VISA and it'll require generating an INF and some DLL interfacing, but it should be just the ticket.
I haven't implemented this myself, but I was just looking at it for a possible project.
Shane.
02-27-2009 03:22 AM
Thanks for the reply. But I couldn't visualize how to make use of the libusb for USB communication.
I did some research and found that the libusb have to be built into DLL then only can be used.
Is there anyone out there has the DLL for this libusb?
Thanks for help.