Ethernet Setup Commands; Restore Default Settings; Set Ip Address; Set Net Mask - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

134
Chapter 4: Programming Commands

Ethernet setup commands

The following commands are designed to set the required printer internal parameters for Ethernet operation. The
commands can be used only in flash download mode. See User Guide for default setup.

Restore default settings

ASCII
US BS NUL
Hexadecimal
1F 08 00
Decimal
31 8 0
Restores the Ethernet settings to the preset values.
Default settings are:
IP address:
192.0.0.192
Net mask:
0.0.0.0
Gateway:
none
Raw TCPIP port 9001:
active
HTTP port 80:
active
DHCP:
enabled
Inactivity timeout:
disabled
Keep alive pings:
disabled

Set IP address

ASCII
US BS SOH n1 n2 n3 n4
Hexadecimal
1F 08 01
n1 n2 n3 n4
Decimal
31 8 1
n1 n2 n3 n4
Default:
192.0.0.192
Sets the IP address value specified by the values of n1 to n4.

Set Net Mask

ASCII
US BS STX n1 n2 n3 n4
Hexadecimal
1F 08 02 n1 n2 n3 n4
Decimal
31 8
2
n1 n2 n3 n4
Default:
0.0.0.0
Sets the Net Mask value specified by the values n1 to n4.

Set Gateway

ASCII
US BS ETX n1 n2 n3 n4
Hexadecimal
1F 08 03 n1 n2 n3 n4
Decimal
31 8 3
n1 n2 n3 n4
Default:
none
Sets the printer to the gateway having the IP address value specified by the values n1 to n4. A gateway, even when the
printer is on another subnet, is not always needed.
The printer initiates no connection and obtains the gateway address from the host packets.

Set raw TCP/IP port

ASCII
US BS EOT n1 n2
Hexadecimal
1F 08 04 n1 n2
Decimal
31 8
4
n1 n2
n1:
Low order byte of port #
n2:
High order byte of port #
Default:
Port = 9001
Sets the port where the printer will look for raw TCP/IP communications. Setting port number to 0 disables raw TCP/IP
communications.
(in use after bootup timeout of two minutes)
(default mask of selected IP is used)
A799-2PG0001B 4/2016

Advertisement

Table of Contents
loading

Table of Contents