ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Jan-Apr/printPSCode:-and-stringwidth

This is printPSCode:-and-stringwidth in view mode; [Up]


Date: Sun 14-Apr-1989 19:46:50 From: Unknown Subject: printPSCode: and stringwidth 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? >From: steve@pnet51.cts.com (Steve Yelvington)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.