To print event badges from a check-in app, send one signed POST /jobs to the BizPrint Print API when a guest checks in, with the URL of a badge page that carries the guest’s name and QR code, and a label printer at the door prints it in a few seconds with no browser dialog and nobody at the printer. The check-in app can be anything with a server side: a custom registration system, a Lovable or Bolt build, a Next.js route, a Python service. The call is the same for a badge, a wristband or a paper ticket; only the printer and the page you send change. Here is the whole integration for one check-in, in Node:
// print-badge.js — runs on your server, never in the browser. Node 18+.
import { createHash } from "node:crypto";
const API = "https://print.bizswoop.app/api/connect-application/v1";
const sign = (s) => createHash("sha256").update(`${s}:${process.env.BIZPRINT_SECRET_KEY}`).digest("hex");
export async function printBadge({ attendeeId, printerId, badgeToken }) {
const body = {
printerId: Number(printerId), // from GET /printers
url: `${process.env.APP_URL}/badges/${attendeeId}?t=${badgeToken}`, // name + QR, sized for the label
description: `Badge ${attendeeId}`, // shown in the BizPrint job list
publicKey: process.env.BIZPRINT_PUBLIC_KEY,
time: Math.floor(Date.now() / 1000), // Unix seconds, not milliseconds
};
const serialized = JSON.stringify(body);
const res = await fetch(`${API}/jobs`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ ...body, hash: sign(serialized) }),
});
const json = await res.json();
if (!res.ok) throw new Error(`${json.errorCode}: ${json.message}`);
return json.data; // { id, status: "pending", printerId, url, description, createdAt, updatedAt }
}
Call printBadge() from your check-in handler and the badge prints. The base URL, the body fields and the signing rule come from the BizPrint developer docs and the HTTP reference; the general version of this call, with Python and curl, is in the Print API guide. Everything else in this article is about getting the hardware, the badge page and the day-of-event behaviour right.
Key Takeaways
- One POST per check-in is the whole integration. Your check-in app signs a
POST /jobswith a printer ID and a badge URL; a BizPrint station fetches the page and prints it on the label printer at the door. - Badges, wristbands and tickets are the same call with different printers. Badges and wristbands go to a ZPL or TSPL label printer on an Android station; paper tickets go to a thermal receipt printer; a desktop station can drive any printer installed on the computer, including Brother and Zebra label printers through their drivers.
- The badge is a web page or a PDF. Render the attendee’s name, company and a QR code at an unguessable URL sized to the label; BizPrint fetches it, so your app only has to lay out a page. A PDF works on every station.
- The QR code should encode your own check-in token, not personal data. Scanning it at a session door hits your API, which decides what the token means; the badge itself carries nothing that needs protecting.
- Throughput is one job per guest, and the queue is yours to watch. Each job returns an ID; poll
GET /jobs/{id}fordoneorfailed, and keep a reprint button next to every check-in so a jam never blocks the line. - Test free with Development Mode. Every account starts with 25 free print jobs and no card; switch on Development Mode in BizPrint Cloud to keep printing marked test badges while you build, and link to pricing for what a production event costs.
What do you need to print badges from a check-in app?
You need a BizPrint account with a label printer online, your public and secret API keys, and a check-in app that has a server side to hold the secret. Nothing here needs a card: the 25 free print jobs and Development Mode cover the build, and the API is included on every plan, with the Build plan made for apps that only need the API and MCP (see pricing for the current plans).
- Create a BizPrint Cloud account at login.bizswoop.app/register and add an application on the Applications page. It issues the public key and the secret key your server will sign with.
- Set up a station at the check-in desk. A station is the BizPrint app signed in on a device next to the printer: the Android app on a phone, tablet or Sunmi device for ESC/POS, StarPRNT, ZPL and TSPL printers, or the desktop app on Windows, Mac, Linux or Raspberry Pi OS for any printer installed on that computer.
- Attach the printer and read its ID. Once the station sees the printer, it appears in the Printers list in BizPrint Cloud with a numeric ID, or in
GET /printerswithstatus: "online". That ID is theprinterIdin every job. - Build the badge page (next section) and serve it at a URL BizPrint can fetch.
- Send
POST /jobsfrom the check-in handler and show the job status next to the guest’s name.

Steps 1 to 3 are a one-time setup per venue; step 5 runs once per guest. If your check-in app was built with Lovable, Bolt or Replit, the server-side function and where each tool keeps the secret key are in Add Receipt Printing to a Lovable, Bolt or Replit App; swap the receipt URL for the badge URL and the rest is identical.
Which printer do you need for badges, wristbands or tickets?
Badges and wristbands want a label printer, tickets want a receipt printer, and the station you pair it with decides what BizPrint can send to it. The Print API page lists what each station type drives: an Android station prints to ESC/POS and StarPRNT receipt printers, ZPL and TSPL label printers, network office printers and the built-in printer on Sunmi devices; a desktop station prints to any printer installed on the computer by USB, network or sharing. A PDF works on every station, and Android stations also print HTML pages and plain text, or send ZPL or TSPL code straight to a label printer.
| Document | Typical media | Printer type | Station | What you send |
|---|---|---|---|---|
| Name badge | Die-cut label, roughly 4 × 3 in or 62 × 100 mm, often into a badge holder | ZPL or TSPL thermal label printer; Brother QL or Zebra desktop label printer | Android (ZPL/TSPL) or desktop (via the installed driver) | HTML page or PDF sized to the label; raw ZPL/TSPL on Android if you already have a label template |
| Wristband | Continuous or die-cut wristband stock for the same label printer | Same thermal label printer loaded with wristband media | Android or desktop | One narrow page per band; confirm the media size against your printer’s spec |
| Paper ticket or session pass | 80 mm thermal receipt roll | ESC/POS or StarPRNT receipt printer | Android or desktop | HTML page 80 mm wide, or PDF |
| Visitor label for a stick-on badge | Address-label stock | Any installed label printer | Desktop | HTML page or PDF |
Three practical notes on the hardware row. First, BizPrint’s position is that if a printer is installed on the station’s operating system it should print, so an existing Brother QL at the registration desk does not need replacing; it needs a laptop with the BizPrint desktop app and that printer installed. Second, ZPL and TSPL support is documented for Android stations; if you want to send raw label code rather than a page, use an Android station. Third, wristband stock is a media choice for the same label printer, and neither BizPrint nor this article can promise a particular wristband size prints well on a particular model, so run a test strip before you order 2,000 bands. Media sizes and model compatibility belong to the printer manufacturer; BizPrint’s own hardware guidance is on the hardware page.
How do you build the badge template with a QR code?
A badge template is a web page sized to the label that your app renders per attendee, and the QR code on it should encode a token your own system issues, not the guest’s email or ticket number. BizPrint fetches the URL you send in the job, so the page must be reachable from the internet and must render without JavaScript doing the layout after load. Keep it to plain HTML and inline CSS, set the page size to the label with @page, and embed the QR code as an image data URI generated on the server.
// routes/badges.js — renders /badges/:attendeeId?t=<token> for the printer to fetch
import QRCode from "qrcode"; // npm i qrcode
export async function badgePage(attendee, token) {
const qr = await QRCode.toDataURL(`https://checkin.example.com/scan/${token}`, { margin: 0, width: 300 });
return `<!doctype html>
<html><head><meta charset="utf-8">
<style>
@page { size: 4in 3in; margin: 0; }
body { width: 4in; height: 3in; margin: 0; font-family: Helvetica, Arial, sans-serif; display: flex; }
.text { flex: 1; padding: 0.25in; }
.name { font-size: 28pt; font-weight: 700; line-height: 1.1; }
.org { font-size: 14pt; margin-top: 0.1in; }
.type { font-size: 11pt; margin-top: 0.2in; text-transform: uppercase; letter-spacing: 0.1em; }
img { width: 1.4in; height: 1.4in; margin: 0.3in 0.25in 0 0; }
</style></head>
<body>
<div class="text">
<div class="name">${esc(attendee.firstName)}<br>${esc(attendee.lastName)}</div>
<div class="org">${esc(attendee.company)}</div>
<div class="type">${esc(attendee.ticketType)}</div>
</div>
<img src="${qr}" alt="">
</body></html>`;
}
const esc = (s = "") => s.replace(/[&<>"]/g, (c) => ({ "&": "&", "<": "<", ">": ">", '"': """ }[c]));
Four rules keep this printing cleanly. Use @page with the exact label size and zero margin so the station’s print path does not scale or paginate. Keep fonts large and black; thermal label printers are monochrome and a 9 pt grey line disappears. Make ?t=<token> long and random, and have the route return 404 for a bad token, because the URL is the only thing between the internet and the badge. And encode the check-in token in the QR code, not personal data: the scanner at a session door sends the token to your API, your API decides whether that guest is allowed in, and a photographed badge gives away nothing. If you would rather send a PDF, render the same HTML to PDF on your server and put the PDF’s URL in the job; a PDF works on every station type.

For a wristband the page is the same idea at a different size, with the name and QR code laid along the band and the QR code placed where the band stays flat on the wrist. For a receipt-printer ticket, set the body to 80 mm wide with no fixed height and let the roll cut after the content.
Ready to add printing to your app? Every BizPrint account starts with 25 free print jobs, no card required, and the Print API is included on every plan.
How do you fire a print job when a guest checks in?
Call printBadge() from the same server handler that marks the guest checked in, store the returned job ID against the attendee, and show the status on screen. The job is created asynchronously: the response comes back with status: "pending" immediately, the station picks it up, and the status moves through processing and connecting-to-printer to done, or to failed. Those six values (pending, processing, connecting-to-printer, done, failed, archived) are the documented job statuses.
// check-in handler (Express). The browser never sees the BizPrint keys.
app.post("/api/check-in", async (req, res) => {
const { attendeeId, deskPrinterId } = req.body;
const attendee = await db.attendees.checkIn(attendeeId); // sets checkedInAt, returns badgeToken
try {
const job = await printBadge({ attendeeId, printerId: deskPrinterId, badgeToken: attendee.badgeToken });
await db.attendees.setPrintJob(attendeeId, job.id);
res.json({ checkedIn: true, jobId: job.id, status: job.status });
} catch (err) {
// Check-in still succeeded; the badge did not. Surface it and offer a reprint.
res.json({ checkedIn: true, jobId: null, printError: err.message });
}
});
// status poll for the desk UI
app.get("/api/print-status/:jobId", async (req, res) => {
const job = await getJob(req.params.jobId); // signed GET /jobs/{id}
res.json({ status: job.status });
});
Signed GETs put publicKey and time in the query string and hash the query string plus : plus the secret, the same SHA-256 as the POST; the Print API guide has a getJob() you can lift. Two design choices matter more than the code. Separate check-in from printing, as above: a printer error must never un-check-in a guest, and the desk should see “checked in, badge failed, reprint?” rather than an error page. And decide the printer per desk, not per event: each registration desk has its own station and printer ID, and the desk’s device sends its own deskPrinterId with every check-in, so two desks never print on the same printer.

The errors you will meet on the first run are the same ones every Print API integration meets. ERR_UNAUTHORIZED (401) is almost always the signature: the body was serialized twice, time was sent in milliseconds, or the secret was read from a client-side variable. ERR_JOB_CREATING_INVALID_PRINTER_ID (403) means the ID is not a printer on this account. ERR_INVALID_REQUEST (400) comes with an errors object naming the field, usually a url that is not a valid absolute URL. ERR_JOB_CREATING_PRINT_JOB_LIMIT (400, “Reached print limit”) is the free-print limit; switch on Development Mode while you test.
How fast can a check-in desk print, and what happens offline?
A badge printer prints in seconds and the API accepts one job per check-in, so the limit on a check-in line is almost never the API; it is the printer’s media and the desk’s process. Plan on one printer per registration desk, a job per guest, and a status poll on the desk screen. A thermal label printer turns around a single badge in a few seconds; a line of 300 guests at a morning open is a queue of 300 jobs across however many desks you staffed, each printing as its station fetches the badge page. Keep the badge page fast to render, under a second, because the station fetches it at print time; a page that waits on a slow database query delays the badge, not the check-in.
| Situation | What BizPrint does | What your app should do |
|---|---|---|
| Printer is out of labels | Job stays in processing / connecting-to-printer, then failed | Show the status on the desk screen; reprint after reloading |
| Station device loses Wi-Fi | New jobs queue in BizPrint Cloud as pending until the station reconnects | Keep checking guests in; badges print when the station is back |
| Your server is down | The station cannot fetch the badge URL; the job fails | Nothing prints that needs your server; this is the one dependency to make redundant |
| Guest’s badge is wrong | Nothing; the job is done | Fix the record and send a new job; description keeps reprints findable in the job list |
| Two desks, one printer | Both desks’ jobs print on it in order | Give each desk its own printer ID |
Offline is the honest limitation. BizPrint is a cloud print service: the station needs a connection to receive the job and to fetch the badge page, and the badge page is served by you. If venue Wi-Fi is the risk, put the station on a phone with its own mobile data, keep a pre-printed stack of blank badges and a marker at every desk, and treat a reprint as a normal action, not an exception. Cloud print beats the browser dialog precisely because nobody has to stand at the printer; the trade is that it needs a network to stand in for them.
When should you use a vendor’s built-in badge printing instead?
Use the event platform’s own badge printing when you are running one event on one platform and its printer list suits you; use the Print API when the check-in app is yours, the printer is already at the venue, or badges are one of several things your system prints. Most registration platforms print badges from their own check-in screen with a short list of supported printers, and for a conference run entirely inside one of them that is the simplest path. Luma’s badge printing, for example, is a template-and-CSV workflow with no official printer recommendation, and pretix exposes badge layouts through its API as PDF templates assigned to products. What none of those give a developer is a plain HTTP call that prints an arbitrary page on a printer they chose, from a check-in app they wrote. That is the gap this guide fills, and it is also why the same POST /jobs keeps working after the event, for the pick lists, receipts and labels the rest of the business prints.
The outward step is worth knowing about: the same Print API is what the BizPrint MCP Server exposes to AI agents, so an agent that reconciles the attendee list overnight can print tomorrow’s badges by itself. The MCP server runs locally, as a Claude Desktop extension or a local server, and there is no hosted version; the category it belongs to is explained in What Is a Print MCP Server.
Frequently asked questions
How do I print out a badge?
From a check-in app, you print a badge by sending the BizPrint Print API a signed POST /jobs with the ID of the label printer at the desk and the URL of a page that shows the guest’s name and QR code; the printer at that desk prints it within seconds. Without an app, the badge is a document you print from a template on a label printer, which is what most event platforms’ built-in badge printing does.
Can I print event badges through an API?
Yes. The BizPrint Print API prints any page or PDF you give it on a printer attached to a BizPrint station, so a badge is one POST /jobs per attendee. The API is signed with a public key and a SHA-256 hash of the request, is included on every plan, and starts with 25 free print jobs and no card.
What printer do I need for event badges and wristbands?
A thermal label printer. On an Android station BizPrint drives ZPL and TSPL label printers; on a desktop station it drives any printer installed on the computer, including Brother QL and Zebra label printers through their drivers. Wristbands print on the same printer loaded with wristband stock; check the media size against the printer’s specification.
How do I print at a check-in printer from a web app?
Give the web app one server-side route that signs and sends POST /jobs to BizPrint, and have the check-in button call that route. The browser never talks to the printer or holds the secret key, and nobody has to click through a print dialog; the station at the desk prints the badge page the route sent.
Can the badge print automatically when a guest checks in?
Yes. Call the print function from the same handler that marks the guest checked in. The job returns a pending status immediately and the desk screen can poll GET /jobs/{id} until it is done; keep check-in and printing separate so a printer problem never blocks the line.
Does the check-in printer work offline?
No. A BizPrint station needs a network connection to receive the job and to fetch your badge page, and the badge page is served by your app. Jobs sent while the station is offline wait as pending and print when it reconnects, so keep checking guests in and plan a reprint button and a stack of blank badges as the fallback.
Can I test badge printing without using my free prints?
Yes. Switch on Development Mode in BizPrint Cloud under Settings; the Print API page says jobs created in Development Mode are left out of your usage, and desktop-station printouts are marked with a banner and scrambled text so a test badge cannot be mistaken for a real one. Turn it off before the event.
Print your first badge today
Create a free BizPrint account, pair the label printer at your registration desk, and send the POST /jobs call above from your check-in app; the first 25 badges are free and need no card. Get 25 prints free, read the developer docs, or view the MCP server on GitHub if an agent should be doing the printing.


