In my application, I need to generate images files or pdf files from ZPL code. Does Zebra offer any type of API for this? Log in to post comments; Sat, - 12:04 #1. Anonymous (not verified) Hi Jeff,Sorry for the delayed. Hi Jeff, Sorry for the delayed response. We had some bug in our system and all the questions were hidden. ®., and ZebraLink™ programs; Element Energy Equalizer. The encoding is controlled by the conversion table (.DAT).
XML Forms Architecture XFA Device Control (XDC) Language, commonly called a device profile is a printer description file in XML format that makes it possible to output documents as PostScript®, PCL, ZPL, IPL, DPL, and TPCL formats. XDC files are based on an XML-based schema that describe printer capabilities and expose some print options for use by printer device drivers.
XDC files describe printer capabilities such as the printer features and the paper types. Adobe® LiveCycle® Output 11 and Adobe LiveCycle ES4 - Designer 11 use Adobe Acrobat® XML Data Package (XDP) files. Output uses XDP files to generate the Page Description Language (PDL) that is sent to a network printer. Designer uses the information in XDC files to identify page types that can be selected for master pages.
In Workbench, assets such as XDC files reside inside containers called applications. Applications contain all the resources that are required for implementing a LiveCycle solution. Storing XDC files inside applications helps you make them available to other developers on an as-needed basis. By default, the Applications view in Workbench shows the applications and assets that are available in your local folder, which were either created by you or copied from the server. You can also view the applications and assets that were checked into the server either by you or by other users. See Workbench Help for more information about LiveCycle applications.
When you want to edit an XDC file, open the XDC file from an application that contains the XDC file or from your local file system. After editing, you can save the updated XDC file in the local file system. You check the updated file back into the server to make it available for Output.
LiveCycle supports the following PDLs:
- PostScript
- Printer Control Language (PCL)
- Zebra Printer Language (ZPL)
- Intermec Printer Language (IPL) for Intermec printers
- Datamax Printer Language (DPL) for Datamax label printers
- TEC Printer Command Language (TPCL) for Toshiba TEC label printers
What I am trying to print is simple text, no graphics.
The printer is properly installed and printing via Notepad or Word etc works perfectly.
However, trying to print via a .Net application (C#) does not work, whatever approach I am using:
I tried via the usual .Net print document class - the printer receives something (76 bytes visible in print queue for a second) but does not print.
I tried the C# library SharpZebra (codeplex.com), same result, does not print.
Also the Zebra website has a VB.Net example - does not print. Codeplex.com had another sample - does not print.
The same application prints via all of these above methods, if I select an HP laser printer instead of a Zebra printer. Therefore I am successfully sending something across which is printable in principle. But on the Zebra printer it does not print. On all above samples I have used the compiled DLL first and then also used the source code, to no avail.
Searching in various forums I find that one must use the Zebra printer language - ZPL commands. Granted this is true, the Zebra website code and SharpZebra DLL should have given me the result, since this is what they do, but it does not.
On the other side - I can print via Notepad which knows nothing about ZPL - so the installed printer driver does a good job on printing. And I do not need more.
Does anyone have any experience with this problem? Any help appreciated
Peter