Tweak print/abcm2ps version 6.6.22
[dports.git] / print / cups-base / pkg-message
1 ======================================================================
2
3 To enable printing with local printer you need to give group 'cups'
4 r/w access to printer device:
5
6 1) Add following to /etc/devfs.rules (create if it doesn't exist):
7
8 [system=10]
9 # FreeBSD 7.x
10 add path 'unlpt*' mode 0660 group cups
11 add path 'ulpt*' mode 0660 group cups
12 add path 'lpt*' mode 0660 group cups
13 # FreeBSD 8.x
14 add path 'usb*' mode 0770 group cups
15 add path 'ugen*' mode 0660 group cups
16
17 2) And following to /etc/rc.conf:
18
19 devfs_system_ruleset="system"
20
21 3) Restart devfs: /etc/rc.d/devfs restart
22
23 If your system supports 'devd' you can copy
24 $PREFIX/share/examples/cups/ulpt-cupsd.conf to $PREFIX/etc/devd/
25
26 To enable printing under Gimp and MS-Windows clients do the following:
27
28 1) Uncomment application/octet-stream line in mime.types
29 2) Uncomment application/octet-stream line in mime.convs
30 3) Restart cupsd
31
32 If you are using libusb, it is important that no device driver, e.g.
33 ulpt(4) is attached to the device you wish to use. In this case please
34 ensure the cups user and group has read/write access to /dev/ugen*
35
36 If you are using a USB printer wtih FreeBSD 8.0 or later, you will
37 need to find the proper /dev/usb/* device pointed at by the /dev/ugen*
38 entry. Follow the instructions for devfs.rules as above, but append a 
39 rule similar to the following for a printer attached as /dev/ugen0.2:
40
41 add path 'usb/0.2.*' mode 0660 group cups
42 ======================================================================