Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-11939

PDF engine wkhtmltopdf does not use specified top and bottom margins

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.2.2
    • Fix Version/s: Unscheduled
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)

      Description

      This issue cannot be reproduced in the public demo, because "wkhtmltopdf" does not seem to be installed.

      To reproduce the issue in a local environment:
      1) Activate the use of wkhtmltopdf at the screen /civicrm/admin/setting/misc?reset=1

      2) Choose the action "Print PDF Letter" for either one person or many.

      3) Click to expand the area labeled "Page Format" and fill in a top margin and left margin.

      4) Click "Make PDF Letters". You will see the margin settings were ignored when viewing the PDF document.

      If you deactivate the use of "wkhtmltopdf", then try creating the PDF letter again you will see that the margin settings are honored.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sgladstone Sarah Gladstone
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: