PrintNode alternative for a server-side print API
Compare PrintNode's published client model with PrintBase. No plugin is required on either side of this page; you POST a print job.
For Developers comparing cloud print APIs
Overview
PrintNode publishes a client for Windows, macOS, and Linux, including a Raspberry Pi, and states that phones and tablets are not supported. Their pricing page defines a print as one API request, regardless of page count, and a computer as a device running that client. The Lite plan listed there is 50 prints a month, with no charge and no card, and new accounts are offered a first month of unlimited usage.
PrintBase is the same shape of product: an agent on the computer that has the printer, and POST /v1/print-jobs from your server. Our pricing page lists a free plan of 100 jobs a month on one computer, with no card. The longer comparison already on this site is /printnode-alternative. This page is the integration-shaped version: what you actually call.
PrintNode's pricing page says that if you exceed the included prints, printing continues and a top-up is added to the invoice. PrintBase's Essential plan text says jobs pause at the limit so there is no surprise bill. Those are different overage behaviors. Check both pricing pages before you decide; numbers move.
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.
- 05
Queued is not printed
HTTP 201 returns status queued. Poll GET /v1/print-jobs/{id} until completed or a failure reason.
Node.js
// PrintBase create call, not a PrintNode payload
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
What this page will not claim
It does not claim PrintNode lacks PDF or raw printing. Their own migration note for Google Cloud Print says they print PDF and raw printer languages such as ZPL. It does not invent a feature gap.
Where to read the numbers
PrintNode: https://www.printnode.com/en/pricing. PrintBase: this site's /pricing and /printnode-alternative pages.
Questions
Is PrintBase a drop-in PrintNode client?
No. You change the HTTP call to PrintBase's path, auth, and JSON. printer_code is our identifier. Do not send a PrintNode printer id and expect it to work.
Does the free plan include webhooks?
PrintBase webhooks require a paid plan. On the free plan, poll GET /v1/print-jobs/{id}.
Can both clients run on one PC?
They are separate programs. Do not assume they can share a raw port. Use one path for a given queue while you test.
Which should I start with?
If you want to test PrintBase, the free plan is 100 jobs on one computer. Install the agent, print one PDF, and read the job status.
Free plan: 100 jobs a month on one computer, no card.