Citizen CMP-10 manual For Standard Mode, Description of Bar Codes

Page 59

[Caution]

For (1):

This command ends with a NUL code.

For UPC-A or UPC-E, the bar code is printed when 12 bytes of bar code data have been entered, and the subsequent data is handled as normal data.

For JAN13, the bar code is printed when 13 bytes of bar code data have been entered, and the subsequent data is handled as normal data.

For JAN8, the bar code is printed when 8 bytes of bar code data have been entered, and the subsequent data is handled as normal data.

The data of ITF bar code must have an even number of columns. Should the data have an odd number of columns, the last column is ignored.

For (2):

Numeral “n” indicates the number of data items, and the subsequent “n” bytes of data are handled as bar code data.

If “n” is out of the range, the processing of the command is aborted, and the subsequent data is handled as normal data.

For STANDARD MODE:

If “d” is out of the range, only a paper feed is executed, and the subsequent data is handled as normal data.

If the bar code is wider than the print area for one line, the bar code is not printed, but only a paper feed is executed.

The amount of paper feed corresponds to the height of the bar code (Including the HRI characters if HRI character printing is specified), irrespective of the line feed width set by a command such as ESC 2 or ESC 3.

This command only works if no data exists in the print buffer. If any data exists in the print buffer, the data subsequent to “m” is handled as normal data.

After the bar code is printed, the beginning of the line is taken as the start position for the next print.

This command is not affected by any print modes (Emphasis, double strike, underline, and character size), except for the inverted character mode.

[Description of Bar Codes]

<For print examples, refer to page 56>

UPC-A

This bar code, consisting of numerals only, has a fixed length of 12 columns; a 11- column number entered from the host or application software plus a check digit (12th column) automatically calculated inside the printer. If the 12th-column numeral is sent from the host, the entire bar code will be printed as it is.

UPC-E

This bar code, consisting of numerals only, has a fixed length of 8 columns; the first number system character is “0” stationary. A 12-column numeral entered from the host or application software is compressed to 8 columns with a check digit attached and then is printed. The 12thcolumn check digit is automatically calculated inside the printer. If it is and sent from the host, the entire bar code will be printed, compressed to 8 columns.

JAN-13(EAN)

This bar code, consisting of numerals only, has a fixed length of 13 columns; a 12- column number entered from the host or application software plus a check digit (13th column) automatically calculated inside the printer. If the 13th-column numeral is sent from the host, the entire bar code will be printed as it is.

— 57 —

Image 59
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 ProgramBit Function Value Default See AlsoESC ! n END ESC $ n1 n2 ESC % n ESC & m n1 n2 d k Initialize commandMax. Dots Hex Mode Vertical Direction Horizontal Direction DotsESC * m n1 n2 d k IMG1 Page Hex Type ESC +ESC n 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 Hex Character Set ESC J nESC R n 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 Bar code system Range of n Range of d GS k m d1 ..... dk NUL GS k m n d1 ...... dnBar code system Range of k Range of d Description of Bar Codes For Standard ModeFor 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