User’s Manual CONTROL BOARD FOR LT-286 MODEL BD2-2860 Rev.1.01 Added notes Mar.
BD2-2860 User’s Manual 1. Before using this equipment, be sure to read this User's manual thoroughly. Please keep this with care so as to referred to any time at need. 2. Portions of the contents of this User's manual may be changed without prior notice. 3. The reproduction of parts or all of the contents of this User's manual without permission is strictly forbidden. 4. Absolutely do not carry out maintenance, disassembly, or repair of parts that are not specified in this User's manual.
BD2-2860 User’s Manual CONTENT ......................................................................................................................................................2 1. OUTLINE ..........................................................................................................................................................5 1.1 FEATURES ........................................................................................................................................
BD2-2860 User’s Manual 8. ERROR HANDLING ............................................................................................................................... 24 8.1 PERIPHERAL CIRCUIT ERRORS ............................................................................................................................... 24 8.2 OPERATION ERRORS .............................................................................................................................................. 25 8.
BD2-2860 User’s Manual 1. OUTLINE This control boards is designed to be used to control our thermal printer, "LT-286" series through the computer etc. As being provided with many abundant functions, it can be used widely in various applications. Before you start using it, read this manual thoroughly and understand the content. 1.1 Features (1) Ultra compact (2) Both interface of Serial and Parallel can be selected by dip switch. (3) Input buffer incorporated. (4) Bar code printing is available.
BD2-2860 User’s Manual 1.3 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 Suite 510 5-68-10, Nakano Nakano-ku, Torrance, CA 90501, U.S.
BD2-2860 User’s Manual 2. BASIC SPECIFICATIONS 2.
BD2-2860 User’s Manual 2.2 Basic Specifications Items Print width Print Speed Number of columns Character dimensions Character types Bar code type Line pitch Interface Input buffer Supply voltage Operating Environment Storage Environment Outer Dimension Weight Contents 48 mm 400 dot line / sec (When 7.2V) Font A : 32 columns Font B : 42 columns Font A : 1.25 mm x 3.00 mm (10 + 2 dots space x 24 dots) Font B : 0.88 mm x 2.
BD2-2860 User’s Manual 3. CONNECTING CONNECTORS 3.1 CN1 Connector for Printer Mechanism (For Print Head) Pin No.
BD2-2860 User’s Manual 3.2 CN2 Connector for Print Mechanism (For Motor & Sensor) Pin No.
BD2-2860 User’s Manual 3.3 CN3 Connector for Interface Pin No.
BD2-2860 User’s Manual CAUTION: 1. For LED of ERROR and PE, there is a resister of 330Ω on the circuit side to make current value 10mA. Please use LED which its voltage is approx. 2V. LED over 10mA may break a control board. 2. Control circuit requires power supply only for one pin of each VCC and GND. However, Operation voltage is to be supplied to all of pin for safety use. 3. Serial interface equips a driver and receiver of RS-232C, make sure to use it at RS-232C level. 4.
BD2-2860 User’s Manual 4. DIP SWITCH SETTING (1) DIP SWITCH Pin No. Function DS1-1 Auto Cutter 2 CR Selection 3 Print Density 4 DTR/XON-XOFF 5 Baud Rate 6 " 7 " 8 " (2) JUMPER No.
BD2-2860 User’s Manual (4) INTERNATIONAL CHARACTER SET J-3 2 1 International Character Open Open Open Japan (JIS) Open Open Short Japan (Shift-JIS) Open Short Open Sweden Open Short Short Denmark 1 Short Open Open U.K. Short Open Short Germany Short Short Open France Short Short Short U.S.A (5) PRINT DENSITY DS1-3 J-6 Print Density OFF Open Light OFF Short Standard ON Open Slightly Dark ON Short Dark Note) 1. Input Buffer is 2k byte.(Fixed) 2. Serial data length is 8 bits.
BD2-2860 User’s Manual 5. POWER SUPPLY 5.1 Specifications VCC : 5V ± 5% 180 mA VP : 4.2V ~ 8.5V 1.3A (Peak : Approx.4.0A) Ordinal Voltage is to be 7.2V(Max). 8.5V is a voltage that is right after charging. 8.5V cannot be used for ordinal voltage. 5.2 Precautions (1) Design the product to supply power to Vdd before VH When power is supplied to this control board. (2) Design the product to turn off the power for Vdd after VH when power is turned off.
BD2-2860 User’s Manual 6. PARALLEL INTERFACE 6.1 Specifications Data input method : 8 bit parallel signal (DATA0~7) Control signals : ACK, BUSY, STB, FAULT, PE, RESET 6.2 Explanation of Input /Output Signals DATA0~7 : 8 bit parallel signal (Positive logic) STB : Strobe signal to read 8 bit data (Negative logic) RESET : Signal to reset control board (Negative logic) ACK : 8 bit data request signal.
BD2-2860 User’s Manual 6.3 Electrical characteristics (1) Input Signal Level "HIGH" level : 0.7Vdd MIN "LOW" level : 0.3Vdd MAX (2) Output Signal Level "HIGH" level : Vdd – 0.1V MIN "LOW" level : 0.1V MAX (3) I/O Conditions STB, RESET input signals are pulled up by 47KΩ . Other input signals are pulled up by 50K Ω . All the output signals are pulled up by 50KΩ .
BD2-2860 User’s Manual 6.4 Timing chart (1) Data Input and Printing Timing Supply T1, T2, T3 : 0.5 µs (MIN) T4 : 270 ns (MAX) T5 : 2.3 µs (TYP) T6 : 500 ms (MIN) *On supplying power 6.5 Data receiving control When BUSY signal is "LOW", data from the host can be received. When it being "HIGH", data cannot be received. 6.6 Buffering This control board incorporates 2K byte buffer. Therefore, big data can be buffered in input buffer, and the host side can be released immediately.
BD2-2860 User’s Manual 7. SERIAL INTERFACE 7.
BD2-2860 User’s Manual 7.2 Explanation of Input / Output signals (1) RXD Serial receiving data signal. On occurrence of framing error, overrun error, or parity error, the data is printed as "?". (2) DTR When this signal is READY, write data or a command. When they are written in BUSY, overrun error is occurred and data is ignored. Even during printing, data can be loaded in the input buffer. Further, BUSY can take place on supply of power, during test printing, during on-line, or on resetting.
BD2-2860 User’s Manual 7.3 Date configuration Mark b1,b2,b3 · · · · Space (1) (2) (3) (1) Start bit (2) Data bit (+ Parity bit) (3) Stop bit ( 1 or more ) (1) Start Bit In 1/2 bit from the mark-to-space starting edge, state is read once again. When "space" state is confirmed, it is recognized as the start bit. If it is "mark" state, it is not taken as the start bit. Without taking it as an error, detection of a start bit is carried out once again.
BD2-2860 User’s Manual 7.4 Error Detection Parity, framing, and overrun are detected. On detection of any error, the data are stored in the buffer as "?". (1) Framing Error With "space" state having been detected on detection of a stop bit, error takes place. The data are stored in the buffer as "?". (2) Parity Error With an error having been detected under specifying parity check, the data is stored in the buffer as "?".
BD2-2860 User’s Manual 7.
BD2-2860 User’s Manual 8. ERROR HANDLING 8.1 Peripheral Circuit Errors These errors are detected at power-on or initialization just after a reset. (1) Error Types Error Memory error Cutter error Description The CPU made a self-diagnosis of the circuit and detected an error with the external RAM. With the auto cutter enabled at the function selection terminal (DS1-1), the auto cutter (ACS-220-5V) is not connected to the cutter connector (CN4). (2) External signal outputs Interface Connector (CN3) Pin No.
BD2-2860 User’s Manual 8.2 Operation Errors (1)Error types Error No paper Head –up VH voltage error Head temperature error Cutter lock (ACS-220-5V) Description The printing paper set is not set The head-up lever is at its up position A VH voltage is beyond its allowable range (4.2 to 8.5V) A head temperature is less than 0°C or 65°C or higher. When driving the cutter, the cutter is locked due to an external factor (Paper jam, etc.). Note 1) The 8.
BD2-2860 User’s Manual 8.3 Error Indication The errors other than no paper are indicated by a LED output (Illumination or blinking) of the Pin20 (ERROR) of the CN3 (Interface connector). Error Display Pattern Memory error Cutter lock (Cutter error) Description Blinking cycle of 200ms Blinking cycle of 150ms(6 times) and 500ms(1 time). Illuminated until reverted Head –up VH voltage error Illuminated until reverted Head temperature error Blinking cycle of 1 sec.
BD2-2860 User’s Manual 9. PRINTER MECHANISM CONTROL SYSTEM 9.1 Thermal Head Control System (Division Driving system) The LT-286(Line thermal printer) is driven by this control board has a384 dots/line head divided into 6 block of 64 dots each.
BD2-2860 User’s Manual 9.2 Motor Drive The LT-286 uses a 4-phase bipolar stepping motor. It feeds the 1 dot line worth of paper in two steps by 2to-2 phase excitation. 9.2.1 Motor Drive Features 1) Drive at an optimum drive speed by the VH voltage. 2) Prevents heat generation of the motor by PWM control to restrain current consumption. 3) Provides acceleration control at the time of start. 9.2.2 Maximum Motor Drive Speeds at Major Voltage VH Voltage 5V 6V 7.
BD2-2860 User’s Manual 10. PRINT CONTROL FUNCTIONS 10.
BD2-2860 User’s Manual 10.2 Command Details 10.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. [Range] Describes an argument value(setting range) for the command. [Outline] Describes a command outline. [Caution] Describes a caution as required.
BD2-2860 User’s Manual 10.2.2 Details HT [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. • Initial setting of the horizontal tab position is each 8 characters in 9th, 17th, 25th,columns.
BD2-2860 User’s Manual LF [Function] Printing and Paper Feed Command [Code] <0A>H [Outline] Prints data inside the input buffer and feeds lines based on the lin e feed amount having been set. • The head of the line becomes the next print starting position.
BD2-2860 User’s Manual CR [Function] Print Command [Code] <0D>H [Outline] 1) When DS 1-2 is OFF: This command is ignored. 2) When DS 1- 2 is ON: With data held inside the internal print buffer, printing and line feed are performed. Without data inside the internal print buffer, however, no printing is performed.
BD2-2860 User’s Manual ESC SP n [Function] Setting the right space amount of the character [Code] <1B>H<20>H [Range] {0 =< n=< 20} Data is described in Hex code. [Outline] The rightward space amount is set in dot unit (1/203 inch unit). In the initial value, it is n=0. [Caution] The rightward space amount in doublewide mode is made double of the set volume.
BD2-2860 User’s Manual ESC ! n [Function] Collective Specifying Printing Mode [Code] <1B>H<21>H [Range] {0 =< n=< FF} Data is described in Hex code. [Outline] Printing mode is assigned.
BD2-2860 User’s Manual [Sample Program] LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H00) + "H" ; LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H01) + "H"; LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H08) + "H"; LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H10) + "H"; LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H20) + "H"; LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H80) + "H"; LPRINT CHR$ (&H1B) + " ! " + CHR$ (&HB9) + "H"; LPRINT CHR$ (&HA); [Print Results] 36 CITIZEN
BD2-2860 User’s Manual ESC % n [Function] Specifying/Canceling Download Character Set [Code] <1B>H<25>H [Range] {0 =< n =< 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. n0 Function 0 Canceling download character set 1 Specifying download character set [Caution] Download characters and download bit images cannot be defined simultaneously.
BD2-2860 User’s Manual ESC & s n m [a [p] s × a] m – n +1 [Function] Defining Download Character [Code] <1B>H<26>H []m-n+1 [Range] {s = 03} {20 (Hex) =< n =< m =< 7E (Hex)} {0 =< a =< 0C(Hex)} (Font A) {0 =< a =< 0A(Hex)} (Font B) [Outline] Defines the font of download characters of alphanumeric characters. • "s" indicates the number of bytes in vertical direction. • "n" indicates the start character code and m the end character code. To define only one character, set n=m.
BD2-2860 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 37.
BD2-2860 User’s Manual ESC * m n1 n2 [ d ] k [Function] [Code] Specifying the Bit Image Mode <1B>H<2A>H [ ] k [Range] {m= 0, 1, 32, 33 bit image mode (See the table below.)} {0 =< n1 =< FF(Hex)} {0 =< n2 =< 03(Hex)} {0 =< d =< FF(Hex)} [Outline] {k = n1 + FF(Hex) × n2 (m = 0, 1) {k = (n1+ FF(Hex) × n2) × 3} (m = 32, 33) According to the number of dots specified in n1, n2, specify the bit image of mode n. • The No.
BD2-2860 User’s Manual [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) + "*”; LPRINT CHR$ (&H85) ; LPRINT CHR$ (1) + CHR$ (20) + CHR$ (0); NEXT I GOSUB IMG1 LPRINT CHR$ (&HFF) ; LPRINT CHR$ (&HA); RETURN LPRINT CHR$ (&H1B) + "*”; IMG2 ; LPRINT CHR$ (32) + CHR$ (20) + CHR$ (0); LPRINT CHR$ (&HFF) ; GOSUB IMG2 LPRINT CHR$ (&HFF) ; LPRINT CHR$ (&HA); LPRINT CHR$ (&
BD2-2860 User’s Manual ESC – n [Function] Specifying/ Canceling Underline [Code] <1B>H<2D>H [Range] {0 =< n =< 02} data is described in Hex code. [Outline] Specifying/canceling an underline. • Types of underlines by n value are shown below: n (Hex) Type 0 Canceling an underline. 1 Specifying an underline for 1-dot width. 2 Specifying an underline for 2-dots width. [Caution] • An underline is attached to the full character width.
BD2-2860 User’s Manual ESC 2 [Function] Specifying 1/6-inch line feed rate [Code] <1B>H<32>H [Outline] The line feed rate per line is specified by 1/6 inch.
BD2-2860 User’s Manual ESC 3 n [Function] Setting line feed rate of minimum pitch [Code] <1B>H<33>H [Range] {0 =< n =< 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. [Default] • The initial value is n = 60 (1/6 inch) (18H), being 4.23 mm line feed rate.
BD2-2860 User’s Manual ESC = n [Function] Data Input Control [Code] <1B>H<3D>H [Range] {0 =< n =< FF} Data is described in Hex code. [Outline] Selecting equipment in which data input from the host is effective.
BD2-2860 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. • Dip switches setting are red once again.
BD2-2860 User’s Manual ESC D [ n ] k NUL [Function] Setting Horizontal Tab Position [Code] <1B>H<44>H [ ] k<00>H [Range] {0 =< n =< FFH} Data is described in Hex code. {0 =< k =< 20H} Data is described in Hex code . [Outline] Specifying a horizontal tab position. • "n" indicates the no. of columns from the beginning to the horizontal tab position. At this time, n= set position – 1 is to be specified. For example, to set the position at 9th column, n=8 is to be specified.
BD2-2860 User’s Manual ESC E n [Function] Specifying/canceling highlighting [Code] <1B>H<45>H [Range] {0 =< n =
BD2-2860 User’s Manual ESC G n [Function] Specifying/canceling Double Printing (ESC G n) [Code] <1B>H<47>H [Range] {0 =< n =< 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. n0 Type 0 Canceling double printing. 1 Specifying double printing. • This is effective to all characters.
BD2-2860 User’s Manual ESC J n [Function] Printing and feeding paper n/203 inch [Code] <1B>H<4A>H [Range] {0 =< n =< FF} Data is described in Hex code. [Outline] Prints data inside the print buffer and feeds paper 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. • Specified volume does not remain. • The beginning of the line is to be considered as the next printing start position.
BD2-2860 User’s Manual ESC R n [Function] Selecting the International Character set [Code] <1B>H<52>H [Range] {0 =< n =< 0A) Data is described in Hex code. [Outline] Depending on the value of n, following character sets are specified. n(Hex) Character Set 0 U.S.A. 1 France 2 Germany 3 U.K. 4 DenmarkI 5 Sweden 6 Italy 7 Spain 8 Japan 9 Norway A DenmarkII [Default] • The initial value of n indicates the character set specified by Jumper (J1~J3).
BD2-2860 User’s Manual ESC V n [Function] Specifying/Canceling 90°-right- turned Characters [Code] <1B>H<56>H [Range] {0 =< n =< 1} Data is described in Hex code. [Outline] Specifying/canceling characters 90°-right- turned character. • "n" means the followings. n (Hex) Condition Canceling 0 90°-right- turned Characters Specifying 90°-right- turned Characters 1 [Caution] • No underlines are attached to 90°-right- turned characters. [Default] • The initial value of n is "0".
BD2-2860 User’s Manual ESC a n [Function] Aligning the characters [Code] <1B>H<61>H [Range] {0 =< n =< 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 below: n (Hex) Position 0 Left end alignment 1 Centering 2 Right end alignment [Caution] • This is valid only when n is inputted at the beginning of line. • The initial value of n is "0".
BD2-2860 User’s Manual ESC c5 n [Function] Enabling/Disabling Panel Switches [Code] <1B>H<63>H<35>H [Range] {0 =< n =< FF} Data is described in Hex code. [Outline] Selecting the LF switch valid/invalid. • "n" is valid only in the lowest bit (n0). • "n" bit means the followings. n0 Condition 0 LFSW valid. 1 LFSW invalid. [Caution] When the panel switch is disabled with this command, the LF switch is disabled. Therefore, the paper cannot be fed by operating the LF switch.
BD2-2860 User’s Manual ESC d n [Function] Printing and Feeding the paper by n lines [Code] <1B>H<64>H [Range] * {0 =< n =< FF} Data is described in Hex code. [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. [Default] • The initial value is not defined.
BD2-2860 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. Otherwise, the character just after print will remain on this side of the cutter.
BD2-2860 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. Otherwise, the character just after print will remain on th is side of the cutter.
BD2-2860 User’s Manual ESC t n [Function] Selecting Character Code Table [Code] <1B>H<74>H [Range] {0 =< n =< 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. "n" means the followings. n (Hex) Condition 0 Page0(IBM Character #2) 1 Page1(Domestic Character) [Default] The initial value of n is subject to the character set for the country specified by the Jumper(J1~J3).
BD2-2860 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 revertible state of the host (DSR signal being in SPACE state) is confirmed, only 1 byte is transmitted. In XON/XOFF control, DSR signal state not being confirmed, only 1 byte is transmitted.
BD2-2860 User’s Manual ESC { n [Function] Specifying/Canceling the Inverted Characters [Code] <1B>H<7B>H [Range] {0 =< n =< FF} 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. n0 Condition 0 Canceling inverted characters. 1 Specifying inverted characters. [Caution] • Inverted-printing means printing the line at 180°turned.
BD2-2860 User’s Manual ESC $ n1 n2 [Function] Specifying the Absolute Positions [Code] <1B>H<24>H [Range] {0 =< n1 =< FF} {0 =< n2 =< 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. • The number of dots is divided by 256, whose quotient is taken as n2 and the residual as n1. • Therefore, the printing start position is equal to n1+n2 x 256 from the beginning of line.
BD2-2860 User’s Manual ESC ¥ n1 n2 [Function] Specifying the Relative Positions [Code] <1B>H<5C>H< n2> [Range] {0 =< n1 =< FF} {0 =< n2 =< 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. • Rightward direction is taken as plus and leftward direction as minus. • To specify N dot in minus (left) direction, use a complement of N for assignment.
BD2-2860 User’s Manual GS k n [ d ] k NUL [Function] Printing the Bar Code [Code] <1D>H<6B>H [ < d> ] k <00>H [Range] {0 =< n =< 7} Data are described in Hex code. [Outline] Specifying a type of bar code and printing bar codes. • The beginning of line is considered as the next printing start position. • Depending on the value of n, the following bar code can be selected. d indicates a character code to be printed and k indicates the number of character to be printed.
BD2-2860 User’s Manual [Description of Bar Codes] UPC-A UPC-E This bar code, consisting of numerals only, has a fixed length of 12 column; a 11-columns number entered from the host or application software plus a check column(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.
BD2-2860 User’s Manual • Processing of the special characters The characters above the ASCII code number 96 are considered special characters. The following lists the converted characters for entering these characters.
BD2-2860 User’s Manual [Description of Bar Codes] UPC-A, UPC-E, JAN-13 (EAN), JAN-8 (EAN), CODE39, ITF, CODABAR, CODE128 Type Print Sample UPC-A UPC-E Outline of Symbol Max. column 12-column fixed-length bar code consisting of numerals only – 8-column fixed-length bar code consisting of numerals only.
BD2-2860 User’s Manual GS w n [Function] Selecting the horizontal size (Scale factor) of the Bar Code [Code] <1D>H <77>H [Range] {2 =< n =< 4} Data is described in Hex code. [Outline] Selecting bar code width. n denotes the number of dots in fine element width. [Default] • The initial value of this width is "3".
BD2-2860 User’s Manual GS h n [Function] Selecting the height of the Bar Code [Code] <1D>H<68>H [Range] {1 =< n =< FF} Data is described in Hex code. [Outline] Selecting bar code height. n denotes the number of dots in the vertical direction. [Default] • The initial value of n is "162". [Sample Program] [Print Results] See Sample Program and Print Results for GS w on page 67.
BD2-2860 User’s Manual GS H n [Function] Selecting of Printing Position of HRI Code [Code] <1D>H<48>H [Range] {0 =< n =< 3} Data is desc ribed in Hex code. [Outline] Selecting printing position of HRI code in printing bar codes. • "n" means the followings. n (Hex) Printing Position 0 No printing 1 Above the bar code 2 Below the bar code 3 Both above and below the bar code The HRI code refers to the bar code-turned characters so that you can read them.
BD2-2860 User’s Manual GS f n [Function] Selecting the font of HRI code [Code] <1D>H<66>H [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. The HRI code refers to the bar code-turned characters so that you can read them. n Font 0 Font A 1 Font B [Caution] The HRI code is printed at the position specified with GS h on page 63. [Default] The initial value of n is “0”.
BD2-2860 User’s Manual GS * n1 n2 [ d ] n1 × n2 × 8 [Function] Defining the Download Bit Image [Code] <1D>H<2A>H [ < d > ] n1 × n2 × 8 [Range] {1 =< n1 =< FF} {1 =< n2 =< 30} {n1 × n2 =< 51F} Data is described in Hex code. [Outline] Defines downloading bit images of the number of dots specified by n1/n2. • The numbers of dots are n1 x 8 in horizontal direction and n2 x 8 in vertical direction. • d indicates bit image data.
BD2-2860 User’s Manual [Sample Program] GOSUB IMG LPRINT CHR$ (&H1D) + "/" + CHR$ (0); LPRINT CHR$ (&H1D) + "/" + CHR$ (1); LPRINT CHR$ (&H1D) + "/" + CHR$ (2); LPRINT CHR$ (&H1D) + "/" + CHR$ (3); END IMG: n 1 = 10 : n 2= 5 LPRINT CHR$ (&H1D) + "*”; LPRINT CHR$ (n1) + CHR$ (n2); FOR J=1 TO n1*8 FOR I=1 TO n2 LPRINT CHR$ (J); NEXT I NEXT J RETURN [Print Results] 72 CITIZEN
BD2-2860 User’s Manual GS / m [Function] Printing the Download, Bit Image [Code] <1D>H<2F>H [Range] {0 =< m =< 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.
BD2-2860 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. • Even with ESC @ (initialization of the printer) having been executed, defined content is not cleared.
BD2-2860 User’s Manual GS ^ n1 n2 n3 [Function] Executing the Macro [Code] <1D>H<5E>H [Range] {0 =< n1 =< FF} {0 =< n2 =< FF} {0 =< 3 =< 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 100msec is given for every execution.
BD2-2860 User’s Manual DC2 A n [Function] Selecting the Print drive system [Code] <12>H<41>H [Range] {0 =< n =< FF} [Outline] Selecting the Fixed division system or the Variable division system. • "n" is valid only for the lowest bit (n0). n0 Print Drive System 0 Fixed division number system 1 Variable division number system [Default] The initial value of n is specified by Jumper (J5).
BD2-2860 User’s Manual 11. CHARACTER CODE TABLE 11.
BD2-2860 User’s Manual 11.
BD2-2860 User’s Manual 11.
BD2-2860 User’s Manual APPENDIX 1.
BD2-2860 User’s Manual APPENDIX 2.