Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26717

    I would need again your help. Please find attached an example of a PDF file that breaks to a second page although it looks like everything could be placed on one page.

    In the example.zip file you can find the header, footer and body HTML code.

    Would be great if you could give me a hint what is causing the page break.

    Thank you very much in advance,
    Michael

    #28983

    Would be great if you could look into this issue. I am currently live with a customer which has this problem and want me to solve it.

    Many thanks in advance,
    Michael

    #28984

    Probably it is caused by BODY bottom margin, which does not fit the page.

    Try to add
    BODY { margin-bottom: 0; margin-top: 0 }
    to the document styles.

    With something like
    BODY { border: 1 solid tomato }
    you could temporarily check where is the bottom content/whitespaces edge of the page.

    If your input HTML documents are read-only, the styles can be added with pd4ml.addStyle() API call.

    #28985

    Many many many thanks!!!! That helped. This was exactly the problem.

    Best regards,
    Michael

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Troubleshooting’ is closed to new topics and replies.