Lexmark X864 Forms and Bar Code Technical Reference - Page 43

Notes on ISBN, ISBN+5, In other words, the parameters are in units

Page 43 highlights

Byte 25 Field name ISBN Text Location 26 - 31 Reserved Range 00-05 (hex) 0-5 (dec) Default value 05 (hex) 5 (dec) Description Specifies location of ISBN text: 0 = Use default value 1 = Do not print 4 = Below symbol 5 = Above symbol Notes on ISBN, ISBN+5: ISBN bar codes are EAN-13 symbols that encode the first nine digits of an ISBN (the checksum digit is not encoded), prefaced by a special "Bookland" country code (978). The complete 10-digit ISBN is usually printed in its human-readable format along with the symbol; this is in addition to the text that may appear showing the 13 digits actually encoded by the EAN-13 symbol. The bar code descriptor for ISBN, therefore, contains two sets of fields for specifying the placement, typeface, and style of these two separate text strings. The data for an ISBN symbol should consist of a 10-digit ISBN, optionally followed by a five-digit add-on code. If a five-digit add-on code appears in the data, an EAN-13+5 symbol will be generated, with the add-on code encoded in the +5 section of the symbol. Note that the last "digit" of an ISBN, the checksum digit, may be an "X" (ASCII 88). Also, to enhance readability, "-" characters (ASCII 45) may appear anywhere in the data; they are ignored. The "-" characters in the ISBN text printed with the symbol are inserted by a hyphenation algorithm, not based on where they appear in the data. Since the last digit of an ISBN, the checksum digit, is not actually encoded in the symbol, it is required in the data only for the purpose of including it in the ISBN text printed with the symbol. The ISBN checksum digit is not verified or replaced by a calculation in the Forms and Bar Code Card. An invalid length (anything other than 10 or 15 digits), or an invalid character (anything other than a digit or a "-", except for an "X" in the tenth digit position) in the data produces an error message. Cursor positioning is handled the same as for other one-dimensional symbologies. If the Units bytes 5 or 8 are changed from their default values, then the Bar Height and Bar/Space Width parameters assume new dimensions, based on the new units. In other words, the parameters are in "units", and if the "units" measurements change, so does the physical printed bar code. If any of the parameters are set to 0 (zero), then the default value assigned in the table is assumed. One-dimensional bar codes 40

  • 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
40
Notes on ISBN, ISBN+5:
ISBN bar codes are EAN-13 symbols that encode the first nine digits of an ISBN (the checksum digit is not
encoded), prefaced by a special “Bookland” country code (978). The complete 10-digit ISBN is usually printed
in its human-readable format along with the symbol; this is in addition to the text that may appear showing the
13 digits actually encoded by the EAN-13 symbol. The bar code descriptor for ISBN, therefore, contains two
sets of fields for specifying the placement, typeface, and style of these two separate text strings.
The data for an ISBN symbol should consist of a 10-digit ISBN, optionally followed by a five-digit add-on code.
If a five-digit add-on code appears in the data, an EAN-13+5 symbol will be generated, with the add-on code
encoded in the +5 section of the symbol. Note that the last “digit” of an ISBN, the checksum digit, may be an
“X” (ASCII 88). Also, to enhance readability, “-” characters (ASCII 45) may appear anywhere in the data; they
are ignored. The “-” characters in the ISBN text printed with the symbol are inserted by a hyphenation
algorithm, not based on where they appear in the data.
Since the last digit of an ISBN, the checksum digit, is not actually encoded in the symbol, it is required in the
data only for the purpose of including it in the ISBN text printed with the symbol. The ISBN checksum digit is
not
verified or replaced by a calculation in the Forms and Bar Code Card.
An invalid length (anything other than 10 or 15 digits), or an invalid character (anything other than a digit or a
“-”, except for an “X” in the tenth digit position) in the data produces an error message. Cursor positioning is
handled the same as for other one-dimensional symbologies.
If the Units bytes 5 or 8 are changed from their default values, then the Bar Height and Bar/Space Width
parameters assume new dimensions, based on the new units.
In other words, the parameters are in “units”,
and if the “units” measurements change, so does the physical printed bar code.
If any of the parameters are set to 0 (zero), then the default value assigned in the table is assumed.
25
ISBN Text
Location
00-05 (hex)
0-5 (dec)
05 (hex)
5 (dec)
Specifies location of ISBN text:
0 = Use default value
1 = Do not print
4 = Below symbol
5 = Above symbol
26 – 31
Reserved
Byte
Field name
Range
Default
value
Description