Re: Printer HP c7280: No Installed HP Devices Found

2008-02-06 Thread Gerard Robin

On Tue, Feb 05, 2008 at 07:37:46PM -0500, Andrew Malcolmson wrote:

From: Andrew Malcolmson [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Subject: Re: Printer HP c7280: No Installed HP Devices Found

On Tue, 5 Feb 2008 16:13:26 +0100, Gerard Robin [EMAIL PROTECTED]
said:

Hello,
When I configured my printer HP c7280 (Photosmart all-in-one) the
command: sudo hp-toolbox got me:

No Installed HP Devices Found
To install a device, use one of the following methods:
-8

ERROR: No device found or unsupported device



The device is not registered with hplip.

Try deleting the printer in CUPS and re-adding it with 'hp-setup'


-1-
as root (with su, not sudo)
hp-setup:
Session management error: Authentication Rejected, reason :
None of the authentication protocols specified are supported and host-based 
authentication failed
error: Unable to find HP fax PPD file. Please check you(r) HPLIP installation 
and try again.
8--
your printer has been successfully installed on your system

-2-
I discovered that when I do hp-toolbox as root, with su and passwd root,
(not sudo) I get briefly: ERROR: no device found or unsupported device
and after that hp-toolbox works.

-3-
I choose scan in the menu:
You try to run Xsane as root, that is very dangerous ...
xsane works fine and gives a file out.pnm or out.txt but the file
out.txt is unreadable. It is gocr which doesn't work correctly. 


-4-
I choose print in the menu: works fine. (doesn't print the letters with 
accents)

-5- (gnome)
system - preference - HPLIP Toolbox doesn't work because hp-toolbox is 
launched with the command: (as normal user)
sh -c 'STARTED_FROM_MENU=yes /usr/bin/hp-toolbox' 
I rewrited it as:
sh -c 'STARTED_FROM_MENU=yes gksu /usr/bin/hp-toolbox' 
and now system - preference - HPLIP Toolbox works.


Why can't I make hp-toolbox work as normal user ?
Why can't I make xsane work as normal user ? 


tia
--
Gérard




Re: Printer HP c7280: No Installed HP Devices Found

2008-02-06 Thread Brad Rogers
On Wed, 6 Feb 2008 16:24:27 +0100
Gerard Robin [EMAIL PROTECTED] wrote:

Hello Gerard,

 Why can't I make hp-toolbox work as normal user ?
 Why can't I make xsane work as normal user ? 

Make sure the normal user is a member of both 'lpadmin' and 'scanner'
groups.  They should then be able to run the relevant commands.

-- 
 Regards  _
 / )   The blindingly obvious is
/ _)radnever immediately apparent

Love is a temple, love is a shrine
You Have Placed A Chill In My Heart - Eurythmics


signature.asc
Description: PGP signature


Re: Printer HP c7280: No Installed HP Devices Found

2008-02-06 Thread Gerard Robin

On Wed, Feb 06, 2008 at 03:35:19PM +, Brad Rogers wrote:

From: Brad Rogers [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Subject: Re: Printer HP c7280: No Installed HP Devices Found



On Wed, 6 Feb 2008 16:24:27 +0100
Gerard Robin [EMAIL PROTECTED] wrote:



Hello Gerard,



Why can't I make hp-toolbox work as normal user ?
Why can't I make xsane work as normal user ? 



Make sure the normal user is a member of both 'lpadmin' and 'scanner'
groups.  They should then be able to run the relevant commands.


I added, says userfoo, in lpadmin and scanner and now xsane starts an 
runs fine, but file - quit gives twice: failed to create file: Permission denied.


in the terminal I get:
(xsane:6479): Pango-WARNING **: Invalid UTF-8 string passed to 
pango_layout_set_text()
(xsane:6479): Pango-WARNING **: Invalid UTF-8 string passed to 
pango_layout_set_text()

if I set LANG to C this not arises

userfoo can also start hp-toobox now

Thanks

--
Gérard



Re: Printer HP c7280: No Installed HP Devices Found

2008-02-06 Thread Brad Rogers
On Wed, 6 Feb 2008 20:07:37 +0100
Gerard Robin [EMAIL PROTECTED] wrote:

Hello Gerard,

 in the terminal I get:
 (xsane:6479): Pango-WARNING **: Invalid UTF-8 string passed to
 pango_layout_set_text() (xsane:6479): Pango-WARNING **: Invalid UTF-8
 string passed to pango_layout_set_text()

I'm not at all sure what caused that
 
 if I set LANG to C this not arises

But as that stops it happening

 userfoo can also start hp-toobox now
 Thanks

You're welcome.  Glad you've got it all going.

-- 
 Regards  _
 / )   The blindingly obvious is
/ _)radnever immediately apparent

The stakes were high but the danger low
Charade - Skids


signature.asc
Description: PGP signature


Re: Printer HP c7280: No Installed HP Devices Found

2008-02-06 Thread Gerard Robin

On Wed, Feb 06, 2008 at 07:40:38PM +, Brad Rogers wrote:

From: Brad Rogers [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Subject: Re: Printer HP c7280: No Installed HP Devices Found


On Wed, 6 Feb 2008 20:07:37 +0100

Gerard Robin [EMAIL PROTECTED] wrote:



userfoo can also start hp-toobox now

Sorry I forgot to say that if LANG is not set to C hp-toolbox failed (for 
userfoo)
and in the menu system - preferences -  HPLIP Toolbox I put the
command : sh -c 'LANG=C; STARTED_FROM_MENU=yes /usr/bin/hp-toolbox' and
now it's ok for userfoo
(it's odd job but it's working ;-))

Thanks again.
--
Gérard



Re: Printer HP c7280: No Installed HP Devices Found

2008-02-06 Thread Brad Rogers
On Wed, 6 Feb 2008 23:03:57 +0100
Gerard Robin [EMAIL PROTECTED] wrote:

Hello Gerard,

 command : sh -c 'LANG=C; STARTED_FROM_MENU=yes /usr/bin/hp-toolbox'
 and now it's ok for userfoo
 (it's odd job but it's working ;-))

Very odd, yes.  Seems as though there are some LOCALE issues there.
Sadly, that's not something I know enough about to offer any help.

 Thanks again.

You're welcome.

-- 
 Regards  _
 / )   The blindingly obvious is
/ _)radnever immediately apparent

It's becoming an obsession
Teenage Depression - Eddie  The Hot Rods


signature.asc
Description: PGP signature


Re: Printer HP c7280: No Installed HP Devices Found

2008-02-05 Thread Andrew Malcolmson

On Tue, 5 Feb 2008 16:13:26 +0100, Gerard Robin [EMAIL PROTECTED]
said:
 Hello,
 When I configured my printer HP c7280 (Photosmart all-in-one) the
 command: sudo hp-toolbox got me:
 
 No Installed HP Devices Found
 To install a device, use one of the following methods:
 -8
 
 ERROR: No device found or unsupported device
 

The device is not registered with hplip.

Try deleting the printer in CUPS and re-adding it with 'hp-setup'
---
Andrew Malcolmson


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]