home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!metro!grivel!metz.une.edu.au!ddavidso
- From: ddavidso@metz.une.edu.au (Dean Davidson)
- Newsgroups: aus.computers.ibm-pc
- Subject: Re: Wordperfect and footnotes problem
- Message-ID: <2846@grivel.une.edu.au>
- Date: 27 Jan 93 00:08:48 GMT
- References: <1k2gabINN4r8@uniwa.uwa.edu.au>
- Sender: usenet@grivel.une.edu.au
- Organization: University of New England, Armidale, Australia
- Lines: 64
-
- In article <1k2gabINN4r8@uniwa.uwa.edu.au> cjohnson@tartarus.uwa.edu.au (Christopher Johnson) writes:
- >Hello all,
- >
- >A friend of mine has wordperfect 5.1 and has a small problem with it.
- >
- >At home it prints fine, but at work the footnotes sometimes foul up.
- >
- >The machine at home is an XT with an Epson FX-80 or similar printer.
- >
- >The Machine at work is an NEC Powermate SX Plus conected to a SUN-NFS
- >network with LPT3 (network lpt) dataproducts laser printer and in the
- >office an Epson lq-570 on LPT1 (local device), the correct printer
- >drivers appear to be installed properly.
- >
-
- Do the printers at work use postscript? I'll bet they do.
-
- Wordperfect seems to be far from perfect in spitting out postscript
- code. One of my users had problems printing a document earlier this week.
-
- The print log said "Error: Undefined; OffendingCommand _t_U"
-
- A peek at the postscript revealed:
-
- %!PS-Adobe
-
- [stuff deleted]
-
- /_t {0 rmoveto} bdef
-
- [more stuff deleted]
-
- /_U {currentpoint /Uy exch def /Ux exch def} bdef
- /_u {gsave
- currentpoint
- -30 add _mt
- Ux Uy -30 add _lt
- 12 setlinewidth
- stroke
- grestore
-
- [more deleted]
-
- _t(variable)_S 67 _t_U (weightings)_S _u 67 _t(of)_S 67 _t(links)_S 67
- ^
- The _t and the _U are concatenated together and thus
- form a new variable which is undefined and thus the postscript interpreter
- coughs at it. The reason for the concatenation is because it appears that
- as every word to be printed is preceded by a _t, to save space WP removes
- all blanks after the _t. This doesn't affect the operation _t(word)
- but it does affect _t_U
-
- Don't ask me what other nasties WP does to Postscript, I know very little
- about PS. But I bet there is some similar nasty in the generated PS
- code for footnoting.
-
- Cheers,
- Dean
-
- --
- Dean Davidson ddavidso@metz.une.edu.au
- Dept Psychology Phone 61 67 73 2585
- University of New England Fax 61 67 72 9816
- Armidale NSW 2351 Australia VK2 ZID
-