HP製USB接続複合機 PSC 1210でプリントサーバを作る
May 31 01:12:50 sumomo kernel: ohci_hcd 0000:00:0b.0: wakeup May 31 01:12:50 sumomo kernel: usb 2-2: new full speed USB device using ohci_hcd and address 2 May 31 01:12:50 sumomo kernel: usb 2-2: configuration #1 chosen from 1 choice May 31 01:12:51 sumomo kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectio nal printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x2F11 May 31 01:12:51 sumomo kernel: usbcore: registered new driver usblp May 31 01:12:51 sumomo kernel: drivers/usb/class/usblp.c: v0.13: USB Printer Dev ice Class driver
taskselで「印刷サーバ」一式をいれちゃうのが楽。
$ sudo /etc/init.d/cupsys start Starting Common Unix Printing System: cupsd.
基本的にローカルバインドなのでsshのローカルフォワードなどでアクセスするのが良い。
$ ssh -L 631:localhost:631 user@host
これでhttp://localhost:631にアクセス
まぁ適当に。。。
つーかこれ考えるとやっぱりローカルバイドはまずいなぁ、つーわけで
#Listen localhost:631 Litesn *:631
とかしつつ
<Location /> Order allow,deny # Allow localhost Allow From 192.168.11.0/24 </Location>
みたいな
で、どうでもいいけど(いやよくないが)こいつはWindowsからのネットワーク共有をサポートしてないので以下のURLの通りに強引に組みこんでやる。