Print Mode
CP 523
6.4.4
Spaceholders for Control Parameters
You can configure printer control parameters in three ways in the message text:
•
Entry with the ^ character (CTRL key)
•
Entry with the spaceholder Sa, b
•
Direct entry with data format KH
Entry with the "^" character
If the module encounters the "^" character when evaluating the message texts, it automatically
subtracts 40
H
from the next character.
Example:
Selecting double-width type on the PT 88.
Double-width type is selected on the PT 88 printer with the ESC 8 command.
The "ESC" control character has the ASCII code 1B
H
. Find the ASCII character with
the code 1B
H
+40
H
= 5B
H
in the ASCII code table. It is the character "[".
Entry in message text: ^[8.
Explanation:
The module detects the character "^".
40
H
is subtracted from the ASCII code of the next character "[" (5B
H
):
5B
H
- 40
H
=1B
H
.
1B
H
is the ASCII code for the control character "ESC". The module instructs the
printer to execute the "ESC 8" job, i.e. select double-width type.
Example:
Configuring a message text with a spaceholder for control parameters (^ entry).
You want to store the following message text in DB 5:
Message text 50: <Double-width type on> Monthly overview <Double-width type off>
Explanation
Entry on the PG 685 for DB 5
Message text number 50, separator ":",
select character string for double-width
type, deselect character string for double-
width type
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
:
KS = '50:
ˆ
[8
Monthly overviewˆ[<$';
:
6-20
EWA 4NEB 811 6044-02a