PrintBase
  • Product
  • Pricing
  • Docs
  • Resources
PrintBase/Guides/Cloud printing comparisons

Google Cloud Print replacement for developers: an API and an agent

Google Cloud Print stopped on December 31, 2020. A Google Cloud Print replacement for server-side printing is an agent plus a REST API, not a browser dialog.

For Developers who still find old Cloud Print integrations

Overview

Google's own documentation says Google Cloud Print is no longer supported as of December 31, 2020. From January 1, 2021, devices could not print with it. If your code still calls the old Cloud Print API, that call will not produce paper.

A practical replacement for a server that used to submit a document is: run an agent on a computer that has the printer, and POST /v1/print-jobs with a PDF or raw payload. That is not a Google product and it does not use a Google account.

ChromeOS has its own printing stack now. This page does not claim to be a ChromeOS CUPS replacement. It covers the case Google described for other devices: pick a print service and send the document yourself.

Integration steps

  1. 01

    Install the agent where the printer is

    The computer that can already print a test page runs the agent. GET /v1/printers and note the code.

  2. 02

    Keep the API key on a server

    Authorization: Bearer. Do not put the key in a browser, a theme, or a public automation log.

  3. 03

    POST the document

    content_type pdf or raw, exactly one of content or content_url, plus printer_code.

  4. 04

    Use a stable Idempotency-Key

    Retries reuse the key and the body. A reprint uses a new key. A mismatch returns HTTP 409.

Node.js

// Replacement submit for a document that used to go to Cloud Print
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: pdf.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

Source

Google's Cloud Print developer pages and the Chrome Enterprise help article 'Migrate from Cloud Print' state the shutdown date.

What you do not get

No Google account binding, no 'save to Drive' from the old dialog, and no claim that every Cloud Print printer model is supported. Support means: if the OS can print it, the agent can submit a job.

Questions

Is there an official Google replacement API?

Google's help page points people at platform printing or a partner. It does not name PrintBase. You would be choosing this API yourself.

Will my old OAuth tokens work?

No. Those tokens were for a discontinued service. Create a PrintBase API key.

PDF and ticket printers?

PDF uses content_type pdf. Receipt and label languages use raw. Cloud Print's content model is not preserved one-for-one.

Do I need a public IP now?

No. The agent connects outbound. That part is simpler than exposing a printer.

Related guides

  • PrintNode alternative for a server-side print API

    Compare PrintNode's published client model with PrintBase. No plugin is required on either side of this page; you POST a print job.

  • Print from AWS to a printer behind a firewall

    A server on AWS does not need a path to the printer's private IP. The office agent connects outbound and your server posts a job.

  • Print from a cloud app to an office without a VPN

    An app on AWS or Azure can print to a branch office by posting a job. The office runs the agent. You do not merge the networks for printing.

  • Free cloud print API plans compared

    A factual look at free tiers you can verify: PrintBase's pricing page, PrintNode's pricing page, QZ Tray's license, and the shutdown of Google Cloud Print.

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