🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.powerplant
Article #18

Re: Printing Dialog Extension (PDE) can be built in Codewarrior for OS X ?

#18
From: Conrad Carlen
Date: Mon, 30 Dec 2002 02:56
18 lines
2334 bytes
Vlad Gilyadov wrote:
> I'm looking for clues or sample how to build custom page for printing dialog on OSX.
> 
> I'm using CodeWarrior v8.3 and Powerplant on MacOSX v10.2.3
> 
> Thanks,
> Vlad.

Sample code for a PDE is here: 
http://developer.apple.com/samplecode/Sample_Code/Printing/PDEProject.htm
It comes in the form of a ProjectBuilder project. A PDE is completely 
independent of app code - they're CFPlugins under OSX. That you're using 
CW and PowerPlant doesn't matter. If you want to convert the sample PB 
project into CW for the sake of using CW, that's optional. One thing to 
keep in mind: the printing code calling your PDE expects that it's 
Mach-O code. So, set up the CW project as a Mach-O bundle.

-Conrad
Technical Details
Message-ID: <3E0FB5F3.2090007@netscape.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!newsfeed.netscape.com!pixie.netscape.com!not-for-mail
References: <4a713f0c.0212260848.23acb543@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,11ab35abda44a9ed
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f98ee,11ab35abda44a9ed
X-Google-Attributes: gidf98ee,public
X-Google-Thread: f635e,11ab35abda44a9ed
X-Google-Attributes: gidf635e,public
X-Google-Thread: f7f77,11ab35abda44a9ed
X-Google-Attributes: gidf7f77,public
X-Google-ArrivalTime: 2002-12-29 18:58:55 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!newsfeed.netscape.com!pixie.netscape.com!not-for-mail
From: Conrad Carlen <ccarlen@netscape.com>
Newsgroups: comp.sys.mac.oop.powerplant,comp.sys.mac.programmer.codewarrior,codewarrior.mac,comp.sys.mac.programmer.tools
Subject: Re: Printing Dialog Extension (PDE) can be built in Codewarrior for
 OS X ?
Date: Sun, 29 Dec 2002 20:56:51 -0600
Organization: Netscape Communications Corp.
Lines: 19
Message-ID: <3E0FB5F3.2090007@netscape.com>
References: <4a713f0c.0212260848.23acb543@posting.google.com>
NNTP-Posting-Host: 10.0.198.8
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: pixie.nscp.aoltw.net 1041217489 7399 10.0.198.8 (30 Dec 2002 03:04:49 GMT)
X-Complaints-To: news@netscape.com
NNTP-Posting-Date: Mon, 30 Dec 2002 03:04:49 +0000 (UTC)
To: Vlad Gilyadov <gilyadov@yahoo.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3a) Gecko/20021210
X-Accept-Language: en-us, en
In-Reply-To: <4a713f0c.0212260848.23acb543@posting.google.com>