These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How do I print Comments Summary all on one page?

greglittle
Registered: Oct 1 2009
Posts: 2

I have made various comments throughout a document and would like to print a comment summary (comments only). However, I want the comments to be placed on the page in a continuous list rather than the default of printing each page's comments on a separate page. It seems silly to put each page's comments on a separate page since there is a heading that groups all of the comments by page. Having them listed continuously would make it easier to go through them also. How can I do this?

My Product Information:
Acrobat Pro 9.1.3, Windows
Carol Budai
Registered: Oct 21 2010
Posts: 2
I would also like to know how to print the summary comments on one page in a continuous list. How can this be accomplished. I am working with Acrobat 9, Windows.
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
In the Acrobat JavaScript API Reference is the followtin example:

// Get the comments in this document, and sort by author
this.syncAnnotScan();
annots = this.getAnnots({nSortBy: ANSB_Author});
// Open a new report
var rep = new Report();
rep.size = 1.2;
rep.color = color.blue;
if (annots) {
rep.writeText("Summary of Comments: By Author");
rep.color = color.black;
rep.writeText(" ");
rep.writeText("Number of Comments: " + annots.length);
rep.writeText(" ");
var msg = "\200 page %s: \"%s\"";
var theAuthor = annots[0].author;
rep.writeText(theAuthor);
rep.indent(20);
for (var i=0; i < annots.length; i++) {
if (theAuthor != annots[i].author) {
theAuthor = annots[i].author;
rep.writeText(" ");
rep.outdent(20);
rep.writeText(theAuthor);
rep.indent(20);
}
rep.writeText(
util.printf(msg, 1 + annots[i].page, annots[i].contents));
}
} else {
var msg = "No annotations found in this document, %s.";
rep.writeText(util.printf(msg, this.documentFileName));
}
// Now open the report
var docRep = rep.open("myreport.pdf");
docRep.info.Title = "End of the month report: August 2006";
docRep.info.Subject = "Summary of comments at the August meeting";

You may have to change the sort order and title.


George Kaiser

Carol Budai
Registered: Oct 21 2010
Posts: 2
George,
I am an administrative assistant and not a tech expert. I really don't understand these directions at all. I don't even know where to find the Java script. If I show this information to our tech support team, do you think they will understand it? Thank you.
Carol
Anubix
Registered: Jan 11 2011
Posts: 2
Here's the easiest way I've found to have all comments in one page. I have Acrobat 7. Please find equivalent commands in your version.

1. Go to Document | Summarize Comments.
2. Choose the Comments only layout.
3. Click OK.
4. Acrobat produces a separate document with only the comments, but in separate pages. Keep reading.
5. Do Ctrl + A to select all the text in the comments PDF.
6. Go to Edit | Copy.
7. Go to Word, paste in blank Word document.

Word will remove the page breaks and leave all comments in a contiguous document, hopefully, one page. Hope that helps.

My problem is that I cannot get Acrobat 7 to print ONLY THE F*&^NG COMMENT PAGES!!! ARRRRGHHHH!sigh... if anyone knows how to do that without Java mumbo jumbo, let me know.

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
Have you looked under the 'Comments' menu option?

I actually created a menu item to use the JavaScript mumbo jumbo.

Java is a computer language. JavaScript or a variation of JavaScript is used by Acrobat.

George Kaiser

Anubix
Registered: Jan 11 2011
Posts: 2
this.syncAnnotScan();
annots = this.getAnnots({nSortBy: ANSB_Author});
// Open a new report
var rep = new Report();

= mumbo

}
rep.writeText(
util.printf(msg, 1 + annots[i].page, annots[i].contents));
}

= jumbo

I wouldn't even dare bother you to explain what any of that means. I go to forums to find (and give) easy answers to common problems. For specialized, custom programming, I go to software developers and pay them to make it work AND to support it when it doesn't work. It would be inefficient for me to go to a forum and grab someone's code, as good as it may be. If something doesn't work, you have to wait for the person to respond, then the one asking gets whinny becasue they forgot a parenthesis or deleted a comma... blah blah. I'm not dissing your skill, it's just overkill for what we need to do in this particular post, when we have absolutely no Javascript programming skills.

Can you post some code that makes Acrobat 7 print ONLY the commented pages? LOL
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
You will find the summarize comments under the "Comments => Summarize Comments ...". On the pop-up window titles "Summarize Options" you can 'Choose a Layout" of "Comments only". This will produce a report sorted as selected. You can then save the created PDF report as a text docuemnt and edit it to your hearts content.If you want a menu option or toolbar button for an option that Adobe does not provide, then you will need to use code or pay someone to do the coding.



George Kaiser

ilja
Registered: Feb 3 2011
Posts: 1
I have Adobe Acrobat 9 Pro and like to print my comments consequetive on 1 page. Have tried Anubix version but that doesn't work in 9. Anybody know how to do this in 9?

Ilja

EOPE
Registered: Feb 9 2011
Posts: 6
George,

First, thank you for the information previously posted. Your post here as well as many other posts have solved many problems I have had. As for this issue, I placed the code in the javascript console, but I dont know how to start the report. Should I have placed this code into a different area? Any help is greatly appreciated.
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
You neeed to select all of the code, and then hold down the 'Ctrl' key and press the numeric keypad 'Enter' key.

The Acrobat JavaScript Console (Your best friend for developing Acrobat JavaScript) by Thom Parker.

George Kaiser

EOPE
Registered: Feb 9 2011
Posts: 6
Thank you, I have now run the program and get the following error message:
Reference Error: docRep is not defined
1:Consol:Exec

I have copied the code as typed

var docRep = rep.open("myreport.pdf");
docRep.info.Title = "End of the month report: August 2006";
docRep.info.Subject = "Summary of comments at the August meeting";

I see from your earlier post that you say we may need to vary the title, but I have changed myreport.pdf to my actual title of the pdf but get same error. Do you see anything wrong with my code or can you tell if I have misunderstood your instruction? Any help is greatly appreciated. thanks
dincon
Registered: Mar 11 2011
Posts: 1
Anubix's solution worked for me and I am using Adobe 9. I'll restate what he described

Create PDF of Comment Only Summary and then open.
"Ctrl A" to select all comments
Start Word and open an existing file or create a new blank file
"Ctrl V" to paste to opened Word page

Seems Adobe could provide a nice enhancement for when "Comment Only" is selected with a minor code change. Add an option on the "Summarize Comments" pop-up to select "Disable New Page Per Sort?". Default would be "Enabled" to maintain consitency with current programming and documentation.
Rizadpanah
Registered: Nov 25 2011
Posts: 3
Hi ! I have two urgent problem:

First, I have made various comments throughout a document and would like to print a comment summary (comments only). However, I want the comments to be placed on the page in a continuous list rather than the default of printing each page's comments on a separate page.

Second, there are some diagrams/tables/images that I want to highlight them and when I make a summerize from my text, I have those non-text in the newly generated file.

Thanks

izse1001 [at] student [dot] hj [dot] se for any further explanation...
Rizadpanah
Registered: Nov 25 2011
Posts: 3
Dear George,

As far as printing comments in one page & sequentially (preferably without titles such as author, date, page, etc) is the most important application of Acrobat for ordinary users of Acrobat, is it possible for you to explain your solution from beginning and in simple words? I think in this way we would be thankful.
Rizadpanah
Registered: Nov 25 2011
Posts: 3
Dear George,

I want to highlight pictures/diagrams/frameworks/tables existing in the document and then summarize and print them beside the highlighted text (comments). Is there any solution?