Board index » delphi » printing graphics...??
gvdoo...@vmprofs.estec.esa.nl (Gerry van Dooren)
![]() Delphi Developer |
Sat, 08 May 1999 03:00:00 GMT
|
gvdoo...@vmprofs.estec.esa.nl (Gerry van Dooren)
![]() Delphi Developer |
Sat, 08 May 1999 03:00:00 GMT
printing graphics...??Hi all! Is there somebody out there who has tried printing graphics according to the Any info appreciated. Regards, Gerry. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Barney Tyrwhitt-Drak
![]() Delphi Developer |
Sun, 09 May 1999 03:00:00 GMT
Re:printing graphics...??In article <56s19r$...@bcalpha.estec.esa.nl>, Gerry van Dooren Quote>Hi all! printer using both Draw and StretchDraw. The StretchDraw method illustratd in the Delphi Developer's Guide (p.183) also results in the same blank page. Since I want to show these bitmaps in reports, I find that dropping a If anyone has a bullet-proof routine for printing bitmaps from a Delphi |
Jim Bar
![]() Delphi Developer |
Sun, 09 May 1999 03:00:00 GMT
Re:printing graphics...??In article <56s19r$...@bcalpha.estec.esa.nl>, Gerry van Dooren Quote>Hi all! PASCAL Ver 7* ! Cheers, Jim Jim Barr Machine Conversation |
Furio Gerac
![]() Delphi Developer |
Mon, 10 May 1999 03:00:00 GMT
Re:printing graphics...??Gerry van Dooren wrote Quote> Is there somebody out there who has tried printing graphics according to http://www.borland.com/techsupport/delphi/techdocs/index.html Is the TI3155- A Better way to print a form. There is a lot of code to explain how convert the image on the canvas (or a bitmap) to a DIBitmap and then send the bitmap to the printer with the API functions. -- |
David Blo
![]() Delphi Developer |
Mon, 10 May 1999 03:00:00 GMT
Re:printing graphics...??On 19 Nov 1996 10:14:19 GMT, gvdoo...@vmprofs.estec.esa.nl (Gerry van QuoteDooren) wrote: Using StretchDIBits instead of Draw for bitmap printing ------------------------------------------------------- Bitmap printing - When printing a bitmap, make sure to use the Windows API routine StretchDIBits. For example, here's a function that prints an arbitrary TBitmap at the specified X,Y location: procedure PrintBitmap(Bitmap: TBitmap; X, Y: Integer); |
James Lee Tabo
![]() Delphi Developer |
Mon, 10 May 1999 03:00:00 GMT
Re:printing graphics...??QuoteJim Barr wrote: Epson and another for LaserJet. I tried it a few days ago. Didn't fool with it enough to tweek output, but it works. I necessary I can e-mail the docs to you. Jim |
Ed Eichm
![]() Delphi Developer |
Fri, 14 May 1999 03:00:00 GMT
Re:printing graphics...??Quote> >Is there somebody out there who has tried printing graphics according to the author of "Delphi Component Design" 1996 Addison Wesley ISBN 0-201-46136-6 The following text is from the Delphi readme file MANUALS.TXT: Using StretchDIBits instead of Draw for bitmap printing procedure PrintBitmap(Bitmap: TBitmap; X, Y: Integer); Two gotchas with this code, that another programmer in my company ran Ed Eichman |