it's not means sharing.
i linked the wl-500gp and usb printer
printer's address is /dev/lp0
in the ssh mode how can i print the document?
i try cat hi > /dev/lp0
but nothing is happen. please help me~
root@OpenWrt:/mnt/usbdrive/www2# ps aux
PID USER VSZ STAT COMMAND
1 root 1968 S init
2 root 0 SW< [kthreadd]
3 root 0 SW< [ksoftirqd/0]
4 root 0 SW< [events/0]
5 root 0 SW< [khelper]
19 root 0 SW< [kblockd/0]
52 root 0 SW [pdflush]
53 root 0 SW [pdflush]
54 root 0 SW< [kswapd0]
55 root 0 SW< [aio/0]
71 root 0 SW< [mtdblockd]
241 root 0 SWN [jffs2_gcd_mtd3]
255 root 1968 S init
271 root 1980 S syslogd -C16
273 root 1960 S klogd
285 root 1148 S /sbin/hotplug2 --override --persistent --max-children
394 root 0 SW< [khubd]
631 root 0 SW< [scsi_eh_0]
635 root 0 SW< [usb-storage]
946 root 1984 S udhcpc -t 0 -i eth0.1 -b -p /var/run/eth0.1.pid -R
957 root 1940 S /usr/sbin/dropbear -p 22
962 root 1964 S /usr/sbin/httpd -p 80 -h /www -r OpenWrt
989 nobody 1284 S /usr/sbin/dnsmasq -K -D -y -Z -b -E -s lan -S /lan/ -
997 root 1996 R /usr/sbin/dropbear -p 22
998 root 2008 S -ash
1012 root 1120 S /usr/sbin/p9100d -b -f /dev/lp0 0
1018 root 1968 R ps aux
root@OpenWrt:/etc/hp# dmesg | grep lp
On node 0 totalpages: 8192
Calibrating delay loop... 239.61 BogoMIPS (lpj=479232)
initramfs: LZMA lc=1,lp=2,pb=2,origSize=512
usblp0: USB Bidirectional printer dev 3 if 1 alt 0 proto 2 vid 0x03F0 pid 0x2F11
usbcore: registered new interface driver usblp
(Last edited by Zunifer on 15 Dec 2009, 14:45)