Citizen CMP-10 manual GS w nL nH, Function

Page 63

GS w nL nH

[Function]

Selecting the horizontal size (Scale factor) of the Bar Code

[Code]

<1D>H<77>H<n>

[Range]

{2 =< n =< 4(Hex)}

[Outline]

Selecting bar code width.

 

n denotes the number of dots in fine element width.

[Default]

The initial value of this width is “3”.

[Sample Program]

 

 

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

 

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

 

GOSUB BC

 

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

 

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

 

GOSUB BC

 

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

 

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

 

GOSUB BC

 

END

 

BC:

 

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

 

PRINT #1, CHR$ (4);

 

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

 

RETURN

[Print Results]

 

 

← Height = 30, Magnification = 2

 

← Height = 50, Magnification = 3

 

← Height = 80, Magnification = 4

— 61 —

Image 63
Contents Command Reference Revision Code Command Function CMP-10 Command SETGS H Xxxx ALL Command DetailsBEL Print Results Sample Program0AH ESC RS ESC SP n Default Sample ProgramDefault See Also ESC ! nBit Function Value END ESC $ n1 n2 ESC % n ESC & m n1 n2 d k Initialize commandHex Mode Vertical Direction Horizontal Direction Dots ESC * m n1 n2 d kMax. Dots IMG1 Page ESC + ESC nHex Type ESC ESC 3 n Bit Equipment Value ESC = nESC n Hex Track ESC ? nESC @ See Also Sample Program Print Results ESC D n k NULESC E n ESC G n ESC J n ESC R nHex Character Set Model CMP-10 Ver ESC S nESC T Hex Speed bpsHex Condition ESC V nESC Y n Byte ESC ZUpdate via firmware interface Not in use Reserved, always Byte ESC \ n1 n2 ESC ` Hex Position ESC a nESC c5 n ESC d n ESC ESC x n Default Initial value of n is Sample Program GS n m Memory Switch OFFSee Also Sample Program GS * n1 n2 d n1 n2 D1 ...... DnHex Name Dot Density Vertical Direction Horizontal Direction GS / m1DH3AH Hex Printing Position GS H nGS L nL nH GS W n NL = 40 Hex, nH = 2 Hex GS n1 n2 n3 Hex ModeBit Status Item Addressed by ABS GS a nNot in use Thermal head is overheated Disabled for ASB may also have changed Hex Font GS f n1DH68Hn 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 Code set a Code set B Code set C HexDescriptionof Bar Codes Type Print Sample Outline of Symbol Max. ColumnGS w nL nH ESC l n Black Mark FunctionDistance from PE sensor and print head is approx .5 mm Character Codes Table Programming Considerations Serial Interface Pin No Signal Direction Function Pin No. of Cable14, 15 pin Communicate mode setting Explanation of Input/Output SignalsRS-232C Circuit Electrical CharacteristicsIrComm 3 Wire raw IrLPT Infrared Communication SpecificationsPrinter Mechanism Mechanical SpecificationBattery Power Related SpecificationsEMI Standard AC Adaptor