FPDI use template issue
Has anyone had any experience with fpdi in creating 开发者_如何学JAVAtemplates to be used on multiple pages.
$fpdi->useTemplate($tplidx, 0, 0, 210, 297,true);
The above works great for my template but when using writeHTML and the text goes over one page it only applies the template to the current page. Am I doing something wrong or is their some other way around doing this.
Thanks
Looking at the online documentation, I don't think you can. Each call to useTemplate()
adds one instance at the given location, but I don't see a way to specify a particular page.
I recommend getting a decent PDF library. fpdi looks to be designed to convince you to buy Setasign's other products so you can actually accomplish things. Googling "php pdf" turned up several.
精彩评论