QZ Tray alternative without a site certificate
QZ Tray is free software. Silent printing without its warning dialog needs a certificate. PrintBase never asks the browser to sign a print request.
For Teams tired of signing browser print requests
Overview
QZ Tray's own FAQ says the software is free, and that organizations who want to suppress warning dialogs purchase a certificate or install their own root. The homepage lists Premium Support, which includes the trusted dialog certificate, at $749 USD with a reduced renewal. That is a local-bridge product: the browser talks to QZ on the same machine.
PrintBase does not put a certificate in your web page. The browser talks to your server. Your server posts /v1/print-jobs. The agent, not the browser, talks to the printer. There is no QZ signature step and no per-request private key in the page.
QZ is a good fit when the page and the printer are on the same computer and you are willing to run the tray there. It is a poor fit when the order is created on a server and the printer is in another building. Those are different jobs.
Integration steps
- 01
Install the agent where the printer is
The computer that can already print a test page runs the agent. GET /v1/printers and note the code.
- 02
Keep the API key on a server
Authorization: Bearer. Do not put the key in a browser, a theme, or a public automation log.
- 03
POST the document
content_type pdf or raw, exactly one of content or content_url, plus printer_code.
- 04
Use a stable Idempotency-Key
Retries reuse the key and the body. A reprint uses a new key. A mismatch returns HTTP 409.
Node.js
// Server-side print that replaces a signed browser call
const res = await fetch('https://api.printbase.cloud/v1/print-jobs', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.PRINTBASE_API_KEY}`,
'Content-Type': 'application/json',
'Idempotency-Key': idempotencyKey,
},
body: JSON.stringify({
printer_code: Number(process.env.PRINTER_CODE),
content_type: 'pdf',
content: pdf.toString('base64'),
copies: 1,
}),
});
if (!res.ok) throw new Error(`PrintBase ${res.status}: ${await res.text()}`);
const job = await res.json();
// { id: "job_abc", status: "queued" }
Details for this setup
Prices change
The $749 figure is from qz.io and buy.qz.io at the time this page was written. Check qz.io before you quote it in a proposal.
No claim that QZ cannot print raw
QZ prints to local devices, including raw languages, when the tray is installed. This page is about who initiates the print.
Questions
Do I still install something?
Yes. The PrintBase agent on the printer computer. You do not install a certificate into the web app.
Can the browser talk to the agent on 127.0.0.1?
Only from localhost or a printbase.cloud origin. A public app origin is rejected. Use the cloud API.
Is $749 a PrintBase price?
No. It is QZ's published Premium Support price. The call is still POST /v1/print-jobs with a Bearer API key, and HTTP 201 means queued rather than printed.
What if I already paid for QZ?
Keep it for stations where it fits. Use the API for server-originated jobs. They can cover different printers.
Free plan: 100 jobs a month on one computer, no card.