When I goto https://hostname:631/admin or go to https://hostname:631 and click on Administration. There are two check boxes to pay attention to. One is for the central cups server, the other is for the local cups server.

On the central print server check: Share published printers connected to this system
On the other print server(s) check: Show printers shared by other systems

All of my cups servers are 1.3.x. In our other office we have some cups 1.2.x servers still around. I don't see the option in the 1.2.x web gui to accomplish this, but may be possible if you edit the cups configuration files. Never looked into myself.

In the past I've always used http://www.lengers.com/index.php?option=com_content&view=article&id=60:solaris-10-how-to-get-cups-printing-going&catid=53:solaris&Itemid=61
as guide. That worked well for the Cups included on the supplemental cd. Not so much with the blastwave version, but some of it is valid. Mostly the symlinks and SMF stuff.
You're gonna either want the blastwave bin dir in your path or create symlinks. I have both :)

Here's what all my lp* files look like. You probably don't need to make symlinks to lpstat or lprm, I was just being thorough. I don't think I've ever used the commands though.

bash-3.00$ ls -lsa /usr/bin/lp*
   2 lrwxrwxrwx   1 root     root          15 Nov  5 13:12 /usr/bin/lp -> /opt/csw/bin/lp
  40 -r-xr-xr-x   1 root     bin        19936 Jul 15  2008 /usr/bin/lp.solaris
   2 -rwxr-xr-x   1 root     bin          172 Feb 17  2000 /usr/bin/lp_1251
  40 -r-xr-xr-x   1 root     bin        20468 Mar 19  2008 /usr/bin/lpc
  12 -r-x--x--x   1 root     lp          5800 Aug 14  2007 /usr/bin/lpget
  32 -r-xr-xr-x   1 root     bin        15392 Mar 19  2008 /usr/bin/lpq
   2 lrwxrwxrwx   1 root     root          16 Nov  5 13:11 /usr/bin/lpr -> /opt/csw/bin/lpr
  32 -r-xr-xr-x   1 root     bin        16072 Mar 19  2008 /usr/bin/lpr.solaris
   2 lrwxrwxrwx   1 root     root          17 Mar  9 13:47 /usr/bin/lprm -> /opt/csw/bin/lprm
  32 -r-xr-xr-x   1 root     bin        15376 Mar 19  2008 /usr/bin/lprm.solaris
  20 -r-s--x--x   1 root     lp         10060 Mar 19  2008 /usr/bin/lpset
   2 lrwxrwxrwx   1 root     root          19 Mar  9 13:47 /usr/bin/lpstat -> /opt/csw/bin/lpstat
  50 -r-xr-xr-x   1 root     bin        25500 Jul 15  2008 /usr/bin/lpstat.solaris
  12 -r-xr-xr-x   1 root     lp          5704 Mar 19  2008 /usr/bin/lptest

Mozilla likes to use lpr in /usr/ucb/ and I think some Solaris release have an actual lpr binary there, and some just symlink to the one in /usr/bin

You'll probably want to confirm.

bash-3.00$ ls -lsa /usr/ucb/lp*
   2 lrwxrwxrwx   1 root     root           9 Nov 26 08:52 lp -> ../bin/lp
   2 lrwxrwxrwx   1 root     root          10 Nov  5 08:36 lpc -> ../bin/lpc
   2 lrwxrwxrwx   1 root     root          10 Nov  5 08:36 lpq -> ../bin/lpq
   2 lrwxrwxrwx   1 root     root          10 Nov  5 08:36 lpr -> ../bin/lpr
   2 lrwxrwxrwx   1 root     root          11 Nov  5 08:36 lprm -> ../bin/lprm
   2 lrwxrwxrwx   1 root     root          13 Nov  5 08:36 lptest -> ../bin/lptest

Lengers.com talks about some init scripts and SMF scripts.

Here's what my SMF print services look like.

bash-3.00$ svcs -a |grep print
disabled       Dec_20   svc:/application/print/server:default
disabled       Dec_20   svc:/application/print/ipp-listener:default
disabled       Dec_20   svc:/application/print/rfc1179:default
online         Dec_20   svc:/application/print/ppd-cache-update:default
online         Dec_20   svc:/application/cde-printinfo:default
online         Mar_09   svc:/application/print/cswcups:default


Eric Bautsch wrote:
Stupid question: How do you tell CUPS to populate from a central CUPS server?

I have tried looking on the web, but am totally prepared to take a RTFMP if someone could point me at the right man page.... ;-)

Eric


Aaron Wilson wrote:
We use cups from opencsw/blastwave here.

We actually have a central  cups server setup and that is setup with all of it's printers shared.

Then on our sunray servers we also have cups installed and it's set to see printers shared by other servers.

So the cups on our sunray servers automatically populate with the printers from our central cups server.

We've had this setup for about 6 months now and it's worked really well for us.
And I can confirm this works with firefox3 and this new version of acroread.

We didn't use to have a central cups server. Only reason we do now is because it's annoying to figure out which sunray server a user having a printing issue is logged into so you can figure out which cups server to login to. Not to mention if you changed a printer on one of the sunray cups servers, then you had to repeat for all your sunray cups servers. Also if we want to work on a printer, then we can unpublish it on the central cups server and it won't appear in the cups on any of the sunray servers anymore. Keeps people from printing to a printer you're trying to work on.


Aaron

Darrel Hankerson wrote:
Stoyan Angelov writes:

   adobe has finally released a modern port of Adobe Reader for the
   Solaris x86 platform!

The printing support is for cups, and Sun dropped cups from the
companion CD for the 10_08 release.  Acroread will print without cups,
but there's no menu selection of printers.  If I recall correctly, the
story may be similar for firefox 3 contributed by Sun.

Perhaps it's time to switch to cups, but I suspect I'll point acroread
to an existing cups server.  (In very limited testing, the cups material
on our system from 2005 works with 10_08.)  What's the smart solution?

-- 
Darrel Hankerson
_______________________________________________
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users
 



_______________________________________________ SunRay-Users mailing list SunRay-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/sunray-users

-- 
Aaron Wilson
Ernie Ball, Inc.
I.T. Department
aa...@ernieball.com
(805)544-7726
 

NOTICE: This e-mail is for the sole use of the intended recipient(s).
Any unauthorized review, use, disclosure or distribution of this e-mail
or its contents is strictly prohibited. If you are not the intended
recipient, please contact the sender by reply mail and destroy the
original and all copies of the original message.
_______________________________________________
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to