Article View: comp.sys.next.programmer
Article #437why "printPSCode" doesn't print right?
From: Mangesh Karandikar
Date: Tue, 04 Aug 1992 15:52
Date: Tue, 04 Aug 1992 15:52
29 lines
1430 bytes
1430 bytes
Hi,
Why does the following method print the contentView of mainWindow right?
- printRequest:sender
{
id curText = [[NXApp mainWindow] contentView];
if (curText == nil)
;
else {
[[[NXApp printInfo] setHorizCentered:NO] setVertCentered:NO];
[curText printPSCode:self];
}
return self;
}
I have two views in two separate windows. I am using one method to display
graphics in both the views. When I try to print the contents of one window
then it prints the content of another view and from other window it prints
nothing.
Can somebody tell me what's wrong?
Thanks,
Mangesh Karandikar.
________________________________________________________________
Mangesh Karandikar mkarandi@oucsace.cs.ohiou.edu
Ohio University mkarandi@bobcat.ent.ohiou.edu
Athens mangesh@cubix.ent.ohiou.edu(NeXT Mail)
________________________________________________________________
Technical Details
Message-ID:
<1992Aug4.155241.3545@oucsace.cs.ohiou.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!rpi!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!oucsboss!oucsace!usenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!rpi!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!oucsboss!oucsace!usenet From: mangesh@cubix.ent.ohiou.edu (Mangesh Karandikar ) Newsgroups: comp.sys.next.programmer Subject: why "printPSCode" doesn't print right? Message-ID: <1992Aug4.155241.3545@oucsace.cs.ohiou.edu> Date: 4 Aug 92 15:52:41 GMT Sender: usenet@oucsace.cs.ohiou.edu (Network News Poster) Organization: Ohio University C.S. Dept, Athens Lines: 29