[Mageia-dev] What to use instead of /dev/usb/lp*

Claire Robinson eeeemail at gmail.com
Wed Jul 25 11:11:19 CEST 2012


On 25/07/12 09:10, Jeff Robins wrote:
> 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

usblp is blacklisted but you may find using modprobe usblp cures it for
you. If it does then comment it in
/etc/modprobe.d/blacklist-cups-common.conf or remove that file.

Claire


More information about the Mageia-dev mailing list