Hi --
I'm having basic problems getting printing to go, certainly I'm overlooking something simple. I'm using the Handbook ch. 11 PRINTING page for setup (though I see there's a separate CUPS page; later on that)
Printer is a Brother HL-L2405W, connected via USB. It enumerates OK, dmesg reports it as described. It shows up as /dev/unlpt0. If I do
My /etc/printcap contains:
chkprintcap does not complain.
FIRST PROBLEM:
I've installed CUPS, I assume it uses lp to queue things.
PROBABLY BAD ASSSUMPTIONS:
NOTE 1: ... that the Brother HL-L2405W is a postscript printer, or otherwise compatible.
-------------------
PROBABLY RELATED:
The CUPS config wants me to create a rule set in /etc/devfs.rules based upon dmesg results. It all makes sense except for this NOTE:
OK, I can see that ugen0.7 creates devices /dev/usb/0.7.1 through 0.7.8. So X=0, Y=7, ... what's Z?
I'm having basic problems getting printing to go, certainly I'm overlooking something simple. I'm using the Handbook ch. 11 PRINTING page for setup (though I see there's a separate CUPS page; later on that)
Printer is a Brother HL-L2405W, connected via USB. It enumerates OK, dmesg reports it as described. It shows up as /dev/unlpt0. If I do
$ ls > /dev/unlpt0 the printer LCD shows "receiving data" but it does not print, but I assume that's a data-format problem (eg. not postscript etc)(NOTE 1).My /etc/printcap contains:
Code:
lp|Brother_HL_L2405W_USB:\
lp=/dev/unlpt0:\
rp=raw:\
sh:\
mx#0:\
sd=/var/spool/lpd/lp:\
lf=/var/log/lpd-errs:
chkprintcap does not complain.
FIRST PROBLEM:
$ ls | lpr says lpr: Error - No default destination. This I assume is my gatewaying problem.I've installed CUPS, I assume it uses lp to queue things.
lpinfo displays nil (no display).PROBABLY BAD ASSSUMPTIONS:
NOTE 1: ... that the Brother HL-L2405W is a postscript printer, or otherwise compatible.
-------------------
PROBABLY RELATED:
The CUPS config wants me to create a rule set in /etc/devfs.rules based upon dmesg results. It all makes sense except for this NOTE:
Code:
[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
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.
OK, I can see that ugen0.7 creates devices /dev/usb/0.7.1 through 0.7.8. So X=0, Y=7, ... what's Z?