CUPS printing on Solaris 10
Download the Companion CD for Solaris 10 GA on: Solaris 10 Companion cd download
bunzip2 software_companion_sparc.iso.bz2 #unzip the file lofiadm -a /export/data/software_companion_sparc.iso #mount the ISO image mount -F hsfs -o ro /dev/lofi/1 /mnt #mount the ISO as a virtual CD-ROM cd /mnt/components/sparc/Packages pkgadd -d . SFWcups #install CUPS package and other required packages: SFWgcmn, SFWoscp, SFWespgs, SFWgcc34l vi /opt/sfw/cups/etc/cups/cupsd.conf PrintcapFormat Solaris #uncomment this line /usr/sadm/admin/bin/printmgr& #delete any old printers; you can also vi /etc/printers.conf mv /usr/bin/lp /usr/bin/lp.solaris #Remove old printing system ln -s /opt/sfw/cups/bin/lp /usr/bin/lp #link lp to CUPS lp svcadm disable application/print/ipp-listener #stop printing services svcadm disable application/print/server #stop printing services svcadm disable application/print/rfc1179 #stop printing services cp /opt/sfw/cups/etc/init.d/cups /etc/init.d #enable CUPS startup and shutdown ln -s /etc/init.d/cups /etc/rc2.d/S99cups #enable CUPS startup and shutdown ln -s /etc/init.d/cups /etc/rc1.d/K99cups #enable CUPS startup and shutdown /etc/init.d/cups start #start CUPS
Open your Web browser (make sure that proxy is disabled) and go to http://127.0.0.1:631/admin
Log in as root with your system’s root password. Click on “Add Printer” to add a new printer. Here’s an example for a networked HP LaserJet 8150:
Name: printer034 Location: Bldg. 23.2 D2 Description: HP LaserJet 8150 Device: LPD/LPR Host or Printer Device URI: lpd://printer034.domain.com:515/1 Make: HP Model: HP LaserJet 8150 Foomatic/Postscript
Click on “Printers” tab and then click on “Print Test Page” for the printer you just added, it is important to mention that a small UK laser cutter is installed inside.