Lexmark X925 Forms and Bar Code Card Technical Reference Guide - Page 16

PCL 5 emulation escape sequences, One-dimensional bar codes

Page 16 highlights

PCL 5 emulation escape sequences Command Esc(s#P or AEC)s#P Esc(s#H or AEC)s#H Function/Parameters Determines the location of human-readable text printed with the bar code. 0 = Use default value 1 = Do not print text 2 = Print text embedded 3 = Print text half embedded 4 = Print text under bar code 5 = Print text above bar code Add the preceding values to the following numbers to produce the intended effect: 10 = 10 = 20 = 100 = Prints UPC-A checksum on the middle left of the bar code instead of the bottom left Prints start/stop * characters with Code 3 of 9 text Formats German postal bar codes Prints the checksum character with text For UPC-E symbologies, checksum characters are printed if human-readable text is specified. The checksum characters are printed half-height if 100 is added to the p parameter. Example: Esc(s13p24670T Selects Code 3 of 9 with human-readable text half embedded and start/stop * characters. Since parameters v, b, s, and h are not specified, their values default to: v b1, s1 b2, s2 h 0.4 inch 0.01 inch 0.03 inch Automatically sized Courier Bold Selects the font used for human-readable text. The numeric value of # is of the form ABC, where: A = style 0 = Default (bold) 1 = Regular 2 = Italic 3 = Bold 4 = Bold Italic B = size 0 = Automatic font size (default) C = typeface 0 = 1 = 2 = 3 = 4 = 5 = Courier (default for all bar code symbologies) Letter Gothic Univers Univers Condensed CG-Times OCR-B Example: Esc(s304h24620T Selects EAN/JAN-8 with automatically sized, CG Times Bold text. Since parameters v, p, b, and s are not specified, their values default to: v p b1, s1 b2, s2 b3, s3 b4, s4 0.7 inch Print text half embedded 0.013 inch 0.027 inch 0.04 inch 0.053 inch 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
  • 166
  • 167
  • 168
  • 169
  • 170

One-dimensional bar codes
13
PCL 5 emulation escape sequences
Command
Function/Parameters
Esc
(s#P
or
AEC
)s#P
Determines the location of human-readable text printed with the bar code.
0 =
1 =
2 =
3 =
4 =
5 =
Use default value
Do not print text
Print text embedded
Print text half embedded
Print text under bar code
Print text above bar code
Add the preceding values to the following numbers to produce the intended effect:
10 =
10 =
20 =
100 =
Prints UPC-A checksum on the middle left of the bar code instead
of the bottom left
Prints start/stop * characters with Code 3 of 9 text
Formats German postal bar codes
Prints the checksum character with text
For UPC-E symbologies, checksum characters are printed if
human-readable text is specified. The checksum characters are
printed half-height if 100 is added to the p parameter
.
Example:
Esc
(s13p24670T
Selects Code 3 of 9 with human-readable text half embedded and start/stop *
characters. Since parameters v, b, s, and h are not specified, their values default to:
v
b1, s1
b2, s2
h
0.4 inch
0.01 inch
0.03 inch
Automatically sized Courier Bold
Esc
(s#H
or
AEC
)s#H
Selects the font used for human-readable text. The numeric value of # is of the form
ABC, where:
A = style
B = size
C = typeface
0 =
1 =
2 =
3 =
4 =
0 =
0 =
1 =
2 =
3 =
4 =
5 =
Default (bold)
Regular
Italic
Bold
Bold Italic
Automatic font size (default)
Courier (default for all bar code symbologies)
Letter Gothic
Univers
Univers Condensed
CG-Times
OCR-B
Example:
Esc
(s304h24620T
Selects EAN/JAN-8 with automatically sized, CG Times Bold text. Since parameters
v, p, b, and s are not specified, their values default to:
v
p
b1, s1
b2, s2
b3, s3
b4, s4
0.7 inch
Print text half embedded
0.013 inch
0.027 inch
0.04 inch
0.053 inch