Intermec PX4i Intermec Direct Protocol 8.60 Programmer's Reference Manual - Page 65

Changing Separators

Page 65 highlights

Chapter 5-Setting Up the Printer The name of the month will be printed according to the format specified by FORMAT DATE$ and will be truncated at the left side. NAME WEEKDAY$,"" Default: is 1 (Monday) - 7 (Sunday). is the desired name enclosed by quotation marks. Full English names in mixed upper-/lower-case characters, for example "Monday". The date and time formats as well as the names of months and weekdays are not saved in the printer's permanent memory, but must be transmitted to the printer after each power-up. 5.5 Changing Separators When transmitting variable input data to a predefined layout, the string must contain certain separating characters. By default, you should use as start-of-text separator, as field separator, and as end-of-text separator (see Chapter 3.9). However, the FORMAT INPUT instructions allows you to select other characters as separators if the default separators for some reason cannot be produced, if they will interfere with the main computer system, or if they are used in input data string to, for example, bar codes. Simply insert the desired separator characters (enclosed by quotation marks) into the FORMAT INPUT instruction. Avoid using characters like XON/XOFF or ENQ/ACK, which may interfere with the communication between printer and host. You must first leave the Intermec Direct Protocol by means of an INPUT OFF instruction, change the separators using a FORMAT INPUT instruction, and then enter the Intermec Direct Protocol again by means of an INPUT ON instruction. FORMAT INPUT ""[,""[,""[,""]]] Example: INPUT OFF ↵ FORMAT INPUT INPUT ON ↵ Note: The separators are not saved in the printer's permanent memory, but must be transmitted to the printer after each power-up. Intermec Direct Protocol v.8.60-Programmer's Reference Manual 57

  • 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
57
Chapter 5—Setting Up the Printer
°e name of the month will be printed according to the format specified
by
FORMAT DATE$
and will be truncated at the left side.
NAME WEEKDAY$<No. of weekday>,"<name of weekday>"
<No. of weekday>
is 1 (Monday) - 7 (Sunday).
<name of weekday>
is the desired name enclosed by quotation marks.
Default:
Full English names in mixed upper-/lower-case characters, for example
”Monday”.
°e date and time formats as well as the names of months and
weekdays are not saved in the printer’s permanent memory, but must be
transmitted to the printer after each power-up.
5.5 Changing Separators
When transmitting variable input data to a predefined layout, the string
must contain certain separating characters. By default, you should use
<STX> as start-of-text separator, <CR> as field separator, and <EOT> as
end-of-text separator (see Chapter 3.9).
However, the
FORMAT
INPUT
instructions allows you to select other
characters as separators if the default separators for some reason cannot
be produced, if they will interfere with the main computer system, or
if they are used in input data string to, for example, bar codes. Simply
insert the desired separator characters (enclosed by quotation marks) into
the
FORMAT
INPUT
instruction. Avoid using characters like XON/XOFF
or ENQ/ACK, which may interfere with the communication between
printer and host.
You must first leave the Intermec Direct Protocol by means of an
INPUT OFF
instruction, change the separators using a
FORMAT INPUT
instruction, and then enter the Intermec Direct Protocol again by means
of an
INPUT ON
instruction.
FORMAT INPUT "<start separator>"[,"<end separator>"[,"<field separator>"[,"<characters
to be filtered out>"]]]
Example:
INPUT OFF
FORMAT INPUT "#","&","@"
INPUT ON
Note:
°e separators are not saved in the printer’s permanent
memory, but must be transmitted to the printer after each
power-up.