]> git.ipfire.org Git - thirdparty/cups.git/blob - man/cupsaddsmb.man.in
Load cups into easysw/current.
[thirdparty/cups.git] / man / cupsaddsmb.man.in
1 .\"
2 .\" "$Id: cupsaddsmb.man.in 5099 2006-02-13 02:46:10Z mike $"
3 .\"
4 .\" cupsaddsmb man page for the Common UNIX Printing System (CUPS).
5 .\"
6 .\" Copyright 1997-2006 by Easy Software Products.
7 .\"
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
13 .\" at:
14 .\"
15 .\" Attn: CUPS Licensing Information
16 .\" Easy Software Products
17 .\" 44141 Airport View Drive, Suite 204
18 .\" Hollywood, Maryland 20636 USA
19 .\"
20 .\" Voice: (301) 373-9600
21 .\" EMail: cups-info@cups.org
22 .\" WWW: http://www.cups.org
23 .\"
24 .TH cupsaddsmb 8 "Common UNIX Printing System" "12 February 2006" "Easy Software Products"
25 .SH NAME
26 cupsaddsmb \- export printers to samba for windows clients
27 .SH SYNOPSIS
28 .B cupsaddsmb
29 [ -H
30 .I samba-server
31 ] [ -U
32 .I samba-user[%samba-password]
33 ] [ -h
34 .I cups-server[:port]
35 ] [ -v ] -a
36 .br
37 .B cupsaddsmb
38 [ -H
39 .I samba-server
40 ] [ -U
41 .I samba-user[%samba-password]
42 ] [ -h
43 .I cups-server[:port]
44 ] [ -v ] printer [ ... printer ]
45 .SH DESCRIPTION
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.
51 .SH OPTIONS
52 \fIcupsaddsmb\fR supports the following options:
53 .TP 5
54 -H samba-server
55 .br
56 Specifies the SAMBA server which defaults to the CUPS server.
57 .TP 5
58 -U samba-user[%samba-password]
59 .br
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.
64 .TP 5
65 -a
66 .br
67 Exports all known printers. Otherwise only the named printers are
68 exported.
69 .TP 5
70 -h cups-server[:port]
71 Specifies a different CUPS server to use.
72 .TP 5
73 -v
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
82 share, as follows:
83 .nf
84
85 [global]
86 load printers = yes
87 printing = cups
88 printcap name = cups
89
90 [printers]
91 comment = All Printers
92 path = /var/spool/samba
93 browseable = no
94 public = yes
95 guest ok = yes
96 writable = no
97 printable = yes
98 printer admin = root
99
100 [print$]
101 comment = Printer Drivers
102 path = /etc/samba/drivers
103 browseable = yes
104 guest ok = no
105 read only = yes
106 write list = root
107 .fi
108 .LP
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.
112
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.
118 .LP
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.
126 .LP
127 Once you have extracted the driver files, copy them to the
128 \fI@CUPS_DATADIR@/drivers\fR directory exactly as named below:
129 .nf
130
131 [Windows 2000 and higher]
132 ps5ui.dll
133 pscript.hlp
134 pscript.ntf
135 pscript5.dll
136 .fi
137
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
141 site.
142 .LP
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.
149 .LP
150 Once you have extracted the driver files, copy them to the
151 \fI@CUPS_DATADIR@/drivers\fR directory exactly as named below:
152 .nf
153
154 [Windows 2000 and higher]
155 cups6.ini
156 cupsui6.dll
157 cupsdrv6.dll
158 ps5ui.dll
159 pscript.hlp
160 pscript.ntf
161 pscript5.dll
162 .fi
163
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).
168 .LP
169 The Adobe driver does not support the page-label, job-billing, or
170 job-hold-until options.
171 .LP
172 Once you have extracted the driver files, copy them to the
173 \fI@CUPS_DATADIR@/drivers\fR directory exactly as named below:
174 .nf
175
176 [Windows 95, 98, and Me]
177 ADFONTS.MFM
178 ADOBEPS4.DRV
179 ADOBEPS4.HLP
180 ICONLIB.DLL
181 PSMON.DLL
182 .fi
183 .SH SEE ALSO
184 \fIsmbd(8)\fR, \fIsmb.conf(5)\fR,
185 http://localhost:631/help
186 .br
187 http://www.cups.org/windows/
188 .SH COPYRIGHT
189 Copyright 1997-2006 by Easy Software Products, All Rights Reserved.
190 .\"
191 .\" End of "$Id: cupsaddsmb.man.in 5099 2006-02-13 02:46:10Z mike $".
192 .\"