Hello,
I have one PDF which I split into single pdf-files and rename them.
The result is:
1_001.pdf
1_002.pdf
2_003.pdf
2_004.pdf
2_005.pdf
...
21_099.pdf
21_100.pdf
Now I have to merge the pdfs by the number before the "_".
I tried to assemble the jobs, but someehow Im doing it wrong.
Has someone a clue?
Merge PDF / Assemble Job
Re: Merge PDF / Assemble Job
There are two possibilities.
Either, the renamed files are in a folder and then you can just use "Merge PDF".
Or, the PDF's have been taken out of the folder in which they were after "Split PDF". That should be done with "Ungroup job"!! The individual files are then renamed and you assemble them again with "Assemble job - Scheme - Ungrouped job". Finish with "PDF merge".
Either, the renamed files are in a folder and then you can just use "Merge PDF".
Or, the PDF's have been taken out of the folder in which they were after "Split PDF". That should be done with "Ungroup job"!! The individual files are then renamed and you assemble them again with "Assemble job - Scheme - Ungrouped job". Finish with "PDF merge".
Re: Merge PDF / Assemble Job
Hi freddyp
my problem is, that I dont know how to get the files into one groupfolder.
I ungrouped the jobs, but I dont want to merge all pdfs into one single pdf again.
I only want to merge specific pdfs.
Thats why I renamed them into
1 PDF =
1_001.pdf,
1_002.pdf
1 PDF =
2_003.pdf etc
my problem is, that I dont know how to get the files into one groupfolder.
I ungrouped the jobs, but I dont want to merge all pdfs into one single pdf again.
I only want to merge specific pdfs.
Thats why I renamed them into
1 PDF =
1_001.pdf,
1_002.pdf
1 PDF =
2_003.pdf etc
Re: Merge PDF / Assemble Job
In that case you can use "Assemble job - Scheme - Custom".
Set the "Job identifier" to [Job.NameProper] before the underscore; that will group all the 1_, 2_, 3_, etc.
Then the question remains how many there are per 1_, 2_,... Is there some way of knowing this? There must be because otherwise how did you rename the files correctly? That is the number (variable) that goes in "Number of files".
If you really do not know, set "Number of files" to 0, but "After N minutes" to 1 (or another number that seems appropriate.
Set the "Job identifier" to [Job.NameProper] before the underscore; that will group all the 1_, 2_, 3_, etc.
Then the question remains how many there are per 1_, 2_,... Is there some way of knowing this? There must be because otherwise how did you rename the files correctly? That is the number (variable) that goes in "Number of files".
If you really do not know, set "Number of files" to 0, but "After N minutes" to 1 (or another number that seems appropriate.
Re: Merge PDF / Assemble Job
If you really do not know, set "Number of files" to 0, but "After N minutes" to 1 (or another number that seems appropriate.
--> this works.
Thank you.
Later I will try to improve the flow by implementing the "Number of files".
--> this works.
Thank you.
Later I will try to improve the flow by implementing the "Number of files".
Re: Merge PDF / Assemble Job
Number of Pages per group would be:
count(/root/datei[text() = "[Job.JobState]"])
count(/root/datei[text() = "[Job.JobState]"])