PD4ML v4 Forums PD4ML v3 Archived Forums (Read Only) General questions / FAQ Byte stream output and header/footer content height

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26537

    Dear pd4ml’s staff,

    I can see there are many successful case to use pd4ml. I am looking for Java library that converting html to pdf. But what we plan to do is to have the PDF in the server as an intermediate product (in form of byte stream or solid file) and then send the data to a network printer for print out.

    I wonder someone can point me out how can I achieve it (by providing a URL, then save it as byte [] or byte stream)?

    For the header and footer content, I suppose it should mean they are appear on every page. But do they have height limitation?

    Kindly look forward to see your rapid response.

    #28487

    I can find a similar reference of producing PDF with byte[] data.
    And look forward to see the reply of the header & footer height concern.

    #28488

    There are 3 ways to define headers and footers in PD4ML:
    html-pdf-faq-f1/pdf-page-headers-footers-definition-options-t41.html

    The first 2 options preallocate space on each page.
    The third option allocates header or footer space dynamically. It also allows to change or disable/enable header and footer from page to page.

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

The forum ‘General questions / FAQ’ is closed to new topics and replies.