UNIX-PC vs. line printers

R. C. Kukuk rck at ihuxv.ATT.COM
Thu Feb 4 00:31:11 AEST 1988


Recently I added an Epson printer to my UNIX-PC.  I wanted to
be able to print in as many fonts and print sizes as possible,
so I modified the lp shell interface script to send various
escape sequences to the printer.  One of the sequences put the
printer into a mode for printing 8 lines per inch.

Well guess what, whenever I tried printing a file at 8 lpi, the
first 66 lines would print and then the printer would form feed
to the top of the next page.  Of course I blamed the printer and
made several calls to the Epson technical support people.
It was there I learned that I could put the printer into a data
dump mode that printed what it received in a form similar to those old
IBM core dumps.  When I printed (dumped) a file this way, I found
out that after 65 line feeds, the 66th had been replaced by a form
feed!.

Thank you, line printer driver!  You have no business
modifying a data stream; you should only pass the data from the
user to the printer!

Does anyone out there know how to disable this 66 line "feature"?

Ron Kukuk



More information about the Unix-pc.general mailing list