[PLUG] xsane error

Dick Steffens dick at dicksteffens.com
Fri Feb 14 21:40:09 UTC 2025


On 2/13/25 19:28, King Beowulf wrote:
> On 2/13/25 18:15, Dick Steffens wrote:
>> ailed to execute printer command "lp -P hpljm 148
>>
>> I click Close and the above list of errors repeats.
>>
>> The only way to stop the circle is to click all the Ok buttons and be
>> ready to close xsane as soon as I finish clicking the Close error button.
>>
>> That printer command may be bogus. I was following some Duck Duck Go
>> search results and found something that was for a different brand, and
>> duplicated it with what seems like what it would be for my printer. I
>> neglected to document what was there when I started.
>>
>> Any thoughts on what is going on, and how to correct it?
> It depends on what CUPS printer drivers you have set up an configured.
> For HP, most distros use HPLIP to set up printing and scanning.  use
> those tools, or open CUPS. CUPS, et al may just have gotten confused
> when the printer entered a not ready error state.  Did you open the CUPS
> web admin page?
>
> http://localhost:631/admin  (login with root password.  No root?  A fool
> and his root are soon parted.)
>
> you can poke around and restart the printer if stuck in a not ready state.
>
> If HPLIP is installed, you can use "hp-probe" for device discovery.
>
> or just reboot.
>
> -Ed
>
>

I meant to copy the List, but didn't notice Ed's replay didn't go there 
and thus there was no Reply List button. Here's my reply to Ed.


I have hplip installed, but don't use the tools directly. I just did 
that and scanned the photo I need. It saved the .jpg where I asked it 
to, but then gave me an error message:

Failed to execute child process. " (No such file or directory)

While I have the hplip tool open I'm looking at the tab for my printer. 
Item 8 in the list says:

([Errno 2] No such file or directory: '/home/rsteff/.cups/lpoptions')

I don't have a .cups directory in /home/rsteff. I have a .hplip 
directory with hplip.conf, hp-systray.lock and hp-toolbox.lock. I assume 
the lock files are there because I have those things open. There is also 
a directory in there named .gnupg, with an empty directory 
private-keys-v1.d, and three files, pubring.kbx, pubring.kbx~, adn 
trustdb.gpg.

So, the immediate need has been taken care of, but I still need to 
figure out what to do about xsane.

I assume that having a .cups/lpoptions file might be a good thing. Is 
there something I need to do to create one?

Thanks for the help.

-- 
Regards,

Dick Steffens



More information about the PLUG mailing list