Official SDK names are listed on the PrintBase marketing site. The samples on these pages call the public REST API directly, with the same Authorization header and JSON body those clients wrap. Keep the API key on the server.
From Node.js, base64 a PDF and POST it to the print-jobs API. The printer is attached to a computer running the agent, not to your server.
Build a ZPL string in Node.js and send it as raw base64. The agent does not render the label; the printer does.
Print from a Next.js route handler on the server. Do not call the API from a client component. The key stays in the server environment.
An Express route can post an ESC/POS receipt when an order is created. The API key stays in the Express process, not in the static frontend.
Use the Python standard library to POST a base64 PDF. No extra print package is required. The agent prints it on the computer you chose.
Build ESC/POS bytes in Python and send them as raw. The agent does not transcode. Encode text before base64.
Print from a Django view or signal after the order is saved. Use the server environment for the API key, not settings committed to git.
A FastAPI endpoint can print a label after it validates the request. Depend on your own auth. The print key is a server setting.
Flask can post a PDF with urllib in the request that generates it. Keep the API key in the environment. There is no Flask extension to install.
From PHP, curl an ESC/POS payload to the print API. Shared hosting is enough because the call is outbound HTTPS.
Laravel on shared hosting can still print. The host only makes HTTPS. The receipt printer stays in the shop behind the agent.
Render a Laravel invoice PDF with Dompdf or Snappy, then POST the bytes. The office printer is selected by printer_code.
A Symfony service can post a label with HttpClient. Inject the API key from an env var. There is no Symfony bundle to enable.
Java's HttpClient can post ZPL. No printer JAR is required on the server. The agent prints the queue you name with printer_code.
Print ESC/POS receipts from a Spring Boot service: build the bytes in a @Service, post them with RestClient or WebClient, and keep the API key in a property, not a request field.
Go's net/http posts ZPL with no extra module. Base64 from encoding/base64. The agent prints the Zebra queue.
Read a PDF in Go and post it as base64. Use content_url if the object store link is public. No CGO PDF library is required to transport the file.
Browsers will not silently print to a USB device from a public website. Call your backend, and let the backend call the print API.
A React button calls your API. Your API prints the label. The React bundle does not contain the print key or a direct call to the printer.
A Vue button calls your backend, which posts the label. Do not call PrintBase from the Vue app. This page matches the Chinese Vue guide.