This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Printers - Invalid Argument

Tags: printer, system settings, error printer, system settings, error printer, system settings, error
(comma "," separated)
User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Printers - Invalid Argument

Tue Mar 19, 2013 2:48 pm
When I open the printer settings, I see for a short time the normal GUI (Add Printer, Remove Printer etc...) but then it vanish and there is big printer with the red/white error cross and it says "Invalid Argument". Ant there is nothing I can do anymore (except going back to system settings).

I don't have any printer installed yet (but I want to...).

What can I do about this?
User avatar
google01103
Manager
Posts
6668
Karma
25

Tue Mar 19, 2013 3:22 pm
in konsole run
Code: Select all
kcmshell4 kcm_printer_manager

any error messages?

also try running as root with kdesu


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re:

Tue Mar 19, 2013 3:44 pm
google01103 wrote:in konsole run
Code: Select all
kcmshell4 kcm_printer_manager

any error messages?
Code: Select all
kcmshell(3918) KCupsConnection::retry: IPP_INTERNAL_ERROR: clearing cookies and reconnecting
kcmshell(3918) KCupsConnection::retry: IPP_INTERNAL_ERROR: failed to reconnect
...
kcmshell(3918) KCupsConnection::retry: IPP_INTERNAL_ERROR: clearing cookies and reconnecting
kcmshell(3918) KCupsConnection::retry: IPP_INTERNAL_ERROR: failed to reconnect
kcmshell(3918) KCupsRequest::serverError: status unrecognised:  1280
Seems to be something with cups. AFAIK, I had set CUPS to autostart, but apparently not? How can I check & fix this?

google01103 wrote:also try running as root with kdesu
Which command line option do I need here?
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Printers - Invalid Argument

Tue Mar 19, 2013 4:56 pm
is cupsd running?
Code: Select all
pgrep cupsd


since my system requires the module run as root and you didn't state if you were requested the password
Code: Select all
kdesu  kcmshell4 kcm_printer_manager


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re: Printers - Invalid Argument

Tue Mar 19, 2013 5:42 pm
google01103 wrote:is cupsd running?
Code: Select all
pgrep cupsd
Nothing happens here.

google01103 wrote:since my system requires the module run as root and you didn't state if you were requested the password
Code: Select all
kdesu  kcmshell4 kcm_printer_manager
With this command I'm asked for root pw. However, it doesn't matter I get the same error as root.
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Printers - Invalid Argument

Tue Mar 19, 2013 5:51 pm
as pgrep doesn't respond with a process number cups isn't running

try running as root in konsole
Code: Select all
 cupsd


then make sure it's running with pgrep and if it is try printer settings again


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re: Printers - Invalid Argument

Tue Mar 19, 2013 7:50 pm
Thank you, everything works now!

I hope this isn't too much OT, but can you tell me how I make sure that cups is running every time on system start? 8)
User avatar
google01103
Manager
Posts
6668
Karma
25

  Topic is solved

Tue Mar 19, 2013 8:32 pm
I don't know how Chakra and this might be distro specific but I did find a couple of useful posts that should help:

setting up printers (note the "Starting the printer installation" section) http://chakra.sourceforge.net/wiki/inde ... ur_Printer
thread regarding cups not starting at boot http://chakra-project.org/bbs/viewtopic.php?id=7835


OpenSuse Leap 42.1 x64, Plasma 5.x

luebking
Karma
0

Re: Printers - Invalid Argument

Tue Mar 19, 2013 9:47 pm
sudo systemctl --enable cupsd
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Printers - Invalid Argument

Wed Mar 20, 2013 5:21 am
Note that you can also try as a debugging step whether the CUPS web administration interface works.
This is accessible at http://localhost:631/ usually


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
fakd
Registered Member
Posts
203
Karma
0
OS

Re: Printers - Invalid Argument

Wed Mar 20, 2013 12:27 pm
Thanks all for your help, I managed now to enable cupsd on system startup (which must be an initial error of my distro).

Anyhow, if there would have been a sane error message, I wouldn't have this forum bothered at all, but instead looked at the CUPS daemon.
Thats why I filled this followup bug: Provide sane Error Message when CUPS is not running


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]