I’m currently developing an app where you generate a label in format PDF (I store it in base64 on the database), and then I want to print directly that document in a thermal printer (Zebra D420).
I made a really hard research and I tried a lot, but nothing worked for me. I tried integrate with the API of Zebra but they don’t print PDFs throught the API, also tried a couple of cordova plugins but also never achieve to work… Currently I’m trying to print through bluetooth but I’m struggilng to print the PDF instead of plain text.
I just wanted to know if is that hard to print a PDF in a thermal print because when I do it on Chrome is so easy and also Zebra has an applicattion where you can print what ever you want. Why I can’t send a ByteArray or something to the printer through the IP and Port and print? Will be so easy and awesome.
Any ideas to print PDFs in the app to the thermal printer? The easiest way… also if you have any reference project or something.