Manuel d'utilisation / d'entretien du produit CMP-10 du fabricant Citizen
Aller à la page of 74
Command Reference MOBILE LINE THERMAL PRINTER MODEL CMP-10 Rev . 2.00 Revised on June 30, 2003.
Rev . No. Date Comment Rev . 1.00 2002/11/15 Ne wly issued Rev . 1.01 2002/12/18 Re vised P . 1, P . 2, P . 47, P . 54, P . 56, P . 59 Rev . 1.02 2003/01/17 Added Chapter 3 (Character Codes T ab le) and Chapter 4 Rev . 2.00 2003/06/30 Added ESC >, ESC l, FF (Firmware V er .
— 1 — 1. CMP-10 COMMAND SET Code Command Function Page 1 BEL Sounds the Buzzer 4 2 HT Horizontal T ab Command 5 3 LF Printing and Paper Feed Command 6 4 CR Print one line Command 7 5 ESC RS Sounds.
— 2 — Code Command Function Page 44 GS H Selecting of Printing Position of HRI Code 46 45 GS L Setting the left margin 47 46 GS W Setting the print area width 48 47 GS ^ Executing the Macro 49 48 .
— 3 — 2. COMMAND DET AILS 2.1 Description of Items XXXX ALL [Function] Command Function [Code] A sequence of code constituting a command is represented in hexadecimal number for < >H, binary number for < >B, and decimal number for < >, respectively; [ ]k represents a repeat count of k-times.
— 4 — BEL [Function] Sounds the Buzzer [Code] <07>H [Outline] By executing this command the buzzer will beep. This command functions in the same manner as ESC RS.
— 5 — HT [Function] Horizontal T ab Command [Code] <09>H [Outline] Shifts the printing position to the next horizontal tab position. • Ignored when the next horizontal tab position has not been set. [Caution] • The horizontal tab position is set by ESC D.
— 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 feed amount having been set.
— 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 last execution of GS ) 2 command (FLAG SETTING COMMAND). If Flag 2 is 0, carriage return (CR) command is ignored.
— 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] The rightward space amount is set in dot unit (1/203 inch unit). [Caution] The rightward space amount in doublewide mode is made double of the set volume.
— 9 — V alue 01 0 Character Font Font A Font B 1 Undefined 2 Undefined 3 High-lighting Canceled Specified 4 Double height Canceled Specified 5 Double width Canceled Specified 6 Undefined 7 Underli.
— 10 — [Sample Program] PRINT #1, CHR$(&H1B) + “ ! ” + CHR$(&H00) + “ H ” ; PRINT #1, CHR$(&H1B) + “ ! ” + CHR$(&H01) + “ H ” ; PRINT #1, CHR$(&H1B) + “ ! ”.
— 11 — ESC $ n1 n2 [Function] Specifying the Absolute Positions [Code] <1B>H<24>H<n1><n2> [Range] {0 =< n1 =< FF(Hex)} {0 =< n2 =< 1(Hex)} [Outline] The printing start position is specified in the number of dots (1/203 inch unit) from the beginning of line.
— 12 — ESC % n [Function] Specifying/Canceling Download Character Set [Code] <1B>H<25>H<n> [Range] {0 =< n =< FF(Hex)} [Outline] Specifying/canceling download characters.
— 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, 2, 3(Hex)} {20 =< n1 =< FF(Hex)} {n1 =< n2 =< FF(Hex)} {k=(n2-n1+1)*48} (m=2) {k=(n2-n1+1)*16} (m=3) [Outline] Defines a group of user characters.
— 14 — V ertical Direction Horizontal Direction Dots Dot Density Dot Density Max. Dots 0 8-dot single density 8 67 DPI 101 DPI 192 1 8-dot double density 8 67 DPI 203 DPI 384 20 24-dot single dens.
— 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$(&HA); FOR I=1 T O 18 PRINT #1, .
— 16 — This command has one more version. [Function] Specifying the Bit Image Mode (PCX format) [Code] <1B>H<2A>H<m><n>{<a><00>H} [d]k [Range] {m= 10, 11 or 12(.
— 17 — [Caution] • An underline is attached to the full character width. It is, however , not attached to the part having been skipped by horizontal tab command.
— 18 — ESC . [Function] Printer self test [Code] <1B>H<2E>H [Range] None [Outline] Prints test page, downloaded bit image, and self-diagnostic information. The self- diagnostic information includes print density , print head temperature, battery voltage, Serial or IrDA interface, baud rate, and memory switch setting.
— 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 line feed rate per line is specified by n/203 inch. [Default] n = 22(Hex) 1/6-inch [Sample Program] See Sample Program and Print Results for ESC 2.
— 20 — A A A A A A A A A A a a a a a ESC = n [Function] Data Input Control [Code] <1B>H<3D>H<n> [Range] {0 =< n =< FF(Hex)} [Outline] Selecting equipment in which data input from the host is effective.
— 21 — ESC > n [Function] Saving current setting [Code] <1B>H<3E>H<n> [Range] n = 0 or 1 [Outline] This command saves International character , Serial port baud rate, Print de.
— 22 — ESC ? n [Function] Reading magnetic stripe reader [Code] <1B>H<3F>H<n> [Range] {0 =< n =< 7(Hex)} [Outline] When the command is received the bicolor LED is shining in RED and the printer is waiting for the magnetic card to be swiped through the reader .
— 23 — ESC @ [Function] Initializing the Printer [Code] <1B>H<40>H [Outline] Clears data stored in the print buffer and brings various settings to the initial state (Default state). Items not cleared are as shown below . • Data inside the internal input buffer are not cleared.
— 24 — ESC D [ n ] k NUL [Function] Setting Horizontal T ab Position [Code] <1B>H<44>H [ <n> ] k<00>H [Range] {0 =< n =< FF(Hex)} {0 =< k =< 20(Hex)} [Outline] Specifying a horizontal tab position. •“ n ” indicates the no.
— 25 — ESC E n [Function] Specifying/canceling highlighting [Code] <1B>H<45>H<n> [Range] {0 =< n =< FF(Hex)} [Outline] Specifying/canceling the highlighting characters.
— 26 — ESC G n [Function] Specifying/canceling Double Printing [Code] <1B>H<47>H<n> [Range] {0 =< n =< FF(Hex)} [Outline] Specifying/canceling the double printing. •“ n ” is valid only for the lowest bit (n0). • Control by n is shown as follows.
— 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 data in the print buffer and feeds paper by n/203 inch. • This function is temporary and does not affect the feed operation thereafter .
— 28 — ESC S n [Function] Setting serial interface communication speed [Code] <1B>H<53>H<n> [Range] {0 =< n =< 6(Hex)} {30 =< n =< 36(Hex)} [Outline] Sets the communication speed for the serial interface. The command is valid only when the printer is connected through a serial cable.
— 29 — ESC V n [Function] Specifying/Canceling 90 ° -right- turned Characters [Code] <1B>H<56>H<n> [Range] {0 =< n =< 1(Hex)} [Outline] Specifying/canceling characters 90 ° -right- turned character . “ n ” means the followings.
— 30 — ESC Y n [Function] Specifying print density [Code] <1B>H<59>H<n> [Range] {0 =< n =< 5(Hex)} [Outline] Specifies the print density . “ n ” means the followings. [Caution] Higher density may lead to slower printing.
— 31 — ESC Z [Function] Returning diagnostic information [Code] <1B>H<5A>H [Outline] The printer will return 32 bytes of information with the following structure: 1-22: Printer name up to 22 charachters. 23-25: Firmware version 26-27: Language version, described by two characters.
— 32 — BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0 Update via firmware interface Not in use Not in use Not in use Not in use Not in use Not in use Reserved, always 1 BYTE 29 BIT7 BIT6 BIT5 BIT4 BIT3 B.
— 33 — BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0 Not in use Not in use Not in use Not in use Not in use Not in use Not in use Reserved, always 1 BYTE 31 BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0 Not i.
— 34 — ESC n1 n2 [Function] Specifying the relative positions [Code] <1B>H<5C>H<n1><n2> [Range] {0 =< n1 =< 255} {0 =< n2 =< 255} [Outline] The printing start position is specified in the number of dots (1/203 inch unit) from the current position.
— 35 — ESC ` [Function] Returning the battery voltage and Printer Head temperature [Code] <1B>H<60>H [Outline] When this command is send to CMP-10, the printer will return the current value of battery voltage and the current temperature of the printer thermal head.
— 36 — ESC a n [Function] Aligning the characters [Code] <1B>H<61>H<n> [Range] {0 =< n =< 2(Hex)} [Outline] All the printed data within one line are aligned in the specified position.
— 37 — ESC c5 n [Function] Enabling/Disabling Panel Switches [Code] <1B>H<63>H<35>H<n> [Range] {0 =< n =< FF(Hex)} [Outline] Selecting the LF switch valid/invalid. •“ n ” is valid only in the lowest bit (n0). [Caution] • When the panel switch is disabled with this command, the LF switch is disabled.
— 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] Prints data inside the buffer and feeds paper by n lines. Specified line does not remain. The beginning of the line is to be considered as the next printing start position.
— 39 — V alue 01 0 Not defined 1 Not defined 2 Paper or paper cover With paper and No paper or cover closed cover open 3 Not defined 4 Not used Fixed to 0 – 5 Not defined 6 Not defined 7 Not defined ESC v [Function] T ransmitting the printer status [Code] <1B>H<76>H [Outline] Current printer status is transmitted.
— 40 — ESC x n [Function] Selecting the time interval for automatically switching Off the printer . [Code] <1B>H<78>H<n> [Range] {1 =< n =< 3C(Hex)} [Outline] Sets the time.
— 41 — ∨ ESC { n [Function] Specifying/Canceling the Inverted Characters [Code] <1B>H<7B>H<n> [Range] {0 =< n =< FF(Hex)} [Outline] Specifying/canceling inverted characters. •“ n ” is valid only for the lowest bit (n0).
— 42 — Memory Switch OFF (0) ON (1) 1 Slach 0 Normal 0 2 CR is ignored CR has the same action as LF 3 Default font A Default font B 4 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 > ] [Range] {1 =< n1 =< 7F} Defines horizontal size of downloaded image. {1 =< n2 =< F8} Defines the vertical size of downloaded image.
— 44 — GS / m [Function] Printing the Download, Bit Image [Code] <1D>H<2F>H<m> [Range] {0 =< m =< 03(Hex)} [Outline] Prints download bit image in a mode specified by m. • Modes can be selected by m are shown below . [Caution] • When data exist inside the print buffer , this command is ignored.
— 45 — GS : [Function] Starting/Ending Macro Definition [Code] <1D>H<3A>H [Outline] Specifying starting/ending macro definition. Means termination when received while defining a macro. [Caution] • Maximum content available for macro definition is 3328 bytes.
— 46 — 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.
— 47 — GS L nL nH [Function] Setting the left margin [Code] <1D>H<4C>H<nL><nH> [Range] {0 =< nL =< FF(Hex)} {0 =< nH =< FF(Hex)} [Outline] This command sets the left margin specified by nL and nH. The value of the left margin is [(nL + nH × 256) × 1/203] inches.
— 48 — GS W n [Function] Setting the print area width [Code] <1D>H<57>H<nL><nH> [Range] {0 =< nL =< FF(Hex)} {0 =< nH =< FF(Hex)} [Outline] Sets the print area width specified by nL and nH. • The print area width will be [(nL + nH × 256) × 1/203] inches.
— 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 image) is developed, if the print area w.
— 50 — GS ^ n1 n2 n3 [Function] Executing the Macro [Code] <1D>H<5E>H<n1><n2><n3> [Range] {0 =< n1 =< FF(Hex)} {0 =< n2 =< FF(Hex)} {0 =< n3 =< 1(Hex)} [Outline] Executing contents defined in macro. The following items are set for parameters n1 to n3.
— 51 — GS a n [Function] Enabling/Disabling ASB (Automatic Status Back) [Code] <1D>H<61>H<n> [Range] {0 =< n=< FF(Hex)} [Outline] This command selects the status item to be addressed by ASB (Automatic Status Back.
— 52 — BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0 Not 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 overheated (1) Not in use (0) BYTE 2 BIT7 B.
— 53 — BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0 Not 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 use (0) BYTE 4 [Caution] • If any status item is enabled, the status is sent to the host when this command is executed.
— 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 of HRI characters in printing bar code. The type of font can be selected with “ n ” as follows: The HRI characters refer to the bar code-turned characters so that you can read them.
— 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 bar code height. n denotes the number of dots in the vertical direction. [Default] n = A2(Hex) 162 dots [Sample Program] See Sample Program and Print Results for GS w .
— 56 — GS k m [d1 ..... dk] NUL GS k m n [d1 ...... dn] [Function] Printing the bar code [Code] (1) <1D>H<6B>H<m> [d1.....dk] NUL (2) <1D>H<6B>H<m><n> [d1....dn] [Range] (1) 0 =< m =< 6 The definitions of “ k ” and “ d ” vary with the bar code system.
— 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 have been entered, and the subsequent data is handled as normal data.
— 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 software plus a check digit (8th column) automatically calculated inside the printer . If the 8th-column numeral is sent from the host, the entire bar code will be printed as it is.
— 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), which selects the first code set to use. (2) Every special character is specified by a combination of two characters: a brace “ { “ followed by one character .
— 60 — T ype UPC-A UPC-E JAN-13 JAN-8 CODE39 ITF CODABAR (NW -7) CODE93 CODE128 Print Sample | Outline of Symbol 12-column fixed-length bar code consisting of numerals only . 8-column fixed-length bar code consisting of numerals only . Abbreviated version of UPC-A.
— 61 — ← Height = 80, Magnification = 4 ← Height = 30, Magnification = 2 ← Height = 50, Magnification = 3 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.
— 62 — BLACK MARK FUNCTION ESC l n [Function] Specify/canceling black mark function [Code] <1B>H<6C>H<n> [Range] n = 0 or 1 [Outline] Specifying / canceling the black mark function. [Caution] Black mark function uses PE sensor of CMP-10 for black mark sensor .
— 63 — Note for Black Mark Function 1. Error detection at black mark mode Paper end is checked during printing but black mark is not checked. After receiving FF command, printer checks black mark and paper end. Once black is detected and white is detected again within 6 mm paper feed, it is determined as black mark.
— 64 — 3. CHARACTER CODES T ABLE WPC1252.
— 65 — 4. PROGRAMMING CONSIDERA TIONS 4.1 Notes at Lowered Battery V oltage When battery is low , highly loaded printing such as printing of graphics with much black area may cause power off during printing.
— 66 — 5. SERIAL INTERF ACE 5.1 Specifications (1) Data transfer system Asynchronous, half duplex (2) Baud rates 1200, 2400, 4800, 9600, 19200, 57600, 115200 bps (Selectable by command) (3) Serial.
— 67 — 5.3 Explanation of Input/Output Signals (1) RXD This is signal, receiving data from the host. On occurrence of framing error , overrun error , or parity error , the data is printed as “ ? ” . (2) TXD This signal is for data flow control by X-ON/X-OFF .
— 68 — 5.6 Electrical Characteristics RS-232C Circuit Input (RXD) Output (TXD) <Printer side> <Host side> Equivalent MAX232 <Printer side> <Host side> Equivalent MAX232.
— 69 — 6. INFRARED COMMUNICA TION SPECIFICA TIONS 6.1 Basic Specification (1) Interface: Infrared transceiver mode (2) Data transfer system Half duplex Asynchronous (3) Baud rate: 9600, 19200, 38400, 57600, 115200 bps (Max baud rate can be set at 57600 bps by command.
— 70 — 7. MECHANICAL SPECIFICA TION 7.1 Printer Mechanism (1) Print method Line thermal printing (2) Number of dot 384 dot/line (3) Head density 8 dot/mm (4) Print width 48 mm (5) Sensors Head tem.
— 71 — 8. POWER RELA TED SPECIFICA TIONS 8.1 Battery (1) Battery type Lithium-ion battery pack (2) Maximum capacity 2000 mAh (3) Number of sells 2 (4) Maximum output voltage 4.2V/Cell (5) Cut-off voltage 2.75V/Cell (6) Standard charge 1000 mA, 23ºC, 4.
— 72 — 9. 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 Hz full load) 70% or more (AC 240V/50 Hz f.
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté Citizen CMP-10 c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du Citizen CMP-10 - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation Citizen CMP-10, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le Citizen CMP-10 va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le Citizen CMP-10, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du Citizen CMP-10.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le Citizen CMP-10. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei Citizen CMP-10 ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.