Intermec PX6i Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 47

Printable Data Instructions, Select a Layout, Transmit Variable Data to a Layout

Page 47 highlights

Chapter 3-Label Design 3.9 Printable Data Instructions Select a Layout Before any variable data can be transmitted to a preprogrammed layout, the layout must be selected by means of a LAYOUT RUN instruction. If the layout has been saved in the printer's permanent memory ("/c") as described in Chapter 3.8, it should be copied to the temporary memory ("tmp:"), and be run from there. LAYOUT RUN "" is the name given to the layout in the LAYOUT INPUT instruction and must be enclosed by quotation marks. Example: COPY "/c/Shipping Label","tmp:Shipping Label" ↵ LAYOUT RUN "tmp:Shipping Label" ↵ Transmit Variable Data to a Layout After having selecting a layout using a LAYOUT RUN instruction, you can transmit the variable data to their respective layout fields: • The transmission starts with a start-of-text separator. • Then comes a block of data to the field containing VAR1$. • A field separator separates the blocks of data. • Next block goes to the field containing VAR2$. • A field separator separates the blocks of data and so on. • The last block must also end with a field separator. • The end of transmission is indicated by an End-of text separator. By default, the following separators should be used: • Start separator: STX (ASCII 02 dec) • Field separator: CR (ASCII 13 dec) • End separator: EOT (ASCII 04 dec) All separators can be changed at will using a FORMAT INPUT instruction, see Chapter 5.5. Intermec Direct Protocol v.8.60-Programmer's Reference Manual 39

  • 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
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134

Intermec Direct Protocol v.8.60—Programmer’s Reference Manual
39
Chapter 3—Label Design
3.9 Printable Data Instructions
Select a Layout
Before any variable data can be transmitted to a preprogrammed layout,
the layout must be selected by means of a
LAYOUT
RUN
instruction. If
the layout has been saved in the printer’s permanent memory ("/c") as
described in Chapter 3.8, it should be copied to the temporary memory
("tmp:"), and be run from there.
LAYOUT RUN "<tmp:><layout name>"
<layout name>
is the name given to the layout in the LAYOUT INPUT instruction and must
be enclosed by quotation marks.
Example:
COPY "/c/Shipping Label","tmp:Shipping Label"
LAYOUT RUN "tmp:Shipping Label"
Transmit Variable Data to a Layout
After having selecting a layout using a LAYOUT RUN instruction, you
can transmit the variable data to their respective layout fields:
°e transmission starts with a start-of-text separator.
°en comes a block of data to the field containing
VAR1$
.
A field separator separates the blocks of data.
Next block goes to the field containing
VAR2$
.
A field separator separates the blocks of data and so on.
°e last block must also end with a field separator.
°e end of transmission is indicated by an End-of text separator.
By default, the following separators should be used:
• Start separator:
STX
(ASCII 02 dec)
• Field separator:
CR
(ASCII 13 dec)
• End separator:
EOT
(ASCII 04 dec)
All separators can be changed at will using a
FORMAT INPUT
instruction,
see Chapter 5.5.