Article View: comp.sys.next.programmer
Article #611Re: -=?=- dumping text into an invisible text object -=?=-
From: simsong Simson L. Garfinkel
Date: Fri, 10 Apr 1992 16:20
Date: Fri, 10 Apr 1992 16:20
14 lines
982 bytes
982 bytes
The problem is that text objects must be on real windows in order to print. Instead of creating a new Text object to do your printing, just put a second text object somewhere else in your window. Make otherText the id of that text object. [window addSubview:otherText] [otherText moveTo:1e30 :1e30]; Now shove the stuff you want into otherText and have it print... -- ................................................................simson
Technical Details
Message-ID:
<1992Apr10.162050.6931@next.cambridge.ma.us>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!mintaka.lcs.mit.edu!ai-lab!next.cambridge.ma.us!simsongReferences:
<12092@tamsun.tamu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!mintaka.lcs.mit.edu!ai-lab!next.cambridge.ma.us!simsong From: simsong (Simson L. Garfinkel) Newsgroups: comp.sys.next.programmer Subject: Re: -=?=- dumping text into an invisible text object -=?=- Message-ID: <1992Apr10.162050.6931@next.cambridge.ma.us> Date: 10 Apr 92 16:20:50 GMT Article-I.D.: next.1992Apr10.162050.6931 References: <12092@tamsun.tamu.edu> Sender: simsong@next.cambridge.ma.us Reply-To: simsong@next.cambridge.ma.us Organization: NeXTWORLD Magazine Lines: 14