Command ReferenceMOBILE LINE THERMAL PRINTERMODEL CMP-10Rev. 3.10 Revised on Dec 13, 2006
— 8 —ESC SP n[Function] Setting the right space amount of the character[Code] <1B>H<20>H<n>[Range] {0 =< n =< 20(Hex)}[Outline
— 9 —Value010 Character Font Font A Font B1 Undefined2 Undefined3 High-lighting Canceled Specified4 Double height Canceled Specified5 Double width Can
— 10 —[Sample Program]PRINT #1, CHR$(&H1B) + “!” + CHR$(&H00) + “H” ;PRINT #1, CHR$(&H1B) + “!” + CHR$(&H01) + “H” ;PRINT #1, CHR$(&am
— 11 —ESC $ n1 n2[Function] Specifying the Absolute Positions[Code] <1B>H<24>H<n1><n2>[Range] {0 =< n1 =< FF(Hex)}{0 =&l
— 12 —ESC % n[Function] Specifying/Canceling Download Character Set[Code] <1B>H<25>H<n>[Range] {0 =< n =< FF(Hex)}[Outline] Sp
— 13 —ESC & m n1 n2 [d] k[Function] Define user characters[Code] <1B>H<26>H<m><n1><n2>[<d>]k[Range] {m = 0, 1,
— 14 —Vertical Direction Horizontal DirectionDotsDot Density Dot DensityMax. Dots0 8-dot single density 8 67 DPI 101 DPI 1921 8-dot double density 8 6
— 15 —[Sample Program]PRINT #1, CHR$(&H1B) + “ * ”;PRINT #1, CHR$(0) + CHR$(20) + CHR$(0); IMG1:GOSUB IMG1 PRINT #1, CHR$(&HFF);PRINT #1, CHR$
— 16 —This command has one more version.[Function] Specifying the Bit Image Mode (PCX format)[Code] <1B>H<2A>H<m><n>{<a>
— 17 —[Caution] • An underline is attached to the full character width. It is, however, not attached tothe part having been skipped by horizontal tab
Rev. No. Date CommentRev. 1.00 2002/11/15 Newly issuedRev. 1.01 2002/12/18 Revised P. 1, P. 2, P. 47, P. 54, P. 56, P. 59Rev. 1.02 2003/01/17 Added Ch
— 18 —ESC .[Function] Printer self test[Code] <1B>H<2E>H[Range] None[Outline] Prints test page, downloaded bit image, and self-diagnostic
— 19 —ESC 3 n[Function] Setting line feed rate of minimum pitch[Code] <1B>H<33>H<n>[Range] {0 =< n =< FF(Hex)}[Outline] The li
— 20 —A A A A A A A A A A a a a a aESC = n[Function] Data Input Control[Code] <1B>H<3D>H<n>[Range] {0 =< n =< FF(He
— 21 —ESC > n[Function] Saving current setting[Code] <1B>H<3E>H<n>[Range] n = 0 or 1[Outline] This command saves International ch
— 22 —ESC ? n[Function] Reading magnetic stripe reader[Code] <1B>H<3F>H<n>[Range] {0 =< n =< 7(Hex)}[Outline] When the command
— 23 —ESC @[Function] Initializing the Printer[Code] <1B>H<40>H[Outline] Clears data stored in the print buffer and brings various setting
— 24 —ESC D [ n ] k NUL[Function] Setting Horizontal Tab Position[Code] <1B>H<44>H [ <n> ] k<00>H[Range] {0 =< n =< FF(H
— 25 —ESC E n[Function] Specifying/canceling highlighting[Code] <1B>H<45>H<n>[Range] {0 =< n =< FF(Hex)}[Outline] Specifying/c
— 26 —ESC G n[Function] Specifying/canceling Double Printing[Code] <1B>H<47>H<n>[Range] {0 =< n =< FF(Hex)}[Outline] Specifyin
— 27 —ESC J n[Function] Printing and feeding paper n/203 inch[Code] <1B>H<4A>H<n>[Range] {0 =< n =< FF(Hex)}[Outline] Prints d
— 1 —1. CMP-10 COMMAND SETCode Command Function Page1 BEL Sounds the Buzzer 42HT Horizontal Tab Command 53LF Printing and Paper Feed Command 64CRPrin
— 28 —ESC S n[Function] Setting serial interface communication speed[Code] <1B>H<53>H<n>[Range] {0 =< n =< 6(Hex)}{30 =< n
— 29 —ESC V n[Function] Specifying/Canceling 90°-right- turned Characters[Code] <1B>H<56>H<n>[Range] {0 =< n =< 1(Hex)}[Outlin
— 30 —ESC Y n[Function] Specifying print density[Code] <1B>H<59>H<n>[Range] {0 =< n =< 5(Hex)}[Outline] Specifies the print de
— 31 —ESC Z[Function] Returning diagnostic information[Code] <1B>H<5A>H[Outline] The printer will return 32 bytes of information with the
— 32 —BIT7BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0Update via firmwareinterfaceNot in useNot in useNot in useNot in useNot in useNot in useReserved, always 1
— 33 —BIT7BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0Not in useNot in useNot in useNot in useNot in useNot in useNot in useReserved, always 1BYTE 31BIT7BIT6 BI
— 34 —ESC \ n1 n2[Function] Specifying the relative positions[Code] <1B>H<5C>H<n1><n2>[Range] {0 =< n1 =< 255}{0 =< n
— 35 —ESC `[Function] Returning the battery voltage and Printer Head temperature[Code] <1B>H<60>H[Outline] When this command is send to CM
— 36 —ESC a n[Function] Aligning the characters[Code] <1B>H<61>H<n>[Range] {0 =< n =< 2(Hex)}[Outline] All the printed data wi
— 37 —ESC c5 n[Function] Enabling/Disabling Panel Switches[Code] <1B>H<63>H<35>H<n>[Range] {0 =< n =< FF(Hex)}[Outline]
— 2 —Code Command Function Page44 GS H Selecting of Printing Position of HRI Code 4645 GS L Setting the left margin 4746 GS W Setting the print area w
— 38 —ESC d n[Function] Printing and Feeding the paper by n lines[Code] <1B>H<64>H<n>[Range] {0 =< n =< FF(Hex)}[Outline] Prin
— 39 —Value010 Not defined1 Not defined2 Paper or paper cover With paper and No paper orcover closed cover open3 Not defined4 Not used Fixed to 0 –5 N
— 40 —ESC x n[Function] Selecting the time interval for automatically switching Off the printer.[Code] <1B>H<78>H<n>[Range] {1 =<
— 41 —∨ESC { n[Function] Specifying/Canceling the Inverted Characters[Code] <1B>H<7B>H<n>[Range] {0 =< n =< FF(Hex)}[Outline]
— 42 —Memory Switch OFF (0) ON (1)1 Slach 0 Normal 02 CR is ignored CR has the same action as LF3 Default font A Default font B4 Prints “Low Battery”.
— 43 —GS * n1 n2 [ d ] n1 n2 D1 ... Dn[Function] Defining the Download Bit Image (LOGO)[Code] <1D>H<2A>H<n1><n2> [ < d &
— 44 —GS / m[Function] Printing the Download, Bit Image[Code] <1D>H<2F>H<m>[Range] {0 =< m =< 03(Hex)}[Outline] Prints downloa
— 45 —GS :[Function] Starting/Ending Macro Definition[Code] <1D>H<3A>H[Outline] Specifying starting/ending macro definition.Means terminat
— 46 —GS H n[Function] Selecting of Printing Position of HRI Code[Code] <1D>H<48>H<n>[Range] {0 =< n =< 3(Hex)}[Outline] Selec
— 47 —GS L nL nH[Function] Setting the left margin[Code] <1D>H<4C>H<nL><nH>[Range] {0 =< nL =< FF(Hex)}{0 =< nH =<
— 3 —2. COMMAND DETAILS2.1 Description of ItemsXXXX ALL[Function] Command Function[Code] A sequence of code constituting a command is represented in
— 48 —GS W n[Function] Setting the print area width[Code] <1D>H<57>H<nL><nH>[Range] {0 =< nL =< FF(Hex)}{0 =< nH =<
— 49 —(3) When sufficient area cannot be secured even by executing the processing (2),the right space is decreased.• When bit image (or downloaded bit
— 50 —GS ^ n1 n2 n3[Function] Executing the Macro[Code] <1D>H<5E>H<n1><n2><n3>[Range] {0 =< n1 =< FF(Hex)}{0 =<
— 51 —GS a n[Function] Enabling/Disabling ASB (Automatic Status Back)[Code] <1D>H<61>H<n>[Range] {0 =< n=< FF(Hex)}[Outline] T
— 52 —BIT7BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0Not in use (0)Not in use (0)Not in use (0)Not in use (1)Not in use (0)Not in use (0)Thermal head is overhe
— 53 —BIT7BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0Not in use (0)Not in use (0)Not in use (0)Not in use (0)Not in use (1)Not in use (0)Not in use (0)Not in u
— 54 —GS f n[Function] Selecting the font of HRI characters[Code] <1D>H<66>H<n>[Range] {n = 0, 1(Hex)}[Outline] Selecting the font o
— 55 —GS h n[Function] Selecting the height of the Bar Code[Code] <1D>H<68>H<n>[Range] {1 =< n =< FF(Hex)}[Outline] Selecting
— 56 —GS k m [d1 ... dk] NULGS k m n [d1 ... dn][Function] Printing the bar code[Code] (1) <1D>H<6B>H<m> [d1...dk] NUL(2) <
— 57 —[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 havebeen enter
— 4 —BEL[Function] Sounds the Buzzer[Code] <07>H[Outline] By executing this command the buzzer will beep.This command functions in the same mann
— 58 —JAN-8(EAN)This bar code, consisting of numerals only, has a fixed length of 8 columns; a 7-column number entered from the host or application so
— 59 —When sending print data, note these points:(1)Each string of bar code data must begin with a code set select character (CODE A,CODE B, or CODE C
— 60 —TypeUPC-AUPC-EJAN-13JAN-8CODE39ITFCODABAR(NW-7)CODE93CODE128Print Sample|Outline of Symbol12-column fixed-length bar code consisting ofnumerals
— 61 —← Height = 80, Magnification = 4← Height = 30, Magnification = 2← Height = 50, Magnification = 3GS w nL nH[Function] Selecting the h
— 62 —AT command Function Factory defaultRemarksAT*PC=string= Set the PIN code. Last 4 digits of BD 1,2,3,5(string part is up to 16 characters) addres
— 63 —[Example] To enable the pairing information to be preserved, following command sequencesneed to be sent to the printer.GS z AT*PAIRINFO=1 CR ^C&
— 64 —BLACK MARK FUNCTIONESC l n[Function] Specify/canceling black mark function[Code] <1B>H<6C>H<n>[Range] n = 0 or 1[Outline] Spec
— 65 —Note for Black Mark Function1. Error detection at black mark modePaper end is checked during printing but black mark is not checked.After receiv
— 66 —3. CHARACTER CODES TABLEWPC1252
— 67 —4. Setup menu function (After Ver2.20)Make sure the printer power is off. Press ON/OFF switch and keep pressed for about 5 seconds until .LED i
— 5 —HT[Function] Horizontal Tab Command[Code] <09>H[Outline] Shifts the printing position to the next horizontal tab position.•Ignored when the
— 68 —D. CHANGE BAUD RATE ?If you want to change the baud rate of serial communication, choose YES here and if not, choose NO and goto next items.If y
— 69 —The list of choice in the setup menu (Bold items is default value.)Top question items Additional questions YES (ON/OFF Switch) NO (LF Switch)CHA
— 70 —NONONOYES or NOYES or NOYES YES YES Hold ON/OFF till LED changes to red. Current settings are printed.CHANGE DISCOVERABILITY ?CHANGE PAIRING INF
— 71 —5. PROGRAMMING CONSIDERATIONS5.1 Notes at Lowered Battery VoltageWhen battery is low, highly loaded printing such as printing of graphics with
— 72 —6. SERIAL INTERFACE6.1 Specifications(1) Data transfer system Asynchronous, half duplex(2) Baud rates1200, 2400, 4800, 9600, 19200, 38400, 5760
— 73 —6.3 Explanation of Input/Output Signals(1) RXDThis is signal, receiving data from the host. On occurrence of framing error, overrun error, or
— 74 —6.6 Electrical CharacteristicsRS-232C CircuitInput (RXD)Output (TXD)<Printer side> <Host side>Equivalent MAX232<Printer side>
— 75 —7. INFRARED COMMUNICATION SPECIFICATIONS7.1 Basic Specification(1) Interface: Infrared transceiver mode(2) Data transfer system Half duplexAsyn
— 76 —8. MECHANICAL SPECIFICATION8.1 Printer Mechanism(1) Print method Line thermal printing(2) Number of dot 384 dot/line(3) Head density 8 dot/mm(4
— 77 —9. POWER RELATED SPECIFICATIONS9.1 Battery(1) Battery type Lithium-ion battery pack(2) Maximum capacity 2000 mAh(3) Number of sells 2(4) Maximu
— 6 —LF[Function] Printing and Paper Feed Command[Code] <0A>H[Outline] Prints data inside the input buffer and feeds lines based on the line fee
— 78 —10. AC ADAPTOR(1) Input voltage 100V ~ 240V AC (50/60 Hz)(2) Input current 250 mA(3) Rated output 9V ±5%(4) Efficiency 65% or more (AC 100V/50
— 7 —CR[Function] Print one line Command[Code ] <0D>H[Outline] This command is ignored or its action is the same as LF depending on the lastexec
Commentaires sur ces manuels