Bar Codes
31
Printing Multiple Labels on the Same Line
Printing more than one label on the same line involves no more than
positioning the cursor and sending the data for each label to be printed. Since
the termination of the bar code data sequence (signalled by an upper-case Z)
causes the bar code to be printed and a carriage return to be executed, all of
the label information must be sent in the same escape sequence. The
following example shows an escape sequence used to print three labels on a
single line:
ESC*z5c<label1>z20c<label2>z35c<label3>Z
ESC*z5c
Moves cursor to column 5
<label1>
Bar code data
z20c
Moves cursor to column 20
<label2>
Bar code data
z35c
Moves cursor to column 35
<label3>
Bar code data
Z
Initiates printing
Printing Bar Codes with Text
When printing bar codes with text, since the printer automatically generates a
carriage return and line feed at the end of the terminating character (upper
case Z), potential problems exist. As a general rule, for each line of bar code
mixed with text, send the text information first, followed by a carriage return
without a line feed (ASCII 13), and then overlay the bar code. (The carriage
return is required so that the bar code cursor position will be correct.) The
following example illustrates how to print text and bar codes on the same line.
This example involves a three-line bar code (and three escape sequences) as
shown below:
ESC*z0v25c1q<12345>Z
ESC*z0v
Selects Code 3 of 9
25c
Moves cursor to column 25
1q
Specifies header placement above label
<12345>
Bar code data
Z
Enables printing this portion of the bar code
ESC*z75CThis is textCRESC*z0q25c<12345>Z
ESC*z75C Moves cursor to column 75
This is text Text for right of bar code
CR
Carriage return without a line feed
ESC*z0q
Disables header for this portion
25c
Moves cursor to column 25
<12345>
Bar code data
Z
Initiates printing this portion
ESC*z25c0q<12345>Z
ESC*z25c Moves cursor to column 25
0q
Disables header for lower portion
<12345>
Bar code data
Z
Initiates printing for lower portion of label
Summary of Contents for P5000LJ Series
Page 1: ...P5000LJ Series Printers PCL II LinePrinter Plus Programmer s Reference Manual ...
Page 2: ......
Page 3: ...P5000LJ Series Printers 173956 001A PCL II LinePrinter Plus Programmer s Reference Manual ...
Page 6: ......
Page 146: ...146 Chapter 4 Configuring the Proprinter III XL Emulation with Control Codes ...
Page 206: ...206 Chapter 6 Combining Graphics and Text ...
Page 214: ...214 Appendix A ...
Page 216: ...216 Appendix B P Series Emulation Character Sets IBM PC Primary Subset ASCII USA ...
Page 217: ...217 IBM PC Primary Subset French ...
Page 218: ...218 Appendix B P Series Emulation Character Sets IBM PC Primary Subset German ...
Page 219: ...219 IBM PC Primary Subset English UK ...
Page 220: ...220 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Danish ...
Page 221: ...221 IBM PC Primary Subset Swedish ...
Page 222: ...222 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Italian ...
Page 223: ...223 IBM PC Primary Subset Spanish ...
Page 224: ...224 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Japanese ...
Page 225: ...225 IBM PC Primary Subset French Canadian ...
Page 226: ...226 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Latin American ...
Page 227: ...227 IBM PC Primary Subset Danish II ...
Page 228: ...228 Appendix B P Series Emulation Character Sets IBM PC Primary Subset Spanish II ...
Page 229: ...229 IBM PC Primary Subset Latin American II ...
Page 230: ...230 Appendix B P Series Emulation Character Sets IBM PC Extended Subset 0437 PC Character Set ...
Page 231: ...231 IBM PC Extended Subset 0850 PC Multilingual ...
Page 232: ...232 Appendix B P Series Emulation Character Sets Multinational ASCII USA ...
Page 233: ...233 Multinational EBCDIC ...
Page 234: ...234 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset ASCII USA ...
Page 235: ...235 ECMA Latin 1 Primary Subset German ...
Page 236: ...236 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset Swedish ...
Page 237: ...237 ECMA Latin 1 Primary Subset Danish ...
Page 238: ...238 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset Norwegian ...
Page 239: ...239 ECMA Latin 1 Primary Subset Finnish ...
Page 240: ...240 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset English UK ...
Page 241: ...241 ECMA Latin 1 Primary Subset Dutch ...
Page 242: ...242 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset French ...
Page 243: ...243 ECMA Latin 1 Primary Subset Spanish ...
Page 244: ...244 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset Italian ...
Page 245: ...245 ECMA Latin 1 Primary Subset Turkish ...
Page 246: ...246 Appendix B P Series Emulation Character Sets ECMA Latin 1 Primary Subset Japanese ...
Page 247: ...247 ECMA Latin 1 Extended Subset Multinational ...
Page 248: ...248 Appendix B P Series Emulation Character Sets ECMA Latin 1 Extended Subset Barcode 10 cpi ...
Page 249: ...249 ECMA Latin 1 Extended Subset Greek ...
Page 250: ...250 Appendix B P Series Emulation Character Sets ECMA Latin 1 Extended Subset Graphic ...
Page 251: ...251 ECMA Latin 1 Extended Subset Scientific 10 cpi ...
Page 252: ...252 Appendix B P Series Emulation Character Sets DEC Multinational ASCII USA ...
Page 253: ...253 DEC Multinational French ...
Page 254: ...254 Appendix B P Series Emulation Character Sets DEC Multinational German ...
Page 255: ...255 DEC Multinational English UK ...
Page 256: ...256 Appendix B P Series Emulation Character Sets DEC Multinational Norwegian Danish ...
Page 257: ...257 DEC Multinational Swedish ...
Page 258: ...258 Appendix B P Series Emulation Character Sets DEC Multinational Italian ...
Page 259: ...259 DEC Multinational Spanish ...
Page 260: ...260 Appendix B P Series Emulation Character Sets DEC Multinational Japanese ...
Page 261: ...261 DEC Multinational French Canadian ...
Page 262: ...262 Appendix B P Series Emulation Character Sets DEC Multinational Dutch ...
Page 263: ...263 DEC Multinational Finnish ...
Page 264: ...264 Appendix B P Series Emulation Character Sets DEC Multinational Swiss ...
Page 265: ...265 OCR A ...
Page 266: ...266 Appendix B P Series Emulation Character Sets OCR B ...
Page 268: ...268 Appendix C 0437 PC Character Set 0437 PC Character Set ...
Page 269: ...269 0850 PC Multilingual ...
Page 270: ...270 Appendix C OCR A OCR A ...
Page 271: ...271 OCR B ...
Page 272: ...272 Appendix C OCR B ...
Page 274: ...274 Appendix D 0437 PC Character Set 0437 PC Character Set ...
Page 275: ...275 0850 PC Multilingual ...
Page 276: ...276 Appendix D Epson Set ASCII USA Epson Set ASCII USA ...
Page 277: ...277 Epson Set French ...
Page 278: ...278 Appendix D Epson Set German Epson Set German ...
Page 279: ...279 Epson Set English UK ...
Page 280: ...280 Appendix D Epson Set Danish I Epson Set Danish I ...
Page 281: ...281 Epson Set Swedish ...
Page 282: ...282 Appendix D Epson Set Italian Epson Set Italian ...
Page 283: ...283 Epson Set Spanish I ...
Page 284: ...284 Appendix D Epson Set Japanese Epson Set Japanese ...
Page 285: ...285 Epson Set Norwegian ...
Page 286: ...286 Appendix D Epson Set Danish II Epson Set Danish II ...
Page 287: ...287 Epson Set Spanish II ...
Page 288: ...288 Appendix D Epson Set Latin American I Epson Set Latin American I ...
Page 289: ...289 Epson Set French Canadian ...
Page 290: ...290 Appendix D Epson Set Latin American II Epson Set Latin American II ...
Page 291: ...291 OCR A ...
Page 292: ...292 Appendix D OCR B OCR B ...
Page 302: ...302 ...
Page 303: ......