> ## Documentation Index
> Fetch the complete documentation index at: https://foliant-help.iforiti.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Print to your printers with PrintNode

> Connect PrintNode so Foliant prints invoices, packing slips and labels straight to your printers, with a button or automatically when an order is paid or fulfilled.

PrintNode is a service that prints to the printers on your computers without a print dialog. With PrintNode connected, Foliant sends documents straight to your printers: from the print page with **Send to printer**, or automatically when something happens to an order.

## Before you start

1. Create an account at PrintNode (printnode.com). Its free plan prints up to 50 documents a month on one computer; larger plans are paid to PrintNode.
2. Install the PrintNode client on the computer your printers are connected to, and sign in with your PrintNode account. Keep it running: Foliant can only print while that computer is on.
3. In your PrintNode account, go to **API Keys**, create a key and copy it.

## Connect PrintNode

1. In Foliant, go to **Settings › Integrations**.
2. On **PrintNode**, click **Connect**.
3. Paste your **PrintNode API key**.
4. Click **Connect**.

Foliant checks the key with PrintNode and picks your default printer: the one marked as default in PrintNode, else the first printer that's online. If PrintNode refuses the key, Foliant says so next to the field. Create a new key and paste it again.

## Choose a printer for each template

Each template prints on the default printer unless you choose another one.

1. Go to **Templates** and open the template's **Settings**.
2. In **Printer**, choose the **Printer** and the number of **Copies** (1 to 5).
3. Click **Save**.

The list shows every printer in your PrintNode account, with the computer it's on.

## Send documents to the printer

1. Select orders and open the print page, as you would to print. See [The print page](https://foliant-help.iforiti.com/printing/the-print-page.md).
2. Click **Send to printer** at the top of the page.

Foliant sends one print job per document, to each template's printer, and marks the orders printed. Pick lists and other batch documents can't go to a printer: print those with **Print**.

## Print automatically

A printer delivery prints a document when something happens to an order, with nobody clicking anything.

1. Go to **Delivery** and select **Add delivery**.
2. Choose the **Template**.
3. In **How it reaches people**, choose **Print on a printer**. It's only offered while PrintNode is connected.
4. Under **When to send it**, choose **Print when**: the order is placed, paid, fulfilled or canceled.
5. Select **Add delivery**.

On the delivery's page you can add a wait before it prints, print only orders that match conditions, and switch it off or on. Each order prints once for each event, even if Shopify sends the event twice. Refunds and Shopify Flow can't print to a printer yet.

If PrintNode is disconnected, or your plan no longer includes it, automatic prints are skipped and the delivery's history shows **No printer connected**.

## Check what printed

Every print is listed in the PrintNode integration's **Activity**, with whether the printer finished it. Foliant keeps checking with PrintNode for several hours. A print is marked failed when the printer reports an error, or when PrintNode gives up on it, for example because the computer stayed off. See [Integration activity](https://foliant-help.iforiti.com/integrations/integration-activity.md).

On the PrintNode integration's page, Foliant warns you when PrintNode has no printers yet, or when no computer running PrintNode is online.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.