Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GdiPlusX Taking the best form Snapshot
Message
From
02/05/2008 01:56:48
 
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01313831
Message ID:
01314703
Views:
10
Hi Bo,
>For printing purposes, I prefer to to render to the HDC of an EMF and then send the EMF to the print job. This gives you more control over how the object will be rendered and I don't get as many wierd stretching problems that can occur with EMFs and certain video drivers.
>
>I also prefer EMFs over bitmaps for printing, because the EMF format is native to the Windows print engine and will render the highest quality for the printer device. If you choose to use BITMAPs, you always have to wonder what the best resolution might be for printing...300dpi? 1200dpi?...the bigger you go, the longer it could take to render and if you use PDF print drivers, the larger the output PDF will become. If you use EMFs, you get better quality, performance and size.
>
>Of course there are always exceptions to the rule. Some ActiveX controls will only look good when rendered as BITMAPs and only at screen resolution. But this is rare for the ActiveX controls I need to print.

I searched MS documentation quiet a bit on EMFs, but aparently this is something that was not really well documented there. The same goes for windows low level handling of printers and printing process. There are
scattered API examples here and there, but nowhere I could find some comprehensive material covering these aspects in details. Do you have
any resource/link/book to reccomend ?
I was hoping actually GdiPlusX will cover some of those API sets as well but this is obviosely out of scope.

>
>>BTW see PM.
> Sorry I missed something, which PM are you refering?


I left you PM here last night.
You must hv answered this message before I completed writing my PM :0)

Pls chk UT PMs again.

TIA
Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform