1 DATECS
DPP-350
Programmer’s manual VER.1.50
29
‘
F
’ - Fa
‘
G
’ - Sol
‘
A
’ - La
‘
B
’ – Si
If immediately after the note comes character ‘
#
’, then the note is higher in pitch by a semitone (
sharp
).
If immediately after the note comes character ‘
&
’, then the note is lower in pitch by a semitone (
flat
).
•
Pause: Character space (ASCII 20h).
After a note or pause there can be one or a few bytes, which specify the duration. Valid are characters
from ‘0’ to ‘5’, they have the following meaning:
‘
0
’
basic duration of a note/pause
‘
1
’
basic duration * 2
‘
2
’
basic duration * 4
‘
3
’
basic duration * 8
‘
4
’
basic duration * 16
‘
5
’
basic duration * 32
If there are a few durations one after another they are summed up.
•
Going to higher scale: character ‘
+
’.
•
Going to lower scale: character ‘-‘.
•
Specifying tempo: character ‘
^
’, followed by a number. The number specifies the percentage: duration
of notes and intervals to basic duration. Values:
‘
1
’
200 %
‘
2
’
175 %
‘
3
’
140 %
‘
4
’
120 %
‘
5
’
100 %
‘
6
’
80 %
‘
7
’
60 %
‘
8
’
50 %
‘
9
’
40 %
•
Return to scale 1 (it is default). Character ‘
@
’. Tone ‘La’ in it is 440 Hz.
It is recommended that the data ends with ASCII code
03h
, although any other non-printing character
will also stop the command.
72.
Reading current printer settings (
ESC s
)
Code:
[1Bh] + [73h] + n
This command returns current settings or loaded data in printer. Possible values for
n
:
0
or ‘
0
’: Current settings from flash memory are returned in following order:
•
Hardware switches - 4 digits
0
or
1
.
•
Memory switches -10 digits
0
or
1
.
•
Serial port speed (bauds) – an integer.
•
Country number (from command ESC R) – an integer.
•
Current character table (from command ESC u) – an integer.
•
Print density (from command ESC Y) – an integer.
•
Print speed (from command ESC X) – an integer.
•
Power off time (from command ESC x) – an integer (in minutes).
•
EURO symbol position (from command ESC #) – an integer from 0 to 255.