NickMalloy
asked on
Printing Page Numbers
How can I add page numbers to my actual document? I don't want to just number the thumbnails. I want the actual printed pages to be numbered. How would I do this? I tried the number pages command and property options but this does not work. I am using Acrobat version 5.0.
Did you get an answer? - I can give you a Javascript example if you want it
John
John
A javascript example for Acrobat? Remember, this is a PDF, not an HTML page.
The Javascript acts as a plug-in when placed in the Javascripts folder under Acrobat. Page Numbering will then appear on the menu.
John
John
The page numbering feature you get in the Acrobat menu doesn't do ANYTHING to how it prints. I can number pages too, but those don't PRINT, they only show up in the page numbers used for navigation in the document.
Unless you have something that actually alters the actual PDF file? I'd be surprised if javascript could do that...
Unless you have something that actually alters the actual PDF file? I'd be surprised if javascript could do that...
It will number the pages and you can save the file with the numbers in it. Incidentally the pages numbers do print out on the page. The numbers appear at the top centre of the page.
I wrote a program in Delphi to automate Acrobat to number several documents at once and print them out.
Here is the code for the Javascript plug in:
app.addMenuItem({ cName: "PageNumbering", cParent: "Tools", cExec: "Numbering()",nPos: 0});
function Numbering ()
{
var r = [320,1600,580,40];
for (var i = 0; i < this.numPages; i++) {
var f = this.addField(String("page "+i+1),"te xt",i,r);
f.textSize = 14;
f.textColor = color.blue;
f.fillColor = color.transparent;
f.textFont = font.HelvB;
f.borderStyle = border.s;
f.strokeColor = color.transparent;
f.value = String("Page "+(i+1));
}
}
John
I wrote a program in Delphi to automate Acrobat to number several documents at once and print them out.
Here is the code for the Javascript plug in:
app.addMenuItem({ cName: "PageNumbering", cParent: "Tools", cExec: "Numbering()",nPos: 0});
function Numbering ()
{
var r = [320,1600,580,40];
for (var i = 0; i < this.numPages; i++) {
var f = this.addField(String("page
f.textSize = 14;
f.textColor = color.blue;
f.fillColor = color.transparent;
f.textFont = font.HelvB;
f.borderStyle = border.s;
f.strokeColor = color.transparent;
f.value = String("Page "+(i+1));
}
}
John
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
AFAIK, there is no other way. The page numbering options in Acrobat only refer to how it handles the page numbers internally. It has nothing to do with printing or what's actually ON the pages.