draw2d icon indicating copy to clipboard operation
draw2d copied to clipboard

Multipage-PDF file

Open maberer opened this issue 6 years ago • 2 comments

How can I create a PDF file with more than one page with the library? I do not understand, how a graphic context maps to a page in a PDF-file.

I did not find an example, that uses more than one PDF page... What is the recommended way to achieve this?

maberer avatar Sep 30 '18 16:09 maberer

Hi @tindli, we uses https://github.com/jung-kurt/gofpdf to generate pdf. daw2d can draw in a pdf but cannot handle pages. You need to use gofpdf for this.

llgcode avatar Dec 23 '18 13:12 llgcode

(I'm redstarcoder, I'm moving all my accounts to this one, longtime no see)

It seems jung-kurt is archived. I believe https://github.com/phpdave11/gofpdf is the most maintained fork.

Another (good) option seems to be https://github.com/pdfcpu/pdfcpu

TheDiscordian avatar Dec 22 '20 21:12 TheDiscordian