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

Layout Instructions, Start Layout Recorder, Assign Input Variables to Fields - price

Page 45 highlights

Chapter 3-Label Design 3.8 Layout Instructions Start Layout Recorder The LAYOUT INPUT instruction clears the printer's working memory, starts the layout recorder, and allows you to assign a name and a device to the layout. The layout should be created in the printer's temporary memory ("tmp:"). Once the layout has been created in "tmp:", it can be copied to "/c:" so it will be saved at power off. LAYOUT INPUT "" Max. 30 characters incl. extension enclosed by quotation marks Example: COPY "/c/Shipping Label","tmp:Shipping Label" ↵ LAYOUT INPUT "tmp:Shipping Label" ↵ Assign Input Variables to Fields The layout may consist of both fixed fields and fields for variable information. In the layout, you must give a reference to each field, that is intended to receive variable data, so the input data can be inserted into the correct field. The variable VAR$ should be used to indicate variable input, where specifies the number of the field. The first variable input data block will be combined with the field containing VAR1$, the second block with VAR2$, etc. Fixed data and variable data can be combined in the same field. Also refer to Chapter 3.9. VAR$ is the number of the field (1-nnnn...) Examples: PT VAR1$ ↵ PT "Price: ";VAR2$ ↵ PB VAR3$ ↵ PM VAR4$ ↵ (text field with variable input) (text field with fixed & variable input) (bar code field with variable input) (image field with variable input) Intermec Direct Protocol v.8.60-Programmer's Reference Manual 37

  • 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
37
Chapter 3—Label Design
3.8 Layout Instructions
Start Layout Recorder
°e
LAYOUT INPUT
instruction clears the printer’s working memory,
starts the layout recorder, and allows you to assign a name and a device
to the layout. °e layout should be created in the printer’s temporary
memory ("tmp:"). Once the layout has been created in "tmp:", it can be
copied to "/c:" so it will be saved at power off.
LAYOUT INPUT "<tmp:><layout name>"
<layout name>
Max. 30 characters incl. extension enclosed by quotation marks
Example:
COPY "/c/Shipping Label","tmp:Shipping Label"
LAYOUT INPUT "tmp:Shipping Label"
Assign Input Variables to Fields
°e layout may consist of both fixed fields and fields for variable
information. In the layout, you must give a reference to each field, that
is intended to receive variable data, so the input data can be inserted
into the correct field. °e variable
VAR<n>$
should be used to indicate
variable input, where
<n>
specifies the number of the field. °e first
variable input data block will be combined with the field containing
VAR1$
, the second block with
VAR2$
, etc. Fixed data and variable data
can be combined in the same field. Also refer to Chapter 3.9.
VAR<n>$
<n>
is the number of the field (1-nnnn...)
Examples:
PT VAR1$
(text field with variable input)
PT "Price: ";VAR2$
(text field with fixed & variable input)
PB VAR3$
(bar code field with variable input)
PM VAR4$
(image field with variable input)