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

Print labels on a Brother QL-800

The QL-800 is a USB Brother label printer. Send PDF through the Brother driver. It does not speak ZPL. DK die sizes have to match the driver.

For Teams labeling with a QL-800

Overview

The QL-800 connects by USB and prints DK die-cut or continuous labels through Brother's driver. It is not a ZPL device. A common die is the DK-1201, 29 by 90 mm. Render the PDF to that size. The agent must run on the PC that has the USB cable.

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.

b-PAC is a Windows COM API and is not what this HTTP call uses. If your old integration called b-PAC on the same machine, you can leave that for other jobs. This path only needs the printer to appear as a normal queue.

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

// DK-sized PDF for a QL-800
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

b-PAC is a Windows COM API and is not what this HTTP call uses. If your old integration called b-PAC on the same machine, you can leave that for other jobs. This path only needs the printer to appear as a normal queue.

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

Does the QL-800 have Wi-Fi?

No. It is USB. The QL-820NWB is the network model, covered separately.

Can I send raster ESC/P commands?

Only if you already produce Brother's language and the driver or port accepts raw. The dependable path is PDF through the Brother driver.

Continuous tape length?

Set the length in the PDF and in the driver. The API does not measure the tape.

The label is offset.

Adjust the driver margins. Raw positioning codes are not applied to a PDF.

Related guides

  • Print labels on a Brother QL-820NWB

    The QL-820NWB can sit on Wi-Fi, but PrintBase still prints the OS queue, not AirPrint from the cloud. Send a PDF at the DK size.

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

  • Print name badges at event check-in

    Check-in creates a badge PDF sized to the badge stock and posts it to the printer at the desk. The kiosk does not hold the API key.

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

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