How do I add a print this page link? Here is what I've done so far...

I have tried this code:
// Print current page silently
print({bUI : false, nStart : pageNum, nEnd : pageNum});
which works from the bookmark column. However, when I try to apply it (set link) within a document, it doesn't work.  My clients really want to be able to add a "print this page" link on every page (fun)... so your help is appreciated. Cheers.

I was just coming back to here to say I've figured it out and am using an invisible button (over text that was created to look like a link) on each page... tested and working (when combined with the code). Thank you for your replies!

Similar Messages

  • How do I add a "Print this page" button (not just a "Print" button) to a PDF?

    I am creating a multipage PDF in Acrobat Pro 8 for a client and it includes a linked table of contents with several sections and also several forms sprinkled throughout. I need to be able to add buttons that allow the user to print specific page numbers. Is it possible to add a "print this page" button to a page ... or even a "print this form" in case the form within the larger document is multiple pages? I would appreciate any help, thanks!

    I was just coming back to here to say I've figured it out and am using an invisible button (over text that was created to look like a link) on each page... tested and working (when combined with the code). Thank you for your replies!

  • Is there a way to create a "Print This Page" link?

    I have a client who want to insert a print this page link that launches their print utility. Is this possible with Muse?

    This is not a function of Muse. You'll need to use the 'insert arbitrary HTML' function to add this.
    Here's where to get the javascript to insert.
    Beware that Muse only produces a generic stylesheet and does not define its specific media type. That means that printing a Muse-generated web page or rendering a Muse website on a mobile device can be extremely messy.  Elements may fall off of a page or may be sized oddly. The Muse showcase shows how the Horace and Lydia site falls apart in print. Elements appear broken and blank pages result.
    Muse developers need to employ semantic markup so that users can design stylesheets for different media types. This topic is related to the frequent requests that Muse should be able to design for mobile devices. Muse just isn't smart enough to do what a professional designer would want.

  • Tell a friend/print this page

    how can you add those links on your page?
    ...tell a friend...
    ...print this page...
    Thanks

    Hoi Bart,
    Have a look here, it's all Javascript post-publish stuff, you know the drill.
    http://www.hypergurl.com/printpage.html
    http://www.sitetoolcenter.com/website-tools-and-tutorials/tell-a-friend-javascri pt.php
    See you soon
    Leo

  • How do I add a printer to my airport

    How do I add a printer to my airport so I can print with my MAC and iPad and iPhone?

    This is user to user support.. where if we can help you we do.. but otherwise we don't because we don't know the answer.
    If your question is left for 24hours sometimes an Apple rep will point you to a document. that is all.. they never help.. just point.
    Anyhow I see you have posted twice.. with time stamps 2min apart.
    And in the wrong order so anything is possible.
    ipad and iphone can natively print only to printer with airprint.
    See printing with iOS..
    About AirPrint
    Does your printer support airprint.. ?? If so it will be wirelessly connected.
    If it doesn't support airprint there are endless apps on itunes store to help you.
    Look at a print software you load on the Mac that captures jobs for airprint and sends them to the correct printer..
    Printopia.. but there are a zillion others.
    http://www.ecamm.com/mac/printopia/
    Nowadays printers are the razor holders.. the toner or ink cartridges are the blades.. just buy a new printer.. that is actually capable of the job. Plugging in USB printers and expecting to use them over networks is never 100% successful.. USB is an interface for local connection not network.

  • How do you add a printer to your iPad

    HI,
    how do you add a printer to your iPad.

    1. Buy a AirPrint enabled printer; see list below
    http://support.apple.com/kb/ht4356
    2. Run the CD provided and setup as network printer; this will setup your printer to the same network as your iPad
    http://i1224.photobucket.com/albums/ee374/Diavonex/1a30ee42.jpg
    3. Start printing from your iPad without wire
    http://i1224.photobucket.com/albums/ee374/Diavonex/93ec77e5.jpg

  • How do I add or delete a quick link from Firefox's home page.

    How do I add or delete a quick link from Firefox's home page. I don't use most of the links and would like to add other quick links.

    You can change the order of the boxes on the about:newtab page and drag an item to a different slot to pin it to that position or you can remove a website by clicking the close X to block that URL.<br />
    You can drag a bookmark or history item and drop them in a slot on the about:newtab page to pin them and have your own favorites sites showing.
    Changes made manually on the about:newtab page are stored in the browser.newtabpage.pinned (default = [null]) and browser.newtabpage.blocked prefs that you can check/modify on the about:config page (Bug 791447).
    *http://kb.mozillazine.org/about:config
    See also this article about the New Tab page (about:newtab):
    *https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites

  • Print this page button

    Hi,
    I found this very handy liittle script for adding a print
    this page button to my pages. See below. I'd like to change the
    button though to a small image of a printer. Does anyone know how I
    can modify this script to achieve that.
    Thanks
    K
    <SCRIPT Language="Javascript">
    This script is written by Eric ([email protected])
    For full source code, installation instructions,
    100's more DHTML scripts, and Terms Of
    Use, visit dynamicdrive.com
    function printit(){
    if (window.print) {
    window.print() ;
    } else {
    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0
    HEIGHT=0
    CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
    document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting
    dialog box WebBrowser1.outerHTML = "";
    </script>
    <SCRIPT Language="Javascript">
    var NS = (navigator.appName == "Netscape");
    var VERSION = parseInt(navigator.appVersion);
    if (VERSION > 3) {
    document.write('<form><input type=button
    value="Print this Page" name="Print"
    onClick="printit()"></form>');
    </script>

    Looks a bit archaic to me.
    Just do this -
    <form>
    <input type="image" name="printMe"
    src="images/whatever.jpg"
    onclick="self.print();">
    </form>
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "KHam1234" <[email protected]> wrote in
    message
    news:gdpre8$mgq$[email protected]..
    > Hi,
    >
    > I found this very handy liittle script for adding a
    print this page button
    > to
    > my pages. See below. I'd like to change the button
    though to a small image
    > of a
    > printer. Does anyone know how I can modify this script
    to achieve that.
    >
    > Thanks
    >
    > K
    >
    > <SCRIPT Language="Javascript">
    >
    > /*
    > This script is written by Eric ([email protected])
    > For full source code, installation instructions,
    > 100's more DHTML scripts, and Terms Of
    > Use, visit dynamicdrive.com
    > */
    >
    > function printit(){
    > if (window.print) {
    > window.print() ;
    > } else {
    > var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0
    HEIGHT=0
    >
    CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
    > document.body.insertAdjacentHTML('beforeEnd',
    WebBrowser);
    > WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a
    prompting dialog box
    > WebBrowser1.outerHTML = "";
    > }
    > }
    > </script>
    >
    > <SCRIPT Language="Javascript">
    > var NS = (navigator.appName == "Netscape");
    > var VERSION = parseInt(navigator.appVersion);
    > if (VERSION > 3) {
    > document.write('<form><input type=button
    value="Print this Page"
    > name="Print" onClick="printit()"></form>');
    > }
    > </script>
    >

  • Print this page

    I am trying to add a PHP "print this page" script to my
    dreamweaver template, that I created myself and it does not want to
    work once uploaded. The template has one editable area for content.
    This is the script ( I found on the internet). I am not a developer
    but I suspect that the fact I am using a template is the problem.
    <?php
    /*PHPrint - Save this file as phprint.php
    Make any Page Printer Friendly!
    Copyright by MikeNew.Net, Notice must stay intact
    Legal: MikeNew.Net is not responsible for any damages caused
    by use of this script. (Not that it will, probably. Never
    has.)
    This script will make your pages printer friendly.
    Optionally, it will strip images as well. */
    //Do you want to strip images from the printable output?
    // If no, change to "no". Otherwise, images are stripped by
    default.
    $stripImages = "no";
    // That's it! No need to go below here. Upload it and test.
    $startingpoint = "<!-- startprint -->";
    $endingpoint = "<!-- stopprint -->";
    $read = fopen($HTTP_REFERER, "r");
    $value = "";
    while(!feof($read)){
    $value .= fread($read, 4096);
    fclose($read);
    $start= strpos($value, "$startingpoint");
    $finish= strpos($value, "$endingpoint");
    $length= $finish-$start;
    $value=substr($value, $start, $length);
    function i_denude($variable)
    return(eregi_replace("<img src=[^>]*>", "",
    $variable));
    function i_denudef($variable)
    return(eregi_replace("<font[^>]*>", "", $variable));
    $PHPrint = ("$value");
    if ($stripImages == "yes") {
    $PHPrint = i_denude("$PHPrint");
    $PHPrint = i_denudef("$PHPrint");
    $PHPrint = str_replace( "</font>", "", $PHPrint );
    echo $PHPrint;
    // Next line mandatory. Please don't remove. Nobody will see
    it except SE crawlers, anyway. Thanks! :)
    echo "<br><a href=\"
    http://www.mikenew.net/\"><img
    src=\"
    http://www.mikenew.net/images/php.gif\"
    echo "alt=\"printer friendly pages script, php\" width=\"20\"
    height=\"8\" border=\"0\"></a>";
    echo "<br/><br/>This page printed from:
    $HTTP_REFERER";
    flush ();
    ?>

    What are you expecting this script to do? What attracted you
    to it?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "fatpad" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am trying to add a PHP "print this page" script to my
    dreamweaver
    >template,
    > that I created myself and it does not want to work once
    uploaded. The
    > template
    > has one editable area for content. This is the script (
    I found on the
    > internet). I am not a developer but I suspect that the
    fact I am using a
    > template is the problem.
    >
    > <?php
    >
    > /*PHPrint - Save this file as phprint.php
    > Make any Page Printer Friendly!
    > Copyright by MikeNew.Net, Notice must stay intact
    > ************
    > Legal: MikeNew.Net is not responsible for any damages
    caused
    > by use of this script. (Not that it will, probably.
    Never has.)
    > This script will make your pages printer friendly.
    > Optionally, it will strip images as well. */
    >
    > //Do you want to strip images from the printable output?
    > // If no, change to "no". Otherwise, images are stripped
    by default.
    > $stripImages = "no";
    > // That's it! No need to go below here. Upload it and
    test.
    >
    > $startingpoint = "<!-- startprint -->";
    > $endingpoint = "<!-- stopprint -->";
    >
    > $read = fopen($HTTP_REFERER, "r");
    > $value = "";
    > while(!feof($read)){
    > $value .= fread($read, 4096);
    > }
    > fclose($read);
    > $start= strpos($value, "$startingpoint");
    > $finish= strpos($value, "$endingpoint");
    > $length= $finish-$start;
    > $value=substr($value, $start, $length);
    >
    > function i_denude($variable)
    > {
    > return(eregi_replace("<img src=[^>]*>", "",
    $variable));
    > }
    >
    > function i_denudef($variable)
    > {
    > return(eregi_replace("<font[^>]*>", "",
    $variable));
    > }
    >
    > $PHPrint = ("$value");
    >
    > if ($stripImages == "yes") {
    > $PHPrint = i_denude("$PHPrint");
    > }
    >
    > $PHPrint = i_denudef("$PHPrint");
    > $PHPrint = str_replace( "</font>", "", $PHPrint );
    >
    > echo $PHPrint;
    > // Next line mandatory. Please don't remove. Nobody will
    see it except SE
    > crawlers, anyway. Thanks! :)
    > echo "<br><a href=\"
    http://www.mikenew.net/\"><img
    > src=\"
    http://www.mikenew.net/images/php.gif\"
    > echo "alt=\"printer friendly pages script, php\"
    width=\"20\" height=\"8\"
    > border=\"0\"></a>";
    > echo "<br/><br/>This page printed from:
    $HTTP_REFERER";
    > flush ();
    > ?>
    >

  • How do you add a "top of page" button to an iWeb page?

    How do you add a "top of page" button to an iWeb page?

    Two solutions:
    The Easy One:
    Create a Form (which will be the button) and add text to it or choose a picture from iphoto. Now give the form/picture a hyperlink to the same site. So now if you press the button, the site will refresh and start at the beginning/top
    The advanced way:
    1. Publish your site on the web (not just local). Copy the URL
    2. Now create a Button like displained in the solution above. As Hyperlink you'll now have to set external site and paste the before copied link AND add the following at the end of the url:      #widget0
    3. Add a html widget to the top of the site.
    4. The widget's content should be   <a name="anchor"></a>
    5. Publish your site again on the web and look wether it works.
    This way won't work, if the created site is linked as an iframe.

  • How do i add a printer to my iphone 5?

    How do I add a printer to my iphone 5?

    http://support.apple.com/kb/ht4356
    http://www.apple.com/support/iphone/assistant/airprint/

  • How do I add another printer to my laptop?

    How do I add another printer to my laptop?  I used to go to "add printer" and it would automatically find the printer I was near and I could add it.  It doesn't allow me that anymore

    Open Accounts preferences (Users & Groups if you are running Lion.) Click on the lock icon and enter your admin password. Click on the Add [-] button to create a new account. Configure the account with username and password as well as set they type of account - admin, standard, or managed.

  • How can I add an existing cfm page to a project?

    CFB3 Question: How can I add an existing cfm page to a project? I created a project and copied a file into the project folder but I can't seem to find a way to add the cfm file into the project.

    @Carl - Well heck, yes I did... But after reading your response I went back and tried right-clicking on and refreshing different things and what worked was right-clicking on the project name in the Navigator window and then clicking on refresh in that context menu.
    Thank you Carl!

  • How can I add a language on pages (Greek) to check the spelling when that language is not on the list?

    how can I add a language on pages (Greek) to check the spelling when that language is not on the list?
    I can see other languages available for spelling check, but not Greek and I dont see how to add it.
    I have added the Greek keyboard on the Mac, so I can write in Greek , but I dont know how to check the spelling in Greek on pages

    You can try to add a 3rd party spellchecker
    http://milaraki.com/blog/2010/11/greek-spelling-at-pages-how-to/

  • Button to 'Print This Page Only to a printer of your choosing'

    I need to create a button to allow my user to print their current page to a printer of their choosing.
    Having them go to file print, etc etc is not an option as it will be used by hundreds of people, and the pdf is hundreds of pages long. (if they just select 'Print' that would be a lot of wasted paper)
    Ive been able to locate a Javascript that prints to the Default Printer, but my users change computers several times per day, and the default printer might located on the other side of town!
    Here is the script for 'Print this page to default printer' if anyone can assist by altering it to choose which printer, that would be amazing..
    Javascript:
    this.print(false, this.pageNum,this.pageNum);
    Even creating a button to open the print dialog box with 'Current Page' pre-selected would be ok.

    You need to use the PrintParams properties to get/set the print UI:
    var pp = this.getPrintParams();
    pp.firstPage = this.pageNum;
    pp.lastPage = pp.firstPage;
    pp.interactive = pp.constants.interactionLevel.full;
    this.print(pp);

Maybe you are looking for