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?