how to get the port number of label printer

R Radwan Shaykho 2 years 11 months ago
881 2 0

Hi, Is there an API call to get the Print Port number by using the printer TCP/IP address? GX420T/GX430T Zebra 110Xi4 Zebra R110Xi4 Zebra 170Xi4 Zebra TLP 2844-Z/3844-Z Zebra 170XiII Plus Thank you Rad

Please register or login to post a reply

2 Replies

V Vedsatx Saddvv

By default, the primary port is 6101 and the alternate port is 9100. They can be retrieved through the following SGD commands.
! U1 getvar "ip.port"
! U1 getvar "ip.port_alternate"

R Radwan Shaykho

Thank you Steven!!!

CONTACT
Can’t find what you’re looking for?