VoyForums

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12345678[9]10 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 07:51:53 10/17/00 Tue
Author: Michel
Subject: Re: TDibGraphicPrinter
In reply to: Thomas Munk 's message, "TDibGraphicPrinter" on 03:23:47 10/17/00 Tue


Dear Thomas,

If you trace in the debugger you will notice that Printer.Canvas.StretchDraw ends up calling

TDibGraphic.Draw which uses StretchDIBits.

Best regards,

Michel

> Hello
>
> I have not used TDibGraphicPrinter yet, but I've read
> the source and I have a question.
>
> The Print method uses StretchDraw to send the image to
> a printer. I have seen a lot of warnings about using
> StretchDraw on printer canvases because it does not
> work correctly with all printers (drivers). See the
> links at the bottom. The suggestions are that API call
> StretchDIBits should be used.
>
> Could this be a possible problem with
> TDibGraphicPrinter when deploying a program to many
> different users with many different unknown printers?
>
> Best regards,
> Thomas Munk
> Denmark
>
>
> <a rel=nofollow target=_blank href="http://www.efg2.com/Lab/Library/Delphi/Printing/Default">http://www.efg2.com/Lab/Library/Delphi/Printing/Default</a>
> .htm
> <a rel=nofollow target=_blank href="http://support.microsoft.com/support/kb/articles/q195/8">http://support.microsoft.com/support/kb/articles/q195/8</a>
> /30.asp
> <a rel=nofollow target=_blank href="http://www.efg2.com/Lab/OtherProjects/PrinterDemo1.htm">http://www.efg2.com/Lab/OtherProjects/PrinterDemo1.htm</a>

[ Next Thread | Previous Thread | Next Message | Previous Message ]

[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.