Citizen Systems Model CMP-10 manual

Page 18
n denotes the number of bytes for horizontal size of a bit image. d denotes a graphic data.
In 10(Hex) mode, data is in n 24 bytes.
For data in 11(Hex) mode, the size in non-compressed format shall be n 24 bytes. For data in 12(Hex) mode, the size in non-compressed format shall be n a bytes.
Compression system in 11(Hex) and 12(Hex) is the same as that for PCX file format (monochrome). The printer receives the compressed data, reproduces it in the following format and prints as bit-image data.
AIf either of upper two bit of input byte is 0, the byte is treated as graphic data.
If both of upper two bit of graphic data to be printed are 0, it is necessary to send the data to printer in ÒBÓ format described below.
B If both of upper two bit of input byte are 0, the remaining 6 bit specifies the times the data is repeated. The number of times to be repeated is specified in 0-3F(Hex). The byte follows this byte is treated as graphic data to be repeated.
Graphics data should line up from left to right and from top to bottom.
Ñ 16 Ñ
12
Compressed data of a dots vertical
11
Compressed data of 24 dots vertical (Argument ÒaÓ and 00(Hex) are not used.)
10
Non-compressed data of 24 dots vertical (Argument ÒaÓ and 00(Hex) are not used.)
m (Hex)
Type
Specifying the Bit Image Mode (PCX format)
<1B>H<2A>H<m><n>{<a><00>H} [d]k
{m= 10, 11 or 12(Hex)} {0 =< n =< 30(Hex)} {0 =< a =< 18(Hex)} {0 =< d =< FF(Hex)} {0 =< k =< n x 18(Hex)}
Designates a bit image of n*8 dots horizontal by 24 or a dots vertical. Dot density is fixed at 203 dpi both horizontally and vertically.
Bit image mode selected by the value of m is shown in the following table.

This command has one more version.

[Function]

[Code]

[Range]

[Outline]

Image 18
Contents Command Reference Revision CMP-10 Command SET Code Command FunctionGS H GS LGS W 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 Value21 Ñ 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 Hex Speed bps ESC S nESC T Model CMP-10 VerESC V n Hex ConditionESC Y n ESC Z ByteUpdate via firmware interface Not in use Reserved, always 33 Ñ ESC \ n1 n2 ESC ` ESC a n Hex PositionESC c5 n ESC d n ESC ESC x n B B B 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 CJAN-8 Type Print Sample Outline of Symbol Max. ColumnDescriptionof Bar Codes CODE93 CODE128GS w nL nH AT command Function Factory default AT*PAIRINFO=0AT*PAIRINFO=1 Bluetooth Init Commands ExampleBlack Mark Function ESC l nDistance from PE sensor and print head is approx .5 mm Character Codes Table Setup menu function After Ver2.20 If YES is not chosen, the changed setting will not be lost Change IrDA MAX Speed ?Memory switches OFF0 ON1 Memory switch 8 =Change Print Density ? 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 McbfPower Related Specifications BatteryAC Adaptor EMI StandardUL, C-UL, PSE 10AD-JU