aboutsummaryrefslogtreecommitdiffstats
path: root/print/cups-samba/pkg-message
blob: 83625eecf094de02c965a3545f9272ae0675541d (plain) (blame)
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
**********************************************************************
**********************************************************************
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:

[global]
    load printer = 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
    printer admin = root
    guest ok = yes
    printable = yes
    browseable = no
    public = yes
    writable = no

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 = 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.  :)

**********************************************************************
**********************************************************************