can not print more than 255 Pages ?

hi,

Xbase++ DBF Memo Type “V” with Bitmaps Size 192x144 24p.
2 Picture per Line and 8 Line per Page.
Picture will create in Memory and Bitmap Handle will pass to L&L
*** snip ***
LlDefineFieldExtHandle(hJob ,;
aField[i] ,;
TillBMP(MyContens) ,;
LL_DRAWING_HBITMAP ,0)
*** eof ***
after reached 255 Page it crash.
System Monitor show about 1.100MB RAM in use
from 2GB RAM

is it a “255 Page” limitation or a “2GB RAM” Problem ?

greetings by OHR
Jimmy

hi,

ok now i got 588 Pages after reduce Bitmap Size
so it is not a Page Limit, it is the 2GB Limit.

I did create a Bitmap from Memo (BLOB) in Memory,
get a Handle from Bitmap an pass it to L&L with
*** snip ***
Procedure LlPublishData(…)

LlDefineFieldExtHandle(hJob ,;
aField[i] ,;
HandleOfBMP(MyContens) ,;
LL_DRAWING_HBITMAP ,0)
*** eof ***
but i have to “hold” all Bitmaps Handle the hole time
L&L is running … ???

does L&L realy need to “hold” it or when can i “release”
Memory ?

greetings by OHR
Jimmy

if you have SP 13.005, set
LL_OPTION_SUPPORT_HUGESTORAGEFS to True.

You can release a handle when LlPrintFields() (if the handle is used
in a field) or LlPrint() is done. It only needs to be valid during the
API call that needs the handle to be valid.

Paulchen

ok now i got 588 Pages after reduce Bitmap Size
so it is not a Page Limit, it is the 2GB Limit.