Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!austing From: austing@Apple.COM (Glenn L. Austin) Newsgroups: comp.sys.mac.programmer Subject: Re: Printing Example Code Keywords: mac printing is a pain in the petute Message-ID: <28850@apple.Apple.COM> Date: 12 Apr 89 18:22:30 GMT References: <451@biar.UUCP> Organization: Apple Computer Inc, Cupertino, CA Lines: 29 In article <451@biar.UUCP> trebor@biar.UUCP (Robert J Woodhead) writes: >Well, I'm sick of screwing around with the printer drivers. And since >Apple has, in 4 or 5 years, yet to publish some decent example code >that has the minor virtue of working (to their everlasting shame!), >I will bestow 1lb of Mrs. Fields Chocolate Chip Cookies upon the first >person who posts to the net source code in MPW Pascal that handles printing >properly. If you realize that "drawing" to the printer is basically the same as dealing with off-screen bitmaps, you should have no major problems. The documentation on page 155 of IM2 is what I've used often for printing. It covers all the basics of printing -- and deals with printing only certain pages of the document. IMHO, the print manager seems more difficult than it actually is. I think that the main problem is that you don't really get to see the output until the printing loop is finished, which is the same as dealing with off-screen bitmaps. ----------------------------------------------------------------------------- | Glenn L. Austin | The nice thing about standards is that | | Apple Computer, Inc. | there are so many of them to choose from. | | Internet: austing@apple.com | -Andrew S. Tanenbaum | ----------------------------------------------------------------------------- | All opinions stated above are mine -- who else would want them? | -----------------------------------------------------------------------------