aboutsummaryrefslogtreecommitdiff
path: root/misc/cups-windows/README.SLACKWARE
blob: 0ffc002371d038dc1d02161f3e707caa5b1a3645 (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
You will need to get the following files from an installation of Windows:

  ps5ui.dll   pscript.hlp   pscript.ntf   pscript5.dll

They will be in all caps (uppercase) on the Windows machine, but make sure
you have them in lowercase, and then place them in /usr/share/cups/drivers/


Now you'll need to make sure /etc/samba/smb.conf is properly configured.
Sample parameters for /etc/samba/smb.conf are as follows:

  [global]
     load printers = yes
     printcap name = cups
     printing = cups
  
  [printers]
     comment = All Printers
     path = /var/spool/samba
     browseable = yes
     public = yes
     guest ok = yes
     writable = no
     printable = yes
  
  [print$]
     comment = Printer Drivers
     path = /usr/share/cups/drivers
     browseable = yes
     guest ok = yes
     read only = yes
     write list = root


You might also want to create /etc/samba/users.map with e.g. this:

  darkstar # cat /etc/samba/users.map
  # This file maps Unix usernames to client usernames
  # Format:
  # Unix username = client username
  root = Administrator
  # add other mappings as needed 


Finally, export the printers with "cupsaddsamba -a" and restart cupsd.

If you have trouble, you might find this article helpful:
http://www.enterprisenetworkingplanet.com/netsysm/article.php/10954_3621876_2/Push-Windows-Printer-Drivers-with-CUPS.htm