how to get the port number of label printer

R Radwan Shaykho 3 years 7 months ago
1569 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

E Efkan YILMAZ

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?