1
I’m using this example: forums.mediabox.fr/wiki/tutoriaux/pao/construction_fichier_pdf to create a pdf header. The problem is that in my example I can only create a page, but I want 2 pages. I use this code in the file part and includes the example:
footer = "/PDF/f_pdf.lua"
header = "/PDF/h_pdf.lua"
fichier = "example.pdf"
h = io.open( header, "rb" )
r = io.open( fichier, "wb+" )
and then write to the example.pdf file. How can I create the 2 pages?
Good afternoon @akm, I don’t understand, you want to put . moon codes inside a . pdf? Why the
/pdf/f_pdf.lua
looks like a moon script only and not another pdf.– Guilherme Nascimento