回文章列表
作者mutanwo.bbs@ptt.cc (mutanwo), 信區: 386bsd
標題[問題] 請問在FeeBSD下安裝印表機
時間批踢踢實業 (Mon Feb 5 21:44:32 2007)
轉信站: GIBBS!ccnews.ncku!news.ccns.ncku!news.mksh.phc!news.nsysu!ctu-gate!ctu-
Origin: sally.csie.ntu.edu.tw

各位好:
        我最近想把一台HP LaserJet 1300的印表機裝在FreeBSD5.4下
我參考的安裝方式是看FreeBSD的Handbook,而我安裝在lpt0下。/etc/printcap
的設定如下:

lp|color:\
        :sh:sd=/var/spool/lpd/printer:\
        :lp=/dev/lpt0:\
        :if=/usr/local/libexec/if-simple:\
        :fs=CRMOD:\
        :fs#0x82000c1:xs#0x820:\
        :1f=/var/log/printer.log:

印表機取名為color,在/etc/rc.conf檔裡,有加入lpt_enable="YES"。
然後下lpc start color啟動印表機。最後下 lpr test.c時。卻出現

        print: not found 此錯誤情形。

然後如果下cat test > /dev/lpt0此指令時,卻等很久之後才會列印。但印出奇怪
的文字。我是否在哪設定錯誤。麻煩可以告知我嗎?
謝謝...

--
※ 發信站: 批踢踢實業坊(ptt.cc) 
◆ From: 163.22.16.33
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻