Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine PDF and put page number in the combined pdf #5

Open
evivar opened this issue Jul 15, 2020 · 1 comment
Open

Combine PDF and put page number in the combined pdf #5

evivar opened this issue Jul 15, 2020 · 1 comment

Comments

@evivar
Copy link

evivar commented Jul 15, 2020

Is there a way that when using combinePDF() to put the page numbers on the footer of the combined pdf??

@FelixFurtmayr
Copy link

Not yet. But I guess it is possible. And also a good idea.
Combine is using ghostscript:

grafik

Maybe you can do some research waht would be necessary to add to it, so we have page numbers?
The ghostscript command currently looks like:

 let cmd = `gs -sDEVICE=pdfwrite -dSAFER -dPDFSETTINGS=/prepress -o ${outpath}` ; // plus the input paths for each pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants