A simple system built with Node.js to send orders directly to XPrinter XR - N160II thermal printers over Wi-Fi. Ideal for restaurants such as sushi places, bars, and diners that want to automatically print orders placed through a local system.
Follow the steps below to configure your printer to work over Wi-Fi, enabling communication via API.
🖼️ Image here
Connect the printer to your computer via USB and open the XPrinter V3.2C software.
If you don't have the software yet, download it here: Download XPrinter 3.2C
20250625_111842.mp4
Go to Advanced > SetNet and fill in the fields as follows:
- IP Address: Desired IP for your printer (e.g.
192.168.1.200
) - Netmask:
255.255.255.0
- Gateway:
192.168.1.1
- SSID: Your Wi-Fi network name
- Key: Your Wi-Fi password
- Key Type:
WPA2_AES_PSK
Click Set All. The printer will beep 🔊🔊🔊 to confirm it received the settings.

Return to the main screen and fill in the connection fields:
- Local IP: Your machine's local IPv4 (e.g.
192.168.1.105
) - Printer IP: Same IP as configured above (
192.168.1.200
) - Click Connect → “Connection Successful!” message will appear
Turn the printer off and back on. It should beep 🔊🔊🔊 and connect automatically to your Wi-Fi network.
- Node.js 18+
- Thermal printer connected
- Network/USB access to printer
git clone https://github.com/DIGOARTHUR/Thermal-Printer-and-NodeJS-API.git
cd Thermal-Printer-and-NodeJS-API
npm install
node index.js
http://localhost:3000/imprimir
Love Thermal-Printer-and-NodeJS-API tutorial? Give our repo a star ⭐ ⬆️ .
by
: @digoarthur