Wednesday 18 February 2009

Create INF file for Zebra Printer TLP 2844

In my recent project, i need to control Zebra Printer TLP 2844 to print out the barcode. In order to do that, i need to create an INF file using the VISA Driver Development Wizard as stated in the NI link http://zone.ni.com/devzone/cda/tut/p/id/4478#toc3. The reason behind this is Zebra Printer TLP 2844 is a raw USB instrument which does not conform to USB Test and Measurement Class(USBTMC) protocal.

Unfortunately, i can't find the USB vendor ID and product ID in the Device Manager when i plugged it in my desktop for the first time.



However, the Device Manager had already identified my printer information and it seems that i already had the driver for TLP 2844 installed. But, actually i not yet installed the driver for TLP 2844. The driver that i installed before was S4M which is a different printer family from Zebra.

Finally, i figured out that i need to install the default driver come with the printer model (TLP 2844), then it showed up the device ID and product ID.

Lesson learned : Never proceed to create INF file before the instrument's driver is installed.

Advice from NI Technical Support , Joshua de Ia Llana:
Both the Vendor ID and Product ID are manufacturer specific and are required before you can create an INF File. These are the informations you drivers use to communicate with the device, making them absolutely necessary. Though sometimes these are not given explicitly and you might need to call them up for the information.


Thanks Joshua.