09-23-2009 06:35 PM
Hi,
I am using Zebra T402 label printer, D9 serial communication cabel.
I want to send command to the printer to printer to print date and serial number and barcode. How can i use visa properties to send commands to printer?
Can any one is there to help ?
Thanks
Solved! Go to Solution.
09-23-2009 06:54 PM
09-23-2009 07:05 PM
Hello Mark,
Thanks for the reply.
I am using LV 8.6.1. I am working on a project, which tests DUT and, at every end of the test, LV should tell printer to print date , below that , barcode and under this serial number . I have not used serial communication in labview much. Could you please help me how can i send the commands from labview to the printer ?
Thanks
09-23-2009 07:15 PM
09-23-2009 11:21 PM
Hello Mark,
I am able to communicate via parallel communication (not by using lv). I am fialed to do via serial.
I tried to communicate via parallel port using visa, it bit confusing.
I want to print label of size 17mmx35mm . i ahve attached document , in which i placed two label structures i wanted to print.
And can you help me how can i send ZPL command in labbview?, how does lv communicates with parallel port? TPL1?
I really need to complete this task tommorow.
Please help me.
Thanks
09-24-2009 09:45 AM
Sandy,
Here is a modified version of the example I suggested. It includes the option of using the parallel port for communication. I am in the process of getting some example ZPL for you for the label formats that you are using.This example should give you everything you need to communicate with the printer.
09-24-2009 01:00 PM
09-24-2009 10:21 PM
Hello Mark,
great! your code works , on zebra T402 printer. now I can print date, product code numbers etc.
But, how can i increament the serial number for each DUT test? and how can i set date day to day in zpl launguage? Can i do it in lv?
Thanks
09-25-2009 10:18 AM