Lexmark X864 Forms and Bar Code Technical Reference - Page 16

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

Page 16 highlights

• Other than the default value, you must explicitly specify the characteristic values. If no value is specified, the default value is used. Previously specified non-default values are not retained. • 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. It is not necessary to resend the escape sequence portion of the command. • 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 PCL5 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 specified with bar code selection command Desired data, "20•08•98" (8 bytes), 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, PCL5 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 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 13

  • 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

One-dimensional bar codes
13
Other than the default value, you must explicitly specify the characteristic values. If no value
is specified, the default value is used. Previously specified non-default values are not
retained.
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. It is not necessary to resend the escape
sequence portion of the command.
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 PCL5
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, PCL5 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 specified with bar code selection command
Esc
&p8X20•08•98
Desired data, “20•08•98” (8 bytes), 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
Returns the text following a bar code to 10-point CG Times with
proportional spacing, normal style and medium stroke weight