Hi Chris, THANKS for this excellent summary! I am sure others will find this useful :) Just a liitle bit information, you can also use
System->Administration-Print Manager or system-config-printer (on the command line) to do the same thing as http://localhost:631 -Ghee Chris Pemberton wrote: > This procedure installs CUPS on OpenSolaris build 127 and configures printing > for a Samsung ML-1710 laser printer. > > This method produces PERFECT printing (the only method I have found to get > the top/bottom left/right margins centered) > > ##### INSTALL CUPS ############################################# > > # pkg install SUNWcups SUNWcups-libs SUNWcups-manager SUNWpycups > SUNWhal-cups-utils SUNWfoomatic-db > > The following two files cause error messages in /var/log/cups/error.log; so > we remove them: > > # rm /usr/share/cups/model/foomatic-db-ppds/Kyocera/kyocera_ppd_8.2.txt > # rm /usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm > > Import the CUPS service configuration: > > # svccfg import /var/svc/manifest/application/cups.xml > > Switch to the CUPS print service: > > # /usr/sbin/print-services -s cups > > At this point, you should be able to configure any CUPS compatible printer at: > > http://localhost:631 > > but this Samsung printer needs splix: > > http://splix.ap2c.org/ > > and splix needs jbigkit: > > http://www.cl.cam.ac.uk/~mgk25/jbigkit/ > > So we tackle jbigkit first. > > ##### INSTALL JBIGKIT ############################################ > > Download jbigkit sources and extract them: > > http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-2.0.tar.gz > > We need a few tools to compile jbigkit: > > # pkg install SUNWgcc SUNWgmake > > # cd jbigkit > # make > # make test > # cp libjbig/jbig.h /usr/local/include/ > # cp libjbig/jbig85.h /usr/local/include/ > # cp libjbig/jbig_ar.h /usr/local/include/ > # cp libjbig/libjbig.a /usr/local/lib/ > # cp libjbig/libjbig85.a /usr/local/lib/ > # cp pbmtools/jbgtopbm /usr/local/bin/ > # cp pbmtools/jbgtopbm85 /usr/local/bin/ > # cp pbmtools/pbmtojbg /usr/local/bin/ > # cp pbmtools/jbgtopbm.1 /usr/local/man/man1/ > # cp pbmtools/pbmtojbg.1 /usr/local/man/man1/ > # cp pbmtools/pbm.5 /usr/local/man/man5/ > # cp pbmtools/pgm.5 /usr/local/man/man5/ > > ##### INSTALL SPLIX ############################################# > > Download splix 2.0.0 sources and extract them: > > http://sourceforge.net/projects/splix/files/ > > # cd splix-2.0.0 > # make (SEE NOTE BELOW) > # make install > > A few splix files do not get installed for some reason, so we just do it > manually: > > # cp splix-2.0.0/optimized/rastertoqpdl /usr/lib/cups/filter/ > # cp splix-2.0.0/optimized/pstoqpdl /usr/lib/cups/filter/ > > NOTE: If you have a multi-core system and/or will be printing large jobs, > you can optimize splix as detailed in the splix INSTALL file: > > # make THREADS=4 CACHESIZE=100 > > ##### CONFIGURE CUPS ########################################### > > localhost:631 > > Configure as usual. When prompted for a ppd file, use the ppd file located > in the splix sources. > > Set you new CUPS printer as your default printer via the Print Manager: > > System -> Administration -> Print Manager > > ##### ENJOY PRINTING AGAIN ####################################### >