PrintBase
  • Product
  • Pricing
  • Docs
  • Resources
PrintBase/PrintBase 专题

按语言接入远程打印

站点介绍里列出了 Node.js、Python、PHP、Java、Go 的官方 SDK。这些页面的示例直接调用公开 REST API,请求头和 JSON 与接口文档一致。API Key 放在服务端。

  • 用 Spring Boot 打印小票

    在 Spring Boot 服务里用 RestClient 把 ESC/POS 小票 POST 到打印接口,由门店电脑上的 Agent 打到本地小票机。API Key 放在配置里,不作为请求参数。

  • 用 PHP 远程打印小票

    PHP 用 curl 发送 ESC/POS。网站服务器不连接打印机。与英文 PHP 小票页是同一接口。调用 POST /v1/print-jobs,API Key 只放在服务端。

  • 用 Node.js 远程打印标签

    在 Node.js 里生成 ZPL 或 TSPL,以 raw 提交。与英文 Node ZPL 页对应。密钥放在服务端环境变量。调用 POST /v1/print-jobs,API Key 只放在服务端。

  • 用 Python 远程打印 PDF

    Python 标准库即可把 PDF 提交到打印接口。与英文 Python PDF 页是同一调用。调用 POST /v1/print-jobs,API Key 只放在服务端。

  • 用 Go 远程打印 ZPL

    Go 标准库 net/http 发送 ZPL。不需要 cgo,也不需要在容器里装斑马驱动。与英文 Go ZPL 页对应。调用 POST /v1/print-jobs,API Key 只放在服务端。

  • Vue 后台经后端静默打印标签

    Vue 按钮调用你的后端,后端再调用打印接口。不要在 Vue 工程里放 API Key。与英文 Vue 页对应。调用 POST /v1/print-jobs,API Key 只放在服务端。

  • Electron 收银机把本地打印换成远程任务

    收银机是 Electron 时,主进程可以继续打本机小票,也可以把任务 POST 给另一台机器上的打印机。渲染进程不要保存 API Key。调用 POST /v1/print-jobs,API Key 只放在服务端。

  • uni-app 后端如何打印小票

    uni-app 各端只提交订单。小票由后端打印。不要在 uni.request 里携带打印密钥。调用 POST /v1/print-jobs,API Key 只放在服务端。

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