1.Before using this equipment, be sure to read this User's m anual thoroughly.
Please keep this with care so as to referred to anytime at need.
2.Portions of the contents of this User's manual may be changedwithout prior notice.
3.The reproduction of parts or all of the contents of this User's manual without permission is
strictly forbidden.
4.Absolutelydo not carry out m aintenance, disassembly, or repair of parts that are not
specified in this User's manual.
5.Note that losses which may be attributed to the user's wrong operation method or operating
environment 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 breakdowns.
7.Because data is basically transient, long-period and permanent storage of data will not be
possible. Please note in advance that this company will not be responsible in any way for
losses or lost profits caused through the clearing of the data due to breakdowns, repairs,
investigations, etc.
8.If any questionable points, mistakes, omitted explanations, etc. are found in the contents of
thismanual, please contact this company.
9.Please note that notwithstanding the conditions in above 8; this company will not be
responsible for the consequences o f results obtained through operation of this equipment.
AINTENANCE AND SERVICE................................................................................................................................... 6
ATA RECEIVING CONTROL....................................................................................................................................18
XPLANATION OF INPUT /OUTPUT SIGNALS ...........................................................................................................20
7.2 E
ATE CONFIGURATION...........................................................................................................................................21
ATA RECEIVING CONTROL....................................................................................................................................22
9.1.1 Fixed Division Number System......................................................................................................................27
9.1.2 Variable Division Number System ..................................................................................................................27
9.2.1 Motor Drive Features....................................................................................................................................28
9.2.2 Maximum Motor Drive Speeds at Major Voltage ............................................................................................28
10.2.1 Description of Items.....................................................................................................................................30
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 printingis available.
(5) Autopaper cutter control incorporated.
(6) User-definedcharacter registration function (94 characters)
1.2 Precaution
(1) Make sure to turn OFF the power supply in case of connecting / disconnecting the connectors.
(2) Absolutely do not make a short circuit between the terminals of connectors.
(3) Use power supply, LED, interface etc. following their specifications.
(4) Use the recommended paper shown below.
• Thermal Paper TF50KS-E2(Nippon-Seishi)
5
CITIZEN
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 AmericaOther Areas
CBM America CorporationJapan CBM Corporation
Service CenterInformation Systems Division
365 Van Ness Way Suite 5105-68-10, Nakano Nakano-ku,
Torrance, CA 90501, U.S.ATokyo 164-0001 Japan
1VH–Power for print head
2VH–Power for print head
3VH–Power for print head
4DOOutputHeaddata output signal
5LATCHOutputLatch signal
6CPOutputClock pulse
7Vdd–Power for circuit
8STRB1OutputStrobe 1
9STRB2OutputStrobe 2
10STRB3OutputStrobe 3
11THInputThermistor
12GND–Power GND
13GND–Power GND
14GND–Power GND
15GND–Power GND
16GND–Power GND
17GND–Power GND
18GND–Logic GND
19NC–No connection
20NC–No connection
21STRB4OutputStrobe 4
22STRB5OutputStrobe 5
23STRB6OutputStrobe 6
24NC–No connection
25DIInputPrint data serial input
26VH–Power for print head
27VH–Power for print head
28VH–Power for print head
3.2 CN2 Connector forPrint Mechanism (For Motor & Sensor)
Pin No.Signal NameI/OFunction
1MOTOR AOutputOperation signal for motor A
2MOTOR BOutputOperation signal for motor B
3MOTOR AOutputOperation signal for motor A
4MOTOR BOutputOperation signal for motor B
5PEC –Photo-transistor collector (Paper sensor)
6GND–Photo-transistor emitter (Paper sensor)
7PEA –Photo-LED anode (Paper sensor)
8GND–Photo-LED cathode (Paper sensor)
9GND–Head-up sensor GND
10H-UPInputHead-up signal
UsingConnector : 53047-1010 (Molex)
BD2-2860 User’s Manual
10
CITIZEN
3.3 CN3 Connector for Interface
Pin No.Signal NameI/OFunction
1Vdd
2Vdd
3Vdd
4GND
5GND
6GND
7VH
8VH
9VH
10VH
11VH
12VH
13P-GND
14P-GND
15P-GND
16P-GND
17P-GND
18P-GND
19LF-SWInputLF Switch input
20ERROROutputError LED output (Can be connected directly)
21PE OUTOutputPE LED output (Can be connected directly)
22DTROutputSerial Interface DTR
23TXDOutputSerial Interface TXD
24RXDInputSerial Interface RXD
25DSRInputSerial Interface DSR
26STBInputParallel Interface STB
27BUSYOutputParallel Interface BUSY
28ACKOutputParallel Interface ACK
29DATA 0InputParallel Interface DATA 0
30DATA 1InputParallel Interface DATA 1
31DATA 2InputParallel Interface DATA 2
32DATA 3InputParallel Interface DATA 3
33DATA 4InputParallel Interface DATA 4
34DATA 5InputParallel Interface DATA 5
35DATA 6InputParallel Interface DATA 6
36DATA 7InputParallel Interface DATA 7
37PEOutputParallel Interface PE
38FAULTOutputParallel Interface FAULT
39RESETInputParallel Interface RESET
40NC
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Using Connector : LY20-40P-DT1-P5 (JAE)
Applicable Connector : LY10-DC40 (JAE)
Power supply for circuit (5V)
Power supply for circuit (5V)
Power supply for circuit (5V)
GND
GND
GND
Power supply for operation (4.2~8.5V)
Power supply for operation (4.2~8.5V)
Power supply for operation (4.2~8.5V)
Power supply for operation (4.2~8.5V)
Power supply for operation (4.2~8.5V)
Power supply for operation (4.2~8.5V)
GND for operation
GND for operation
GND for operation
GND for operation
GND for operation
GND for operation
No Connection
BD2-2860 User’s Manual
11
CITIZEN
BD2-2860 User’s Manual
CAUTION:
1.For LED of ERROR and PE, there is a resister of 330Ω on the circuit side tomake 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.RESET terminal is pulled up by 3.3KW. Make sure tomake this terminal NC, when this
terminal is not used.
5.LF-SW input circuit is as below.
3.4 CN4 Connector for Paper Cutter
Pin No.Signal NameI/OFunction
1M +OutputCutter motor operational signal M +
2M–OutputCutter motor operational signal M –
3GND–GND
4SWInputCutter switch input signal
UsingConnector : 5207-0410A (Molex)
Note ) Use the specifiedPaper Cutter(Model Name : ACS-220-5V)
12
CITIZEN
BD2-2860 User’s Manual
4. DIP SWITCH SETTING
(1) DIP SWITCH
Pin No.FunctionONOFFFactory Setting
DS1-1Auto CutterEnableDisableOFF
2CR SelectionLF EnableLF DisableON
3Print DensityCombination with (2)-J6 (See below)OFF
4DTR/XON-XOFFXON-XOFFDTR/DSROFF
5Baud RateOFF
6"See below (3)OFF
7"OFF
8"OFF
(2) JUMPER
No.FunctionShortOpenFactorySetting
J1International Char acter setOpen (Short circuit)
J2"See below (4)Open (Short circuit)
J3"Open (Short circuit)
J4Paper Auto LoadingEnableDisableShort circuit
J5Prin t Drive SystemVariable divisionFixed divisionShort circuit
J6Print DensityCombination with DS1-3Short circuit
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 suppliedto this control board.
(2) Design the product to turn off the power for Vdd after VH when power is turned off.
(3) Make sure to turn off the power in case of connecting / disconnecting connectors.
(4) Make sure to use Vdd and VH following their specifications.
(5) Make sure to use this control board connecting all of terminals between VH and P-GND.
15
CITIZEN
6. PARALLEL INTERFACE
6.1 Specifications
Data input me thod : 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 read8 bitdata (Negative logic)
RESET: Signal to reset control board (Negative logic)
BD2-2860 User’s Manual
ACK: 8 bitdata request signal. Pulse signal output at the endofthe BUSY signal
(Negative logic)
BUSY: Signal to indicate BUSY state of the printer, Input new data for "LOW"
(Positive logic)
FAULT: Signal which is made "LOW" when printer is in alarm state.(Negative logic)
PE: Signal which is output when paper runs out.(Positive logic)
16
CITIZEN
6.3 Electrical characteristics
(1) Input Signal Level
"HIGH" level: 0.7Vdd MIN
"LOW" level: 0.3Vdd MAX
(2) Output Signal Level
BD2-2860 User’s Manual
"HIGH" level: Vdd
"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
<Printer side><Host side>
All the output signals are pulled up by 50K
–
0.1V MIN
Ω
Ω
.
Ω
.
.
<Printer side><Host side>
17
CITIZEN
6.4 Timing chart
(1) Data Input and Printing Timing
Supply
BD2-2860 User’s Manual
T1, T2, T3: 0.5
T4: 270 ns (MAX)
T5: 2.3
T6: 500 ms (MIN) *On supplying power
µ
s(MIN)
µ
s(TYP)
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 inputbuffer, and the hostside can bereleased immediately.
18
CITIZEN
7. SERIAL INTERFACE
7.1 Specifications
(1) Data transfer system: Asynchronous
(2) Baud rates
Start bit:1 bit
Data bit:8 bits Fixed
Parity bit:Odd/Even or No parity (Selectable by user)
Stop bit:1 bit or more
(4) Signal polarity
RS-232C
BD2-2860 User’s Manual
• Mark=logic " 1" (
• Space=logic " 0" (+3V ~ +12V)
–3V ~ –12V)
(5) Receiving data (RD signal)
RS-232C
• Mark=1
• Space=0
(6) Receiving control (DTR signal)
RS-232C
• Mark:Data transfer is not available
• Space:Data transfer is available
(7) Transmission control (TD signal)
DC1 code (11H) X-ON :Data reception is available
DC3 code (13H) X-OFF :Data reception is not available
19
CITIZEN
7.2 Explanation of Input / Output signals
(1) RXD
Serial receiving data signal. Onoccurrence of f raming error, overrun error, or parity error, the data is
printedas "?".
(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.
(3) TXD
When, whilein data reception, the rest of input buff eron the printer side goes less than 256 bytes , DC3
(13H) data reception impossible signals are output, when the rest of input buffer goes more than 256 bytes,
BD2-2860 User’s Manual
DC1 (11H) data reception possible signals are output to the host.
When DTR/DSR control having been selected in status information transmission, it is first confirmed that
DSR is "space" and data is sent.
When DTR/DSR control has not been selected, DSR is ignored and data is transmitted.
(4) GND
Common GND on the circuit.
20
CITIZEN
7.3 Date configuration
Mark
(1) Start bit
(2) Data bit (+ Parity bit)
(3) Stop bit ( 1 or more )
BD2-2860 User’s Manual
b1,b2,b3 ····
(1)(2)(3)Space
(1) Start Bit
In 1/2 bit from the m ark-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 carriedout onceagain.
(2) Data Bit + Parity Bit
Data bit and parity bit are sampledat 1/2 start bit for time length equal to 1 bit. The state thus sampled is
taken as the data for the bit concerned. Bits are named as Bit 0, Bit 1.…. Parity bit counted from the one
close to the start bit.
(3) Stop Bit
The stop bit is a mark level of 1 bit or more. With "space" having been detected on detection of a stop bit,
framingerror takes place.
21
CITIZEN
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 paritycheck, the data is stored in the buffer as "?".
(3) Overrun 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
received. With the signal at "HIGH", they can not be received.
When DTR/DSR control not having been selected, after X-ON transmission, data is received from the host
side. No transmission of data can take place after X-OFF is transmitted.
7.6 Buffering
Data transfer to the input buffer include DTR signals and TD signals as the control signals concerned.
(1) DTR signals (See the page 20
(2) TXD signals (See the page 20
–
7.2(2))
–
7.2(3))
22
CITIZEN
7.7 Electrical characteristics
(
p
(1) RS-232C Circuit
Input (RXD, DSR)
<Printer side><Host side>
Mark=
RXD
Equivalent MAX232
Output (DTR, TXD)
-8V):Stopbit
ace=(+8V): Start bit
S
BD2-2860 User’s Manual
DTR
Equivalent MAX232
Mark=(-8V): At BusyMark=(-8V): 1
Space=(+8V):At ReadySpace=(+8V): 0
TD
23
CITIZEN
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
ErrorDescription
Memory errorThe CPU made a self-diagnosis of the circuit and detected an error with the external
RAM.
Cutter errorWith 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.Signal NameRemarks
20ERRORLED output. For a blinking pattern, see 8.3 Error Indication.
22DTRSerial interface
27BUSYParallel interface
38FAULTParallel interface
(3) Resetting me thods
ErrorResettingMethod
Memory errorUnrecoverable
Cutter errorAfter turningoff the power, connect the auto cutter (ACS-220-5V) or turnoff the
function selection terminal (DS1-1) and turn on the power again.
24
CITIZEN
BD2-2860 User’s Manual
8.2 Operation Errors
(1)Error types
ErrorDescription
No paperThe printing paper set is not set
Head –upThe head-up lever is at its up position
VH voltage errorA VHvoltage is beyond its allowable range (4.2 to 8.5V)
Headtemperature errorA headtemperature is less than 0°Cor 65°C or higher.
Cutter lock
(ACS-220-5V)
Note 1) The 8.5V upper-limit voltage for VH voltage error is only an assumptive voltage just after charging the
battery when usingthe battery power. It cannot be normallyused.A normalmaximum voltage is 7.2V.
(2) External signal outputs
Interface Connector (CN3)
Pin No.Signal NameRemarks
20ERRORLED output. For a blinking (Lighting) pattern, see 8.3 Error Indication.
When driving the cutter, the cutter is locked due to an external factor (Paper jam,
etc.).
21PE OUTLED output. This is always output at the time of no paper.
22DTRSerial interface
27BUSYParallel interface
37PEParallel interface
38FAULTParallel interface
(3) Resetting methods
ErrorResettingMethod
No paperSet the paper. See Note 1.
Head –upBring down the head-up lever.
VH voltage errorSet toavoltage within the allowable range (4.2 to 8.5V) and turn on the power
again. Alternatively, activate the Pin19 (LFSW) of the CN3(interface connector).
Headtemperature errorAt the lower limit (less than 0°C ), printing becomes operational at 0°C higher.
At the upper limit (65°C or higher), it become operational at 60°Cor lower.
Cutter lock
(ACS-220-5V)
Note 1) When auto loading has not been selected with the function selection jumper(J4), set the paper manually.
When it has been selected, the auto loading function is enabled to facilitate replacement of the paper.
Note 2) The 8.5V upper-limit voltage for VH voltage error is only an assumptive voltage just after charging the
battery when using the battery power. It cannot be normally used. A normalmaximum voltage is 7.2V.
Eliminate paper jam and activate the Pin19(LFSW) of the CN3(Interface
Connector) or turn on the power again.
25
CITIZEN
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).
ErrorDisplay PatternDescription
Memory errorBlinki ng cycle of 200ms
Cutter lock (Cutter error)Blinking cycle of 150ms(6 times)
and 500ms(1 time).
Head –upIlluminated until reverted
VH voltageerrorIlluminateduntil reverted
Headtemperature errorBlinking cycleof1 sec.
Macro executionwaitBlinking cycle of 500ms.
26
CITIZEN
BD2-2860 User’s Manual
9. PRINTER MECHANISM CONTROL SYSTEM
9.1 Thermal Head Control System (Division Driving system)
The LT-286(Linethermal printer) is driven by this control board has a384 dots/line head dividedinto 6
block of 64 dots each. When actually driving the head, you can select either Fixed Division Number
system, which drives the head, always dividing it into 6 blocks or Variable Division Number system which
collectively drives several blocks at the time according to the number of activated head dots.
For selection by function selection, see 4. DIP SWITCH SETTING.
For selection by a command, see 10.2 Command Details.
9.1.1 Fixed Division NumberSystem
This system always drives each block in the same sequence.
1st Bloc k
64 Dots
2ndBlock
64 Dots
1st Step of Motor
3rd Block
64 Dots
4th Block
64 Dots
5th Block
64 Dots
2ndStepofMotor
6th Block
64 Dots
Note) for a stepping motor driving method, see 9.2 Motor Drive.
9.1.2 Variable Division Number System
This system counts the number of printingdots for each block of the printing dot line and drives the blocks
collective in such a manner not to exceed themaximu mnumber of driving dots (64 dots).
1st Bloc k
64 Dots
Unlike the Fixed Division Number system, this system drives all the head in the head in the head in the 1st
step of the motor and simply feeds the paper in the 2nd step of the motor.
2ndBlock
64 Dots
3rd Block
64 Dots
4th Block
64 Dots
5th Block
64 Dots
6th Block
64 Dots
2ndStepof Motor
6.Dot Line
6.Dot Line
27
CITIZEN
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 intwo 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 MaximumMotor Drive Speeds at Major Voltage
VH VoltageMotor Drive Speed
5V300pps
6V490pps
7.2V800pps
Note ) The maximum drive speed depends on the VH voltage.
A printing speed may slightly differ depending on a processing time o r voltage detection accuracy.
During the course of printing, amotor drive speed may be slower than themaximum drive speed,
dependingon what is printed or the head divided drive system.
28
CITIZEN
BD2-2860 User’s Manual
g
10. PRINT CONTROL FUNCTIONS
10.1 Command List
Control CodeFunctionCode
1HTHorizontal tab command09H31
2LFPrinting and paper feed0DH32
3CRPrint command0DH33
4ESC SPSetting the right space amount of the character1BH 20H n34
5ESC !Collective specifying printing mode1BH 21Hn35
6ESC %Specifying/canceling download character set1BH 25Hn37
7ESC &Defining download characters1BH 26H 5 n m[a p1 p2 ... psxa]m-n+138
8ESC *Specifying the bit image mode1BH 2AH mn1n2[d]k40
9
10ESC 2Specifying 1/6-inch line feed rate1BH32H43
11ESC 3Setting line feed rate of minimum pitch1BH 33H n44
12ESC =Data input control1BH 3DH n45
13ESC
14ESC DSetting h orizontal tab posi tion1BH 44H [n]k00H47
15ESC ESpecifying/canceling highlighting1BH 45H n48
16ESC GSpecifying/canceling double printing1BH 47Hn49
17ESC JPrinting and feeding paper n/203 inch1BH 4AHn50
18ESC RSelecting the international character set1BH 52H n51
19ESC VSpecifying/Canceling 90°-right- turned Characters1BH 56H n52
20ESCaAligning the characters1BH 61H n53
21ESC c3NOP
22ESC c4NOP
23ESC c5Enabling/disabling the panel switches1BH 63H 35H n54
24ESC dPrinting and feeding the paper by n lines1BH 64H n55
25ESC iActivating auto cutter (Full cut)1BH 69H56
26ESC mActivating auto cutter (Partial cut)1BH 6DH57
27ESC pNOP
28ESC tSelecting th e character codetable1BH 74H n58
29ESC uNOP
30ESC vTransmitting the printer status (Serial type)1BH76H n59
31ESC {Specifying/canceling the inverted characters1BH 7BH n60
32ESC $Specifying the absolute positions1BH 24H n1 n261
33ESC \Specifying th e relative positions1BH 5C n1 n262
34GS kPrinting the bar code1DH6BH n [“d”]k00H63
35GS wSelecting the horizontal size (scale factor) of bar code 1DH 77H n67
36GS hSelecting the height of the bar code1DH 68H n68
37GS HSelecting of print position of HRI code1DH48H n69
38GS fSelecting the font of HRI code1DH 66H n70
39GS *Defining the download, bit image1DH2An1n2[d]n1xn2x871
40GS /Printing the download, bit image1DH 2FH m73
41GS :Starting/ending macro definition1DH3AH74
42GS ^Executing the macro1DH 5E n1n2 n375
43DC2 ASelecting the Print drive system
ESC
–
@
Specifying/canceling underline1BH 2DH n42
Initializing the Printer1BH 40H46
12H 41H n
Pa
e
76
29
CITIZEN
BD2-2860 User’s Manual
10.2 Command Details
10.2.1 Description of Items
XXXXALL
[Function]Command Function
[Code]A sequence of code constituting a command is represented in hexadecimalnumber for <
>H, binarynumber for < >B, anddecimal 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.
[Default]Describes an initial value for the commandwhen accompanied by an argument.
[See Also]Describes the associated commands for use.
[Sample Program]Describes a coding example in the Q-BASIC sample program.
* This example is only for your reference and differs depending on the language
used, version, and so on. For details, see themanual for the language used.
30
CITIZEN
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 thehorizontal tab position is each8 characters in 9th, 17th,
2) WhenDS 1- 2 is ON:
Withdata heldinside the internalprint buffer, printing and line feed are performed.
Without data inside the internal print buffer, however, no printing is performed.
[Range]{0 =< n=< FF} Data is described in Hex code.
[Outline]Printingmode is assigned. Each n bit indic ates the following:
Value
BitFunction01
0Character FontFont AFont B
1Undefined
2Undefined
3High-lightingCanceledSpecified
4Double heightCanceledSpecified
5Double widthCanceledSpecified
6Undefined
7Un d erlineCanceledSpecified
BD2-2860 User’s Manual
[Caution]• With 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
the part having been skipped by the horizontal tab.
Neither is it attached to 90°-right-turned characters.
• The underline width is as having been specified by <ESC ->.
(The default setting is 1 dot width. )
• Specification with this comm and is invalid to Kanji, except specification and cancellation
of highlighting
• In case that double wide character and n ormal character exist insame one line, the layout
of underline is consistent one.
[Range]{0 =< n =< FFH} Data isdescribedin Hex code.
{0 =< k =< 20H} Data is describedin Hex code.
[Outline]Specifying a horizontal tab position.
• "n" indicates the no. of columns from the beginning to the horizontal tab position.
BD2-2860 User’s Manual
At this time, n= set position
column, n=8 is to be specified.
• k denotes the number of horizontal tab positions you want to set.
• The tab position is set at position where it is "character width x n" from the line beginning.
The cha racter width, at thistime,includes the rightward space amount.
In double wide characters, it is made double of the ordinary 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 the set tab positions. Following clearing, horizontal tab command is
ignored.
[Caution]Whenthedata, <n> k, is equal to or smaller than its preceding data, <n> k-1, it is assumed
that tab setting is finished. If this is the case, the next dataonward will be processed as normal
data.
When the data, <n> k, exceeds a 1-line print area, set the horizontal tabposition, assuming
"Set digit position = Maximum print digits + 1." The horizontal tab position does not
change even if the character width is altered after setting the horizontal tab position.
–
1 is to be specified. For example, to set the position at 9th
[Default]
[See Also]HT
[SampleProgram][Print Results]
•
Initial value is specified for each eight characters(9th.17th.25thcolumn)ofANKcharacters.
See Sample Program and Print Results for HT on Page 31.
47
CITIZEN
ESC E n
[Function]Specifying/canceling highlighting
[Code]<1B>H<45>H<n>
[Range]{0 =< n =<FF} Data is described in Hexcode.
[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:
[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 to
print a bar code.
• If the character code d cannot be printed in the respective bar code system, the bar
code so far will be printed, processing the subsequent data as normal data.
• When a bar code whose number of characters to be printed is fixed has been selected,
the number of characters k have to be always made equal to the number of characters
to be printed. (The bar code is not printed when not matching.)
• When the horizontal direction exceeds one line length, the excess part is not printed.
[Default]• The initial value is not specified.
63
CITIZEN
BD2-2860 User’s Manual
[Description of Bar Codes]<For print examples, see Page 66. >
UPC-AThis 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.
UPC-EThis bar code, consisting of numerals only, has a fixed length of 8 column; the first
number system character is "0" stationary. A 12-column numeral entered from the host or
applicationsoftwareiscompressedto8columnswithacheckcolumnandprinted. The12thcolumn check column is automatically calculated inside the printer and sent from the host, the
entire bar code will be printed, compressed to 8 columns.
JAN- 13( EAN)This bar code, consisting of numerals only, has a fixed length of 13 column; a 12-column
number entered from the host or application software plus a check column(13th column)
automatically calculated inside the printer. If the 13th-column numeral is sent from the host,
the entire bar code will be printed as it is.
JAN-8( EAN)This bar code, consisting of numerals only, has a fixed length of 8 column; a 7-column number
entered from the host or application software plus a check column(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.
CODE39This bar code, consisting of uppercase alphabets and numerals, has a variable length of column.
A start/stop code "*" is automatically added by the printer. Available characters include a
spaceand"$,%,+,-,·,/,0,1,2,3,4,5,6,7,8,9,"anduppercasealphabets.
ITFThis bar code, consisting of numerals only, has a variable length of even column. If an odd-
column code is transferred, nothing will be printed.
CODABAR (NW-7)
This bar code, consisting of alpha numerals, has a variable length of column. Available
characters include "0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, D, D, $, +, -,., /, :." A start/stop codeis
required; any one of A, B, C, and D is used.
CODE128• This bar code consists of all of 128 ASCII code characters and has a variable length of
column. This printer supportsthecode subsets A, B, and C. By prefixing a transfer
code with any one character of A, B, and C, you can select the code subset to start from.
If not prefixed with A, B, or C, the code subset B will be selected.
• The codesubset A is the bar code consisting of standard uppercase alphabets, numerals,
symbols, and special codes.
• The codesubset B is the bar code consistingof standard uppercase/lowercase alphabets,
numerals, symbols, control codes, and special codes.
• The code subset C is the bar code consisting of special characters and 100 kinds of
numbers ranging from 00 to 99.
• The check column automatically calculated inside the printer is added to the end of the
entered column to be printed.
64
CITIZEN
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.
ASCII CodeConverted CharacterSubset CodeSubset Code BSubset Code C
[Description of Bar Codes]
UPC-A, UPC-E, JAN-13 (EAN), JAN-8 (EAN), CODE39, ITF, CODABAR, CODE128
TypePrint SampleOutline of SymbolMax. column
12-column fixed-length bar code consisting
UPC-A
UPC-E
JAN-13
JAN-8
of numerals only–
8-column fixed-length bar code consisting
of numerals only. Abbreviated version of
UPC-A
13-column fixed-length bar code consisting
of numerals only–
8-column fixed-length bar code consisting
of numerals only–
–
CODE39
ITF
CODABAR
(NW-7)
CODE128
Printing is done depending on bar code specification type, number of print column, bar code
height, width (Magnification), visible code presence, and bar code data specification.
Variable-length bar codeconsisting of
alphabets and numerals. The start/stopcode
"*"is automatically added.
Even-column variable-length bar code
consisting of numerals only
Variable-length bar codeconsisting of
alpha numerals. Any one of A, B, C, and D
is required as the start/stop code.
Variable-length bar codeconsisting of all
128 ASCII code characters.
13
22
17
15
66
CITIZEN
GS w n
[Function]Selecting the horizontal size (Scale factor) of the Bar Code
[Code]<1D>H <77>H<n>
[Range]{2 =< n =< 4} Data isdescribedin Hex code.
[Outline]Selecting bar code width.
n denotes the number of dots in fine element width.