[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:38347] 印刷ができません



山内と申します。お世話になります。

印刷ができなくて困っています。
以前(半年ほど前)はできていたと思うのですが、
最近印刷をしようとしたらできませんでした。

プリンターは CANON BJC-210J を使い、パラレルポートに接続しています。


/var/spool/lpd/ 以下にディレクトリを作成(大文字小文字の両方)

# checkpc -f                  を実行

# /etc/init.d/lprng restart   を実行

などとしたのですが、変化ありません。


以下は現在の状況です。
/etc/printcap の中は以前のままでいじっていません。
よろしくおねがいします。

----------------------------------------------------------------
lprng        3.8.10-1.2
lprngtool    1.1.1-6
----------------------------------------------------------------
hoge:/foo# cat bar > /dev/lp0
では印刷可能
----------------------------------------------------------------
hoge:/foo# lpr bar
Status Information:
 sending job 'root@hoge+855' to BJC210J@localhost
 connecting to 'localhost', attempt 1
 connected to 'localhost'
 requesting printer BJC210J@localhost
 job 'root@hoge+855' transfer to BJC210J@localhost failed
  error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL'
  sending str '^BBJC210J' to BJC210J@localhost
 error msg: 'spool queue for 'bjc210j' does not exist on server hoge'
 error msg: '   non-existent printer or you need to run 'checkpc -f''
----------------------------------------------------------------
hoge:/foo# lpq
Printer: bjc210j@hoge - ERROR: spool queue for 'bjc210j' does not exist on server hoge
   non-existent printer or you need to run 'checkpc -f'
----------------------------------------------------------------
hoge:/foo# ps ax | grep lpd
 1057 ?        S      0:00 [lpd]
 1061 ttyp0    S      0:00 grep lpd
----------------------------------------------------------------
hoge:/foo# ls -l /var/spool/lpd/
total 12
drwxr-xr-x    2 daemon   lp           4096 Oct  5 10:35 BJC210J
drwxr-xr-x    2 daemon   lp           4096 Oct  5 10:34 bjc210j
drwx------    2 daemon   lp           4096 Oct  5 10:32 lp
----------------------------------------------------------------
hoge:/foo# cat /etc/printcap
# /etc/printcap: printer capability database. See printcap(5).
# You can use the filter entries df, tf, cf, gf etc. for
# your own filters. See /etc/filter.ps, /etc/filter.pcl and
# the printcap(5) manual page for further details.

##LPRNGTOOL## LOCAL bjc600 360x360 a4 {} BJC600 24 1
BJC210J|canon BJC210J
:sd=/var/spool/lpd/BJC210J
:sh
:ml=0
:mx=0
:af=/var/spool/lpd/BJC210J/acct
:lf=/var/spool/lpd/BJC210J/log
:cd=/var/spool/lpd/BJC210J
:lp=/dev/lp0
:if=/usr/share/lprngtool/master-filter
:client
: