DYMO Connect web service alternative
DYMO's browser integration talks to a local service. A server can send a correctly sized PDF to the LabelWriter queue instead, with no DYMO JavaScript SDK.
For Apps that printed labels through DYMO's local web service
Overview
DYMO LabelWriter printers do not speak ZPL. DYMO has shipped local software so a web page can ask the PC for a label. That page-to-localhost call is the piece that breaks when the browser tightens private-network or certificate rules. This page does not cite a specific bug number.
The replacement shape is a PDF at the die size (for example a 30252 address label on a LabelWriter 450) posted as content_type pdf. The agent uses the DYMO driver queue. Your server holds the API key. The browser does not load a DYMO SDK.
You still install DYMO's driver so the OS sees the printer. You stop depending on the browser to reach it.
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
// PDF sized for the DYMO die
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
Die size
The API does not know which roll is loaded. Match the PDF to the roll, especially on a 550 where the driver recognizes the label.
USB
The LabelWriter 450 and 550 are USB printers. The agent runs on that computer. The agent prints only what you send; it does not fetch the document from the platform for you.
Questions
Will the DYMO JavaScript SDK keep working?
This page does not promise that it will or will not. It describes a path that does not use it.
Can I send DLS or the label XML?
Not as a documented PrintBase content type. Send PDF, or raw bytes only if you have proven the driver accepts them.
Two label sizes?
Two PDFs, or two printers. The job does not switch rolls. The call is still POST /v1/print-jobs with a Bearer API key, and HTTP 201 means queued rather than printed.
Is there a DYMO plugin in PrintBase?
No. The call is still POST /v1/print-jobs with a Bearer API key, and HTTP 201 means queued rather than printed.
Free plan: 100 jobs a month on one computer, no card.