Page 1 of 2 1 2 >
Topic Options
#39145 - 04/10/12 05:01 AM How to make "Page X of N" in a merged PDF?
TerenceSmith Offline
OL Newbie

Registered: 04/10/12
Posts: 18
Hi,

I am using "Concatenate PDF Files" and "Create PDF File" (Passthrough) plug-in in workflow to merge some PDF files (created by the same Design document) in a specific folder. However, I am not sure how to insert the page count (Page X of N) in the merged big PDF file... Can anyone advise? Thanks in advance!!

Top
#39146 - 04/10/12 06:10 AM Re: How to make "Page X of N" in a merged PDF? [Re: TerenceSmith]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1051
Loc: Montreal, Qc
Terence,

If you want to add Page X of N, you'll need a PlanetPress Document to do so.
At its most simple, once your PDF has been merged, you use it as the Data file for that new document. Make sure you select the Set as Background feature, so the PDF data file becomes the background for the new document. Then, you add a data selection to the document, select Custom Data Selection and type in the following code:

='Page '+inttostr(&current.printpage) + ' of ' + inttostr(pdfpagecount(&current.datafilename))

That should do it.
_________________________
Product Development Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top
#39148 - 04/10/12 07:29 AM Re: How to make "Page X of N" in a merged PDF? [Re: Philippe F.]
TerenceSmith Offline
OL Newbie

Registered: 04/10/12
Posts: 18
Hi Philippe,

Thanks so much! Where can I set the "set as backgroud" feature?
Thanks!

Terence

Top
#39149 - 04/10/12 08:01 AM Re: How to make "Page X of N" in a merged PDF? [Re: TerenceSmith]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1051
Loc: Montreal, Qc
Terence,

After you've loaded the PDF as your input file, right click anywhere in the Sample Data pane and select the first option from the pop-up menu.
_________________________
Product Development Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top
#39172 - 04/12/12 05:50 AM Re: How to make "Page X of N" in a merged PDF? [Re: Philippe F.]
TerenceSmith Offline
OL Newbie

Registered: 04/10/12
Posts: 18
Hi Philippe,

Thanks a lot! I tried your method, it works well when I press F9 to generate a preview PDF file in the planetpress design file. However, the page number is not shown when I use a Workflow to capture a source PDF file and generate a result PDF file. My workfolw is as follow:

Folder Capture
|
|
Change Emulation
|
|
Create PDF
|
|
Send to folder


Do you have any idea? Thanks!!

Top
#39174 - 04/12/12 07:38 AM Re: How to make "Page X of N" in a merged PDF? [Re: TerenceSmith]
Philippe F. Offline
OL Expert

Registered: 09/06/00
Posts: 1051
Loc: Montreal, Qc
Did you send your PlanetPress Document to PlanetPress Workflow, and did you select that document in the Create PDF task?
_________________________
Product Development Manager
I don't want to achieve immortality through my work; I want to achieve immortality through not dying - Woody Allen

Top
#39182 - 04/12/12 11:26 AM Re: How to make "Page X of N" in a merged PDF? [Re: Philippe F.]
Benoit Potvin Offline
OL Expert

Registered: 01/02/08
Posts: 362
Loc: Montréal
Hi Terence,

I just want to point out that if you are an OL Care subscriber, then you can enroll yourself in the PlanetPress Suite Training course which addresses topics such as the one you are bringing up (actually there is a tutorial animation on how to add page x of n to a set of concatenated pdfs here).

Also, if you can afford to wait a couple of days, you could request a webinar on this topic with a technical trainer from Objectif Lune. It's free with the e-learning.

Regards,
_________________________
Knowledge is capital
http://twitter.com/benoitpotvin

Top
#39188 - 04/12/12 11:56 PM Re: How to make "Page X of N" in a merged PDF? [Re: Benoit Potvin]
TerenceSmith Offline
OL Newbie

Registered: 04/10/12
Posts: 18
Hi Philippe,

Yes, I did.
I opened the Service Console of the PP Office and monitored the job. There is an error message when the Create PDF plugin was run. The error msg is

"W3001: Error while executing plugin:Error converting file:undefined
Create PDF:W1603:Plugin failed"

Hi Benoit,
Thanks for remindng!

Top
#39189 - 04/13/12 12:37 AM Re: How to make "Page X of N" in a merged PDF? [Re: TerenceSmith]
TerenceSmith Offline
OL Newbie

Registered: 04/10/12
Posts: 18
Hi Philippe,

I got it finally! Just select the "Optimized PostScript Stream" option instead of "Printer centric" option in the Create PDF plugin and it works normally now.
Thanks for your help!

Top
#39202 - 04/13/12 12:29 PM Re: How to make "Page X of N" in a merged PDF? [Re: TerenceSmith]
Benoit Potvin Offline
OL Expert

Registered: 01/02/08
Posts: 362
Loc: Montréal
Me:
Quote:
actually there is a tutorial animation on how to add page x of n to a set of concatenated pdfs here


Dear.... eek I have to apologize cause I am the one doing the voice over on this animation and I can NOT believe how bad and annoying I sound!! cry I would suggest to view this animation if and only if you really need to learn how to add page x of n with metadata... Anyways, rest assured: we now have professionals doing voice-over in the animations we produce!
_________________________
Knowledge is capital
http://twitter.com/benoitpotvin

Top
Page 1 of 2 1 2 >