mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-25 22:07:33 +00:00
4.5.043
This commit is contained in:
parent
79af316899
commit
e5d7ab98a2
@ -1,3 +1,35 @@
|
||||
4.5.043 (2009-04-15)
|
||||
- Barcode class (barcode.php) was extended to include new linear barcode types (see example n. 27):
|
||||
C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9
|
||||
C39+ : CODE 39 with checksum
|
||||
C39E : CODE 39 EXTENDED
|
||||
C39E+ : CODE 39 EXTENDED + CHECKSUM
|
||||
C93 : CODE 93 - USS-93
|
||||
S25 : Standard 2 of 5
|
||||
S25+ : Standard 2 of 5 + CHECKSUM
|
||||
I25 : Interleaved 2 of 5
|
||||
I25+ : Interleaved 2 of 5 + CHECKSUM
|
||||
C128A : CODE 128 A
|
||||
C128B : CODE 128 B
|
||||
C128C : CODE 128 C
|
||||
EAN2 : 2-Digits UPC-Based Extention
|
||||
EAN5 : 5-Digits UPC-Based Extention
|
||||
EAN8 : EAN 8
|
||||
EAN13 : EAN 13
|
||||
UPCA : UPC-A
|
||||
UPCE : UPC-E
|
||||
MSI : MSI (Variation of Plessey code)
|
||||
MSI+ : MSI + CHECKSUM (modulo 11)
|
||||
POSTNET : POSTNET
|
||||
PLANET : PLANET
|
||||
RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)
|
||||
KIX : KIX (Klant index - Customer index)
|
||||
IMB: Intelligent Mail Barcode - Onecode - USPS-B-3200
|
||||
CODABAR : CODABAR
|
||||
CODE11 : CODE 11
|
||||
PHARMA : PHARMACODE
|
||||
PHARMA2T : PHARMACODE TWO-TRACKS
|
||||
|
||||
4.5.042 (2009-04-15)
|
||||
- Method Write() was fixed for the strings containing only zero value.
|
||||
|
||||
|
@ -8,7 +8,7 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
||||
------------------------------------------------------------
|
||||
|
||||
Name: TCPDF
|
||||
Version: 4.5.042
|
||||
Version: 4.5.043
|
||||
Release date: 2009-04-15
|
||||
Author: Nicola Asuni
|
||||
|
||||
|
286
barcodes.php
286
barcodes.php
@ -2,8 +2,8 @@
|
||||
//============================================================+
|
||||
// File name : barcodes.php
|
||||
// Begin : 2008-06-09
|
||||
// Last Update : 2009-04-11
|
||||
// Version : 1.0.006
|
||||
// Last Update : 2009-04-15
|
||||
// Version : 1.0.008
|
||||
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html)
|
||||
// ----------------------------------------------------------------------------
|
||||
// Copyright (C) 2008-2009 Nicola Asuni - Tecnick.com S.r.l.
|
||||
@ -47,14 +47,14 @@
|
||||
* @copyright 2008-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
|
||||
* @link http://www.tcpdf.org
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
* @version 1.0.006
|
||||
* @version 1.0.008
|
||||
*/
|
||||
|
||||
/**
|
||||
* PHP class to creates array representations for common 1D barcodes to be used with TCPDF (http://www.tcpdf.org).<br>
|
||||
* @name TCPDFBarcode
|
||||
* @package com.tecnick.tcpdf
|
||||
* @version 1.0.006
|
||||
* @version 1.0.008
|
||||
* @author Nicola Asuni
|
||||
* @link http://www.tcpdf.org
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
@ -79,7 +79,7 @@ class TCPDFBarcode {
|
||||
* <li>$arrcode['bcode'][$k]['h'] bar height in units.</li>
|
||||
* <li>$arrcode['bcode'][$k]['p'] bar top position (0 = top, 1 = middle)</li></ul>
|
||||
* @param string $code code to print
|
||||
* @param string $type type of barcode: <ul><li>C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.</li><li>C39+ : CODE 39 with checksum</li><li>C39E : CODE 39 EXTENDED</li><li>C39E+ : CODE 39 EXTENDED + CHECKSUM</li><li>C93 : CODE 93 - USS-93</li><li>S25 : Standard 2 of 5</li><li>S25+ : Standard 2 of 5 + CHECKSUM</li><li>I25 : Interleaved 2 of 5</li><li>I25+ : Interleaved 2 of 5 + CHECKSUM</li><li>C128A : CODE 128 A</li><li>C128B : CODE 128 B</li><li>C128C : CODE 128 C</li><li>EAN2 : 2-Digits UPC-Based Extention</li><li>EAN5 : 5-Digits UPC-Based Extention</li><li>EAN8 : EAN 8</li><li>EAN13 : EAN 13</li><li>UPCA : UPC-A</li><li>UPCE : UPC-E</li><li>MSI : MSI (Variation of Plessey code)</li><li>MSI+ : MSI + CHECKSUM (modulo 11)</li><li>POSTNET : POSTNET</li><li>PLANET : PLANET</li><li>RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)</li><li>KIX : KIX (Klant index - Customer index)</li><li>CODABAR : CODABAR</li><li>CODE11 : CODE 11</li><li>PHARMA : PHARMACODE</li><li>PHARMA2T : PHARMACODE TWO-TRACKS</li></ul>
|
||||
* @param string $type type of barcode: <ul><li>C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.</li><li>C39+ : CODE 39 with checksum</li><li>C39E : CODE 39 EXTENDED</li><li>C39E+ : CODE 39 EXTENDED + CHECKSUM</li><li>C93 : CODE 93 - USS-93</li><li>S25 : Standard 2 of 5</li><li>S25+ : Standard 2 of 5 + CHECKSUM</li><li>I25 : Interleaved 2 of 5</li><li>I25+ : Interleaved 2 of 5 + CHECKSUM</li><li>C128A : CODE 128 A</li><li>C128B : CODE 128 B</li><li>C128C : CODE 128 C</li><li>EAN2 : 2-Digits UPC-Based Extention</li><li>EAN5 : 5-Digits UPC-Based Extention</li><li>EAN8 : EAN 8</li><li>EAN13 : EAN 13</li><li>UPCA : UPC-A</li><li>UPCE : UPC-E</li><li>MSI : MSI (Variation of Plessey code)</li><li>MSI+ : MSI + CHECKSUM (modulo 11)</li><li>POSTNET : POSTNET</li><li>PLANET : PLANET</li><li>RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)</li><li>KIX : KIX (Klant index - Customer index)</li><li>IMB: Intelligent Mail Barcode - Onecode - USPS-B-3200</li><li>CODABAR : CODABAR</li><li>CODE11 : CODE 11</li><li>PHARMA : PHARMACODE</li><li>PHARMA2T : PHARMACODE TWO-TRACKS</li></ul>
|
||||
*/
|
||||
public function __construct($code, $type) {
|
||||
$this->setBarcode($code, $type);
|
||||
@ -96,7 +96,7 @@ class TCPDFBarcode {
|
||||
/**
|
||||
* Set the barcode.
|
||||
* @param string $code code to print
|
||||
* @param string $type type of barcode: <ul><li>C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.</li><li>C39+ : CODE 39 with checksum</li><li>C39E : CODE 39 EXTENDED</li><li>C39E+ : CODE 39 EXTENDED + CHECKSUM</li><li>C93 : CODE 93 - USS-93</li><li>S25 : Standard 2 of 5</li><li>S25+ : Standard 2 of 5 + CHECKSUM</li><li>I25 : Interleaved 2 of 5</li><li>I25+ : Interleaved 2 of 5 + CHECKSUM</li><li>C128A : CODE 128 A</li><li>C128B : CODE 128 B</li><li>C128C : CODE 128 C</li><li>EAN2 : 2-Digits UPC-Based Extention</li><li>EAN5 : 5-Digits UPC-Based Extention</li><li>EAN8 : EAN 8</li><li>EAN13 : EAN 13</li><li>UPCA : UPC-A</li><li>UPCE : UPC-E</li><li>MSI : MSI (Variation of Plessey code)</li><li>MSI+ : MSI + CHECKSUM (modulo 11)</li><li>POSTNET : POSTNET</li><li>PLANET : PLANET</li><li>RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)</li><li>KIX : KIX (Klant index - Customer index)</li><li>CODABAR : CODABAR</li><li>CODE11 : CODE 11</li><li>PHARMA : PHARMACODE</li><li>PHARMA2T : PHARMACODE TWO-TRACKS</li></ul>
|
||||
* @param string $type type of barcode: <ul><li>C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.</li><li>C39+ : CODE 39 with checksum</li><li>C39E : CODE 39 EXTENDED</li><li>C39E+ : CODE 39 EXTENDED + CHECKSUM</li><li>C93 : CODE 93 - USS-93</li><li>S25 : Standard 2 of 5</li><li>S25+ : Standard 2 of 5 + CHECKSUM</li><li>I25 : Interleaved 2 of 5</li><li>I25+ : Interleaved 2 of 5 + CHECKSUM</li><li>C128A : CODE 128 A</li><li>C128B : CODE 128 B</li><li>C128C : CODE 128 C</li><li>EAN2 : 2-Digits UPC-Based Extention</li><li>EAN5 : 5-Digits UPC-Based Extention</li><li>EAN8 : EAN 8</li><li>EAN13 : EAN 13</li><li>UPCA : UPC-A</li><li>UPCE : UPC-E</li><li>MSI : MSI (Variation of Plessey code)</li><li>MSI+ : MSI + CHECKSUM (modulo 11)</li><li>POSTNET : POSTNET</li><li>PLANET : PLANET</li><li>RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)</li><li>KIX : KIX (Klant index - Customer index)</li><li>IMB: Intelligent Mail Barcode - Onecode - USPS-B-3200</li><li>CODABAR : CODABAR</li><li>CODE11 : CODE 11</li><li>PHARMA : PHARMACODE</li><li>PHARMA2T : PHARMACODE TWO-TRACKS</li></ul>
|
||||
* @return array
|
||||
*/
|
||||
public function setBarcode($code, $type) {
|
||||
@ -196,7 +196,11 @@ class TCPDFBarcode {
|
||||
case 'KIX': { // KIX (Klant index - Customer index)
|
||||
$arrcode = $this->barcode_rms4cc($code, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
case 'IMB': { // IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200
|
||||
$arrcode = $this->barcode_imb($code);
|
||||
break;
|
||||
}
|
||||
case 'CODABAR': { // CODABAR
|
||||
$arrcode = $this->barcode_codabar($code);
|
||||
break;
|
||||
@ -326,7 +330,7 @@ class TCPDFBarcode {
|
||||
$encode = array(
|
||||
chr(0) => '%U', chr(1) => '$A', chr(2) => '$B', chr(3) => '$C',
|
||||
chr(4) => '$D', chr(5) => '$E', chr(6) => '$F', chr(7) => '$G',
|
||||
chr(8) => '$H', chr(9) => '$I', chr(10) => '$J', chr(11) => '£K',
|
||||
chr(8) => '$H', chr(9) => '$I', chr(10) => '$J', chr(11) => '£K',
|
||||
chr(12) => '$L', chr(13) => '$M', chr(14) => '$N', chr(15) => '$O',
|
||||
chr(16) => '$P', chr(17) => '$Q', chr(18) => '$R', chr(19) => '$S',
|
||||
chr(20) => '$T', chr(21) => '$U', chr(22) => '$V', chr(23) => '$W',
|
||||
@ -450,7 +454,7 @@ class TCPDFBarcode {
|
||||
$encode = array(
|
||||
chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
|
||||
chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
|
||||
chr(8) => chr(128).'H', chr(9) => chr(128).'I', chr(10) => chr(128).'J', chr(11) => '£K',
|
||||
chr(8) => chr(128).'H', chr(9) => chr(128).'I', chr(10) => chr(128).'J', chr(11) => '£K',
|
||||
chr(12) => chr(128).'L', chr(13) => chr(128).'M', chr(14) => chr(128).'N', chr(15) => chr(128).'O',
|
||||
chr(16) => chr(128).'P', chr(17) => chr(128).'Q', chr(18) => chr(128).'R', chr(19) => chr(128).'S',
|
||||
chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
|
||||
@ -692,7 +696,7 @@ class TCPDFBarcode {
|
||||
/**
|
||||
* Convert binary barcode sequence to TCPDF barcode array
|
||||
* @param string $seq barcode as binary sequence
|
||||
* òparam array $bararray TCPDF barcode array to fill up
|
||||
* òparam array $bararray TCPDF barcode array to fill up
|
||||
* @return array barcode representation.
|
||||
* @access protected
|
||||
*/
|
||||
@ -1703,7 +1707,267 @@ class TCPDFBarcode {
|
||||
unset($bararray['bcode'][($k - 1)]);
|
||||
--$bararray['maxw'];
|
||||
return $bararray;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200
|
||||
* (requires PHP bcmath extension)
|
||||
* Intelligent Mail barcode is a 65-bar code for use on mail in the United States.
|
||||
* The fields are described as follows:<ul><li>The Barcode Identifier shall be assigned by USPS to encode the presort identification that is currently printed in human readable form on the optional endorsement line (OEL) as well as for future USPS use. This shall be two digits, with the second digit in the range of 0–4. The allowable encoding ranges shall be 00–04, 10–14, 20–24, 30–34, 40–44, 50–54, 60–64, 70–74, 80–84, and 90–94.</li><li>The Service Type Identifier shall be assigned by USPS for any combination of services requested on the mailpiece. The allowable encoding range shall be 000http://it2.php.net/manual/en/function.dechex.php–999. Each 3-digit value shall correspond to a particular mail class with a particular combination of service(s). Each service program, such as OneCode Confirm and OneCode ACS, shall provide the list of Service Type Identifier values.</li><li>The Mailer or Customer Identifier shall be assigned by USPS as a unique, 6 or 9 digit number that identifies a business entity. The allowable encoding range for the 6 digit Mailer ID shall be 000000- 899999, while the allowable encoding range for the 9 digit Mailer ID shall be 900000000-999999999.</li><li>The Serial or Sequence Number shall be assigned by the mailer for uniquely identifying and tracking mailpieces. The allowable encoding range shall be 000000000–999999999 when used with a 6 digit Mailer ID and 000000-999999 when used with a 9 digit Mailer ID. e. The Delivery Point ZIP Code shall be assigned by the mailer for routing the mailpiece. This shall replace POSTNET for routing the mailpiece to its final delivery point. The length may be 0, 5, 9, or 11 digits. The allowable encoding ranges shall be no ZIP Code, 00000–99999, 000000000–999999999, and 00000000000–99999999999.</li></ul>
|
||||
* @param string $code code to print, separate the ZIP (routing code) from the rest using a minus char '-' (BarcodeID_ServiceTypeID_MailerID_SerialNumber-RoutingCode)
|
||||
* @return array barcode representation.
|
||||
* @access protected
|
||||
*/
|
||||
protected function barcode_imb($code) {
|
||||
$asc_chr = array(4,0,2,6,3,5,1,9,8,7,1,2,0,6,4,8,2,9,5,3,0,1,3,7,4,6,8,9,2,0,5,1,9,4,3,8,6,7,1,2,4,3,9,5,7,8,3,0,2,1,4,0,9,1,7,0,2,4,6,3,7,1,9,5,8);
|
||||
$dsc_chr = array(7,1,9,5,8,0,2,4,6,3,5,8,9,7,3,0,6,1,7,4,6,8,9,2,5,1,7,5,4,3,8,7,6,0,2,5,4,9,3,0,1,6,8,2,0,4,5,9,6,7,5,2,6,3,8,5,1,9,8,7,4,0,2,6,3);
|
||||
$asc_pos = array(3,0,8,11,1,12,8,11,10,6,4,12,2,7,9,6,7,9,2,8,4,0,12,7,10,9,0,7,10,5,7,9,6,8,2,12,1,4,2,0,1,5,4,6,12,1,0,9,4,7,5,10,2,6,9,11,2,12,6,7,5,11,0,3,2);
|
||||
$dsc_pos = array(2,10,12,5,9,1,5,4,3,9,11,5,10,1,6,3,4,1,10,0,2,11,8,6,1,12,3,8,6,4,4,11,0,6,1,9,11,5,3,7,3,10,7,11,8,2,10,3,5,8,0,3,12,11,8,4,5,1,3,0,7,12,9,8,10);
|
||||
$code_arr = explode('-', $code);
|
||||
$tracking_number = $code_arr[0];
|
||||
if (isset($code_arr[1])) {
|
||||
$routing_code = $code_arr[1];
|
||||
} else {
|
||||
$routing_code = '';
|
||||
}
|
||||
// Conversion of Routing Code
|
||||
switch (strlen($routing_code)) {
|
||||
case 0: {
|
||||
$binary_code = 0;
|
||||
break;
|
||||
}
|
||||
case 5: {
|
||||
$binary_code = bcadd($routing_code, '1');
|
||||
break;
|
||||
}
|
||||
case 9: {
|
||||
$binary_code = bcadd($routing_code, '100001');
|
||||
break;
|
||||
}
|
||||
case 11: {
|
||||
$binary_code = bcadd($routing_code, '1000100001');
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
$binary_code = bcmul($binary_code, 10);
|
||||
$binary_code = bcadd($binary_code, $tracking_number{0});
|
||||
$binary_code = bcmul($binary_code, 5);
|
||||
$binary_code = bcadd($binary_code, $tracking_number{1});
|
||||
$binary_code .= substr($tracking_number, 2, 18);
|
||||
// convert to hexadecimal
|
||||
$binary_code = $this->dec_to_hex($binary_code);
|
||||
// pad to get 13 bytes
|
||||
$binary_code = str_pad($binary_code, 26, '0', STR_PAD_LEFT);
|
||||
// convert string to array of bytes
|
||||
$binary_code_arr = chunk_split($binary_code, 2, "\r");
|
||||
$binary_code_arr = substr($binary_code_arr, 0, -1);
|
||||
$binary_code_arr = explode("\r", $binary_code_arr);
|
||||
// calculate frame check sequence
|
||||
$fcs = $this->imb_crc11fcs($binary_code_arr);
|
||||
// exclude first 2 bits from first byte
|
||||
$first_byte = sprintf('%2s', dechex((hexdec($binary_code_arr[0]) << 2) >> 2));
|
||||
$binary_code_102bit = $first_byte.substr($binary_code, 2);
|
||||
// convert binary data to codewords
|
||||
$codewords = array();
|
||||
$data = $this->hex_to_dec($binary_code_102bit);
|
||||
$codewords[0] = bcmod($data, 636) * 2;
|
||||
$data = bcdiv($data, 636);
|
||||
for ($i = 1; $i < 9; ++$i) {
|
||||
$codewords[$i] = bcmod($data, 1365);
|
||||
$data = bcdiv($data, 1365);
|
||||
}
|
||||
$codewords[9] = $data;
|
||||
if (($fcs >> 10) == 1) {
|
||||
$codewords[9] += 659;
|
||||
}
|
||||
// generate lookup tables
|
||||
$table2of13 = $this->imb_tables(2, 78);
|
||||
$table5of13 = $this->imb_tables(5, 1287);
|
||||
// convert codewords to characters
|
||||
$characters = array();
|
||||
$bitmask = 512;
|
||||
foreach($codewords as $k => $val) {
|
||||
if ($val <= 1286) {
|
||||
$chrcode = $table5of13[$val];
|
||||
} else {
|
||||
$chrcode = $table2of13[($val - 1287)];
|
||||
}
|
||||
if (($fcs & $bitmask) > 0) {
|
||||
// bitwise invert
|
||||
$chrcode = ((~$chrcode) & 8191);
|
||||
}
|
||||
$characters[] = $chrcode;
|
||||
$bitmask /= 2;
|
||||
}
|
||||
$characters = array_reverse($characters);
|
||||
// build bars
|
||||
$k = 0;
|
||||
$bararray = array('code' => $code, 'maxw' => 0, 'maxh' => 3, 'bcode' => array());
|
||||
for ($i = 0; $i < 65; ++$i) {
|
||||
$asc = (($characters[$asc_chr[$i]] & pow(2, $asc_pos[$i])) > 0);
|
||||
$dsc = (($characters[$dsc_chr[$i]] & pow(2, $dsc_pos[$i])) > 0);
|
||||
if ($asc AND $dsc) {
|
||||
// full bar (F)
|
||||
$p = 0;
|
||||
$h = 3;
|
||||
} elseif ($asc) {
|
||||
// ascender (A)
|
||||
$p = 0;
|
||||
$h = 2;
|
||||
} elseif ($dsc) {
|
||||
// descender (D)
|
||||
$p = 1;
|
||||
$h = 2;
|
||||
} else {
|
||||
// tracker (T)
|
||||
$p = 1;
|
||||
$h = 1;
|
||||
}
|
||||
$bararray['bcode'][$k++] = array('t' => 1, 'w' => 1, 'h' => $h, 'p' => $p);
|
||||
$bararray['bcode'][$k++] = array('t' => 0, 'w' => 1, 'h' => 2, 'p' => 0);
|
||||
$bararray['maxw'] += 2;
|
||||
}
|
||||
unset($bararray['bcode'][($k - 1)]);
|
||||
--$bararray['maxw'];
|
||||
return $bararray;
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert large integer number to hexadecimal representation.
|
||||
* (requires PHP bcmath extension)
|
||||
* @param string $number number to convert specified as a string
|
||||
* @return string hexadecimal representation
|
||||
*/
|
||||
public function dec_to_hex($number) {
|
||||
$i = 0;
|
||||
$hex = array();
|
||||
if($number == 0) {
|
||||
return '00';
|
||||
}
|
||||
while($number > 0) {
|
||||
if($number == 0) {
|
||||
array_push($hex, '0');
|
||||
} else {
|
||||
array_push($hex, strtoupper(dechex(bcmod($number, '16'))));
|
||||
$number = bcdiv($number, '16', 0);
|
||||
}
|
||||
}
|
||||
$hex = array_reverse($hex);
|
||||
return implode($hex);
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert large hexadecimal number to decimal representation (string).
|
||||
* (requires PHP bcmath extension)
|
||||
* @param string $hex hexadecimal number to convert specified as a string
|
||||
* @return string hexadecimal representation
|
||||
*/
|
||||
public function hex_to_dec($hex) {
|
||||
$dec = 0;
|
||||
$bitval = 1;
|
||||
$len = strlen($hex);
|
||||
for($pos = ($len - 1); $pos >= 0; --$pos) {
|
||||
$dec = bcadd($dec, bcmul(hexdec($hex{$pos}), $bitval));
|
||||
$bitval = bcmul($bitval, 16);
|
||||
}
|
||||
return $dec;
|
||||
}
|
||||
|
||||
/**
|
||||
* Intelligent Mail Barcode calculation of Frame Check Sequence
|
||||
* @param string $code_arr array of hexadecimal values (13 bytes holding 102 bits right justified).
|
||||
* @return int 11 bit Frame Check Sequence as integer (decimal base)
|
||||
* @access protected
|
||||
*/
|
||||
protected function imb_crc11fcs($code_arr) {
|
||||
$genpoly = 0x0F35; // generator polynomial
|
||||
$fcs = 0x07FF; // Frame Check Sequence
|
||||
// do most significant byte skipping the 2 most significant bits
|
||||
$data = hexdec($code_arr[0]) << 5;
|
||||
for ($bit = 2; $bit < 8; ++$bit) {
|
||||
if (($fcs ^ $data) & 0x400) {
|
||||
$fcs = ($fcs << 1) ^ $genpoly;
|
||||
} else {
|
||||
$fcs = ($fcs << 1);
|
||||
}
|
||||
$fcs &= 0x7FF;
|
||||
$data <<= 1;
|
||||
}
|
||||
// do rest of bytes
|
||||
for ($byte = 1; $byte < 13; ++$byte) {
|
||||
$data = hexdec($code_arr[$byte]) << 3;
|
||||
for ($bit = 0; $bit < 8; ++$bit) {
|
||||
if (($fcs ^ $data) & 0x400) {
|
||||
$fcs = ($fcs << 1) ^ $genpoly;
|
||||
} else {
|
||||
$fcs = ($fcs << 1);
|
||||
}
|
||||
$fcs &= 0x7FF;
|
||||
$data <<= 1;
|
||||
}
|
||||
}
|
||||
return $fcs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse unsigned short value
|
||||
* @param int $num value to reversr
|
||||
* @return int reversed value
|
||||
* @access protected
|
||||
*/
|
||||
protected function imb_reverse_us($num) {
|
||||
$rev = 0;
|
||||
for ($i = 0; $i < 16; ++$i) {
|
||||
$rev <<= 1;
|
||||
$rev |= ($num & 1);
|
||||
$num >>= 1;
|
||||
}
|
||||
return $rev;
|
||||
}
|
||||
|
||||
/**
|
||||
* generate Nof13 tables used for Intelligent Mail Barcode
|
||||
* @param int $n is the type of table: 2 for 2of13 table, 5 for 5of13table
|
||||
* @param int $size size of table (78 for n=2 and 1287 for n=5)
|
||||
* @return array requested table
|
||||
* @access protected
|
||||
*/
|
||||
protected function imb_tables($n, $size) {
|
||||
$table = array();
|
||||
$lli = 0; // LUT lower index
|
||||
$lui = $size - 1; // LUT upper index
|
||||
for ($count = 0; $count < 8192; ++$count) {
|
||||
$bit_count = 0;
|
||||
for ($bit_index = 0; $bit_index < 13; ++$bit_index) {
|
||||
$bit_count += intval(($count & (1 << $bit_index)) != 0);
|
||||
}
|
||||
// if we don't have the right number of bits on, go on to the next value
|
||||
if ($bit_count == $n) {
|
||||
$reverse = ($this->imb_reverse_us($count) >> 3);
|
||||
// if the reverse is less than count, we have already visited this pair before
|
||||
if ($reverse >= $count) {
|
||||
// If count is symmetric, place it at the first free slot from the end of the list.
|
||||
// Otherwise, place it at the first free slot from the beginning of the list AND place $reverse ath the next free slot from the beginning of the list
|
||||
if ($reverse == $count) {
|
||||
$table[$lui] = $count;
|
||||
--$lui;
|
||||
} else {
|
||||
$table[$lli] = $count;
|
||||
++$lli;
|
||||
$table[$lli] = $reverse;
|
||||
++$lli;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return $table;
|
||||
}
|
||||
|
||||
} // end of class
|
||||
|
||||
//============================================================+
|
||||
|
@ -45,7 +45,7 @@
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
Documentation generated on Wed, 15 Apr 2009 19:08:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -74,7 +74,7 @@ Source Location: /tcpdf.php<br /><br />
|
||||
|
||||
<h4>Version:</h4>
|
||||
<ul>
|
||||
<li>4.5.042</li>
|
||||
<li>4.5.043</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -580,7 +580,7 @@ This is a PHP class for generating PDF documents without requiring external exte
|
||||
<td><b>author:</b> </td><td>Nicola Asuni - info@tecnick.com</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>version:</b> </td><td>4.5.042</td>
|
||||
<td><b>version:</b> </td><td>4.5.043</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>link:</b> </td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td>
|
||||
@ -18859,7 +18859,7 @@ $file)</code>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
Documentation generated on Wed, 15 Apr 2009 19:08:25 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -74,7 +74,7 @@ Source Location: /barcodes.php<br /><br />
|
||||
|
||||
<h4>Version:</h4>
|
||||
<ul>
|
||||
<li>1.0.006</li>
|
||||
<li>1.0.008</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@ -100,6 +100,7 @@ Source Location: /barcodes.php<br /><br />
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_eanext">barcode_eanext</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_eanupc">barcode_eanupc</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_i25">barcode_i25</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_imb">barcode_imb</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_msi">barcode_msi</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_pharmacode">barcode_pharmacode</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_pharmacode2t">barcode_pharmacode2t</a></li>
|
||||
@ -110,8 +111,13 @@ Source Location: /barcodes.php<br /><br />
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodchecksum_code39">checksum_code39</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodchecksum_code93">checksum_code93</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodchecksum_s25">checksum_s25</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methoddec_to_hex">dec_to_hex</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodencode_code39_ext">encode_code39_ext</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodgetBarcodeArray">getBarcodeArray</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodhex_to_dec">hex_to_dec</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodimb_crc11fcs">imb_crc11fcs</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodimb_reverse_us">imb_reverse_us</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodimb_tables">imb_tables</a></li>
|
||||
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodsetBarcode">setBarcode</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
@ -141,7 +147,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
|
||||
<td><b>author:</b> </td><td>Nicola Asuni</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>version:</b> </td><td>1.0.006</td>
|
||||
<td><b>version:</b> </td><td>1.0.008</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>link:</b> </td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td>
|
||||
@ -231,7 +237,7 @@ $type)</code>
|
||||
<tr>
|
||||
<td class="type">string </td>
|
||||
<td><b>$type</b> </td>
|
||||
<td>type of barcode: <ul><li>C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.</li><li>C39+ : CODE 39 with checksum</li><li>C39E : CODE 39 EXTENDED</li><li>C39E+ : CODE 39 EXTENDED + CHECKSUM</li><li>C93 : CODE 93 - USS-93</li><li>S25 : Standard 2 of 5</li><li>S25+ : Standard 2 of 5 + CHECKSUM</li><li>I25 : Interleaved 2 of 5</li><li>I25+ : Interleaved 2 of 5 + CHECKSUM</li><li>C128A : CODE 128 A</li><li>C128B : CODE 128 B</li><li>C128C : CODE 128 C</li><li>EAN2 : 2-Digits UPC-Based Extention</li><li>EAN5 : 5-Digits UPC-Based Extention</li><li>EAN8 : EAN 8</li><li>EAN13 : EAN 13</li><li>UPCA : UPC-A</li><li>UPCE : UPC-E</li><li>MSI : MSI (Variation of Plessey code)</li><li>MSI+ : MSI + CHECKSUM (modulo 11)</li><li>POSTNET : POSTNET</li><li>PLANET : PLANET</li><li>RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)</li><li>KIX : KIX (Klant index - Customer index)</li><li>CODABAR : CODABAR</li><li>CODE11 : CODE 11</li><li>PHARMA : PHARMACODE</li><li>PHARMA2T : PHARMACODE TWO-TRACKS</li></ul></td>
|
||||
<td>type of barcode: <ul><li>C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.</li><li>C39+ : CODE 39 with checksum</li><li>C39E : CODE 39 EXTENDED</li><li>C39E+ : CODE 39 EXTENDED + CHECKSUM</li><li>C93 : CODE 93 - USS-93</li><li>S25 : Standard 2 of 5</li><li>S25+ : Standard 2 of 5 + CHECKSUM</li><li>I25 : Interleaved 2 of 5</li><li>I25+ : Interleaved 2 of 5 + CHECKSUM</li><li>C128A : CODE 128 A</li><li>C128B : CODE 128 B</li><li>C128C : CODE 128 C</li><li>EAN2 : 2-Digits UPC-Based Extention</li><li>EAN5 : 5-Digits UPC-Based Extention</li><li>EAN8 : EAN 8</li><li>EAN13 : EAN 13</li><li>UPCA : UPC-A</li><li>UPCE : UPC-E</li><li>MSI : MSI (Variation of Plessey code)</li><li>MSI+ : MSI + CHECKSUM (modulo 11)</li><li>POSTNET : POSTNET</li><li>PLANET : PLANET</li><li>RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)</li><li>KIX : KIX (Klant index - Customer index)</li><li>IMB: Intelligent Mail Barcode - Onecode - USPS-B-3200</li><li>CODABAR : CODABAR</li><li>CODE11 : CODE 11</li><li>PHARMA : PHARMACODE</li><li>PHARMA2T : PHARMACODE TWO-TRACKS</li></ul></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
@ -239,7 +245,7 @@ $type)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_c128"></a>
|
||||
<h3>method barcode_c128 <span class="smalllinenumber">[line 793]</span></h3>
|
||||
<h3>method barcode_c128 <span class="smalllinenumber">[line 797]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -284,7 +290,7 @@ $type = 'B'])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_codabar"></a>
|
||||
<h3>method barcode_codabar <span class="smalllinenumber">[line 1481]</span></h3>
|
||||
<h3>method barcode_codabar <span class="smalllinenumber">[line 1485]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -323,7 +329,7 @@ $code)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_code11"></a>
|
||||
<h3>method barcode_code11 <span class="smalllinenumber">[line 1537]</span></h3>
|
||||
<h3>method barcode_code11 <span class="smalllinenumber">[line 1541]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -362,7 +368,7 @@ $code)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_code39"></a>
|
||||
<h3>method barcode_code39 <span class="smalllinenumber">[line 231]</span></h3>
|
||||
<h3>method barcode_code39 <span class="smalllinenumber">[line 235]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -413,7 +419,7 @@ $checksum = false])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_code93"></a>
|
||||
<h3>method barcode_code93 <span class="smalllinenumber">[line 400]</span></h3>
|
||||
<h3>method barcode_code93 <span class="smalllinenumber">[line 404]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -458,7 +464,7 @@ $checksum)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_eanext"></a>
|
||||
<h3>method barcode_eanext <span class="smalllinenumber">[line 1182]</span></h3>
|
||||
<h3>method barcode_eanext <span class="smalllinenumber">[line 1186]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -503,7 +509,7 @@ $len = 5])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_eanupc"></a>
|
||||
<h3>method barcode_eanupc <span class="smalllinenumber">[line 989]</span></h3>
|
||||
<h3>method barcode_eanupc <span class="smalllinenumber">[line 993]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -548,7 +554,7 @@ $len = 13])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_i25"></a>
|
||||
<h3>method barcode_i25 <span class="smalllinenumber">[line 729]</span></h3>
|
||||
<h3>method barcode_i25 <span class="smalllinenumber">[line 733]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -591,9 +597,48 @@ $checksum = false])</code>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_imb"></a>
|
||||
<h3>method barcode_imb <span class="smalllinenumber">[line 1722]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>array barcode_imb(
|
||||
string
|
||||
$code)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200 (requires PHP bcmath extension) Intelligent Mail barcode is a 65-bar code for use on mail in the United States.<br /><br /><p>The fields are described as follows:<ul><li>The Barcode Identifier shall be assigned by USPS to encode the presort identification that is currently printed in human readable form on the optional endorsement line (OEL) as well as for future USPS use. This shall be two digits, with the second digit in the range of 0–4. The allowable encoding ranges shall be 00–04, 10–14, 20–24, 30–34, 40–44, 50–54, 60–64, 70–74, 80–84, and 90–94.</li><li>The Service Type Identifier shall be assigned by USPS for any combination of services requested on the mailpiece. The allowable encoding range shall be 000http://it2.php.net/manual/en/function.dechex.php–999. Each 3-digit value shall correspond to a particular mail class with a particular combination of service(s). Each service program, such as OneCode Confirm and OneCode ACS, shall provide the list of Service Type Identifier values.</li><li>The Mailer or Customer Identifier shall be assigned by USPS as a unique, 6 or 9 digit number that identifies a business entity. The allowable encoding range for the 6 digit Mailer ID shall be 000000- 899999, while the allowable encoding range for the 9 digit Mailer ID shall be 900000000-999999999.</li><li>The Serial or Sequence Number shall be assigned by the mailer for uniquely identifying and tracking mailpieces. The allowable encoding range shall be 000000000–999999999 when used with a 6 digit Mailer ID and 000000-999999 when used with a 9 digit Mailer ID. e. The Delivery Point ZIP Code shall be assigned by the mailer for routing the mailpiece. This shall replace POSTNET for routing the mailpiece to its final delivery point. The length may be 0, 5, 9, or 11 digits. The allowable encoding ranges shall be no ZIP Code, 00000–99999, 000000000–999999999, and 00000000000–99999999999.</li></ul></p><br /><br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><b>return:</b> </td><td>barcode representation.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>access:</b> </td><td>protected</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type">string </td>
|
||||
<td><b>$code</b> </td>
|
||||
<td>code to print, separate the ZIP (routing code) from the rest using a minus char '-' (BarcodeID_ServiceTypeID_MailerID_SerialNumber-RoutingCode)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_msi"></a>
|
||||
<h3>method barcode_msi <span class="smalllinenumber">[line 599]</span></h3>
|
||||
<h3>method barcode_msi <span class="smalllinenumber">[line 603]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -638,7 +683,7 @@ $checksum = false])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_pharmacode"></a>
|
||||
<h3>method barcode_pharmacode <span class="smalllinenumber">[line 1629]</span></h3>
|
||||
<h3>method barcode_pharmacode <span class="smalllinenumber">[line 1633]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -677,7 +722,7 @@ $code)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_pharmacode2t"></a>
|
||||
<h3>method barcode_pharmacode2t <span class="smalllinenumber">[line 1655]</span></h3>
|
||||
<h3>method barcode_pharmacode2t <span class="smalllinenumber">[line 1659]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -716,7 +761,7 @@ $code)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_postnet"></a>
|
||||
<h3>method barcode_postnet <span class="smalllinenumber">[line 1257]</span></h3>
|
||||
<h3>method barcode_postnet <span class="smalllinenumber">[line 1261]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -761,7 +806,7 @@ $planet = false])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_rms4cc"></a>
|
||||
<h3>method barcode_rms4cc <span class="smalllinenumber">[line 1330]</span></h3>
|
||||
<h3>method barcode_rms4cc <span class="smalllinenumber">[line 1334]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -806,7 +851,7 @@ $kix = false])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbarcode_s25"></a>
|
||||
<h3>method barcode_s25 <span class="smalllinenumber">[line 658]</span></h3>
|
||||
<h3>method barcode_s25 <span class="smalllinenumber">[line 662]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -851,7 +896,7 @@ $checksum = false])</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodbinseq_to_array"></a>
|
||||
<h3>method binseq_to_array <span class="smalllinenumber">[line 699]</span></h3>
|
||||
<h3>method binseq_to_array <span class="smalllinenumber">[line 703]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -883,7 +928,7 @@ $bararray)</code>
|
||||
<tr>
|
||||
<td class="type">string </td>
|
||||
<td><b>$seq</b> </td>
|
||||
<td>barcode as binary sequence òparam array $bararray TCPDF barcode array to fill up</td>
|
||||
<td>barcode as binary sequence òparam array $bararray TCPDF barcode array to fill up</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type"> </td>
|
||||
@ -896,7 +941,7 @@ $bararray)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodchecksum_code39"></a>
|
||||
<h3>method checksum_code39 <span class="smalllinenumber">[line 376]</span></h3>
|
||||
<h3>method checksum_code39 <span class="smalllinenumber">[line 380]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -935,7 +980,7 @@ $code)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodchecksum_code93"></a>
|
||||
<h3>method checksum_code93 <span class="smalllinenumber">[line 528]</span></h3>
|
||||
<h3>method checksum_code93 <span class="smalllinenumber">[line 532]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -974,7 +1019,7 @@ $code)</code>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodchecksum_s25"></a>
|
||||
<h3>method checksum_s25 <span class="smalllinenumber">[line 573]</span></h3>
|
||||
<h3>method checksum_s25 <span class="smalllinenumber">[line 577]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -1011,9 +1056,48 @@ $code)</code>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methoddec_to_hex"></a>
|
||||
<h3>method dec_to_hex <span class="smalllinenumber">[line 1846]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>string dec_to_hex(
|
||||
string
|
||||
$number)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
Convert large integer number to hexadecimal representation.<br /><br /><p>(requires PHP bcmath extension)</p><br /><br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><b>return:</b> </td><td>hexadecimal representation</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>access:</b> </td><td>public</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type">string </td>
|
||||
<td><b>$number</b> </td>
|
||||
<td>number to convert specified as a string</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodencode_code39_ext"></a>
|
||||
<h3>method encode_code39_ext <span class="smalllinenumber">[line 325]</span></h3>
|
||||
<h3>method encode_code39_ext <span class="smalllinenumber">[line 329]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
@ -1075,6 +1159,168 @@ $code)</code>
|
||||
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodhex_to_dec"></a>
|
||||
<h3>method hex_to_dec <span class="smalllinenumber">[line 1870]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>string hex_to_dec(
|
||||
string
|
||||
$hex)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
Convert large hexadecimal number to decimal representation (string).<br /><br /><p>(requires PHP bcmath extension)</p><br /><br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><b>return:</b> </td><td>hexadecimal representation</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>access:</b> </td><td>public</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type">string </td>
|
||||
<td><b>$hex</b> </td>
|
||||
<td>hexadecimal number to convert specified as a string</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodimb_crc11fcs"></a>
|
||||
<h3>method imb_crc11fcs <span class="smalllinenumber">[line 1887]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>int imb_crc11fcs(
|
||||
string
|
||||
$code_arr)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
Intelligent Mail Barcode calculation of Frame Check Sequence<br /><br /><br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><b>return:</b> </td><td>11 bit Frame Check Sequence as integer (decimal base)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>access:</b> </td><td>protected</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type">string </td>
|
||||
<td><b>$code_arr</b> </td>
|
||||
<td>array of hexadecimal values (13 bytes holding 102 bits right justified).</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodimb_reverse_us"></a>
|
||||
<h3>method imb_reverse_us <span class="smalllinenumber">[line 1923]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>int imb_reverse_us(
|
||||
int
|
||||
$num)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
Reverse unsigned short value<br /><br /><br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><b>return:</b> </td><td>reversed value</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>access:</b> </td><td>protected</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type">int </td>
|
||||
<td><b>$num</b> </td>
|
||||
<td>value to reversr</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodimb_tables"></a>
|
||||
<h3>method imb_tables <span class="smalllinenumber">[line 1940]</span></h3>
|
||||
<div class="function">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>array imb_tables(
|
||||
int
|
||||
$n, int
|
||||
$size)</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table><br />
|
||||
|
||||
generate Nof13 tables used for Intelligent Mail Barcode<br /><br /><br /><br />
|
||||
<h4>Tags:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td><b>return:</b> </td><td>requested table</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>access:</b> </td><td>protected</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h4>Parameters:</h4>
|
||||
<div class="tags">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="type">int </td>
|
||||
<td><b>$n</b> </td>
|
||||
<td>is the type of table: 2 for 2of13 table, 5 for 5of13table</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="type">int </td>
|
||||
<td><b>$size</b> </td>
|
||||
<td>size of table (78 for n=2 and 1287 for n=5)</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
<div class="top">[ <a href="#top">Top</a> ]</div>
|
||||
</div>
|
||||
<hr />
|
||||
<a name="methodsetBarcode"></a>
|
||||
<h3>method setBarcode <span class="smalllinenumber">[line 102]</span></h3>
|
||||
@ -1111,7 +1357,7 @@ $type)</code>
|
||||
<tr>
|
||||
<td class="type">string </td>
|
||||
<td><b>$type</b> </td>
|
||||
<td>type of barcode: <ul><li>C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.</li><li>C39+ : CODE 39 with checksum</li><li>C39E : CODE 39 EXTENDED</li><li>C39E+ : CODE 39 EXTENDED + CHECKSUM</li><li>C93 : CODE 93 - USS-93</li><li>S25 : Standard 2 of 5</li><li>S25+ : Standard 2 of 5 + CHECKSUM</li><li>I25 : Interleaved 2 of 5</li><li>I25+ : Interleaved 2 of 5 + CHECKSUM</li><li>C128A : CODE 128 A</li><li>C128B : CODE 128 B</li><li>C128C : CODE 128 C</li><li>EAN2 : 2-Digits UPC-Based Extention</li><li>EAN5 : 5-Digits UPC-Based Extention</li><li>EAN8 : EAN 8</li><li>EAN13 : EAN 13</li><li>UPCA : UPC-A</li><li>UPCE : UPC-E</li><li>MSI : MSI (Variation of Plessey code)</li><li>MSI+ : MSI + CHECKSUM (modulo 11)</li><li>POSTNET : POSTNET</li><li>PLANET : PLANET</li><li>RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)</li><li>KIX : KIX (Klant index - Customer index)</li><li>CODABAR : CODABAR</li><li>CODE11 : CODE 11</li><li>PHARMA : PHARMACODE</li><li>PHARMA2T : PHARMACODE TWO-TRACKS</li></ul></td>
|
||||
<td>type of barcode: <ul><li>C39 : CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.</li><li>C39+ : CODE 39 with checksum</li><li>C39E : CODE 39 EXTENDED</li><li>C39E+ : CODE 39 EXTENDED + CHECKSUM</li><li>C93 : CODE 93 - USS-93</li><li>S25 : Standard 2 of 5</li><li>S25+ : Standard 2 of 5 + CHECKSUM</li><li>I25 : Interleaved 2 of 5</li><li>I25+ : Interleaved 2 of 5 + CHECKSUM</li><li>C128A : CODE 128 A</li><li>C128B : CODE 128 B</li><li>C128C : CODE 128 C</li><li>EAN2 : 2-Digits UPC-Based Extention</li><li>EAN5 : 5-Digits UPC-Based Extention</li><li>EAN8 : EAN 8</li><li>EAN13 : EAN 13</li><li>UPCA : UPC-A</li><li>UPCE : UPC-E</li><li>MSI : MSI (Variation of Plessey code)</li><li>MSI+ : MSI + CHECKSUM (modulo 11)</li><li>POSTNET : POSTNET</li><li>PLANET : PLANET</li><li>RMS4CC : RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)</li><li>KIX : KIX (Klant index - Customer index)</li><li>IMB: Intelligent Mail Barcode - Onecode - USPS-B-3200</li><li>CODABAR : CODABAR</li><li>CODE11 : CODE 11</li><li>PHARMA : PHARMACODE</li><li>PHARMA2T : PHARMACODE TWO-TRACKS</li></ul></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><br />
|
||||
@ -1122,7 +1368,7 @@ $type)</code>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
Documentation generated on Wed, 15 Apr 2009 19:08:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -73,7 +73,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
|
||||
<td><b>author:</b> </td><td>Nicola Asuni</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>version:</b> </td><td>1.0.006</td>
|
||||
<td><b>version:</b> </td><td>1.0.008</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>copyright:</b> </td><td>2008-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com</td>
|
||||
@ -96,7 +96,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
Documentation generated on Wed, 15 Apr 2009 19:08:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -507,7 +507,7 @@ Configuration file for TCPDF.<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 15 Apr 2009 10:40:03 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
Documentation generated on Wed, 15 Apr 2009 19:08:30 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -88,7 +88,7 @@ Array of WEB safe colors.<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
Documentation generated on Wed, 15 Apr 2009 19:08:25 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -73,7 +73,7 @@ This is a PHP class for generating PDF documents without requiring external exte
|
||||
<td><b>author:</b> </td><td>Nicola Asuni</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>version:</b> </td><td>4.5.042</td>
|
||||
<td><b>version:</b> </td><td>4.5.043</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>copyright:</b> </td><td>2002-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com</td>
|
||||
@ -104,7 +104,7 @@ unicode data<br /><br /></div>
|
||||
<div class="tags">
|
||||
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||||
<code>PDF_PRODUCER = 'TCPDF 4.5.042 (http://www.tcpdf.org)'</code>
|
||||
<code>PDF_PRODUCER = 'TCPDF 4.5.043 (http://www.tcpdf.org)'</code>
|
||||
</td></tr></table>
|
||||
</td></tr></table>
|
||||
|
||||
@ -115,7 +115,7 @@ unicode data<br /><br /></div>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
Documentation generated on Wed, 15 Apr 2009 19:08:25 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -237,7 +237,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 15 Apr 2009 10:40:03 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
Documentation generated on Wed, 15 Apr 2009 19:08:30 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -137,6 +137,8 @@
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_eanupc">TCPDFBarcode::barcode_eanupc()</a><br> EAN13 and UPC-A barcodes.</dd>
|
||||
<dt><b>barcode_i25</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_i25">TCPDFBarcode::barcode_i25()</a><br> Interleaved 2 of 5 barcodes.</dd>
|
||||
<dt><b>barcode_imb</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_imb">TCPDFBarcode::barcode_imb()</a><br> IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200 (requires PHP bcmath extension) Intelligent Mail barcode is a 65-bar code for use on mail in the United States.</dd>
|
||||
<dt><b>barcode_msi</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_msi">TCPDFBarcode::barcode_msi()</a><br> MSI.</dd>
|
||||
<dt><b>barcode_pharmacode</b></dt>
|
||||
@ -241,6 +243,8 @@
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$dpi">TCPDF::$dpi</a><br> Dot Per Inch Document Resolution (do not change)</dd>
|
||||
<dt><b>$DrawColor</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$DrawColor">TCPDF::$DrawColor</a></dd>
|
||||
<dt><b>dec_to_hex</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methoddec_to_hex">TCPDFBarcode::dec_to_hex()</a><br> Convert large integer number to hexadecimal representation.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<a href="elementindex.html#top">top</a><br>
|
||||
@ -483,6 +487,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodHeader">TCPDF::Header()</a><br> This method is used to render the page header.</dd>
|
||||
<dt><b>HEAD_MAGNIFICATION</b></dt>
|
||||
<dd>in file tcpdf_config.php, constant <a href="com-tecnick-tcpdf/_config---tcpdf_config.php.html#defineHEAD_MAGNIFICATION">HEAD_MAGNIFICATION</a><br> magnification factor for titles</dd>
|
||||
<dt><b>hex_to_dec</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodhex_to_dec">TCPDFBarcode::hex_to_dec()</a><br> Convert large hexadecimal number to decimal representation (string).</dd>
|
||||
<dt><b>htmlcolors.php</b></dt>
|
||||
<dd>procedural page <a href="com-tecnick-tcpdf/_htmlcolors.php.html">htmlcolors.php</a></dd>
|
||||
</dl>
|
||||
@ -517,6 +523,12 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodImageEps">TCPDF::ImageEps()</a><br> Embed vector-based Adobe Illustrator (AI) or AI-compatible EPS files.</dd>
|
||||
<dt><b>ImagePngAlpha</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodImagePngAlpha">TCPDF::ImagePngAlpha()</a><br> Extract info from a PNG image with alpha channel using the GD library.</dd>
|
||||
<dt><b>imb_crc11fcs</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodimb_crc11fcs">TCPDFBarcode::imb_crc11fcs()</a><br> Intelligent Mail Barcode calculation of Frame Check Sequence</dd>
|
||||
<dt><b>imb_reverse_us</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodimb_reverse_us">TCPDFBarcode::imb_reverse_us()</a><br> Reverse unsigned short value</dd>
|
||||
<dt><b>imb_tables</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodimb_tables">TCPDFBarcode::imb_tables()</a><br> generate Nof13 tables used for Intelligent Mail Barcode</dd>
|
||||
<dt><b>IncludeJS</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodIncludeJS">TCPDF::IncludeJS()</a></dd>
|
||||
<dt><b>intToRoman</b></dt>
|
||||
@ -1336,7 +1348,7 @@
|
||||
<a href="elementindex.html#top">top</a><br>
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
Documentation generated on Wed, 15 Apr 2009 19:08:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -286,6 +286,8 @@
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_eanupc">TCPDFBarcode::barcode_eanupc()</a><br> EAN13 and UPC-A barcodes.</dd>
|
||||
<dt><b>barcode_i25</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_i25">TCPDFBarcode::barcode_i25()</a><br> Interleaved 2 of 5 barcodes.</dd>
|
||||
<dt><b>barcode_imb</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_imb">TCPDFBarcode::barcode_imb()</a><br> IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200 (requires PHP bcmath extension) Intelligent Mail barcode is a 65-bar code for use on mail in the United States.</dd>
|
||||
<dt><b>barcode_msi</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_msi">TCPDFBarcode::barcode_msi()</a><br> MSI.</dd>
|
||||
<dt><b>barcode_pharmacode</b></dt>
|
||||
@ -390,6 +392,8 @@
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$dpi">TCPDF::$dpi</a><br> Dot Per Inch Document Resolution (do not change)</dd>
|
||||
<dt><b>$DrawColor</b></dt>
|
||||
<dd>in file tcpdf.php, variable <a href="com-tecnick-tcpdf/TCPDF.html#var$DrawColor">TCPDF::$DrawColor</a></dd>
|
||||
<dt><b>dec_to_hex</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methoddec_to_hex">TCPDFBarcode::dec_to_hex()</a><br> Convert large integer number to hexadecimal representation.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
|
||||
@ -632,6 +636,8 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodHeader">TCPDF::Header()</a><br> This method is used to render the page header.</dd>
|
||||
<dt><b>HEAD_MAGNIFICATION</b></dt>
|
||||
<dd>in file tcpdf_config.php, constant <a href="com-tecnick-tcpdf/_config---tcpdf_config.php.html#defineHEAD_MAGNIFICATION">HEAD_MAGNIFICATION</a><br> magnification factor for titles</dd>
|
||||
<dt><b>hex_to_dec</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodhex_to_dec">TCPDFBarcode::hex_to_dec()</a><br> Convert large hexadecimal number to decimal representation (string).</dd>
|
||||
<dt><b>htmlcolors.php</b></dt>
|
||||
<dd>procedural page <a href="com-tecnick-tcpdf/_htmlcolors.php.html">htmlcolors.php</a></dd>
|
||||
</dl>
|
||||
@ -666,6 +672,12 @@
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodImageEps">TCPDF::ImageEps()</a><br> Embed vector-based Adobe Illustrator (AI) or AI-compatible EPS files.</dd>
|
||||
<dt><b>ImagePngAlpha</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodImagePngAlpha">TCPDF::ImagePngAlpha()</a><br> Extract info from a PNG image with alpha channel using the GD library.</dd>
|
||||
<dt><b>imb_crc11fcs</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodimb_crc11fcs">TCPDFBarcode::imb_crc11fcs()</a><br> Intelligent Mail Barcode calculation of Frame Check Sequence</dd>
|
||||
<dt><b>imb_reverse_us</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodimb_reverse_us">TCPDFBarcode::imb_reverse_us()</a><br> Reverse unsigned short value</dd>
|
||||
<dt><b>imb_tables</b></dt>
|
||||
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodimb_tables">TCPDFBarcode::imb_tables()</a><br> generate Nof13 tables used for Intelligent Mail Barcode</dd>
|
||||
<dt><b>IncludeJS</b></dt>
|
||||
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodIncludeJS">TCPDF::IncludeJS()</a></dd>
|
||||
<dt><b>intToRoman</b></dt>
|
||||
@ -1359,7 +1371,7 @@
|
||||
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
Documentation generated on Wed, 15 Apr 2009 19:08:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -35,7 +35,7 @@
|
||||
<a href="#Post-parsing">Post-parsing</a><br>
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 15 Apr 2009 10:40:03 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
Documentation generated on Wed, 15 Apr 2009 19:08:30 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -58,7 +58,7 @@
|
||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.1</a><br />
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
Documentation generated on Wed, 15 Apr 2009 19:08:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -58,7 +58,7 @@
|
||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.1</a><br />
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
Documentation generated on Wed, 15 Apr 2009 19:08:24 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -2,7 +2,7 @@
|
||||
//============================================================+
|
||||
// File name : example_027.php
|
||||
// Begin : 2008-03-04
|
||||
// Last Update : 2009-04-11
|
||||
// Last Update : 2009-04-15
|
||||
//
|
||||
// Description : Example 027 for TCPDF class
|
||||
// 1D Barcodes
|
||||
@ -92,142 +92,180 @@ $style = array(
|
||||
|
||||
// PRINT VARIOUS 1D BARCODES
|
||||
|
||||
// CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.
|
||||
// CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.
|
||||
$pdf->Cell(0, 0, 'CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9', 0, 1);
|
||||
$pdf->write1DBarcode('CODE 39', 'C39', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 39 with checksum
|
||||
// CODE 39 + CHECKSUM
|
||||
$pdf->Cell(0, 0, 'CODE 39 + CHECKSUM', 0, 1);
|
||||
$pdf->write1DBarcode('CODE 39 +', 'C39+', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 39 EXTENDED
|
||||
// CODE 39 EXTENDED
|
||||
$pdf->Cell(0, 0, 'CODE 39 EXTENDED', 0, 1);
|
||||
$pdf->write1DBarcode('CODE 39 E', 'C39E', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 39 EXTENDED + CHECKSUM
|
||||
// CODE 39 EXTENDED + CHECKSUM
|
||||
$pdf->Cell(0, 0, 'CODE 39 EXTENDED + CHECKSUM', 0, 1);
|
||||
$pdf->write1DBarcode('CODE 39 E+', 'C39E+', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 93 - USS-93
|
||||
// CODE 93 - USS-93
|
||||
$pdf->Cell(0, 0, 'CODE 93 - USS-93', 0, 1);
|
||||
$pdf->write1DBarcode('TEST93', 'C93', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// Standard 2 of 5
|
||||
// Standard 2 of 5
|
||||
$pdf->Cell(0, 0, 'Standard 2 of 5', 0, 1);
|
||||
$pdf->write1DBarcode('1234567', 'S25', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
// add a page ----------
|
||||
$pdf->AddPage();
|
||||
|
||||
// Standard 2 of 5 + CHECKSUM
|
||||
// Standard 2 of 5 + CHECKSUM
|
||||
$pdf->Cell(0, 0, 'Standard 2 of 5 + CHECKSUM', 0, 1);
|
||||
$pdf->write1DBarcode('1234567', 'S25+', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// Interleaved 2 of 5
|
||||
// Interleaved 2 of 5
|
||||
$pdf->Cell(0, 0, 'Interleaved 2 of 5', 0, 1);
|
||||
$pdf->write1DBarcode('1234567', 'I25', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// Interleaved 2 of 5 + CHECKSUM
|
||||
// Interleaved 2 of 5 + CHECKSUM
|
||||
$pdf->Cell(0, 0, 'Interleaved 2 of 5 + CHECKSUM', 0, 1);
|
||||
$pdf->write1DBarcode('1234567', 'I25+', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 128 A
|
||||
// CODE 128 A
|
||||
$pdf->Cell(0, 0, 'CODE 128 A', 0, 1);
|
||||
$pdf->write1DBarcode('CODE 128 A', 'C128A', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 128 B
|
||||
// CODE 128 B
|
||||
$pdf->Cell(0, 0, 'CODE 128 B', 0, 1);
|
||||
$pdf->write1DBarcode('CODE 128 B', 'C128B', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 128 C
|
||||
// CODE 128 C
|
||||
$pdf->Cell(0, 0, 'CODE 128 C', 0, 1);
|
||||
$pdf->write1DBarcode('0123456789', 'C128C', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
// add a page ----------
|
||||
$pdf->AddPage();
|
||||
|
||||
// EAN 8
|
||||
// EAN 8
|
||||
$pdf->Cell(0, 0, 'EAN 8', 0, 1);
|
||||
$pdf->write1DBarcode('1234567', 'EAN8', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// EAN 13
|
||||
// EAN 13
|
||||
$pdf->Cell(0, 0, 'EAN 13', 0, 1);
|
||||
$pdf->write1DBarcode('1234567890128', 'EAN13', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// 2-Digits UPC-Based Extention
|
||||
// 2-Digits UPC-Based Extention
|
||||
$pdf->Cell(0, 0, '2-Digits UPC-Based Extention', 0, 1);
|
||||
$pdf->write1DBarcode('34', 'EAN2', '', '', 20, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// 5-Digits UPC-Based Extention
|
||||
// 5-Digits UPC-Based Extention
|
||||
$pdf->Cell(0, 0, '5-Digits UPC-Based Extention', 0, 1);
|
||||
$pdf->write1DBarcode('51234', 'EAN5', '', '', 40, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// UPC-A
|
||||
// UPC-A
|
||||
$pdf->Cell(0, 0, 'UPC-A', 0, 1);
|
||||
$pdf->write1DBarcode('12345678901', 'UPCA', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// UPC-E
|
||||
// UPC-E
|
||||
$pdf->Cell(0, 0, 'UPC-E', 0, 1);
|
||||
$pdf->write1DBarcode('04210000526', 'UPCE', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
// add a page ----------
|
||||
$pdf->AddPage();
|
||||
|
||||
// MSI
|
||||
// MSI
|
||||
$pdf->Cell(0, 0, 'MSI', 0, 1);
|
||||
$pdf->write1DBarcode('80523', 'MSI', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// MSI + CHECKSUM (module 11)
|
||||
// MSI + CHECKSUM (module 11)
|
||||
$pdf->Cell(0, 0, 'MSI + CHECKSUM (module 11)', 0, 1);
|
||||
$pdf->write1DBarcode('80523', 'MSI+', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// POSTNET
|
||||
// IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200
|
||||
$pdf->Cell(0, 0, 'IMB - Intelligent Mail Barcode - Onecode - USPS-B-3200', 0, 1);
|
||||
$pdf->write1DBarcode('01234567094987654321-01234567891', 'IMB', '', '', 130, 20, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// POSTNET
|
||||
$pdf->Cell(0, 0, 'POSTNET', 0, 1);
|
||||
$pdf->write1DBarcode('98000', 'POSTNET', '', '', 80, 20, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// PLANET
|
||||
// PLANET
|
||||
$pdf->Cell(0, 0, 'PLANET', 0, 1);
|
||||
$pdf->write1DBarcode('98000', 'PLANET', '', '', 80, 20, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)
|
||||
// RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)
|
||||
$pdf->Cell(0, 0, 'RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)', 0, 1);
|
||||
$pdf->write1DBarcode('SN34RD1A', 'RMS4CC', '', '', 80, 20, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// KIX (Klant index - Customer index)
|
||||
// KIX (Klant index - Customer index)
|
||||
$pdf->Cell(0, 0, 'KIX (Klant index - Customer index)', 0, 1);
|
||||
$pdf->write1DBarcode('SN34RDX1A', 'KIX', '', '', 80, 20, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
// add a page ----------
|
||||
$pdf->AddPage();
|
||||
|
||||
// CODABAR
|
||||
// CODABAR
|
||||
$pdf->Cell(0, 0, 'CODABAR', 0, 1);
|
||||
$pdf->write1DBarcode('123456789', 'CODABAR', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// CODE 11
|
||||
// CODE 11
|
||||
$pdf->Cell(0, 0, 'CODE 11', 0, 1);
|
||||
$pdf->write1DBarcode('123-456-789', 'CODE11', '', '', 80, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// PHARMACODE
|
||||
// PHARMACODE
|
||||
$pdf->Cell(0, 0, 'PHARMACODE', 0, 1);
|
||||
$pdf->write1DBarcode('789', 'PHARMA', '', '', 30, 30, 0.4, $style, 'N');
|
||||
|
||||
$pdf->Ln();
|
||||
|
||||
// PHARMACODE TWO-TRACKS
|
||||
// PHARMACODE TWO-TRACKS
|
||||
$pdf->Cell(0, 0, 'PHARMACODE TWO-TRACKS', 0, 1);
|
||||
$pdf->write1DBarcode('105', 'PHARMA2T', '', '', 20, 30, 0.4, $style, 'N');
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
@ -4,7 +4,7 @@
|
||||
// Begin : 2002-08-03
|
||||
// Last Update : 2009-04-15
|
||||
// Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org
|
||||
// Version : 4.5.042
|
||||
// Version : 4.5.043
|
||||
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html)
|
||||
// ----------------------------------------------------------------------------
|
||||
// Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l.
|
||||
@ -122,7 +122,7 @@
|
||||
* @copyright 2002-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
|
||||
* @link http://www.tcpdf.org
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
* @version 4.5.042
|
||||
* @version 4.5.043
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -146,14 +146,14 @@ if (!class_exists('TCPDF', false)) {
|
||||
/**
|
||||
* define default PDF document producer
|
||||
*/
|
||||
define('PDF_PRODUCER', 'TCPDF 4.5.042 (http://www.tcpdf.org)');
|
||||
define('PDF_PRODUCER', 'TCPDF 4.5.043 (http://www.tcpdf.org)');
|
||||
|
||||
/**
|
||||
* This is a PHP class for generating PDF documents without requiring external extensions.<br>
|
||||
* TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br>
|
||||
* @name TCPDF
|
||||
* @package com.tecnick.tcpdf
|
||||
* @version 4.5.042
|
||||
* @version 4.5.043
|
||||
* @author Nicola Asuni - info@tecnick.com
|
||||
* @link http://www.tcpdf.org
|
||||
* @license http://www.gnu.org/copyleft/lesser.html LGPL
|
||||
|
Loading…
Reference in New Issue
Block a user