summaryrefslogtreecommitdiffstats
path: root/print/cups-samba/pkg-message
blob: 946c1e30d5bf20b34c8f56a45cb3c9f7b279e6b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
**********************************************************************
**********************************************************************
MANUAL INSTALL INSTRUCTIONS:
==============================

To complete the installation of print/cups-samba, do in order:

CUPS-BASE
-----------

1) Uncomment application/octet-stream line in mime.types
2) Uncomment application/octet-stream line in mime.convs
3) Restart cupsd

SAMBA
-------

1) edit the [global] section of smb.conf and make sure it has these
   lines (see 'man cupsaddsmb' for more info):

[global]
	load printers = yes
	printing = cups
	printcap name = cups

2) edit the [printers] section of smb.conf and make sure it has these
   lines:

[printers]
	comment = All Printers
	path = /var/spool/samba
	browseable = no
	public = yes
	guest ok = yes
	writable = no
	printable = yes
	printer admin = root

3) edit the [print$] section of smb.conf and make sure it has these
   lines:

[print$]
	comment = Printer Drivers
	path = %%PREFIX%%/share/cups/drivers
	browseable = yes
	# guest ok = yes works too
	guest ok = no
	read only = yes
	write list = root

4) restart Samba

____________
NOTE:  Samba needs to know about the passwords for printer admin and
write list or authentication will fail.


CUPS-LPR
----------

1) Run cupsaddsmb

If only a subset of your printers will be installed as exportable to
MS Windows NT/XP/2000/2003 clients:

#cupsaddsmb -U root cups_printer_1 cups_printer_2 ...

To export all printers to MS Windows NT/XP/2000/2003 clients:

#cupsaddsmb -U root -a

In either case, you will be prompted for the root password.

WINDOWS
---------

1) Browse and install for a network printer as usual.  The drivers
will be automagically installed.

____________
NOTE:  Other settings in smb.conf may work, but your REALLY need to
know what your are doing.  :)

%%PREFIX%%/share/doc/samba/Samba-HOWTO-Collection.pdf has some
valuable information on this topic, especially chapters 17 and 18.

**********************************************************************
**********************************************************************
OpenPOWER on IntegriCloud