home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / amiga / applicat / 7154 < prev    next >
Encoding:
Text File  |  1992-09-15  |  2.8 KB  |  64 lines

  1. Newsgroups: comp.sys.amiga.applications
  2. Path: sparky!uunet!munnari.oz.au!trlluna!titan!tmp_ip_003!soh
  3. From: soh@tmp_ip_003.trl.OZ.AU (Soh Kam Hung)
  4. Subject: Re: Post 1.7 and dvips
  5. Message-ID: <1992Sep13.234047.25191@trl.oz.au>
  6. Keywords: works
  7. Sender: root@trl.oz.au (System PRIVILEGED Account)
  8. Organization: Telecom Research Labs, Melbourne, Australia
  9. References: <1992Sep7.193924.9744@ultb.isc.rit.edu> <53057@dime.cs.umass.edu> <1992Sep08.042229.19206@bas-a.bcc.ac.uk> <1992Sep8.130615.26709@wam.umd.edu>
  10. Date: Sun, 13 Sep 1992 23:40:47 GMT
  11. Lines: 51
  12.  
  13. walrus@wam.umd.edu (Udo K Schuermann) writes:
  14.  
  15. >In article <1992Sep08.042229.19206@bas-a.bcc.ac.uk> zcapd49@ucl.ac.uk (Mr C Jomaron) writes:
  16. >>barrett@snoopy.cs.umass.edu (Daniel Barrett) writes:
  17. >>
  18. >>>In article <1992Sep7.193924.9744@ultb.isc.rit.edu> kxs5829@ultb.isc.rit.edu (K.X. Saunders ) writes:
  19. >>>>    I tried using Post 1.7 with the Amiga port of dvips.  I converted
  20. >>>>texrexx.dvi to texrexx.ps.  I then tried to print it with post.  I get an
  21. >>>>error of stackoverflow: /CharBuilder.  Increasing the all mem allocation
  22. >>
  23. >>>    No, it's a bug in dvips.  I had the exact same problem, and here
  24. >>>is what I discovered.
  25. >>>...
  26.  
  27. >No, it's not a bug.  Tell dvips 5.47 NOT to compress the font encoding.  As
  28. >far as I recall, some option like 'Z' will do that for you.  It's
  29. >documented and can be "permanently" set in the dvips.config file (or
  30. >whatever it's called.)
  31.  
  32. Thanks to Udo's hint, I got dvips 5.47 and Post 1.7 working on my Amiga
  33. last weekend.  Oh, reading the Post manual helped a lot!  Then, I
  34. wanted to print documents, and that was trickier than I thought.
  35.  
  36. 1. I wanted dvips to use 360x180 dpi fonts for my Epson LQ400 printer.
  37. I store PK font files as TeX:fonts/pk/HxV/font.HxVpk, where H and V are
  38. the horizontal and vertical resolutions in dots per inch respectively.
  39. Unfortunately, dvips uses only one argument for the font resolution
  40. when expanding templates in the font path string (``P'') in its
  41. configuration file (TeX:config/config.ps).  The hack was to enumerate
  42. all possible font resolutions like this:
  43.  
  44. * Resolution
  45. D 360
  46. * PK font path
  47. P TeX:fonts/pk/%dx180/%f.%dx180pk,TeX:fonts/pk/%dx197/%f.%dx197pk
  48.  
  49. %f is expanded into the name of the font required, say ``cmr10''.
  50. %d is expanded into the resolution required, say ``360''.
  51.  
  52. 2. Post could display my PostScript output on the screen, but would not
  53. print anything.  I decided to read the manual once more; the author
  54. suggested setting the size of the printer graphic output in
  55. Preferences.  Once I did so, (setting my page to 8" x 11") I had no
  56. trouble printing.  I can now import PostScript files into my [La]TeX
  57. documents and print or view them at home!  YAY!
  58.  
  59. Regards,
  60.  
  61. ---
  62. Soh Kam Hung, Network Management Research,     | h.soh@trl.oz.au  
  63. TRL, POB 249 Clayton, Victoria 3168, Australia | +61 3 253 6638
  64.