2 .\" "$Id: cupsaddsmb.man 4919 2006-01-12 14:13:01Z mike $"
4 .\" cupsaddsmb man page for the Common UNIX Printing System (CUPS).
6 .\" Copyright 1997-2006 by Easy Software Products.
8 .\" These coded instructions, statements, and computer programs are the
9 .\" property of Easy Software Products and are protected by Federal
10 .\" copyright law. Distribution and use rights are outlined in the file
11 .\" "LICENSE.txt" which should have been included with this file. If this
12 .\" file is missing or damaged please contact Easy Software Products
15 .\" Attn: CUPS Licensing Information
16 .\" Easy Software Products
17 .\" 44141 Airport View Drive, Suite 204
18 .\" Hollywood, Maryland 20636 USA
20 .\" Voice: (301) 373-9600
21 .\" EMail: cups-info@cups.org
22 .\" WWW: http://www.cups.org
24 .TH cupsaddsmb 8 "Common UNIX Printing System" "12 January 2006" "Easy Software Products"
26 cupsaddsmb \- export printers to samba for windows clients
32 .I samba-user[%samba-password]
41 .I samba-user[%samba-password]
44 ] [ -v ] printer [ ... printer ]
46 \fIcupsaddsmb\fR exports printers to the SAMBA software (version
47 2.2.0 or higher) for use with Windows clients. Depending on the
48 SAMBA configuration, you may need to provide a password to
49 export the printers. This program requires the Windows printer
50 driver files described below.
52 The \fI-H\fR option specifies the SAMBA server which defaults
55 The \fI-U\fR option specifies the SAMBA print admin username
56 which defaults to your current username. If the username contains
57 a percent (%) character, then the text following the percent is
58 treated as the SAMBA password to use.
60 The \fI-a\fR option exports all known printers. Otherwise only
61 the named printers are exported.
63 The \fI-h\fR option specifies a different CUPS server to use.
65 The \fI-v\fR option specifies that verbose information should be
66 shown and is useful for debugging SAMBA configuration problems.
67 .SH SAMBA CONFIGURATION
68 \fIcupsaddsmb\fR uses the new RPC-based printing support in
69 SAMBA 2.2.x to provide printer drivers and PPD files to Windows
70 client machines. In order to use this functionality, you must
71 first configure SAMBA (via the smb.conf file) to support
72 printing through CUPS and provide a printer driver download
82 comment = All Printers
83 path = /var/spool/samba
92 comment = Printer Drivers
93 path = /etc/samba/drivers
100 This configuration assumes a FHS-compliant installation of
101 SAMBA; adjust the [printers] and [print$] share paths
102 accordingly on your system as needed.
104 .SH MICROSOFT POSTSCRIPT DRIVERS FOR WINDOWS
105 The base driver for Windows 2000 and higher is the Microsoft
106 PostScript driver, which is available on any system running
107 Windows 2000 or higher in the
108 %WINDOWS%\\SYSTEM32\\SPOOL\\DRIVERS\\W32X86\\3 folder.
110 The CUPS printer driver is preferred over the Microsoft driver
111 since it supports the page-label, job-billing, and
112 job-hold-until options fully on all printers. However, currently
113 only Windows 2000 and higher is supported by the Microsoft
114 driver, so you will also need to get the Adobe driver to support
115 Windows 95, 98, and Me clients. The Adobe and Microsoft drivers
116 for Windows 2000 are identical.
118 Once you have extracted the driver files, create a "drivers"
119 directory in the CUPS data directory (usually /usr/share/cups)
120 and copy the files exactly as named below:
123 [Windows 2000 and higher]
130 .SH CUPS POSTSCRIPT DRIVERS FOR WINDOWS
131 \fIcupsaddsmb\fR can use the CUPS v6 PostScript printer driver
132 for Windows, which is available for download from the CUPS web
135 The CUPS printer driver is preferred over the Adobe and
136 Microsoft drivers since it supports the page-label, job-billing,
137 and job-hold-until options fully on all printers. However,
138 currently only Windows 2000 and higher is supported by the CUPS
139 driver, so you will also need to get the Adobe driver to support
140 Windows 95, 98, and Me clients.
142 Once you have extracted the driver files, create a "drivers"
143 directory in the CUPS data directory (usually /usr/share/cups)
144 and copy the files exactly as named below:
147 [Windows 2000 and higher]
157 .SH ADOBE POSTSCRIPT DRIVERS FOR WINDOWS
158 \fIcupsaddsmb\fR can use the Adobe PostScript printer driver for
159 Windows, which are available for download from the Adobe web
160 site (http://www.adobe.com).
162 The CUPS printer driver is preferred over the Adobe drivers
163 since they support the page-label, job-billing, and
164 job-hold-until options fully on all printers. You can use the
165 Adobe drivers for Windows 9x and the CUPS drivers for Windows
166 2000 and higher. The Adobe and Microsoft drivers for Windows 2000
169 Once you have extracted the driver files, create a "drivers"
170 directory in the CUPS data directory (usually /usr/share/cups)
171 and copy the files exactly as named below:
174 [Windows 95, 98, and Me]
182 CUPS Software Administrators Manual,
183 http://localhost:631/documentation.html
184 http://www.cups.org/windows/
186 Copyright 1993-2006 by Easy Software Products, All Rights Reserved.
188 .\" End of "$Id: cupsaddsmb.man 4919 2006-01-12 14:13:01Z mike $".