All articles

How to automatically print WooCommerce orders with PrintNode

Connect a receipt printer, choose the order status that triggers printing and check your first order with Print Order Receipt & PrintNode.

When warehouse staff use a printed list to prepare an order, each purchase can mean another trip to the administration screen. Automatic printing can handle that step. Once an order reaches a chosen status, WooCommerce sends its summary to the printer at your premises.

This guide follows the settings in Print Order Receipt & PrintNode version 2.2.1. It produces a text order receipt with items and a total for use when preparing a purchase. Your invoicing system handles invoice creation separately.

Set up the printer and PrintNode

You need an active WooCommerce installation, the plugin with an activated licence, a PrintNode account and a printer that can handle the RAW/ESC-POS output used by the plugin. Choose a PrintNode plan that covers the number of print jobs you expect each month.

Install the printer on your computer and print a test document from the operating system first. Then install the PrintNode Client on a computer that has access to both the printer and the internet, and sign in to your account. The computer and client need to be available while printing. PrintNode Client installation

In your PrintNode account, find your API key and the Printer ID of the device you want to use. If several printers are listed, also check the name of the computer connected to the printer.

Connect the plugin and format the receipt

  1. Install the plugin ZIP and open WooCommerce → PrintNode. Activate your licence.
  2. Enter the API key and Printer ID from your PrintNode account.
  3. Set the number of characters per line. The default is 32, with a supported range of 16 to 64. The right value depends on your printer, font and paper.
  4. Add a header and footer. Enable the shipping method, payment method and customer note if your staff need them.
  5. Save the settings and check a long product name and an order containing several units.

The diacritics setting lets you remove accents from printed text. If you retain accents, check the characters on the actual printer. Its encoding can affect the output.

Try a new sample order

Create an order using a fictional name and address on a test store. Enable test printing for the first content check. This setting saves a TXT file in wp-content/uploads/printnode-tests/. The file contains order details, so use fictional information and remove the output after checking it.

In the print test section, enter the internal ID of your sample order. With asynchronous sending enabled, processing is scheduled through WP-Cron. Open the resulting text and compare the items, quantities and total with the order.

Next, turn test printing off and use the manual print action beside the order. Check both the physical receipt and the corresponding PrintNode job. The administration message alone gives you less information than checking the job and the printed paper.

Choose when automatic printing starts

Choose the order status at which staff should start preparing goods. The default is Processing, identified in code as processing. Check how each payment method reaches your selected status. Bank transfers, cash on delivery and payment gateways can take an order through different paths. WooCommerce order statuses

With asynchronous sending enabled, the store needs a working WP-Cron. Night mode postpones these scheduled jobs until the end of the configured interval. With asynchronous sending disabled, the plugin sends immediately when the order changes to the selected status.

Use another new order to test automation. After successful processing, the plugin records the target status for that order and prevents another automatic print for the same status. A successful TXT test also records it. A fresh order therefore lets you check the entire workflow again.

If nothing comes out

Start by checking whether the order reached the configured status. For asynchronous processing, check WP-Cron and night mode. Then review the licence, test-printing setting, API key and Printer ID.

In WooCommerce → Status → Logs, look for the source print-order-receipt-printnode. Open PrintNode as well and check the client connection, job status, paper and printer connection. Before sending another manual print, check whether the earlier job is already waiting for the device. PrintNode troubleshooting

Once the test succeeds, you have checked the complete path from an order status change to paper at your premises. Repeat the check when replacing the printer or changing your payment workflow. Print Order Receipt & PrintNode for WooCommerce