BenoitDuffez / AndroidCupsPrint

Port of cups4j to Android. Allows wireless printing from any Android device to any CUPS-enabled print server or network printer.
https://benoitduffez.github.io/AndroidCupsPrint
GNU Lesser General Public License v3.0
228 stars 66 forks source link

Duplex #178

Open nitruk opened 4 years ago

nitruk commented 4 years ago

Hello,

Here is a patch so that AndroidCupsPrint will pass Job infos/attributes on to Cups4J and beyond, and handle duplex modes.

I more or less had to upgrade everything, particularly the version of Gradle which was deemed obsolete by my AndroidStudio. I let that and imports optimization in separate commits so you don't have to keep it if you know better.

Please forgive my clumsiness, I'm no Android developer.

BenoitDuffez commented 3 years ago

I'm not comfortable with a PR that does two things. I think it would be best to split in update deps and support duplex.

But I don't have time to handle this anymore unfortunately.