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

Re: Non Postscript Printer



On Sun, 17 Feb 2002 22:21:11 -0800, Dennis Krinke wrote:

>Hi. I am trying to configure a Panasonic printer, KX-P1124. 
>I have always used epson LQ850 compatibility mode. 
>Oddly, I had this working one month ago, 
>I could print from StarOffice or Mozilla. 
>I can print text with 'lpr'. 
>But the thing that has changed is that 
>I can no longer get the correct printout 
>from StarOffice or Mozilla: 
>The printer starts printing out the postscript language. 

Hey Dennis,

Didn't know there were any more of these around ;-}.  My dot matrix
printer is the kxp1624, the wide body version.  I used apsfilter with gs
and lpr with no probs unless I fail to specify the correct printer.
That is, my "pandot" printer receives its input via aps/gs.  An
unspecified lpr or lpr -Praw will do as you describe.

Apsfilter generates the printcap file when configured.  It's a super
easy set-up.  Look at my printcap and you will see what I'm talking
about.  LaTeX, abiword, and print from files all work.


# /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.

lp|Generic dot-matrix printer entry:\
        :lp=/dev/lp0:\
        :sd=/var/spool/lpd/lp:\
        :af=/var/log/lp-acct:\
        :lf=/var/log/lp-errs:\
        :pl#66:\
        :pw#80:\
        :pc#150:\
        :mx#0:\
        :sh:

# rlp|Remote printer entry:\
#         :lp=:\
#         :rm=remotehost:\
#         :rp=remoteprinter:\
#         :sd=/var/spool/lpd/remote:\
#         :mx#0:\
#         :sh:
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
pandot|Printer1 auto:\
    :lp=/dev/lp0:\
    :if=/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/pandot:\
    :lf=/var/spool/lpd/pandot/log:\
    :af=/var/spool/lpd/pandot/acct:\
    :mx#0:\
    :sh:
raw|Printer1 raw:\
    :lp=/dev/lp0:\
    :if=/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/raw:\
    :lf=/var/spool/lpd/raw/log:\
    :af=/var/spool/lpd/raw/acct:\
    :mx#0:\
    :sf:\
    :sh:
# APS1_END - don't delete this
gt
Yes I fear I am living beyond my mental means--Nash



Reply to: