Intermec PX6i Intermec Printer Language (IPL) Developer's Guide (old) - Page 76

Example of Direct Graphics Commands, Hex Data File

Page 76 highlights

Chapter 4 - Advanced Printer Programming Example of Direct Graphics Commands This example consists of two parts: a graphic and a line. The origin of the direct graphic is defined the same as the origin of a normal graphic. In this example, the coordinates for the origin of the complex graphic are 0,450; however, once you enter Direct Graphics mode, your printer loads the information in the reverse y direction. Each column of the graphic loads from the bottom to the top. Y coordinates now start at 0 from the bottom left corner and increase in size as the data loads. So, the printer starts loading data for the complex graphic at 0,450 and loads up to 0,425. Likewise, the data for the line starts loading at 19,450 and loads up to 19,0. Origin (0,0) 450 25 25 24 24 23 23 22 22 21 21 20 20 19 19 18 18 17 17 16 16 15 15 14 14 13 13 12 12 11 11 10 10 9 9 8 8 7 7 6 6 5 5 4 4 3 3 2 2 1 1 0 0 0 1 2 3 4 5 6 19 0,450 19,450 Direct Graphics Commands: This example shows how the printer loads information in Direct Graphics mode. This table shows a hex data file for the example: Hex Data File 1B 67 30 21 80 43 C2 27 90 A8 D5 90 22 26 84 96 22 22 26 8C 84 22 24 82 25 88 22 21 93 43 C2 25 43 C2 28 The next table explains the hex data file in the example. 66 Intermec Printer Language (IPL) Developer's Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112

Chapter 4 — Advanced Printer Programming
66
Intermec Printer Language (IPL) Developer’s Guide
Example of Direct Graphics Commands
This example consists of two parts: a graphic and a line. The origin of the direct
graphic is defined the same as the origin of a normal graphic. In this example, the
coordinates for the origin of the complex graphic are 0,450; however, once you enter
Direct Graphics mode, your printer loads the information in the reverse y direction.
Each column of the graphic loads from the bottom to the top. Y coordinates now
start at 0 from the bottom left corner and increase in size as the data loads. So, the
printer starts loading data for the complex graphic at 0,450 and loads up to 0,425.
Likewise, the data for the line starts loading at 19,450 and loads up to 19,0.
Direct Graphics Commands:
This example shows how the printer loads information in Direct
Graphics mode.
This table shows a hex data file for the example:
The next table explains the hex data file in the example.
Hex Data File
1B
67
30
21
80
43
C2
27
90
A8
D5
90
22
26
84
96
22
22
26
8C
84
22
24
82
25
88
22
21
93
43
C2
25
43
C2
28
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1
2
3
4
5
6
.
.
.
.
.
.
19
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
19,450
Origin (0,0)
0,450
450
.
.
.
.
.
.
.