diff options
author | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1998-09-18 15:49:05 +0000 |
---|---|---|
committer | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1998-09-18 15:49:05 +0000 |
commit | ce1af9e43d2e974069cc2d1e821ecc769fc8d820 (patch) | |
tree | 5c540eaf1e9384a33d1e91b14ca42d0d0a513151 /ps.c | |
parent | bc406401c52c82667e4131fd4eee647568e6e397 (diff) |
I removed ps.c from the CVS repository. This file is created by rdps, so
there's no need for it to be in the source tarball.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'ps.c')
-rw-r--r-- | ps.c | 87 |
1 files changed, 0 insertions, 87 deletions
@@ -1,87 +0,0 @@ -/* Created by rdps.c. Do not edit! */ - -#include <stdio.h> - -#include <ps.h> - -/* Created by rdps.c. Do not edit! */ -void print_ps_preamble(FILE *fd) { - fprintf(fd, "%%!\n"); - fprintf(fd, "%%!PS-Adobe-2.0\n"); - fprintf(fd, "%%\n"); - fprintf(fd, "%% Ethereal - Network traffic analyzer\n"); - fprintf(fd, "%% By Gerald Combs <gerald@zing.org>\n"); - fprintf(fd, "%% Copyright 1998 Gerald Combs\n"); - fprintf(fd, "%%\n"); - fprintf(fd, "%%%%Creator: Ethereal\n"); - fprintf(fd, "%%%%Title: ethereal.ps\n"); - fprintf(fd, "%%%%DocumentFonts: Helvetica Courier\n"); - fprintf(fd, "%%%%EndComments\n"); - fprintf(fd, "%%!\n"); - fprintf(fd, "\n"); - fprintf(fd, "%% Get the Imagable Area of the page\n"); - fprintf(fd, "clippath pathbbox\n"); - fprintf(fd, "\n"); - fprintf(fd, "%% Set vmax to the vertical size of the page,\n"); - fprintf(fd, "%% hmax to the horizontal size of the page.\n"); - fprintf(fd, "/vmax exch def\n"); - fprintf(fd, "/hmax exch def\n"); - fprintf(fd, "pop pop %% junk\n"); - fprintf(fd, "\n"); - fprintf(fd, "%% 1-inch margins\n"); - fprintf(fd, "/lmargin 72 def\n"); - fprintf(fd, "/tmargin vmax 72 sub def\n"); - fprintf(fd, "/bmargin 72 def\n"); - fprintf(fd, "\n"); - fprintf(fd, "%% Counters\n"); - fprintf(fd, "/vpos vmax 70 sub def\n"); - fprintf(fd, "\n"); - fprintf(fd, "/putline {\n"); - fprintf(fd, " exch 10 mul lmargin add %% X\n"); - fprintf(fd, " vpos %% Y\n"); - fprintf(fd, " moveto\n"); - fprintf(fd, " show\n"); - fprintf(fd, "\n"); - fprintf(fd, " /vpos vpos 10 sub def\n"); - fprintf(fd, "\n"); - fprintf(fd, " vpos bmargin le %% is vpos <= bottom margin?\n"); - fprintf(fd, " {showpage\n"); - fprintf(fd, " /vpos tmargin def}\n"); - fprintf(fd, " if %% then formfeed and start at top\n"); - fprintf(fd, "} def\n"); - fprintf(fd, "\n"); - fprintf(fd, "/hexdump {\n"); - fprintf(fd, " lmargin %% X\n"); - fprintf(fd, " vpos %% Y\n"); - fprintf(fd, " moveto\n"); - fprintf(fd, " show\n"); - fprintf(fd, "\n"); - fprintf(fd, " /vpos vpos 10 sub def\n"); - fprintf(fd, "\n"); - fprintf(fd, " vpos bmargin le %% is vpos <= bottom margin?\n"); - fprintf(fd, " {showpage\n"); - fprintf(fd, " /vpos tmargin def}\n"); - fprintf(fd, " if %% then formfeed and start at top\n"); - fprintf(fd, "} def\n"); - fprintf(fd, "\n"); - fprintf(fd, "%% Set the font to 10 point\n"); - fprintf(fd, "/Helvetica findfont 10 scalefont setfont\n"); - fprintf(fd, "\n"); - fprintf(fd, "%% Display our output lines.\n"); -} - - -/* Created by rdps.c. Do not edit! */ -void print_ps_hex(FILE *fd) { - fprintf(fd, "%% Set the font to 10 point\n"); - fprintf(fd, "/Courier findfont 10 scalefont setfont\n"); - fprintf(fd, "() hexdump\n"); -} - - -/* Created by rdps.c. Do not edit! */ -void print_ps_finale(FILE *fd) { - fprintf(fd, "showpage\n"); -} - - |