Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

escputil - Epson printer ink levels
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Hardware
View previous topic :: View next topic  
Author Message
bof



Joined: Sun May 21, 2006 10:21 pm
Posts: 74
Location: Devon, UK

PostPosted: Sat Sep 09, 2006 11:05 am    Post subject: escputil - Epson printer ink levels Reply with quote

I have an Epson Stylus C64 printer and it prints ok from Ubuntu.
My problem is that I can't see what the ink levels are. In Windows I had the Status Monitor.
Using Synaptics I installed escputil and when I ran the command line to show ink levels I get:-
tony@tony-laptop:~$ escputil -i|--ink-level
bash: --ink-level: command not found
Obtaining ink levels requires using a raw device.
tony@tony-laptop:~$

Any suggestions as to what I do next?
_________________
Local shop built Desktop AMD core duo 4700 dual booting Vista and Ubuntu 7.10
Back to top
View user's profile Send private message
Rhakios
Moderator


Joined: Thu Apr 07, 2005 12:18 am
Posts: 7632
Location: Midlands, UK

PostPosted: Sat Sep 09, 2006 11:21 am    Post subject: RE: escputil - Epson printer ink levels Reply with quote

Isn't there a front-end called mtink that you can use for this. I have used it under a variety of Linuxes when I had an Epson printer.
_________________
Bye, Rhakios
Back to top
View user's profile Send private message
bof



Joined: Sun May 21, 2006 10:21 pm
Posts: 74
Location: Devon, UK

PostPosted: Sun Sep 10, 2006 10:30 am    Post subject: Re: RE: escputil - Epson printer ink levels Reply with quote

Rhakios wrote:
Isn't there a front-end called mtink that you can use for this. I have used it under a variety of Linuxes when I had an Epson printer.


Thanks Rhakios, I followed your suggestion and it "almost" works except I get a message "No access to printer device file. Please make sure mtlink has enough right for accessing the device files"
Any ideas what this lot means?
I followed up on the author's website http://xwtools.automatix.de/english/startE.htm and note that the Epson Stylus C62 is not supported and that the site doesn't seem to have been updated since 2002.
A pity because it did look to be a promising solution.
_________________
Local shop built Desktop AMD core duo 4700 dual booting Vista and Ubuntu 7.10
Back to top
View user's profile Send private message
Rhakios
Moderator


Joined: Thu Apr 07, 2005 12:18 am
Posts: 7632
Location: Midlands, UK

PostPosted: Sun Sep 10, 2006 10:57 am    Post subject: RE: Re: RE: escputil - Epson printer ink levels Reply with quote

Actually, you might notice the Status Monitor for Epson inkjet printers was updated May 2006, so it's far from dead. Also, in the README for that file, you will find the C60 listed as known to work, the C64 is probably a variant of this printer.
As for the error message about access rights, this can usually be fixed by running mtink as root, not elegant, but it usually works.
_________________
Bye, Rhakios
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Mon Sep 11, 2006 10:05 am    Post subject: Re: escputil - Epson printer ink levels Reply with quote

bof wrote:

tony@tony-laptop:~$ escputil -i|--ink-level
bash: --ink-level: command not found


This is an invalid command, the #|' is a pipe character, it is taking the output from "escputil -i" and passing to to the command "--ink-level", which doesn't exist.

However, in the man page, the | is used to represent an either/or choice, it means that -i and --ink-level are the short and long options of same thing. Run one of

Code:
escputil -i
escputil --ink-level

_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
bof



Joined: Sun May 21, 2006 10:21 pm
Posts: 74
Location: Devon, UK

PostPosted: Mon Sep 11, 2006 6:08 pm    Post subject: Re: RE: Re: RE: escputil - Epson printer ink levels Reply with quote

Rhakios wrote:

As for the error message about access rights, this can usually be fixed by running mtink as root, not elegant, but it usually works.


Thanks for that, sudo mtink did the trick and I even managed to find the C64 listed so it is all working nicely.
Yet another trip to my XP partition has been eliminated. Only one more task to go before I can forget XP.

Thanks Nelz, but I couldn't get escputil under control. Mtink will do me nicely.
I'm thinking of updating my signature to something along the lines of Ringo's "yes, I get by with a little help from my friends"
_________________
Local shop built Desktop AMD core duo 4700 dual booting Vista and Ubuntu 7.10
Back to top
View user's profile Send private message
phorneker



Joined: Fri Jun 03, 2005 3:58 pm
Posts: 84
Location: Michigan City, IN USA

PostPosted: Wed Oct 04, 2006 3:36 am    Post subject: RE: Re: RE: Re: RE: escputil - Epson printer ink levels Reply with quote

When running escputil to get ink levels, you will need direct access to the printer.

Under ubuntu, you will need to "sudo -i" with your user password to get root access, then type:

escputil -i -r /dev/usb/lp0

or whatever port your Epson printer is connected. Direct printer access is needed to send the ESC/P2 codes needed to get ink levels.
_________________
All words found in the Merriam Webster Dictionary including "and", "the", "it", "by", "or" and "not" are registered trademarks of Microsoft Corporation. Wink
Back to top
View user's profile Send private message
nordle
LXF regular


Joined: Fri Apr 08, 2005 10:56 pm
Posts: 1500

PostPosted: Sun Mar 25, 2007 3:53 pm    Post subject: RE: Unnatural problem with Epson Stylus c67 Reply with quote

I use a different system, and the software may be older.

Install cups (print server / queue manager)
install gimp-print (contains epson drivers)
install libinklevel (library file used by other apps, such as ink, to read levels)
install ink (ink -d /dev/usblp0 will check ink levl on usb printer)

Just some things for you to try if no-one else comes back with anything.
Use the above names and search Yast to see if they are available for suse, might use different setup.
_________________
I think, therefore I compile
Back to top
View user's profile Send private message
lucyrssll



Joined: Mon Aug 18, 2008 1:50 pm
Posts: 1

PostPosted: Mon Aug 18, 2008 1:50 pm    Post subject: Epson Stylus C62 Reply with quote

(USER WAS BANNED FOR THIS POST)
Back to top
View user's profile Send private message
M-Saunders
LXF regular


Joined: Mon Apr 11, 2005 1:14 pm
Posts: 2893

PostPosted: Mon Aug 18, 2008 2:10 pm    Post subject: RE: Epson Stylus C62 Reply with quote

Thanks for plugging your company here lucyrssll. Oh wait, are you the same lucyrssll who's banned from the Mac Rumors forums, and who has posted the same spam on the OpenSUSE Forum, among other places?

Get off my interwebs.

M
Back to top
View user's profile Send private message Visit poster's website
ajgreeny
LXF regular


Joined: Wed May 10, 2006 9:18 pm
Posts: 453
Location: Oxfordshire.

PostPosted: Mon Aug 18, 2008 5:38 pm    Post subject: RE: Epson Stylus C62 Reply with quote

Try mtink again but make sure you are a member of both lpadmin and lp groups and it should then work as user and not need root.
_________________
Xubuntu 12.04 user, and loving it!
Back to top
View user's profile Send private message
gau_veldt



Joined: Sat Oct 11, 2008 8:05 pm
Posts: 2

PostPosted: Sat Oct 11, 2008 8:22 pm    Post subject: RE: Epson Stylus C62 Reply with quote

I'm running Ubuntu gutsy with Epson Stylus Color 1400 via USB and getting high failure rate when running
sudo escputil -i -r /dev/usb/lp0

One out of ten times it will work but the remaining attempts wind up reporting "Unknown IEEE 1284.4 error number 66" or "Unknown IEEE 1284.4 error number 69".

I don't get intermittent problems like this when trying to print anything so it's strange.

Does anyone have a way I might fix this problem?
Back to top
View user's profile Send private message
gau_veldt



Joined: Sat Oct 11, 2008 8:05 pm
Posts: 2

PostPosted: Mon Jan 25, 2010 12:22 am    Post subject: Epson Stylus Photo 1400 Reply with quote

I'm running Ubuntu gutsy with Epson Stylus Color 1400 via USB and getting high failure rate when running
sudo escputil -i -r /dev/usb/lp0

One out of ten times it will work but the remaining attempts wind up reporting "Unknown IEEE 1284.4 error number 66" or "Unknown IEEE 1284.4 error number 69".

I don't get intermittent problems like this when trying to print anything so it's strange.

Does anyone have a way I might fix this problem?
Back to top
View user's profile Send private message
linux1968



Joined: Mon Jun 21, 2010 3:34 pm
Posts: 1

PostPosted: Mon Jun 21, 2010 3:50 pm    Post subject: print utility Reply with quote

When used in a bash terminal in Kubuntu 10.4 it gives the info without problems.
I have Kubuntu 10.4 and run an Epson R300.
The moment I gave the command in , it shows me :

scputil version 5.2.5, Copyright (C) 2000-2006 Robert Krawitz
Escputil comes with ABSOLUTELY NO WARRANTY; for details type 'escputil -l'
This is free software, and you are welcome to redistribute it
under certain conditions; type 'escputil -l' for details.

Inktkleur Percentage nog aanwezig
Zwart 81
Cyaan 76
Lichtcyaan 77
Magenta 74
Lichtmagenta 71
Geel 68

the only little snag is that it asks for the password before giving the info.
Back to top
View user's profile Send private message
Rhakios
Moderator


Joined: Thu Apr 07, 2005 12:18 am
Posts: 7632
Location: Midlands, UK

PostPosted: Wed Jun 23, 2010 5:34 pm    Post subject: Re:escputil - Epson printer ink levels Reply with quote

fatima wrote:
I think Lexmark scanner software


Unlikely for an Epson printer.


linux1968 are you a member of the lpadmin group? OTOH if scputil is getting information from too low a level for normal users to access you might need to make it suid (or some modification to /etc/sudoers), with the associated security risk. Is typing in your password too much of a chore?
There used to be a nice little gui for epson printers, can't remember its name now.
_________________
Bye, Rhakios
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast