How to design an active print button.

Hi,
I have designed a web page which includes the details of all the customer lying in one particular locality. Now i want to include a button on the page which sends a command to the printer attached to the computer to print the page. I am not able to conceptualize this. Including a button on the web page is easy, but how to make at an active button which prints the page.

We are here to help. But, you only learn when you do things yourself. I hope you understand. Just give a try yourself and if you are not able to proceed even after your 100% effort, you can come over here and post the problem. Don't you think the below is simple?
<input type="button" value="Print" onclick="window.print();"/>

Similar Messages

  • How do I create a print button to print a specific range of the document.

    How do I create a print button to print a specific range of the document.  I've found JavaScript to print a specific page, but a range or even multiple ranges.  Form is created in Adobe 9 Pro.  Any help would be truly appreciated! 

    Sure, I'll give it a test.  Its just that I have a 128 page form that not all of it needs to be printed.
    Currently,  I have an index page where I want to set up a print button queues per form, however there are several form scattered throughout the document that make up a specific section, but it does not require printing the entire document.  Does that make sense?
    I did find this JavaScript during my reseach, but have not be able to get it to work.
    var pp = event.target.getPrintParams() ;
    pp.interactive = pp.constants.interactionLevel.full;
    pp.printRange=[[1, 1], [3, 4]];
    event.target.print(pp);

  • How do I add a print button to the tool bar?

    When I open the menu there is not a "print" button to add to the tool bar. Even under customize there is not a "print" button. How do I print from mozilla?

    The Print button in the "3-bar" Firefox menu button drop-down list opens the Print Preview window.
    You can click the Print button in the Print Preview window or use the Print item in the File menu (File > Print) or use the Ctrl+P shortcut to have access to the print selection item and other print setup options.
    You can look at this extension:
    *Universal Print: https://addons.mozilla.org/firefox/addon/universal-print/
    There are other things that need attention.
    Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts.
    The user.js file is only present if you or other software has created this file and normally it wouldn't be there.
    You can check its content with a plain text editor (right-click: "Open with"; do not double-click).
    The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.
    You can delete the user.js file if you didn't create this file yourself.
    *http://kb.mozillazine.org/Preferences_not_saved

  • How do I get Smart Print button to appear in IE9?

    I'm running the 32-bit version of IE9 in Windows7 Ultimate 64-bit. I have version 1.0.9.0 of HP Smart Print (i shows up in "Programs and features". I went to the seb site and ran the activation and it was successful. The HP bing bar appears, but no Smart Print button. The HP Bingbar has "HP Deals", "HP Advisor", Snapfish by HP", "HP Games", and "Learn at HP" buttons.
    This question was solved.
    View Solution.

    I'm using a Presario desktop & windows 7.
    I have done all of the steps suggested here - both the Bing bar program & the HP smartprint 1.0.9.0 are listed.
    When I right click the command bar - The HP smartprint icon does NOT show up.
    I don't see any thing that I can guess is the Bing Bar.
    Help Please This has been going on for way to long!!!!!
    George

  • How do I make a print button that prints "current page" as default

    I am working in Adobe Acrobat Professional 7.0 and have created "print
    buttons" in the pdf document I am working in. The print dialog box has "print all" automatically selected as the current default. How can
    I create buttons that bring the user to the print dialog box automatically selected at "print current page?" I want the user to hit
    the print button and have it automatically print the single page that they are viewing only, so that no one will accidentally print the entire book.
     

    You might also check these forums
    Acrobat Scripting Forum http://forums.adobe.com/community/acrobat/acrobat_scripting
    Acrobat SDK Developer Forum http://forums.adobe.com/community/acrobat/acrobat_scripting

  • How do I create a print button for use in Interactive PDF?

    I have a document created in InDesign CS4 which I will be converting into an interactive PDF (which has various links added on a master page so they appear on every page), one of which I would like to be a "Print" button.
    I know how to do this in Acrobat Pro, but I don't want to have to create a button in Acrobat and then copy/paste it onto all pages in my document. Surely there must be a way to create a button of this type in InDesign CS4. Any help would be greatly appreciated.

    Sorry, no. Print button functionality must be added in Acrobat.

  • How can I use Active Print on my Ipad and print to my usb connected HP officejet 6110 all in one

    I was previously able to use Active Print on my Ipod to print to my usb connected HP officejet 6110 all in one.  Now, however, with my Ipad version 2 I can no longer get this to work.  Can anyone help?  Thanks.

    Hi,
    HP do not provide any USB connection solution for iOS.
    As Active Print is a 3rd party application which provide this functionality, i believe you may find a better help within Active Print support as they more familier with their application requirement and functionality:
    http://www.activeprint.net/support/
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How Can I Create a Print Button on a PDF Using Acrobat Pro That Will Also Work on iOS?

    I created a Print Button on a PDF document using Adobe Acrobat Pro on my Mac.  The Print button works perfectly on different browsers on my Mac and on Windows (running under Parallels Desktop) as well.
    When I open the document on my iPad the Print button doesn't even appear.  I am guessing that this is a Flash issue but it may be more related to the fact the the action for the button is to access the Print menu item, which doesn't exist under iOS.
    Is there any way to create a Print button using Acrobat Pro that will work on a Mac and Windows but also on iOS?

    In order to initiate printing by clicking a button, the button has to have either an "execute menu item" type action or use the "print" JavaScript method. As you guessed, the former won't work since there are no menu items to execute, and the latter can only work if the particular PDF viewer you're using supports it. I'm not aware of any that do on iOS.
    The button doesn't appear because you're probably opening it in the default PDF viewer, which doesn't support forms at all. If you were to open the form in Adobe Reader, you'd see the button but it wouldn't work.

  • How do I add a print button in the 'Additional tools and Features'? My print button has disappered.

    After the recent upgrade my print button disappeared from the Menu Bar. I tried to customize the menu bar by adding back the print button but the button does not appear in the list of 'Additional Tools and Features' in the left hand window. I cant locate the print button anywhere.

    Move your mouse to the top of the Firefox window, then right click.
    You will see a menu of the available toolbars. Select '''''Customize'''''.
    In the new window, look for the icon. When you find if, hold down
    the left button on it, and move it to where you want it to be.
    You can move any of the icons you want from here, but some
    icons are locked in place.

  • How do I add a print button that would print out pdf or different version than what is on the site?

    I see this example on NY Times.  If you pick any of their articles and click print or do the short cut (Command-P) ... (Control-P for windows), the layout of their article is completely customized and cleaner.  It seems like they've edited the print look to be different than what you see on the website.
    I find that very cool and something I've bent dying to achieve.  My guess is that I could make a pdf to what I want the print look to be and have a print button read that instead of the website but I don't know, I need help with this.

    I have but it's not what I'm looking for.  I want to edit what the printer will actually print when a reader clicks print.  So if the page has a puzzle, for example, and the reader clicks print.  The printer will print the puzzle in a different location on the page without some of the clutter that's on the site or have some message that's not originally present on the website.

  • How do I get the print button to operate ? The print to file is litup  but not the print button

    The print button on 5.6 is darken out the print to file is not in either case they don't work.  I have a new Epson R 3000 that works fine with the Photo program on my iMac pro just upgraded to yosemite but do not think that is the problem.  Likely something did or did not do!
    len

    In your Print Job panel is a pulldown (near the top) called Print to:  Set it to Printer instead of JPEG file.

  • Print button in Print view not working; how can I get it to work normally again?

    Please help: a few weeks ago, my Print button was working fine, then I imported a few 3rd party print templates, and now the Print button is not a clickable option. I've removed the 3rd party templates but it still does not work  (see button in bottom right hand corner) - how I can make the print button work again? Please advise..

    Because it is set to print to a JPEG File instead of send to a Printer. Change the Print To: pulldown in the Print Job panel to "Printer"

  • How to disable print button in outoput screen from vf03

    hi,
    i have a requirement to display error message and, disable the print and print preview button.
    below its the step,
    1)vf03
    2)key in document type
    3)select output type
    4)if there's error, display error message and disable print and print preview button.
    what i have done was
    1) i've put the error message in my 1st part of code,
    *determine discount
    it_zmas-discount = it_zmas-gross_value - zkwert.
    MODIFY it_zmas.
    ELSE.
    MESSAGE ID 'Z0' TYPE 'S' NUMBER '999' WITH 'Please maintain cust pricing grp 34 for ' wa_zmas-matnr.
    p_proc_screen = 'X'.
    ENDIF.
    CLEAR zknumh.
    2)then i set itcpo-tdpreview = ' ' to display my print button after display the error message
    CLEAR itcpo.
    MOVE-CORRESPONDING nast TO itcpo.
    itcpo-tdcover   = nast-tdocover.
    itcpo-tddest    = nast-ldest.
    itcpo-tddataset = nast-dsnam.
    itcpo-tdsuffix1 = nast-dsuf1.
    itcpo-tdsuffix2 = nast-dsuf2.
    itcpo-tdimmed   = nast-dimme.
    itcpo-tddelete  = nast-delet.
    itcpo-tdcopies  = nast-anzal.
    itcpo-tdprogram = sy-repid.
    IF us_screen NE space
    AND p_var EQ space.
    itcpo-tdpreview = 'X'.
    itcpo-tdnoprint = 'X'.
    ELSE.
    itcpo-tdpreview = ' '.
    ENDIF.
    CASE nast-nacha.
    WHEN '1'.
    xdevice = 'PRINTER'.
    itcpo-tdnewid = 'X'.
    itcpo-tdgetotf = 'X'.
    WHEN '2'.
    xdevice = 'TELEFAX'.
    itcpo-tdtelenum = nast-telfx.
    itcpo-tdteleland = us_country.
    itcpo-tdsenddate = nast-vsdat.
    itcpo-tdsendtime = nast-vsura.
    WHEN '3'.
    xdevice = 'TELETEX'.
    itcpo-tdtelenum = nast-teltx.
    itcpo-tdteleland = us_country.
    itcpo-tdsenddate = nast-vsdat.
    itcpo-tdsendtime = nast-vsura.
    3) my last problem its, i am not sure how to disable the print button.i need  to show an error message for my invoice via vf03 when error occur when user click print or print preview button. however with my code above, i am only able to display the error message and disable the print preview.
    could anyone guide me how do i disable my print button? really appreciate your help.
    regards,
    sw

    Instead of disabling the print buttons, you can restrict creating the actual output message for a specific output type.
    You can achieve it by creating the Output Requirement in transaction VOFM. You need to assign this requirement to your Output type. In this Requirement you can check all your conditions. If they all validation pass through than and than create the Output.
    Regards,
    Naimesh Patel

  • How to get the printer button to appear

    The buttons on my printer should say scan, copy & print.
    They are now saying scan, copy & copy.   how do I get the print button back, as I cannot print

    Hi,
    What is the exact printer model? is it the HP Photosmart C4385?
    The following model does not provide any fax capabilities as you may find by its datasheet below:
    http://cdn.cnetcontent.com/b6/14/b6144c8e-0a16-4ce3-a66d-2eb03e86f4d9.pdf
    If I misunderstood your pritner model, please clarify the exact model.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Inactivate the print button is the ABAP list

    How can I inactivate the print button in the report program (ABAP list)?
    I can inactive the print button on selection screen by using 'RS_SET_SELSCREEN_STATUS'. But can't achieve the same effect after the program jumped to the list output screen.
    Thanks!

    hi,
    To achieve this you need to create your own custom pf-status. The tcode for creating new pf-status is se41. Goto SE41, enter the program name and click create.
    Enter the menu bar buttons, application tool bar button and Function key as per your requirement. Active the pf-status. Once the pf-status is created, use this in your program using the statement.
    set pf-status 'ZPF'.
    Regards,
    Richa.

Maybe you are looking for

  • Invalidating the ADF session and redirecting to EBS login screen

    Hi ADF team, I am developing an application which is being accessed from eBusiness Suite (EBS), using ADFX function. It has a global Logout link. When the link is clicked, two things should happen. 1. the ADF session that is running on WLS server sho

  • How do I cut an image in half and move the halves independently?

    How do I cut an image in half, and move the halves independently?

  • "Search in Files" inside .ini files

    I use the site search and search in file features in Dreamweaver quite often but I just discovered that if I have a folder full of .ini files and I need to search globally inside those files Dreamweaver returns no results. Apparently, DW is unable to

  • Print too small from email

    HP officejet 6500A all in one. cn556.  Serial # cn15l321hr Using win. 7 on 32 bit systme with 2G Print is OK from Word but email is very small.  I tried not shrinking to fit but made no differenge.  Also tried changing font size. Any other suggestion

  • Bitmap images using Dreamweaver 4

    I have Dreamweaver version 4, and though I can insert JPEG, PNG, and GIF images the application won't let me insert BMP files (I insert them, but the image won't appear). Is there any way I can fix this? thanks.