Function 112, Gs ( l pl ph m fn a bx by c xl xh yl yh d1...dk – Citizen Systems BD2-2220 User Manual

Page 125

Advertising
background image

- 125 -

fn=112 Function 112 Storing Raster Type Graphics Data to Print Buffer

GS ( L pL pH m fn a bx by c xL xH yL yH d1...dk

[Code]

<

1D>H<28>H<4C>H<pL><pH><m><fn><a><bx><by><c><xL><xH><yL><yH>[d1…dk]

[Range]

Parameter of GS ( L

11≦(pL+pH×256)≦65536(0≦pL≦255、0≦pH≦255)

Parameter of GS 8 L

11≦(p1+p2×256)+p3×65536+p4×16777216≦4294967295
(0≦p1≦255、0≦p2≦255、0≦p3≦255、0≦p4≦255)

Common parameter of GS ( L, GS 8 L

m=48
fn=112
a=48
bx=1、2
by=1、2
c=49(When monochrome color paper is specified) 、c=49、50 (When 2-color paper is specified)
1≦(xL+xH×256)≦1024

When monochrome color paper is specified

1≦(yL+yH×256)≦1662(with by = 1)
1≦(yL+yH×256)≦831(with by = 2)

When 2-color paper is specified

1≦(yL+yH×256)≦831(with by = 1)
1≦(yL+yH×256)≦415(with by = 2)

0≦d≦255
k=(int((xL+xHЧ256)+7/8)Ч(yL+yH×256)

[Outline]

[The specification which is common to the model]

Stores raster type graphics data to print buffer as large as x times horizontally/y times vertically.
• xL, xH specifies the horizontal direction of raster graphics data to (xL + xH x 256).
• yL, yH specifies the vertical direction of raster graphics data to (yL + yH x 256).
• “c” specifies the color of print data.

c

Color of Print Data

49 1st

color

50 2nd

color

• 1st color denotes black (high energy) in the specified 2-color thermal paper.
• 2nd color denotes red (low energy) in the specified 2-color thermal paper.

[Caution]

In STANDARD MODE, each color can be defined only once.

Advertising
This manual is related to the following products: