Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!s.cs.uiuc.edu!haskins From: haskins@s.cs.uiuc.edu Newsgroups: comp.lang.postscript Subject: Proper postscript file? Message-ID: <208400001@s.cs.uiuc.edu> Date: 14 Dec 89 17:34:35 GMT Lines: 45 Nf-ID: #N:s.cs.uiuc.edu:208400001:000:1490 Nf-From: s.cs.uiuc.edu!haskins Dec 13 22:23:00 1989 This is a sample of the beginning and end of a postscript file that is produced by Borland's Sprint. In the third line, you see a ^D (which I have changed to \^\D). Is that normal? There is a program on the campus that will read a postscript file and squirt it to a postscript printer, and when it hits that ^D, it stops there and thinks it's done. I end up having to manually strip it out right before I send it along. So is it something that should be complained about, or ....? There's also a ^D at the end, too. Thanks much. L. Haskins -- haskins@cs.uiuc.edu -cut here - %!PS-Adobe-2.0 %%Creator: Sprint V1.00 ^D /mainvm save def (\032) cvn {} def %statusdict begin /waittimeout 0 def end % infinite time-out usually not needed /ff {/vpitch exch def findfont vpitch scalefont setfont /hpitch ( ) stringwidth pop def /hpextra 0.0 def } bind def % 'ff' is find-font /x {currentpoint exch pop moveto} bind def % 'x' is absolute x positioning /n {currentpoint exch pop 0.0 exch vpitch sub moveto} bind def % 'n' is newline /v {/vpitch exch def} bind def % 'v' is vertical line height ......[many lines removed]........ 1800 x /Optima 300 ff 83 h (Optima)p n n 1800 x /Palatino-Roman 300 ff 75 h (P)p 141 h ( latino)p 1972 x (a)p n n 1800 h ( )p /Symbol 300 ff 75 h (Symbol)p n n 1800 x /Times-Roman 300 ff (Times)p n n 1800 x /Helvetica 300 ff 83 h 0.5 setgray (gray)p n savevm restore showpage %%Trailer mainvm restore ^D