Print Label with ZPL or EPL language

UrTo
Member Posts: 2
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
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
-
You first have to create a txt file filled with ZPL code within Navision and after that you can use the shell command to copy the txt file to lpt1:
That works fine with me.
Best regards
MarcelBest Regards,
Marcel Bierens0 -
I think navision doesn't support some character codes in the graphic format and that could be the problem.
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.In a world without Borders or Fences, who needs Windows and Gates?0 -
I printed graphics to a zebra da402 printer using zpl. First the monochrome graphic in pcx format was converted to grf. The hexadecimal characters produced by the conversion tool (z-tools) were put together with the zpl commands in the text 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
MarcelBest Regards,
Marcel Bierens0 -
Try my OCX...
http://www.mibuso.com/dlinfo.asp?FileID=341
It is for printing RAW data into windows printer from NA.... 8)0 -
janpieter wrote:I think navision doesn't support some character codes in the graphic format and that could be the problem.
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.
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?Ikram Anjum0 -
UrTo wrote:But nothing happens if the label should be printed from Navision.
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.Kai Kowalewski0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions