Improve title and remove Ethereal legacy.

svn path=/trunk/; revision=26850
This commit is contained in:
Jaap Keuter 2008-11-26 07:34:57 +00:00
parent e12599f5c9
commit cbf6045254
2 changed files with 4 additions and 4 deletions

View File

@ -1114,7 +1114,7 @@ print_preamble_ps(print_stream_t *self, gchar *filename)
fputs("\n", output->fh); fputs("\n", output->fh);
fputs("%% the page title\n", output->fh); fputs("%% the page title\n", output->fh);
ps_clean_string(psbuffer, filename, MAX_PS_LINE_LENGTH); ps_clean_string(psbuffer, filename, MAX_PS_LINE_LENGTH);
fprintf(output->fh, "/eth_pagetitle (%s - Wireshark " VERSION "%s) def\n", psbuffer, wireshark_svnversion); fprintf(output->fh, "/ws_pagetitle (%s - Wireshark " VERSION "%s) def\n", psbuffer, wireshark_svnversion);
fputs("\n", output->fh); fputs("\n", output->fh);
return !ferror(output->fh); return !ferror(output->fh);
} }

View File

@ -12,7 +12,7 @@
% Copyright 1998 Gerald Combs % Copyright 1998 Gerald Combs
% %
%%Creator: Wireshark %%Creator: Wireshark
%%Title: wireshark.ps %%Title: Wireshark output
%%DocumentFonts: Helvetica Courier %%DocumentFonts: Helvetica Courier
%%EndComments %%EndComments
%! %!
@ -124,7 +124,7 @@ pop pop % junk
lmargin % X lmargin % X
vmax 36 sub % Y vmax 36 sub % Y
moveto moveto
eth_pagetitle show ws_pagetitle show
% this page number % this page number
pagenumtab (Page ) stringwidth pop sub thispagenum pagenostr cvs stringwidth pop sub % X pagenumtab (Page ) stringwidth pop sub thispagenum pagenostr cvs stringwidth pop sub % X
@ -168,7 +168,7 @@ pop pop % junk
/Courier findfont 8 scalefont setfont /Courier findfont 8 scalefont setfont
% the page title % the page title
/eth_pagetitle (Wireshark) def /ws_pagetitle (Wireshark) def
% Display our output lines. % Display our output lines.