john@wa3wbu.UUCP (John Gayman) (01/31/88)
I'm running Microport 2.3U and am having a problem with printing. My printer is a Panasonic KXP-1091i (80 columns). I don't think this problem is really specific to Microport. When I print files that have lines longer than 80 characters, the characters beyond 80 do not wrap around on the printer to a second line but instead are just chopped off at the 81st character. I have the following defined: lpset /dev/lp 0 80 66 I've tried other margin settings and then the lines get cut off at whatever I have the right margin at. What do I have to do to get the printer to wrap the lines around rather than just cut them off ? I've tried printing by "lp filename" and "cat filename >> /dev/lp" and get the same results. All suggestions are appreciated. ---> John -- John Gayman, WA3WBU | UUCP: uunet!wa3wbu!john 1869 Valley Rd. | ARPA: wa3wbu!john@uunet.UU.NET Marysville, PA 17053 | Packet: WA3WBU @ AK3P
wes@obie.UUCP (Barnacle Wes) (02/08/88)
In article <470@wa3wbu.UUCP>, john@wa3wbu.UUCP (John Gayman) writes: > What do I have to do to get the > printer to wrap the lines around rather than just cut them off ? Try using: pr -t -w80 file | lp Look at the man page for pr in section 1 of the runtime system documentation. Pr will do quite a bit of formatting for you; it is especially good for printing source files with headers and line numbers. You might also want to see if your printer can do 12cpi (96-wide) or 16cpi (136-wide) printing; the 12cpi is quite often more readable on a dot matrix printer. Wes -- /\ - " Against Stupidity, - {backbones}! /\/\ . /\ - The Gods Themselves - utah-cs!utah-gr! / \/ \/\/ \ - Contend in Vain." - uplherc!sp7040! / U i n T e c h \ - Isaac Asimov - obie!wes