Re: win32lib 0.58.05 printing
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Apr 21, 2003
- 399 views
On Mon, 21 Apr 2003 00:02:56 +0100, Pete Lomax <petelomax at blueyonder.co.uk> wrote: > >> >>a >>a >>a >>a >>a >>a >>a >>a >> >> >>All of my messages to Topica today have been top truncated. The first = one >>lost every sentence. The second, the first line and the last, the first= 6 >>lines. These are messges created with Outlook and they are fine in the = sent >>box. >> >>In the first message I asked if anyone had managed to get Win32lib v = 58.5 >>getPrintChoice() adapted so that getPrinter() worked. I tried the fixes >>published here several weeks ago without success. > >Judith, >I've put my mods into 0.58.05, including Martin Stachons changes >(which included Brian Broker's suggestion). My changes allow paper >size and orientation to be pre-specified, and the users selections of >the same returned and passed from page setup to print dialogue. The >following link includes a small test program which prints fine here: > >http://palacebuilders.pwp.blueyonder.co.uk/w5805.ZIP > >(the above link only contains win32lib.ew, you'll need the other >components of 0.58.05 from Derek's site). > >Pete One other thing I just found which may be of interest, is if you use psOptions=3D{PSD_RETURNDEFAULT} you will need these two lines before calling getPageSetupEx store( pSetupDlg, PAGESETUPDLG_hDevMode, NULL) store( pSetupDlg, PAGESETUPDLG_hDevNames, NULL) Pete