|
|
@@ -77,8 +77,8 @@ class PlantCgController extends BaseController
|
|
|
$goodsSn = $item->goodsSn ?? '';
|
|
|
$price = floatval($item->price) ?? 0;
|
|
|
$content = '<TEXT x="30" y="30" font="12" w="2" h="2" r="0">' . $name . '</TEXT>';
|
|
|
- $content .= '<BC128 x="30" y="110" h="75" s="1" r="0" n="3" w="10">' . $goodsSn . '</BC128>';
|
|
|
- $content .= '<TEXT x="30" y="260" font="11" w="2" h="2" r="0">' . $price . '元</TEXT>';
|
|
|
+ $content .= '<BC128 x="30" y="110" h="75" s="1" r="0" n="4" w="11">' . $goodsSn . '</BC128>';
|
|
|
+ $content .= '<TEXT x="30" y="260" font="10" w="2" h="2" r="0">' . $price . '元</TEXT>';
|
|
|
$p->times = $num;
|
|
|
$p->printLabelMsg($content);
|
|
|
util::complete();
|