Citizen CMP-10 manual GS H n, Hex Printing Position

Page 48

GS H n

[Function]

Selecting of Printing Position of HRI Code

[Code]

<1D>H<48>H<n>

[Range]

{0 =< n =< 3(Hex)}

[Outline]

Selecting printing position of HRI code in printing bar codes.

 

• “n” means the followings.

 

 

 

 

n (Hex)

Printing Position

 

0

No printing

 

1

Above the bar code

 

 

 

 

2

Below the bar code

 

3

Both above and below the bar code

 

The HRI code refers to the bar code-turned characters so that you can read them.

[Caution]

The HRI code is printed in the font selected with GS f. Specify before the GS k

 

command.

 

[Default]

The initial value of n is “0”.

[See Also]

GS f

 

[Sample Program]

PRINT #1, CHR$ (&H1B) + “3” + CHR$ (5);

PRINT #1, CHR$ (&H1D) + “h” + CHR$ (50);

PRINT #1, CHR$ (&H1D) + “H” + CHR$ (0);

GOSUB BC

PRINT #1, CHR$ (&H1D) + “H” + CHR$ (1);

GOSUB BC

PRINT #1, CHR$ (&H1D) + “H” + CHR$ (2);

GOSUB BC

PRINT #1, CHR$ (&H1D) + “H” + CHR$ (3);

GOSUB BC

END

BC:

PRINT #1, CHR$ (&H1D) + “k”;

PRINT #1, CHR$ (4);

PRINT #1, “12” + CHR$ (0);

PRINT #1, CHR$ (&HA);

RETURN

[Print Results]

No Visible Code

Printed above

Printed below

Printed above and below

— 46 —

Image 48
Contents Command Reference Revision CMP-10 Command SET Code Command FunctionGS H Command Details Xxxx ALLBEL Sample Program Print Results0AH ESC RS Default Sample Program ESC SP nDefault See Also ESC ! nBit Function Value END ESC $ n1 n2 ESC % n Initialize command ESC & m n1 n2 d kHex Mode Vertical Direction Horizontal Direction Dots ESC * m n1 n2 d kMax. Dots IMG1 Page ESC + ESC nHex Type ESC ESC 3 n ESC = n Bit Equipment ValueESC n ESC ? n Hex TrackESC @ ESC D n k NUL See Also Sample Program Print ResultsESC E n ESC G n ESC J n ESC R nHex Character Set ESC S n ESC THex Speed bps Model CMP-10 VerESC V n Hex ConditionESC Y n ESC Z ByteUpdate via firmware interface Not in use Reserved, always Byte ESC \ n1 n2 ESC ` ESC a n Hex PositionESC c5 n ESC d n ESC ESC x n Default Initial value of n is Sample Program Memory Switch OFF GS n mGS * n1 n2 d n1 n2 D1 ...... Dn See Also Sample ProgramGS / m Hex Name Dot Density Vertical Direction Horizontal Direction1DH3AH GS H n Hex Printing PositionGS L nL nH GS W n NL = 40 Hex, nH = 2 Hex Hex Mode GS n1 n2 n3GS a n Bit Status Item Addressed by ABSNot in use Thermal head is overheated Disabled for ASB may also have changed GS f n Hex Font1DH68Hn GS k m d1 ..... dk NUL GS k m n d1 ...... dn Bar code system Range of k Range of dBar code system Range of n Range of d For Standard Mode ForDescription of Bar Codes JAN-8EAN Hex Code set a Code set B Code set CType Print Sample Outline of Symbol Max. Column Descriptionof Bar CodesGS w nL nH Black Mark Function ESC l nDistance from PE sensor and print head is approx .5 mm Character Codes Table Programming Considerations Pin No Signal Direction Function Pin No. of Cable Serial InterfaceExplanation of Input/Output Signals 14, 15 pin Communicate mode settingElectrical Characteristics RS-232C CircuitInfrared Communication Specifications IrComm 3 Wire raw IrLPTMechanical Specification Printer MechanismPower Related Specifications BatteryAC Adaptor EMI Standard