TPrinter:SayBitMap() problem.

Post Reply
Milan Mehta
Posts: 115
Joined: Mon Oct 17, 2005 4:42 am
Location: India

TPrinter:SayBitMap() problem.

Post by Milan Mehta »

Dear All,

As part of Invoice printing I am printing logo (BMP file) of the company on the invoice using SayBitMap() method of printer class. The problem is it prints in diff sizes on different printer as the resolution of the printer differs.

Is there anyway by way of which I can define height and width in Inches so that it prints in the same area irrespective of printer.

TIA
Milan.
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post by James Bott »

Milan,

Have you tried the nWidth and nHeight parameters of sayBitmap()?

SayBitmap( nRow, nCol, xBitmap, nWidth, nHeight, nRaster )

James
Post Reply