home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / aus / computer / ibmpc / 802 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.4 KB

  1. Path: sparky!uunet!munnari.oz.au!metro!grivel!metz.une.edu.au!ddavidso
  2. From: ddavidso@metz.une.edu.au (Dean Davidson)
  3. Newsgroups: aus.computers.ibm-pc
  4. Subject: Re: Wordperfect and footnotes problem
  5. Message-ID: <2846@grivel.une.edu.au>
  6. Date: 27 Jan 93 00:08:48 GMT
  7. References: <1k2gabINN4r8@uniwa.uwa.edu.au>
  8. Sender: usenet@grivel.une.edu.au
  9. Organization: University of New England, Armidale, Australia
  10. Lines: 64
  11.  
  12. In article <1k2gabINN4r8@uniwa.uwa.edu.au> cjohnson@tartarus.uwa.edu.au (Christopher Johnson) writes:
  13. >Hello all,
  14. >
  15. >A friend of mine has wordperfect 5.1 and has a small problem with it.
  16. >
  17. >At home it prints fine, but at work the footnotes sometimes foul up.
  18. >
  19. >The machine at home is an XT with an Epson FX-80 or similar printer.
  20. >
  21. >The Machine at work is an NEC Powermate SX Plus conected to a SUN-NFS
  22. >network with LPT3 (network lpt) dataproducts laser printer and in the
  23. >office an Epson lq-570 on LPT1 (local device), the correct printer
  24. >drivers appear to be installed properly.
  25. >
  26.  
  27. Do the printers at work use postscript? I'll bet they do.
  28.  
  29. Wordperfect seems to be far from perfect in spitting out postscript
  30. code.  One of my users had problems printing a document earlier this week.
  31.  
  32. The print log said "Error: Undefined; OffendingCommand _t_U" 
  33.  
  34. A peek at the postscript revealed:
  35.  
  36. %!PS-Adobe
  37.  
  38. [stuff deleted]
  39.  
  40. /_t    {0 rmoveto} bdef
  41.  
  42. [more stuff deleted]
  43.  
  44. /_U    {currentpoint /Uy exch def /Ux exch def} bdef
  45. /_u    {gsave
  46.       currentpoint
  47.       -30 add _mt
  48.       Ux Uy -30 add _lt
  49.       12 setlinewidth
  50.       stroke
  51.      grestore
  52.  
  53. [more deleted]
  54.  
  55.  _t(variable)_S 67 _t_U (weightings)_S _u 67 _t(of)_S 67 _t(links)_S 67 
  56.                      ^
  57.                      The _t and the _U are concatenated together and thus
  58. form a new variable which is undefined and thus the postscript interpreter
  59. coughs at it.  The reason for the concatenation is because it appears that
  60. as every word to be printed is preceded by a _t, to save space WP removes
  61. all blanks after the _t.  This doesn't affect the operation _t(word)
  62. but it does affect _t_U
  63.  
  64. Don't ask me what other nasties WP does to Postscript, I know very little
  65. about PS.  But I bet there is some similar nasty in the generated PS
  66. code for footnoting.
  67.  
  68. Cheers,
  69. Dean
  70.  
  71. -- 
  72. Dean Davidson                                 ddavidso@metz.une.edu.au
  73. Dept Psychology                               Phone 61 67 73 2585
  74. University of New England                     Fax   61 67 72 9816
  75. Armidale NSW 2351 Australia                   VK2 ZID
  76.