| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- Reviewed: no -->
- <sect2 id="zend.barcode.objects.details">
- <title>Description of shipped barcodes</title>
- <para>
- You will find below detailed information about all barcode types shipped by default with
- Zend Framework.
- </para>
- <sect3 id="zend.barcode.objects.details.error">
- <title>Zend_Barcode_Object_Error</title>
- <para>
- <inlinegraphic width="400" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.error.png" format="PNG"/>
- </para>
- <para>
- This barcode is a special case. It is internally used to automatically render
- an exception caught by the <classname>Zend_Barcode</classname> component.
- </para>
- </sect3>
- <sect3 id="zend.barcode.objects.details.code128">
- <title>Zend_Barcode_Object_Code128</title>
- <para>
- <inlinegraphic width="152" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.code128.png" format="PNG"/>
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> Code 128
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> the complete ASCII-character set
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> optional (modulo 103)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> variable
- </para>
- </listitem>
- </itemizedlist>
- <para>
- There are no particular options for this barcode.
- </para>
- </sect3>
- <sect3 id="zend.barcode.objects.details.code25">
- <title>Zend_Barcode_Object_Code25</title>
- <para>
- <inlinegraphic width="152" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.code25.png" format="PNG"/>
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> Code 25 (or Code 2 of 5 or Code 25 Industrial)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> '0123456789'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> optional (modulo 10)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> variable
- </para>
- </listitem>
- </itemizedlist>
- <para>
- There are no particular options for this barcode.
- </para>
- </sect3>
- <sect3 id="zend.barcode.objects.details.code25interleaved">
- <title>Zend_Barcode_Object_Code25interleaved</title>
- <para>
- <inlinegraphic width="101" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.int25.png" format="PNG"/>
- </para>
- <para>
- This barcode extends <classname>Zend_Barcode_Object_Code25</classname>
- (Code 2 of 5), and has the same particulars and options, and adds the following:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> Code 2 of 5 Interleaved
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> '0123456789'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> optional (modulo 10)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> variable (always even number of characters)
- </para>
- </listitem>
- </itemizedlist>
- <para>
- Available options include:
- </para>
- <table id="zend.barcode.objects.details.code25interleaved.table">
- <title>Zend_Barcode_Object_Code25interleaved Options</title>
- <tgroup cols="4">
- <thead>
- <row>
- <entry>Option</entry>
- <entry>Data Type</entry>
- <entry>Default Value</entry>
- <entry>Description</entry>
- </row>
- </thead>
- <tbody>
- <row>
- <entry><emphasis>withBearerBars</emphasis></entry>
- <entry><type>Boolean</type></entry>
- <entry><constant>FALSE</constant></entry>
- <entry>Draw a thick bar at the top and the bottom of the barcode.</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- <note>
- <para>
- If the number of characters is not even,
- <classname>Zend_Barcode_Object_Code25interleaved</classname> will automatically
- prepend the missing zero to the barcode text.
- </para>
- </note>
- </sect3>
- <sect3 id="zend.barcode.objects.details.ean2">
- <title>Zend_Barcode_Object_Ean2</title>
- <para>
- <inlinegraphic width="41" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.ean2.png" format="PNG"/>
- </para>
- <para>
- This barcode extends <classname>Zend_Barcode_Object_Ean5</classname>
- (<acronym>EAN</acronym> 5), and has the same particulars and options, and adds the
- following:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> <acronym>EAN</acronym>-2
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> '0123456789'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> only use internally but not displayed
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> 2 characters
- </para>
- </listitem>
- </itemizedlist>
- <para>
- There are no particular options for this barcode.
- </para>
- <note>
- <para>
- If the number of characters is lower than 2,
- <classname>Zend_Barcode_Object_Ean2</classname> will automatically
- prepend the missing zero to the barcode text.
- </para>
- </note>
- </sect3>
- <sect3 id="zend.barcode.objects.details.ean5">
- <title>Zend_Barcode_Object_Ean5</title>
- <para>
- <inlinegraphic width="68" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.ean5.png" format="PNG"/>
- </para>
- <para>
- This barcode extends <classname>Zend_Barcode_Object_Ean13</classname>
- (<acronym>EAN</acronym> 13), and has the same particulars and options, and adds the
- following:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> <acronym>EAN</acronym>-5
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> '0123456789'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> only use internally but not displayed
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> 5 characters
- </para>
- </listitem>
- </itemizedlist>
- <para>
- There are no particular options for this barcode.
- </para>
- <note>
- <para>
- If the number of characters is lower than 5,
- <classname>Zend_Barcode_Object_Ean5</classname> will automatically
- prepend the missing zero to the barcode text.
- </para>
- </note>
- </sect3>
- <sect3 id="zend.barcode.objects.details.ean8">
- <title>Zend_Barcode_Object_Ean8</title>
- <para>
- <inlinegraphic width="82" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.ean8.png" format="PNG"/>
- </para>
- <para>
- This barcode extends <classname>Zend_Barcode_Object_Ean13</classname>
- (<acronym>EAN</acronym> 13), and has the same particulars and options, and adds the
- following:
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> <acronym>EAN</acronym>-8
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> '0123456789'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> mandatory (modulo 10)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> 8 characters (including checksum)
- </para>
- </listitem>
- </itemizedlist>
- <para>
- There are no particular options for this barcode.
- </para>
- <note>
- <para>
- If the number of characters is lower than 8,
- <classname>Zend_Barcode_Object_Ean8</classname> will automatically
- prepend the missing zero to the barcode text.
- </para>
- </note>
- </sect3>
- <sect3 id="zend.barcode.objects.details.ean13">
- <title>Zend_Barcode_Object_Ean13</title>
- <para>
- <inlinegraphic width="113" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.ean13.png" format="PNG"/>
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> <acronym>EAN</acronym>-13
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> '0123456789'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> mandatory (modulo 10)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> 13 characters (including checksum)
- </para>
- </listitem>
- </itemizedlist>
- <para>
- There are no particular options for this barcode.
- </para>
- <note>
- <para>
- If the number of characters is lower than 13,
- <classname>Zend_Barcode_Object_Ean13</classname> will automatically
- prepend the missing zero to the barcode text.
- </para>
- <para>
- The option <property>withQuietZones</property> has no effect with this barcode.
- </para>
- </note>
- </sect3>
- <sect3 id="zend.barcode.objects.details.code39">
- <title>Zend_Barcode_Object_Code39</title>
- <para>
- <inlinegraphic width="275" align="center" valign="middle"
- fileref="figures/zend.barcode.introduction.example-1.png" format="PNG"/>
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> Code 39
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis>
- '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ -.$/+%'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> optional (modulo 43)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> variable
- </para>
- </listitem>
- </itemizedlist>
- <note>
- <para>
- <classname>Zend_Barcode_Object_Code39</classname> will automatically add
- the start and stop characters ('*') for you.
- </para>
- </note>
- <para>
- There are no particular options for this barcode.
- </para>
- </sect3>
- <sect3 id="zend.barcode.objects.details.identcode">
- <title>Zend_Barcode_Object_Identcode</title>
- <para>
- <inlinegraphic width="137" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.identcode.png" format="PNG"/>
- </para>
- <para>
- This barcode extends <classname>Zend_Barcode_Object_Code25interleaved</classname>
- (Code 2 of 5 Interleaved), and inherits some of its capabilities; it also has a few
- particulars of its own.
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> Identcode (Deutsche Post Identcode)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> '0123456789'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> mandatory (modulo 10 different from Code25)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> 12 characters (including checksum)
- </para>
- </listitem>
- </itemizedlist>
- <para>
- There are no particular options for this barcode.
- </para>
- <note>
- <para>
- If the number of characters is lower than 12,
- <classname>Zend_Barcode_Object_Identcode</classname> will automatically prepend
- missing zeros to the barcode text.
- </para>
- </note>
- </sect3>
- <sect3 id="zend.barcode.objects.details.itf14">
- <title>Zend_Barcode_Object_Itf14</title>
- <para>
- <inlinegraphic width="155" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.itf14.png" format="PNG"/>
- </para>
- <para>
- This barcode extends <classname>Zend_Barcode_Object_Code25interleaved</classname>
- (Code 2 of 5 Interleaved), and inherits some of its capabilities; it also has a few
- particulars of its own.
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> <acronym>ITF</acronym>-14
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> '0123456789'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> mandatory (modulo 10)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> 14 characters (including checksum)
- </para>
- </listitem>
- </itemizedlist>
- <para>
- There are no particular options for this barcode.
- </para>
- <note>
- <para>
- If the number of characters is lower than 14,
- <classname>Zend_Barcode_Object_Itf14</classname> will automatically prepend
- missing zeros to the barcode text.
- </para>
- </note>
- </sect3>
- <sect3 id="zend.barcode.objects.details.leitcode">
- <title>Zend_Barcode_Object_Leitcode</title>
- <para>
- <inlinegraphic width="155" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.leitcode.png" format="PNG"/>
- </para>
- <para>
- This barcode extends <classname>Zend_Barcode_Object_Identcode</classname>
- (Deutsche Post Identcode), and inherits some of its capabilities; it also has a few
- particulars of its own.
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> Leitcode (Deutsche Post Leitcode)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> '0123456789'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> mandatory (modulo 10 different from Code25)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> 14 characters (including checksum)
- </para>
- </listitem>
- </itemizedlist>
- <para>
- There are no particular options for this barcode.
- </para>
- <note>
- <para>
- If the number of characters is lower than 14,
- <classname>Zend_Barcode_Object_Leitcode</classname> will automatically
- prepend missing zeros to the barcode text.
- </para>
- </note>
- </sect3>
- <sect3 id="zend.barcode.objects.details.planet">
- <title>Zend_Barcode_Object_Planet</title>
- <para>
- <inlinegraphic width="286" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.planet.png" format="PNG"/>
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> Planet (PostaL Alpha Numeric Encoding Technique)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> '0123456789'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> mandatory (modulo 10)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> 12 or 14 characters (including checksum)
- </para>
- </listitem>
- </itemizedlist>
- <para>
- There are no particular options for this barcode.
- </para>
- </sect3>
- <sect3 id="zend.barcode.objects.details.postnet">
- <title>Zend_Barcode_Object_Postnet</title>
- <para>
- <inlinegraphic width="286" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.postnet.png" format="PNG"/>
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> Postnet (POSTal Numeric Encoding Technique)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> '0123456789'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> mandatory (modulo 10)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> 6, 7, 10 or 12 characters (including checksum)
- </para>
- </listitem>
- </itemizedlist>
- <para>
- There are no particular options for this barcode.
- </para>
- </sect3>
- <sect3 id="zend.barcode.objects.details.royalmail">
- <title>Zend_Barcode_Object_Royalmail</title>
- <para>
- <inlinegraphic width="158" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.royalmail.png" format="PNG"/>
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> Royal Mail or <acronym>RM4SCC</acronym> (Royal Mail
- 4-State Customer Code)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> mandatory
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> variable
- </para>
- </listitem>
- </itemizedlist>
- <para>
- There are no particular options for this barcode.
- </para>
- </sect3>
- <sect3 id="zend.barcode.objects.details.upca">
- <title>Zend_Barcode_Object_Upca</title>
- <para>
- <inlinegraphic width="115" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.upca.png" format="PNG"/>
- </para>
- <para>
- This barcode extends <classname>Zend_Barcode_Object_Ean13</classname>
- (<acronym>EAN</acronym>-13), and inherits some of its capabilities; it also has a few
- particulars of its own.
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> <acronym>UPC</acronym>-A (Universal Product Code)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> '0123456789'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> mandatory (modulo 10)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> 12 characters (including checksum)
- </para>
- </listitem>
- </itemizedlist>
- <para>
- There are no particular options for this barcode.
- </para>
- <note>
- <para>
- If the number of characters is lower than 12,
- <classname>Zend_Barcode_Object_Upca</classname> will automatically
- prepend missing zeros to the barcode text.
- </para>
- <para>
- The option <property>withQuietZones</property> has no effect with this barcode.
- </para>
- </note>
- </sect3>
- <sect3 id="zend.barcode.objects.details.upce">
- <title>Zend_Barcode_Object_Upce</title>
- <para>
- <inlinegraphic width="71" align="center" valign="middle"
- fileref="figures/zend.barcode.objects.details.upce.png" format="PNG"/>
- </para>
- <para>
- This barcode extends <classname>Zend_Barcode_Object_Upca</classname>
- (<acronym>UPC</acronym>-A), and inherits some of its capabilities; it also has a few
- particulars of its own. The first character of the text to encode
- is the system (0 or 1).
- </para>
- <itemizedlist>
- <listitem>
- <para>
- <emphasis>Name:</emphasis> <acronym>UPC</acronym>-E (Universal Product Code)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Allowed characters:</emphasis> '0123456789'
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Checksum:</emphasis> mandatory (modulo 10)
- </para>
- </listitem>
- <listitem>
- <para>
- <emphasis>Length:</emphasis> 8 characters (including checksum)
- </para>
- </listitem>
- </itemizedlist>
- <para>
- There are no particular options for this barcode.
- </para>
- <note>
- <para>
- If the number of characters is lower than 8,
- <classname>Zend_Barcode_Object_Upce</classname> will automatically
- prepend missing zeros to the barcode text.
- </para>
- </note>
- <note>
- <para>
- If the first character of the text to encode is not 0 or 1,
- <classname>Zend_Barcode_Object_Upce</classname> will automatically
- replace it by 0.
- </para>
- <para>
- The option <property>withQuietZones</property> has no effect with this barcode.
- </para>
- </note>
- </sect3>
- </sect2>
|