[Mageia-dev] What to use instead of /dev/usb/lp*
Jeff Robins
jeffrobinssae at gmail.com
Wed Jul 25 10:10:37 CEST 2012
Hello,
My wife is trying to use a Xyron Wishblade in Linux with the
graphtecprint program (http://vidar.botfu.org/graphtecprint). It
looks like the program accesses /dev/usb/lp* directly, which no longer
exists.
Is there a different device that it can open? I tried /dev/lp* and
the actual usb device from /dev/bus/usb, but opening the device
failed:
Traceback (most recent call last):
File "./graphtecprint-1.0.1/graphtecprint", line 422, in <module>
dialog.on_rescan_clicked()
File "./graphtecprint-1.0.1/graphtecprint", line 178, in on_rescan_clicked
scanprinters()
File "./graphtecprint-1.0.1/graphtecprint", line 349, in scanprinters
id = getprinterident(dev)
File "./graphtecprint-1.0.1/graphtecprint", line 68, in getprinterident
x = fcntl.ioctl(f.fileno(), 0x84005001, '\x00' * 256)
IOError: [Errno 1] Operation not permitted
I haven't modified the permissions of the device yet, but I don't
think that's the problem. I couldn't get usb_printerid to work on any
devices either.
Thank you,
Jeff
More information about the Mageia-dev
mailing list