background image

BD2-2860 User’s Manual

CITIZEN

48

ESC E n

[Function]

Specifying/canceling highlighting

[Code]

<1B>H<45>H<n>

[Range]

{0 =< n =<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:

n0

Type

0

Canceling highlighting.

1

Specifying highlighting.

• 

This is effective to all characters.

• 

Dot configuration of a highlighted character includes one extra dot added at its side.

[Caution]

• 

The print result of Double printing and highlight character printing is completely same.

[See Also]

ESC !

[Example]

[Sample Program]

LPRINT CHR$ (&H1B) + "E" + CHR$ (0);

LPRINT "AAABBB" + CHR$ (&HA);

LPRINT CHR$ (&H1B) + "E" + CHR$ (1);

LPRINT "AAABBB" + CHR$ (&HA);

[Print Results]

Summary of Contents for BD2-2860

Page 1: ...User s Manual CONTROL BOARD FOR LT 286 MODEL BD2 2860 Rev 1 01 Added notes Mar 19th 1999...

Page 2: ...nment will be outside the responsibility of this company 6 Do not carry out the operations other than those explained in this User s manual since doing do so may become a cause of accidents or breakdo...

Page 3: ...CONNECTOR FOR INTERFACE 11 3 4 CN4 CONNECTOR FOR PAPER CUTTER 12 4 DIP SWITCH SETTING 13 5 POWER SUPPLY 15 5 1 SPECIFICATIONS 15 5 2 PRECAUTIONS 15 6 PARALLEL INTERFACE 16 6 1 SPECIFICATIONS 16 6 2 EX...

Page 4: ...ion Number System 27 9 1 2 Variable Division Number System 27 9 2 MOTOR DRIVE 28 9 2 1 Motor Drive Features 28 9 2 2 Maximum Motor Drive Speeds at Major Voltage 28 10 PRINT CONTROL FUNCTIONS 29 10 1 C...

Page 5: ...Both interface of Serial and Parallel can be selected by dip switch 3 Input buffer incorporated 4 Bar code printing is available 5 Auto paper cutter control incorporated 6 User defined character regis...

Page 6: ...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...

Page 7: ...BD2 2860 User s Manual CITIZEN 7 2 BASIC SPECIFICATIONS 2 1 Model classification BD2 2860 U Character Set U International model Model Name of applied printermechanism 2860 For LT 286 Model Name...

Page 8: ...UPC A E JAN EAN 13 8 columns ITF CODE 39 CODE 128 CODABAR Line pitch 4 23 mm Can be changed by command Interface Parallel Conforms to Centronics or Serial Conforms to RS 232C Selectable by dip switch...

Page 9: ...circuit 8 STRB1 Output Strobe 1 9 STRB2 Output Strobe 2 10 STRB3 Output Strobe 3 11 TH Input Thermistor 12 GND Power GND 13 GND Power GND 14 GND Power GND 15 GND Power GND 16 GND Power GND 17 GND Pow...

Page 10: ...utput Operation signal for motor B 3 MOTOR A Output Operation signal for motor A 4 MOTOR B Output Operation signal for motor B 5 PE C Photo transistor collector Paper sensor 6 GND Photo transistor emi...

Page 11: ...ror LED output Can be connected directly 21 PE OUT Output PE LED output Can be connected directly 22 DTR Output Serial Interface DTR 23 TXD Output Serial Interface TXD 24 RXD Input Serial Interface RX...

Page 12: ...l 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 RESET terminal is pulled up by 3 3KW Make sure to make this terminal NC when t...

Page 13: ...able Disable Short circuit J5 Print Drive System Variable division Fixed division Short circuit J6 Print Density Combination with DS1 3 Short circuit Supplementary See below 5 J7 Not Used Short circui...

Page 14: ...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 Level Print Density Rate OFF...

Page 15: ...ltage 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 turne...

Page 16: ...ositive 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 Pulse signal output at the end of the BUSY signal Neg...

Page 17: ...vel 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...

Page 18: ...P 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 inc...

Page 19: ...ed Parity bit Odd Even or No parity Selectable by user Stop bit 1 bit or more 4 Signal polarity RS 232C Mark logic 1 3V 12V Space logic 0 3V 12V 5 Receiving data RD signal RS 232C Mark 1 Space 0 6 Rec...

Page 20: ...ke place on supply of power during test printing during on line or on resetting 3 TXD When while in data reception the rest of input buffer on the printer side goes less than 256 bytes DC3 13H data re...

Page 21: ...bit Without taking it as an error detection of a start bit is carried out onceagain 2 Data Bit Parity Bit Data bit and parity bit are sampled at 1 2 start bit for time length equal to 1 bit The state...

Page 22: ...n Error On detection of an overrun error the data are stored in the buffer as 7 5 Data receiving control When DTR DSR control having been selected with BUSY signal at LOW data from the host side are r...

Page 23: ...7 Electrical characteristics 1 RS 232C Circuit Input RXD DSR Printer side Host side Output DTR TXD Equivalent MAX232 Mark 8V At Busy Mark 8V 1 Space 8V At Ready Space 8V 0 Equivalent MAX232 RXD Mark 8...

Page 24: ...n 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 Signal Name Remarks 20 ERROR LED output For...

Page 25: ...ce 27 BUSY Parallel interface 37 PE Parallel interface 38 FAULT Parallel interface 3 Resetting methods Error Resetting Method No paper Set the paper See Note 1 Head up Bring down the head up lever VH...

Page 26: ...ERROR of the CN3 Interface connector Error Display Pattern Description Memory error Blinking cycle of 200ms Cutter lock Cutter error Blinking cycle of 150ms 6 times and 500ms 1 time Head up Illuminat...

Page 27: ...Number System This system always drives each block in the same sequence Note for a stepping motor driving method see 9 2 Motor Drive 9 1 2 Variable Division Number System This system counts the numbe...

Page 28: ...ntrol 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 Motor Drive Speed 5V 300pps 6V 490pps 7 2V 800pp...

Page 29: ...1 19 ESC V Specifying Canceling 90 right turned Characters 1BH 56H n 52 20 ESC a Aligning the characters 1BH 61H n 53 21 ESC c3 NOP 22 ESC c4 NOP 23 ESC c5 Enabling disabling the panel switches 1BH 63...

Page 30: ...es Range Describes an argument value setting range for the command Outline Describes a command outline Caution Describes a caution as required Default Describes an initial value for the command when a...

Page 31: ...n 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 See Also ESC D Sample Program LPRINT...

Page 32: ...Outline Prints data inside the input buffer and feeds lines based on the line feed amount having been set The head of the line becomes the next print starting position See Also ESC 2 ESC 3 Sample Pro...

Page 33: ...and 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 S...

Page 34: ...ode 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 Default...

Page 35: ...double height and double width being specified simultaneously double wide and double high characters are consisted An underline is attached to the full character width which however is not attached to...

Page 36: ...IZEN 36 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 LP...

Page 37: ...not be defined simultaneously Default n 0 See Also ESC Sample Program GOSUB SETCHR DATA 6 LPRINT CHR H1B CHR 0 DATA HFF H80 H00 LPRINT A CHR HA DATA H80 H80 H00 LPRINT CHR H1B CHR 1 DATA H80 H80 H00 L...

Page 38: ...ble includes 95 ASCII codes in total between 20 H 7E H a indicates the number of dots in horizontal direction for definition p is the data to be defined which indicate a pattern equal to a dot in hori...

Page 39: ...2860 User s Manual CITIZEN 39 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...

Page 40: ...in excess of dot position of one line 448 d ots the excess data are discarded d is bit image data the bits subject to printing are taken as 1 and those not as 0 The bit imagemodes specified by m are...

Page 41: ...R 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 HFF LPRINT CHR H...

Page 42: ...ifying an underline for 1 dot width 2 Specifying an underline for 2 dots width Caution An underline is attached to the full character width It is however not attached to the part having been skipped b...

Page 43: ...e The line feed rate per line is specified by 1 6 inch Sample Program Print Results LPRINT AAAAA CHR HA LPRINT CHR H1B 3 CHR 0 LPRINT AAAAA CHR HA LPRINT CHR H1B 3 CHR 50 LPRINT AAAAA CHR HA LPRINT CH...

Page 44: ...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 Th...

Page 45: ...efined 5 Not defined 6 Not defined 7 Not defined When the printer has not been selected this printer abandons all the received data until it is selected by thiscommand Caution Even when the printer ha...

Page 46: ...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 Sample Program...

Page 47: ...ary case Tab positions can be specified are maximum 32 Specifying exceeding this is ignored n k which denotes a setting position is input in the increasing order and ends at 00 H ESC D NUL clears all...

Page 48: ...he lowest bit n0 is shown as follows n0 Type 0 Canceling highlighting 1 Specifying highlighting This is effective to all characters Dot configuration of a highlighted character includes one extra dot...

Page 49: ...ng 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 Caution The print result...

Page 50: ...er 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 beg...

Page 51: ...er 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 s...

Page 52: ...g canceling characters 90 right turned character n means the followings n Hex Condition 0 Canceling 90 right turned Characters 1 Specifying 90 right turned Characters Caution No underlines are attache...

Page 53: ...ition 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...

Page 54: ...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...

Page 55: ...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 positi...

Page 56: ...nputted 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 r...

Page 57: ...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...

Page 58: ...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 When Japan is selected Domest...

Page 59: ...ntrol DSR signal state not being confirmed only 1 byte is transmitted In DTR DSR control when the host is in unrespectable state DSR signal being in MARK state it waits until receptacle state is creat...

Page 60: ...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 This is valid only wh...

Page 61: ...d 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 Caution Specifying beyond the line end is ignored...

Page 62: ...on 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 N dots 65536 N The number of dots is divided by 25...

Page 63: ...13 5 ITF 22 6 CODABAR NW 7 17 7 CODE 128 15 Caution When data being held in the print buffer this command is ignored Regardless of the specified feed pitch this command feeds the paper to be required...

Page 64: ...ally calculated inside the printer If the 8th column numeral is sent from the host the entire bar code will be printed as it is CODE39 This bar code consisting of uppercase alphabets and numerals has...

Page 65: ...h CODE B FNC 4 CODE B 101 85h FNC 4 CODE A CODE A 102 86h FNC 1 FNC 1 FNC 1 The following exemplifies a selection of the code subset as a method to utilize the special characters Selection of Code Sub...

Page 66: ...ed length bar code consisting of numerals only CODE39 Variable length bar code consisting of alphabets and numerals The start stopcode is automatically added 13 ITF Even column variable length bar cod...

Page 67: ...electing bar code width n denotes the number of dots in fine element width Default The initial value of this width is 3 Sample Program LPRINT CHR H1D h CHR 30 LPRINT CHR H1D w CHR 2 GOSUB BC LPRINT CH...

Page 68: ...r Code Code 1D H 68 H n 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...

Page 69: ...above and below the bar code The HRI code refers to the bar code turned characters so that you can read them Caution The HRI code is printed in the font selected with GS f Specify before the GS k comm...

Page 70: ...ode 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...

Page 71: ...rection d indicates bit image data The download bit image thus defined remains effective until redefinition ESC execution ESC or power OFF takes place Caution A download character and a download bit i...

Page 72: ...e 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 CH...

Page 73: ...ouble wide double high mode 101 DPI 101 DPI Caution When data exist inside the print buffer this command is ignored When a download bit image has not been defined this command is ignored A portion of...

Page 74: ...xceeding 2048 bytes is not defined Even with ESC initialization of the printer having been executed defined content is not cleared Therefore it is possible to include ESC into the content of macro def...

Page 75: ...nuously at the time intervals specified by n2 Execution by FEED S After waiting for lapse of time specified by n2 the ALAME LED flickers and the LF switch is waited to be pressed When it is pressed th...

Page 76: ...ode 12 H 41 H n 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 divisionnumber system 1 Var...

Page 77: ...BD2 2860 User s Manual CITIZEN 77 11 CHARACTER CODE TABLE 11 1 International...

Page 78: ...BD2 2860 User s Manual CITIZEN 78 11 2 Japanese...

Page 79: ...BD2 2860 User s Manual CITIZEN 79 11 3 International Character Set...

Page 80: ...BD2 2860 User s Manual CITIZEN 80 APPENDIX 1 Block Diagram...

Page 81: ...BD2 2860 User s Manual CITIZEN 81 APPENDIX 2 Outer Dimension...

Reviews: