diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2008-08-01 17:36:09 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2008-08-01 17:36:09 +0000 |
commit | 18b69aef03e0c526e1f0382413edabd56ff70b0d (patch) | |
tree | c5a0655f53d2854cb9b052222df286e18aefcccb /print.c | |
parent | 2db97aed2c0b4c3135bb5769c92af0df9ddafcfb (diff) | |
download | wireshark-18b69aef03e0c526e1f0382413edabd56ff70b0d.tar.gz wireshark-18b69aef03e0c526e1f0382413edabd56ff70b0d.tar.bz2 wireshark-18b69aef03e0c526e1f0382413edabd56ff70b0d.zip |
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.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); } |