On Tue, May 15, 2007 at 06:25:40PM -0300, Anton Galitch wrote:
>  Well, I did this and now the permissions look like this:
>  -r-xr-sr-x  1 root  usb  72504 May 15 13:01 escputil
>  and if I execute the program being in my user it tells permission denied.

Yes, because escputil belongs to the 'usb' group. It should belong to the
same group as /dev/ulpt0, which should be 'cups'. 

A 'chown :cups escputil' should fix that.
>  Another problem is that when I executed it in root, it showed
>  #escputil -iur /dev/ulpt0
>  Cannot open /dev/ulpt0 read/write: Device busy
>  There is no printing job, and in the control panel in kde I can see that
>  printers state is Idle (accepting jobs).

I think you need to drop the -r option, (and -u as well). Cups is
probably already using the device.

R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpvwU8KYQv96.pgp
Description: PGP signature

Reply via email to