README backends: *network* backend can't read printer state

This commit is contained in:
Philipp Klaus
2018-09-14 16:33:23 +02:00
parent 4820b673bb
commit 5bc0f949e8
+7 -5
View File
@@ -172,16 +172,18 @@ There are multiple backends for connecting to the printer available (✔: suppor
Backend | Kind | Linux | Mac OS | Windows Backend | Kind | Linux | Mac OS | Windows
-------|-------|---------|---------|-------- -------|-------|---------|---------|--------
network | TCP | ✔ | ✔ | ✔ network (1) | TCP | ✔ | ✔ | ✔
linux\_kernel | USB | ✔ (1) | ✘ | ✘ linux\_kernel | USB | ✔ (2) | ✘ | ✘
pyusb (2) | USB | ✔ (2a) | ✔ (2b) | ✔ (2c) pyusb (3) | USB | ✔ (3a) | ✔ (3b) | ✔ (3c)
Notes: Notes:
1. The label printer should show up automatically as `/dev/usb/lp0` when connected. 1. The network backend doesn't support reading back the printer state, currently.
Failure such as *wrong label type* or *end of label roll reached* won't be detected by this software.
2. The label printer should show up automatically as `/dev/usb/lp0` when connected.
Please check the ownership (user, group) of this file to be able to print as a regular user. Please check the ownership (user, group) of this file to be able to print as a regular user.
Consider setting up a udev .rules file. Consider setting up a udev .rules file.
2. PyUSB is a Python wrapper allowing to implement USB communication in userspace. 3. PyUSB is a Python wrapper allowing to implement USB communication in userspace.
a. On Linux: install libusb1 as offered by your distribution: `sudo apt-get install libusb-1.0-0` (Ubuntu, Debian), `sudo zyppe in libusb-1_0-0` (OpenSUSE), `sudo pacman -S libusb` (Arch). a. On Linux: install libusb1 as offered by your distribution: `sudo apt-get install libusb-1.0-0` (Ubuntu, Debian), `sudo zyppe in libusb-1_0-0` (OpenSUSE), `sudo pacman -S libusb` (Arch).
b. On Mac OS: Install [Homebrew](https://brew.sh/) and then install libusb1 using: `brew install libusb`. b. On Mac OS: Install [Homebrew](https://brew.sh/) and then install libusb1 using: `brew install libusb`.
c. On Windows: download [libusb-win32-devel-filter-1.2.6.0.exe](https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/) c. On Windows: download [libusb-win32-devel-filter-1.2.6.0.exe](https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/)