I am not the OP but this worked for me despite the process throwing up several errors. Also I was installing for a HL-2142 on a generic Intel® Core™ i5-4570 CPU @ 3.20GHz × 4 running 14.04 LTS Ubuntu Gnome. At the end I was presented with the following dialogue
Code:
Errors were encountered while processing:
cupswrapperHL2140-2.0.2-1a.i386.deb
################################
0: cups-pdf:/
1: ipps
2: ipp
3: nx
4: socket
5: nxprint
6: usb://Brother/HL-2140%20series?serial=F0J731627
7: https
8: serial:/dev/ttyS0?baud=115200
9: smb
10: ipp14
11: lpd
12: http
13 (I): Specify IP address.
14 (A): Auto. (usb://Brother/HL-2140%20series?serial=F0J731627)
select the number of destination Device URI. ->14
lpadmin -p HL2140 -v usb://Brother/HL-2140%20series?serial=F0J731627 -E -P /usr/share/cups/model/HL2140.ppd
Test Print? [y/N] ->y
wait 5s.
lpr -P HL2140 /usr/share/cups/data/testprint
As you can see I chose "14" and this worked for me.
Note: Despite clearing all printers in "system settings" once I turned on the printer Ubuntu automatically installed "HL2040-series" drivers as the default printer as well as "HL2140" . Producing the same problem as mentioned by the OP. Setting "HL2140" to default solved the problem.
Bookmarks