aboutsummaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2008-08-01 17:36:09 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2008-08-01 17:36:09 +0000
commit18b69aef03e0c526e1f0382413edabd56ff70b0d (patch)
treec5a0655f53d2854cb9b052222df286e18aefcccb /print.c
parent2db97aed2c0b4c3135bb5769c92af0df9ddafcfb (diff)
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
Diffstat (limited to 'print.c')
-rw-r--r--print.c7
1 files changed, 4 insertions, 3 deletions
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 <wsutil/file_util.h>
#include <epan/charsets.h>
#include <epan/dissectors/packet-data.h>
@@ -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);
}