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
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to