olbat / dockerfiles

A collection of Dockerfiles
https://hub.docker.com/u/olbat/
GNU General Public License v3.0
134 stars 73 forks source link

A suggestion to enable AirPrint for some hp printers #61

Closed THENEBYS closed 2 years ago

THENEBYS commented 2 years ago

According to https://developers.hp.com/hp-linux-imaging-and-printing/binary_plugin.html , Some HP printers require proprietary software technologies to allow full access to printer features and performance. Unfortunately, these technologies cannot be open sourced, but to resolve this HP uses a binary plug-in for these printers.This may cause some printers like p1108 can be found in iOS but won’t print anything.So I manually download the hp plug-in from https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.21.6-plugin.run ,and config it.Now the AirPrint works fine with my hp p1108.

THENEBYS commented 2 years ago

So I wonder if there is a way you can add this part to your project. I don’t know about how to programming,I just provide a suggestion and how I solved the AirPrint issue,thanks!

olbat commented 2 years ago

Hello 👋

No I don't think that this driver will ever be part of this project, for different reasons:

  1. these drivers are not open-source, their license probably have some restrictive clauses about who can distribute them and how
  2. if there is an EULA to accept, it will definitely not be possible to distribute the drivers in this project
  3. starting to include support for random proprietary drivers for every printers brands will be very high maintenance for me

Here is the basic rule of thumb: if the driver you need is packaged and distributed by the Debian team, it can be included in this image. Otherwise it won't be.

olbat commented 2 years ago

Now you always have the option to build a new image which will include the drivers you need on the top of this one. Just create a new Dockerfile and mention this image as a base then add what you need to add. (Dockerfiles from this repository are licensed under the terms of the GNU GPLv3 license).

THENEBYS commented 2 years ago

👌I understand,thank you very much😄