dhale@csm9a.UUCP (Dave Hale) (04/15/89)
I am trying to use the printPSCode: method to print a View. The drawSelf:: method for this View contains a call to PSstringwidth(), which I am using to center some text in the View. The screen looks fine - text is centered as though PSstringwidth() is working properly. But printPSCode: produces the "malformed PostScript" error message. By examining the npcomm.verbatim file in /tmp, I noted that this error during printing is related to using PSstringwidth(). When I remove the PSstringwidth() calls, printing works fine. Any ideas, fixes, or workarounds?