26
E-3202 Programmer’s Manual
Selecting justification
ESC a n
Left:
n=0 or 48
Center:
n=1 or 49
Right:
n=2 or 50
This command will justify the orientation of the printing. Accessing the command is the same as initializing the printer
command. Ctrl+P to enter the control key command, follow by ESC key.
This will give you the ESC character
In this command we will set the justification to center. For center justification we
use 1 or 49, in this program we will be using 1. Therefore n=1, insert this into the command by Ctrl+P and Ctrl A. The
character that should appear is
-. For reference see the ASCII Chart.
i.e.
←
a n
←
a (
Ctrl P+Ctrl A)
←
a
-
Up to this point we should have a program without any carriage returns as follows.
←
@
↔
!
←
a
-
The command is turned off by inserting a Nul value into the command. This will justify the printer to left.
☞
Please note that if we were to press RETURN (ENTER) after this command, the printer will
feed one line and then start printing. As the program is now it will start printing without
feeding one line. When pressing ENTER in a program the printer will see it as a CR
(carriage return) and a LF (Line Feed). This tip will apply to the next few lines of commands.
Inserting Text into the program
Following the previous command insert the Text we would like to print. At this point we use the RETURN (ENTER) key
to insert carriage returns into our program. This Text will all be printed center justified.
←
@
↔
!
←
a
-
Datamax Corporation
<CR>
Matt & Derek
<CR>
European Tech Support
<CR>
Feb 2000
<CR>
DMX-E-3202
<CR>
POS/Label Printer
<CR>
ESC/POS Print Examples
<CR>
Содержание E-class E-3202
Страница 3: ......
Страница 5: ...ii...
Страница 9: ...4 E 3202 Programmer s Manual...
Страница 15: ...10 E 3202 Programmer s Manual...
Страница 23: ...18 E 3202 Programmer s Manual...
Страница 25: ...20 E 3202 Programmer s Manual...
Страница 35: ...30 E 3202 Programmer s Manual Table 850 Table 852...
Страница 36: ...E 3202 Programmer s Manual 31 Table 857 Table 860...
Страница 37: ...32 E 3202 Programmer s Manual Table 861 Table 863...
Страница 38: ...E 3202 Programmer s Manual 33 Table 869...