Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!pikes!slate!rbeach From: rbeach@slate.mines.colorado.edu (Richard Beach) Newsgroups: comp.sys.next Subject: Re: printer orientation or tab stops Keywords: next laser printer Message-ID: <1991Apr27.230723.27496@slate.mines.colorado.edu> Date: 27 Apr 91 23:07:23 GMT References: <1991Apr26.181443.25559@slate.mines.colorado.edu> Organization: Colorado School of Mines Lines: 35 In article <1991Apr26.181443.25559@slate.mines.colorado.edu> rbeach@slate.mines.colorado.edu (Richard Beach) writes: > > I have source that was done up in vi with the tabs set to 4 spaces. > I want to print it. > It loses the ends of lines off the edge of the page. > > 1) getting lpr to set the tabstops to 4 characters instead of 8. > > 2) Changing some sort of default so that I get landscape mode with > lpr. > I have gotten a number of responses, and have gotten the problem solved. Thank you very much to everyone who helped. Several people pointed me towards the expand(1) command, which I had overlooked before. Something to the effect of alias lpr "expand \!\!:1 | /usr/ucb/lpr" was an ideal solution for my situation. The enscript(1) command was also sugested for obtaining landscape mode prints. Using edit to print was also sugested, but that sort of seemed a hassle to me, since I don't always work on the console, and even when I do, do a lot of work in a terminal window. Thanks again for all the help. :) --------------------------------------------------------------------------- Richard Beach @ Colorado School of Mines Golden, Colorado USA I-Net and BitNet : rbeach@mines | CS/CH or : rbeach@slate.mines.colorado.edu | UUCP : ...isis!csm9a!rbeach |