postdaisy.ps 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. %
  2. % Version 3.3.2 prologue for Diablo 1640 files.
  3. %
  4. /#copies 1 store
  5. /aspectratio 1 def
  6. /font /Courier def
  7. /formsperpage 1 def
  8. /hmi 12 def
  9. /landscape false def
  10. /magnification 1 def
  11. /margin 10 def
  12. /orientation 0 def
  13. /resolution 240 def
  14. /rotation 1 def
  15. /xoffset .25 def
  16. /yoffset .25 def
  17. /roundpage true def
  18. /useclippath true def
  19. /pagebbox [0 0 612 792] def
  20. /inch {72 mul} bind def
  21. /min {2 copy gt {exch} if pop} bind def
  22. /ashow {ashow} bind def % so later references don't bind
  23. /stringwidth {stringwidth} bind def
  24. /setup {
  25. counttomark 2 idiv {def} repeat pop
  26. landscape {/orientation 90 orientation add def} if
  27. /scaling 72 resolution div def
  28. currentdict /pointsize known not {/pointsize hmi def} if
  29. font findfont pointsize scaling div scalefont setfont
  30. /charwidth (M) stringwidth pop def
  31. pagedimensions
  32. xcenter ycenter translate
  33. orientation rotation mul rotate
  34. width 2 div neg height 2 div translate
  35. xoffset inch yoffset inch neg translate
  36. margin 2 div dup neg translate
  37. magnification dup aspectratio mul scale
  38. height width div 1 min dup scale
  39. scaling dup scale
  40. } def
  41. /pagedimensions {
  42. useclippath userdict /gotpagebbox known not and {
  43. /pagebbox [clippath pathbbox newpath] def
  44. roundpage currentdict /roundpagebbox known and {roundpagebbox} if
  45. } if
  46. pagebbox aload pop
  47. 4 -1 roll exch 4 1 roll 4 copy
  48. landscape {4 2 roll} if
  49. sub /width exch def
  50. sub /height exch def
  51. add 2 div /xcenter exch def
  52. add 2 div /ycenter exch def
  53. userdict /gotpagebbox true put
  54. } def
  55. /pagesetup {/page exch def 0 0 moveto} bind def
  56. /t {
  57. charwidth sub /advance exch def
  58. neg /y exch def
  59. counttomark 2 idiv {y moveto advance 0 3 -1 roll ashow} repeat
  60. } bind def
  61. /f {findfont pointsize scaling div scalefont setfont} bind def
  62. /done {/lastpage where {pop lastpage} if} def