I've purchased generic USB POS Receipt Printer and on supplied mini CDROM I've got driver installation scripts (binary) for 32bit and 64bit Linux. Since I am working on 64bit Ubuntu 14.04.3 LTS with CUPS version 1.7.2 and kernel version 3.19.0-47-generic #53~14.04.1-Ubuntu SMP Mon Jan 18 16:09:14 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux I've installed driver installation script for 64bit system. Script executed without errors and it basically installed printer in
CUPS and here is printer's status in it:.
Now, if I navigate in
Print Test Page and click on
Print Test Page button, I first get status messages in following order:
- Rendering completed.
- Connecting to printer.
- The printer is not responding.
Here is a screenshot of the situation:
However if I bypass
CUPS and execute from terminal the following code, for example:
sudo echo "Test from terminal" > /dev/usb/lp0
Test from terminal is printed out, which means cables
are ok and printer connection is also ok. Here is also output of script installation:
--------------------------------------- Models included: POS80 POS58 Searching for ServerRoot, ServerBin, and DataDir tags in /etc/cups/cupsd.conf ServerBin tag not present in cupsd.conf - using default DataDir tag not present in cupsd.conf - using default ServerRoot = ServerBin = DataDir = Copying rastertozj58 filter to /usr/lib/cups/filter Copying model ppd files to /usr/share/cups/model/zjiang Add the POS58 printer Restarting CUPS * Stopping Common Unix Printing System cupsd [ OK ] * Starting Common Unix Printing System cupsd [ OK ] Install Complete Go to http://localhost:631, or http://127.0.0.1:631 to manage your printer please!
Now, I've changed
sudo nano /etc/cups/cupsd.conf and restarted
sudo service cups restart and here is output of
/var/log/cups/error_log when I tried to print something.
What did I miss in
P.S.: I was forced to move
cups debug output to pastebin since it was to long for my post.