[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[plamo:12119] Re: How can I use /dev/lp0 on Plamo2.2 ?
-
From:Hitoshi TANIMURA
-
Date:Sun, 4 Nov 2001 07:32:25 +0900
- Subject: [plamo:12119] Re: How can I use /dev/lp0 on Plamo2.2 ?
- From: Hitoshi TANIMURA <tanimura@xxxxxxxxxxxxx>
- Date: Sun, 4 Nov 2001 07:32:25 +0900
- Posted: Sun, 04 Nov 2001 07:27:19 +0900
MOUE¤µ¤ó¡¢ÃúÇ«¤Ê¥¢¥É¥Ð¥¤¥¹ÍÆñ¤¦¤´¤¶¤¤¤Þ¤¹¡£
¤´»ØŦ¤¤¤¿¤À¤¤¤¿³Æ¹àÌܤò°Ê²¼¤Î¤è¤¦¤Ë³Îǧ¤·¤Þ¤¿¡£
MOUE Kiyoshi wrote:
>
> BJC-600J ---- Plamo2.0 ¤Ï¡¢¥Ñ¥é¥ì¥ëÀܳ¤Ç¤¹¡£
> Plamo2.2 ¤«¤é¤Ï¡¢¥ê¥â¡¼¥È¥×¥ê¥ó¥¿¡¼¤ÇÆ°¤¤¤Æ¤¤¤Þ¤¹¡£
> ¤É¤Á¤é¤â kernel 2.2.19 ¤Ç¡¢/usr/src/linux/.config ¤Ï¡¢
>
> CONFIG_PARPORT=m
> CONFIG_PARPORT_PC=m
> CONFIG_PARPORT_OTHER=y
>
> ¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
¡¡³Îǧ¤·¤Þ¤·¤¿¡£Æ±ÍͤÎÀßÄê¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
>
> $ ps ax ¤Ç¡¢
> 59 ? S 0:00 /usr/sbin/lpd
> ¤¬Æ°¤¤¤Æ¤¤¤ë¤Î¤ò³Îǧ¡£
¡¡³Îǧ¤·¤Þ¤·¤¿¡£
52 ? S 0:00 /usr/sbin/lpd ¤È¤Ê¤Ã¤Æ¤Þ¤¹¡£
>
> # printersetup
>
¡¡¤³¤ì¤â¡¢¤ª¤Ê¤¸¤Ç¤¹¡£¡ÊPlamo 1.4 ¤Ç¤ªÀ¤Ïäˤʤê¤Þ¤·¤¿¡£¡Ë
¡¡¡ô¡¡¤¿¤À¤·¡¢printer driver ¤Ï¡¡bj10v ¤È¤·¤Þ¤·¤¿¡£
¡¡¡ô¡¡bj200e ¤Ï¡¡printersetup ¤Ë¤Ï¤¢¤ê¤Þ¤»¤ó¤¬
¡¡¡ô¡¡¤³¤Î¤Þ¤Þ¤Ç¤Ï¡¡¡Ö¥Ô¥Ã¥Ô¥Ã...¡×¤ÇÊѤʤâ¤Î¤¬°õºþ¤µ¤ì¤ë¤Î¤Ç
¡ô¡¡bj200e ¤Ï¡¡entry ¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡Ê³°¹ñ¤ÎÆüì»ÅÍͤǤ¹¡Ë¡¡
¡¡¡ô¡¡¸å¤Ç /usr/bin/lp-if ¤ò¡¡bj200 ¤ËÊѹ¹¤·¤Þ¤¹¡£
¡¡¡ô¡¡bj200 ¤Ç¡¡(Plamo 1.4 ¤Ç»î¹Ôºø¸í¤Î·ë²Ì)text, ps ¤È¤â°õºþ¤·¤Þ¤¹¡£
¡¡
---------------------+
¥×¥ê¥ó¥¿¤ÎÀܳ¥Ý¡¼¥È : /dev/lp0
¥Æ¥¥¹¥È½ÐÎÏÍÑ¥×¥ê¥ó¥¿Ì¾: lp
PS ½ÐÎÏÍÑ¥×¥ê¥ó¥¿Ì¾ : ps
¥×¥ê¥ó¥¿ÍÑ gs ¥É¥é¥¤¥Ð : bj10v
---------------------+
>
> ¥Æ¥¹¥È°õºþ¡£
> ¥Æ¥¥¹¥È¡¢
> $ lpr -Plp file_name
>
¡¡¥×¥ê¥ó¥¿¤ÏÆ°¤¤Þ¤»¤ó¡£
lpq ¤Ç¤ß¤ë¤È¡¡queue entry ¤Ï¤Ç¤¤Æ¤¤¤Þ¤¹¡£
¡¡¡ô¡¡Ç°¤Î°Ù¡¢¥±¡¼¥Ö¥ë¤Ê¤É¤Î¥»¥Ã¥Æ¥£¥ó¥°¤ò¤¤¤¸¤é¤º¤Ë¡¢
¡¡¡ô¡¡lilo ¤Ç Win95 ¤òµ¯Æ°¤·¥Æ¥¹¥È¤¹¤ë¤È¡¢Àµ¾ï¤Ë°õºþ¤·¤Þ¤¹¡£
>
> ÅÓÃæ¤ÇÆÃ¤Ë module ¤ÎÁȤ߹þ¤ßºî¶È¤Ï¤·¤Æ¤¤¤Þ¤»¤ó¤¬¡¢lsmod ¤Ç¸«¤ë¤È¡¢
> # lsmod
> Module Size Used by
> parport_probe 3396 0 (autoclean)
> parport_pc 7396 1 (autoclean)
> lp 5668 0 (autoclean)
> parport 7160 1 (autoclean) [parport_probe parport_pc lp]
> .......
> ¤È¥¨¥ó¥È¥ê¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
>
¡¡¤³¤ì¤Ë¤Ï°ã¤¤¤¬¤¢¤ê¤Þ¤¹¡£»ä¤Î·ë²Ì¤Ï
Module Size Used by
parport_probe 3632 0 (autoclean)
parport 7692 1 (autoclean) [parport_probe]
¡¡¤È¤Ê¤Ã¤Æ¤Þ¤¹¡£
¡¡parport_pc ¤È¡¡lp ¤¬¤¢¤ê¤Þ¤»¤ó¡£¡¡Size ¤âÈù̯¤Ë¤Á¤¬¤¤¤Þ¤¹¡£
> echo 'abc' > /dev/lp0 ¤â°õºþ¼Â¹Ô¤µ¤ì¤Þ¤¹¡£
>
¡¡¤³¤ì¤â°õºþ¤µ¤ì¤Þ¤»¤ó¡£
¡¡¤Ê¤ª¡¢¤³¤Î¥³¥Þ¥ó¥É¤ËÂФ¹¤ë¥ì¥¹¥Ý¥ó¥¹¤Ï
¡¡¡¡¡lpq ¤Ë¡¡queue ¤¬¤¢¤ë»þ -> /dev/lp0:Device or resource busy¡¡
¡¡¢¡¡lpq ¤Ë¡¡queue ¤¬Ìµ¤¤»þ -> ¡Ê¥ì¥¹¥Ý¥ó¥¹¤Ê¤·¡¢°õºþ¤â¤·¤Ê¤¤¡Ë
¡¡¤È¤Ê¤ê¤Þ¤¹¡£
> $ ls /dev | grep lp
> lp0
> lp1
> lp2
>
¡¡¤³¤ì¤ÏƱ¤¸·ë²Ì¤Ç¤¹¡£
¡ôKernel 2.2 ¤Ë¤Ê¤Ã¤Æ¡¡Plamo °Ê³°¤Îdistribution ¤Ç¤Ïi586 °Ê¾å¤Ç¤Ê¤¤¤È
¡ôÆ°¤«¤Ê¤¯¤Ê¤ê¤Ä¤Ä¤¢¤ë¤è¤¦¤Ç¤¹¡£
¡ôCPU ¤Ï¡¡80486DX4 ¤Ç PCI bus ¤ÈISA bus ¤¬º®ºß¤·¤Æ¤¤¤ë¸Å¤¤¤â¤Î¤Ç¤¹¡£
¡ô´Ø·¸¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©
--
Best regards,
Hitoshi TANIMURA
- Follow-Ups
-
- [plamo:12120] Re: How can I use /dev/lp0 on Plamo2.2 ?, MOUE Kiyoshi
- References
-
- [plamo:12110] Re: How can I use /dev/lp0 on Plamo2.2 ?, YAMAGUCHI Shingo
- [plamo:12114] Re: How can I use /dev/lp0 on Plamo2.2 ?, Hitoshi TANIMURA
- [plamo:12115] Re: How can I use /dev/lp0 on Plamo2.2 ?, MOUE Kiyoshi
[¸¡º÷¥Ú¡¼¥¸]
[¥á¡¼¥ë°ìÍ÷]
Plamo ML ¸ø³«¥·¥¹¥Æ¥à