Example #1
0
 /**
  * Class Constructor.
  * @param int $Width Image width in pixels.
  * @param int $Height Image height in pixels. 
  * @param int $Style Barcode style.
  * @param int $Value value to print on barcode.
  */
 public function __construct($Width, $Height, $Style, $Value)
 {
     parent::__construct($Width, $Height, $Style);
     $this->mValue = $Value;
     $this->mChars = array("00", "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99");
     $this->mCharSet = array("212222", "222122", "222221", "121223", "121322", "131222", "122213", "122312", "132212", "221213", "221312", "231212", "112232", "122132", "122231", "113222", "123122", "123221", "223211", "221132", "221231", "213212", "223112", "312131", "311222", "321122", "321221", "312212", "322112", "322211", "212123", "212321", "232121", "111323", "131123", "131321", "112313", "132113", "132311", "211313", "231113", "231311", "112133", "112331", "132131", "113123", "113321", "133121", "313121", "211331", "231131", "213113", "213311", "213131", "311123", "311321", "331121", "312113", "312311", "332111", "314111", "221411", "431111", "111224", "111422", "121124", "121421", "141122", "141221", "112214", "112412", "122114", "122411", "142112", "142211", "241211", "221114", "413111", "241112", "134111", "111242", "121142", "121241", "114212", "124112", "124211", "411212", "421112", "421211", "212141", "214121", "412121", "111143", "111341", "131141", "114113", "114311", "411113", "411311", "113141");
 }
Example #2
0
 /**
  * Class Constructor.
  * @param int $Width Image width in pixels.
  * @param int $Height Image height in pixels. 
  * @param int $Style Barcode style.
  * @param int $Value value to print on barcode.
  */
 public function __construct($Width, $Height, $Style, $Value)
 {
     parent::__construct($Width, $Height, $Style);
     $this->mValue = $Value;
     $this->mChars = " !\"#\$%&'()*+ยด-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_";
     $this->mCharSet = array("212222", "222122", "222221", "121223", "121322", "131222", "122213", "122312", "132212", "221213", "221312", "231212", "112232", "122132", "122231", "113222", "123122", "123221", "223211", "221132", "221231", "213212", "223112", "312131", "311222", "321122", "321221", "312212", "322112", "322211", "212123", "212321", "232121", "111323", "131123", "131321", "112313", "132113", "132311", "211313", "231113", "231311", "112133", "112331", "132131", "113123", "113321", "133121", "313121", "211331", "231131", "213113", "213311", "213131", "311123", "311321", "331121", "312113", "312311", "332111", "314111", "221411", "431111", "111224", "111422", "121124", "121421", "141122", "141221", "112214", "112412", "122114", "122411", "142112", "142211", "241211", "221114", "413111", "241112", "134111", "111242", "121142", "121241", "114212", "124112", "124211", "411212", "421112", "421211", "212141", "214121", "412121", "111143", "111341", "131141", "114113", "114311", "411113", "411311", "113141", "114131", "311141", "411131", "211412", "211214", "211232", "23311121");
 }
Example #3
0
 /**
  * Class Constructor.
  * @param int $Width Image width in pixels.
  * @param int $Height Image height in pixels. 
  * @param int $Style Barcode style.
  * @param int $Value value to print on barcode.
  */
 public function __construct($Width, $Height, $Style, $Value)
 {
     parent::__construct($Width, $Height, $Style);
     $this->mValue = $Value;
     $this->mChars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. *\$/+%";
     $this->mCharSet = array("000110100", "100100001", "001100001", "101100000", "000110001", "100110000", "001110000", "000100101", "100100100", "001100100", "100001001", "001001001", "101001000", "000011001", "100011000", "001011000", "000001101", "100001100", "001001100", "000011100", "100000011", "001000011", "101000010", "000010011", "100010010", "001010010", "000000111", "100000110", "001000110", "000010110", "110000001", "011000001", "111000000", "010010001", "110010000", "011010000", "010000101", "110000100", "011000100", "010010100", "010101000", "010100010", "010001010", "000101010");
 }
Example #4
0
 /**
  * Class Constructor.
  * @param int $Width Image width in pixels.
  * @param int $Height Image height in pixels. 
  * @param int $Style Barcode style.
  * @param int $Value value to print on barcode.
  */
 public function __construct($Width, $Height, $Style, $Value)
 {
     parent::__construct($Width, $Height, $Style);
     $this->mValue = $Value;
     $this->mCharSet = array("00110", "10001", "01001", "11000", "00101", "10100", "01100", "00011", "10010", "01010");
 }
Example #5
0
 /**
  * C128AObject constructor.
  * @param int $Width
  * @param int $Height
  * @param int $Style
  * @param $Value
  */
 public function __construct($Width, $Height, $Style, $Value)
 {
     parent::__construct($Width, $Height, $Style);
     $this->C128AObject($Width, $Height, $Style, $Value);
 }