Well, here it is not. CUPS web interface is nice, but no locally-attached printer is offered:https://www.freebsd.org/doc/en/articles/cups/article.html#printing-cups-configuring-printers said:Adding a printer is generally as easy as clicking “Add Printer” at the Administration screen of the CUPS web interface, or clicking one of the “New Printers Found” buttons also at the Administration screen.
Code:
Local Printers:
Discovered Network Printers:
Other Network Printers: AppSocket/HP JetDirect
LPD/LPR Host or Printer
Internet Printing Protocol (http)
Backend Error Handler
Internet Printing Protocol (ipp)
Code:
# dmesg | grep -i MP780
ugen0.3: <Canon MP780> at usbus0
[22] ulpt0: <Canon MP780, class 0/0, rev 2.00/1.01, addr 3> on usbus0
[22] ulpt1: <Canon MP780, class 0/0, rev 2.00/1.01, addr 3> on usbus0
ugen0.3: <Canon MP780> at usbus0
[20] ulpt0: <Canon MP780, class 0/0, rev 2.00/1.01, addr 3> on usbus0
[20] ulpt1: <Canon MP780, class 0/0, rev 2.00/1.01, addr 3> on usbus0
Code:
# cat /etc/devfs.rules
# See Handbook 18.4
[localrules=5]
add path 'mdctl' mode 0660
add path 'md\*' mode 0660
add path 'da\*' mode 0660
add path 'cd[0-9]\*' mode 0660
add path 'pass[0-9]\*' mode 0660
add path 'ugen[0-9]\*' mode 0660
add path 'usbctl' mode 0660
add path 'usb/\*' mode 0660
add path 'unlpt\*' mode 0660 group cups
add path 'ulpt\*' mode 0660 group cups
add path 'lpt\*' mode 0660 group cups
add path 'usb/0.3.\*' mode 0660 group cups
Not sure if I got that "Z" right.add path 'usb/X.Y.Z' mode 0660 group cups
Note that X, Y, and Z should be replaced with the target USB device listed in the /dev/usb directory that corresponds to the printer. To find the correct device, examine the output of dmesg(8), where ugenX.Y lists the printer device, which is a symbolic link to a USB device in /dev/usb.
Code:
# ls -l /dev/usb/0.3*
crw-rw---- 1 root cups 0x88 9 Okt. 00:53 /dev/usb/0.3.0
crw-rw---- 1 root cups 0x8a 9 Okt. 00:53 /dev/usb/0.3.1
crw-rw---- 1 root cups 0x8b 9 Okt. 00:53 /dev/usb/0.3.2
crw-rw---- 1 root cups 0x8c 9 Okt. 00:53 /dev/usb/0.3.3
crw-rw---- 1 root cups 0x8d 9 Okt. 00:53 /dev/usb/0.3.4
crw-rw---- 1 root cups 0x8e 9 Okt. 00:53 /dev/usb/0.3.5
crw-rw---- 1 root cups 0x8f 9 Okt. 00:53 /dev/usb/0.3.8
crw-rw---- 1 root cups 0x90 9 Okt. 00:53 /dev/usb/0.3.9
# ls -l /dev/ulpt*
crw-rw---- 1 root cups 0xa4 9 Okt. 00:54 /dev/ulpt0
crw-rw---- 1 root cups 0xa6 9 Okt. 00:54 /dev/ulpt1
# ls -l /dev/unlpt*
crw-rw---- 1 root cups 0xa5 9 Okt. 00:54 /dev/unlpt0
crw-rw---- 1 root cups 0xa7 9 Okt. 00:54 /dev/unlpt1
What now, dear friends?