nPOPuk

Printing Mail

Page updated 1 November 2012

Go to TopPrinting Mail

There is no printing facility built into nPOPuk. Instead you need to use the facilities of the external viewer. First select and open the message to be printed in the Mail View window. From the Mail menu select "External Viewer". By default this will open the message in Notepad, from where the message can be printed.

Advanced users can consider editing the nPOPuk.ini file to provide any of the refinements to printing described below.

Go to TopRefining Printing

It is possible to define the program to be used as the external viewer. Some programs permit the use of command line parameters which can force the program to print a file rather than display it, so it becomes possible to print a message directly from nPOPuk, but at the cost of not being able to use the external viewer facility for any other purpose.

The following examples illustrate what can be achieved, using commonly available programs, by editing just three of the nPOPuk.ini settings. These examples are installation dependant and may need to be adjusted slightly on your own systems. (See the nPOPuk.ini page for further information on these and other related settings which can further refine the options.)

ViewApp=
ViewAppCmdLine=
ViewFileSuffix="txt"
These are the default settings and will open the message in Notepad.

ViewApp="C:\WINDOWS\NOTEPAD.EXE"
ViewAppCmdLine="/P $npop_view.txt"
ViewFileSuffix="txt"
This version takes advantage of Notepad's "/P" parameter which directs output to the printer, enabling a true Mail menu "Print" option to be simulated.

ViewApp="C:\Program Files\Internet Explorer\IEXPLORE.EXE"
ViewAppCmdLine="C:\PROGRA~1\nPOPuk\$npop_view.html"
ViewFileSuffix="html"
This version sends the message to Internet Explorer and is probably best used on HTML messages that have no plain text part, as line feeds are not preserved in plain text messages.
NOTE: This suggestion dates from the early days of nPOPuk, before it included the ability to strip HTML tags from messages with no plain text part. These days it is much easier to read such messages within nPOPuk's Mail View window.

ViewApp="C:\Program Files\Microsoft Office\Office\WINWORD.EXE"
ViewAppCmdLine=""C:\Program Files\nPOPuk\$npop_view.html""
ViewFileSuffix="html"
These settings open the message in WORD and works equally well with plain text and HTML messages.
NOTES: Note the double set of quotes! The command line parameter may not have spaces so, to preserve the folder name "Program Files", the entire parameter is itself enclosed in quotes.
Because WORD can display multiple files but not with the same file name, a second message cannot be opened while a previous one is still open.

Go to Top