Re: More Printing woes
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Apr 04, 2003
- 333 views
On Thu, 3 Apr 2003 21:44:39 +0000, Jonas Temple <jtemple at yhti.net> wrote: >This fix was supplied a while back that might help: > >In the routine getPrintChoice() comment out the line: > >store( mem, PRINTDLG_nMinPage, 1 ) > >and then later in this routine, comment out: > >store( mem, PRINTDLG_nMaxPage, pMaxPages ) > Just for the record, I have strong suspicions about that. My investigations indicated that if you pass a sequence of flags in pFlags, you must include PD_RETURNDC otherwise it won't work, at all.=20 Either add that flag or or_all() the sequence before passing it. (Appropriate changes were included in my recent post to Derek four days ago, updates to getPrintChoice, to automatically include PD_RETURNDC if it is not present). Greg, are you passing a sequence of flags as the second parameter to getPrintCoice? If so, can you try both approaches and let me know, thanks. If you want I can post you my modified 0.58.2 win32lib for testing. >I don't know if these changes are in the win32lib you downloaded. I checked, they are not in 0.58.3. Pete