Does not print footer

Printing an invoice, the rows are inserted in a table
I inserted Header Line - Data Line and FooterLine.
The printing works, but:
If the number of rows corresponds with the length of the page
Prints the first page but does not print the footer

Maurizio

We’d need more information here:

  • which version are you using.
  • which technology? NET? VCL? Other?
  • if applicable - which data source type?
  • can you post a debug log, the project file and a preview?
  • which version are you using.
    List&Label 20.0
  • which technology? NET? VCL? Other?
    Harbour with dll calls (xbase language)
  • if applicable - which data source type?
    MySQL , to insert data we use LlDefineFieldExt()
    -can you post a debug log, the project file and a preview?
    Yes, where can I put the files?
    as a new user I can’t attach them

Just browse a bit in the forum, that’ll be enough to get upgraded. Also, make sure you’re looping LlPrintFieldsEnd while receiving LL_WRN_REPEAT_DATA as return value.

debug

fatt_01.lst
Fatt_01.lsv

Fatt_01.lsp

You’re not calling LlPrintFieldsEnd at all. Refer to the docs here:

https://docu.combit.net/progref/en/#!Documents/llprintfieldsend.htm

:wink:, it works now.
Now always print the footer.
Sometimes the footer is printed a little on one page and the rest on the new page. Is it possible to make the whole footer on the new page?

Thanks

Good to hear it’s working now. If you select the table you should see line options for the different areas. For the Footer, there should be an option “Keep Lines Together” or similar - I’m not sitting at my computer to check the exact name.