30
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-06-26 00:52:34 +00:00
This commit is contained in:
nicolaasuni 2009-04-11 19:02:39 +02:00
parent 184ed92eb3
commit 1374cd8c48
18 changed files with 1742 additions and 230 deletions

View File

@ -1,3 +1,6 @@
4.5.039 (2009-04-11)
- Support for linear barcodes was extended (see example n. 27 and barcodes.php documentation).
4.5.038 (2009-04-10)
- Write() method was improved to support separators for Japanese, Korean, Chinese Traditional and Chinese Simplified.

View File

@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------
Name: TCPDF
Version: 4.5.038
Release date: 2009-04-10
Version: 4.5.039
Release date: 2009-04-11
Author: Nicola Asuni
Copyright (c) 2001-2009:

File diff suppressed because it is too large Load Diff

View File

@ -45,7 +45,7 @@
<div class="credit">
<hr />
Documentation generated on Fri, 10 Apr 2009 14:17:41 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
Documentation generated on Sat, 11 Apr 2009 19:02:27 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div>
</td></tr></table>
</td>

View File

@ -74,7 +74,7 @@ Source Location: /tcpdf.php<br /><br />
<h4>Version:</h4>
<ul>
<li>4.5.038</li>
<li>4.5.039</li>
</ul>
@ -580,7 +580,7 @@ This is a PHP class for generating PDF documents without requiring external exte
<td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni - info@tecnick.com</td>
</tr>
<tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>4.5.038</td>
<td><b>version:</b>&nbsp;&nbsp;</td><td>4.5.039</td>
</tr>
<tr>
<td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td>
@ -16325,7 +16325,7 @@ $align = ''])</code>
</td></tr></table>
</td></tr></table><br />
Print 1D Barcode.<br /><br /><br /><br />
Print a Linear Barcode.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
@ -18859,7 +18859,7 @@ $file)</code>
<div class="credit">
<hr />
Documentation generated on Fri, 10 Apr 2009 14:17:42 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
Documentation generated on Sat, 11 Apr 2009 19:02:28 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div>
</td></tr></table>
</td>

View File

@ -74,7 +74,7 @@ Source Location: /barcodes.php<br /><br />
<h4>Version:</h4>
<ul>
<li>1.0.005</li>
<li>1.0.006</li>
</ul>
@ -94,11 +94,22 @@ Source Location: /barcodes.php<br /><br />
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#method__construct">__construct</a></li>
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_c128">barcode_c128</a></li>
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_codabar">barcode_codabar</a></li>
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_code11">barcode_code11</a></li>
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_code39">barcode_code39</a></li>
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_ean13">barcode_ean13</a></li>
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_code93">barcode_code93</a></li>
<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_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>
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_postnet">barcode_postnet</a></li>
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_rms4cc">barcode_rms4cc</a></li>
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_s25">barcode_s25</a></li>
<li><a href="../com-tecnick-tcpdf/TCPDFBarcode.html#methodbinseq_to_array">binseq_to_array</a></li>
<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#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#methodsetBarcode">setBarcode</a></li>
@ -130,7 +141,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
<td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td>
</tr>
<tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>1.0.005</td>
<td><b>version:</b>&nbsp;&nbsp;</td><td>1.0.006</td>
</tr>
<tr>
<td><b>link:</b>&nbsp;&nbsp;</td><td><a href="http://www.tcpdf.org">http://www.tcpdf.org</a></td>
@ -220,7 +231,7 @@ $type)</code>
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$type</b>&nbsp;&nbsp;</td>
<td>type of barcode: <ul><li>C39 : CODE 39</li><li>C39+ : CODE 39 with checksum</li><li>C39E : CODE 39 EXTENDED</li><li>C39E+ : CODE 39 EXTENDED with checksum</li><li>I25 : Interleaved 2 of 5</li><li>C128A : CODE 128 A</li><li>C128B : CODE 128 B</li><li>C128C : CODE 128 C</li><li>EAN13 : EAN 13</li><li>UPCA : UPC-A</li><li>POSTNET : POSTNET</li><li>CODABAR : CODABAR</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>CODABAR : CODABAR</li><li>CODE11 : CODE 11</li><li>PHARMA : PHARMACODE</li><li>PHARMA2T : PHARMACODE TWO-TRACKS</li></ul></td>
</tr>
</table>
</div><br />
@ -228,7 +239,7 @@ $type)</code>
</div>
<hr />
<a name="methodbarcode_c128"></a>
<h3>method barcode_c128 <span class="smalllinenumber">[line 390]</span></h3>
<h3>method barcode_c128 <span class="smalllinenumber">[line 793]</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">
@ -239,7 +250,7 @@ $type = 'B'])</code>
</td></tr></table>
</td></tr></table><br />
C128 barcodes.<br /><br /><br /><br />
C128 barcodes.<br /><br /><p>Very capable code, excellent density, high reliability; in very wide use world-wide</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
@ -273,7 +284,7 @@ $type = 'B'])</code>
</div>
<hr />
<a name="methodbarcode_codabar"></a>
<h3>method barcode_codabar <span class="smalllinenumber">[line 755]</span></h3>
<h3>method barcode_codabar <span class="smalllinenumber">[line 1480]</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">
@ -283,7 +294,46 @@ $code)</code>
</td></tr></table>
</td></tr></table><br />
CODABAR barcodes.<br /><br /><br /><br />
CODABAR barcodes.<br /><br /><p>Older code often used in library systems, sometimes in blood banks</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>barcode representation.</td>
</tr>
<tr>
<td><b>access:</b>&nbsp;&nbsp;</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&nbsp;&nbsp;</td>
<td><b>$code</b>&nbsp;&nbsp;</td>
<td>code to represent.</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodbarcode_code11"></a>
<h3>method barcode_code11 <span class="smalllinenumber">[line 1536]</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_code11(
string
$code)</code>
</td></tr></table>
</td></tr></table><br />
CODE11 barcodes.<br /><br /><p>Used primarily for labeling telecommunications equipment</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
@ -312,7 +362,7 @@ $code)</code>
</div>
<hr />
<a name="methodbarcode_code39"></a>
<h3>method barcode_code39 <span class="smalllinenumber">[line 166]</span></h3>
<h3>method barcode_code39 <span class="smalllinenumber">[line 231]</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">
@ -324,7 +374,7 @@ $checksum = false])</code>
</td></tr></table>
</td></tr></table><br />
CODE 39<br /><br /><br /><br />
CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.<br /><br /><p>General-purpose code in very wide use world-wide</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
@ -362,64 +412,19 @@ $checksum = false])</code>
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodbarcode_ean13"></a>
<h3>method barcode_ean13 <span class="smalllinenumber">[line 582]</span></h3>
<a name="methodbarcode_code93"></a>
<h3>method barcode_code93 <span class="smalllinenumber">[line 400]</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_ean13(
string
$code, [string
$len = 13])</code>
</td></tr></table>
</td></tr></table><br />
EAN13 and UPC-A barcodes.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>barcode representation.</td>
</tr>
<tr>
<td><b>access:</b>&nbsp;&nbsp;</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&nbsp;&nbsp;</td>
<td><b>$code</b>&nbsp;&nbsp;</td>
<td>code to represent.</td>
</tr>
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$len</b>&nbsp;&nbsp;</td>
<td>barcode type: 13 = EAN13, 12 = UPC-A</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodbarcode_i25"></a>
<h3>method barcode_i25 <span class="smalllinenumber">[line 332]</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_i25(
<code>array barcode_code93(
string
$code, boolean
$checksum)</code>
</td></tr></table>
</td></tr></table><br />
Interleaved 2 of 5 barcodes.<br /><br /><p>Contains digits (0 to 9) and encodes the data in the width of both bars and spaces.</p><br /><br /><br />
CODE 93 - USS-93<br /><br /><p>Compact code similar to Code 39</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
@ -452,18 +457,277 @@ $checksum)</code>
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodbarcode_postnet"></a>
<h3>method barcode_postnet <span class="smalllinenumber">[line 700]</span></h3>
<a name="methodbarcode_eanext"></a>
<h3>method barcode_eanext <span class="smalllinenumber">[line 1181]</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_postnet(
<code>array barcode_eanext(
string
$code, [string
$len = 5])</code>
</td></tr></table>
</td></tr></table><br />
UPC-Based Extentions<br /><br /><p>2-Digit Ext.: Used to indicate magazines and newspaper issue numbers 5-Digit Ext.: Used to mark suggested retail price of books</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>barcode representation.</td>
</tr>
<tr>
<td><b>access:</b>&nbsp;&nbsp;</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&nbsp;&nbsp;</td>
<td><b>$code</b>&nbsp;&nbsp;</td>
<td>code to represent.</td>
</tr>
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$len</b>&nbsp;&nbsp;</td>
<td>barcode type: 2 = 2-Digit, 5 = 5-Digit</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodbarcode_eanupc"></a>
<h3>method barcode_eanupc <span class="smalllinenumber">[line 988]</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_eanupc(
string
$code, [string
$len = 13])</code>
</td></tr></table>
</td></tr></table><br />
EAN13 and UPC-A barcodes.<br /><br /><p>EAN13: European Article Numbering international retail product code UPC-A: Universal product code seen on almost all retail products in the USA and Canada UPC-E: Short version of UPC symbol</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>barcode representation.</td>
</tr>
<tr>
<td><b>access:</b>&nbsp;&nbsp;</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&nbsp;&nbsp;</td>
<td><b>$code</b>&nbsp;&nbsp;</td>
<td>code to represent.</td>
</tr>
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$len</b>&nbsp;&nbsp;</td>
<td>barcode type: 6 = UPC-E, 8 = EAN8, 13 = EAN13, 12 = UPC-A</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodbarcode_i25"></a>
<h3>method barcode_i25 <span class="smalllinenumber">[line 729]</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_i25(
string
$code, [boolean
$checksum = false])</code>
</td></tr></table>
</td></tr></table><br />
Interleaved 2 of 5 barcodes.<br /><br /><p>Compact numeric code, widely used in industry, air cargo Contains digits (0 to 9) and encodes the data in the width of both bars and spaces.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>barcode representation.</td>
</tr>
<tr>
<td><b>access:</b>&nbsp;&nbsp;</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&nbsp;&nbsp;</td>
<td><b>$code</b>&nbsp;&nbsp;</td>
<td>code to represent.</td>
</tr>
<tr>
<td class="type">boolean&nbsp;&nbsp;</td>
<td><b>$checksum</b>&nbsp;&nbsp;</td>
<td>if true add a checksum to the code</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>
<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_msi(
string
$code, [boolean
$checksum = false])</code>
</td></tr></table>
</td></tr></table><br />
MSI.<br /><br /><p>Variation of Plessey code, with similar applications Contains digits (0 to 9) and encodes the data only in the width of bars.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>barcode representation.</td>
</tr>
<tr>
<td><b>access:</b>&nbsp;&nbsp;</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&nbsp;&nbsp;</td>
<td><b>$code</b>&nbsp;&nbsp;</td>
<td>code to represent.</td>
</tr>
<tr>
<td class="type">boolean&nbsp;&nbsp;</td>
<td><b>$checksum</b>&nbsp;&nbsp;</td>
<td>if true add a checksum to the code (modulo 11)</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodbarcode_pharmacode"></a>
<h3>method barcode_pharmacode <span class="smalllinenumber">[line 1628]</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_pharmacode(
string
$code)</code>
</td></tr></table>
</td></tr></table><br />
POSTNET barcodes.<br /><br /><br /><br />
Pharmacode<br /><br /><p>Contains digits (0 to 9)</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>barcode representation.</td>
</tr>
<tr>
<td><b>access:</b>&nbsp;&nbsp;</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&nbsp;&nbsp;</td>
<td><b>$code</b>&nbsp;&nbsp;</td>
<td>code to represent.</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodbarcode_pharmacode2t"></a>
<h3>method barcode_pharmacode2t <span class="smalllinenumber">[line 1654]</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_pharmacode2t(
string
$code)</code>
</td></tr></table>
</td></tr></table><br />
Pharmacode two-track<br /><br /><p>Contains digits (0 to 9)</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>barcode representation.</td>
</tr>
<tr>
<td><b>access:</b>&nbsp;&nbsp;</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&nbsp;&nbsp;</td>
<td><b>$code</b>&nbsp;&nbsp;</td>
<td>code to represent.</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodbarcode_postnet"></a>
<h3>method barcode_postnet <span class="smalllinenumber">[line 1256]</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_postnet(
string
$code, [boolean
$planet = false])</code>
</td></tr></table>
</td></tr></table><br />
POSTNET and PLANET barcodes.<br /><br /><p>Used by U.S. Postal Service for automated mail sorting</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
@ -485,6 +749,146 @@ $code)</code>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$code</b>&nbsp;&nbsp;</td>
<td>zip code to represent. Must be a string containing a zip code of the form DDDDD or DDDDD-DDDD.</td>
</tr>
<tr>
<td class="type">boolean&nbsp;&nbsp;</td>
<td><b>$planet</b>&nbsp;&nbsp;</td>
<td>if true print the PLANET barcode, otherwise print POSTNET</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodbarcode_rms4cc"></a>
<h3>method barcode_rms4cc <span class="smalllinenumber">[line 1329]</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_rms4cc(
string
$code, [boolean
$kix = false])</code>
</td></tr></table>
</td></tr></table><br />
RMS4CC - CBC - KIX RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code) - KIX (Klant index - Customer index) RM4SCC is the name of the barcode symbology used by the Royal Mail for its Cleanmail service.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>barcode representation.</td>
</tr>
<tr>
<td><b>access:</b>&nbsp;&nbsp;</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&nbsp;&nbsp;</td>
<td><b>$code</b>&nbsp;&nbsp;</td>
<td>code to print</td>
</tr>
<tr>
<td class="type">boolean&nbsp;&nbsp;</td>
<td><b>$kix</b>&nbsp;&nbsp;</td>
<td>if true prints the KIX variation (doesn't use the start and end symbols, and the checksum) - in this case the house number must be sufficed with an X and placed at the end of the code.</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodbarcode_s25"></a>
<h3>method barcode_s25 <span class="smalllinenumber">[line 658]</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_s25(
string
$code, [boolean
$checksum = false])</code>
</td></tr></table>
</td></tr></table><br />
Standard 2 of 5 barcodes.<br /><br /><p>Used in airline ticket marking, photofinishing Contains digits (0 to 9) and encodes the data only in the width of bars.</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>barcode representation.</td>
</tr>
<tr>
<td><b>access:</b>&nbsp;&nbsp;</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&nbsp;&nbsp;</td>
<td><b>$code</b>&nbsp;&nbsp;</td>
<td>code to represent.</td>
</tr>
<tr>
<td class="type">boolean&nbsp;&nbsp;</td>
<td><b>$checksum</b>&nbsp;&nbsp;</td>
<td>if true add a checksum to the code</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodbinseq_to_array"></a>
<h3>method binseq_to_array <span class="smalllinenumber">[line 699]</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 binseq_to_array(
string
$seq,
$bararray)</code>
</td></tr></table>
</td></tr></table><br />
Convert binary barcode sequence to TCPDF barcode array<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>barcode representation.</td>
</tr>
<tr>
<td><b>access:</b>&nbsp;&nbsp;</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&nbsp;&nbsp;</td>
<td><b>$seq</b>&nbsp;&nbsp;</td>
<td>barcode as binary sequence òparam array $bararray TCPDF barcode array to fill up</td>
</tr>
<tr>
<td class="type">&nbsp;&nbsp;</td>
<td><b>$bararray</b>&nbsp;&nbsp;</td>
<td></td>
</tr>
</table>
</div><br />
@ -492,7 +896,7 @@ $code)</code>
</div>
<hr />
<a name="methodchecksum_code39"></a>
<h3>method checksum_code39 <span class="smalllinenumber">[line 309]</span></h3>
<h3>method checksum_code39 <span class="smalllinenumber">[line 376]</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">
@ -529,9 +933,87 @@ $code)</code>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodchecksum_code93"></a>
<h3>method checksum_code93 <span class="smalllinenumber">[line 528]</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 checksum_code93(
string
$code)</code>
</td></tr></table>
</td></tr></table><br />
Calculate CODE 93 checksum (modulo 47).<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>checksum code.</td>
</tr>
<tr>
<td><b>access:</b>&nbsp;&nbsp;</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&nbsp;&nbsp;</td>
<td><b>$code</b>&nbsp;&nbsp;</td>
<td>code to represent.</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodchecksum_s25"></a>
<h3>method checksum_s25 <span class="smalllinenumber">[line 573]</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 checksum_s25(
string
$code)</code>
</td></tr></table>
</td></tr></table><br />
Checksum for standard 2 of 5 barcodes.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b>&nbsp;&nbsp;</td><td>checksum.</td>
</tr>
<tr>
<td><b>access:</b>&nbsp;&nbsp;</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&nbsp;&nbsp;</td>
<td><b>$code</b>&nbsp;&nbsp;</td>
<td>code to process.</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 259]</span></h3>
<h3>method encode_code39_ext <span class="smalllinenumber">[line 325]</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">
@ -629,7 +1111,7 @@ $type)</code>
<tr>
<td class="type">string&nbsp;&nbsp;</td>
<td><b>$type</b>&nbsp;&nbsp;</td>
<td>type of barcode: <ul><li>C39 : CODE 39</li><li>C39+ : CODE 39 with checksum</li><li>C39E : CODE 39 EXTENDED</li><li>C39E+ : CODE 39 EXTENDED with checksum</li><li>I25 : Interleaved 2 of 5</li><li>C128A : CODE 128 A</li><li>C128B : CODE 128 B</li><li>C128C : CODE 128 C</li><li>EAN13 : EAN 13</li><li>UPCA : UPC-A</li><li>POSTNET : POSTNET</li><li>CODABAR : CODABAR</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>CODABAR : CODABAR</li><li>CODE11 : CODE 11</li><li>PHARMA : PHARMACODE</li><li>PHARMA2T : PHARMACODE TWO-TRACKS</li></ul></td>
</tr>
</table>
</div><br />
@ -640,7 +1122,7 @@ $type)</code>
<div class="credit">
<hr />
Documentation generated on Fri, 10 Apr 2009 14:17:41 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
Documentation generated on Sat, 11 Apr 2009 19:02:27 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div>
</td></tr></table>
</td>

View File

@ -73,7 +73,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
<td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td>
</tr>
<tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>1.0.005</td>
<td><b>version:</b>&nbsp;&nbsp;</td><td>1.0.006</td>
</tr>
<tr>
<td><b>copyright:</b>&nbsp;&nbsp;</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 Fri, 10 Apr 2009 14:17:41 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
Documentation generated on Sat, 11 Apr 2009 19:02:27 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div>
</td></tr></table>
</td>

View File

@ -507,7 +507,7 @@ Configuration file for TCPDF.<br /><br /><br /><br />
<div class="credit">
<hr />
Documentation generated on Fri, 10 Apr 2009 14:17:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
Documentation generated on Sat, 11 Apr 2009 19:02:33 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div>
</td></tr></table>
</td>

View File

@ -88,7 +88,7 @@ Array of WEB safe colors.<br /><br /><br /><br />
<div class="credit">
<hr />
Documentation generated on Fri, 10 Apr 2009 14:17:41 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
Documentation generated on Sat, 11 Apr 2009 19:02:28 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div>
</td></tr></table>
</td>

View File

@ -73,7 +73,7 @@ This is a PHP class for generating PDF documents without requiring external exte
<td><b>author:</b>&nbsp;&nbsp;</td><td>Nicola Asuni</td>
</tr>
<tr>
<td><b>version:</b>&nbsp;&nbsp;</td><td>4.5.038</td>
<td><b>version:</b>&nbsp;&nbsp;</td><td>4.5.039</td>
</tr>
<tr>
<td><b>copyright:</b>&nbsp;&nbsp;</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.038 (http://www.tcpdf.org)'</code>
<code>PDF_PRODUCER = 'TCPDF 4.5.039 (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 Fri, 10 Apr 2009 14:17:42 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
Documentation generated on Sat, 11 Apr 2009 19:02:28 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div>
</td></tr></table>
</td>

View File

@ -237,7 +237,7 @@ Unicode Include file for TCPDF.<br /><br /><br /><br />
<div class="credit">
<hr />
Documentation generated on Fri, 10 Apr 2009 14:17:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
Documentation generated on Sat, 11 Apr 2009 19:02:33 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div>
</td></tr></table>
</td>

View File

@ -125,14 +125,32 @@
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_c128">TCPDFBarcode::barcode_c128()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;C128 barcodes.</dd>
<dt><b>barcode_codabar</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_codabar">TCPDFBarcode::barcode_codabar()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;CODABAR barcodes.</dd>
<dt><b>barcode_code11</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_code11">TCPDFBarcode::barcode_code11()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;CODE11 barcodes.</dd>
<dt><b>barcode_code39</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_code39">TCPDFBarcode::barcode_code39()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;CODE 39</dd>
<dt><b>barcode_ean13</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_ean13">TCPDFBarcode::barcode_ean13()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;EAN13 and UPC-A barcodes.</dd>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_code39">TCPDFBarcode::barcode_code39()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.</dd>
<dt><b>barcode_code93</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_code93">TCPDFBarcode::barcode_code93()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;CODE 93 - USS-93</dd>
<dt><b>barcode_eanext</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_eanext">TCPDFBarcode::barcode_eanext()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;UPC-Based Extentions</dd>
<dt><b>barcode_eanupc</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_eanupc">TCPDFBarcode::barcode_eanupc()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;Interleaved 2 of 5 barcodes.</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>&nbsp;&nbsp;&nbsp;&nbsp;MSI.</dd>
<dt><b>barcode_pharmacode</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_pharmacode">TCPDFBarcode::barcode_pharmacode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Pharmacode</dd>
<dt><b>barcode_pharmacode2t</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_pharmacode2t">TCPDFBarcode::barcode_pharmacode2t()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Pharmacode two-track</dd>
<dt><b>barcode_postnet</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_postnet">TCPDFBarcode::barcode_postnet()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;POSTNET barcodes.</dd>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_postnet">TCPDFBarcode::barcode_postnet()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;POSTNET and PLANET barcodes.</dd>
<dt><b>barcode_rms4cc</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_rms4cc">TCPDFBarcode::barcode_rms4cc()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;RMS4CC - CBC - KIX RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code) - KIX (Klant index - Customer index) RM4SCC is the name of the barcode symbology used by the Royal Mail for its Cleanmail service.</dd>
<dt><b>barcode_s25</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_s25">TCPDFBarcode::barcode_s25()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Standard 2 of 5 barcodes.</dd>
<dt><b>binseq_to_array</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbinseq_to_array">TCPDFBarcode::binseq_to_array()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Convert binary barcode sequence to TCPDF barcode array</dd>
<dt><b>Bookmark</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodBookmark">TCPDF::Bookmark()</a></dd>
<dt><b>Button</b></dt>
@ -181,6 +199,10 @@
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodcheckPageBreak">TCPDF::checkPageBreak()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Add page if needed.</dd>
<dt><b>checksum_code39</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodchecksum_code39">TCPDFBarcode::checksum_code39()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Calculate CODE 39 checksum (modulo 43).</dd>
<dt><b>checksum_code93</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodchecksum_code93">TCPDFBarcode::checksum_code93()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Calculate CODE 93 checksum (modulo 47).</dd>
<dt><b>checksum_s25</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodchecksum_s25">TCPDFBarcode::checksum_s25()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Checksum for standard 2 of 5 barcodes.</dd>
<dt><b>Circle</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodCircle">TCPDF::Circle()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Draws a circle.</dd>
<dt><b>Clip</b></dt>
@ -1142,7 +1164,7 @@
<dt><b>Write</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodWrite">TCPDF::Write()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;This method prints text from the current position.<br /></dd>
<dt><b>write1DBarcode</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodwrite1DBarcode">TCPDF::write1DBarcode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Print 1D Barcode.</dd>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodwrite1DBarcode">TCPDF::write1DBarcode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Print a Linear Barcode.</dd>
<dt><b>write2DBarcode</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodwrite2DBarcode">TCPDF::write2DBarcode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Print 2D Barcode.</dd>
<dt><b>writeBarcode</b></dt>
@ -1314,7 +1336,7 @@
<a href="elementindex.html#top">top</a><br>
<div class="credit">
<hr />
Documentation generated on Fri, 10 Apr 2009 14:17:41 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
Documentation generated on Sat, 11 Apr 2009 19:02:27 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div>
</td></tr></table>
</td>

View File

@ -274,14 +274,32 @@
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_c128">TCPDFBarcode::barcode_c128()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;C128 barcodes.</dd>
<dt><b>barcode_codabar</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_codabar">TCPDFBarcode::barcode_codabar()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;CODABAR barcodes.</dd>
<dt><b>barcode_code11</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_code11">TCPDFBarcode::barcode_code11()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;CODE11 barcodes.</dd>
<dt><b>barcode_code39</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_code39">TCPDFBarcode::barcode_code39()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;CODE 39</dd>
<dt><b>barcode_ean13</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_ean13">TCPDFBarcode::barcode_ean13()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;EAN13 and UPC-A barcodes.</dd>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_code39">TCPDFBarcode::barcode_code39()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.</dd>
<dt><b>barcode_code93</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_code93">TCPDFBarcode::barcode_code93()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;CODE 93 - USS-93</dd>
<dt><b>barcode_eanext</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_eanext">TCPDFBarcode::barcode_eanext()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;UPC-Based Extentions</dd>
<dt><b>barcode_eanupc</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_eanupc">TCPDFBarcode::barcode_eanupc()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;Interleaved 2 of 5 barcodes.</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>&nbsp;&nbsp;&nbsp;&nbsp;MSI.</dd>
<dt><b>barcode_pharmacode</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_pharmacode">TCPDFBarcode::barcode_pharmacode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Pharmacode</dd>
<dt><b>barcode_pharmacode2t</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_pharmacode2t">TCPDFBarcode::barcode_pharmacode2t()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Pharmacode two-track</dd>
<dt><b>barcode_postnet</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_postnet">TCPDFBarcode::barcode_postnet()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;POSTNET barcodes.</dd>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_postnet">TCPDFBarcode::barcode_postnet()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;POSTNET and PLANET barcodes.</dd>
<dt><b>barcode_rms4cc</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_rms4cc">TCPDFBarcode::barcode_rms4cc()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;RMS4CC - CBC - KIX RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code) - KIX (Klant index - Customer index) RM4SCC is the name of the barcode symbology used by the Royal Mail for its Cleanmail service.</dd>
<dt><b>barcode_s25</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbarcode_s25">TCPDFBarcode::barcode_s25()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Standard 2 of 5 barcodes.</dd>
<dt><b>binseq_to_array</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodbinseq_to_array">TCPDFBarcode::binseq_to_array()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Convert binary barcode sequence to TCPDF barcode array</dd>
<dt><b>Bookmark</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodBookmark">TCPDF::Bookmark()</a></dd>
<dt><b>Button</b></dt>
@ -330,6 +348,10 @@
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodcheckPageBreak">TCPDF::checkPageBreak()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Add page if needed.</dd>
<dt><b>checksum_code39</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodchecksum_code39">TCPDFBarcode::checksum_code39()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Calculate CODE 39 checksum (modulo 43).</dd>
<dt><b>checksum_code93</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodchecksum_code93">TCPDFBarcode::checksum_code93()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Calculate CODE 93 checksum (modulo 47).</dd>
<dt><b>checksum_s25</b></dt>
<dd>in file barcodes.php, method <a href="com-tecnick-tcpdf/TCPDFBarcode.html#methodchecksum_s25">TCPDFBarcode::checksum_s25()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Checksum for standard 2 of 5 barcodes.</dd>
<dt><b>Circle</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodCircle">TCPDF::Circle()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Draws a circle.</dd>
<dt><b>Clip</b></dt>
@ -1291,7 +1313,7 @@
<dt><b>Write</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodWrite">TCPDF::Write()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;This method prints text from the current position.<br /></dd>
<dt><b>write1DBarcode</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodwrite1DBarcode">TCPDF::write1DBarcode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Print 1D Barcode.</dd>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodwrite1DBarcode">TCPDF::write1DBarcode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Print a Linear Barcode.</dd>
<dt><b>write2DBarcode</b></dt>
<dd>in file tcpdf.php, method <a href="com-tecnick-tcpdf/TCPDF.html#methodwrite2DBarcode">TCPDF::write2DBarcode()</a><br>&nbsp;&nbsp;&nbsp;&nbsp;Print 2D Barcode.</dd>
<dt><b>writeBarcode</b></dt>
@ -1337,7 +1359,7 @@
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
<div class="credit">
<hr />
Documentation generated on Fri, 10 Apr 2009 14:17:41 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
Documentation generated on Sat, 11 Apr 2009 19:02:27 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div>
</td></tr></table>
</td>

View File

@ -35,7 +35,7 @@
<a href="#Post-parsing">Post-parsing</a><br>
<div class="credit">
<hr />
Documentation generated on Fri, 10 Apr 2009 14:17:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
Documentation generated on Sat, 11 Apr 2009 19:02:33 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div>
</td></tr></table>
</td>

View File

@ -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 Fri, 10 Apr 2009 14:17:41 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
Documentation generated on Sat, 11 Apr 2009 19:02:27 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div>
</td></tr></table>
</td>

View File

@ -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 Fri, 10 Apr 2009 14:17:41 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
Documentation generated on Sat, 11 Apr 2009 19:02:27 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.1</a>
</div>
</td></tr></table>
</td>

View File

@ -2,10 +2,10 @@
//============================================================+
// File name : example_027.php
// Begin : 2008-03-04
// Last Update : 2009-03-18
// Last Update : 2009-04-11
//
// Description : Example 027 for TCPDF class
// Barcodes
// 1D Barcodes
//
// Author: Nicola Asuni
//
@ -22,7 +22,7 @@
/**
* Creates an example PDF TEST document using TCPDF
* @package com.tecnick.tcpdf
* @abstract TCPDF - Example: barcodes.
* @abstract TCPDF - Example: 1D Barcodes.
* @author Nicola Asuni
* @copyright 2004-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://tcpdf.org
@ -89,8 +89,10 @@ $style = array(
'fontsize' => 8,
'stretchtext' => 4
);
// PRINT VARIOUS 1D BARCODES
// CODE 39
// CODE 39 - ANSI MH10.8M-1983 - USD-3 - 3 of 9.
$pdf->write1DBarcode('CODE 39', 'C39', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
@ -105,13 +107,33 @@ $pdf->write1DBarcode('CODE 39 E', 'C39E', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// CODE 39 EXTENDED with checksum
// CODE 39 EXTENDED + CHECKSUM
$pdf->write1DBarcode('CODE 39 E+', 'C39E+', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// CODE 93 - USS-93
$pdf->write1DBarcode('TEST93', 'C93', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// Standard 2 of 5
$pdf->write1DBarcode('1234567', 'S25', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// Standard 2 of 5 + CHECKSUM
$pdf->write1DBarcode('1234567', 'S25+', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// Interleaved 2 of 5
$pdf->write1DBarcode('12345678', 'I25', '', '', 80, 30, 0.4, $style, 'N');
$pdf->write1DBarcode('1234567', 'I25', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// Interleaved 2 of 5 + CHECKSUM
$pdf->write1DBarcode('1234567', 'I25+', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
@ -120,34 +142,94 @@ $pdf->write1DBarcode('CODE 128 A', 'C128A', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// CODE 128 A
// CODE 128 B
$pdf->write1DBarcode('CODE 128 B', 'C128B', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// CODE 128 A
// CODE 128 C
$pdf->write1DBarcode('0123456789', 'C128C', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// EAN 8
$pdf->write1DBarcode('1234567', 'EAN8', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// EAN 13
$pdf->write1DBarcode('123456789012', 'EAN13', '', '', 80, 30, 0.4, $style, 'N');
$pdf->write1DBarcode('1234567890128', 'EAN13', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// 2-Digits UPC-Based Extention
$pdf->write1DBarcode('34', 'EAN2', '', '', 20, 30, 0.4, $style, 'N');
$pdf->Ln();
// 5-Digits UPC-Based Extention
$pdf->write1DBarcode('51234', 'EAN5', '', '', 40, 30, 0.4, $style, 'N');
$pdf->Ln();
// UPC-A
$pdf->write1DBarcode('123456789012', 'UPCA', '', '', 80, 30, 0.4, $style, 'N');
$pdf->write1DBarcode('12345678901', 'UPCA', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// UPC-A
$pdf->write1DBarcode('48109-1109', 'POSTNET', '', '', 80, 20, 0.4, $style, 'N');
// UPC-E
$pdf->write1DBarcode('04210000526', 'UPCE', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// MSI
$pdf->write1DBarcode('80523', 'MSI', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// MSI + CHECKSUM (module 11)
$pdf->write1DBarcode('80523', 'MSI+', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// POSTNET
$pdf->write1DBarcode('98000', 'POSTNET', '', '', 80, 20, 0.4, $style, 'N');
$pdf->Ln();
// PLANET
$pdf->write1DBarcode('98000', 'PLANET', '', '', 80, 20, 0.4, $style, 'N');
$pdf->Ln();
// RMS4CC (Royal Mail 4-state Customer Code) - CBC (Customer Bar Code)
$pdf->write1DBarcode('SN34RD1A', 'RMS4CC', '', '', 80, 20, 0.4, $style, 'N');
$pdf->Ln();
// KIX (Klant index - Customer index)
$pdf->write1DBarcode('SN34RDX1A', 'KIX', '', '', 80, 20, 0.4, $style, 'N');
$pdf->Ln();
// CODABAR
$pdf->write1DBarcode('123456789', 'CODABAR', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// CODE 11
$pdf->write1DBarcode('123-456-789', 'CODE11', '', '', 80, 30, 0.4, $style, 'N');
$pdf->Ln();
// PHARMACODE
$pdf->write1DBarcode('789', 'PHARMA', '', '', 30, 30, 0.4, $style, 'N');
$pdf->Ln();
// PHARMACODE TWO-TRACKS
$pdf->write1DBarcode('105', 'PHARMA2T', '', '', 20, 30, 0.4, $style, 'N');
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// TEST BARCDE ALIGNMENTS

View File

@ -2,9 +2,9 @@
//============================================================+
// File name : tcpdf.php
// Begin : 2002-08-03
// Last Update : 2009-04-10
// Last Update : 2009-04-11
// Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org
// Version : 4.5.038
// Version : 4.5.039
// 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.038
* @version 4.5.039
*/
/**
@ -146,14 +146,14 @@ if (!class_exists('TCPDF', false)) {
/**
* define default PDF document producer
*/
define('PDF_PRODUCER', 'TCPDF 4.5.038 (http://www.tcpdf.org)');
define('PDF_PRODUCER', 'TCPDF 4.5.039 (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.038
* @version 4.5.039
* @author Nicola Asuni - info@tecnick.com
* @link http://www.tcpdf.org
* @license http://www.gnu.org/copyleft/lesser.html LGPL
@ -10083,7 +10083,7 @@ if (!class_exists('TCPDF', false)) {
}
/**
* Print 1D Barcode.
* Print a Linear Barcode.
* @param string $code code to print
* @param string $type type of barcode.
* @param int $x x position in user units