LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2016, 10:03 PM   #1
getdev
LQ Newbie
 
Registered: Feb 2011
Distribution: ubuntu + centos
Posts: 15

Rep: Reputation: 0
Error after installing a new HP printer


My old HP printer was definitely broken. So I have to buy a new one. After installing and configuring this new one in my old hplip version I decided to upgrade both printer firmware and hplip version (from 3.15 to 3.16).

All this work fine until I restart my computer. After log on I had an error in syslog :
Mar 26 03:38:10 servername hp-systray: hp-systray[PID]: error: option -s not recognized

And a bug report popup opened if I wish to send an error (not really explicit popup).

I made some research on the web, and if I found some other people who have the same issue, I don't find any solutions.

So I look for some information in my system about when this program has been launched and in "HPLIP status service" for a mistake in my configuration. And in "HPLIP status service" I found that no default printer had been set. Must due to the removing of the old printer. I was thinking it had no matter with my error but I set my new one as default.

After that I don't have the hp-systray error anymore. So did some others users have had experienced the same issue ?
What about the resolution, I'm not sure but I think the hp-systray must have a default printer to work fine when lauching my new session ?

And because I'm not sure that the issue don't come back, and if people experienced the same issue they can test my solution (and tell if it work for them), I decided to put it here.

Old printer : HP C410b all-in-one
New printer : HP OfficeJet Pro 6830
OS : ubuntu 14.04
 
Old 03-25-2016, 10:19 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Did you get as far as configuring your printer before this happened? What does the following report?
Code:
lpstat -t
You can set a default printer via the CUPS web interface (using a browser)

http://localhost:631

or via a terminal using

Code:
sudo lpoptions -d <printer_name>
http://unix.stackexchange.com/questi...efault-printer
 
Old 03-26-2016, 09:09 PM   #3
getdev
LQ Newbie
 
Registered: Feb 2011
Distribution: ubuntu + centos
Posts: 15

Original Poster
Rep: Reputation: 0
Hello,
Yes I had configured my printer when it happened.

I don't try the lpstat -t. But the lpq (I had printed a test page and want to know the status) said that there is no printer found. I had to give the explicit name for my printer :
lpq -P Officejet_Pro_6830.

I had set default printer via hp tool for my laptop (for my desktop, ubuntu 12.04 I used cups).
 
Old 08-13-2020, 05:54 PM   #4
Digger1
LQ Newbie
 
Registered: Sep 2011
Location: Colorado Springs, CO
Distribution: Debian Squeeze
Posts: 25

Rep: Reputation: 0
Just upgraded from Debian Wheezy to Jessie (yeah, I know...).

Started getting the subject error callout (error: option -s not recognized)

OP suggestions implemented - no joy.

Sigh...
 
Old 08-13-2020, 08:40 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,803

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
Originally Posted by Digger1 View Post
Just upgraded from Debian Wheezy to Jessie (yeah, I know...).

Started getting the subject error callout (error: option -s not recognized)

OP suggestions implemented - no joy.

Sigh...
You're tagging on to a 4+ years old thread! Start a new thread with a suitable title and describe the issue with as much definitive detail as you can.

Last edited by ferrari; 08-13-2020 at 08:41 PM.
 
Old 08-14-2020, 01:21 AM   #6
getdev
LQ Newbie
 
Registered: Feb 2011
Distribution: ubuntu + centos
Posts: 15

Original Poster
Rep: Reputation: 0
Upgrade to 16.04 had solved the problem.
 
Old 08-14-2020, 01:21 AM   #7
getdev
LQ Newbie
 
Registered: Feb 2011
Distribution: ubuntu + centos
Posts: 15

Original Poster
Rep: Reputation: 0
I'm now on 18.04 and it also works fine.
 
  


Reply

Tags
hplip, printer installation



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] error while installing printer driver for hp printer .. M1213nf mfp sachin.davra Linux - Newbie 3 04-07-2014 01:35 AM
Printer problem - Installing Lexmark All in One Printer on Fedora 16 glock356 Linux - Hardware 2 01-21-2012 07:31 PM
system-config-printer error when configuring the printer for other language(Chinse) amit_pansuria Linux - General 4 08-04-2009 12:34 AM
an error installing system-config-printer-gui-0.6.116.5-1 q0987 Linux - Enterprise 2 01-11-2007 06:41 AM
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration