GNOME Bugzilla – Bug 143628
Gnome-print doesn't display share printers if no printer is configured
Last modified: 2004-12-22 21:47:04 UTC
Yeah, I know the summary doesn't sound like it makes sense. Let me explain. The set up involves two Linux desktops, a HP Laser Jet (with Jet Direct) and a HP DesignJet printer connected to a linux server. All the linux boxen are using cups. The HP DesignJet is shared using the server, and can be auto-detected using cups. The HP LaserJet is configured using desktop 1 with two configurations (hplj4mv at 300x300DPI and hplj4mv-hq at 600x600DPI). These configurations are set up to be shared using Cups. The final desktop (2) hasn't had any printers configured, but can see (and print to) the two printers above (or really three as one has two profiles). When I open a gnome-print dialog on desktop 1 (using file > print... in gedit for example) the three printers show up in the Printer Field along with 'Create a PDF' and 'Generic Postscript'. When I open a gnome-print dialog on desktop 2 the three printers don't show up at all. I'm assuming that this is because no printer has been configured locally, but given that shared printers are showing up on desktop 1 I can't see why they aren't showing on desktop 2 too.
gnome-print is simply showing the printer known to cups at the time the application starts. Are those printers in fact visible on desktop 2 using "lpq -P printername"?
All three printers show using "lpq -P printername". [rodd@clownfish shareappeal.org.au]$ lpq -P hplj4mv hplj4mv is ready no entries [rodd@clownfish shareappeal.org.au]$ lpq -P hplj4mv-hq hplj4mv-hq is ready no entries [rodd@clownfish shareappeal.org.au]$ lpq -P hpdj750c hpdj750c is ready no entries However, I restarted gedit and then started gpdf (which I haven't used at all) and neither showed these printers in the print dialog
I've also tried restarting my desktop, with no luck either.
On desktop 2 which printer entries do you have in the print dialog: Generic Postcript PDF File anything else?
Just these two. Generic Postscript Create a PDF Document
If you only get those two entries we apparently get no printers from cups. Which version(s) of libcups are you using on the two machines?
Would you feel comfortable to compile libgnomeprint from cvs (with a slight modification) to help in the debugging of this problem?
I'm using the follow versions of cups (as part of FC2) $ rpm -qa | grep cups libgnomecups-0.1.6-7 cups-libs-1.1.20-11.1 gimp-print-cups-4.2.6-11 cups-1.1.20-11.1 I'm comfortable with downloading CVS and compiling (I use garnome for my builds). Tell me what to grab.
Okay, from gnome cvs please get module libgnomeprint branch gnome-2-6 We should first see whether the problem persists with the release version. If it does we will include some debug spew in the cups module of libgnomeprint.
I'm going to mark this "NOT A BUG" just as soon as I stop banging my head against a brick wall. <announcer> ... and the award for most stupid idiot goes to Rodd Clarkson for...</announcer> It turns out that all I needed to do was install cups-devel before compiling libgnomeprint. That's right. So flaming obvious that it should have just been apparent from the get go. It even indicates this at the end of running ./configure.