Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Use limeMpdf for printing surveys

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205419 by DenisChenu
Replied by DenisChenu on topic Use limeMpdf for printing surveys

thomasjanotta wrote: Thank you.

Has this been solved?

bugs.limesurvey.org/view.php?id=8858

In 4.X via a plugin (core plugin)


And to come back to my question.
In my opinion these folders are included in the plugin already.
In "lime\plugins\limeMpdf\views\subviews\mpdf"

You're totally right, but for example : some user can like to add logo at header, make their own footer.

body are less need, but header and footer can really be intersetig :)

I update the plugin to allow update this 3 twig file in theme editor in some hour.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • thomasjanotta
  • thomasjanotta's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #205434 by thomasjanotta
Replied by thomasjanotta on topic Use limeMpdf for printing surveys
@Joffm Na gut, Dachs kann ich ja mal probieren, aber Ameise? Nein.
Cool, thank you.

I still have a last question: I put the pdfreport.css in the files/ folder but it is not used. (cleared cache)

with a pdfreport.css in the files directory of the template


Fruity?
my custom template? (limesurvey\upload\themes\survey\_extends_fruity\files\)

Thank you.
Would you, Joffm and Denis, send me your donation links? (paypal, patreon...)
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205436 by DenisChenu
Replied by DenisChenu on topic Use limeMpdf for printing surveys
pdfreport.css is used only with tcpdf (RTFM please).

WIth limeMpdf : gitlab.com/SondagesPro/coreAndTools/lime...df/style-custom.twig is here for this.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • thomasjanotta
  • thomasjanotta's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #205473 by thomasjanotta
Replied by thomasjanotta on topic Use limeMpdf for printing surveys
Hi denis, ok thank you, somewhere in between these posts and manuals I stopped reading ... ;-)

One thing, you say: function setOptions Set one or more mPdf options

Where do I set it, in the file directly (didn't work). I need a bigger footer_margin as I have multi lines and logo in footer. thank you very much
merci.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 6 months ago #206439 by DenisChenu
Replied by DenisChenu on topic Use limeMpdf for printing surveys

thomasjanotta wrote: Where do I set it, in the file directly (didn't work). I need a bigger footer_margin as I have multi lines and logo in footer. thank you very much
merci.

I really don't know …

Did you try update : gitlab.com/SondagesPro/coreAndTools/lime...meMpdfHelper.php#L68

Else : mpdf.github.io/headers-footers/headers-top-margins.html


I don't know how to set this with the plugin : gitlab.com/SondagesPro/coreAndTools/lime...eMpdfHelper.php#L107

Maybe adding a twig file for some options ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
3 years 5 months ago #208084 by Chiripa
Replied by Chiripa on topic Use limeMpdf for printing surveys

Joffm wrote: Hi,
you only have to upload "pdfreport" and "limeMpdf" to the plugin folder.
Then you have this option in "pdfreport"



Joffm


Joffm ya intenté hacer esto pero no funciona. Dice que el plugin no es compatible con mi versión de LS. Por favor me pueden ayudar? Es urgente ya que pronto comenzamos el pro ceso de matrícula de nuestros estudiantes.

Gracias
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #208096 by DenisChenu
Replied by DenisChenu on topic Use limeMpdf for printing surveys

Joffm ya intenté hacer esto pero no funciona. Dice que el plugin no es compatible con mi versión de LS. Por favor me pueden ayudar? Es urgente ya que pronto comenzamos el pro

Get back to 3.X version or ask to a developer to fix the issue for 4.X,
I'm happy to test and accept the pull request when it's done.

I can work on it january or february (maybe)

All code are here gitlab.com/SondagesPro/ExportAndStats/pdfReport and licence are here : gitlab.com/SondagesPro/ExportAndStats/pd.../blob/master/LICENCE

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose