Home

Computer

 ·Lifebook E
 ·Tools&Tips
 nsp
 img2html

Gadgets

Segeln

Tauchen

Galleries

Misc

Contact

 

    

 

nsp - Netscape Print

A Perl utility to add title and URL of the currently viewed page to the postscript print output of the Netscape webbrowser under UNIX.


Description

As the UNIX version of Mozilla (Netscape Navigator/Composer) lacks the feature to print title and URL of the web page to be printed, this small utility was written. The basic method of extracting title and URL of the currently viewed web page out of the X11 properties is taken from Johann Messners tool enprt.csh.

Examples

Usage: nsp is a standard UNIX filter. This means it takes its input on stdin, converts it and sends the resulting output to stdout. Therefore nsp is inserted in the Print Command line of the netscape print dialog like this:

    nsp | lpr
    
If you use a tool like psnup to put multiple pages on one physical sheet of paper, you can use the following command line:
    psnup -2 | nsp | lpr
    

Tips and Tricks

If the viewed page does not fit on the printed page try to activate the landscape orientation click box on the print dialog.

Authors

Thomas Hopfner and Eric Dönges

License

Open source under the GPL. © 2001 Thomas Hopfner and Eric Dönges

Download

The current version seems to be quite stable and is therefore intended to be the final version.
Click here to download nsp.

Installation

Unpack the file using GNU unzip ("gunzip nsp.gz") and move it to a suitable location in your path (e.g. /usr/local/bin/). It might be necessary to change the first line in the file to match the location of your perl executable.


Changes:
Thomas Hopfner, 08/2001: Started page