forked from osmocom/wireshark
Improve title and remove Ethereal legacy.
svn path=/trunk/; revision=26850
This commit is contained in:
parent
e12599f5c9
commit
cbf6045254
2
print.c
2
print.c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
6
print.ps
6
print.ps
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue