Page 1 of 1

WR1043ND and Canon LPB5100

Posted: Thu Dec 03, 2015 7:41 pm
by Hugo z Hor
Hello,
I want to use TP Link WR 1043ND v1 with printer Canon LBP5100 via usb. Router recognizes in panel as:

Code: Select all

Canon CAPT USB Device is connected via USB.

You can connect to your printer on IP 192.168.2.1 via HP JetDirect protocol.
Then I installed drivers in Windows 7 as described on openwrt pages (used HP jetdirect protocol and Canon drivers). But printer is not working.
Disabling firewall in windows does not help.

dmesg shows:

Code: Select all

[   15.820000] usblp 1-1:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04A9 pid 0x26A4
[   15.830000] usbcore: registered new interface driver usblp
When I send some document to printer, some communication flows on port ...

Code: Select all

/$ netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        3      0 0.0.0.0:9100            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      
tcp        0      0 192.168.2.1:22          192.168.2.100:49373     ESTABLISHED 
tcp    83896      0 192.168.2.1:9100        192.168.2.100:49924     ESTABLISHED 
... but infopanel from printer driver displays error message

Code: Select all

Cannot Communicate with server
The following errors may have occurred.
- The server is down.
- The Firewall settings of the client does not allow communications with the server.
Check the server, or refer to the instruction manuals to change the Firewall settings.
Any ideas what to do? Thanks.

Re: WR1043ND and Canon LPB5100

Posted: Fri Dec 04, 2015 6:57 am
by mwCT

Re: WR1043ND and Canon LPB5100

Posted: Fri Dec 04, 2015 9:54 am
by Hugo z Hor
mwCT wrote:Check out the following link.
https://support.usa.canon.com/kb/index? ... =ART109227
Checked with Canon IJ network tool, but printer could not be detected. Firewall is disabled in Windows.
Interesting is that printer worked in stock firmware (I tried it when i bought router, but not needed to print from multiple computers). Maybe p910nd is the source of problem?

Re: WR1043ND and Canon LPB5100

Posted: Fri Dec 04, 2015 3:27 pm
by Lantis
Do you mind downgrading to 1.6.2 and trying that?
Do NOT preserve settings.

Re: WR1043ND and Canon LPB5100

Posted: Fri Dec 04, 2015 4:38 pm
by Hugo z Hor
Downgraded to 1.6.2 and printer still not working, with same sypmtoms.
Printer is listed in dmesg as

Code: Select all

[   38.090000] usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04A9 pid 0x26A4
[   38.100000] usbcore: registered new interface driver usblp

Re: WR1043ND and Canon LPB5100

Posted: Sat Dec 05, 2015 7:27 am
by mwCT
Have you tried to uninstall/reinstall the drivers?

https://help.ubuntu.com/community/CanonCaptDrv190

I have an Canon LBP6670 and print PCL5e because the proprietary drivers add another level of complexity.

Re: WR1043ND and Canon LPB5100

Posted: Sat Dec 05, 2015 8:27 am
by Hugo z Hor
mwCT wrote:Have you tried to uninstall/reinstall the drivers?

https://help.ubuntu.com/community/CanonCaptDrv190

I have an Canon LBP6670 and print PCL5e because the proprietary drivers add another level of complexity.
There are no proprietary drivers for LPB5100 in Windows 7/8/10, only those from Canon web pages.

Actual progress: I tried to downgrade to 1.5.1 and bricked the router (without preserving settings, as usual). So I am waiting for USB to TTL cable from our chinese friends :lol:

Re: WR1043ND and Canon LPB5100

Posted: Tue Dec 22, 2015 4:49 pm
by Hugo z Hor
OK, router resurrected with OpenWRT 12.09 and then installed CUPS.
But still cannot print from router.

My next step was to install stock firmware. And voila, when I connect printer into usb in router, it works!!!

I must note, that in stock firmware it is solved by installing utility from TP-Link (TP-Link USB printer controller), that somehow works as it is connected into local computer usb port (unfortunately it does not work when installed openwrt/gargoyle firmware).

So I stick with stock firmware, because I need shared printer and have not extra bucks for NB-C2 ethernet card.

Re: WR1043ND and Canon LPB5100

Posted: Sun Dec 27, 2015 7:01 pm
by mwCT
So glad you found a solution. :D

In order for CUPS to work it has to have a print driver. In my case the CUPS drivers from Canon were of the wrong architecture. Luckily, the printer is capable of PostScript and PCL. So from Windows I set up a PostScript or PLC printer and the printer takes the data stream.