8 Replies Latest reply on Jan 28, 2019 10:26 AM by Dmitry Prokhorov

    TCP/IP: the specified port number is not working, the default one does..

    Berkay Aras

      I have couple of  printers GK420t and GK420d. I change the ip-adress to permanent.

       

      ! U1 setvar "internal_wired.ip.protocol" "permanent"
      ! U1 setvar "internal_wired.ip.addr" "192.168.187.33"

      ! U1 setvar "internal_wired.ip.netmask" "255.255.255.0"

      ! U1 setvar "internal_wired.ip.port" "3000"

       

      ! U1 getvar "internal_wired.ip.protocol"
      ! U1 getvar "internal_wired.ip.addr"
      ! U1 getvar "internal_wired.ip.netmask"

      ! U1 getvar "internal_wired.ip.port"

       

      I see that the feedback I got is right. (gives right IP and port)

       

      When trying to communicatie over TCP/IP. I try to use 3000 but it is not working. Default one does work (9100)

       

      "192.168.187.33" and 9100 = working

      "192.168.187.33" and 3000 = not working

       

      For my application I need to use 3000, I dont have alternative

        • Re: TCP/IP: the specified port number is not working, the default one does..
          Dmitry Prokhorov

          Hello Berkay,

           

          Have you tried to reboot your printer?

           

          Dmitry Prokhorov

          Software Engineer, Kutir Mobility

          Posted on behalf of Zebra Technologies

              • Re: TCP/IP: the specified port number is not working, the default one does..
                Dmitry Prokhorov

                Hello Berkay,

                 

                Could you please to execute following command and share results here:

                ! U1 getvar "allcv"

                 

                You can capture result following advice in this article: Using the SGD Allcv Command ! U1 getvar "allcv" <CR>

                 

                Dmitry Prokhorov

                Software Engineer, Kutir Mobility

                Posted on behalf of Zebra Technologies

                  • Re: TCP/IP: the specified port number is not working, the default one does..
                    Berkay Aras

                    netmanage.status_code : 0

                    netmanage.state_code : 0

                    netmanage.error_code : 0

                    netmanage.avalanche

                    netmanage.msp

                    zbi.

                    zbi.revision : ZBI Version 2.1

                    zbi.state : off

                    zbi.last_error : off

                    zbi.start_info.

                    zbi.start_info.file_name : *:\.BAZ

                    zbi.start_info.memory_alloc : 0

                    zbi.start_info.execute

                    zbi.control.

                    zbi.control.terminate

                    zbi.control.run

                    zbi.control.break

                    zbi.control.restart

                    zbi.control.step

                    zbi.control.variable_name : ?

                    zbi.control.variable_value : ?

                    zbi.control.add_breakpoint

                    zbi.control.delete_breakpoint

                    zbi.control.clear_breakpoints

                    zbi.control.line_number : 0

                    zbi.reseller_key

                    zbi.key : DISABLED 

                    zbi.running_program_name : 

                    zbi.key_version : 1.1

                    internal_wired.

                    internal_wired.ip.

                    internal_wired.ip.addr : 192.168.187.33

                    internal_wired.ip.netmask : 255.255.255.0

                    internal_wired.ip.gateway : 0.0.0.0

                    internal_wired.ip.port : 3000

                    internal_wired.ip.arp_interval : 0

                    internal_wired.ip.dhcp.

                    internal_wired.ip.dhcp.requests_per_session : 2 , Choices: 1-10

                    internal_wired.ip.dhcp.request_timeout : 2 , Choices: 2-30

                    internal_wired.ip.dhcp.session_interval : 10 , Choices: 0-60

                    internal_wired.ip.dhcp.lease.

                    internal_wired.ip.dhcp.lease.length : 0

                    internal_wired.ip.dhcp.lease.time_left : 0

                    internal_wired.ip.dhcp.lease.server : 0.0.0.0

                    internal_wired.ip.dhcp.lease.last_attempt : 0

                    internal_wired.ip.dhcp.cache_ip : off , Choices: on,off

                    internal_wired.ip.dhcp.cid_type : 1

                    internal_wired.ip.dhcp.cid_prefix : 

                    internal_wired.ip.dhcp.cid_enable : off , Choices: on,off

                    internal_wired.ip.dhcp.cid_suffix : 00074d47be73

                    internal_wired.ip.dhcp.cid_all : 00074d47be73

                    internal_wired.ip.dhcp.option12 : on , Choices: on,off

                    internal_wired.ip.dhcp.option12_format : 

                    internal_wired.ip.dhcp.option12_value : ZBR4701811

                    internal_wired.ip.protocol : permanent

                    internal_wired.ip.default_addr_enable : on

                    internal_wired.ip.timeout.

                    internal_wired.ip.timeout.enable : on

                    internal_wired.ip.timeout.value : 300

                    internal_wired.ip.wins.

                    internal_wired.ip.wins.addr : 0.0.0.0

                    internal_wired.ip.wins.permanent_source : off

                    internal_wired.mac_addr : 00:07:4d:47:be:73

                    internal_wired.mac_raw : 00074d47be73

                    internal_wired.auto_switchover : off , Choices: on,off

                    external_wired.

                    external_wired.ip.

                    external_wired.ip.addr : 0.0.0.0

                    external_wired.ip.netmask : 255.255.255.0

                    external_wired.ip.gateway : 0.0.0.0

                    external_wired.ip.port : 9100

                    external_wired.ip.arp_interval : 0

                    external_wired.ip.protocol : all

                    external_wired.ip.default_addr_enable : on

                    external_wired.ip.timeout.

                    external_wired.ip.timeout.enable : on

                    external_wired.ip.timeout.value : 300

                    external_wired.ip.wins.

                    external_wired.ip.wins.addr : 0.0.0.0

                    external_wired.ip.wins.permanent_source : off

                    external_wired.ip.v6.

                    external_wired.ip.v6.addr : 

                    external_wired.ip.v6.prefix_length : 0

                    external_wired.ip.v6.gateway : 

                    external_wired.mac_addr : 00:00:00:00:00:00

                    external_wired.mac_raw : 000000000000

                    external_wired.check : on , Choices: on,off

                    rfid.

                    rfid.position.

                    rfid.position.program

                    rfid.error.

                    rfid.error.response

                    rfid.reader_1.

                    rfid.reader_1.antenna_port

                    rfid.reader_1.power.

                    rfid.reader_1.power.read

                    rfid.reader_1.power.write

                    rfid.reader_1.power.single_power

                    rfid.tag.

                    rfid.tag.type

                    rfid.tag.test

                    rfid.tag.calibrate

                    rfid.tag.data

                    interface.

                    interface.network.

                    interface.network.active.

                    interface.network.active.printserver : Internal Wired

                    interface.network.active.ip_addr : 192.168.187.33

                    interface.network.active.netmask : 255.255.255.0

                    interface.network.active.gateway : 0.0.0.0

                    interface.network.active.protocol : permanent

                    interface.network.active.mac_addr : 00:07:4d:47:be:73

                    interface.network.active.mac_raw : 00074d47be73

                    cutter.

                    cutter.clean_cutter : on , Choices: on,off

                    ""