Technical data
Table Of Contents
- 0. i Cover B
- 0. i Copyright B
- 0. i TOC B
- 1. i Introduction B
- 2. i Programming Concepts B
- 3. i Code Quick Reference B.backup
- 4. i Standard Command Codes B
- 5. i Optional Command Codes B
- 6. i Bi-Directional Communications B
- 7. i Appendix B
- 7
- appendix
- custom graphics
- CUSTOM GRAPHICS EXAMPLE
- 1. Determine the matrix size for the graphic. It must be in 8 dot by 8 dot blocks. The example here has six blocks horizontally and six blocks vertically (48 x 48).
- 2. Lay out a grid and draw the image on the grid.
- 3. Transfer the image into a bit map representation and then into hexadecimal format:
- 4. Using the hexadecimal data, send the following code to print the graphic image as designed.
- 5. To send the data in binary format, the software must convert the data into binary format before transmitting it to the printer. Using the BASIC programming language for example, this is done by notation “CHR$ (&HC0)” which sends the hexidecima...
- PCX GRAPHICS EXAMPLE
- CUSTOM GRAPHICS EXAMPLE
- printer configuration commands
- reference tables

Unit 4: Standard Command Codes
“i” Programming Reference
4-20 PN: 9001158B
CG FONTS
FUNCTION
Agfa CGFont (only available on MB4i series)
FORMAT
<ESC>RD
<RD>a b b, c c c, d d d c n-n
Parameter
a (Font Type) = A (CG times)
B (CG Triumvirate)
b (Style) = 00 Fixed pitch
c (Character width) = 004-999 in dots
or P02-P99 in points
d (Character height) = 004-999 in dots
or P02-P99
n (Data to print) = Data
EXAMPLE
<A>
<V>100<H>100<P>2
<RD>A00 , P10 , P10 , SATO
<Q>2
<Z>
NOTES
Font size can be specified either in dots or points.
Command is valid only for MB400i series.
Print position: <V> <H>
Modification <P> <%> <F>
Hexadecimal code:
ESC: <1B>
16
RD: <52>16<44>16
Parameter: Abb, ccc, ddd, n-n
Initial value: Nil
Valid range and term of command:
When printer is powered OFF: The set parameter is not maintained.
Valid range within an item: The set parameter becomes invalid.
Valid range between items: The set parameter becomes invalid.