Zend_Barcode-Objects_Details.xml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <sect2 id="zend.barcode.objects.details">
  4. <title>Description of shipped barcodes</title>
  5. <para>
  6. You will find below detailed information about all barcode types shipped by default with
  7. Zend Framework.
  8. </para>
  9. <sect3 id="zend.barcode.objects.details.error">
  10. <title>Zend_Barcode_Object_Error</title>
  11. <para>
  12. <inlinegraphic width="400" align="center" valign="middle"
  13. fileref="figures/zend.barcode.objects.details.error.png" format="PNG"/>
  14. </para>
  15. <para>
  16. This barcode is a special case. It is internally used to automatically render
  17. an exception caught by the <classname>Zend_Barcode</classname> component.
  18. </para>
  19. </sect3>
  20. <sect3 id="zend.barcode.objects.details.code128">
  21. <title>Zend_Barcode_Object_Code128</title>
  22. <para>
  23. <inlinegraphic width="152" align="center" valign="middle"
  24. fileref="figures/zend.barcode.objects.details.code128.png" format="PNG"/>
  25. </para>
  26. <itemizedlist>
  27. <listitem>
  28. <para>
  29. <emphasis>Name:</emphasis> Code 128
  30. </para>
  31. </listitem>
  32. <listitem>
  33. <para>
  34. <emphasis>Allowed characters:</emphasis> the complete ASCII-character set
  35. </para>
  36. </listitem>
  37. <listitem>
  38. <para>
  39. <emphasis>Checksum:</emphasis> optional (modulo 103)
  40. </para>
  41. </listitem>
  42. <listitem>
  43. <para>
  44. <emphasis>Length:</emphasis> variable
  45. </para>
  46. </listitem>
  47. </itemizedlist>
  48. <para>
  49. There are no particular options for this barcode.
  50. </para>
  51. </sect3>
  52. <sect3 id="zend.barcode.objects.details.code25">
  53. <title>Zend_Barcode_Object_Code25</title>
  54. <para>
  55. <inlinegraphic width="152" align="center" valign="middle"
  56. fileref="figures/zend.barcode.objects.details.code25.png" format="PNG"/>
  57. </para>
  58. <itemizedlist>
  59. <listitem>
  60. <para>
  61. <emphasis>Name:</emphasis> Code 25 (or Code 2 of 5 or Code 25 Industrial)
  62. </para>
  63. </listitem>
  64. <listitem>
  65. <para>
  66. <emphasis>Allowed characters:</emphasis> '0123456789'
  67. </para>
  68. </listitem>
  69. <listitem>
  70. <para>
  71. <emphasis>Checksum:</emphasis> optional (modulo 10)
  72. </para>
  73. </listitem>
  74. <listitem>
  75. <para>
  76. <emphasis>Length:</emphasis> variable
  77. </para>
  78. </listitem>
  79. </itemizedlist>
  80. <para>
  81. There are no particular options for this barcode.
  82. </para>
  83. </sect3>
  84. <sect3 id="zend.barcode.objects.details.code25interleaved">
  85. <title>Zend_Barcode_Object_Code25interleaved</title>
  86. <para>
  87. <inlinegraphic width="101" align="center" valign="middle"
  88. fileref="figures/zend.barcode.objects.details.int25.png" format="PNG"/>
  89. </para>
  90. <para>
  91. This barcode extends <classname>Zend_Barcode_Object_Code25</classname>
  92. (Code 2 of 5), and has the same particulars and options, and adds the following:
  93. </para>
  94. <itemizedlist>
  95. <listitem>
  96. <para>
  97. <emphasis>Name:</emphasis> Code 2 of 5 Interleaved
  98. </para>
  99. </listitem>
  100. <listitem>
  101. <para>
  102. <emphasis>Allowed characters:</emphasis> '0123456789'
  103. </para>
  104. </listitem>
  105. <listitem>
  106. <para>
  107. <emphasis>Checksum:</emphasis> optional (modulo 10)
  108. </para>
  109. </listitem>
  110. <listitem>
  111. <para>
  112. <emphasis>Length:</emphasis> variable (always even number of characters)
  113. </para>
  114. </listitem>
  115. </itemizedlist>
  116. <para>
  117. Available options include:
  118. </para>
  119. <table id="zend.barcode.objects.details.code25interleaved.table">
  120. <title>Zend_Barcode_Object_Code25interleaved Options</title>
  121. <tgroup cols="4">
  122. <thead>
  123. <row>
  124. <entry>Option</entry>
  125. <entry>Data Type</entry>
  126. <entry>Default Value</entry>
  127. <entry>Description</entry>
  128. </row>
  129. </thead>
  130. <tbody>
  131. <row>
  132. <entry><emphasis>withBearerBars</emphasis></entry>
  133. <entry><type>Boolean</type></entry>
  134. <entry><constant>FALSE</constant></entry>
  135. <entry>Draw a thick bar at the top and the bottom of the barcode.</entry>
  136. </row>
  137. </tbody>
  138. </tgroup>
  139. </table>
  140. <note>
  141. <para>
  142. If the number of characters is not even,
  143. <classname>Zend_Barcode_Object_Code25interleaved</classname> will automatically
  144. prepend the missing zero to the barcode text.
  145. </para>
  146. </note>
  147. </sect3>
  148. <sect3 id="zend.barcode.objects.details.ean2">
  149. <title>Zend_Barcode_Object_Ean2</title>
  150. <para>
  151. <inlinegraphic width="41" align="center" valign="middle"
  152. fileref="figures/zend.barcode.objects.details.ean2.png" format="PNG"/>
  153. </para>
  154. <para>
  155. This barcode extends <classname>Zend_Barcode_Object_Ean5</classname>
  156. (<acronym>EAN</acronym> 5), and has the same particulars and options, and adds the
  157. following:
  158. </para>
  159. <itemizedlist>
  160. <listitem>
  161. <para>
  162. <emphasis>Name:</emphasis> <acronym>EAN</acronym>-2
  163. </para>
  164. </listitem>
  165. <listitem>
  166. <para>
  167. <emphasis>Allowed characters:</emphasis> '0123456789'
  168. </para>
  169. </listitem>
  170. <listitem>
  171. <para>
  172. <emphasis>Checksum:</emphasis> only use internally but not displayed
  173. </para>
  174. </listitem>
  175. <listitem>
  176. <para>
  177. <emphasis>Length:</emphasis> 2 characters
  178. </para>
  179. </listitem>
  180. </itemizedlist>
  181. <para>
  182. There are no particular options for this barcode.
  183. </para>
  184. <note>
  185. <para>
  186. If the number of characters is lower than 2,
  187. <classname>Zend_Barcode_Object_Ean2</classname> will automatically
  188. prepend the missing zero to the barcode text.
  189. </para>
  190. </note>
  191. </sect3>
  192. <sect3 id="zend.barcode.objects.details.ean5">
  193. <title>Zend_Barcode_Object_Ean5</title>
  194. <para>
  195. <inlinegraphic width="68" align="center" valign="middle"
  196. fileref="figures/zend.barcode.objects.details.ean5.png" format="PNG"/>
  197. </para>
  198. <para>
  199. This barcode extends <classname>Zend_Barcode_Object_Ean13</classname>
  200. (<acronym>EAN</acronym> 13), and has the same particulars and options, and adds the
  201. following:
  202. </para>
  203. <itemizedlist>
  204. <listitem>
  205. <para>
  206. <emphasis>Name:</emphasis> <acronym>EAN</acronym>-5
  207. </para>
  208. </listitem>
  209. <listitem>
  210. <para>
  211. <emphasis>Allowed characters:</emphasis> '0123456789'
  212. </para>
  213. </listitem>
  214. <listitem>
  215. <para>
  216. <emphasis>Checksum:</emphasis> only use internally but not displayed
  217. </para>
  218. </listitem>
  219. <listitem>
  220. <para>
  221. <emphasis>Length:</emphasis> 5 characters
  222. </para>
  223. </listitem>
  224. </itemizedlist>
  225. <para>
  226. There are no particular options for this barcode.
  227. </para>
  228. <note>
  229. <para>
  230. If the number of characters is lower than 5,
  231. <classname>Zend_Barcode_Object_Ean5</classname> will automatically
  232. prepend the missing zero to the barcode text.
  233. </para>
  234. </note>
  235. </sect3>
  236. <sect3 id="zend.barcode.objects.details.ean8">
  237. <title>Zend_Barcode_Object_Ean8</title>
  238. <para>
  239. <inlinegraphic width="82" align="center" valign="middle"
  240. fileref="figures/zend.barcode.objects.details.ean8.png" format="PNG"/>
  241. </para>
  242. <para>
  243. This barcode extends <classname>Zend_Barcode_Object_Ean13</classname>
  244. (<acronym>EAN</acronym> 13), and has the same particulars and options, and adds the
  245. following:
  246. </para>
  247. <itemizedlist>
  248. <listitem>
  249. <para>
  250. <emphasis>Name:</emphasis> <acronym>EAN</acronym>-8
  251. </para>
  252. </listitem>
  253. <listitem>
  254. <para>
  255. <emphasis>Allowed characters:</emphasis> '0123456789'
  256. </para>
  257. </listitem>
  258. <listitem>
  259. <para>
  260. <emphasis>Checksum:</emphasis> mandatory (modulo 10)
  261. </para>
  262. </listitem>
  263. <listitem>
  264. <para>
  265. <emphasis>Length:</emphasis> 8 characters (including checksum)
  266. </para>
  267. </listitem>
  268. </itemizedlist>
  269. <para>
  270. There are no particular options for this barcode.
  271. </para>
  272. <note>
  273. <para>
  274. If the number of characters is lower than 8,
  275. <classname>Zend_Barcode_Object_Ean8</classname> will automatically
  276. prepend the missing zero to the barcode text.
  277. </para>
  278. </note>
  279. </sect3>
  280. <sect3 id="zend.barcode.objects.details.ean13">
  281. <title>Zend_Barcode_Object_Ean13</title>
  282. <para>
  283. <inlinegraphic width="113" align="center" valign="middle"
  284. fileref="figures/zend.barcode.objects.details.ean13.png" format="PNG"/>
  285. </para>
  286. <itemizedlist>
  287. <listitem>
  288. <para>
  289. <emphasis>Name:</emphasis> <acronym>EAN</acronym>-13
  290. </para>
  291. </listitem>
  292. <listitem>
  293. <para>
  294. <emphasis>Allowed characters:</emphasis> '0123456789'
  295. </para>
  296. </listitem>
  297. <listitem>
  298. <para>
  299. <emphasis>Checksum:</emphasis> mandatory (modulo 10)
  300. </para>
  301. </listitem>
  302. <listitem>
  303. <para>
  304. <emphasis>Length:</emphasis> 13 characters (including checksum)
  305. </para>
  306. </listitem>
  307. </itemizedlist>
  308. <para>
  309. There are no particular options for this barcode.
  310. </para>
  311. <note>
  312. <para>
  313. If the number of characters is lower than 13,
  314. <classname>Zend_Barcode_Object_Ean13</classname> will automatically
  315. prepend the missing zero to the barcode text.
  316. </para>
  317. <para>
  318. The option <property>withQuietZones</property> has no effect with this barcode.
  319. </para>
  320. </note>
  321. </sect3>
  322. <sect3 id="zend.barcode.objects.details.code39">
  323. <title>Zend_Barcode_Object_Code39</title>
  324. <para>
  325. <inlinegraphic width="275" align="center" valign="middle"
  326. fileref="figures/zend.barcode.introduction.example-1.png" format="PNG"/>
  327. </para>
  328. <itemizedlist>
  329. <listitem>
  330. <para>
  331. <emphasis>Name:</emphasis> Code 39
  332. </para>
  333. </listitem>
  334. <listitem>
  335. <para>
  336. <emphasis>Allowed characters:</emphasis>
  337. '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ -.$/+%'
  338. </para>
  339. </listitem>
  340. <listitem>
  341. <para>
  342. <emphasis>Checksum:</emphasis> optional (modulo 43)
  343. </para>
  344. </listitem>
  345. <listitem>
  346. <para>
  347. <emphasis>Length:</emphasis> variable
  348. </para>
  349. </listitem>
  350. </itemizedlist>
  351. <note>
  352. <para>
  353. <classname>Zend_Barcode_Object_Code39</classname> will automatically add
  354. the start and stop characters ('*') for you.
  355. </para>
  356. </note>
  357. <para>
  358. There are no particular options for this barcode.
  359. </para>
  360. </sect3>
  361. <sect3 id="zend.barcode.objects.details.identcode">
  362. <title>Zend_Barcode_Object_Identcode</title>
  363. <para>
  364. <inlinegraphic width="137" align="center" valign="middle"
  365. fileref="figures/zend.barcode.objects.details.identcode.png" format="PNG"/>
  366. </para>
  367. <para>
  368. This barcode extends <classname>Zend_Barcode_Object_Code25interleaved</classname>
  369. (Code 2 of 5 Interleaved), and inherits some of its capabilities; it also has a few
  370. particulars of its own.
  371. </para>
  372. <itemizedlist>
  373. <listitem>
  374. <para>
  375. <emphasis>Name:</emphasis> Identcode (Deutsche Post Identcode)
  376. </para>
  377. </listitem>
  378. <listitem>
  379. <para>
  380. <emphasis>Allowed characters:</emphasis> '0123456789'
  381. </para>
  382. </listitem>
  383. <listitem>
  384. <para>
  385. <emphasis>Checksum:</emphasis> mandatory (modulo 10 different from Code25)
  386. </para>
  387. </listitem>
  388. <listitem>
  389. <para>
  390. <emphasis>Length:</emphasis> 12 characters (including checksum)
  391. </para>
  392. </listitem>
  393. </itemizedlist>
  394. <para>
  395. There are no particular options for this barcode.
  396. </para>
  397. <note>
  398. <para>
  399. If the number of characters is lower than 12,
  400. <classname>Zend_Barcode_Object_Identcode</classname> will automatically prepend
  401. missing zeros to the barcode text.
  402. </para>
  403. </note>
  404. </sect3>
  405. <sect3 id="zend.barcode.objects.details.itf14">
  406. <title>Zend_Barcode_Object_Itf14</title>
  407. <para>
  408. <inlinegraphic width="155" align="center" valign="middle"
  409. fileref="figures/zend.barcode.objects.details.itf14.png" format="PNG"/>
  410. </para>
  411. <para>
  412. This barcode extends <classname>Zend_Barcode_Object_Code25interleaved</classname>
  413. (Code 2 of 5 Interleaved), and inherits some of its capabilities; it also has a few
  414. particulars of its own.
  415. </para>
  416. <itemizedlist>
  417. <listitem>
  418. <para>
  419. <emphasis>Name:</emphasis> <acronym>ITF</acronym>-14
  420. </para>
  421. </listitem>
  422. <listitem>
  423. <para>
  424. <emphasis>Allowed characters:</emphasis> '0123456789'
  425. </para>
  426. </listitem>
  427. <listitem>
  428. <para>
  429. <emphasis>Checksum:</emphasis> mandatory (modulo 10)
  430. </para>
  431. </listitem>
  432. <listitem>
  433. <para>
  434. <emphasis>Length:</emphasis> 14 characters (including checksum)
  435. </para>
  436. </listitem>
  437. </itemizedlist>
  438. <para>
  439. There are no particular options for this barcode.
  440. </para>
  441. <note>
  442. <para>
  443. If the number of characters is lower than 14,
  444. <classname>Zend_Barcode_Object_Itf14</classname> will automatically prepend
  445. missing zeros to the barcode text.
  446. </para>
  447. </note>
  448. </sect3>
  449. <sect3 id="zend.barcode.objects.details.leitcode">
  450. <title>Zend_Barcode_Object_Leitcode</title>
  451. <para>
  452. <inlinegraphic width="155" align="center" valign="middle"
  453. fileref="figures/zend.barcode.objects.details.leitcode.png" format="PNG"/>
  454. </para>
  455. <para>
  456. This barcode extends <classname>Zend_Barcode_Object_Identcode</classname>
  457. (Deutsche Post Identcode), and inherits some of its capabilities; it also has a few
  458. particulars of its own.
  459. </para>
  460. <itemizedlist>
  461. <listitem>
  462. <para>
  463. <emphasis>Name:</emphasis> Leitcode (Deutsche Post Leitcode)
  464. </para>
  465. </listitem>
  466. <listitem>
  467. <para>
  468. <emphasis>Allowed characters:</emphasis> '0123456789'
  469. </para>
  470. </listitem>
  471. <listitem>
  472. <para>
  473. <emphasis>Checksum:</emphasis> mandatory (modulo 10 different from Code25)
  474. </para>
  475. </listitem>
  476. <listitem>
  477. <para>
  478. <emphasis>Length:</emphasis> 14 characters (including checksum)
  479. </para>
  480. </listitem>
  481. </itemizedlist>
  482. <para>
  483. There are no particular options for this barcode.
  484. </para>
  485. <note>
  486. <para>
  487. If the number of characters is lower than 14,
  488. <classname>Zend_Barcode_Object_Leitcode</classname> will automatically
  489. prepend missing zeros to the barcode text.
  490. </para>
  491. </note>
  492. </sect3>
  493. <sect3 id="zend.barcode.objects.details.planet">
  494. <title>Zend_Barcode_Object_Planet</title>
  495. <para>
  496. <inlinegraphic width="286" align="center" valign="middle"
  497. fileref="figures/zend.barcode.objects.details.planet.png" format="PNG"/>
  498. </para>
  499. <itemizedlist>
  500. <listitem>
  501. <para>
  502. <emphasis>Name:</emphasis> Planet (PostaL Alpha Numeric Encoding Technique)
  503. </para>
  504. </listitem>
  505. <listitem>
  506. <para>
  507. <emphasis>Allowed characters:</emphasis> '0123456789'
  508. </para>
  509. </listitem>
  510. <listitem>
  511. <para>
  512. <emphasis>Checksum:</emphasis> mandatory (modulo 10)
  513. </para>
  514. </listitem>
  515. <listitem>
  516. <para>
  517. <emphasis>Length:</emphasis> 12 or 14 characters (including checksum)
  518. </para>
  519. </listitem>
  520. </itemizedlist>
  521. <para>
  522. There are no particular options for this barcode.
  523. </para>
  524. </sect3>
  525. <sect3 id="zend.barcode.objects.details.postnet">
  526. <title>Zend_Barcode_Object_Postnet</title>
  527. <para>
  528. <inlinegraphic width="286" align="center" valign="middle"
  529. fileref="figures/zend.barcode.objects.details.postnet.png" format="PNG"/>
  530. </para>
  531. <itemizedlist>
  532. <listitem>
  533. <para>
  534. <emphasis>Name:</emphasis> Postnet (POSTal Numeric Encoding Technique)
  535. </para>
  536. </listitem>
  537. <listitem>
  538. <para>
  539. <emphasis>Allowed characters:</emphasis> '0123456789'
  540. </para>
  541. </listitem>
  542. <listitem>
  543. <para>
  544. <emphasis>Checksum:</emphasis> mandatory (modulo 10)
  545. </para>
  546. </listitem>
  547. <listitem>
  548. <para>
  549. <emphasis>Length:</emphasis> 6, 7, 10 or 12 characters (including checksum)
  550. </para>
  551. </listitem>
  552. </itemizedlist>
  553. <para>
  554. There are no particular options for this barcode.
  555. </para>
  556. </sect3>
  557. <sect3 id="zend.barcode.objects.details.royalmail">
  558. <title>Zend_Barcode_Object_Royalmail</title>
  559. <para>
  560. <inlinegraphic width="158" align="center" valign="middle"
  561. fileref="figures/zend.barcode.objects.details.royalmail.png" format="PNG"/>
  562. </para>
  563. <itemizedlist>
  564. <listitem>
  565. <para>
  566. <emphasis>Name:</emphasis> Royal Mail or <acronym>RM4SCC</acronym> (Royal Mail
  567. 4-State Customer Code)
  568. </para>
  569. </listitem>
  570. <listitem>
  571. <para>
  572. <emphasis>Allowed characters:</emphasis> '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  573. </para>
  574. </listitem>
  575. <listitem>
  576. <para>
  577. <emphasis>Checksum:</emphasis> mandatory
  578. </para>
  579. </listitem>
  580. <listitem>
  581. <para>
  582. <emphasis>Length:</emphasis> variable
  583. </para>
  584. </listitem>
  585. </itemizedlist>
  586. <para>
  587. There are no particular options for this barcode.
  588. </para>
  589. </sect3>
  590. <sect3 id="zend.barcode.objects.details.upca">
  591. <title>Zend_Barcode_Object_Upca</title>
  592. <para>
  593. <inlinegraphic width="115" align="center" valign="middle"
  594. fileref="figures/zend.barcode.objects.details.upca.png" format="PNG"/>
  595. </para>
  596. <para>
  597. This barcode extends <classname>Zend_Barcode_Object_Ean13</classname>
  598. (<acronym>EAN</acronym>-13), and inherits some of its capabilities; it also has a few
  599. particulars of its own.
  600. </para>
  601. <itemizedlist>
  602. <listitem>
  603. <para>
  604. <emphasis>Name:</emphasis> <acronym>UPC</acronym>-A (Universal Product Code)
  605. </para>
  606. </listitem>
  607. <listitem>
  608. <para>
  609. <emphasis>Allowed characters:</emphasis> '0123456789'
  610. </para>
  611. </listitem>
  612. <listitem>
  613. <para>
  614. <emphasis>Checksum:</emphasis> mandatory (modulo 10)
  615. </para>
  616. </listitem>
  617. <listitem>
  618. <para>
  619. <emphasis>Length:</emphasis> 12 characters (including checksum)
  620. </para>
  621. </listitem>
  622. </itemizedlist>
  623. <para>
  624. There are no particular options for this barcode.
  625. </para>
  626. <note>
  627. <para>
  628. If the number of characters is lower than 12,
  629. <classname>Zend_Barcode_Object_Upca</classname> will automatically
  630. prepend missing zeros to the barcode text.
  631. </para>
  632. <para>
  633. The option <property>withQuietZones</property> has no effect with this barcode.
  634. </para>
  635. </note>
  636. </sect3>
  637. <sect3 id="zend.barcode.objects.details.upce">
  638. <title>Zend_Barcode_Object_Upce</title>
  639. <para>
  640. <inlinegraphic width="71" align="center" valign="middle"
  641. fileref="figures/zend.barcode.objects.details.upce.png" format="PNG"/>
  642. </para>
  643. <para>
  644. This barcode extends <classname>Zend_Barcode_Object_Upca</classname>
  645. (<acronym>UPC</acronym>-A), and inherits some of its capabilities; it also has a few
  646. particulars of its own. The first character of the text to encode
  647. is the system (0 or 1).
  648. </para>
  649. <itemizedlist>
  650. <listitem>
  651. <para>
  652. <emphasis>Name:</emphasis> <acronym>UPC</acronym>-E (Universal Product Code)
  653. </para>
  654. </listitem>
  655. <listitem>
  656. <para>
  657. <emphasis>Allowed characters:</emphasis> '0123456789'
  658. </para>
  659. </listitem>
  660. <listitem>
  661. <para>
  662. <emphasis>Checksum:</emphasis> mandatory (modulo 10)
  663. </para>
  664. </listitem>
  665. <listitem>
  666. <para>
  667. <emphasis>Length:</emphasis> 8 characters (including checksum)
  668. </para>
  669. </listitem>
  670. </itemizedlist>
  671. <para>
  672. There are no particular options for this barcode.
  673. </para>
  674. <note>
  675. <para>
  676. If the number of characters is lower than 8,
  677. <classname>Zend_Barcode_Object_Upce</classname> will automatically
  678. prepend missing zeros to the barcode text.
  679. </para>
  680. </note>
  681. <note>
  682. <para>
  683. If the first character of the text to encode is not 0 or 1,
  684. <classname>Zend_Barcode_Object_Upce</classname> will automatically
  685. replace it by 0.
  686. </para>
  687. <para>
  688. The option <property>withQuietZones</property> has no effect with this barcode.
  689. </para>
  690. </note>
  691. </sect3>
  692. </sect2>