PrintBase
  • Product
  • Pricing
  • Docs
  • Resources
PrintBase/Guides/Printer models and the PrintBase API

Print industrial ZPL to a Zebra ZT410

Send ZPL to a ZT410 on the packing line. The head may be 203, 300, or 600 dpi. Size the label for the head you installed.

For Warehouses running a ZT410

Overview

The ZT410 is an industrial Zebra with a 4-inch head offered at 203, 300, or 600 dpi. A layout authored for a desktop 203 dpi printer will be far too small at 600 dpi. Store dpi with the printer_code for that line.

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.

Industrial printers sit on a line PC or a print server. The agent runs on the machine that holds the Windows or CUPS queue. Pausing the printer or opening the head shows up as a spooler failure (PRINT_ERROR or a more specific engine code such as HEAD_OPEN when the Windows spooler reports it), not as a successful complete.

Integration steps

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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

// ZT410 case label
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: 'raw',
    content: Buffer.from(zpl,'utf8').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

Industrial printers sit on a line PC or a print server. The agent runs on the machine that holds the Windows or CUPS queue. Pausing the printer or opening the head shows up as a spooler failure (PRINT_ERROR or a more specific engine code such as HEAD_OPEN when the Windows spooler reports it), not as a successful complete.

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

Will 600 dpi accept 203 dpi ZPL?

It will print it at the wrong size. Rebuild ^PW, ^LL, and barcode heights in dots.

Can I use the ZT410's network port only?

Only if some OS on the agent machine has a queue aimed at it. The cloud does not connect to the printer's IP.

Are pause and head-open visible?

When the Windows spooler reports them, the agent maps conditions such as HEAD_OPEN and RIBBON_OUT into the job failure. Other setups surface PRINT_ERROR.

Does copies reprint the whole ZPL?

A single-format label without ^PQ, ^SN, or ^SF gets ^PQ inserted. Serialized labels are repeated as separate copies so the sequence does not jump.

Related guides

  • Print ZPL labels to a Zebra ZD620

    Send ZPL to a ZD620 through the print API. Match dot size to the 203 or 300 dpi head. The agent does not need a public printer IP.

  • Print ZPL shipping labels to a Zebra ZD420

    Send ZPL to a Zebra ZD420 from your app. The agent writes raw bytes to the OS queue. No Browser Print port and no public IP.

  • Print a label when a 3PL order is packed

    At a packing station, the scan that closes the carton should submit the label. No dialog, one printer_code for that bench.

  • Industrial barcode label printing on a production line

    A scan on the line can submit a ZPL or TSPL label to the printer at that station. The API does not talk to the PLC.

Free plan: 100 jobs a month on one computer, no card.

Create a free accountRead the API docs
PrintBase

PrintBase connects your applications to physical printers anywhere - securely, reliably, and in real time.

Product
Receipt PrintingLabel PrintingDashboardDevicesWebhooks
Resources
DocsBlogStatusAPI ReferenceDownloadPrintBase vs PrintNodePrintNode PricingFAQ
Guides
All guidesIntegrationsPrintersCode samplesComparisonsUse casesTroubleshooting
Company
ContactSecurityPrivacy

© 2026 Aveniq Technologies OÜ. All rights reserved. PrintBase is a service of Aveniq Technologies OÜ.

PrivacyTermsRefunds