OpenWrt Forum Archive

Topic: p910nd tplink-1043nd and samsung clp-310

The content of this topic has been archived on 5 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,
i cant get printer connection sad
i have installed

kmod-usb-core 
kmod-usb-ohci
kmod-usb-uhci
kmod-usb2
usbutils
kmod-usb-printer
luci-app-p910nd
p910nd

dmesg show that:

usb 1-1: new high speed USB device using ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 pid 0x328E

and the uci show p910nd says:

p910nd.@p910nd[0]=p910nd
p910nd.@p910nd[0].bidirectional=1
p910nd.@p910nd[0].enabled=1
p910nd.@p910nd[0].device=/dev/usb/lp0
p910nd.@p910nd[0].port=9100

when i do a netstat -an says:

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:9109            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:23              0.0.0.0:*               LISTEN

i dont understend why is not listen on 9100
please if somebody can tell me how set up it
thx

port=0 not 9100. 9100 is base (9100+port)

thank you very much
now listen to 9100 but still listen 9109 (why?)
still dont print nothing when i send a page to (router)192.168.1.4:9100(port)
sad

in /dev/ i cee a lp0 and when i do

date > /dev/lp0 

the printer's led start to flash but nothing printed
then the device in p910nd is /dev/lp0????
why it dont print the date???

(Last edited by Aficionadillo on 11 Jun 2011, 13:26)

It works now
after a reboot with the printer conected to usb it works!!

The discussion might have continued from here.