Passbook Print
Checking printer...
🖨 Print Now
🖨 Direct Print
🔍 Detect Printers
🔧 Debug System
⚙️ Settings
If printer not detected, use "Create Virtual Device" option
Print1
Print2
Ready

Adjust Print Settings

Detect Printers

Scanning for printers...
If no printer is detected, create a virtual device for manual configuration

System Debug Information

⚠️ Important: Your system needs setup. Follow steps below.

🔧 Setup Instructions

Step 1: Install USB utilities

First, install required USB tools:

sudo apt-get install usbutils
For CentOS/RHEL: sudo yum install usbutils

Step 2: Connect Printer

Make sure your Epson PLQ-20 is connected via USB cable and powered on.

Step 3: Find your web server user

Check debug output below to find your web server user (it might not be www-data).

Step 4: Set permissions (replace USER with your web server user)

sudo usermod -a -G lp fastotpsmsin
sudo chmod 666 /dev/usb/lp*
sudo systemctl restart apache2

Step 5: Create virtual device if needed

If no printer is detected, create a virtual device:

sudo mknod /dev/usb/lp0 c 180 0
sudo chmod 666 /dev/usb/lp0
Loading debug information...