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