Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2000 15:25:38 -0400 (EDT)
From:      jason <jason@welsh.dynip.com>
To:        questions@FreeBSD.org
Subject:   printing text with deskjet 842
Message-ID:  <Pine.BSF.4.10.10008261519140.63042-100000@welsh.dynip.com>

next in thread | raw e-mail | index | archive | help
I have been trying to print from my freebsd 4.0 box to this printer and
keep getting the dreaded staggered text..i.e.
!"#$%&'()*+,-./01234
                    "#$%&'()*+,-./012345
                                     #$%&'()*+,-./0123456

I followed the directions in the printing section of the handbook and set
up my print filter as such

#!/bin/sh
    #
    #
    #  Treat LF as CR+LF:
    #
    printf "\033&k2G" || exit 2

and that file is executable. 
[jason@welsh]$ ls -al /usr/local/libexec/if-simple
-r-xr-xr-x   1 root     wheel         211 Aug 26 12:53
/usr/local/libexec/if-simple


my /etc/printcap contains
#
lp|local line printer:\
        :sh:\
        :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
        :if=/usr/local/libexec/if-simple:
#
# Sample remote printer.  The physical printer is on machine "lphost".


any suggestions?

regards,
Jason



--
=======================================================================
|  Jason Welsh   jason@welsh.dynip.com   |   If you think there's     |
|                                        |   good in everybody, you   |
|      http://welsh.dynip.com/           |   haven't met everybody.   |
=======================================================================




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10008261519140.63042-100000>