Although you can just use '%%BeginDocument:' and '%%EndDocument', it takes some work to preserve the state around an inlined eps file. If you are writing PostScript directly, you can use the
Astigmatix functions to do this for you, typically like this:
Code:
{ StatEPSF 100 100 0 1 1 ReadyEPSF ExecEPSF }
currentfile exch exec
%%BeginDocument:
inlined eps code
%%EndDocument
Of course, if you are using something like LaTeX to produce the postscript file, you can just do
Code:
\usepackage{graphics}
...
\includegraphics{file.eps}