Print address labels on a DYMO LabelWriter 450
Send a PDF sized to the DYMO die, such as a 30252 address label. The LabelWriter 450 does not speak ZPL. The agent uses the OS queue.
For Teams printing address labels on a LabelWriter 450
Overview
The LabelWriter 450 is a direct-thermal USB printer for die-cut DYMO labels. It does not understand ZPL. A common address label is the 30252, about 1.125 by 3.5 inches. Render a PDF at that size and send content_type pdf to the DYMO queue.
PrintBase does not ship a driver for this model. The agent prints to a queue the operating system already lists. Raw bytes go straight through: from memory into the Windows spooler, or via lp -o raw on macOS and Linux. PDF jobs go through the OS driver. A PDF marked as raw is rejected with INVALID_CONTENT.
The 450 is USB, so the agent runs on the computer that has the cable. DYMO's own local web service is a different product; you do not need it for this path, and you should not expect this API to call localhost on the DYMO port.
Integration steps
- 01
Install the printer in the OS
Use the vendor driver or a raw port until a test page works. The agent cannot see a device the operating system does not list.
- 02
Read the numeric code
GET /v1/printers returns code. That integer is printer_code on POST /v1/print-jobs. The name is for humans.
- 03
Match content_type to the payload
ZPL, EPL, TSPL, and ESC/POS are content_type raw, standard base64. Office documents and driver labels are content_type pdf.
- 04
Key the job to the business id
Reuse one Idempotency-Key per label. A reprint uses a new key. The same key with a different body returns HTTP 409.
- 05
Wait for completed
HTTP 201 means status queued. Poll GET /v1/print-jobs/{id}. Paid plans can subscribe to print_job.completed and print_job.failed only.
Node.js
// Address-label PDF for a LabelWriter 450
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: labelPdf.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
Model notes
The 450 is USB, so the agent runs on the computer that has the cable. DYMO's own local web service is a different product; you do not need it for this path, and you should not expect this API to call localhost on the DYMO port.
Raw versus PDF on this queue
Raw is not reflowed. On Windows a PDF needs an application that handles PrintTo; the agent error text names Adobe Reader or SumatraPDF as examples. macOS and Linux use lp.
Questions
Can I send ZPL to a LabelWriter 450?
No. Use a PDF the DYMO driver can print, sized to the roll. The call is still POST /v1/print-jobs with a Bearer API key, and HTTP 201 means queued rather than printed.
Why does DYMO Connect matter?
Only if you are still using DYMO's browser service. This path does not use it. See the DYMO Connect comparison.
The image is rotated.
Rotate it in the PDF. The API does not read the black mark and rotate for you.
Two rolls on one PC?
One LabelWriter 450 holds one roll. A second printer is a second code.
Free plan: 100 jobs a month on one computer, no card.