From: cwilson@Xenon.Stanford.EDU (Christopher S. Wilson) Subject: Re: Help w/ networking and lpr please Date: 16 Feb 1993 00:24:07 GMT
In article <1993Feb15.221436.4506@organpipe.uug.arizona.edu> anurag@astro.as.arizona.edu (Anurag Shankar) writes:
[networking stuff deleted]
>I finally got lpr to work with dvilj2p and with gs, but printing plain
>ascii files still doesn't work. It will print them correctly if there
>is a carriage-return (^M) at the end of each line. Otherwise it prints
>first line, then the second line halfway across the page, the next line
>further down, and so on. I am printing to a HP Laserjet IIP.
[.sig deleted]
I have the same situation with my DeskJet 500. I have a little shell
script and trivial C program that together convert LF's to CR-LF's and
appends a FF before piping the file to lpr (I needed to set :ff=: in
termcaps because Ghostscript sends its own FF, so I was getting a
blank page, so when printing a text file, another FF needs to be
thrown in). Now Ghostscript and regular text files both print fine.
I'll send these (very short) files to anyone else who is interested,
just e-mail me (cwilson@cs.stanford.edu). It should work for any
LaserJet or DeskJet.
--Chris