色带夹编程命令

色带夹编程命令

此 Zebra 打印机系列中的色带夹打印机提供了多个 Set Get Do (SGD) 编程命令,用以支持色带夹的使用。
有关 SGD 命令(尤其是 SGD 色带夹命令)的更多详细信息,请参阅《ZPL Programming Guide》(ZPL 编程指南)。该指南可从 zebra.com/manuals 下载。
以下是 SGD 色带夹命令示例:
! U1 getvar "device.feature.ribbon_cartridge" ! U1 getvar "ribbon.cartridge.part_number" ! U1 getvar "ribbon.cartridge.authenticated" ! U1 getvar "ribbon.cartridge.length_remaining" ! U1 getvar "ribbon.cartridge.serial_number" ! U1 getvar "ribbon.cartridge.width" ! U1 getvar "ribbon.cartridge.type" ! U1 getvar "ribbon.cartridge.length" ! U1 getvar "ribbon.cartridge.inserted"
ribbon.ribbon_low.warning : 50 , Choices: off,5,10,15,25,50,75,100 ! U1 getvar "ribbon" ! U1 getvar "ribbon.ribbon_low.warning" ! U1 setvar "ribbon.ribbon_low.warning" "75" ! U1 setvar "ribbon.ribbon_low.warning" "off"
您可以使用 Zebra Setup Utilities 通过
Open Communication With Printer
(打开与打印机的通信)功能向打印机发送命令并接收来自打印机的状态反馈。