Re: setPrintJobProperty problem
- Posted by Judith Evans <camping at ccew?.ne?> Oct 29, 2007
- 612 views
CChris wrote: > > <big snip/> > > > CChris, I *had* modified w32Resources.ew as you said. The actual code is: > > > > }}} <eucode> > > global function getDefaultPrinter() > > printerDC = w32Func(xCreateDC,{wsp,pname,0,0}) > > setPrinterPointers(1) > > return printerDC > > end function > > </eucode> {{{ > > > > That was copied direct from C:\Euphoria\Win32Lib\include\w32Resources.ew > > I did say that I had put it into Win32Lib - about line 1212 in w32Resources. > > So .... I carry on wondering what is going on! Or what I have done!! > > > > AndyD > > Ok, then I'll have to look at this more thoroughly. Tere's a long weekend > ahead > for Nov. 1st, so I'll probably find some time to set that right. > Does the keyboard handler faultlessly work now? > > CChris I'm using the 70.2 file you sent and changed Generic.exw in the demos to use VOID=getDefaultPrinter() instead of getPrinter(). I also added VOID=setPrintJobProperty(JP_Orientation, DMORIENT_LANDSCAPE) right after getDefaultPrinter(). I needed to click "OK" in one popped up Window but printing shows the text in landscape as desired. I'm using a HP 5500 series All-In-One printer. I have no idea what driver it uses. judith