James G. Sack (jim) wrote:
Ralph Shumaker wrote:
Ralph Shumaker wrote:
Some programs (on fc4, and was the same on fc3) correctly see that my
default printer is my hp1100. Other programs, such as gnumeric always
come up defaulting to "generic postscript printer".
Anyone know why?
Anyone know how I can get *all* the programs to recognize the real
default printer?
List of programs...
<correctly defaulting to hp1100>
Open Office
Konqueror
KDVI
KFax
KFaxView
KGhostView
KIconEdit
KolourPaint
KPDF
Kwickshow
KView
The Gimp
KAddressBook
</correctly defaulting to hp1100>
<annoyingly defaulting to "generic postscript">
Gnumeric
gLabels
gedit
gnuCash (doesn't even list the hp
Project Management
</annoyingly defaulting to "generic postscript">
Am I seeing a pattern here?
Suspecting that it is something particular to gnome, I started poking
around and discovered this:
(Creating this prompt on Tue Jul 18 at 13:57:19.)
$ cat ./du-a | grep -i "gnome" | grep -i "print" | grep -i "generic"
8 ./usr/share/libgnomeprint/2.10.3/models/GNOME-GENERIC-PS.xml
8 ./usr/share/libgnomeprint/2.10.3/printers/GENERIC.xml
8
./usr/share/icons/HighContrastLargePrint/48x48/apps/gnome-application-generic.png
8
./usr/share/icons/HighContrastLargePrint/48x48/apps/gnome-folder-generic.png
8
./usr/share/icons/HighContrastLargePrintInverse/48x48/apps/gnome-application-generic.png
8
./usr/share/icons/HighContrastLargePrintInverse/48x48/apps/gnome-folder-generic.png
The second one listed (GENERIC.xml) has content that makes this appear
to be the culprit. Should I erase this file? Or would that break things?
Also, one line listed in that file is pretty much the name of the first
file listed (GNOME-GENERIC-PS). Perhaps both of the first two files
should go?
No, I don't have an authoritative answer, but it seems wrong to fix the
problem by removing those standard files -- which seem to come from the
libgnomeprintNN rpm (NN=22 for me, yours may be different).
I don't remember how to check but would be happy to if it will make a
difference. I don't know how I got that entry in my gnumeric printer
selection, but I don't want it to be the default. I NEVER use that
selection because I don't like it. IIRC, it always spits out an extra
blank page. Since I never use it, I don't see the point in having it.
I don't know if it has anything to do with the two files listed above.
Further, I don't know if these two files are needed. I suspect that
maybe they were installed when I installed fc4.
There seems to be at least 2 ways to configure printing:
1) system-config-printer, which is launched from then gnome menu "System
/ Administration / Printing". This tool has generally worked for me,
and allows setting a default printer, which seems to be used by my
gnumeric and ooffice (for example).
The menu system in fc4 does not have that so I used bash. It listed
only one printer, my hp1100, and it was already default. But all the
gnomish apps default to "generic postscript printer".
2) http://localhost:631 (requires cupsd service be running).
This is neat. But it too lists only one printer, my hp1100, and it is
already default. Why would gnumeric and other gnome apps be adding
"generic postscript printer" and defaulting to it whilst ignoring the
actual default setting of the system? How can I get rid of "generic
postscript printer"?
On my fc5 system, either config tool indicates the same (real) printer
as the default. I don't recall explicitly using the cups tool, but I
might have.
Perhaps someone can comment on whether there's anything wrong with
setting a default printer via both tools? Hmmm, since you already have
problems, it might be worth doing as an experiment/learning-experience.
They both already show the correct default. And neither of them show
the "generic postscript printer".
Oh well.. I just experimented a bit, and determined that either setup
tool added printers to the print menu of both gnumeric and gimp. The
system-config-printer tool seems to have a less friendly interface, but
a more complete selection of printer models <sigh>.
On my system, *only* the system-config-printer tool had an impact on
setting the default printer, behaving identically for gimp and gnumeric.
The only way I could change the default was to add a printer. I added
one, changed the default, but a fresh login and launch of gnumeric
showed the same old default (generic postscript printer). It showed the
new printer entry, but default was no different. In fact, it shows 4
printers, 2 of which don't exist, and 1 of which is basicly just a
duplicate of the actual printer. The four listed are:
Create a PDF document
Generic Postscript
TimeWaste
hp1100
And no matter what I do, gnome programs ALWAYS come up defaulting to the
second one.
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list