BTSend(lSetZPLMode&Chr(13))
BTSend(lSetNeverTimeout&Chr(13))
Dim lSensor1 As String ="! U1 setvar 'media.type' 'label'".Replace(Chr(39),Chr(34))
Dim lSensor2 As String ="! U1 setvar 'media.sense_mode' 'gap'".Replace(Chr(39),Chr(34))
Dim lSensor3 As String ="~jc^xa^jus^xz"
BTSend(lSensor1)
BTSend(lSensor2)
BTSend(lSensor3)
BTSend("^XA")
BTSend("^LH0,0")
BTSend("^FO20,80^AFN,24,0^FDDate / Time:^FS")
BTSend("^FO250,80^ABN,24,0^FD 12th December 2021 23:44:00 ^FS")
BTSend("^FO20,200^AFN,36,0^FDTag Number:^FS")
BTSend("^FO250,200^ABN,48,0^FD 123 ^FS")
BTSend("^FO20,290^AFN,36,0^FDCounted Qty:^FS")
BTSend("^FO250,290^ABN,36,0^FD 999 ^FS")
BTSend("^XZ")