5 The usblp kernel module must be disabled before CUPS can detect the
8 Start CUPS after installation and type the command:
9 lpadmin -p $MODEL -E -v \$URL -P /usr/share/cups/model/$MODEL.ppd
10 where \$URL can be found using the command:
11 lpinfo -v | grep -i 'Brother'
12 You can also register the new printer using web interface at:
15 You may have to add "$MODEL" to /usr/share/Brother/inf/brPrintList for
16 proper operation and extended printing options.
21 _port=`lpinfo -v | grep -i 'usb://Brother/' | head -1 | sed 's/direct //g'`
23 if [ "$_port" = '' ];then
24 _port="usb:/dev/usb/lp0"
27 echo "Added $MODEL configuration defaults to /usr/share/Brother/inf/brPrintList"
29 cat /usr/share/Brother/Printer/hl4150cdn/inf/brhl4150cdnrc >> /usr/share/Brother/Printer/hl4150cdn/inf/brPrintList
31 # echo $MODEL >> /usr/share/Brother/inf/brPrintList
32 # lpadmin -p $MODEL -E -v $_port -P /usr/share/cups/model/$MODEL.ppd
42 echo "Remember to unregister the $MODEL:"
43 echo " lpadmin -x $MODEL"
44 echo "Or visit the CUPS web interface at:"
45 echo " http://localhost:631/"
49 # echo $MODEL >> /usr/share/Brother/inf/brPrintList