title: Converting .pdf to .zpl
body: <p>I need to convert .pdf -file to .zpl -label file for printing with zebra printers, but is this even possible?</p>
  
  <p>The PDF comes in as a base64 encoded string, and somehow I need to output that as a .zpl -file.</p>
  
  <p>I use PHP in my project, and I prefer the method in PHP, but basically any programming language is fine, as long as it gets the job done.</p>
  
  <p>I was thinking about converting the PDF to image(which seems to be possible by quick googling), and then from image(PNG, JPG, etc.) to ZPL(which also seems to be ok by quick googling), but does anyone have any knowledge about this kind of operation or any insights before I start to do this? I'm on a tight schedule here, and I cannot afford any fruitless work.</p>
  
  <h2>Update 4.8.2016</h2>
  
  <p>I went the other way and created the ZPL from the scratch because it keeps our service faster than doing some conversions. So I don't have any more info on this than what the google already offers, if someone comes wondering about this same thing. PS. ZPL isn't that hard of a language. ;)</p>