Beispiel #1
0
 public static function code39($barcode)
 {
     if (!is_object(self::$PRINT_OBJ)) {
         $print_class = CoreLocal::get('ReceiptDriver');
         if ($print_class === '' || !class_exists($print_class)) {
             $print_class = 'ESCPOSPrintHandler';
         }
         self::$PRINT_OBJ = new $print_class();
     }
     return self::$PRINT_OBJ->BarcodeCODE39($barcode);
 }