qzind / tray

Browser plugin for sending documents and raw commands to a printer or attached device.
https://qz.io
Other
842 stars 274 forks source link

Local file prints should be converted to base64 #1210

Closed tresf closed 10 months ago

tresf commented 11 months ago

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.

tresf commented 10 months ago

Took a different approach via #1213