From 18b69aef03e0c526e1f0382413edabd56ff70b0d Mon Sep 17 00:00:00 2001 From: Jaap Keuter Date: Fri, 1 Aug 2008 17:36:09 +0000 Subject: Really start printing in 8 pnt Courier, not just state so in the template. Add Wireshark version info to the page header. svn path=/trunk/; revision=25901 --- print.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'print.c') diff --git a/print.c b/print.c index 4d35b0d104..bdd72a2609 100644 --- a/print.c +++ b/print.c @@ -40,6 +40,7 @@ #include "packet-range.h" #include "print.h" #include "ps.h" +#include "version_info.h" #include #include #include @@ -1105,12 +1106,12 @@ print_preamble_ps(print_stream_t *self, gchar *filename) print_ps_preamble(output->fh); - fputs("%% Set the font to 10 point\n", output->fh); - fputs("/Courier findfont 10 scalefont setfont\n", output->fh); + fputs("%% Set the font to 8 point\n", output->fh); + fputs("/Courier findfont 8 scalefont setfont\n", output->fh); fputs("\n", output->fh); fputs("%% the page title\n", output->fh); ps_clean_string(psbuffer, filename, MAX_PS_LINE_LENGTH); - fprintf(output->fh, "/eth_pagetitle (%s - Wireshark) def\n", psbuffer); + fprintf(output->fh, "/eth_pagetitle (%s - Wireshark " VERSION "%s) def\n", psbuffer, wireshark_svnversion); fputs("\n", output->fh); return !ferror(output->fh); } -- cgit v1.2.3