Is there a way to print a PDF silently in a browser?

J Jonathan Jones 3 years 7 months ago
240 1 0

I am using the BrowserPrint SDK and can print images via Javascript but I need to print PDFs really. Our mailing house provides shipping labels as PDF (Royal Mail) at the correct size (6x4 inch label).
 
Printer is GK420D.
 
Many thanks

Please Register or Login to post a reply

1 Replies

Y Yanis Dalabiras

Hi Jonathan,
I've added this as a potential feature request for Browser Print.  For now the only way to have the PDF Virtual Device​ on the printer. The issue is Virtual Devices are not supported in the GK printers.  For now, it looks like the best option is to convert to an image.  I did take a peek at a library called PDF.js that looks useful to render the PDF to a canvas, then you can convert to a png and use BrowserPrint. 

CONTACT
Can’t find what you’re looking for?