qzind / tray

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

Support config, data substitutions client-side #1256

Closed tresf closed 2 months ago

tresf commented 2 months ago

A growing complaint of clients is the inability to control certain printer preferences when the website developer is reluctant to do so.

Use-cases:

... in both cases, the customer is unable to remedy the situation because of reluctance of the website developer to add custom label sizes.

Proposed solution:

Proposed JSON format:

[{
 "use": {
  "config": { "size": ... },
  "data": { "options": ... }
 },
 "for": {...}
}]

TODO: