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

# Print from Odoo on the terminal

> Run the Odoo Point of Sale on the Compago terminal and print Odoo's own receipt on the terminal's printer, with the card voucher right under it.

The Compago terminal is an Android device with a printer. When the Odoo Point of Sale runs on the terminal itself (in Chrome or in the Odoo app), Odoo can print its receipts and order tickets on the terminal, as it prints on an Epson receipt printer. The Compago POS app stays the app that charges the card, and the customer gets one paper: Odoo's receipt with the terminal's card voucher right under it.

This works with any Odoo that can use an Epson ePOS printer, Odoo Online included. The card voucher under the receipt needs the [Compago module](https://docs.compago.com/odoo/overview.md) in Odoo 18, 19 or 20.

## How it works

1. The Compago POS app answers on the terminal at `127.0.0.1:8008` as an Epson printer would (ePOS-Print). It only listens on the terminal itself: nothing else on your network can print on it.
2. Odoo, open on the same terminal, sends each receipt there. The terminal fits it to its paper (58 mm) and prints it.
3. With **Card voucher under the Odoo receipt** on in the Compago payment method, the terminal prints the card voucher right under Odoo's receipt. If Odoo prints no receipt within 60 seconds of the approval, the terminal prints the voucher on its own.

> [!NOTE]
>
> Regulation requires a card voucher on every card-present sale, printed with the template certified with the acquirer. The Compago terminal always prints it in that template, so Odoo's receipt and the voucher come out together, and the voucher itself is never changed or left to Odoo.

## Set up

### On the terminal

1. Open the Compago POS app, go to **Configuración** › **Integraciones**
2. Turn on **Impresora para Odoo**. The screen shows the address to use in Odoo (`127.0.0.1:8008`) and the version of Chrome and of the Android System WebView on the terminal

### In Odoo

1. Go to **Point of Sale** › **Configuration** › **Settings**, in the point of sale that runs on the terminal
2. Under **Connected devices**, turn on **ePos Printer** (or add a printer of type **Use an Epson printer**, depending on your Odoo version) and enter `127.0.0.1:8008` as its IP address
3. To print the card voucher under Odoo's receipt, open the Compago payment method (**Point of Sale** › **Configuration** › **Payment Methods**) and turn on **Card voucher under the Odoo receipt**. Also turn on **Automatic Receipt Printing** in the point of sale settings, so the receipt comes out as soon as the order is validated
4. Open a new session so the point of sale loads its printer

> [!TIP]
>
> With **Automatic Receipt Printing** on, Odoo's receipt comes out right after the payment and the voucher joins it. If **Impresora para Odoo** is off on the terminal, the terminal prints the voucher as soon as the card is approved.

### Secure connection (HTTPS)

Your Odoo is served over `https://`, and the terminal's printer answers on plain `http://127.0.0.1`. Two ways make them work together:

* **Local Network Access (recommended)**: in Odoo, turn on developer mode, go to **Settings** › **Technical** › **System Parameters** and add `point_of_sale.use_lna` with value `True`. Odoo then calls the printer over `http://`, and Chrome asks once whether the page may reach devices on the local network: answer **Allow**. It needs Chrome 142 or later on the terminal, which the **Integraciones** screen shows.
* **An older Chrome**: without Local Network Access, Odoo calls the printer over `https://`. Update Chrome or the Android System WebView from the terminal's app store, then use Local Network Access.

## Test it

1. On the terminal, open your Odoo point of sale in Chrome
2. Sell a product, pay with the Compago method and validate the order
3. The terminal prints Odoo's receipt. With **Card voucher under the Odoo receipt** on, the card voucher comes right under it, on the same paper

## Troubleshooting

### Odoo says the printer could not be reached

* Check that **Impresora para Odoo** is on in the Compago POS app and that the app is open or was opened since the terminal started
* Check the IP address in Odoo: `127.0.0.1:8008`, with no `http://`
* On `https://`, set up Local Network Access as above, and allow it when Chrome asks

### The printer was reached but did not print

Odoo shows the error the terminal answered. `EPTR_REC_EMPTY` means the terminal is out of paper. Load paper and print the receipt again from Odoo.

### The voucher comes out on its own paper

* Check that **Card voucher under the Odoo receipt** is on in the Compago payment method, and that the Compago module is updated
* Check that **Impresora para Odoo** is on in the terminal and that Odoo prints the receipt within 60 seconds of the approval (turn on **Automatic Receipt Printing**). After that, the terminal prints the voucher on its own

## Barcode scanners

Odoo reads a barcode scanner that types like a keyboard. A USB or Bluetooth scanner paired with the terminal works that way. A scanner built into the terminal works the same once its output mode is set to keyboard in the terminal's scanner settings, where the model has that setting.

## Support

Write to **[help@compago.com](mailto:help@compago.com)** with your Odoo version, the terminal's serial number and the versions shown in **Integraciones**.


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