home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!usc!sdd.hp.com!nigel.msen.com!caen!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!yzg9890
- From: yzg9890@uxa.cso.uiuc.edu (yzg9890)
- Subject: Problems with Mac Printing Manager
- Message-ID: <By7Cz1.8uE@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Date: Tue, 24 Nov 1992 04:11:24 GMT
- Lines: 38
-
- I got into the trouble when I tried to print out color shaded image from a
- LaserWriter. I expected to get a gray scale image, but I got a black image
- instead. Can anybody help me out?
-
- Following is what I did:
-
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- void printImage()
- {
- TPPrPort pPort;
- THPrint itPrint;
-
- tPrint = (THPrint)NewHandle(sizeof(TPrint));
- PrOpen();
- PrintDefault(tPrint);
-
- pPort = PrOpenDoc(tPrint, nil, nil);
- PrOpenPage(pPort, nil);
-
- /* draw shaded image */
- drawImage();
-
- PrClosePage(pPort);
- PrCloseDoc(pPort);
-
- PrClose();
- }
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- Another problem: if the print method is spool, the Inside Mac II says that
- one needs to "swap your program out of your memery" before
- calls PrPicFile(). Can someone show me an example about
- what this "swap" should look like?
-
- Please send your help to mail address, your help is highly appreciated.
-
-
- joe
-