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

Print barcode labels on a Honeywell PC42t

The PC42t is a 4-inch desktop. Its menu selects a command language. Send that language as raw, or send PDF through the driver.

For Stations printing on a PC42t

Overview

The Honeywell PC42t is a compact 4-inch barcode printer. Honeywell desktops are often configured in the menu for a specific emulation. PrintBase does not read that menu. Send raw only for the language you selected, or send PDF through the driver and skip emulation entirely.

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.

If the printed label is the right width but the barcode is the wrong symbology, the payload is the problem, not the transport. The agent does not redraw barcodes.

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

// PDF label for a PC42t until emulation is confirmed
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

If the printed label is the right width but the barcode is the wrong symbology, the payload is the problem, not the transport. The agent does not redraw barcodes.

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

Which command language?

The one enabled in the printer menu. This page does not assume ZPL.

Can I switch language via the API?

No. Change it on the printer, then send matching bytes. The call is still POST /v1/print-jobs with a Bearer API key, and HTTP 201 means queued rather than printed.

Driver name on Windows?

Whatever the Honeywell installer created. The agent targets that queue by code.

203 dpi? in this setup

Typical for this class. Confirm on the device before you hard-code dots.

Related guides

  • Print barcode labels on a TSC TE200

    The TE200 is a TSC desktop barcode printer, commonly TSPL at 203 dpi. Send TSPL as raw, or PDF through the driver.

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

  • How to auto-print barcode labels from Google Sheets

    Use Apps Script to send barcode labels from a sheet to a printer. No Sheets add-on is included; UrlFetchApp calls the API.

  • Send raw ZPL or PDF?

    Use ZPL or TSPL when the printer speaks it and you draw the label. Use PDF when you already have a document or the printer is a driver device.

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