Re: SaveDC failure + grprint.ew

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

Derek Parnell wrote:
> 
> Then checkout the result with
>  
>   <a
>   href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/system_error_codes.asp">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/system_error_codes.asp</a>
> 
> to find a matching error code.
> 

The error code is 6 - Invalid Handle.

I can write to this Hdc directly using TextOut() routine, but I do not
get proper formatting done.
textOut(Hdc, {"This is a test line on Preview", 200, 200, {}, {}, {}, {}})


What I tried was using grprint.ew for printer after replacing the
printerDC by Hdc created by the preview dll.
printTextLeft(200,400,"This is a test line on Preview")


Is there any way I can redirect printer output to this new Hdc using
grprint?

Regards,
Rad.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu