Newland NLS-NQuire350 User Manual page 67

Customer information terminal
Table of Contents

Advertisement

3
Display a text, using the currently selected font set, on a calculated position on the screen.
<ALIGN>
DESCRIPTION
0x30
Left top
0x31
Center top
0x32
Right top
0x33
Left center
0x34
Center
0x35
Right center
0x36
Left bottom
0x37
Center bottom
0x38
Right bottom
<DATA> field has a maximum length of 25 characters. Use 0x03 (ETX) as the last character, if less
characters are used.
4
Please find below a list of font sizes which can be used directly in your application code as an alternative
to the set which can be configured on the "Messages" page through the Web-based Configuration Tool.
CODE
\x1b\x42\x32
6 pixels
\x1b\x42\x33
12 pixels
\x1b\x42\x34
18 pixels
\x1b\x42\x35
24 pixels
\x1b\x42\x36
30 pixels
\x1b\x42\x37
36 pixels
\x1b\x42\x38
42 pixels
\x1b\x42\x39
48 pixels
\x1b\x42\x3A
54 pixels
\x1b\x42\x3B
60 pixels
\x1b\x42\x3C
66 pixels
\x1b\x42\x3D
72 pixels
NQuire discovery protocol
The NQuire discovery protocol can be used to discover all NQuire devices in a network. Another function is
to get information about the available NQuires.
Protocol description
The server has to broadcast an UDP packet to the discovery port (239.255.255.250, port 19200) of the
NQuire, containing the following text: CIT-DISCOVER-REQUEST;
Version:1
The first line is a discovery packet identifier. The second line is the version of the discovery protocol.
All NQuires receiving the packet and implementing the sent version will respond by broadcasting the
following packet to 239.255.255.250, port 19200: CIT-DISCOVER-RESPONSE; Device name; Application
version; Application build nr; Serial number; IP-Address; MAC-Address.
FONT SIZE
<ALIGN>
0x39
Left, using current y-coordinate
0x3A
Center, using current y-coordinate
0x3B
Right, using current y-coordinate
0x3C
Top, using current x-coordinate
0x3D
Center, using current x-coordinate
0x3E
Bottom, using current x-coordinate
61
DESCRIPTION

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents