🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #436

why "printPSCode" doesn't print right?

#436
From: Mangesh Karandikar
Date: Tue, 04 Aug 1992 15:53
29 lines
1455 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.155306.3610@oucsace.cs.ohiou.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!oucsboss!oucsace!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!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?
Keywords: print
Message-ID: <1992Aug4.155306.3610@oucsace.cs.ohiou.edu>
Date: 4 Aug 92 15:53:06 GMT
Sender: usenet@oucsace.cs.ohiou.edu (Network News Poster)
Organization: Ohio University C.S. Dept, Athens
Lines: 29