Lexmark MX722 Forms and Bar Code Card P4.2 Technical Reference - Page 11

PCL 5 emulation: HP, One-dimensional bar codes, Defining characteristics - firmware

Page 11 highlights

Lexmark Confidential until announced PCL 5 emulation: HP 11 PCL 5 emulation: HP This section discusses the HP commands implemented in Forms and Bar Code Card. One-dimensional bar codes With Forms and Bar Code Card, font selection commands in the incoming PCL 5 data stream are analyzed for typeface characteristic values given in the "PCL5 function parameter list" on page 16. If the typeface value is one of those given, then special bar code generation firmware processes the font selection command. Otherwise, PCL 5 emulation proceeds as normal. Defining characteristics The following commands let you further define characteristics of the bar code: Command Esc(s#P Esc(s#H Esc(s#V Esc(s#B Esc(s#S Characteristic Determines the HRT location printed with the bar code. Selects the HRT font. Selects the bar heights. Selects the bar widths. Selects the space widths. For more information on bar code characteristic parameters and default values, see "PCL5 function parameter list" on page 16. Command structure considerations These considerations must be followed when implementing bar code applications using Forms and Bar Code Card: • Always specify the typeface parameter, because it directs processing to the bar code generation firmware. • Specify the characteristic values. If no value is specified, then the default value is used. Previously specified non-default values are not retained. • To print more 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 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 Use { Esc&p#X[data] } to print bar codes that contain characters of less than 32 decimal. These characters are considered unprintable.

  • 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

PCL 5 emulation: HP
This section discusses the HP commands implemented in Forms and Bar Code Card.
One-dimensional bar codes
With Forms and Bar Code Card, font selection commands in the incoming PCL
5 data stream are analyzed for
typeface characteristic values given in the
“PCL5 function parameter list” on page
16
. If the typeface value is
one of those given, then special bar code generation firmware processes the font selection command.
Otherwise, PCL 5 emulation proceeds as normal.
Defining characteristics
The following commands let you further define characteristics of the bar code:
Command
Characteristic
Esc
(s#P
Determines the HRT location printed with the bar code.
Esc
(s#H
Selects the HRT font.
Esc
(s#V
Selects the bar heights.
Esc
(s#B
Selects the bar widths.
Esc
(s#S
Selects the space widths.
For more information on bar code characteristic parameters and default values, see
“PCL5 function parameter
list” on page
16
.
Command structure considerations
These considerations must be followed when implementing bar code applications using Forms and Bar Code
Card:
Always specify the typeface parameter, because it directs processing to the bar code generation firmware.
Specify the characteristic values. If no value is specified, then the default value is used. Previously specified
non-default values are not retained.
To print more 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 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
Use {
Esc
&p#X[data] } to print bar codes that contain characters of less than 32 decimal. These characters are
considered unprintable.
Lexmark Confidential until announced
PCL 5 emulation: HP
11