Re: Print Preview (Pprg) + GRPRINT.EW

new topic     » topic index » view thread      » older message » newer message

On Sat, 11 Mar 2006 12:43:46 +0530, "Rajesh Deshpande"
<radhx at rediffmail.com> wrote:

>Hi Pete,
>
>It worked! After commenting out the line in support.ew:
>
>--rad           store( pPrintDlg, pRINTDLG_hDevMode, devmode)   -- ...to
>printdialogue structure
>
>the printer selection dialog was displayed and printing went through.
>
Glad to hear that blink
>
>I was wondering whether GRPRINT.EW by Andy Drummond can be used along with
>Print Preview.
I have had a quick look and would say not. Firstly it writes direct to
the printer and secondly it is too procedural. Something similar could
probably be achieved via the pageSequenceHook() mechanism which is
loosely documented in ppRef4.htm, though a bit of trial and error
would be needed. Basically the idea is to experiment with a few simple
layouts similar to what you want to create, to see what the pagetable
needed would be like, then attempt to build one (ie when preview asks
rather than the grprint.ew way) by starting with a "dummy" layout and
datastream, eg just to print the word dummy once, then reconstruct a
pagetable as you really want it.

Hope that makes sense,
Pete

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu