Lexmark MX6500e 6500e Forms and Bar Code Card Technical Reference Guide - Page 15

Transparent print data command, Returning to normal text printing, Escs#T, Esc&p#X[data]

Page 15 highlights

• To print additional bar code data with the same characteristics as the previous data, set a new cursor position and send only the bar code data. Resending the escape sequence portion of the command is not necessary. • When other characteristics are specified, you must chain (combine) them with the typeface characteristic. The order in which the characteristics are chained does not matter. Characteristics not chained with a bar code typeface value are processed as standard PCL 5 emulation font (text) selection sequences. • You may select bar codes using either the primary font selection command, Esc(s#T, or the secondary font selection command, Esc)s#T. Transparent print data command The transparent print data command { Esc&p#X[data] } provides printing access to characters with code values of less than 32 decimal. These characters are normally considered unprintable. Use the transparent print data command to print bar codes which contain characters of less than 32 decimal. Example: Esc(s4p2h36v24701T Esc&p8X20•08•98 No data is specified with bar code selection command The intended data, "20•08•98" (8 bytes), is specified with transparent print data command immediately following the bar code selection command, where "•" is the character associated with decimal code 7 in the PC-8 symbol set. Returning to normal text printing To ensure a proper return from bar code printing to normal text printing, PCL 5 emulation escape sequences that generate bar codes must be immediately followed by an escape sequence that fully specifies a normal text font. Example: Esc(s1p10v0s0b4101T This returns the text following a bar code to 10-point CG Times with proportional spacing, normal style, and medium stroke weight One-dimensional bar codes 12

  • 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
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170

One-dimensional bar codes
12
To print additional bar code data with the same characteristics as the previous data, set a
new cursor position and send only the bar code data. Resending the escape sequence
portion of the command is not necessary.
When other characteristics are specified, you
must
chain (combine) them with the typeface
characteristic. The order in which the characteristics are chained does not matter.
Characteristics not chained with a bar code typeface value are processed as standard PCL 5
emulation font (text) selection sequences.
You may select bar codes using either the primary font selection command,
Esc(s#T
, or the
secondary font selection command,
Esc)s#T
.
Transparent print data command
The transparent print data command {
Esc&p#X[data]
} provides printing access to characters with
code values of less than 32 decimal. These characters are normally considered unprintable. Use the
transparent print data command to print bar codes which contain characters of less than 32 decimal.
Example:
Returning to normal text printing
To ensure a proper return from bar code printing to normal text printing, PCL 5 emulation escape
sequences that generate bar codes must be immediately followed by an escape sequence that
fully
specifies a normal text font.
Example:
Esc
(s4p2h36v24701T
No data is specified with bar code selection command
Esc
&p8X20•08•98
The intended data, “20•08•98” (8 bytes), is specified with
transparent print data command immediately following the bar
code selection command, where “•” is the character associated
with decimal code 7 in the PC-8 symbol set.
Esc
(s1p10v0s0b4101T
This returns the text following a bar code to 10-point CG Times
with proportional spacing, normal style, and medium stroke
weight