Esempio n. 1
0
<?php

require_once '../../../includes/global.inc.php';
require_once '../../ChequeForms/ChequeForms.class.php';
$cf = new ChequeForms();
$cf->tcpdf_dir = '../tcpdf';
$cf->fpdi_dir = '../fpdi';
$cr_standard_form_1 = $cf->getFormObject('cr_standard_form_1');
$cr_standard_form_1->setDebug(FALSE);
$cr_standard_form_1->setShowBackground(FALSE);
$cr_standard_form_1->date = 1342206000;
$cr_standard_form_1->amount = 724.09;
$cr_standard_form_1->stub_left_column = " Mr. Administrator\n Identification #: 000000000000023\n Net Pay: \$724.09\n ";
$cr_standard_form_1->stub_right_column = " Pay Start Date: 24-Jun-12\n Pay End Date: 07-Jul-12\n Payment Date: 13-Jul-12\n ";
//$cr_standard_form_1->stub_left_column =  "This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page.";
//$cr_standard_form_1->stub_right_column = "This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. ";
$cr_standard_form_1->full_name = 'Mr. Administrator';
$cr_standard_form_1->address1 = '1719 Main St';
$cr_standard_form_1->address2 = 'Unit #461';
$cr_standard_form_1->city = 'New York';
$cr_standard_form_1->province = 'NY';
$cr_standard_form_1->postal_code = '00420';
$cr_standard_form_1->country = 'US';
$cr_standard_form_1->company_name = 'ABC Company';
$cr_standard_form_1->symbol = '$';
$cf->addForm($cr_standard_form_1);
$output = $cf->output('PDF');
file_put_contents('cr_standard_form_1.pdf', $output);
?>

Esempio n. 2
0
<?php

require_once '../../../includes/global.inc.php';
require_once '../../ChequeForms/ChequeForms.class.php';
$cf = new ChequeForms();
$cf->tcpdf_dir = '../tcpdf';
$cf->fpdi_dir = '../fpdi';
$c9085 = $cf->getFormObject('9085');
$c9085->setDebug(FALSE);
$c9085->setShowBackground(FALSE);
$c9085->date = 1342206000;
$c9085->amount = 724.09;
//    $c9085->stub_left_column =  " Mr. Administrator\n Identification #: 000000000000023\n Net Pay: $724.09\n ";
//    $c9085->stub_right_column = " Pay Start Date: 24-Jun-12\n Pay End Date: 07-Jul-12\n Payment Date: 13-Jul-12\n ";
$c9085->stub_left_column = "This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page.";
$c9085->stub_right_column = "This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. ";
$c9085->full_name = 'Mr. Administrator';
$c9085->address1 = '1719 Main St';
$c9085->address2 = 'Unit #461';
$c9085->city = 'New York';
$c9085->province = 'NY';
$c9085->postal_code = '00420';
$c9085->country = 'US';
$c9085->company_name = 'ABC Company';
$c9085->symbol = '$';
$cf->addForm($c9085);
$output = $cf->output('PDF');
file_put_contents('9085.pdf', $output);
?>

Esempio n. 3
0
<?php

require_once '../../../includes/global.inc.php';
require_once '../../ChequeForms/ChequeForms.class.php';
$cf = new ChequeForms();
$cf->tcpdf_dir = '../tcpdf';
$cf->fpdi_dir = '../fpdi';
$dlt103_obj = $cf->getFormObject('dlt103');
$dlt103_obj->setDebug(FALSE);
$dlt103_obj->setShowBackground(FALSE);
$dlt103_obj->date = 1342206000;
$dlt103_obj->amount = 724.09;
//    $dlt103_obj->stub_left_column =  " Mr. Administrator\n Identification #: 000000000000023\n Net Pay: $724.09\n ";
//    $dlt103_obj->stub_right_column = " Pay Start Date: 24-Jun-12\n Pay End Date: 07-Jul-12\n Payment Date: 13-Jul-12\n ";
$dlt103_obj->stub_left_column = "This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page.";
$dlt103_obj->stub_right_column = "This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. ";
$dlt103_obj->full_name = 'Mr. Administrator';
$dlt103_obj->address1 = '1719 Main St';
$dlt103_obj->address2 = 'Unit #461';
$dlt103_obj->city = 'New York';
$dlt103_obj->province = 'NY';
$dlt103_obj->postal_code = '00420';
$dlt103_obj->country = 'US';
$dlt103_obj->company_name = 'ABC Company';
$dlt103_obj->symbol = '$';
$cf->addForm($dlt103_obj);
$output = $cf->output('PDF');
file_put_contents('dlt103.pdf', $output);
?>

Esempio n. 4
0
<?php

require_once '../../../includes/global.inc.php';
require_once '../../ChequeForms/ChequeForms.class.php';
$cf = new ChequeForms();
$cf->tcpdf_dir = '../tcpdf';
$cf->fpdi_dir = '../fpdi';
$c9209p = $cf->getFormObject('9209p');
$c9209p->setDebug(FALSE);
$c9209p->setShowBackground(FALSE);
$c9209p->date = 1342206000;
$c9209p->amount = 724.09;
//    $c9209p->stub_left_column =  " Mr. Administrator\n Identification #: 000000000000023\n Net Pay: $724.09\n ";
//    $c9209p->stub_right_column = " Pay Start Date: 24-Jun-12\n Pay End Date: 07-Jul-12\n Payment Date: 13-Jul-12\n ";
$c9209p->stub_left_column = "This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page. This is really long text that should fit on the left stub column without overlapping any other text or going off the page.";
$c9209p->stub_right_column = "This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. This is really long text that should fit on the RIGHT stub column without overlapping any other text or going off the page. ";
$c9209p->full_name = 'Mr. Administrator';
$c9209p->address1 = '1719 Main St';
$c9209p->address2 = 'Unit #461';
$c9209p->city = 'New York';
$c9209p->province = 'NY';
$c9209p->postal_code = '00420';
$c9209p->country = 'US';
$c9209p->company_name = 'ABC Company';
$c9209p->symbol = '$';
$cf->addForm($c9209p);
$output = $cf->output('PDF');
file_put_contents('9209.pdf', $output);
?>