Bill Witherspoon wrote:
>
> On Mon, 26 Nov 2001 00:18:42 -0700
> "Andreas J. Guelzow" <[EMAIL PROTECTED]> wrote:
>
> > Bill Witherspoon wrote:
> >
> > >I'm trying print a postscript file (output by Vim). When I preview in gv
>everthing looks good, but when I print the last 3 lines for each page end up on a
>page by themselves. So a 3 page file ends up 6 pages. 3 good pages and 3 pages with
>only 3 lines on them??
> > >
> > >I tried printing the straight text file from Kate, but it cuts lines off (doesn't
>wrap them properly).
> > >
> > >Can anyone give me a hand?
> > >
> > THis sounds like you are printing a postscript file formatted for A4
> > (european paper size) on a printer on paper of US letter size. gv will
> > now it is A4 and show it to you that way. When you print it of course it
> > won't fit on the page. Your right hand margin is probably also slightly
> > wider than expected (since A4 is slightly narrower than US letter).
> >
> > Andreas
> >
>
> Thanks Andreas, I tried changing the paper size in gv to Letter with no effect
>(there are still the same number of lines on the page). I'm guessing that gv won't
>physically change the document, and that I'll have to figure out how to get Vim to
>output ps for Letter size?
>
> Bill.
As you have discovered when doing a :hardcopy > filename.ps the output
is size A4, the default in vim.
"A safe printoptions setting to try is: >
:set printoptions=paper:A4,duplex:off,collate:n,syntax:n
Replace "A4" with the paper size that best matches your printer paper."
Ref: /usr/share/doc/vim-common-6.0/doc/various.txt section 3.2
Postscript Printing Troubleshooting
Larry
"A once and long time ago vim user".
--
Sword'sEdge
VoiceMail/Fax: (858) 860-6406 x1587
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com