You are not logged in.
Trying out Arch for the first time and I decided to go with Gnome3 as well. Initially I had problems with network as well, but I installed networkmanager and network-manager-applet and all was well. However, I'm still not having any luck with printers after spending all of last night looking through the wiki and the forums. Cups is installed along with libgnomecups and system-config-printer-gnome and several other packages, but it hasn't made a difference. I am able to add printers through the local print server in a browser, but the Printers box that opens through System Settings is completely grayed out. Any help?
*changed image to thumbnail link
Last edited by asadsnowman (2011-04-22 16:39:56)
Offline
Wow, new to Arch and you are jumping right in to [testing]. Someone is adventurous...
It's funny, I ran gnome-control-center from a terminal and didn't have a "Printers" option (Gnome 2.32), but it gave an error wanting gnome-cups-manager. Maybe this is what you need: http://aur.archlinux.org/packages.php?ID=13408
If you don't know how to use AUR let us know.
Offline
asadsnowman,
Welcome to the Arch Linux forums. We like to keep the pictures down to about 250 pixels, we prefer thumbnails with links to the on-line image. This is partly just so the pages don't become ridiculously long.
The file size, however, is small so I'm not going to worry about it. The file size is important to our brethren on slow and/or expensive links.
Thanks
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Same here...
But when i configure a Printer with cups-webinterface this printer is shown in "gnome3-printer-settings"
Installing gnome-cups-manager change nothing.. still no way to add or del printer in System-Settings.
But i can reconfigure the setings and can print a testimage...
Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad
Offline
Actually it looks like I may have jumped the gun a little bit in saying that I could add printers through the web interface. I had pulled it up and everything seemed to be working, so I assumed that all was well, but when I actually click to add a printer or find a printer, it says Unable to add printer, Unknown. The error log file is filled with messages saying "IP lookup failed - connection from localhost closed!" and "[CGI] CUPS-Get-Devices request failed with status 502: Unknown". Chances are I've probably misconfigured something or maybe just missed configuring something altogether, but I'm not sure where else to go.
fphillips,
I was able to install the package you suggested, but it hasn't made any difference so far as I can tell... Is there any other information I can try and give you to help figure out what might be going on?
Offline
is simple, just start cups
/etc/rc.d/cups start
Give what you have. To someone, it may be better than you dare to think.
Offline
for me cupsdaemon is startet in my rc.conf
Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad
Offline
I have the same problem. When executing gnome-control-center from the terminal, I get the following error when opening Printers:
(gnome-control-center:31624): printers-cc-panel-WARNING **: Your system does not have the cups-pk-helper's policy "org.opensuse.cupspkhelper.mechanism.all-edit" installed. Please check your installation
Seems like we are missing some PolicyKit configuration.
Edit: BTW, CUPS is started from rc.conf, so that shouldn't be the problem
Last edited by vlc (2011-04-12 17:03:59)
Offline
My cups is (or says it is) started as well. I have it added to the daemons list in my rc.conf to start automatically, and I have tried restarting it manually. It reports that cups stops and is started again properly...
Offline
The complete messages are as follows:
----
killajoe: ~ $ gnome-control-center
libnm-glib.so.4: can not open shared object file: No such file or
Directory not found
Failed to load module: / usr/lib/control-center-1/panels/libnetwork.so
(gnome-control-center:29325): printers-cc-panel-WARNING **: Your system does not have the cups-pk-helper's policy "org.opensuse.cupspkhelper.mechanism.all-edit" installed. Please check your installation
---
Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad
Offline
@killajoe: Actually, the first 3 lines have nothing to do with our cups problem. They are about network manager probably not being installed. On my system, I only get the last line.
Offline
@vlc: right.. installing nm solve this errors....
Found the same bug here:
Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad
Offline
A quick PKGBUILD: http://pastebin.com/7Lm5QDka
Will someone try it and see if it fixes the PolicyKit error?
*Note: I didn't adjust any permissions, only /usr/libexec/cups-pk-helper-mechanism is executable.
Offline
Yes i do:
Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad
Offline
Just installed it. Seems to work, but I cannot unlock because of an unrelated problem with policykit. Will try it once that is sorted out.
Anyway, thanks fphillips.
Offline
I just can unlock but if i press + to add a printer gui segfaults:
---
segmentation fault gnome-control-center
---
My system is fresh installed ...
Last edited by killajoe (2011-04-12 19:49:25)
Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad
Offline
Well, I sorted out my problems with policykit (had disabled root account). I can unlock the dialog and click on "Add New Printer". It shows me a dialog with local and network printers and even shows my printer. But when I select it, the UI lags. Eventually, the dialog disappears, but all buttons are disabled.
This is what I get on the terminal:
(gnome-control-center:4772): printers-cc-panel-WARNING **: The name org.freedesktop.PackageKit was not provided by any .service files
I'm assuming gnome wants to find a driver for my printer, but cannot connect to packagekit.
Offline
(gnome-control-center:4772): printers-cc-panel-WARNING **: The name org.freedesktop.PackageKit was not provided by any .service files
Hmm, yeah, the other distros are using packagekit and we aren't, so...
Earlier I was going to suggest logging out/ restarting dbus / rebooting, but that's not going to do anything for this packagekit error.
You can install packagekit from [community], if you want to go that route.
Last edited by fphillips (2011-04-12 20:34:43)
Offline
@fphillips: PKGBUILD brings up the unlock button and I'm able to unlock, but when I click on add printer I get
(gnome-control-center:5158): printers-cc-panel-WARNING **: Cannot get devices.
and my printer doesn't show up, nor am I able try and add it blindly.
I'm not getting the PackageKit error, although this error could be keeping it from getting it that far. What am I missing?
Offline
Okay, so I figured out my "IP lookup failed - connection from localhost closed!" error that was keeping me from adding printers via the cups server through the browser. My cupsd.conf must have gotten a little hosed up because restoring the default file fixed that, and now adding printers through the browser works like a charm! Also, luckily I'm still not getting the PackageKit error (*knock on wood), but I still can't add printers through gnome-control-center. When you click Add Printer the dialog box comes up and acts like its searching for printers, but nothing ever shows up, and if you try and put in the address manually (i'm using a networked printer) and click add, the windows just closes and nothing else happens. I'm not getting any error messages through the console either to help point in the right direction, so I'm not sure where else to go with this.
On a side note, thanks for all the help so far everyone, Arch forums are great!
*Edit: This also applies to the "(gnome-control-center:5158): printers-cc-panel-WARNING **: Cannot get devices." error I was getting earlier. Restoring the cupsd.conf file fixed this.
Last edited by asadsnowman (2011-04-12 23:20:06)
Offline
Do you have hplip installed, assuming its a HP network printer? I have a Photosmart C6100 on the network here.
[fp@viron ~]$ pacman -Q |egrep 'cups|print'
cups 1.4.6-1
cups-pk-helper 0.1.2-1
gnome-cups-manager 0.33-6
libcups 1.4.6-1
libgnomecups 0.2.3-7
libgnomeprint 2.18.8-1
libgnomeprintui 2.18.6-1
printproto 1.0.5-1
python-gnomeprint 2.32.0-4
Are there no other errors on the command line from gnome-control-center when you click and it closes?
Last edited by fphillips (2011-04-12 23:48:23)
Offline
hplip is installed, and no, I don't get any kind of output at all. The whole printer windows doesn't close, only the add printer window, just to clarify. Here's my output from that same command:
[adam@atlas ~]$ pacman -Q |egrep 'cups|print'
cups 1.4.6-1
cups-pdf 2.5.0-1
cups-pk-helper 0.1.2-1
gnome-cups-manager 0.33-6
gutenprint 5.2.6-1
libcups 1.4.6-1
libgnomecups 0.2.3-7
libgnomeprint 2.18.8-1
libgnomeprintui 2.18.6-1
pycups 1.9.55-1
system-config-printer-common 1.3.2-1
system-config-printer-gnome 1.3.2-1
Last edited by asadsnowman (2011-04-13 02:32:08)
Offline
1) From https://fedoraproject.org/wiki/Test_Day … 9_Printing
one user (Tim Waugh, a gnome dev) says "Network printer detection by IP address/hostname not yet implemented"
2) Here is a picture of F15 Network Printer setup https://bugzilla.redhat.com/attachment.cgi?id=487539
The bug is about showing "localhost" rather than the IP.
Both of these points were from more than two weeks ago. I think I'll try F15 ( http://www.gnome3.org/tryit.html ) to see what it does here. If it really is not implemented, then that could explain why the dialog just closes without error (exits when it gets to that function.)
Are you able to print when you set up the printer through CUPS (from any app or inside the cups webpage)?
Offline
I am able to print fine if I get the printer set up through CUPS, and it even shows up fine in the gnome-control-center after it was added with the correct IP address and everything. It just can't seem to add them. If they haven't implemented it yet then it looks like I'm at a dead end. Not too much of a big deal since I can still add through CUPS and it seems to work fine after that, but it'll be nice once everything is all working properly.
Offline
You should have avahi installed (its a dependency of libcups). Put avahi-daemon in your rc.conf, delete the printer, and make sure the daemon starts. Then see if it is detected automatically in control center. It may work better when it is detected over DNS-SD rather than putting in the IP manually.
You should be able to do this at least:
[root@viron ~]# lpinfo -l -v
Device: uri = dnssd://Photosmart%20C6100%20series%20%5B98D1AD%5D._pdl-datastream._tcp.local/
class = network
info = Photosmart C6100 series [98D1AD]
make-and-model = HP HP Photosmart C6100 series
device-id = MFG:HP;MDL:Photosmart C6100 series
location =
Offline