コード例 #1
0
ファイル: Code39.php プロジェクト: moxymokaya/inoERP
 /**
  * Class constructor
  *
  * @param Image_Barcode2_Writer $writer Library to use.
  */
 public function __construct(Image_Barcode2_Writer $writer)
 {
     parent::__construct($writer);
     $this->setBarcodeHeight(50);
     $this->setBarcodeWidthThin(1);
     $this->setBarcodeWidthThick(3);
 }
コード例 #2
0
ファイル: Postnet.php プロジェクト: pizar/gaia
 /**
  * Class constructor
  *
  * @param Image_Barcode2_Writer $writer Library to use.
  */
 public function __construct(Image_Barcode2_Writer $writer)
 {
     parent::__construct($writer);
     $this->setBarcodeWidth(2);
 }