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

Eliminate extra blank page from end of PDF labels (badges)

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.3
    • Fix Version/s: 4.3.4
    • Component/s: CiviEvent

      Description

      If a full page of labels/badges is generated in CiviEvents, and no further contacts/participants remain to be printed, a new page is still added to the end of the PDF stream. Previously this has probably merely been a nuisance, but when a single label/badge is configured as a single page, the extra pages generated on individual prints is an issue.

      This patch moves the 'add a new page' logic to the start of the label generation code (from the end of the label generation code).

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              ddoligalski David Doligalski
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: