On Sat, 28 Nov 2020 14:08:15 +0100, Michael Logies wrote:
> the help of my phone (Xiaomi Mi 8) tells me, that for printing it has
> to be a Wifi printer. My printer are Wifi-capable, so I have no
> problem printing to them from Android.
Hi Michael Logies,
I very much appreciate your kind volunteer advice, as Usenet is how we,
together, solve problems, given none of us are trained in this stuff.
And none of us are paid to help each other.
o Worse, even if we were... we're all amateurs at printing technology
At least I am... (when things just work, we don't learn anything)
Hence Usenet is how we solve things, and, better yet, how we disseminate
the solutions, since we can then help everyone else with the same issues.
Yes. You are correct that if the HP LaserJet 2100tn were a "Wi-Fi capable"
printer (either Wi-Fi or Wi-Fi Direct), then it would most likely be simple
to print from Android to that printer.
Yet, the printer is on the LAN (via Ethernet on CAT5 cable), and, to the
point of this newsgroup, it prints just fine from Windows.
Interestingly, Windows needs something called a "printer driver".
o I don't know why Android doesn't seem to use printer drivers
What's confusing to me is that I never even once had thought about how
Android printing must be completely different (in some way) than Windows
printing.
a. In Windows, you install a printer driver for each printer
b. On Android, it doesn't seem to work that way (at least AFAICT)
> As I understand, the printer
> and the device have to support Cups, the linux standard way of
> printing. Because Android is a Linux flavor, Cups is integrated. And
> modern printer also support Cups.
I must openly admit that I only recently looked up what CUPS means, as, on
Android, they do have a CUPS "print service" that I installed.
o <
https://i.postimg.cc/6qRSK6WY/printing11.jpg>
But that requires, apparently, a "CUPS Print Server" which I don't have:
o <
https://i.postimg.cc/9fMnMYX4/printing12.jpg>
I'm very confused why Windows doesn't seem to need a "print server"
o Yet, Android seems to need a "print server"
Windows just needs a "printer driver".
o Yet Android doesn't even use printer drivers.
It's confusing to me _how_ printing actually works when it doesn't work.
> If your printer does not support Cups, I would print to a pdf on
> Android, transfer it to the windows machine and print it from there to
> the Windows printer.
Actually, early this morning, I found a solution that works perfectly.
o It's still "magic" _how_ it works (I need help on that); but it works!
1. On Android, I installed a "print server" which outputs PDF level 1.3
<
https://play.google.com/store/apps/details?id=com.blackspruce.lpd>
2. But my printer doesn't accept PDF - my printer wants PCL-5 instead
<
https://support.hp.com/us-en/product/hp-laserjet-2100-printer-series/25469/model/14918>
3. So I added a muPDF "faux printer driver" to "render" the PDF to a bitmap
<
https://play.google.com/store/apps/details?id=com.blackspruce.mupdf>
Somehow, the _combination_ (with judicious settings applied) converts the
PDF to a bitmap and by some magic, then to PCL-5, which is then sent to the
printer via the Android "print server".
o <
https://groups.google.com/g/comp.mobile.android/c/nTAYljkvVl4/m/qnuazdahCAAJ>
I do not profess nor pretend to know _how_ it works; but it works.
o I must say this is documented NOWHERE on the entire Internet (AFAICT).
So I may be the first person on the planet who has documented it here.
o Where it took hours of trial & error (particularly on the many settings)
Now that it works, I need someone to help EXPLAIN _how_ it is working
o Because at this point, it's just "print magic" to me that it's working
Especially since all the other solutions I tried turned out to be scams
o Or cloud services, or watermarked crippleware, or bogus in some way
In summary, I solved the problem set of printing from Android
o For free, ad free, gsf-free, google free, Windows-free, Linux-free
o Over the Wi-Fi LAN
o To a non-Wi-Fi Ethernet'd HP LJ 2100tn printer (built in 1999)
o Keeping everything on the LAN (i.e., no cloud involved)
o For unlimited printing (sans prevalent watermarking crippleware)
o From any Android device that I want at any time I want
o As long as both the Android device & the printer are on the same subnet
How it works is what I want to know, where I think the file conversions are
o PDF on Android to bitmap on Android to PCL-5 on Android to the printer
What I need help with is understanding why printing from Windows is easy
o And yet, printing from Android to the same printer is not
Why, for example, does Windows use a "printer driver" but Android does not?
o Why, for example, does Android use a "print server" but Windows does not?
--
On Usenet we can solve problems that nobody else seems to have resolved.