From: Sherlock on
cFileJPG := SELF:cPathImages + SELF:oasServer:FIELDGET(#IMGNAME)
oDib := FabPaintLib{ cFileJPG, oPrinter}
IF oDib:Isvalid
oPrinter:_DrawBMP( oPrinter:NextProw, 0, oDib, 50, 50,,,TRUE )
ENDIF


cFileBMP := SELF:cPathImages + _SSRandfile('') + ".BMP"
lNoImage := FALSE
IF File( cFileJPG )
hPTR := DIBCreateFromFile(String2Psz(cFileJPG))
// D:\sherlock_apps\SHERLOCK32\ZZ_IMAGE\2280KA0931307.JPG
IF hPTR != NULL_PTR
DIBSaveAs( hPTR, String2Psz(cFileBMP))
oPrinter:DrawBmp( aImageOffset[xx][1], aImageOffset[xx][2],
cFileBMP, 32*1.25, 48*1.25,,,TRUE )
FErase( cFileBMP )