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

Preprocessing Input Data

Page 69 highlights

Chapter 5-Setting Up the Printer 5.12 Preprocessing Input Data All input data to the printer come in binary form via the standard IN channel (by default "uart1:"). Characters are transmitted in ASCII format, which upon reception will be preprocessed by the printer's firmware according to possible MAP instructions. The MAP instruction is used to modify a character set, or to filter out undesired characters on a specified communication channel by mapping them as NUL (ASCII 0 dec.). If no character set (see NASC) meets your requirements completely, select the set that comes closest and modify it using MAP instructions. Mapping will be reset to normal at power-on or reboot. MAP [],, is optionally an IN channel other than the selected standard IN channel. is the original value of the character according to the selected character set, see NASC. is the new ASCII value you want to assign to the character. Example: You are using the Roman 8 character set with 7- bit communication and need to print £ characters which are not included in the 7-bit part of that character set (see Chapter 8). Suppose you have no need for the $ character. Then remap the £ character (ASCII 187 dec.) to the value of the $ character (ASCII 36 dec.): MAP 36,187 ↵ Intermec Direct Protocol v.8.60-Programmer's Reference Manual 61

  • 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
61
Chapter 5—Setting Up the Printer
5.12 Preprocessing Input Data
All input data to the printer come in binary form via the standard IN
channel (by default "uart1:"). Characters are transmitted in ASCII
format, which upon reception will be preprocessed by the printer’s
firmware according to possible
MAP
instructions.
°e
MAP
instruction is used to modify a character set, or to filter out
undesired characters on a specified communication channel by mapping
them as NUL (ASCII 0 dec.).
If no character set (see
NASC
) meets your requirements completely, select
the set that comes closest and modify it using
MAP
instructions. Mapping
will be reset to normal at power-on or reboot.
MAP [<device>],<old ASCII value>, <new ASCII value>
<device>
is optionally an IN channel other than the selected standard IN channel.
<old ASCII value>
is the original value of the character according to the selected character set,
see NASC.
<new ASCII value>
is the new ASCII value you want to assign to the character.
Example:
You are using the Roman 8 character set with 7- bit communication and
need to print £ characters which are not included in the 7-bit part of
that character set (see Chapter 8). Suppose you have no need for the $
character. °en remap the £ character (ASCII 187 dec.) to the value of
the $ character (ASCII 36 dec.):
MAP 36,187