rck@ihuxv.ATT.COM (R. C. Kukuk) (02/03/88)
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
lenny@icus.UUCP (Lenny Tropiano) (02/05/88)
In article <2430@ihuxv.ATT.COM> rck@ihuxv.ATT.COM (R. C. Kukuk) writes: |> |>[... explanation of the <FF> in the the end of the page snipped out...] |> |>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! |> I agree totally. We had the problem when we did special forms like statements and invoices for our company. This seems to only happen on the Parallel device. The serial printer connection is untouched. The way we got around it was to avoid the printer spooler totally... $ cat file >/dev/rawlp |>Does anyone out there know how to disable this 66 line "feature"? If you have 3.51, you can do a "setprint". Usage: setprint lines cols (ie: setprint 66 132 <-- default action) This might help too... -Lenny -- ============================ US MAIL: Lenny Tropiano, ICUS Computer Group IIIII CCC U U SSSS PO Box 1 I C C U U S Islip Terrace, New York 11752 I C U U SSS PHONE: (516) 968-8576 [H] (516) 582-5525 [W] I C C U U S AT&T MAIL: ...attmail!icus!lenny TELEX: 154232428 IIIII CCC UUU SSSS UUCP: ============================ ...{uunet!godfre, harvard!talcott}!\ ...{ihnp4, boulder, mtune, bc-cis, ptsfa, sbcs}! >icus!lenny "Usenet the final frontier" ...{cmcl2!phri, hoptoad}!dasys1!/
crocker@ihwpt.ATT.COM (ron crocker) (02/05/88)
There is a command (the name of which escapes me now, but I think it is "setprint") that you can use to configure the driver as to the number of lines and columns for printer output. Hope it helps! Ron Crocker AT&T Bell Laboratories Room IHP 1A213 200 Park Plaza Naperville, IL 60566 (312) 416-5262