Article View: comp.sys.mac.programmer.codewarrior
Article #1042Re: [Bug?] PowerPlant Printing broken under Carbon SOLVED
From: Cliff McCollum
Date: Sun, 03 Mar 2002 05:13
Date: Sun, 03 Mar 2002 05:13
46 lines
3032 bytes
3032 bytes
Solved the problem. What was wrong? Just call me a bonehead. Moral of the day: never start a Printing Session on the same PrintSpec more than once for a single print-job. The second session appeared to over-ride whatever values were placed in the PrintSpec by the first. Doh'! C. In article <cliffmcc-0103020629470001@h24-67-211-24.gv.shawcable.net>, cliffmcc@mac.com (Cliff McCollum) wrote: > Has anyone managed to get printing in PowerPlant to work properly under > Carbon? I am using CodeWarrior Pro 7 with all the latest patches. > > I have an application whose LDocument subclass has a DoPrint() method, and > it prints as expected to my default printer. No problems there. (For the > curious, my DoPrint method is using Session based printing since that is > what LDocument uses). > > However, one of the great features of printing under Carbon is that you > can select an alternative printer right in the Print Dialog box. If, in my > application, I select a printer other than the default, printing ignores > my selection and prints to the default printer anyway. > > This isn't correct behavior. > > I would love to confirm that what I am doing is right or wrong by looking > at examples from Metrowerks. Sadly, the CodeWarrior CD contains no > examples of printing from PowerPlant under Carbon (at least none I can > find). > > Does anyone have any sample code that prints, under Carbon, from > PowerPlant, and can actually use something other than the default printer? > If so, are you willing to share? > > Or is this a bug in Carbon/PowerPlant and I should be reporting it to > Metrowerks? > > Cliff -- Cliff McCollum cliffmcc@mac.com
Technical Details
Message-ID:
<cliffmcc-0203022113340001@h24-67-211-24.gv.shawcable.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!216.227.56.88.MISMATCH!DirecTVinternet!DirecTV-DSL!hub1.nntpserver.com!peer1-sjc1.usenetserver.com!usenetserver.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news2.calgary.shaw.ca.POSTED!not-for-mailReferences:
<cliffmcc-0103020629470001@h24-67-211-24.gv.shawcable.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bcce,14c1e0e9513de6a0 X-Google-Attributes: gid10bcce,public X-Google-Thread: f635e,14c1e0e9513de6a0 X-Google-Attributes: gidf635e,public X-Google-Thread: f7f77,14c1e0e9513de6a0 X-Google-Attributes: gidf7f77,public X-Google-ArrivalTime: 2002-03-02 21:13:35 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!216.227.56.88.MISMATCH!DirecTVinternet!DirecTV-DSL!hub1.nntpserver.com!peer1-sjc1.usenetserver.com!usenetserver.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news2.calgary.shaw.ca.POSTED!not-for-mail X-Trace-PostClient-IP: 24.67.211.24 From: cliffmcc@mac.com (Cliff McCollum) Newsgroups: comp.sys.mac.programmer.codewarrior,comp.sys.mac.oop.powerplant,codewarrior.mac Subject: Re: [Bug?] PowerPlant Printing broken under Carbon SOLVED Message-ID: <cliffmcc-0203022113340001@h24-67-211-24.gv.shawcable.net> References: <cliffmcc-0103020629470001@h24-67-211-24.gv.shawcable.net> User-Agent: NewsWatcher-X 2.2.3b2 Lines: 46 Date: Sun, 03 Mar 2002 05:13:34 GMT NNTP-Posting-Host: 24.64.223.206 X-Complaints-To: abuse@shaw.ca X-Trace: news2.calgary.shaw.ca 1015132414 24.64.223.206 (Sat, 02 Mar 2002 22:13:34 MST) NNTP-Posting-Date: Sat, 02 Mar 2002 22:13:34 MST Organization: Shaw Residential Internet