To successfully connect a printer using the Virtual IoT Box, ensure you have the following prerequisites:
- An active IoT subscription
- A Windows computer (Windows 10 or later)
- A printer that has the ESC/POS protocol
Installing the Virtual IoT Box
- Navigate to Odoo's download page.
- Select the version you wish to download and choose the Community version.
- Follow the installation steps for the IoT Virtual Box.
- Once the installation is complete, a window will appear. Select "Odoo IoT" and follow the on-screen instructions. You need to install Odoo in the route: C:/Odoo in order to use it.
- A new tab will open in your web browser, indicating that the IoT Virtual Box is ready.
Configuring the IoT Box
- Access your database and download the IoT app.
- Click on "New" at the top-left corner.
- Copy the token labeled "Option B" in the pop-up window.
- Navigate to the IoT localhost and paste the copied token in the "Configure Odoo Server" section.
- Click "Connect."
- Once the database connects to the IoT, the devices will appear in the IoT app.
Connecting a Ticket Printer via WiFi
- Download the necessary printer drivers onto the same PC running the IoT Virtual Box.
- Restart the computer.
- Open the IoT by navigating to localhost:8069 in your web browser.
- Check the "Devices" section to confirm the printer is detected.
- Access your database, go to the IoT section, and verify that the Virtual IoT Box appears as connected.
Final Configuration for Printing in PoS
- Navigate to the store settings in the PoS application.
- Enable the "IoT Box" option.
- Select the printer you want to use.
- Click "Save."
Following these steps, you will successfully connect a ticket printer (or any other compatible device) to your database. It is important to keep the IoT Box running throughout your session to ensure uninterrupted printer functionality.