[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Print current page in Acrobat Reader 6.0

Posted on 2004-03-26
8
Medium Priority
?
549 Views
Last Modified: 2007-12-19
I have a 250 page document that my users access on a regular basis on our network.  Usually they only want to print a single page from the document at a time.  However, by default if you hit the print button in Acrobat Reader it defaults to ALL pages.  Is there any way to change this default setting or possibly create a new button for printing the current page only.  On several occasions making this change was overlooked and we ended up with 250 pages printed.

Thanks!
0
Comment
Question by:tbeasley123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10691943
Yes, you can add an application level JavaScript that adds a menu item to print just the current page. Are you familiar with Acrobat JavaScript?
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10691959
BTW: If you have a thumbnail selection, the print dialog will default to "print selected pages". So if you first select the current page in the Reader's Pages tab, only this page will be printed (if you don't select anything different).
0
 

Author Comment

by:tbeasley123
ID: 10718295
I don't know about Javascript apps for Acrobat.  Do you have any idea where I can find information on this?
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10726164
The ultimate document about Acrobat's JavaScript is this: http://partners.adobe.com/asn/acrobat/sdk/public/docs/AcroJS.pdf

If you can wait a few days (after the weekend), I'll try to come up with something that will print just the current page to the default printer.
0
 

Author Comment

by:tbeasley123
ID: 10726566
That would be great.  I appreciate your help!
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10737447
Save the following JavaScript into a file:

function printCurrentPage()
{
    this.print(true, this.pageNum, this.pageNum, false);
}


function initializePrintPage()
{
    // add the menu item
    app.addMenuItem({
    cName: "JSReceivePageMenu",
    cUser: "Print Current Page",
    cParent: "File",
    cExec: "printCurrentPage()",
    cEnable: "event.rc = (event.target != null);",
    nPos: -1,
    });
}


initializePrintPage();

// end of JavaScript

Copy this file as e.g. PrintCurrentPage.js into the directory  C:\Program Files\Adobe\Acrobat 6.0\Reader\Javascripts
0
 

Author Comment

by:tbeasley123
ID: 10742504
Ok, I put this in there.  How do I execute the Javascript from within Acrobat now?  thanks for your help!
0
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 1000 total points
ID: 10742672
Sorry, should have mentioned this in my comment: The script will add a new menu item under the "File" menu. Use this to print just the current page.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to perform batch conversion of PDF, TIFF, and other image file formats into PDF, PDF Searchable, and TIFF files via a command line interface, using Nuance's latest document imaging software — Power PDF Advanced.
In a previous article published here at Experts Exchange, Signature Image with Transparent Background (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_12380-Signature-Image-with-Transparent-Background.html), I explained how to cre…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question