Ink level KDE GUI fails: white space printer name issues?

Bug #36357 reported by Andreas Mohr
8
Affects Status Importance Assigned to Milestone
gutenprint (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Hello,

on Dapper Flight 5/6, trying to fetch ink levels of my EPSON Stylus Color 860 via the graphical KDE Ubuntu system settings panel (system settings panel -> printer -> context menu on printer -> EPSON utility), I get the following error:
"Cannot open /Stylus Color 860 read/write: No such file or directory"
The printer device URI is said to be "usb://EPSON/Stylus%20Color%20860", thus I strongly assume that it's a whitespace escaping issue.
Note that other items in this GUI panel (print head cleaning, ...) do work properly.

It may be rather likely that this bug is not about escputil, but instead about the GUI panel. Please update the package name of this bug if this is the case.

escputil 4.3.99+cvs20051122.dfsg.1-2ubuntu1

Thanks!

Andreas Mohr

Revision history for this message
Matthias Klose (doko) wrote :

please could you recheck after a dist-upgrade to dapper 20060414, removal and reinstallation of the printer?

Changed in gutenprint:
status: Unconfirmed → Needs Info
Revision history for this message
jk (jk2029) wrote :

In my case to work around the problem I "chmod 666 /dev/usblp0". Then change the printer interface properties to use URI: "usb:/dev/usblp0". The Ink Level check then works. Then if I check the "Use direct connection" button I can run the rest of the tests.

Help on escputil suggests it requires a raw device to work.

    -i|--ink-level Obtain the ink level from the printer. This requires read/write access to the raw printer device.

escputil 5.0.0~rc2-0ubuntu3

jk

Revision history for this message
mlaverdiere (mlaverdiere) wrote :

Same problem here on Dapper Flight, after a dist-upgrade on 2006-05-05, i.e. I get the following error message when I try to check ink level with the escputil utility:

Error
Cannot open /Stylus CX5400 read/write: No such file or directory

This utility used to work flawlessly with my printer on my previous Debian Sid installation.

Revision history for this message
mlaverdiere (mlaverdiere) wrote :

I've tested it again, now with the official Dapper release, and it is still not working, i.e. with the same error message:

Error
Cannot open /Stylus CX5400 read/write: No such file or directory

Revision history for this message
Ante Karamatić (ivoks) wrote :

Please attach your /etc/cups/printers.conf.

Revision history for this message
mlaverdiere (mlaverdiere) wrote : Re: [Bug 36357] Re: Ink level KDE GUI fails: white space printer name issues?

There is someting strange: if I try to copy the file /etc/cups/printer.conf,
I get the following error message: can't read the
file /etc/cups/printer.conf (my translation, from French)

I've tried it as a root and as a normal user. I've even tried to stop cupsys
dameon in case it was locking up the file. It didn't make the
file "accessible".

So basically, I can't provide you with a copy of my printer.conf file....

Any idea of what's going on?

Revision history for this message
Ante Karamatić (ivoks) wrote :

Do it like this:

sudo cp /etc/cups/printers.conf /tmp/
chmod 644 /tmp/printers.conf

then attach /tmp/printers.conf

Revision history for this message
mlaverdiere (mlaverdiere) wrote :

Thanks for the tip. It worked.

Here's the requested file.

# Printer configuration file for CUPS v1.2.0
# Written by cupsd on 2006-05-21 13:56
<Printer EPSONStylusCX5400>
Info EPSON Stylus CX5400
DeviceURI usb://EPSON/Stylus%20CX5400
State Idle
StateTime 1148234017
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

Revision history for this message
Ante Karamatić (ivoks) wrote :

Stop cups (sudo /etc/init.d/cupsys stop), change DeviceURI to:

DeviceURI file:///dev/usblp0

and start CUPS (sudo /etc/init.d/cupsys start). This is temporery solution. It should work...

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Note: This does not work under Edgy, as CUPS 1.2.x only supports USB URIs of usb://EPSON/Stylus%20CX5400 type and not of usb:/dev/usblp0 type any more.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

No answer by original poster for several months, closing ...

Changed in gutenprint:
status: Needs Info → Rejected
Revision history for this message
mlaverdiere (mlaverdiere) wrote :

Sorry for not responding, but I didn't and won't have access to the Epson printer I have at home for several months, since I'm living in an other country for a while. I'll be back at home in December and will then be able to give the requested feedback... if it can wait...

Revision history for this message
mlaverdiere (mlaverdiere) wrote :

This utility is still not working for me under Edgy. The error message is still:

Cannot open /Stylus CX5400 read/write: No such file or directory

I'm ready to do some testing following what was suggested above, but I don't know what is the appropriate step considering the comment on the way Edgy handle device url. What should I do?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.