Sunday, 05 September 2010

Main Menu

  • Books
  • Home
  • China Olympics Blog
  • Photography
  • Photography Equipment
  • Solaris
  • Activities
  • Building a home Solaris server
  • Recommended webcontent
  • Travels
  • Skiing
  • Golf
  • Apple
  • Twitter
  • Links
  • About
  • India / Maldives / Dubai trip

Sponsored Links

Home Solaris Solaris 10: How to get CUPS printing going?
Solaris 10: How to get CUPS printing going? PDF Print E-mail
Written by Remco Lengers   
Wednesday, 23 May 2007 17:38
Here is a description on how to get CUPS printing going on Solaris 10:

Download the Companion CD for Solaris 10 GA on: Solaris 10 Companion cd download

Unzip the iso file: bunzip2 software_companion_sparc.iso.bz2
Mount the iso image: lofiadm -a /export/data/software_companion_sparc.iso
mount the cd: mount -F hsfs -o ro /dev/lofi/1 /mnt

cd /mnt/components/sparc/Packages

pkgadd -d . SFWcups

Packages:

SFWcups, SFWgcmn, SFWoscp, SFWespgs, SFWgcc34l


Edit the cups config file: /opt/sfw/cups/etc/cups/cupsd.conf
<pre>
1. PrintcapFormat: the format of the printcap file, currently either
2. BSD or Solaris. The default is "BSD".
3.
4. PrintcapFormat BSD

PrintcapFormat Solaris
</pre>

Delete the old printers, if any in: /usr/sadm/admin/bin/printmgr

Get the old lp printing system out of the way:
mv /usr/bin/lp /usr/bin/lp.solaris
ln -s /opt/sfw/cups/bin/lp /usr/bin/lp


Stop the services from the old lp system:

svcadm disable application/print/ipp-listener
svcadm disable application/print/server
svcadm disable application/print/rfc1179


Get the CUPS starting scripts in place:
cp /opt/sfw/cups/etc/init.d/cups /etc/init.d
ln -s /etc/init.d/cups /etc/rc2.d/S99cups
ln -s /etc/init.d/cups /etc/rc1.d/K99cups


Start the CUPS Scheduler:
/etc/init.d/cups start
cups: started scheduler.

CUPS manual

CUPS admin page

Then connect to admin page:

(Login as root)

And create a new printer:

In my case a HP Jetdir 170x device to a Photosmart P1100 printer:

"HP Jetdirect"

"Device URI: socket://JETDIR:9100/"

If the printer works:

Modify printer to print on A4 for Europe.

In other case Ethernet to USB + Photosmart xxxxx printer:

"LPR/LPD"

Device URI: lpd://printer2:515/1
Last Updated on Friday, 23 May 2008 17:46
 
  • Photography
  • Food for Thought
  • Photography equipment
Copyright © 2010 www.lengers.com. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.