pdewacht / brlaser

Brother laser printer driver
GNU General Public License v2.0
592 stars 112 forks source link

HL-2230 graphics are cut off #95

Open jclouter opened 3 years ago

jclouter commented 3 years ago

This printer seems to work fairly well when printing text, however pages featuring large graphics are typically cut off towards the top. It's not on the list of supported printers, however using the 'Brother HL-1110 series, using brlaser v6' option seems to allow partial functionality as long as there's no large graphics. If the pages are scaled down to about 70 percent they sometimes will print. Would be great to have full HL-2230 support!

jclouter commented 3 years ago

Sorry should have mentioned:

Linux raspberrypi 5.4.72-v7+ #1356 SMP CUPS 2.2.10 brlaser v6

alexivkin commented 3 years ago

Same exact issue with rpi on a similar printer. And same exact workaround by scaling images down. Are you using a compiled driver from this repo or one from the apt repo?

jclouter commented 3 years ago

Same exact issue with rpi on a similar printer. And same exact workaround by scaling images down. Are you using a compiled driver from this repo or one from the apt repo?

Compiled it from this repo

jclouter commented 3 years ago

I've also tried editing the PPD file for the HL-1110 to use the page area / printable area that is included in Brother's official HL-2230 PPD file. That Brother file is incompatible with cups on raspberry pi, but my edited file works when I use it. The same problem persists however, anything with large graphics is cut off or blank. Insufficient memory somewhere perhaps?

alexivkin commented 3 years ago

There are no issues like this when printing on x86 with the native i386 Brother drivers. It seems native drivers stream data to work on these printers, unlike brlaser which tries to stuff everything in the little memory this device has.

Good news - There are armv7l compiled drivers from Brother which may work for y. As for brlaser, @pdewacht perhaps there is something to be gleaned from the reverse engineered rawtobr3?

jclouter commented 3 years ago

There are no issues like this when printing on x86 with the native i386 Brother drivers. It seems native drivers stream data to work on these printers, unlike brlaser which tries to stuff everything in the little memory this device has.

Good news - There are armv7l compiled drivers from Brother which may work for y. As for brlaser, @pdewacht perhaps there is something to be gleaned from the reverse engineered rawtobr3?

Yes agreed, I'm currently using an old Ubuntu machine as my cups print server and the printer works perfectly with that setup. A raspberry Pi would be preferable so I don't have to have that noisy old machine on 24/7 :-) The reason for the print server is so that my kids can print their schoolwork assignments from their Chromebooks which don't support the HL-2230.

I wasn't able to find the ARM compiled drivers from Brother you spoke of - any chance you can direct me to them? Thanks!

alexivkin commented 3 years ago

EDIT: There were mistakes in the original post. I moved all the steps into this repo - https://github.com/alexivkin/brother-in-arms