Canon インクジェットプリンタ BJ S600
利用したハードウェア
- Canon インクジェットプリンタ BJ S600
- Pocket USBホスト ケーブル
- コレガ Ether CF-TD (NFSで使用)
利用したソフトウェア
- module: printer.o
- ptex: ptex312-gs707.img(cramfs)
Canon インクジェットプリンタ BJ S600
モジュール printer.o をコピーする。
# cp printer.o /lib/modules/2.4.20/kernel/drivers/usb/. |
本体 SL-C3000のUSBポートにPocket USBホスト ケーブルのミニB5ピンを挿して
Canon BJS600 をPocket USBホスト ケーブルのAタイプ/メスに挿入する。
[設定]-[システム情報]-[デバイス]-[USB]で
USB OHCI Root Hubの次に表示される情報を確認する。
USB
|- USB OHCI Root Hub
|- BJ S600
Vendor: Canon, Inc. S600 Printer
Product: BJ S600
Class: Printer
ID: 04a9/105b
Driver: usblp |
モジュール printer.o が自動的にロードされます。
Module Size Used by
printer 7216 0 (unused)
usb_ohci_pxa27x 21696 0 (unused)
usbcore 63264 1 [printer usb_ohci_pxa27x]
pxa_bi 24912 0 (unused)
storage_fd 100336 0 (unused)
usbdcore 35504 0 [pxa_bi storage_fd]
usbdmonitor 5488 0
usb-monitor 6496 0
sharp_mmcsd_m 41008 2 |
dmesgに表示されたメッセージは、
メッセージの最後に
hub.c: USB new device connect on bus1, assigned device number 3
usb.c: kmalloc IF c3c40ca0, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
usb.c: USB device number 3 default language ID 0x409
Manufacturer: Canon
Product: BJ S600
SerialNumber: 21L989
usb.c: unhandled interfaces on device
usb.c: USB device 3 (vend/prod 0x4a9/0x105b) is not claimed by any active driver.
Length = 18
DescriptorType = 01
USB version = 1.10
Vendor:Product = 04a9:105b
MaxPacketSize0 = 8
NumConfigurations = 1
Device version = 2.10
Device Class:SubClass:Protocol = 00:00:00
Per-interface classes
Configuration:
bLength = 9
bDescriptorType = 02
wTotalLength = 0020
bNumInterfaces = 01
bConfigurationValue = 01
iConfiguration = 00
bmAttributes = c0
MaxPower = 2mA
Interface: 0
Alternate Setting: 0
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 00
bNumEndpoints = 02
bInterface Class:SubClass:Protocol = 07:01:02
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 01 (out)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 82 (in)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 00
usb.c: kusbd: /sbin/hotplug add 3
...
usb.c: registered new driver usblp
usb.c: ignoring set_interface for dev 3, iface 0, alt 0
printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04A9 pid 0x105B
usb.c: usblp driver claimed interface c3c40ca0
printer.c: v0.11: USB Printer Device Class driver |
nfsを使ってpTexをcramfsで使用しました。
# mount -t nfs server:/var/nfs /mnt/nfs
# mkdir /mnt/ptex
# mount -t cramfs -o loop /mnt/nfs/ptex312-gs707.img /mnt/ptex
# export TEXMF=/mnt/ptex/share/texmf
# export PATH=/mnt/ptex/bin:$PATH
# mkdir /mnt/card/tmp
# export TMPDIR=/mnt/card/tmp |
デバイス /dev/usblp0 を作成する。
# mknod /dev/usblp0 c 180 0 |
Postscriptファイル test.ps を印刷する。
# gs -sDEVICE=bjc600 -r600 -dNOPAUSE -dBATCH -sOutputFile=/dev/usblp0 /mnt/nfs/test.ps |
USBホスト Top Page に戻る
更新日時:
2005/04/11 06:51:06
お問い合わせ:
本サイトに対する御意見・質問等はこのページからお願いします。