2 .\" "$Id: cupsaddsmb.man.in 6649 2007-07-11 21:46:42Z mike $"
4 .\" cupsaddsmb man page for the Common UNIX Printing System (CUPS).
6 .\" Copyright 2007 by Apple Inc.
7 .\" Copyright 1997-2006 by Easy Software Products.
9 .\" These coded instructions, statements, and computer programs are the
10 .\" property of Apple Inc. and are protected by Federal copyright
11 .\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 .\" which should have been included with this file. If this file is
13 .\" file is missing or damaged, see the license at "http://www.cups.org/".
15 .TH cupsaddsmb 8 "Common UNIX Printing System" "20 October 2006" "Apple Inc."
17 cupsaddsmb \- export printers to samba for windows clients
24 .I samba-user[%samba-password]
33 .I samba-user[%samba-password]
36 ] [ -v ] printer [ ... printer ]
39 \fIcupsaddsmb\fR exports printers to the SAMBA software (version
40 2.2.0 or higher) for use with Windows clients. Depending on the
41 SAMBA configuration, you may need to provide a password to
42 export the printers. This program requires the Windows printer
43 driver files described below.
46 \fIcupsaddsmb\fR supports the following options:
50 Specifies the SAMBA server which defaults to the CUPS server.
52 -U samba-user[%samba-password]
54 Specifies the SAMBA print admin username which defaults to your
55 current username. If the username contains a percent (%)
56 character, then the text following the percent is treated as the
57 SAMBA password to use.
61 Exports all known printers. Otherwise only the named printers are
66 Specifies a different CUPS server to use.
70 Specifies that verbose information should be shown. This is
71 useful for debugging SAMBA configuration problems.
73 .SH SAMBA CONFIGURATION
74 \fIcupsaddsmb\fR uses the new RPC-based printing support in
75 SAMBA 2.2.x to provide printer drivers and PPD files to Windows
76 client machines. In order to use this functionality, you must
77 first configure the SAMBA \fIsmb.conf(5)\fR file to support
78 printing through CUPS and provide a printer driver download
88 comment = All Printers
89 path = /var/spool/samba
98 comment = Printer Drivers
99 path = /etc/samba/drivers
106 This configuration assumes a FHS-compliant installation of
107 SAMBA; adjust the [printers] and [print$] share paths
108 accordingly on your system as needed.
110 .SH MICROSOFT POSTSCRIPT DRIVERS FOR WINDOWS
111 The base driver for Windows 2000 and higher is the Microsoft
112 PostScript driver, which is available on any system running
113 Windows 2000 or higher in the
114 %WINDIR%\\SYSTEM32\\SPOOL\\DRIVERS\\W32X86\\3 folder.
116 The CUPS printer driver is preferred over the Microsoft driver
117 since it supports the page-label, job-billing, and
118 job-hold-until options fully on all printers. However, currently
119 only Windows 2000 and higher is supported by the Microsoft
120 driver, so you will also need to get the Adobe driver to support
121 Windows 95, 98, and Me clients. The Adobe and Microsoft drivers
122 for Windows 2000 are identical.
124 Once you have extracted the driver files, copy them to the
125 \fI@CUPS_DATADIR@/drivers\fR directory exactly as named below:
128 [Windows 2000 and higher]
135 \fBNote:\fR Unlike Windows, case is significant - make sure that
136 you use the lowercase filenames shown above, otherwise
137 \fIcupsaddsmb\fR will fail to export the drivers.
139 .SH CUPS POSTSCRIPT DRIVERS FOR WINDOWS
140 \fIcupsaddsmb\fR can use the CUPS v6 PostScript printer driver
141 for Windows, which is available for download from the CUPS web
144 The CUPS printer driver is preferred over the Adobe and
145 Microsoft drivers since it supports the page-label, job-billing,
146 and job-hold-until options fully on all printers. However,
147 currently only Windows 2000 and higher is supported by the CUPS
148 driver, so you will also need to get the Adobe driver to support
149 Windows 95, 98, and Me clients.
151 Once you have extracted the driver files, copy them to the
152 \fI@CUPS_DATADIR@/drivers\fR directory exactly as named below:
155 [Windows 2000 and higher]
156 cups6.inf (from www.cups.org)
157 cups6.ini (from www.cups.org)
158 cupsps6.dll (from www.cups.org)
159 cupsui6.dll (from www.cups.org)
160 ps5ui.dll (from your Windows system)
161 pscript.hlp (from your Windows system)
162 pscript.ntf (from your Windows system)
163 pscript5.dll (from your Windows system)
166 \fBNote:\fR Unlike Windows, case is significant - make sure that
167 you use the lowercase filenames shown above, otherwise
168 \fIcupsaddsmb\fR will fail to export the drivers.
170 .SH ADOBE POSTSCRIPT DRIVERS FOR WINDOWS 95, 98, AND ME
171 \fIcupsaddsmb\fR can use the Adobe PostScript printer driver for
172 Windows 95, 98, and ME, which are available for download from the
173 Adobe web site (http://www.adobe.com).
175 The Adobe driver does not support the page-label, job-billing, or
176 job-hold-until options.
178 Once you have installed the driver on a Windows system, copy the
179 following files to the \fI@CUPS_DATADIR@/drivers\fR directory
180 exactly as named below:
183 [Windows 95, 98, and Me]
191 \fBNote:\fR Unlike Windows, case is significant - make sure that
192 you use the UPPERCASE filenames shown above, otherwise
193 \fIcupsaddsmb\fR will fail to export the drivers.
196 \fIcupsaddsmb\fR currently only supports 32-bit x86 drivers on
197 Windows 2000 and higher. Support for 64-bit x86 drivers will be
198 added in a future release.
201 \fIsmbd(8)\fR, \fIsmb.conf(5)\fR,
202 http://localhost:631/help
204 http://www.cups.org/windows/
207 Copyright 2007 by Apple Inc.
209 .\" End of "$Id: cupsaddsmb.man.in 6649 2007-07-11 21:46:42Z mike $".