I have two LPD errors
1. I see two characters being replaced by strings on the hard copy (the {â}
below is an {a^}). This happens on the first page and not on following
instead of " I get:  â\200\234 (235 for trailing ")
instead of ' I get:  â\200\231
2. All non-english characters get garbled, on all pages. These are
characters like ç, ö, etc.

With these two seemingly separate errors, I can't figure out whether this is
an lpr or enscript error.

* The file being sent through lpr is a simple text file.
* /etc/printcap entry for default printer is:
   lp|hp2100|HP 2100TN:\
* /var/log/lpd-filter-errs shows: [ 4 pages * 1 copy ] left in -  \  59
lines were wrapped  \  7 non-printable characters
* filetrs/psif is also very basic:
IFS="" read -r first_line
first_two_chars=`expr "$first_line" : '\(..\)'`
case "$first_two_chars" in
    # %! : PostScript job, print it.
    echo "$first_line" && cat && exit 0
    exit 2
    # otherwise, format with enscript
    ( echo "$first_line"; cat ) | /usr/local/bin/enscript -o - && exit 0
    exit 2

View this message in context: 
Sent from the freebsd-current mailing list archive at Nabble.com.
freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to