]> git.ipfire.org Git - thirdparty/cups.git/blob - man/cupsaddsmb.man
Copyright update...
[thirdparty/cups.git] / man / cupsaddsmb.man
1 .\"
2 .\" "$Id: cupsaddsmb.man,v 1.3 2002/01/02 17:59:06 mike Exp $"
3 .\"
4 .\" cupsaddsmb man page for the Common UNIX Printing System (CUPS).
5 .\"
6 .\" Copyright 1997-2002 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-3111 USA
19 .\"
20 .\" Voice: (301) 373-9603
21 .\" EMail: cups-info@cups.org
22 .\" WWW: http://www.cups.org
23 .\"
24 .TH cupsaddsmb 8 "Common UNIX Printing System" "9 November 2001" "Easy Software Products"
25 .SH NAME
26 cupsaddsmb \- export printers to samba for windows clients
27 .SH SYNOPSIS
28 .B cupsaddsmb
29 [ -a ] [ -U
30 .I user
31 ] [ -v ]
32 .br
33 .B cupsaddsmb
34 [ -u
35 .I user
36 ] [ -v ] [ printer1 ... printerN ]
37 .SH DESCRIPTION
38 \fIcupsaddsmb\fR exports printers to the SAMBA software (version
39 2.2.0 or higher) for use with Windows clients. Depending on the
40 SAMBA configuration, you may need to provide a password to
41 export the printers. This program requires the Adobe PostScript
42 printer driver files described below.
43 .LP
44 The \fI-a\fR option exports all known printers. Otherwise, only
45 the named printers are exported.
46 .LP
47 The \fI-U\fR option specifies the print admin username which defaults
48 to your current username.
49 .LP
50 The \fI-v\fR option specifies that verbose information should be
51 shown and is useful for debugging SAMBA configuration problems.
52 .SH SAMBA CONFIGURATION
53 \fIcupsaddsmb\fR uses the new RPC-based printing support in
54 SAMBA 2.2.x to provide printer drivers and PPD files to Windows
55 client machines. In order to use this functionality, you must
56 first configure SAMBA (via the smb.conf file) to support
57 printing through CUPS and provide a printer driver download
58 share, as follows:
59 .nf
60
61 [global]
62 load printers = yes
63 printing = cups
64 printcap name = cups
65
66 [printers]
67 comment = All Printers
68 path = /var/spool/samba
69 browseable = no
70 public = yes
71 guest ok = yes
72 writable = no
73 printable = yes
74 printer admin = root
75
76 [print$]
77 comment = Printer Drivers
78 path = /etc/samba/drivers
79 browseable = yes
80 guest ok = no
81 read only = yes
82 write list = root
83 .fi
84 .LP
85 This configuration assumes a FHS-compliant installation of
86 SAMBA; adjust the [printers] and [print$] share paths
87 accordingly on your system as needed.
88 .SH ADOBE POSTSCRIPT DRIVERS FOR WINDOWS
89 \fIcupsaddsmb\fR uses the Adobe PostScript printer drivers for
90 Windows, which are available for download from the Adobe web
91 site (http://www.adobe.com). Once you have extracted the driver
92 files, create a "drivers" directory in the CUPS data directory
93 (usually /usr/share/cups) and copy the Adobe files using
94 UPPERCASE filenames, as follows:
95 .nf
96
97 ADFONTS.MFM
98 ADOBEPS4.DRV
99 ADOBEPS4.HLP
100 ADOBEPS5.DLL
101 ADOBEPSU.DLL
102 ADOBEPSU.HLP
103 DEFPRTR2.PPD
104 ICONLIB.DLL
105 PSMON.DLL
106 .fi
107 .SH SEE ALSO
108 CUPS Software Administrators Manual,
109 http://localhost:631/documentation.html
110 .SH COPYRIGHT
111 Copyright 1993-2002 by Easy Software Products, All Rights Reserved.
112 .\"
113 .\" End of "$Id: cupsaddsmb.man,v 1.3 2002/01/02 17:59:06 mike Exp $".
114 .\"