thank you Florian for give it a try,
see that routine that compensate PDF number fails...
This step port PDF number to be divisible by four, 'cause newspaper is composed
by four pages per sheet. Try to put in your folder a number of PDF divisible by 4 ( 4,8,12,16,etc)
to skip this part of code.
I want to correct this, in my environment have 100% success, can you send me your PDF folder
(can give to you space where to put zipped archieve)
FTP thing is relative to code reused, forgot it, in final build you find instruction to use program.
Thank you for opportunity and hope you can obtain at least one successfull result,
For now good night,
m.