sponsor Vim development Vim logo Vim Book Ad

prt_hdr : Alternate page header printing when PostScript printing.

 script karma  Rating 6/3, Downloaded by 1251  Comments, bugs, improvements  Vim wiki

created by
Mike Williams
 
script type
utility
 
description
These files enable you to have page headers printed differently. Styles available include underlined, gray background, and in a box.

To select the style you want you will need to edit the file and comment out 1 line and uncomment another. See comments in the file (lines beginning with %).  There is no control from within VIM short of editing this file.

This file will only work if you are printing headers (i.e. header in printoptions has a value of 1 or more) and that the header fits on a single line. Otherwise the header style will be applied to the first line of text on each page.
 
install details
For VIM 6.2 - download prolog.ps into a directory called print in your runtimepath.

For VIM 6.0 and 6.1 - download procset.ps, then backup $VIMRUNTIME/procset.ps in case you have problems and want to get back to a known good version.

Then copy the downloaded file to $VIMRUNTIME.  It will be used the next time you use the :hardcopy command.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
prolog.ps 2.0 2003-06-02 6.0 Mike Williams New version of file for alternate page header printing for VIM 6.2. This version needs to exist in a directory called print in your runtimepath. Otherwise, instructions for use are as before.
procset.ps 1.1 2002-07-04 6.0 Mike Williams Whoops, finger trouble. Fix PS error with default page header code. Sorry.
ip used for rating: 3.128.199.210

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github