I have some problem with configure the printer.

my printer is epson dot metrix, and using slakware, 2.0.30

I use 
    cat readme.txt /dev/lp1

can print out the readme.txt to the printer

    lpr readme.txt or lpr -Psample readme.txt
lpr: unable to get official name for local machine

my /etc/printcap
#lp|Generic dot-matrix printer entry:\
lp|Generic dot-matrix printer entry:\
        :lp=/dev/lp1:\
        :sd=/var/spool/lp1/lp:sh:\
        :if=/usr/bin/lpf:\
        :df=/var/spool/lp1/filter.ps:\
        :tf=/var/spool/lp1/filter.ps:\
        :af=/var/spool/lp1/lp-acct:\
        :lf=/var/spool/lp1/lp-err:
#
# A sample printcap template
sample|EpsonLQ100|Epson Dot-metrix LQ-100:\
  :lp=/dev/null:\
  :sd=/usr/spool/lp1:\
  :mx#0:\
  :if=/usr/spool/lp1/myptr-if.tcl:\
  :lf=/usr/spool/lp1/myptr-log:\
  :sh:\
  :sf:

Reply via email to