on 1/29/02 5:08 PM, Joseph J. Strout at joe at realsoftware dot com wrote:
> At 4:58 PM -0700 1/29/02, Rick Robinson wrote:
>
>> This looks interesting. So how would it work?
>>
>> g = OpenPrinterDialog(ps)
>> self.drawInto(g,0,0)
>>
>> ???
>
> Pretty much.
>
>> Obviously one might need to play with x & y to get the window output
>> centered, etc.
>
> Yep.
>
>> How are page overruns handled?
>
> Presumably you'd design the window you're using as a printer form so
> that it's about page sized. But, in short, they're not handled --
> handle them yourself by calling g.NextPage, and then self.DrawInto
> again with adjusted X and Y.
>
> Cheers,
> - Joe
|