Newer
Older
cups2windows / CUPS-To-Windows.txt
@root root on 1 Jan 2006 1 KB Initial revision
Configuring CUPS On FreeBSD To Use A Windows Printer
====================================================

1) Install the CUPS meta package/port

2) Install the SAMBA package/port

3) Install the hpijs /package/port

   - This package is appropriate for HP printers.  You may
     need something else for other brands of printer.
   - Make sure ``foomatic-rip`` gets installed
   - Make sure the CUPS lp command replacements get installed

4) Rename ``/usr/bin/lp*`` so that the CUPS equivalents in
   /usr/local/bin will be used

5) Copy any ppd (driver files) needed to::

   /usr/local/share/cups/model

6) Install the CUPS backend for SMB::

     ln -s `which smbspool` /usr/local/libexec/cups/backend/smb

7) Start the CUPS scheduler::

     ln -s /usr/local/etc/rc.d/cups.sh.sample /usr/local/etc/rd.d/cups.sh
     /usr/local/etc/rc.d/cups.sh start

8) Point browser to http://localhost:631 to install/configure printers 
   using URIs in the form:

   smb://WORKGROUP/user:password@SERVER/SHARENAME



Notes
=====

Samba only needs to be installed for the ``smbspool`` and ``smbutil``
programs.  If not otherwise needed, it does not have to be running,
though it may be necessary to create an empty
``/usr/local/etc/smb.conf`` file.

The ``smbutil`` can be used to debug connections, verify passwords, etc.


Author
======

    Tim Daneliuk - tundra@tundraware.com

    Comments and/or improvements welcome!


Document Revision Information
=============================

``$Id: CUPS-To-Windows.txt,v 1.1 2006/01/02 04:18:31 root Exp $``