Outputting Text Strings; Displaytext() Stx Command; Displaytext2() Stx Command - Jetter JC-3 Series Manual

Application-oriented
Table of Contents

Advertisement

Jetter AG
STX commands
Declaration
Parameter
How to use this
command
Operating principle
Declaration
Parameter
Application-oriented manual – Control of alphanumeric HMIs (LCD) and printers

4.4 Outputting text strings

To output text strings, use the following STX commands (STX functions):
DisplayText()
DisplayText2()

4.4.1 DisplayText() STX command

Function
DisplayText(Dev:Int,
                Pos:Int,
                Const Ref
Parameter
Value
Dev
8 ... 11
Pos
Not relevant
Text
Text string to be out-
put
Tab. 55: DisplayText() parameter
Command-line syntax for outputting text strings to a printer module:
DisplayText(8,0,
DisplayText(8, 0, StringVar);
The first command outputs text string 'Hello World!' the printer module. The sec-
ond STX command outputs the content of the string variable StringVar.
The application program task stops at the DisplayText() command waiting for
the entire text to be output.

4.4.2 DisplayText2() STX command

Function
DisplayText2(Dev:Int,
                Pos:Int,
                Const Ref
                Const Ref
Parameter
Value
Dev
8 ... 11
Pos
Not relevant
Text1
Text string to be out-
put
Text2
Text string to be out-
put
Tab. 56: DisplayText2() parameter
Text:String);
Description
Number of the device where to output
the text strings
Is not evaluated
Hard-coded text, or name of a string
variable
"Hello
World!");
Text1:String)
Text2:String);
Description
Number of the device where to output
the text strings
Is not evaluated
Hard-coded text, or name of a string
variable
Hard-coded text, or name of a string
variable
Controlling printer and serial interfaces | 4
48

Advertisement

Table of Contents
loading

This manual is also suitable for:

Jc-4 series

Table of Contents