how to get the port number of label printer

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

Anonymous (not verified)
By default, the primary port

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"

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Radwan Shaykho
Thank you Steven!!!

Thank you Steven!!!

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments