Citizen CBM-202PC-04 User Manual

Mechanical control lsi
Hide thumbs Also See for CBM-202PC-04:

Advertisement

Quick Links

CITIZEN
User's Manual
CBM-202PC-04
Thermal Printer
Mechanical Control LSI
Rev 1.00 Newly Issued on 13.July.1998
Japan CBM Corporation
Information Systems Div.

Advertisement

Table of Contents
loading

Summary of Contents for Citizen CBM-202PC-04

  • Page 1 CITIZEN User's Manual CBM-202PC-04 Thermal Printer Mechanical Control LSI Rev 1.00 Newly Issued on 13.July.1998 Japan CBM Corporation Information Systems Div.
  • Page 2 CBM-202PC-04 User’s Manual <CAUTIONS> 1. Prior to using the printer, read this manual thoroughly for correct operation. After reading the manual, keep it carefully at hand for your future reference. 2. The information herein is subject to change without prior notice due to technical improvements.
  • Page 3: Table Of Contents

    CBM-202PC-04 User’s Manual CONTENTS 1. OUTLINE ..............................5 1.1 Applicable Printer ..........................5 2. MAINTENANCE AND SERVICE......................6 3. BASIC SPECIFICATIONS ........................7 3.1 Shapes and Dimensions ........................7 3.2 Structure ...............................7 3.3 Data Transfer Method..........................7 3.4 Printing Function ..........................7 3.5 Operating Voltage and Power Consumption ..................7 3.6 Operating Frequency ...........................7...
  • Page 4 CBM-202PC-04 User’s Manual 5. PRINTER MECHANISM CONTROL SYSTEM................33 5.1 Head Drive............................33 5.1.1 Head Dividing Method ......................33 5.1.2 Thermal Head Application Energy..................34 5.2 Motor Drive............................34 5.3 Auto Loading ............................35 6. SELF-PRINTING..........................36 7. OPERATION TIMING........................37 8. SPECIFICATIONS OF PACKAGE ....................38 9. PRECAUTIONS FOR MOUNTING ....................39 9.1 Precautions ............................39...
  • Page 5: Outline

    CBM-202PC-04 User’s Manual 1. OUTLINE This LSI is designed to control the line thermal printer LT-286 by using our Gate Array. It has the following features. (1) Capable of providing high-quality printing by detecting a temperature and automatically correcting printing density.
  • Page 6: Maintenance And Service

    CBM-202PC-04 User’s Manual 2. MAINTENANCE AND SERVICE For the information on maintenance and service, please contact our dealer or at the following address. Northern America Other Areas CBM America Corporation Japan CBM Corporation Service Center Information Systems Division 365 Van Ness Way...
  • Page 7: Basic Specifications

    CBM-202PC-04 User’s Manual 3. BASIC SPECIFICATIONS Shape and Dimensions (Refer to the “8. SPECIFICATIONS OF PACKAGE”.) 100-pin flat package Structure C-MOS LSI Data Transfer Method Parallel transfer or serial transfer (Selectable) (1) 8-bit parallel transfer (CENTRONICS based) (2) Asynchronous serial transfer (Selectable) 1,200, 2,400, 4,800, 9,600, or 19,200 bps Parity: Odd, Even, or None parity;...
  • Page 8: Hardware Specifications

    CBM-202PC-04 User’s Manual 4. HARDWARE SPECIFICATIONS Absolute Maximum Ratings Item Symbol Rating Supply voltage -0.3 ~ +7.0V Input voltage -0.3 ~ Vcc+0.3V Reference supply voltage -0.3 ~ AVcc+0.3V Analog supply voltage AVcc -0.3 ~ +7V Analog input voltage -0.3 ~ AVcc+0.3V...
  • Page 9: Pin Layout And Functions

    CBM-202PC-04 User’s Manual Terminal Layout and Functions Pin No. Signal Function Logic LFSW Input LF switch input LEDER Output Error LED output LEDPE Output Paper end LED output LATCH Output Head latch signal PAPER Input Paper end input NC HIGH...
  • Page 10 CBM-202PC-04 User’s Manual Pin No. Signal Function Logic MOTORB Output Motor B HIGH HIGH HIGH HIGH HIGH HIGH HIGH HIGH Output HIGH Output HIGH Output HIGH Output HIGH Output HIGH Output HIGH Output HIGH Output HIGH Output HIGH Output HIGH...
  • Page 11 CBM-202PC-04 User’s Manual Pin No. Signal Function Logic Output HIGH Output Output Output Output Output Output Output Output Ø Output Clock output HIGH STBY Input (Pull up to VCC at 10k ) Input Reset input Input (Pull up to VCC at 10k )
  • Page 12 CBM-202PC-04 User’s Manual Pin No. Signal Function Logic AVCC VREF THERM Input Head temperature detection terminal Input (Pull down to GND at 10k ) DETECV Input Voltage detection terminal Input (Pull down to GND at 10k ) Input (Pull down to GND at 10k )
  • Page 13: Gate Array Pin Layout And Functions

    CBM-202PC-04 User’s Manual Gate Array (CBM202LA) Terminal Layout and Functions Pin No. Signal Function Logic Input Parallel input data D7 HIGH Input Parallel input data D6 HIGH Input Parallel input data D5 HIGH Input Parallel input data D4 HIGH Input...
  • Page 14: Reset Circuit

    CBM-202PC-04 User’s Manual Reset Circuit The reset state is effectuated by setting the RES terminal to "Low." To surely reset, it is necessary to set it to "Low" at least for 20ms at power-on and for 625ns while operating. If an external reset is not used, the parts enclosed by dotted lines are not required.
  • Page 15: Oscillation Circuit

    CBM-202PC-04 User’s Manual Oscillation Circuit The oscillation circuit incorporates a clock oscillator which generates a system clock and an internal clock. There are two methods to supply a clock; one is to connect a ceramic oscillator, and the other is to input an external clock.
  • Page 16: Head-Up Detection Circuit

    CBM-202PC-04 User’s Manual Head-up Detection Circuit Print head up/down is detected by a head-up sensor built in the printer so that the printer will not be energized on with the head up. The circuit is "opened" when the print head is up, and "closed"...
  • Page 17: Head Control Circuit

    CBM-202PC-04 User’s Manual Head Control Circuit VP is controlled in order to prevent electrolytic corrosion of the printing head. HVC(Pin-4) of the Gate Array is turned to "HIGH" when turning on VP, and turned to "LOW" when turning it off.
  • Page 18: Paper End Detection Circuit

    CBM-202PC-04 User’s Manual 4.9 Paper End Detection Circuit A paper sensor built in the printer detects whether there is the printing paper, so that the printer will not be turned on when it has no paper. When the printer has no paper, PAPER (Pin 7) of the CPU is turned to "HIGH." If printing is under way, it will stop after printing that line, and output an error.
  • Page 19: Motor Control Circuit

    CBM-202PC-04 User’s Manual 4.10 Motor Control Circuit Avoid running the motor continuously for 15 minutes or more. CITIZEN...
  • Page 20: Auto Cutter Control Circuit

    CBM-202PC-04 User’s Manual 4.11 Auto Cutter Control Circuit This CPU has a function to control the auto cutter, using the Pin 33 of the Gate Array. When the auto cutter is not used, set the Pin 33 of the Gate Array to "HIGH." If set to "LOW,"...
  • Page 21: Parallel Interface Circuit

    CBM-202PC-04 User’s Manual 4.12 Parallel Interface Circuit The Gate Array ports are mainly used to provide an 8-bit parallel interface. When the parallel interface is not used, pull up STB(Pin 52) of the Gate Array with a 10k resistor. STB(Pin 87) of the CPU should be connected to INTR(Pin 56) of the Gate Array or pulled up with a 10k resistor.
  • Page 22 CBM-202PC-04 User’s Manual 2) Gate Array Signals and Their Functions Signal Pin No. Function STROBE Input A signal to read in the data.(Negative logic) Input Input data (Positive logic) A signal to indicate that the data has been read. Output (Negative logic) A signal to indicate that the data cannot be received.
  • Page 23: Serial Interface Circuit

    CBM-202PC-04 User’s Manual 4.13 Serial Interface Circuit A serial interface is an asynchronous serial system. When the serial interface is not used, pull up RXD (Pin 15) and DSR (Pin 100) of the CPU with a 47k resistor. 1) Circuit...
  • Page 24: Switch Circuit

    CBM-202PC-04 User’s Manual 4.14 Switch Circuit The printer has a switch input function for paper feed. Also provided is a function to perform self-printing, using this switch. (Turn on the power while holding down this switch, or apply a reset with this switch held down when the power has been already turned on.
  • Page 25: Error Output Circuit

    CBM-202PC-04 User’s Manual 4.15 Error Output Circuit The printer has two kinds of error outputs. (Up to a current of 10mA is available in order to mainly indicate with the LEDs. If this limit is exceeded, the CPU may be destroyed.
  • Page 26 CBM-202PC-04 User’s Manual 3) Resetting methods Error Resetting Method No-paper Set the paper. See Note 1. Head-up Shift down the head-up lever. Set the VH voltage to within the allowable range(4.2~8.5 V) and VH voltage error turn on the power again, or set the LFSW(Pin-2) of the CPU to Active.
  • Page 27: Function Selection Circuit

    CBM-202PC-04 User’s Manual 4.16 Function Selection Circuit The input port of the Gate Array has function selecting terminals. When connecting the DIP switch, and so on, connect them as they are. When fixing with a Jumper, and so on, only the terminals you want to set to "LOW"...
  • Page 28 CBM-202PC-04 User’s Manual (1) Interface Input Parity Baud Rate PAI7 PAI6 PAI5 PAI4 System Parallel HIGH HIGH HIGH HIGH 1200 HIGH HIGH HIGH 2400 HIGH HIGH HIGH 4800 HIGH HIGH None 9600 HIGH HIGH HIGH 19200 HIGH HIGH 1200 HIGH...
  • Page 29 CBM-202PC-04 User’s Manual (2) International characters International PBI2 PBI1 PBI0 Characters Japan (JIS) HIGH HIGH HIGH Japan (Shift JIS) HIGH HIGH Sweden HIGH HIGH Denmark I HIGH U.K. HIGH HIGH Germany HIGH France HIGH U.S.A. (3) Printing density Printing Density...
  • Page 30: External Ram Interface

    CBM-202PC-04 User’s Manual 4.17 External RAM Interface A 32 KB external SRAM is always required for printing. The printer does not function properly unless the external RAM is connected. 1) Circuit CITIZEN...
  • Page 31 CBM-202PC-04 User’s Manual Bus Timing VCC=5.0V±10%, AVCC=5.0V±10%, VREF=4.5V~AVCC, VSS=AVSS=0V, Ø=2~16MHz, TA=-20~+75ºC Item Symbol Clock cycle time t cyc 62.5 Clock pulse width "LOW" level time Clock pulse width "HIGH" level time Clock rise time Clock fall time Address delay time...
  • Page 32 CBM-202PC-04 User’s Manual CITIZEN...
  • Page 33: Printer Mechanism Control System

    CBM-202PC-04 User’s Manual 5. PRINTER MECHANISM CONTROL SYSTEM Head Drive 5.1.1 Thermal Head Control System The LT-286 is driven by this LSI has a 1-line printing head divided into 6 blocks of 64 dots each. With this LSI, you can choose either a Fixed Division Number System which drives the printing...
  • Page 34: Thermal Head Application Energy

    CBM-202PC-04 User’s Manual 5.1.2 Thermal Head Application Energy This LSI automatically controls the energy applied to the thermal head according to a temperature and Vp voltage. With the function selection terminal, print density can be set to the following 4 kinds of ranks listed in Fig.
  • Page 35: Auto Loading

    CBM-202PC-04 User’s Manual Auto Loading Auto loading is a function to facilitate replacement of the printing paper. It is enabled by setting the function selection terminal(Gate Array Pin 38) to "LOW." Functioning: Make the PE sensor detect PE once. Insert the printing paper into the printing paper insertion slot until the PE sensor detects the paper again.
  • Page 36: Self-Printing

    CBM-202PC-04 User’s Manual 6. SELF-PRINTING This LSI displays the setting of the function selection terminal and has a test print function to print Kanji when printing the half-size characters or using the specified Kanji ROM(CBM- 202KG-01). The procedure is as follows: 1) Turn on the power, setting LFSW(Pin 2) of the CPU to "LOW."...
  • Page 37: Operation Timing

    CBM-202PC-04 User’s Manual 7. OPERATION TIMINGS The following shows operation timings after resetting this CPU. CITIZEN...
  • Page 38: Specifications Of Package

    CBM-202PC-04 User’s Manual 8. SPECIFICATIONS OF PACKAGE CITIZEN...
  • Page 39: Precautions For Mounting

    CBM-202PC-04 User’s Manual 9. PRECAUTIONS FOR MOUNTING Precautions If a relative humidity drops, the LSI will be electrified with static electricity more easily. The surface mounting package must be stored in a dry atmosphere to prevent humidity absorption, but while it is being stored, it will not be electrified because it will not have friction, etc. When handling or mounting it onto the PCB where friction or electric discharge may be expected, the relative humidity is desired to be 45~75% from a viewpoint of prevention of electrification.
  • Page 40 CBM-202PC-04 User’s Manual 1) Temperature gradient 1 If a temperature rises abruptly, each joint of the surface mounting device to the package will have different temperature. As a result, the package may warp due to a difference in the thermal expansion factor of the material, thus damaging the chip.
  • Page 41: Clearing Method

    CBM-202PC-04 User’s Manual Fig. 9.3 Vapor Phase Reflow Recommended Conditions Cleaning Method After soldering, eliminate/clean remaining flux off the PCB because it affects reliability of the parts and PCB wiring, as a rule. As an example, ultrasonic cleaning is employed under the following conditions.
  • Page 42: Print Control Functions

    CBM-202PC-04 User’s Manual 10. PRINT CONTROL FUNCTIONS 10.1 Commands List Control Code Function Code Page Horizontal tab command Printing and paper feed Print command ESC SP Setting the right space amount of the character 1BH 20H n ESC ! Collective specifying printing mode...
  • Page 43 CBM-202PC-04 User’s Manual DC2 A Selecting the Print drive system 12H 41H n Notes: 1. In the table n, n1, n2, n3, m, a, s, p, and d denote the parameters for each command. 2. In the table, [ ]k denotes a repeat count of k-times.
  • Page 44: Command Details

    CBM-202PC-04 User’s Manual 10.2 Command Details 10.2.1 Description of Items XXXX [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 <...
  • Page 45 CBM-202PC-04 User’s Manual 10.2.2 Details [Function] Horizontal Tab 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.
  • Page 46: Esc Sp N

    CBM-202PC-04 User’s Manual [Function] Print Command [Code] <0D>H [Outline] 1) When the function selecting terminal(Gate Array Pin 32) is HIGH. This command is ignored. 2) When the function selecting terminal(Gate Array Pin 32) is LOW. With data held inside the internal print buffer, printing and line feed are performed.
  • Page 47 CBM-202PC-04 User’s Manual ESC ! n [Function] Collective Specifying Printing Mode [Code] <1B>H<21>H<n> [Range] Data is described in Hex code. [Outline] Printing mode is assigned. Each n bit indicates the following: Value Function Character Font Font A Font B Undefined...
  • Page 48 CBM-202PC-04 User’s Manual [Sample Program] LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H00) + "H" ; LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H01) + "H"; LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H08) + "H";...
  • Page 49 CBM-202PC-04 User’s Manual ESC % n [Function] Specifying/Canceling Download Character Set [Code] <1B>H<25>H<n> [Range] FF} data is described in Hex code. [Outline] Specifying/canceling download characters. Further, only the lowest bit (n0) is valid for n. The lowest bit (n0) indicates the following.
  • Page 50 CBM-202PC-04 User’s Manual ESC & s n m [ a [ p ] s X a] m – n +1 [Function] Defining Download Character [Code] <1B>H<26>H<s><n><m> [<a><p1><p2>• •<psXa>]m-n+1 [Range] {s = 03} {20 (Hex) 7E (Hex)} 0C(Hex)} (Font A) 0A(Hex)} (Font B) [Outline] Defines the font of download characters of alphanumeric characters.
  • Page 51 CBM-202PC-04 User’s Manual [Example] Create each data bit by setting "1" for a printed dot and "0" for an unprinted dot. [Sample Program] [Print Results] See Sample Program and Print Results for ESC % on Page 49. CITIZEN...
  • Page 52 CBM-202PC-04 User’s Manual ESC * m n1 n2 [ d ] k [Function] Specifying the Bit Image Mode [Code] <1B>H<2A>H<m><n1><n2> [ <d> ] k [Range] {m= 0, 1, 32, 33 bit image mode (See the table below.)} FF(Hex)} 03(Hex)} FF(Hex)}...
  • Page 53 CBM-202PC-04 User’s Manual [Example] [Sample Program] LPRINT CHR$ (&H1B) + "*" ; LPRINT CHR$ (0) + CHR$ (20) + CHR$ (0) ; IMG1 : GOSUB IMG1 LPRINT CHR$ (&HFF) ; LPRINT CHR$ (&HA) ; FOR I=1 TO 18 LPRINT CHR$ (&H1B) + "*" ;...
  • Page 54: Esc 3 N

    CBM-202PC-04 User’s Manual ESC – n [Function] Specifying/ Canceling Underline [Code] <1B>H<2D>H<n> [Range] 02} data is described in Hex code. [Outline] Specifying/canceling an underline. • Types of underlines by n value are shown below: n (Hex) Type Canceling an underline.
  • Page 55 CBM-202PC-04 User’s Manual [Function] Setting line feed rate of minimum pitch [Code] <1B>H<33>H<n> [Range] FF} Data is described in Hex code. [Outline] The line feed rate per line is specified by n/360 inch. Since an actual mechanical pitch is 1/203 inch, it is internally converted approximate to the value specified with this command.
  • Page 56 CBM-202PC-04 User’s Manual ESC = n [Function] Data Input Control [Code] <1B>H<3D>H<n> [Range] FF} Data is described in Hex code. [Outline] Selecting equipment in which data input from the host is effective. • Each bit of n indicates as follows:...
  • Page 57 CBM-202PC-04 User’s Manual ESC @ [Function] Initializing the Printer [Code] <1B>H<40>H [Range] Clears data stored in the print buffer and brings various settings to the initial state (Default state). [Caution] • Data inside the internal input buffer are not cleared.
  • Page 58 CBM-202PC-04 User’s Manual ESC D [ n ] k NUL [Function] Setting Horizontal Tab Position [Code] <1B>H<44>H [ <n> ] k<00>H [Range] FFH} Data is described in Hex code. 20H} Data is described in Hex code. [Outline] Specifying a horizontal tab position.
  • Page 59: Esc E N

    CBM-202PC-04 User’s Manual ESC E n [Function] Specifying/canceling highlighting [Code] <1B>H<45>H<n> [Range] FF} Data is described in Hex code. [Outline] Specifying/canceling the highlighting characters. • "n" is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: Type Canceling highlighting.
  • Page 60: Esc G N

    CBM-202PC-04 User’s Manual ESC G n [Function] Specifying/canceling Double Printing [Code] <1B>H<47>H<n> [Range] FF} Data is described in Hex code. [Outline] Specifying/canceling the double printing. • "n" is valid only for the lowest bit (n0). • Control by n is shown as follows.
  • Page 61 CBM-202PC-04 User’s Manual ESC R n [Function] Selecting the International Character Set [Code] <1B>H<52>H<n> [Range] Data is described in Hex code. [Outline] Depending on the value of n, following character sets are specified. n(Hex) Character Set U.S.A. France Germany U.K.
  • Page 62: Esc V N

    CBM-202PC-04 User’s Manual ESC V n [Function] Specifying/Canceling 90º-right- turned Characters [Code] <1B>H<56>H<n> [Range] 1} Data is described in Hex code. [Outline] Specifying/canceling characters 90º-right- turned character. • "n" means the followings. n (Hex) Condition Canceling 90ºright- turned Characters Specifying 90º-right- turned Characters [Caution] •...
  • Page 63: Esc A N

    CBM-202PC-04 User’s Manual ESC a n [Function] Aligning the characters [Code] <1B>H<61>H<n> [Range] 2} Data is described in Hex code. [Outline] All the printed data within one line are aligned in the specified position. • Depending on n value, positional alignment is carried out as in the table...
  • Page 64: Esc D N

    CBM-202PC-04 User’s Manual ESC c5 n [Function] Enabling/Disabling the Panel Switches [Code] <1B>H<63>H<35>H<n> [Range] FF} Data is described in Hex code. [Outline] Selecting the LF switch valid/invalid by LFSW(Pin 2). • "n" is valid only in the lowest bit (n0).
  • Page 65 CBM-202PC-04 User’s Manual ESC i (When Using Auto Paper Cutter) [Function] Full Cut [Code] <1B>H<69>H [Outline] Activating auto cutter unit (Full cut) [Caution] • This is valid only when n is inputted at the beginning of line. • Prior to cutting the paper, feed the paper from the printing position to beyond the paper cutting position of the cutter.
  • Page 66 CBM-202PC-04 User’s Manual ESC m (When Using Auto Paper Cutter) [Function] Partial Cut [Code] <1B>H<6D>H [Outline] Activating auto cutter unit (Partial cut) [Caution] • This is valid only when n is inputted at the beginning of line. • Prior to cutting the paper, feed the paper from the printing position to beyond the paper cutting position of the cutter.
  • Page 67: Esc T N

    CBM-202PC-04 User’s Manual ESC t n [Function] Selecting the Character Code Table [Code] <1B>H<74>H<n> [Range] 1} Data is described in Hex code. [Outline] Selecting Page n on the character code table: The character code table is selected depending on the value of n.
  • Page 68 CBM-202PC-04 User’s Manual ESC v (Serial Interface Only) [Function] Transmitting the printer status(Serial type) [Code] <1B>H<76>H [Outline] Current printer status is transmitted.. [Caution] • Status sent out consists of 1 byte whose content is as in the table below. • In DTR/DSR control, after receptible state of the host (DSR signal being in SPACE state) is confirmed, only 1 byte is transmitted.
  • Page 69 CBM-202PC-04 User’s Manual ESC { n [Function] Specifying/Canceling the Inverted Characters [Code] <1B>H<7B>H<n> [Range] Data is described in Hex code. [Outline] Specifying/canceling inverted characters. • "n" is valid only for the lowest bit (n0). • Bit n (n0) means the followings.
  • Page 70 CBM-202PC-04 User’s Manual ESC $ n1 n2 [Function] Specifying the Absolute Positions [Code] <1B>H<24>H<n1><n2> [Range] 1} Data is described in Hex code. [Outline] The printing start position is specified in the number of dots (1/203 inch unit) from the beginning of line.
  • Page 71 CBM-202PC-04 User’s Manual ESC ¥ n1 n2 [Function] Specifying the Relative Positions [Code] <1B>H<5C>H<n1>< n2> [Range] FF} Data is described in Hex code. [Outline] The printing start position is specified in the number of dots(1/203 inch unit) from the current position.
  • Page 72 CBM-202PC-04 User’s Manual GS k n [ d ] k NUL [Function] Printing the Bar Code [Code] <1D>H<6B>H<n> [ < d> ] k <00>H [Range] 7} Data are described in Hex code. [Outline] Specifying a type of bar code and printing bar codes.
  • Page 73 CBM-202PC-04 User’s Manual 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 columns numeral entered from the host or application software is compressed to 8 columns with a check column and printed.
  • Page 74 CBM-202PC-04 User’s Manual • The check column automatically calculated inside the printer is added to the end of the entered digits to be printed. • Processing of the special characters The characters above the ASCII code number 96 are considered special characters.
  • Page 75 CBM-202PC-04 User’s Manual [Description of Bar Codes] UPC-A, UPC-E, JAN-13 (EAN), JAN-8 (EAN), CODE39, ITF, CODABAR, CODE128 Type Print Sample Outline of Symbol Max. Columns 12-columns fixed-length code UPC-A consisting of numerals only 8-columns fixed-length code UPC-E consisting numerals only.
  • Page 76: Gs W N

    CBM-202PC-04 User’s Manual GS w n [Function] Selecting the width of the Bar Code [Code] <1D>H <77>H<n> [Range] 4} Data is described in Hex code. [Outline] Selecting bar code width. n denotes the number of dots in fine element width.
  • Page 77 CBM-202PC-04 User’s Manual GS h n [Function] Selecting the Height of the Bar Code [Code] <1D>H<68>H<n> [Range] FF} Data is described in Hex code. [Outline] Selecting bar code height. n denotes the number of dots in the vertical direction. [Default] •...
  • Page 78 CBM-202PC-04 User’s Manual GS H n [Function] Selecting the Printing Position of HRI Code [Code] <1D>H<48>H<n> [Range] 3} Data is described in Hex code. [Outline] Selecting printing position of HRI codes in printing bar codes. • "n" means the followings.
  • Page 79 CBM-202PC-04 User’s Manual GS f n [Function] Selecting the font of HRI code [Code] <1D>H<66>H<n> [Range] n = 0, 1 [Outline] Selecting the font of HRI code in printing bar code. The type of font can be printed by selecting n is as follows.
  • Page 80 CBM-202PC-04 User’s Manual GS * n1 n2 [ d ] n1 X n2 X 8 [Function] Defining the Download Bit Image [Code] <1D>H<2A>H<n1><n2> [ < d > ] n1 X n2 X 8 [Range] {n1 X n2 51F} Data is described in Hex code.
  • Page 81 CBM-202PC-04 User’s Manual GOSUB IMG LPRINT CHR$ (&H1D) + "/" + CHR$ (0) ; LPRINT CHR$ (&H1D) + "/" + CHR$ (1) ; LPRINT CHR$ (&H1D) + "/" + CHR$ (2) ; LPRINT CHR$ (&H1D) + "/" + CHR$ (3) ;...
  • Page 82 CBM-202PC-04 User’s Manual [Function] Printing the Download, Bit Image [Code] <1D>H<2F>H<m> [Range] 03} Data is described in Hex code. [Outline] Prints download bit image in a mode specified by m. • Modes can be selected by m are shown below.
  • Page 83 CBM-202PC-04 User’s Manual 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 2048 bytes. A portion exceeding 2048 bytes is not defined.
  • Page 84 CBM-202PC-04 User’s Manual GS ^ n1 n2 n3 [Function] Executing the Macro [Code] <1D>H<5E>H<n1><n2><n3> [Range] 1} Data is described in Hex code. [Outline] Executing contents defined in macro. • "n1~n3" indicate as follows: n1 : The number of times of macro execution n2 : Waiting time on macro execution Waiting time of n2 x 100ms is given for every execution.
  • Page 85 CBM-202PC-04 User’s Manual DC2 A n [Function] Selecting the Print drive system [Code] <12>H<41>H<n> [Range] [Outline] Selecting the Fixed division system or the Variable division system. • "n" is valid only for the lowest bit (n0). Print Drive System Fixed Division Number System...
  • Page 86: Character Codes Table

    CBM-202PC-04 User’s Manual 11. CHARACTER CODE TABLE 11.1 International CITIZEN...
  • Page 87: Domestic

    CBM-202PC-04 User’s Manual 11.2 Domestic CITIZEN...
  • Page 88: International Character Codes Table

    CBM-202PC-04 User’s Manual 11.3 International Character Set CITIZEN...

Table of Contents