Comments (3)
On Linux you need to run lprint as root or be a member of the group that owns the USB device files.
from lprint.
First, that's a highly system-specific thing. I can't even make it a Linux conditional because every distro supports USB slightly differently... :/
Second, the legacy USB URIs that CUPS 2.x puts out are specific to CUPS 2.x and are NOT a standardized thing. PAPPL (which LPrint uses) generates similar URIs but the values are what PAPPL and libusb require.
from lprint.
Thank you! Indeed, running lprint as root gave me the correct URI. It has an extra space encoded as %20
after Munbyn
.
usb://Munbyn%20/ITPP941?serial=9412033000184
The new URL is working (with a lot of struggle, not directly related to this issue). I was able to print a PDF document from an Android phone. I still cannot print anything locally, but that would be better discussed in another issue.
Maybe lprint should print a warning that it cannot access USB devices?
Also, it's not good that lpinfo -v
and lprint devices
produce different URIs. Maybe one of them should be modified to match the other? Then the USB device matching code should accept differences in spacing in URIs vs devices.
from lprint.
Related Issues (20)
- Fresh install - neither Zebra works, only prints out first 10% then says "out of paper" HOT 4
- Support for epson printers? HOT 2
- Support for ESC/POS receipt printers
- Issue #94 is not present using MacOS as a server, still present using Linux as a server. HOT 1
- [discussion] observation after printing .zpl without explicitly setting the MIME type HOT 1
- PAPPL 1.4.x Incompatibility - Options and State using the same filenames! HOT 1
- Setup for Munbyn ITPP941 and Vevor Y428BT printers HOT 3
- Support for docker HOT 4
- Seiko Label Printer and Debian HOT 1
- Android support HOT 4
- DYMO Label.app does not detect LabelWriter HOT 2
- lprint (1.1) not working on ubuntu 24.04 [Xprinter XP-460B] HOT 6
- More analysis on Issue #93 -- that is still present in v.1.3.1 on linux HOT 10
- GK420D not detected on USB HOT 6
- Lprint is sensitive to both system hostname and server name HOT 3
- Support for iDPRT Label Printers HOT 15
- Issue printing with native Chrome dialog and with IPPS HOT 3
- Zebra ZP 505 prints blank page HOT 2
- Support for the LabelRange LP620 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lprint.