PHP Classes

File: example/headertext.php

Recommend this page to a friend!
  Classes of Dave Smith   Convert HTML to PDF PHP Library   example/headertext.php   Download  
File: example/headertext.php
Role: Example script
Content type: text/plain
Description: Example Usage
Class: Convert HTML to PDF PHP Library
Convert HTML to PDF using pdflayer API
Author: By
Last change:
Date: 7 years ago
Size: 384 bytes


Class file image Download
Include a page header

$h2pdf = new html2pdf();

//set the url to convert

//set the header text
$h2pdf->setParam('header_text','Page [page] of [topage]');

//start the conversion

//display the pdf file