Print Preview straight to PDF

More
4 years 1 month ago #99041 by nathanielelliott
nathanielelliott created the topic: Print Preview straight to PDF
I am looking to make the user-experience a little different for our surveys. In short, I want to pull the PDF up instead of a "Print Preview". Is it possible to this?
  1. User goes through the survey
  2. User arrives at final pages and selects "Print Answers"
  3. User sees final PDF not print-print preview

Any ideas would be great, thanks so much!

Please Log in to join the conversation.

More
3 years 7 months ago #104988 by Nana111
Nana111 replied the topic: Print Preview straight to PDF
Hi there
Your problem seems a little bit complicated.I'd like to suggest you add one of the pdf processing tool to help you out.There are many third party tool for pdf processing.Maybe that would be more convenient.

Please Log in to join the conversation.

More
3 years 6 months ago #105638 by DenisChenu
DenisChenu replied the topic: Print Preview straight to PDF
Quick javascript

$(document).ready(function(){
$('#print').click();
})

Not sure for the id of the print in pdf button, need to look at html code.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
3 years 6 months ago #105639 by fransmarcelissen
fransmarcelissen replied the topic: Print Preview straight to PDF
The way I do it is that I generate a report using R and odfWeave. If you need only pdf you can also use R and sweave. This is not a solution that you do in five minuts, but it is a good structural solution.

Please Log in to join the conversation.

More
3 years 4 months ago #108147 by ouku
ouku replied the topic: Print Preview straight to PDF

DenisChenu wrote: Quick javascript

$(document).ready(function(){
$('#print').click();
})

Not sure for the id of the print in pdf button, need to look at html code.

Denis

Just tried and works for the PDF.




_______________
pdf to flash

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now