Hi, I'm having a problem with the instruction:
oPrn:SayBitmap(x,y,cFile,nWidth,nHight,nScale)
The Bitmap I'm trying to print is a 250,70 pixels BMP. It displays it fine in the preview (oPrn:SayBitmap(1,1,cFile)) but in the printer is very small (about .5 x .5 cms.).
I calculate the horizontal and vertical resolution for 80 cols and 60 rows.
I had a routine in FW 1.9 that worked fine but now with FW 2.4 it is not working.
As a matter of fact it works fine with oReport:SayBitmap.
I haven't found any reference on how to use the nHight,nWidth and nScale parameters. Any suggestion ?
Advanced thanks for your attention.
Andres
oPrn:SayBitMap
oPrn:oSayBitMap
After several tests I found out that the parameters on the oSayBitmap work this way:
I have an bmp image 250,70 pixels, if I print it with oPrn:SayBitmap(1,1,'Image.bmp') it will be barely visible (about 1 cm).
You should play with these numbers to adjust the size you want. A 500,140 would show a decent logo.
On the oReport:SayBitmap() instruction, it works entirely different.
I have an bmp image 250,70 pixels, if I print it with oPrn:SayBitmap(1,1,'Image.bmp') it will be barely visible (about 1 cm).
You should play with these numbers to adjust the size you want. A 500,140 would show a decent logo.
On the oReport:SayBitmap() instruction, it works entirely different.
- RAMESHBABU
- Posts: 591
- Joined: Fri Oct 21, 2005 5:54 am
- Location: Secunderabad (T.S), India
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact: