posttek.ps 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. %
  2. % Version 3.3.2 prologue for tektronix 4014 files.
  3. %
  4. /#copies 1 store
  5. /aspectratio 1 def
  6. /fixlinewidth true def
  7. /font /Courier def
  8. /formsperpage 1 def
  9. /landscape true def
  10. /linewidth 0 def
  11. /magnification 1 def
  12. /margin 10 def
  13. /orientation 0 def
  14. /rotation 1 def
  15. /screenheight 3120 def
  16. /screenwidth 4150 def
  17. /spotsize 1 def
  18. /xoffset 0 def
  19. /yoffset 0 def
  20. /useclippath true def
  21. /pagebbox [0 0 612 792] def
  22. /inch {72 mul} bind def
  23. /min {2 copy gt {exch} if pop} bind def
  24. /kshow {kshow} bind def % so later references don't bind
  25. /setup {
  26. counttomark 2 idiv {def} repeat pop
  27. landscape {/orientation 90 orientation add def} if
  28. pagedimensions
  29. /scaling
  30. height margin sub screenheight div
  31. width margin sub screenwidth div
  32. min def
  33. xcenter ycenter translate
  34. orientation rotation mul rotate
  35. xoffset inch yoffset inch translate
  36. magnification dup aspectratio mul scale
  37. scaling scaling scale
  38. screenwidth 2 div neg screenheight 2 div neg translate
  39. tietodevicespace
  40. linewidth scaling div setlinewidth
  41. 1 setlinecap
  42. newpath
  43. } def
  44. /pagedimensions {
  45. useclippath {
  46. /pagebbox [clippath pathbbox newpath] def
  47. } if
  48. pagebbox aload pop
  49. 4 -1 roll exch 4 1 roll 4 copy
  50. landscape {4 2 roll} if
  51. sub /width exch def
  52. sub /height exch def
  53. add 2 div /xcenter exch def
  54. add 2 div /ycenter exch def
  55. userdict /gotpagebbox true put
  56. } def
  57. /pagesetup {/page exch def} bind def
  58. /tietodevicespace {
  59. fixlinewidth linewidth 0 gt and linewidth 1 lt and {
  60. /moveto {
  61. 2 copy /Y exch def /X exch def
  62. transform round exch round exch itransform
  63. moveto
  64. } bind def
  65. /lineto {
  66. 2 copy /Y exch def /X exch def
  67. transform round exch round exch itransform
  68. lineto
  69. } bind def
  70. /rlineto {Y add exch X add exch lineto} bind def
  71. /v V 0 get bind def
  72. } if
  73. } def
  74. /V [{moveto counttomark 2 idiv {rlineto} repeat stroke}] def
  75. /v V 0 get bind def
  76. /p {newpath spotsize 0 360 arc fill} bind def
  77. /l {{scaling div} forall counttomark array astore 0 setdash} bind def
  78. /w {linewidth 0 eq {.3} {linewidth} ifelse mul linewidth add scaling div setlinewidth} bind def
  79. /i {3 mul 4 sub -100 div mul .5 add /spotsize exch def} bind def
  80. /f {/charwidth exch def font findfont charwidth .6 div scalefont setfont} bind def
  81. /t {
  82. 3 1 roll moveto
  83. currentpoint {
  84. pop pop
  85. exch charwidth add exch
  86. moveto currentpoint
  87. } 4 -1 roll kshow
  88. pop pop
  89. } bind def
  90. /done {/lastpage where {pop lastpage} if} def