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 ?
Solved! Go to Solution.
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 ?
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.
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.
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?