I am to determine what is wrong with OpenWrt print server.
If I use a commercial available branded TP link print server, Noko App on my Android phone can detect the presence of the print server, and subsequently can print out documents from my phone. Printing out a Windows Printer Test page, no issue, it does print out.
However, when I set up my Dlink DIR-842 c2 router(refer to Network B, IP = 192.168.188.51) as a wireless relay bridge, hooked up my HP printer to the usb port of the DIR-842 c2 router, printing out Windows Printer test page, no issue, it does print out.
If I use the Noko print App, I cannot print anything. the App will show the status & it will stop/fail half way, and the App will hang.
I tried to use another android app - PrintHand App, same issue, cannot print.
I tried to use another printer- EPSON ECO TANK L3110 usb printer, same issue, the APP will fail to print anything document from my phone. But as usual, printing out Windows Printer Test Page, no problem at all.
Might work but you need to change the main rather to support WDS & mesh. These 2 features are something is not readily available on a given off-the-shelf-router. Given that the main router does NOT support flashing OpenWrt, then this is not a solution.
Your printer app does not support Appsocket AKA 9100 RAW print protocol https://www.nokoprint.com/
You can add printer to default print provider to confirm connection is OK.
Referring to the diagram Network A, if my app does not support RAW
9100 print protocol, how did my Noko app was able to grab documents in my phone and printed out on my very old HP Laserjet printer via the TPlink print server?
I tried to capture the packets using putty, but I don't know why I cannot see any packets being captured, while the printer was printing.
Is it the correct interface you have given me to use?
login as: root
BusyBox v1.35.0 (2023-01-03 00:24:21 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 22.03.3, r20028-43d71ad93e
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# tcpdump -n -v -i br-lan tcp port 9100
tcpdump: listening on br-lan, link-type EN10MB (Ethernet), capture size 262144 bytes
^C
0 packets captured
0 packets received by filter
0 packets dropped by kernel
root@OpenWrt:~#
I think the main issue is mainly because the drivers is flaky.
I use the PrintHand app (using its own drivers repository on the app) to print documents >>> using OpenWrt printer sever >>> print documents 100% successful.
I would try to use the same app to print on a Canon Laser printer and see what is the outcome later, when I get the chance to test it at home.
So, it could be flaky drivers (from PrintHand app) of the EPSON Eco Tank L3110 colour printer that is causing the printing half way problem.
Common ground reachable would be samba for windows printer share protocol.
p910nd supports only 9100/RAW protocol supported by default andoid print provider.
There is no IPP server in OpenWRT packages.
My existing tp-link usb printer server (runs on ethernet connection only) supports samba. And my PrintHAND android app can easily find it without having to manually entering IP address.
Just a wishful thinking -It be would nice feature to have in OpenWRT, in the future.