5

I am making an API call to a third party to receive back tickets for an event. The only formats that the tickets can be sent back from the API are:

text/vnd.citizen-clp - for use with Citizen Thermal Printers

text/vnd.eltron-epl - intended for use with Electron Printer (or certain printer models that support EPL emulation)

My challenge is that users on my site need to be given their tickets so they can print them. These users won't have Citizen or Electron Printers. I need to convert either the CPL or EPL into PDF format so my customers can print their tickets.

Other suppliers in the past have sent me tickets in ZPL format and I am using the API from http://labelary.com/ to convert ZPL to PDF -- this works perfectly. Unfortunately Labelary only support ZPL and not CPL or EPL.

My backend code is written in PHP.

So, is there any tool I can install onto my server to convert CPL/EPL to PDF? Or are there any tools online (free or commercial) where I can send my CPL/EPL and receive back a PDF?

Community
  • 1
  • 1
Chris
  • 4,672
  • 13
  • 52
  • 93
  • Unfortunately, questions asking for recommendation of tools are OT here on SO though there should be some place where this could legally be discussed...? – Stefan Hegny Apr 19 '17 at 14:10
  • Thanks for the reply. I would prefer not to use a tool but instead have something I can install onto my server so I can run a command to do the conversion. A third party tool is my last resort!! – Chris Apr 19 '17 at 15:12
  • Hm, maybe I'm nitpicking, but "something I can install onto my server so I can run a command to do the conversion" does sound like a "tool" to me? Not meant to be offensive. – Stefan Hegny Apr 19 '17 at 20:24
  • Ha, oops, sorry. I misread your message. I thought your original comment was about asking for recommendations about 3rd party systems that I could make an API request to to perform the conversion. – Chris Apr 19 '17 at 20:35
  • No problem - good luck! – Stefan Hegny Apr 19 '17 at 20:44
  • 1
    Did you get an answer to this @Chris? I'm looking for a similar solution. – TKoL Dec 07 '21 at 09:05

0 Answers0