chuckcharlie / cups-avahi-airprint

Docker image for CUPS intended as an AirPrint relay
GNU General Public License v3.0
118 stars 66 forks source link

Add support for additional Brother laser printers #9

Closed aav7fl closed 2 years ago

aav7fl commented 2 years ago

This adds the brlaser package to the supported printers: https://pkgs.alpinelinux.org/package/edge/community/x86/brlaser

I tried adding the individually compiled .ppd files (from https://github.com/pdewacht/brlaser) along with the custom rasterizers, but I kept hitting too many dead ends due to additional missing dependencies.

Installing the brlaser package solved that issue for me and I was able to add my Brother HL-2270DW printer.

For anyone else that comes across this from Google, I ended up using the Brother HL-2220 series, using brlaser v6 (grayscale) driver for my HL-2270DW instead of the correct driver. That's because whenever I selected the Duplex printing option on my iPad, nothing would print (even if Duplex test pages worked through CUPS). When using the correct driver, I could only print on iOS if I turned off Double-sided printing for that job.

I solved this by forcing the HL-2270DW onto a different driver (that didn't expose the duplex settings). Doing this made it so the Double-sided printing option wasn't exposed to the iOS device, and then it would properly fall back to the printer's default preferences (with Duplex enabled) and successfully print.

aav7fl commented 2 years ago

@chuckcharlie Just giving a friendly bump in case notifications for PR creations are off (and for the other PRs as well).

aav7fl commented 2 years ago

@chuckcharlie bump

chuckcharlie commented 2 years ago

Thanks. Sorry for the delay. Been working on being a Dad lately, so little room for updating a Docker image, lol.

aav7fl commented 2 years ago

Thanks. Sorry for the delay. Been working on being a Dad lately, so little room for updating a Docker image, lol.

No worries. Also, congratulations! 😄

smilence86 commented 1 year ago

@chuckcharlie

Hello, sorry for this way to contact you, I can't find your email and issues of this repo closed, I used your docker image that is awesome, It's running at arm64 successfully, I added 2 printers both works very well, thanks for your project.

I want to add model epson L805 to cups, but I don't know how to do it, I have found the driver and tested it on my ubuntu system. It works.

arm64 driver is here: https://www.epson.com.cn/Apps/tech_support/GuideDriveContent.aspx?ColumnId=31395&ArticleId=45192

amd64 driver is here: https://www.epson.com.cn/Apps/tech_support/GuideDriveContent.aspx?ColumnId=31395&ArticleId=45205

The drivers file format are deb. your image based alpine, thus can't use dpkg command to install it.

Counld you add these drivers to docker image or tell me how to do it.

Thanks.