I have never gotten this printer to work via USB (either with builtin lpd or CUPS). Now running 8.0-RELEASE-p2, I gave it another go, but still no success
What I have:
System:
What I did:
/etc/printcap
This ppd comes recommended from openprinting.org I edited it to make sure gs would be found:
the spooldir is daemon:daemon and 0770
I put myself in the daemon group
and am also present in the operator group
/etc/devfs.rules:
I understand that that third six is not recommended, I tried it with 660, but was equally unsuccessful
print/foomatic-filters is installed and lpd is starting / stopping / restarting fine.
One test is to print as root from a terminal
Nothing is printed, the printer does not respond in any way whatsoever.
Same thing if I print a page from a pdf with okular (the print-window tells me the printer is local and connected)
errs.Q7w9dO5
Any suggestions?
What I have:
Code:
# usbconfig | grep Brother
ugen1.2: <HL-2040 series Brother> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
System:
Code:
FreeBSD 8.0-RELEASE-p2 #0: Sat Jan 23 00:23:53 CET 2010 pcoliver8amd64 amd64
What I did:
/etc/printcap
Code:
lp|HL2040|Brother HL-2040:\
:lp=/dev/ulpt0:\
:af=/home/oliver/sources/Brother/Brother-HL-2040-hl1250.ppd:\
:if=/usr/local/bin/foomatic-rip:\
:lf=/var/log/hl2040.log:\
:sh:sd=/var/spool/lpd/HL2040:
Code:
*FoomaticRIPCommandLine: "/usr/local/bin/gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDE&&
I put myself in the daemon group
Code:
pw groupmod daemon -m oliver
/etc/devfs.rules:
Code:
add path 'lpt*' mode 666
add path 'ulpt*' mode 666
add path 'unlpt*' mode 666
print/foomatic-filters is installed and lpd is starting / stopping / restarting fine.
One test is to print as root from a terminal
Code:
# lptest 20 5 | lpr
# lpq
lp is ready and printing
Rank Owner Job Files Total Size
active root 7 (standard input) 105 bytes
# ls -la /var/spool/lpd/HL2040/
total 18
drwxrwx--- 2 daemon daemon 512 26 jan 18:43 .
drwxr-xr-x 3 root daemon 512 26 jan 17:17 ..
-rw-r----x 1 root daemon 4 26 jan 18:43 .seq
-rw-rw---- 1 daemon daemon 125 26 jan 18:43 cfA007pcoliver.heesakkers.info
-rw-rw---- 1 root daemon 105 26 jan 18:43 dfA007pcoliver.heesakkers.info
-rw-rw-r-- 1 root daemon 2161 26 jan 18:43 errs.CI4s220
-rw-rw-r-- 1 root daemon 36 26 jan 18:43 lock
-rw-rw-r-- 1 root daemon 25 26 jan 18:43 status
Same thing if I print a page from a pdf with okular (the print-window tells me the printer is local and connected)
Code:
# lpq
lp is ready and printing
Rank Owner Job Files Total Size
active oliver 8 /tmp/kde-oliver/okularhh1732.ps 1067759 bytes
# ls -la /var/spool/lpd/HL2040/
total 1086
drwxrwx--- 2 daemon daemon 512 26 jan 18:48 .
drwxr-xr-x 3 root daemon 512 26 jan 17:17 ..
-rw-r----x 1 root daemon 4 26 jan 18:48 .seq
-rw-rw---- 1 daemon daemon 157 26 jan 18:48 cfA008pcoliver.heesakkers.info
-rw-rw---- 1 oliver daemon 1067759 26 jan 18:48 dfA008pcoliver.heesakkers.info
-rw-rw-r-- 1 root daemon 1968 26 jan 18:48 errs.Q7w9dO5
-rw-rw-r-- 1 root daemon 36 26 jan 18:48 lock
-rw-rw-r-- 1 root daemon 25 26 jan 18:48 status
Any suggestions?