Date: Tue, 29 Aug 1995 13:20:36 -0400 (EDT) From: rhh@ct.picker.com (Randall Hopper) To: freebsd-questions@freebsd.org Subject: Re: HP print filter script Message-ID: <9508291720.AA09446@elmer.ct.picker.com>
next in thread | raw e-mail | index | archive | help
> I have been unsuccessful in getting plain text to print to a remote > printer. I have been able to use a2ps to print, but it seem like a work > around, as I can print fine with a Sun connected to the printer. > > I have tried the following: > > #!/bin/sh > printf "\033E\033&k2G" > cat - > printf "\033E" > > and the one before it had: > > #!/bin/sh > echo "\027&k3G" > cat > exit lp|LaserJet 4P Printer:\ :lp=/dev/lpt0:sd=/usr/var/spool/lpd:lf=/var/log/lpd-errs:\ :mx#0:ff=\033E\033&k2G:fo:sh:tr=\033E: This works for me. I don't remember whether I aliased lpr to lpr w/ -h option or if this actually suppresses the burst page, but it does handle EOL translation for plain text (my LJ is set for DOS EOL). Randall _____________________________________________________________________________ Randall Hopper | Picker International rhh@ct.picker.com | FAX: (216) 473-7098 *** WINDOWS from the folks who brought you EDLIN ***
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9508291720.AA09446>