Difference between revisions of "Talk:CUPS"

From ArchWiki
Jump to: navigation, search
m (Device node permissions: added user's signature)
m (Gnome Printing Workflow: fix caps, add template)
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
==Kernel modules==
 
==Kernel modules==
 
+
The whole kernel modules section is confusing. Is it mandatory? What exactly should we do?<br>
The whole Kernel modules section is confusing. Is it mandatory? What exactly should we do?
+
-- [[User:Drozzy|Drozzy]] ([[User_talk:Drozzy|talk]]) 10:37, April 10, 2012
  
 
== Print button greyed-out in GNOME print dialogs ==
 
== Print button greyed-out in GNOME print dialogs ==
  
 
As suggested by the Arch wiki, I used the  
 
As suggested by the Arch wiki, I used the  
# HostNameLookups Double
+
# HostNameLookups Double
 
option. However, that resulted in following error message:  
 
option. However, that resulted in following error message:  
 
IP lookup failed - connection from localhost closed!
 
IP lookup failed - connection from localhost closed!
Line 15: Line 15:
 
http://www.cups.org/str.php?L4070+Qversion:%20-feature
 
http://www.cups.org/str.php?L4070+Qversion:%20-feature
  
Removing the HostNameLookups double form the cups config file resolved my issue. Not sure why this used to solve instead of create problems.
+
Removing the HostNameLookups double form the cups config file resolved my issue. Not sure why this used to solve instead of create problems.<br>
 +
-- [[User:Davidovitch|Davidovitch]] ([[User_talk:Davidovitch|talk]]) 07:24, July 4, 2012‎
  
 
== Device node permissions ==
 
== Device node permissions ==
Line 28: Line 29:
 
-- [[User:Ioo|Ioo]] ([[User_talk:Ioo|talk]]) 19:09, July 19, 2012‎
 
-- [[User:Ioo|Ioo]] ([[User_talk:Ioo|talk]]) 19:09, July 19, 2012‎
  
== <s>How to get the damned IP.</s> ==
+
== Is libcups really sufficient as a client package ? ==
 +
 
 +
I can't seem to be able to print in KDE applications (4.9.97) if I only have {{Pkg|libcups}} installed:
 +
 
 +
''Could not print the document. Detailed error is "Could not find a suitable binary for printing. Make sure '''CUPS lpr''' binary is available"''
  
"Then add your cups server IP or hostname into /etc/cups/client.conf." ... begs the question how you get the freaking IP or hostname.<br>[[User:Jasper1984|Jasper1984]] ([[User talk:Jasper1984|talk]]) 17:30, 6 October 2012 (UTC)
+
But {{ic|/usr/bin/lpr}} is part of the {{Pkg|cups}} package... Could it be that KDE requires cups for printing ?<br>
 +
--[[User:Gdebure|Gdebure]] ([[User talk:Gdebure|talk]]) 23:02, 10 January 2013 (UTC)
  
:Run something like {{ic|ip addr}} on the server.
+
== Foomatic not providing drivers? ==
:[[User:Lonaowna|Lonaowna]] ([[User talk:Lonaowna|talk]]) 17:46, 6 October 2012 (UTC)
+
  
::Answered. Closing.
+
I don't know if this is a general-enough problem to be put on the wiki, but I was unable to print using my Konica-Minolta PagePro 1350w because the driver was not installed with foomatic. I installed foomatic-db, foomatic-db-engine, and foomatic-filters, and used the CUPS web interface to add the printer and select the recommended min12xxw driver. I was unable to print, and only got uninformative error messages in the logs like "Filter error". The Gnome printer dialog, however, said it was unable to find the driver, so I tried installing it from AUR (https://aur.archlinux.org/packages/min12xxw/), after which I was able to print. Why was the driver listed in the CUPS web management interface, but not actually installed? Maybe a note on the wiki will help future users.
::[[User:Jstjohn|Jstjohn]] ([[User talk:Jstjohn|talk]]) 18:49, 12 December 2012 (UTC)
+
  
== <s>cups + systemd</s> ==
+
[[User:Goodmami|Goodmami]] ([[User talk:Goodmami|talk]]) 04:42, 10 March 2013 (UTC)
Need more info for chapter "Installed Printers Do Not Appear in Print Dialogs After Installing/Upgrading to Systemd".
+
Existing suggestions from article (change socket path, etc) does not help.
+
<pre>
+
$ cat /etc/systemd/system/sockets.target.wants/cups.socket | grep Listen
+
ListenStream=/var/run/cups/cups.sock
+
  
$ systemdctl status cups
+
== GNOME Printing Workflow ==
cups.service - CUPS Printing Service
+
In my test, GNOME 3.8.1 print workflow no longer requires to install {{Pkg|system-config-printer}}. It should be removed from this wiki, also i am not sure if lpadmin is required either.
  Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
+
  Active: active (running) since Wed, 24 Oct 2012 11:54:21 +0400; 20min ago
+
Main PID: 15040 (cupsd)
+
  CGroup: name=systemd:/system/cups.service
+
  └ 15040 /usr/sbin/cupsd -f
+
  
Oct 24 11:54:21 localhost systemd[1]: Starting CUPS Printing Service...
+
[[User:Donniezazen|Donniezazen]] ([[User talk:Donniezazen|talk]]) 01:35, 12 May 2013 (UTC)
Oct 24 11:54:21 localhost systemd[1]: Started CUPS Printing Service.
+
Oct 24 11:54:21 localhost cupsd[15040]: Unknown directive DefaultAuthType on line 9.
+
Oct 24 12:02:42 localhost systemd[1]: Started CUPS Printing Service.
+
  
$ file /var/run/cups/cups.sock
+
== Printer driver ==
/var/run/cups/cups.sock: ERROR: cannot open `/var/run/cups/cups.sock' (No such file or directory)file /var/run/cups/cups.sock
+
</pre>
+
  
If cups started via {{ic|rc.d start cupsd}}, everything working ok.
+
The link to "ufr2", which points to the AUR, is dead.
 +
Is there an up to date link?<br>
 +
-- [[User:Jtgd|Jtgd]] 24 June 2013
  
:The referenced section was removed in [https://wiki.archlinux.org/index.php?title=CUPS&diff=239784&oldid=238050]. Closing.
+
:Isn't the listed {{AUR|cndrvcups-lb}} the same? The description says "Canon UFR II / LIPSLX Printer Driver for Linux with support for LBP/iR/MF printers".
:[[User:Jstjohn|Jstjohn]] ([[User talk:Jstjohn|talk]]) 18:48, 12 December 2012 (UTC)
+
:--[[User:Lonaowna|Lonaowna]] ([[User talk:Lonaowna|talk]]) 10:04, 24 June 2013 (UTC)

Revision as of 08:37, 25 June 2013

Kernel modules

The whole kernel modules section is confusing. Is it mandatory? What exactly should we do?
-- Drozzy (talk) 10:37, April 10, 2012

Print button greyed-out in GNOME print dialogs

As suggested by the Arch wiki, I used the

# HostNameLookups Double

option. However, that resulted in following error message: IP lookup failed - connection from localhost closed!

and I wasn't able to add printers via the CUPS web interface (internal server error)

It seems there is an outstanding bug with respect to the HostNameLookups: http://www.cups.org/str.php?L4070+Qversion:%20-feature

Removing the HostNameLookups double form the cups config file resolved my issue. Not sure why this used to solve instead of create problems.
-- Davidovitch (talk) 07:24, July 4, 2012‎

Device node permissions

I got a problem after update of hplip / cups and foomatic. My printer not working anymore.

So I first check possible problems and read section Device node permissions. It's recommended to verify that permissions are 660. It was my case so I am looking to find another solution.

After a long time and read I was back to this section. I read also section below Device node permission troubleshooting. As my conf was with well permission I don't really read all carefully. It was the 3rd/4th time before I see the note about 666 permissions. I tried this and it's solved my problem.

So I think it would be great to make also a note on Device node permissions about 666. Because my conf look alright as writing in wiki, but in fact not.
-- Ioo (talk) 19:09, July 19, 2012‎

Is libcups really sufficient as a client package ?

I can't seem to be able to print in KDE applications (4.9.97) if I only have libcups installed:

Could not print the document. Detailed error is "Could not find a suitable binary for printing. Make sure CUPS lpr binary is available"

But /usr/bin/lpr is part of the cups package... Could it be that KDE requires cups for printing ?
--Gdebure (talk) 23:02, 10 January 2013 (UTC)

Foomatic not providing drivers?

I don't know if this is a general-enough problem to be put on the wiki, but I was unable to print using my Konica-Minolta PagePro 1350w because the driver was not installed with foomatic. I installed foomatic-db, foomatic-db-engine, and foomatic-filters, and used the CUPS web interface to add the printer and select the recommended min12xxw driver. I was unable to print, and only got uninformative error messages in the logs like "Filter error". The Gnome printer dialog, however, said it was unable to find the driver, so I tried installing it from AUR (https://aur.archlinux.org/packages/min12xxw/), after which I was able to print. Why was the driver listed in the CUPS web management interface, but not actually installed? Maybe a note on the wiki will help future users.

Goodmami (talk) 04:42, 10 March 2013 (UTC)

GNOME Printing Workflow

In my test, GNOME 3.8.1 print workflow no longer requires to install system-config-printer. It should be removed from this wiki, also i am not sure if lpadmin is required either.

Donniezazen (talk) 01:35, 12 May 2013 (UTC)

Printer driver

The link to "ufr2", which points to the AUR, is dead. Is there an up to date link?
-- Jtgd 24 June 2013

Isn't the listed cndrvcups-lbAUR the same? The description says "Canon UFR II / LIPSLX Printer Driver for Linux with support for LBP/iR/MF printers".
--Lonaowna (talk) 10:04, 24 June 2013 (UTC)