Image_Barcode2
[ class tree: Image_Barcode2 ] [ index: Image_Barcode2 ] [ all elements ]

Source for file test-image-barcode.php

Documentation is available at test-image-barcode.php

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.   <title>Image_Barcode Class Test</title>
  5.   <style type="text/css">
  6.     body {
  7.         font-family: Verdana;
  8.         font-size: 10pt;
  9.     }
  10.     h1 {
  11.             font-size: 14pt;
  12.     }
  13.     h2 {
  14.             font-size: 12pt;
  15.     }
  16.     .box {
  17.         border: 1px solid rgb(15, 169, 229) ! important; 
  18.         margin: 10px ! important; 
  19.         padding: 10px ! important; 
  20.         font-size: 0.9em ! important;
  21.         font-weight: normal ! important;
  22.         text-decoration: none !  important;
  23.         line-height: 1.5em ! important;
  24.         color: rgb(0, 0, 0) ! important;
  25.         background-color: rgb(231, 244, 252) ! important;
  26.         white-space: normal !  important;
  27.         cursor: pointer ! important;
  28.     }
  29.     .test {
  30.         border: 1px solid;
  31.         margin: 10px ! important;
  32.         padding: 10px ! important; 
  33.     }
  34.   </style>
  35. </head>
  36. <body style="background-color: #FFFFFF;">
  37.  
  38. <div class="box">
  39. <h1>Image_Barcode2 Class test</h1>
  40. </div>
  41.  
  42. <div class="test">
  43. <h2>Interleave 2 of 5 (png):</h2>
  44. <img src="barcode_img.php?num=1234567895&type=int25&imgtype=png"
  45.  alt="PNG: 1234567895" title="PNG: 1234567895"/>
  46. </div>
  47.  
  48. <div class="test">
  49. <h2>Ean13 (png):</h2>
  50. <img
  51.  src="barcode_img.php?num=1234567891231&type=ean13&imgtype=png"
  52.  alt="PNG: 1234567891231" title="PNG: 1234567891231"/>
  53. </div>
  54.  
  55. <div class="test">
  56. <h2>Ean8 (png):</h2>
  57. <img
  58.  src="barcode_img.php?num=12345670&type=ean8&imgtype=png"
  59.  alt="PNG: 12345670" title="PNG: 12345670"/>
  60. </div>
  61.  
  62. <div class="test">
  63. <h2>Code39 (png):</h2>
  64. <img
  65.  src="barcode_img.php?num=BARCODE&type=Code39&imgtype=png"
  66.  alt="PNG: BARCODE" title="PNG: BARCODE"/>
  67. </div>
  68.  
  69. <div class="test">
  70. <h2>UPC-A (png):</h2>
  71. <img
  72.  src="barcode_img.php?num=123456789128&type=upca&imgtype=png"
  73.  alt="PNG: 123456789128" title="PNG: 123456789128"/>
  74. </div>
  75.  
  76. <div class="test">
  77. <h2>UPC-E (png):</h2>
  78. <img
  79.  src="barcode_img.php?num=01507113&type=upce&imgtype=png"
  80.  alt="PNG: 12345678" title="PNG: 12345678"/>
  81. </div>
  82.  
  83. <div class="test">
  84. <h2>Code128 (png):</h2>
  85. <img
  86.  src="barcode_img.php?num=barcode&type=code128&imgtype=png"
  87.  alt="PNG: barcode" title="PNG: barcode"/>
  88. </div>
  89.  
  90. <div class="test">
  91. <h2>PostNet (png):</h2>
  92. <img
  93.  src="barcode_img.php?num=202609900&type=postnet&imgtype=png"
  94.  alt="PNG: 202609900" title="PNG: 202609900"/>
  95. </div>
  96.  
  97. </body>
  98. </html>

Documentation generated on Mon, 11 Mar 2019 15:53:03 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.