Solved

Print current page in Acrobat Reader 6.0

Posted on 2004-03-26
8
521 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
  • 5
  • 3
8 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
Comment Utility
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
Comment Utility
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
Comment Utility
I don't know about Javascript apps for Acrobat.  Do you have any idea where I can find information on this?
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

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

Expert Comment

by:Karl Heinz Kremer
Comment Utility
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
Comment Utility
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 250 total points
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This article is in response to a question here (http://www.experts-exchange.com/Other/URLs/Q_28283850.html) at Experts Exchange. The Original Poster has a scanned signature and wants to make the background transparent so that the signature may be pl…
*Adobe Acrobat 9 was used for this article. Particular steps may vary depending on software versions. 1. Create a framework of your form in Word, leaving space where you’d ultimately like the Adobe fields to appear.  (Note: I use the blank lines …
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now