GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — thermal-Printer-and-NodeJS-API/README.md at main · digoarthur/thermal-Printer-and-NodeJS-API

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
133 lines (64 loc) · 3.11 KB
/

README.md

Copy path

File metadata and controls

133 lines (64 loc) · 3.11 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

🖨️ Order Receipt Printing via API

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.

Node.js XPrinter


🛠️ XPrinter XR-N160II Setup

Group 110

Follow the steps below to configure your printer to work over Wi-Fi, enabling communication via API.

📦 Step 1 – Connect via USB and open the software

🖼️ 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


⚙️ Step 2 – Configure the network

Configure.the.Network.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.


🌐 Step 3 – Set up the connection

Português

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

🔌 Step 4 – Restart the printer

Turn the printer off and back on. It should beep 🔊🔊🔊 and connect automatically to your Wi-Fi network.


🚀 Getting Started

Prerequisites

  • Node.js 18+
  • Thermal printer connected
  • Network/USB access to printer

Clone repository

git clone https://github.com/DIGOARTHUR/Thermal-Printer-and-NodeJS-API.git
cd Thermal-Printer-and-NodeJS-API

Install dependencies

npm install

run API

node index.js

Acesss API URL

http://localhost:3000/imprimir

Print output in XPrinter

Print.output.in.XPrinter.mp4



Love Thermal-Printer-and-NodeJS-API tutorial? Give our repo a star ⭐ ⬆️ .

by: @digoarthur Brazil Flag

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.