I have a TPL 2844 label printer. So I try to print from Navision by using the ZPL (printing language optimized for Zebra Printer) language to print the labels. The label includes an image which is also converted to ZPL.
When I use the DOS Shell: "type label.txt > lpt1" the label will be printed like it should. So the label is copied line by line into Navision. To print the label the "Generic / Text only" printer driver is used. But nothing happens if the label should be printed from Navision.
A part of the graphic in ZPL looks like: ˜žÁæÁ÷ÁüÁÿÁÃÅÿÁü? and so on.
Does in anyone know how to print a graphic with ZPL or EPL from Navision? Or where to get an Navision example how this can be done?
Thanks
0
Comments
That works fine with me.
Best regards
Marcel
Marcel Bierens
To solve that, you can opening the txt file in navision, replace some fields in the text file with navision date, and then use a shell command to print the file.
On http://www.zebra.com/ you can find some manuals for programming in zpl. Also the conversion tool can be downloaded there.
Best regards
Marcel
Marcel Bierens
http://www.mibuso.com/dlinfo.asp?FileID=341
It is for printing RAW data into windows printer from NA.... 8)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Is there any way that I can geneate a Zebra Printer readable file from Customer table in Navision 3.70. Our client wants to print lables from Navision using Zebra printer. I have got ZPL II user manual with me but to unerstand all the commands is very time consuming. Is there any OCX etc., available which can automatically generate Zera Printer readable file?
If there are some missing , make the sections wider. ( Landscape orientation ) It might also be necessary to select a larger paper size in the printer driver, but this depends on the OS.
Some printers also expect an empty line as the first line.