Xprinter Xpn160ii Driver [upd] May 2026

Xprinter XP-N160II is an 80mm thermal receipt printer widely used in retail and hospitality environments due to its automatic cutting feature and diverse connectivity options. As of early 2026, the device remains highly recognized for its reliability and compatibility with various operating systems, including Windows, Linux, Android, and iOS. AliExpress Driver Installation Guide

Depending on your connection type, the installation process varies:


1. Adjusting Print Speed

In Printer Preferences > Advanced, you will see a slider for "Print Speed." While the hardware supports 250mm/s, reducing this to 200mm/s dramatically increases the lifespan of the thermal head. xprinter xpn160ii driver

Phase 1: Do Not Plug the Printer In Yet

Many users fail because they plug in the USB cable before installing the software. Disconnect the USB cable and turn the printer off.

Step-by-Step Installation Guide (Windows)

Once you have downloaded the driver folder, follow these steps carefully. Do not plug the printer in via USB yet. Xprinter XP-N160II is an 80mm thermal receipt printer

Error 4: Half the receipt prints, then stops

Symptom: The XPN160II prints 4 inches, then pauses for 10 seconds. Solution: The driver's receive buffer is full. Go to Port Settings and increase the Transmission Retry value to 90 seconds. Alternatively, switch from "ECP" to "Standard" USB mode in your BIOS.

---------- Example usage ----------

if name == 'main': # Try to auto-detect or specify port e.g. 'COM3' or '/dev/ttyUSB0' try: printer = XPN160II() # USB auto except: printer = XPN160II(port='COM3') # Serial example Typical values: VID=0x0416

printer.init()
printer.set_align('center')
printer.set_bold(True)
printer.set_font_size(2, 2)
printer.textline("XPRINTER XPN160II")
printer.set_font_size(1, 1)
printer.set_bold(False)
printer.textline("Driver test successful")
printer.set_align('left')
printer.textline("Product: Coffee\nPrice: $2.99\nDate: 2025-04-11")
printer.barcode("1234567890", "CODE128")
printer.feed(2)
printer.cut()
printer.close()
print("Print job completed.")


3. How to get the correct USB VID/PID for your device

Run this small script to detect your XPN160II:

import usb.core
for device in usb.core.find(find_all=True):
    if "XPrinter" in str(device.product) or "POS" in str(device.product):
        print(f"Found: VID=device.idVendor:04x, PID=device.idProduct:04x")

Typical values: VID=0x0416, PID=0x5011 (XPrinter WinPOS)


举报文章问题

×
  • 营销广告
  • 重复、旧闻
  • 格式问题
  • 低俗
  • 标题夸张
  • 与事实不符
  • 疑似抄袭
  • 我有话要说
确定 取消

举报评论问题

×
  • 淫秽色情
  • 营销广告
  • 恶意攻击谩骂
  • 我要吐槽
确定 取消

用户登录×

请输入用户名/手机/邮箱

请输入密码