locked
Print button in form library RRS feed

  • Question

  • I created sharepoint form library, now I want when the user opens the completed form, they can print the form.

    Now when they print the form with ctrl+p button, submit button appears in print.

    Is there any way to put print button in form library?

     


    Wednesday, July 15, 2020 9:51 AM

All replies

  • Hi Ameneh,

    I think your real need is to show a print button in the form, not in the form library(It will print the entire form library interface).

    A form library is where forms are stored, and it stores forms as files, and when we click on these items, it's actually the equivalent of opening a file.

    In this case, we can't add a print button to the form because it doesn't actually use the form, just open the form file.

    If the form is published to a list, then we can do this by modifying Display Form:

    1.Open the Display Form web part page

    2.Add a content editor web part to print the page. Edit the HTML source for the content editor web part to add the print button:

    <input type="button" value=" Print this page "onclick="window.print();return false;" />.

    Result:

    This “SharePoint 2013 - Using SharePoint Designer, InfoPath and Other Customizations” Forum will be migrating to a new home on Microsoft Q&A, please refer to this sticky post for more details.

    Best regards

    Itch Sun


    "SharePoint" forums will be migrating to a new home on Microsoft Q&A !
    We invite you to post new questions in the "SharePoint" forums' new home on Microsoft Q&A !


    Thursday, July 16, 2020 3:29 AM
  • Thanks Itch Sun,

    I designed form library in infopath designer and publish as a “sharepoint form library”.

    So I can’t see “(Item) Display Form”.

    I know that when we create a form as a form library, it is a file.

    I want the print button to be displayed somehow when the user opens the file.

    What is your suggestion؟

    Saturday, July 18, 2020 3:55 AM
  • maybe now
    Saturday, July 18, 2020 7:46 AM
  • Hi Amenenh,

    I'm afraid your need is hard to complete.

    We can't modify the behavior after opening files. 

    The "Ctrl + P" you mentioned is the only way.

    Thank you for your understanding.

    Best regards

    Itch Sun


    "SharePoint" forums will be migrating to a new home on Microsoft Q&A !
    We invite you to post new questions in the "SharePoint" forums' new home on Microsoft Q&A !

    Monday, July 20, 2020 1:38 AM
  • Hi,

    This thread has been around for a long time. Please remember to mark the replies as answers if they helped. Your action would be helpful to other users who encounter the same issue and read this thread.

    Thank you for understanding! If you have any questions, or updates, please feel free to let me know.

    Best Regards,

    Itch Sun


    "SharePoint" forums will be migrating to a new home on Microsoft Q&A !
    We invite you to post new questions in the "SharePoint" forums' new home on Microsoft Q&A !

    Wednesday, July 22, 2020 9:56 AM