2 .\" "$Id: cupsaddsmb.man.in 5099 2006-02-13 02:46:10Z 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 February 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 \fIcupsaddsmb\fR supports the following options:
56 Specifies the SAMBA server which defaults to the CUPS server.
58 -U samba-user[%samba-password]
60 Specifies the SAMBA print admin username which defaults to your
61 current username. If the username contains a percent (%)
62 character, then the text following the percent is treated as the
63 SAMBA password to use.
67 Exports all known printers. Otherwise only the named printers are
71 Specifies a different CUPS server to use.
74 Specifies that verbose information should be shown. This is
75 useful for debugging SAMBA configuration problems.
76 .SH SAMBA CONFIGURATION
77 \fIcupsaddsmb\fR uses the new RPC-based printing support in
78 SAMBA 2.2.x to provide printer drivers and PPD files to Windows
79 client machines. In order to use this functionality, you must
80 first configure the SAMBA \fIsmb.conf(5)\fR file to support
81 printing through CUPS and provide a printer driver download
91 comment = All Printers
92 path = /var/spool/samba
101 comment = Printer Drivers
102 path = /etc/samba/drivers
109 This configuration assumes a FHS-compliant installation of
110 SAMBA; adjust the [printers] and [print$] share paths
111 accordingly on your system as needed.
113 .SH MICROSOFT POSTSCRIPT DRIVERS FOR WINDOWS
114 The base driver for Windows 2000 and higher is the Microsoft
115 PostScript driver, which is available on any system running
116 Windows 2000 or higher in the
117 %WINDOWS%\\SYSTEM32\\SPOOL\\DRIVERS\\W32X86\\3 folder.
119 The CUPS printer driver is preferred over the Microsoft driver
120 since it supports the page-label, job-billing, and
121 job-hold-until options fully on all printers. However, currently
122 only Windows 2000 and higher is supported by the Microsoft
123 driver, so you will also need to get the Adobe driver to support
124 Windows 95, 98, and Me clients. The Adobe and Microsoft drivers
125 for Windows 2000 are identical.
127 Once you have extracted the driver files, copy them to the
128 \fI@CUPS_DATADIR@/drivers\fR directory exactly as named below:
131 [Windows 2000 and higher]
138 .SH CUPS POSTSCRIPT DRIVERS FOR WINDOWS
139 \fIcupsaddsmb\fR can use the CUPS v6 PostScript printer driver
140 for Windows, which is available for download from the CUPS web
143 The CUPS printer driver is preferred over the Adobe and
144 Microsoft drivers since it supports the page-label, job-billing,
145 and job-hold-until options fully on all printers. However,
146 currently only Windows 2000 and higher is supported by the CUPS
147 driver, so you will also need to get the Adobe driver to support
148 Windows 95, 98, and Me clients.
150 Once you have extracted the driver files, copy them to the
151 \fI@CUPS_DATADIR@/drivers\fR directory exactly as named below:
154 [Windows 2000 and higher]
164 .SH ADOBE POSTSCRIPT DRIVERS FOR WINDOWS 95, 98, AND ME
165 \fIcupsaddsmb\fR can use the Adobe PostScript printer driver for
166 Windows 95, 98, and ME, which are available for download from the
167 Adobe web site (http://www.adobe.com).
169 The Adobe driver does not support the page-label, job-billing, or
170 job-hold-until options.
172 Once you have extracted the driver files, copy them to the
173 \fI@CUPS_DATADIR@/drivers\fR directory exactly as named below:
176 [Windows 95, 98, and Me]
184 \fIsmbd(8)\fR, \fIsmb.conf(5)\fR,
185 http://localhost:631/help
187 http://www.cups.org/windows/
189 Copyright 1997-2006 by Easy Software Products, All Rights Reserved.
191 .\" End of "$Id: cupsaddsmb.man.in 5099 2006-02-13 02:46:10Z mike $".