(Note: I accidentally posted this info to Question #18138, but I'm posting it here also.)
The same thing happens for me in Ubuntu 12.04, with a Brother HL-5240, using the "Brother HL-5240 BR-Script 3" driver.
When I did:
apt-get install brother-cups-wrapper-laser
and then used the "HL5240 for CUPS" driver, it worked. Note that this driver is listed separately from the standard HL-5240.
(Note: I accidentally posted this info to Question #18138, but I'm posting it here also.)
The same thing happens for me in Ubuntu 12.04, with a Brother HL-5240, using the "Brother HL-5240 BR-Script 3" driver.
When I did: cups-wrapper- laser
apt-get install brother-
and then used the "HL5240 for CUPS" driver, it worked. Note that this driver is listed separately from the standard HL-5240.