eXtendo
®
Em ulation Command Set Reference
Part No. D 684 112 Mod.Nr. 4 150813 LEV Page 68 of 95
2.1.49 ESC [F0]+[20]+[05]+[w1]+ Create bitmap
[w2] +[h1] +[h1] +[a]
[Name] Create bitmap
[Function] This command is used to initiate the printing of a bitmap and to define its size.
[Code] [1B]
16
+ [F0]
16
+ [20]
16
+ [05]
16
+ [w1] + [w2] + [h1] + [h2] + [a]
[27]
10
+ [240]
10
+ [32]
10
+ [05]
10
+ [w1] + [w2] + [h1] + [h2] + [a]
[Description]
1. Command “ESC [F0]+[20]+[05]+[w1]+[w2]+[h1]+[h2]+[a]” is used to initiate bitmap printing and
will create a white bitmap with the specified width and height.
2. The bitmap content is defined by one or more consecutive “bitmap body data” commands.
3. Parameters [w1], [w2] define the width of the bitmap in pixels as follows:
“bitmap width” = [w1] * [256]
10
+ [w2]
4. Parameters [h1], [h2] define the height of the bitmap in pixels as follows:
“bitmap height” = [h1] * [256]
10
+ [h2]
5. Parameter [a] defines the attributes for printing the bitmap. The following figure shows the
possible values of parameter [a]:
Parameter [a], bit Value Printing mode
(LSB)
b1 – b0
[00]
2
No magnification
[01]
2
Double width
[10]
2
Double height
[11]
2
Double width and double height
b7 – b2
(MSB)
Reserved for future use; must be set to “0”