PrintBase
  • Product
  • Pricing
  • Docs
  • Resources
PrintBase/PrintBase guides

Print from your language or framework

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.

  • Print a PDF from Node.js to a printer in another place

    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.

  • Print ZPL labels from Node.js

    Build a ZPL string in Node.js and send it as raw base64. The agent does not render the label; the printer does.

  • Print shipping labels from a Next.js route

    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.

  • Print receipts from Express

    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.

  • Print a PDF from Python

    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.

  • Print ESC/POS receipts from Python

    Build ESC/POS bytes in Python and send them as raw. The agent does not transcode. Encode text before base64.

  • Print receipts from Django

    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.

  • Print labels from FastAPI

    A FastAPI endpoint can print a label after it validates the request. Depend on your own auth. The print key is a server setting.

  • Print a PDF from Flask

    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.

  • Print ESC/POS receipts from PHP

    From PHP, curl an ESC/POS payload to the print API. Shared hosting is enough because the call is outbound HTTPS.

  • Print Laravel receipts from shared hosting

    Laravel on shared hosting can still print. The host only makes HTTPS. The receipt printer stays in the shop behind the agent.

  • Print PDF invoices from Laravel

    Render a Laravel invoice PDF with Dompdf or Snappy, then POST the bytes. The office printer is selected by printer_code.

  • Print labels from Symfony

    A Symfony service can post a label with HttpClient. Inject the API key from an env var. There is no Symfony bundle to enable.

  • Print ZPL labels from Java

    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 receipts from Spring Boot

    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.

  • Print raw ZPL from Go

    Go's net/http posts ZPL with no extra module. Base64 from encoding/base64. The agent prints the Zebra queue.

  • Print a PDF from Go

    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.

  • Silent printing from browser JavaScript, via your backend

    Browsers will not silently print to a USB device from a public website. Call your backend, and let the backend call the print API.

  • Print labels from a React admin panel

    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.

  • Print labels from a Vue admin panel

    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.

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