qzind / tray

Browser plugin for sending documents and raw commands to a printer or attached device.

Home Page:https://qz.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Local file prints should be converted to base64

tresf opened this issue · comments

Example:

var data = [{ type: 'pixel', format: 'pdf', flavor: 'file', data: '/Applications/QZ Tray.app/Contents/Resources/demo/pdf_sample.pdf' }];

Ideally, qz-tray.js should automatically detect file:/// and convert to Base64.

Took a different approach via #1213