Home > Net >  How to send ZPL commands to the zebra printer
How to send ZPL commands to the zebra printer

Time:11-11

ZPL command print support dynamic script parameters,
The following template file, for example, how to parse into printer can identify the script

==================================
! DECLARE @ CURRENTY_SAVE @ NUMERIC=140
! DECLARE @ CURRENTY @ NUMERIC=0
! DECLARE @ X_PARTNO @ NUMERIC=60
! DECLARE @ X_PARTDESC @ NUMERIC=410
! DECLARE @ X_QTY @ NUMERIC=1130
^ XA

^ LH0, 0

! FOR the DATATYPE=KEYPART
^ FO @ X_PARTNO @, @ CURRENTY @ ^ A0N, 36 4 ^ FD @ PARTNO @ ^ FS
^ FO @ X_PARTDESC @, @ CURRENTY @ ^ A0N, 36 4 ^ FD @ PARTDESC @ ^ FS
^ FO @ X_QTY @, @ CURRENTY @ ^ A0N, 36 4 ^ FD @ QTY @ ^ FS
! The SET @ CURRENTY @=@ CURRENTY @ + 60
! NEXT

! IF @ MULTIPLE_LABEL_LAST @='
^ XZ
! ENDIF

CodePudding user response:

https://blog.csdn.net/aYsd32/article/details/107576185? Utm_medium=distribute. Pc_relevant_bbs_down. None - task - blog - baidujs - 1. Nonecase& Depth_1 - utm_source=distribute. Pc_relevant_bbs_down. None - task - blog - baidujs - 1. Nonecase
  •  Tags:  
  • C#
  • Related