печать на lpt: чота не чепятает :(
Добавлено: 2012-09-11 8:31:05
хочу обойтись без CUPSов, и чота не чепятает 
вроде всё так делаю..
иль не?

вроде всё так делаю..
иль не?

Код: Выделить всё
# ls /dev | grep lpt
lpt0
lpt0.ctl
#cat /etc/printcap
lp|Russian local line printer:\
:sh:of=/usr/libexec/lpr/ru/koi2alt:\
:lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
#cat /etc/rc.conf
lpd_enable="YES"
# lpc
lpc> status all
lp:
queuing is enabled
printing is enabled
no entries in spool area
printer idle
#lptest 20 5 | lpr
#cat lpd-errs
Sep 11 12:16:35 thin-client newsyslog[1299]: logfile first created
Sep 11 12:16:36 thin-client lpd[1395]: lpd startup: logging=1 net-secure
Sep 11 12:16:36 thin-client lpd[1395]: lpd startup: ready to accept requests
Sep 11 12:17:34 thin-client lpd[1512]: thin-client requests printjob lp