[cups] Epson R200 Ink Levels

Ian Prideaux worzel at gmx.co.uk
Mon Jun 30 06:30:50 PDT 2014


Hi All,

I've been talking on the libinklevel list and I've discovered this:

 > Unplug printer from usb.
 > Turn printer on.
 > Connect to usb.
 >
 > Module  usblp  loads.
 > /dev/usb/lp1  appears.
 > ink -p usb -d /dev/usb/lp1  works.
 >
 > Run  /usr/bin/python
 > /usr/share/system-config-printer/system-config-printer.py, it all works.
 >
 > Right click the printer and select properties, it all works.
 >
 > Select  Ink/Toner Levels, it all works, except that
 > system-config-printer.py reports "Marker levels are not reported for
 > this printer".
 >
 > Click the Refresh button, get the notification "Maintenance command
 > submitted as job ...", and the ink command no longer works, and
 > /dev/usb/lp1 has vanished. Module usblp is still loaded, though.
 >
 > Unplug printer, wait, reconnect printer, and it's back again.
 >
 >
 > It looks like when the system-config-printer.py queries the printer for
 > it's ink levels, it breaks something in usblp.
 >

Any ideas what's going on?



On 29/06/14 18:26, Ian Prideaux wrote:
> Hi All,
>
> I still can't get this to work.
>
> lsusb shows that the printer is:
> Bus 001 Device 009: ID 04b8:0005 Seiko Epson Corp. Printer
>
> /dev/lp doesn't exist, however, this does:
> crw-rw-r-- 1 root lp 189, 8 Jun 29 18:17 /dev/bus/usb/001/009
>
> If I stop cups, /dev/bus/usb/001/009 vanishes, so this is definately the
> correct usb path.
>
>
> $ sudo strace -o ~/ink.out  ink -p usb -d /dev/bus/usb/001/009
> produces the out file, which shows:
>
> open("/dev/bus/usb/001/009", O_RDONLY)  = 3
> ioctl(3, SNDCTL_DSP_SYNC, 0x7fff8329ee90) = -1 EPERM (Operation not
> permitted)
> close(3)                                = 0
>
>
> sudo strace -o ~/escputil.out escputil -r /dev/bus/usb/001/009 -i
> produces an out file, which shows:
>
> open("/dev/bus/usb/001/009", O_RDWR)    = 3
> rt_sigaction(SIGALRM, {0x413d20, [ALRM], SA_RESTORER|SA_RESTART,
> 0x7fe6f5617ff0}, {SIG_DFL, [], 0}, 8) = 0
> alarm(5)                                = 0
> write(3, "\33\1 at EJL ID\r\n", 11)        = -1 EINVAL (Invalid argument)
> nanosleep({0, 10000000}, NULL)          = 0
> write(3, "\33\1 at EJL ID\r\n", 11)        = -1 EINVAL (Invalid argument)
> nanosleep({0, 10000000}, NULL)          = 0
> <repeated lots of times>
>
>
> For some reason, it looks like the programs don't have access to the
> character special device file, or the character special device isn't
> working properly.
>
> Help?
>
>
>
>
> On 19/05/14 16:45, Ian Prideaux wrote:
>> Hi All,
>>
>> I've just installed Xubuntu 14.04.
>> I've connected my Epson Stylus Photo R200 to a usb port.
>> I've installed the printer. I decided that I should have:
>> Device URI = usb://EPSON/Stylus%20Photo%20R200?serial=MO1P10409241811580
>> Make Model = Epson Stylus Photo R200 - CUPS+Gutenprint v5.2.10-pre2
>>
>> It worked straight away _except_ it refuses to report the ink levels. It
>> says "Marker levels are not reported for this printer".
>>
>> It used to work, when I uses mtink, and it used to work on my Wife's XP.
>>
>> Why does it not work any more?
>>
>> Any help would be much appreciated, thanks.
>>
>> _______________________________________________
>> cups mailing list
>> cups at cups.org
>> https://www.cups.org/mailman/listinfo/cups
>
>
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups
>


More information about the cups mailing list