[SunRay-Users] Off-Topic: Adobe Reader 9.1.0 finally available for Solaris x86!
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 -- / . Eric A. Bautsch /-- __ _____ / // / / (_/(___(__/ email: eric.baut...@pobox.com smime.p7s Description: S/MIME Cryptographic Signature ___ SunRay-Users mailing list SunRay-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/sunray-users
Re: [SunRay-Users] Off-Topic: Adobe Reader 9.1.0 finally available for Solaris x86!
Have a look here: http://blogs.sun.com/DanX/entry/using_cups_print_server_for And change ServerName in /opt/sfw/cups/etc/cups/client.conf Detlev Am 26.03.2009 um 21:39 schrieb Eric Bautsch: 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 -- / . Eric A. Bautsch /-- __ ___ __ / // / / (_/(___(__/ email: eric.baut...@pobox.com ___ 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
Re: [SunRay-Users] Off-Topic: Adobe Reader 9.1.0 finally available for Solaris x86!
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_contentview=articleid=60:solaris-10-how-to-get-cups-printing-goingcatid=53:solarisItemid=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
Re: [SunRay-Users] Off-Topic: Adobe Reader 9.1.0 finally available for Solaris x86!
2009/3/27 Eric Bautsch eric.baut...@pobox.com: 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 ;-) http://www.cups.org/doc-1.1/sam.html#BrowsePoll :) ___ SunRay-Users mailing list SunRay-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/sunray-users
Re: [SunRay-Users] Off-Topic: Adobe Reader 9.1.0 finally available for Solaris x86!
Eric Bautsch writes: Stupid question: How do you tell CUPS to populate from a central CUPS server? If you mean that you want a simple way to use an existing cups server without changing the stock printing on the Solaris system, then I can describe what I tested. 1. Install SFWcups from a Solaris Companion CD. Versions from 2005 and 2008 worked in my limited testing, but 10_08 does not have cups. 2. cups has changed character set handling (and I don't understand all the issues). We have some versions that don't care, but the target machine does. I changed the file /opt/sfw/cups/lib/locale/en_US/ to have utf-8, but there may be smarter workarounds. Here's the script I tested with acroread (replace ... with your cups server). #!/bin/sh prefix=/opt/sfw/cups LC_ALL=en_US CUPS_SERVER=... PATH=$prefix/bin:$PATH LD_LIBRARY_PATH=$prefix/lib export LC_ALL CUPS_SERVER PATH LD_LIBRARY_PATH exec /opt/Adobe/Reader9/bin/acroread $@ This gives a menu of printers and appears to work, but my testing is limited. As a simpler test, replace the exec line with something like lpstat -p Monitor the cups error log on the cups server when you run the lpstat test. -- Darrel Hankerson ___ SunRay-Users mailing list SunRay-Users@filibeto.org http://www.filibeto.org/mailman/listinfo/sunray-users