Progmar Marcin Załęczny

Language:

Handbill x6 template in PHP

Required: Apache+PHP, TCPDF library

Working: As a result script generate PDF document with A4 page of six handbills

Download

Customizing handbills

Set proper paths to TCPDF library's files near the beginning of the script. Next find place with following variables defined: content and contact and set them proper values of the handbills. These are two arrays that consists of following lines of handbill's content and contact information's content. Content array can be set in bold with html b tags: <b></b>

  • content - content of the handbill,
  • contact - contact information lines.