LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Print to Zebra TLP2844 using concatenate strings

Highlighted

Hi,

 

Is it possible to use a concatenate string to print to the Zebra TLP 2844 label printer? I have set up my templates using ELP in a constant and they print off fine but now I need to be able to allow the user to enter information each time the program is run. I have split the code up into a concatenate strings and added controls but now the label won't print. I have checked the ELP code and it seems fine. Do I need to add a line feed constant after ever line after my control "? Any ideas are much appreciated.

0 Kudos
Message 1 of 5
(1,338 Views)
Highlighted

There shouldn't be a problem to do this. Have you looked at the output of the concatentate stirng? Is it similar to the constant you have?

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 5
(1,337 Views)
Highlighted

Yes. The outputs are identical apart from the controls which I have added. I do not get an error of any sort, it just dosen't print.

0 Kudos
Message 3 of 5
(1,335 Views)
Highlighted

EPL is picky about the end of lines. I would make sure that you are terminating each command line with a line feed. It will ignore the carriage return if it is included. The important part is that each command must be on its own line.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 4 of 5
(1,320 Views)
Highlighted

Thanks, I have it working now. 😄

0 Kudos
Message 5 of 5
(1,318 Views)