diff options
author | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-08-01 17:36:09 +0000 |
---|---|---|
committer | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-08-01 17:36:09 +0000 |
commit | e23f8c7a0461355a83d9534c596a9ab1ea7fb63b (patch) | |
tree | c5a0655f53d2854cb9b052222df286e18aefcccb /print.c | |
parent | ffa3ca8bb7760e866fcb20191dc7dca26d9c30a1 (diff) |
Really start printing in 8 pnt Courier, not just state so in the template.
Add Wireshark version info to the page header.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25901 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'print.c')
-rw-r--r-- | print.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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); } |