Skip to main content
Inspiring
Sep 9, 2015 9:09 PM UTC
Answered

Adding a PDF button to Responsive Help?

The new responsive layout contains a print button for all topics; however, I would also like to add a PDF button that displays the topic in a PDF.  I thought I might have to go the JavaScript route to obtain this.  Does anyone know of an easier way or have some code that they would like to share or point me towards?

Thanks,

Jason

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Willam van Weelden
    Willam van WeeldenCorrect answer
    Inspiring
    Sep 12, 2015 1:46 PM UTC

    There are some JavaScript libraries that allow you to generate PDF documents, but I haven't tried any of them. For example: jsPDF - Create PDFs with HTML5 JavaScript Library

    Your mileage may vary. But if you want to create a PDF, why not generate one with RoboHelp and add that as a download to your help?

    4 replies

    surbhi_maheshwari9120543
    Inspiring
    Sep 10, 2015 6:08 AM UTC

    Hi,

    After clicking print you can set destination as "save as pdf" if you have any pdf writer software or plug-in.

    If you have Adobe Acrobat installed on your machine then you must be seeing this option or else there are some free pdf writer plug-ins also.

    Regards,
    Surbhi Maheshwari

    Translate
    Inspiring
    Sep 10, 2015 8:37 PM UTC

    Yes, you are correct; however, a competitor's product does offer both the Print button and a PDF button.  Since my WebHelp product from 2012 contains PDF links, I did not want to remove this functionality but perhaps make it more readily available.  

    Translate
    Willam van Weelden
    Willam van WeeldenCorrect answer
    Inspiring
    Sep 12, 2015 1:46 PM UTC

    There are some JavaScript libraries that allow you to generate PDF documents, but I haven't tried any of them. For example: jsPDF - Create PDFs with HTML5 JavaScript Library

    Your mileage may vary. But if you want to create a PDF, why not generate one with RoboHelp and add that as a download to your help?

    Translate
    Captiv8r
    Legend
    Sep 9, 2015 9:28 PM UTC

    Hi there

    To my knowledge there is no function that would allow dynamic conversion of the displayed topic to PDF.

    Cheers... Rick

    Translate