Re: setPrintJobProperty problem
- Posted by Judith Evans <camping at ?cewb.?et> Oct 29, 2007
- 646 views
CChris wrote: > snip > > 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 > > Good news. Or bad news if the routine orks unreliably, depending to the > printer. > > If I remember correctly, in an earlier email long ago, you mentioned that your > print setup dialog box had some fields that weren't in mine. > I'm afraid that the superfluous dialog box is something some drivers dumbly > display even when obviously not needed. If someone knows better, I'll > appreciate > the input. Otherwise, I'm simply afraid that the extra box may not be avoided > always, depending on the driver. > > I may have an idea, involving a custom template for an invisible dialog box > that would close on open. Not for next version if this is the way to go. > > CChris > btw can you determine which statement causes the dialog box to pop up, tracing > into w32resources.ew? I cannot test this atm. I'm drawing a complete blank about extra fields in dialop box. I'll sleep on it and maybe remember tomorrow. I'll see if I can find where the dialog bog pops up. judith