Citizen Systems BD2-2220 Printer User Manual


 
- 103 -
2.2.12 Bar Code Commands
GS H n
CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 CT-S310
support model
PMU2XXX
[Function] Selecting of printing position of HRI characters
[Code] <1D>H<48>H<n>
[Range] 0n348n51
[Outline] [The specification which is common to the model]
Selecting printing position of HRI characters in printing bar codes.
“n” means the followings.
Printing Position n
0,48 No printing
1,49 Above the bar code
2,50 Below the bar code
3,51 Both above and below the bar code
The HRI characters refer to the bar code-turned characters so that you can read them.
[Default] n=0
[See Also] GS fGS k
[Sample Program] [Print Results]
*12*
*12*
1 2
*12*
No HRI characters
Printed above
Printed below
Printed above and below
LPRINT CHR$(&H1B);”3”; CHR$(5);
LPRINT CHR$(&H1D);”h”; CHR$(50);
LPRINT CHR$(&H1D);”H”; CHR$(0);
GOSUB BC
LPRINT CHR$(&H1D);”H”; CHR$(1);
GOSUB BC
LPRINT CHR$(&H1D);”H”; CHR$(2);
GOSUB BC
LPRINT CHR$(&H1D);”H”; CHR$(3);
GOSUB BC
END
BC:
LPRINT CHR$(&H1D);”k”;
LPRINT CHR$(4);
LPRINT “12”; CHR$(0);
LPRINT CHR$(&HA);
RETURN