I was unable to find a way to read value of label top position with any command.
However, you can try to use following SGD command to obtain label left position value:
! U1 getvar "zpl.left_position"
You can see details here: https://www.zebra.com/content/dam/zebra/manuals/printers/common/programming/zpl-zbi2-pm-en.pdf#page=973
Also you may need to check printer compatibility information on page 1405 of mentioned document.
Software Engineer, Kutir Mobility
Posted on behalf of Zebra Technologies
For get/set label top position, use the following SGD commands:
! U1 getvar "zpl.label_top" ! U1 setvar "zpl.label_top" "100"
For get/set label left position, use the follwoing SGD commands:
! U1 getvar "zpl.left_position" ! U1 setvar "zpl.left_position" "100"
Hope this helps.