4-5
Graphics
Bit Image Programming Format
The syntax of the Bit Image expression must be correct. The expression must include the apĆ
propriate dot density control code, the exact number of data to be plotted, and the data itself.
The general Bit Image expression is:
ESC,CC,(n1),(n2),DATA
where:
ESC
= the Serial Matrix compatible header
CC
= K, L, or Y to select dot density; K = single, L = double,
Y = double density double speed, and Z = quadruple density
n1, n2 = define the number of data bytes to be printed
DATA = the dot pattern bytes
The values for n1 and n2 must be specified in the control code expression. They are defined as:
n1 = number of data bytes MOD 256
n2 = INT (number of data bytes\256)
The modulus arithmetic operator MOD refers to the integer value that is the remainder of an
integer division. The INT operator refers to integer division and is denoted by the backslash \.
Therefore, n1 is the remainder of the number of data divided by 256 and n2 is the integer value
of the number of data divided by 256.
n1 = (number of data bytes)-(n2 x 256)
n2 = (number of data bytes)\256
If the number of data bytes to be printed is less than 256, n2 equals zero and n1 equals the numĆ
ber of data bytes to be printed.
The following examples illustrate the procedure to determine the Bit Image program stateĆ
ment.
Print 450 data bytes, single density
n2 = 450\256 = 1
n1 = 450-(1x256) = 194
The program statement is:
ESC K (194)(1)(DATA)
Print 700 data bytes, single density
n2 = 700\256 = 2
n1 = 700-(2x256) = 700-512 = 188
The program statement is:
ESC K (188)(2)(DATA)
Print 180 data bytes, single density
n2 = 180\256 = 0
n1 = 180-(0x256) =180-0 = 180
Summary of Contents for P6000L
Page 1: ...P600L P6200L Line Printers User s Reference Manual R...
Page 2: ......
Page 3: ...P6000L P6200L Line Printers User s Reference Manual R P N 140576 001 Rev C...
Page 20: ...Overview 1 6...
Page 28: ...Operation 2 8 Figure 2 4 Paper Adjustment Controls Floor Cabinet Model...
Page 34: ...Operation 2 14 Figure 2 10 Loading Paper...
Page 51: ...3 7 Configuration Figure 3 1 Sample Configuration Printout...
Page 56: ...Configuration 3 12 Figure 3 4 PCBA Removal Pedestal Model Printer...
Page 100: ...Vertical Format Units 5 16...
Page 167: ...7 9 Interfaces Figure 7 1 Alternate Terminating Resistor Location Floor Cabinet Model...
Page 169: ...7 11 Interfaces Figure 7 2 Alternate Terminating Resistor Location Pedestal Model...
Page 190: ...RibbonMinder 9 14...
Page 200: ...Installation 10 10 Figure 10 9 Side Shock Mount Restraint Screw Removal Floor Cabinet Model...
Page 202: ...Installation 10 12 Figure 10 10 Pedestal Legs Installation Pedestal Model...
Page 206: ...Installation 10 16 Figure 10 14 Shipping Restraint Removal Pedestal Model...
Page 208: ...Installation 10 18 Figure 10 16 Cable Connections Pedestal Model...
Page 210: ...Installation 10 20...
Page 212: ...Appendix A 2...
Page 213: ...B 1 Appendix APPENDIX B Serial Emulation Mode Character Set 1 80 9F Control Codes...
Page 214: ...Appendix B 2 Serial Emulation Mode Character Set 2 80 9f Printable Symbols...
Page 215: ...B 3 Appendix P Series Mode Character Set 1 80 9f Control Codes...
Page 216: ...Appendix B 4 P Series Mode Character Set 2 80 9f Printable Symbols...
Page 217: ...B 5 Appendix International Characters...
Page 218: ...Appendix B 6...
Page 232: ...P6000L P6200L User s Reference Manual Index 6...
Page 233: ......