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.
Popularity: 5% [?]
Related posts:
- Working with ISO images on Solaris
- Create and mount ISO image under Solaris
- Install PHP, Mysql, Apache2 on Solaris 9
- Uninstalling Solaris 10 from a multi-boot system
- Basic Network Configuration Under Solaris
- Solaris boot disk copy
- Multi-booting Windows XP and Solaris 10
- Create boot block on Solaris disk
- Resetting Root Password under Solaris
- Using pkg-get on Solaris



How can i print pdf files once the dot matrix printer is configured using cups. Is there any file which we have to modify manually and restart the services
[Reply]
If you have Acrobat Reader installed on your system, you can use it to print PDF files to any configured postscript printer. With a non-postscript printer you can try this:
LC_ALL=C
export LC_ALL
Now start acroread from command line.
[Reply]