Article View: comp.sys.mac.programmer.codewarrior
Article #1039[Bug?] PowerPlant Printing broken under Carbon
From: Cliff McCollum
Date: Fri, 01 Mar 2002 14:29
Date: Fri, 01 Mar 2002 14:29
32 lines
2466 bytes
2466 bytes
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-0103020629470001@h24-67-211-24.gv.shawcable.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!out.nntp.be!propagator-SanJose!in.nntp.be!pd2nf1so.cg.shawcable.net!residential.shaw.ca!news2.calgary.shaw.ca.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bcce,14c1e0e9513de6a0,start X-Google-Attributes: gid10bcce,public X-Google-Thread: f635e,14c1e0e9513de6a0,start X-Google-Attributes: gidf635e,public X-Google-Thread: f7f77,14c1e0e9513de6a0,start X-Google-Attributes: gidf7f77,public X-Google-ArrivalTime: 2002-03-01 06:29:49 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!out.nntp.be!propagator-SanJose!in.nntp.be!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: [Bug?] PowerPlant Printing broken under Carbon Message-ID: <cliffmcc-0103020629470001@h24-67-211-24.gv.shawcable.net> User-Agent: NewsWatcher-X 2.2.3b2 Lines: 32 Date: Fri, 01 Mar 2002 14:29:48 GMT NNTP-Posting-Host: 24.64.223.206 X-Complaints-To: abuse@shaw.ca X-Trace: news2.calgary.shaw.ca 1014992988 24.64.223.206 (Fri, 01 Mar 2002 07:29:48 MST) NNTP-Posting-Date: Fri, 01 Mar 2002 07:29:48 MST Organization: Shaw Residential Internet