Setting up user printers.

Looking for the best way to do it.

I have remote printers that I add to the system with lpadmin. They don't show up as options for end users, unless the users go into gnome-printinfo and "show" the printers (default is that new printers are hidden).

This is not good. I need newly added printers to automatically become available to all users. Trying to find all the users and then step them through the process is not something I want to try to do every time there's a change!

I've found that each user's ".printers" file has a list of available printers. Modifying that file does indeed change the printers available in the print dialogs for applications. However, that doesn't appear to be a complete solution. Changes made there are NOT reflected in gnome-printinfo (but gnome-printinfo DOES update/overwrite that file when changes are made)! What all DOES gnome-printinfo update, and can I easily script it for "all users"?

[958 byte] By [DoxBriana] at [2007-11-26 19:50:09]
# 1
Doesn't look like there is a good way. Best I have is to go in and login manually as each and every user and update the settings with gnome-printinfo... All the other methods I've looked at had bad side effects...
DoxBriana at 2007-7-9 22:39:18 > top of Java-index,Desktop,Sun Java Desktop System...
# 2
What we do at our site is actually to use CUPS instead of the Solaris-shipped print system. Let me know if you would like a copy of the packages we built (it will require the Solaris print subsys packages to be uninstalled).
ywlke287a at 2007-7-9 22:39:19 > top of Java-index,Desktop,Sun Java Desktop System...
# 3
Thanks for the offer, but I'd rather login/out a bunch of times than to install CUPS :-)
DoxBriana at 2007-7-9 22:39:19 > top of Java-index,Desktop,Sun Java Desktop System...
# 4
I thought lpadmin updated a centralized config...try looking at /etc/printers.conf.
ywlke287a at 2007-7-9 22:39:19 > top of Java-index,Desktop,Sun Java Desktop System...
# 5
lpadmin *does* update the printers available to the user through lp. However, it doesn't update the gnome printer selection menu... They default to "hidden" and have to be manually selected.Looking into /etc/printers.conf pointed me at "lpset" as well. Never heard of that before.
DoxBriana at 2007-7-9 22:39:19 > top of Java-index,Desktop,Sun Java Desktop System...