40
Chapter
2
Configuring the PCL-II Emulation with Control Codes
Follow the example below to convert a ZIP Code into a bar code:
1.
Calculate the check digit for the ZIP Code 45834-8844-70:
a.
Add the digits of the ZIP code:
4+5+8+3+4+8+8+4+4+7+0 = 51
b.
Subtract from the next highest multiple of ten:
60-51 = 9
The check digit is 9, so the number for conversion is 45834-8844-709.
2.
Separate the ZIP Code + digit into digit pairs:
45834-8844-709 = 45 83 48 84 47 09
3.
Convert the digit pairs into binary code:
Example:
45 = 01001 01010
4.
Convert the binary code into pairs:
01001 01010 = 01 00 10 10 10
5.
Convert each pair into its text equivalent:
01 00 10 10 10 = }~{{{
6.
Add the frame bars. This can be done in one of two ways: Method 1
(Table 6) uses the frame bars as separate characters, and Method 2
(Table 7) “links” the frame bars to the first and last characters:
Table 6: Method 1
ZIP Code + digit
Frame Bar
+
Digit Pairs
Binary
Code
Conversion
Text
Equivalent
Converted ZIP Code
(Text To Printer)
45 83 48 84 47 09
Frame Bar
1
\
45
01 00 10 10 10
}~{{{
83
10 01 00 01 10
{}~}{
48
01 00 11 00 10
}~`~{
SO\}~{{{{}~}{}~`~{{}~{}}~}~}`~}}~^SI
84
10 01 00 10 01
{}~{}
47
01 00 11 00 01
}~}~}
09
11 00 01 01 00
`~}}~
Frame Bar
1
^
Note: SO = Shift Out (hex 0E), and SI = Shift In (hex 0F)
Содержание P5000LJ Series
Страница 1: ...P5000LJ Series Printers PCL II LinePrinter Plus Programmer s Reference Manual ...
Страница 2: ......
Страница 3: ...P5000LJ Series Printers 173956 001A PCL II LinePrinter Plus Programmer s Reference Manual ...
Страница 6: ......
Страница 146: ...146 Chapter 4 Configuring the Proprinter III XL Emulation with Control Codes ...
Страница 206: ...206 Chapter 6 Combining Graphics and Text ...
Страница 214: ...214 Appendix A ...
Страница 216: ...216 Appendix B P Series Emulation Character Sets IBM PC Primary Subset ASCII USA ...
Страница 217: ...217 IBM PC Primary Subset French ...
Страница 218: ...218 Appendix B P Series Emulation Character Sets IBM PC Primary Subset German ...
Страница 219: ...219 IBM PC Primary Subset English UK ...
Страница 220: ...220 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Danish ...
Страница 221: ...221 IBM PC Primary Subset Swedish ...
Страница 222: ...222 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Italian ...
Страница 223: ...223 IBM PC Primary Subset Spanish ...
Страница 224: ...224 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Japanese ...
Страница 225: ...225 IBM PC Primary Subset French Canadian ...
Страница 226: ...226 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Latin American ...
Страница 227: ...227 IBM PC Primary Subset Danish II ...
Страница 228: ...228 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Spanish II ...
Страница 229: ...229 IBM PC Primary Subset Latin American II ...
Страница 230: ...230 Appendix B P Series Emulation Character Sets IBM PC Extended Subset 0437 PC Character Set ...
Страница 231: ...231 IBM PC Extended Subset 0850 PC Multilingual ...
Страница 232: ...232 Appendix B P Series Emulation Character Sets Multinational ASCII USA ...
Страница 233: ...233 Multinational EBCDIC ...
Страница 234: ...234 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset ASCII USA ...
Страница 235: ...235 ECMA Latin 1 Primary Subset German ...
Страница 236: ...236 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset Swedish ...
Страница 237: ...237 ECMA Latin 1 Primary Subset Danish ...
Страница 238: ...238 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset Norwegian ...
Страница 239: ...239 ECMA Latin 1 Primary Subset Finnish ...
Страница 240: ...240 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset English UK ...
Страница 241: ...241 ECMA Latin 1 Primary Subset Dutch ...
Страница 242: ...242 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset French ...
Страница 243: ...243 ECMA Latin 1 Primary Subset Spanish ...
Страница 244: ...244 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset Italian ...
Страница 245: ...245 ECMA Latin 1 Primary Subset Turkish ...
Страница 246: ...246 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset Japanese ...
Страница 247: ...247 ECMA Latin 1 Extended Subset Multinational ...
Страница 248: ...248 Appendix B P Series Emulation Character Sets ECMA Latin 1 Extended Subset Barcode 10 cpi ...
Страница 249: ...249 ECMA Latin 1 Extended Subset Greek ...
Страница 250: ...250 Appendix B P Series Emulation Character Sets ECMA Latin 1 Extended Subset Graphic ...
Страница 251: ...251 ECMA Latin 1 Extended Subset Scientific 10 cpi ...
Страница 252: ...252 Appendix B P Series Emulation Character Sets DEC Multinational ASCII USA ...
Страница 253: ...253 DEC Multinational French ...
Страница 254: ...254 Appendix B P Series Emulation Character Sets DEC Multinational German ...
Страница 255: ...255 DEC Multinational English UK ...
Страница 256: ...256 Appendix B P Series Emulation Character Sets DEC Multinational Norwegian Danish ...
Страница 257: ...257 DEC Multinational Swedish ...
Страница 258: ...258 Appendix B P Series Emulation Character Sets DEC Multinational Italian ...
Страница 259: ...259 DEC Multinational Spanish ...
Страница 260: ...260 Appendix B P Series Emulation Character Sets DEC Multinational Japanese ...
Страница 261: ...261 DEC Multinational French Canadian ...
Страница 262: ...262 Appendix B P Series Emulation Character Sets DEC Multinational Dutch ...
Страница 263: ...263 DEC Multinational Finnish ...
Страница 264: ...264 Appendix B P Series Emulation Character Sets DEC Multinational Swiss ...
Страница 265: ...265 OCR A ...
Страница 266: ...266 Appendix B P Series Emulation Character Sets OCR B ...
Страница 268: ...268 Appendix C 0437 PC Character Set 0437 PC Character Set ...
Страница 269: ...269 0850 PC Multilingual ...
Страница 270: ...270 Appendix C OCR A OCR A ...
Страница 271: ...271 OCR B ...
Страница 272: ...272 Appendix C OCR B ...
Страница 274: ...274 Appendix D 0437 PC Character Set 0437 PC Character Set ...
Страница 275: ...275 0850 PC Multilingual ...
Страница 276: ...276 Appendix D Epson Set ASCII USA Epson Set ASCII USA ...
Страница 277: ...277 Epson Set French ...
Страница 278: ...278 Appendix D Epson Set German Epson Set German ...
Страница 279: ...279 Epson Set English UK ...
Страница 280: ...280 Appendix D Epson Set Danish I Epson Set Danish I ...
Страница 281: ...281 Epson Set Swedish ...
Страница 282: ...282 Appendix D Epson Set Italian Epson Set Italian ...
Страница 283: ...283 Epson Set Spanish I ...
Страница 284: ...284 Appendix D Epson Set Japanese Epson Set Japanese ...
Страница 285: ...285 Epson Set Norwegian ...
Страница 286: ...286 Appendix D Epson Set Danish II Epson Set Danish II ...
Страница 287: ...287 Epson Set Spanish II ...
Страница 288: ...288 Appendix D Epson Set Latin American I Epson Set Latin American I ...
Страница 289: ...289 Epson Set French Canadian ...
Страница 290: ...290 Appendix D Epson Set Latin American II Epson Set Latin American II ...
Страница 291: ...291 OCR A ...
Страница 292: ...292 Appendix D OCR B OCR B ...
Страница 302: ...302 ...
Страница 303: ......