“The product complies with the requirements of the Low Voltage Directive 73/23/EEC,
93/68/EEC and the Directive 89/336/EEC, 91/263/EEC, 92/31/EEC, 93/68/EEC”
Place:Tokyo, Japan
Date:April, 1997
European Contact:
Norco Declaration AB
Box 7146 S-250 07 Helsingborg. Sweden
This declaration is applied only for 230V model.
Signature:
Full Name: Mikio Moriya
Position:General Manager
R&D Department
Cautions
1. Please read this user's manual thoroughly before attempting to use this printer. After reading, keep this manual in a secure place where it can be referred to easily if necessary.
2. The contents of this user's manual are subject to partial modification without prior notice.
3. Transfer of the contents of this user's manual, either in part or in whole, without permission is strictly prohibited.
4. Do not attempt maintenance, disassembly or repairs of any parts of this printer except as
indicated in this user's manual.
5. This company shall not be responsible for damages caused by improper operation or handling of this printer by the customer, or caused by the operating environment.
6. Do not attempt any operations which are not described in this user's manual. doing so
could cause an accident or breakdown.
7. Data, etc. are basically temporary, and cannot be stored or preserved for extended periods
or permanently by this printer. This company shall not be liable in any way for damages of
loss of profits, etc. resulting from loss of data due to breakdown, repairs or inspections,
etc. Please understand this point in advance.
8. If you find any points in these materials which are uncertain, are misprinted or are missing,
please notify this company.
9. Please note that this company shall not be liable for any influence which may effect operation of this printer arising from 8 items above.
FCC COMPLIANCE STATEMENT
FOR AMERICA USERS
This equipment has been tested and found to comply with the limits for a Class A digital
device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy
and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area
is likely to cause harmful interference in which case the user will be required to correct the
interference at his own expense.
EMI COMPLIANCE STATEMENT FOR
CANADIAN USERS
This equipment generates and uses radio frequency energy and if not installed and used
properly, that is, in strict accordance with the manufacturer’s instructions, may cause interference to radio and television reception. This digital apparatus does not exceed the
Class A limits for radio noise emissions from digital apparatus set out in the Radio Interference Regulations of the Canadian Department of Communications. This equipment is
designed to provide reasonable protection against such interference in a residential installation. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause interference to radio or television reception, which can
be determined by turning the equipment off and on, the user is encouraged to try to correct
the interference by one or more of the following measures:
•Reorient or relocate the receiving antenna.
•Increase the separation between the equipment and receiver.
•Connect the equipment into an outlet on a circuit different from that to which the
receiver is connected.
•Consult the dealer or an experienced radio/TV technician for help.
CAUTION:Use shielded cables to connect this device to computers.
Any changes or modifications not expressly approved by the grantee of this device could
void the use’s authority to operate the equipment.
ETAT DE CONFORMITE EMI A L’USAGE
DES UTILISATEURS CANADIENS
Cet équipment produit et utilise l’énergie à radiofréquences et s’il n’est pas installé et
utilisé correctment, c’est à dire en accord strict avec les instructions du fabricant, il risque
de provoquer des intérferences avec la réception de la radio et de la télévision.
Le présent appareil numérique n’émet pas de bruite radioélectriques dépassant les limites
applicables aux appareils numériques de la classe A prescrites dans le Réglement sur le
brouillage radioélectrique édicté par le ministère des Communications du Canada.
Cet équipment est conçu pour fournir une protection satisfaisante contre de telles
interférences dans une installation résidentielle. Cependant, il n’y a pas de garantie contre
les interférences avec les réceptions radio ou télévision, provoquées par la mise en et hors
circuit de l’équipment; aussi, il est demandé a l’utilisateur d’essayer de corriger l’interférence
par l’une ou plus des mesures suivantes:
•Réorienter l’antenne de réception.
•Installer l’ordinateur autre part, par égard pour le récepteur.
•Brancher l’ordinateur dans une prise de courant différente de façon à ce que
l’ordinateur et le récepteur soient branchés sur des circuits différents.
Important Safety Instructions
1. Read all of these instructions and save them for later reference.
2. Follow all warnings and instructions marked on the product.
3. Unplug this product from the wall outlet before cleaning. Do not use liquid or aerosol
cleaners. Use a damp cloth for cleaning.
4. Do not use this product near water.
5. Do not place this product on an unstable cart, stand or table. The product may fall, causing
serious damage to the product.
6. Slots and openings on the cabinet and the back or bottom are provided for ventilation.
To ensure reliable operation of the product and to protect it from overheating, do not block
or cover these openings. The openings should never be blocked by placing the product on
a bed, sofa, rug or other similar surface. This product should never be placed near or over
a radiator or heat register. This product should not be placed in a built-in installation unless
proper ventilation is provided.
7. This product should be operated from the type of power source indicated on the marking
label. If you are not sure of the type of power available, consult your dealer or local power
company.
8. This product is equipped with a 3-wire grounding-type plug, a plug having a third (grounding) pin. This plug will only fit into a grounding-type power outlet. This is a safety feature.
If you are unable to insert the plug into the outlet, contact your electrician to replace your
obsolete outlet. Do not defeat the safety purpose of the grounding-type plug.
9. Do not allow anything to rest on the power cord. Do not locate this product where cord will
be walked on.
10. If an extension cord is used with this product, make sure that the total of the ampere ratings
on the products plugged into the extension cord do not exceed the extension cord ampere
rating. Also, make sure that the total of all products plugged into the wall outlet does not
exceed 15 amperes.
11. Never push objects of any kind into this product through cabinet slots as they may touch
dangerous voltage points or short out parts that could result in a risk of fire or electric
shock. Never spill liquid of any kind on the product.
12. Except as explained elsewhere in this manual, don’t attempt to service this product yourself. Opening and removing those covers that are marked “Do Not Remove” may expose
you to dangerous voltage points or other risks. Refer all servicing on those compartments
to service personnel.
13. Unplug this product from the wall outlet and refer servicing to qualified service personnel
under the following conditions:
A. When the power cord or plug is damaged or frayed.
B. If liquid has been spilled into the product.
C. If the product has been exposed to rain or water.
D. If the product does not operate normally when the operating instructions are followed.
Adjust only those controls that are covered by the operating instructions since improper adjustment of other controls may result in damage and will often require exten-
sive work by a qualified technician to restore the product to normal operation.
E. If the product has been dropped or the cabinet has been damaged.
F. If the product exhibits a distinct change in performance, indicating a need for service.
Cautions for Safety
The following items are included in this manual to point out precautions that must be
taken in order to prevent injury to the user or other persons or damage to property.
•The degree of injury or damage caused by improper operation without heeding
the warnings given herein is described as follows.
This indicates contents in which improper operation of this
Warning
Caution
This icon is displayed for items where the user is urged to exercise caution.
i
This icon is displayed to point out information on how to do important tasks, etc.
Doing the following actions may cause damage to this product or cause it to break
down, overheat, and could also cause fire or electric shock, so by all means do
not do them.
If there is damage or breakdown, switch off the power and pull the plug out of
the outlet. Contact your dealer immediately.
• Do not step on, drop, hit or otherwise apply a strong impact to the printer.
• Do not install this product in a place with poor ventilation and do not use it with its air
vent blocked.
• Do not install this product in a place such as a research laboratory where there are
chemical reactions, and do not install it in a place where there is salt or gas in the air.
• Do not use this product at a voltage and frequency other than the specified voltage
and frequency.
• Do not disconnect the power cord or data cable by grasping the cable, and do not pull
on this product while a heavy weight is bearing on the cables or attempt to carry it by
holding the cables.
• Do not drop or poke foreign objects such as paper clips, straight pins, etc. inside this
product.
• Do not plug this product into a heavily loaded circuit.
• Do not spill drinks such as tea, coffee or juice on this product, or spray it with insecticides. If water or other liquid is spilled on it by accident, switch off the power immediately and disconnect the power plug from the outlet, then contact your dealer.
• Do not attempt to disassemble or modify this product. It could cause fire or electric
shock.
Keep the plastic bag used to pack this product out of the reach of children so they
cannot smother themselves with it, or dispose of it promptly. If they pull it over
their head, there is danger of them suffocating to death.
product without heeding the warnings given may lead to death
or severe injury.
This indicates contents in which improper operation of this
product without heeding the cautions given may lead to personal injury or physical damage.
Warning
Cautions for Installation
• Do not use or store this product in a place where there is fire or water vapor, where it
will be exposed to direct sunlight, in a place where it will be exposed to heat or
humidity conditions that it was not specified for, such as next to a heater or burner, or
a place where there is a lot of oil, iron filings, dust or dirt, etc. Doing so could cause
it to break down, emit smoke or catch fire.
• Do not install this product in a place such as an experimental laboratory where there
are chemical reactions taking place, or where there is salt or gas in the air. This could
cause fire or electric shock.
• Install on a level, stable table which doesn't vibrate, in a location where there is good
ventilation. (Do not cover the air holes.)
• Do not place any articles on top of the printer. It could cause it to break down.
• Do not use this printer near, or plug it into the same outlet with, a radio or television
receiver. Doing so could interfere with reception.
• Do not use this product at a voltage and frequency other than the specified voltage
and frequency.
• Make sure the circuit where this printer is plugged in has sufficient surplus capacity to
operate this printer without trouble.
• Avoid attaching this printer's power cord to an overloaded electric circuit. If the circuit
is overloaded, it could cause the electric line to overheat and cause a fire, or trip the
circuit breaker. Also, do not walk on the power cable or place objects on top of it.
• When disconnecting cables, always switch off the power first, then take hold of the
plug or connector and disconnect them. Do not pull on this product while a heavy
weight is bearing on the cables or attempt to carry it by holding the cables.
• Connect the cable connectors securely. Particularly, if the cables are connected with
the polarity reversed, it could destroy the internal components, and also have a bad
effect on the device on the other end of the cable.
• In order to avoid garbling of data, etc. due to noise, always use shielded signal lines
or twisted pair lines. Also, please avoid connecting this printer with a device that
generates a lot of noise.
• Use this printer in a place where it is near to an outlet, and the power plug can be
pulled out easily, and under conditions where the power supply can be cut off easily.
Cautions for Handling
The following methods of handling may lead to breakdown, so please do not use this
printer by these methods.
• Do not attempt to print without paper being set in the printer.
• Be careful not to let paper clips, straight pins, screws or other foreign objects fall
inside the printer.
• Do not spill any liquids on this product, or let it absorb any chemicals.
• Do not subject this product to a strong impact, such as stepping on it, dropping it or
hitting it.
• Never attempt to operate the operation panel using a sharp object such as the point
of a pen.
• Do not tape sheets of paper using cellophane tape, etc. and try to print continuously.
• Do not pull hard on the paper once it is set in the printer.
To avoid injury and extended damage,
• Do not touch the printing unit on the print head.
• While the power is on, do not touch the printer's internal cutter, gears or other moving
parts, or electrical components with bare hands.
• Be careful not to injure yourself or damage other objects by the edges of metal panels, etc.
• If anything abnormal occurs during operation, stop use immediately and pull the power
plug out of the outlet.
• When the printer breaks down, contact your service man. Do not attempt to disassemble the printer yourself.
i
Daily Maintenance
• When carrying out routine maintenance, always be sure to disconnect the power.
• When cleaning the platen, dampen a cloth with ethyl alcohol and wipe off the dust,
etc.
• Wipe off dirt, dust, etc. from the printer's case using a dry, soft cloth. If extremely
dirty, wipe it off with a cloth dipped in water and thorough wrung out. Never use
alcohol, paint thinner, trichloroethylene, benzene or ketone based organic solvents,
or a chemical cleaning rag.
This printer is a tandem type 2-station line thermal
printer which accepts 58 mm wide paper, developed
for use in PC-POS/ECR terminals and all types of data
communications terminals, etc.
1
Features
Accessories
Names and Functions of Parts
1
Chapter 1 Outline
1
Features
•Compact design with the two rolls of paper set front to back to keep the printer's
width narrow.
• Power switch and operation panel are located on the front, and cable connections
are made in an indented part, giving it a shape without projictions on the sides and
rear, which makes installation easy.
•The thermal line head reduces noise and achieves high speed printing at 62.5 mm/
sec.
•An auto cutter is standard equipment in the receipt printer.
•Simple controls which conform to ESC/POS
•Drawer control is enabled using the drawer kick interface.
•Paper setting chore is simplified by the roll drop-in type auto loading feature.
•A coin tray, magnet plate and writing table are standard equipment.
TM
.
Accessories
Standard Specifications (without Journal Protection Key)
[NOTE]Japan CBM Corp., Type 26AD-U Adapter is provided for use in the United
Stated and Canada.
Japan CBM Corp., Type 26AD-E Adapter is provided for use in Europe.
2
Names and Functions of Parts
Names and Functions of Parts
Printer Unit
Rear Cover
Journal Window
Front Cover
Magnet Plate
1
Coin Tray
Operation
Panel
Power Switch.
(Turns the power on and off.)
3
Chapter 1 Outline
1
Operation Panel
1
2
3
1 POWER Indicator (Green)
Lights up when the power switch is turned on and power is being supplied to the
printer.
2 RECEIPT Key
Feeds receipt paper. Pressing once causes the paper to advance one line, based on the
amount for a carriage return set previously. If the key is pressed continuously, the
paper is fed continuously.
3 JOURNAL Key
Feeds journal paper. Pressing once causes the paper to advance one line, based on the
amount for a carriage return set previously. If the key is pressed continuously, the
paper is fed continuously.
4
4 ERROR Indicator (Orange)
Lights up or blinks when an error occurs. The content of the error is indicated by the
indicator lighting up or blinking (see “Chapter 5 - Sensors and Error Indications,” on
page 30). Goes off when the printer's condition returns to normal.
•When the RECEIPT key and JOURNAL key are pressed separately, or are pressed
together when the power is switched on, it is possible to enter the test printing and
the printer internal setting mode (see “Chapter 4 - Using the Printer,” on pages
21~24).
4
Names and Functions of Parts
Connectors
Power
Connector
1
DIP Switch Cover
Interface Connector
Drawer Kick Connector
Ground Cable Connection
Tap (Ground Terminal)
Bottom View
5
Chapter 1 Outline
1
Factory DIP Switch Settings
ON
12345678ON2341
DIP Switch 1
The above switches are shown in the OFF position.
•DIP switch 2 is used for the serial interface only. (See “Chapter 4 - Using the
Printer,” on pages 25 and 26).
DIP Switch 2
6
Chapter 2
Getting Started
•After all the connections are completed, insert the
power cord plug in the receptacle.
•When redoing connections, be sure to turn off the
power to the printer main unit and the terminal first.
2
Connecting the Interface Cable
Connecting the Drawer Kick Cable
Connecting the Power Supply
7
Chapter 2 Getting Started
1
2
Connecting the Interface Cable
1. Insert the cable's connector into the interface connector.
Align the top and bottom of the male and female connectors and connect the two
connectors.
2. Fastening the Cable Terminals
Fastening the Serial Interface Connector:
After making sure the connector is inserted fully, tighten the screws to fasten the connector in place.
•Use screws which can be tightened by hand to fasten the connector to the interface.
Fastening the Parallel Interface Connector:
After making sure the connector is inserted fully, turn the wire clamps in the arrow
direction to fasten the connector in place.
3. Connecting the Cable to the Computer Terminal.
Be sure to turn off the power to the computer first, then make connections.
8
Connecting the Drawer Kick Cable
Connecting the Drawer Kick Cable
Connect the drawer kick cable to the drawer kick connector.
Align the top and bottom of the cable connector and the drawer kick connector, then
insert the connector until it makes a clicking sound.
Connect the drawer ground wire to the ground terminal with a
screw.
2
•Do not connect the connector for any other drawer (solenoid) to the drawer kick
connector than that specified.
•Use a M3 X 6 self tapping screw to fasten the grand wire.
9
Chapter 2 Getting Started
1
2
Connecting the Power Supply
1. Connect the connector at the end of the AC adapter cable
to the power supply connector.
Align the top and bottom of the cable and connector to connect them.
When the AC adapter's plug is disconnected from the printer, grasp the plug with
your fingers to pull it out.
2. Connect the AC power cord and the AC adapter.
3. Connect the power cord to the receptacle.
Connect the AC adapter with the printer's power supply switched off.
10
Chapter 3
Paper Handling
3
Setting the Receipt Roll Paper
Setting the Journal Roll Paper
Replacing Roll Paper
Specified Paper and Printing Area
11
3
Chapter 3 Paper Handling
Setting the Receipt Roll Paper
1. Press the I side of the power switch to turn the power
on.
The POWER indicator lights up and the ERROR indicator blinks.
2. Remove the front cover.
3. Place the roll paper in the paper holder as shown in the
illustration.
•Be sure the roll paper's winding direction is correct when inserting the roll.
•Make sure the roll paper turns smoothly in the paper holder.
12
Setting the Receipt Roll Paper
4. Make sure the head is in the down state.
5. Insert the end of the roll of paper straight into the
printer's paper insertion slot.
The proper amount of paper is then loaded automatically (auto loading).
3
•If the end of the roll of paper is feathered or folded, cut off the end with scissors,
etc. so that the end is squared off.
When operation stops, then setting of the roll paper is completed.
•If the paper is inserted crooked, move the head up lever forward, then correct the
paper's path manually with the head in the up condition.
Next, set the journal roll paper.
13
3
Chapter 3 Paper Handling
Setting the Journal Roll Paper
1. Open the rear cover.
•Be sure to remove the front cover before opening the rear cover.
2. Remove the spool, then lower the writing table to the
rear.
3. Place the roll paper in the paper holder as shown in the
illustration.
•Be sure the roll paper's winding direction is correct when inserting the roll.
•Make sure the roll paper is turning smoothly in the paper holder.
14
Setting the Journal Roll Paper
4. Lower the head up lever in the arrow direction.
The head will move to the head down condition, with the head platen closed.
5. Insert the end of the roll of paper straight into the
printer's paper insertion slot.
The proper amount of paper is then loaded automatically (auto loading).
3
•If the end of the roll of paper is feathered or folded, cut off the end with scissors,
etc. so that the end is squared off.
•If the paper is inserted crooked, move the head up lever forward, then correct the
paper's path manually with the head in the up condition.
6. Press the JOURNAL key and advance about 30 cm (12
inch) of the roll paper.
About 30 cm
15
3
Chapter 3 Paper Handling
7. Move the writing table back to its original position and
lock it.
8. Remove the spool partner from the spool temporarily,
then insert the end of the roll of paper into the slot in
the spool and wind up the paper on the spool two or
three times so it will not come off the spool. Replace
the spool partner on the spool.
Spool Partner
•Wind up the roll paper, making sure it is winding in the correct winding direction
when taking up paper from the roll paper.
16
Setting the Journal Roll Paper
9.
Insert the spool in the spool holder while winding up
the paper on the spool.
While winding the paper onto the spool so there is no slack, make sure it is moving
along the guide in the writing table.
•Make sure the gear of the spool is engaged in the printer gear.
10.
Close the rear cover, then replace the front cover,
following the procedure used for removing the covers in
the reverse order.
The ERROR indicator on the operation panel will go off.
3
•If the front cover is not closed securely, the ERROR indicator may not go off. At
such a time, replace the cover securely once more.
That completes setting of the roll paper.
17
Chapter 3 Paper Handling
Replacing the Roll Paper
If the amount of roll paper remaining becomes low, the ERROR indicator blinks, reminding the operator that it will soon be time to replace the roll paper.
Printing will stop automatically if the printer runs out of roll paper.
The print head and auto cutter are hot during or immediately
after printing. Please wait until the print head and auto cutter
have cooled sufficiently before replacing the roll paper.
3
1. Remove the cover.
2. Move the head up lever in the arrow direction.
3. Pull the remaining roll paper out of the paper outlet and
remove it.
4. Return the head up lever to its original position.
18
Replacing the Roll Paper
5. Set a new roll of roll paper.
•When replacing the journal roll paper, take out the spool and move the writing
table back, then set the roll paper.
•If the paper is inserted crooked, move the head up lever to move the head to the up
condition, then correct the paper's path manually.
•Remove the finished journal roll paper form the spool.
Follow the procedure below when replacing the journal roll paper.
1. Press the JOURNAL key and wind about 30 cm of paper.
2. Place the roll paper along the guide in the writing table while winding the roll
paper onto the spool, then place the spool in the spool holder (see steps 9 and 10 of
“Setting the Journal Roll Paper” (page 17)).
3. Return the writing table to its original position.
3
6. Replace the cover.
19
3
Chapter 3 Paper Handling
Specified Paper and Printing Area
Specified Paper
Type: Specified thermal printing paper.
Paper Width: 58 +0/–1 mm
Paper Thickness: 60~75µ
Roll Diameter: 83 dia. mm or less
Printing Surface: Roll Outside (Surface)
Specified Paper: Mitsubishi Paper Co. (Ltd.) F220VP
Shinoji Paper Co. (Ltd.) PD160R, PD160R-N
Nihon Paper Co. (Ltd.) TF 50KS-E2C
•Print density may differ depending on the paper used. In such cases, please adjust
the print density. (See “Chapter 4 - Using the Printer,” on pages 22 and 23.)
Printing Area
Paper Width 58 mm
20
Printing Area 54 mm
2mm2mm
Chapter 4
Using the
Printer
Settings Using the Operating Buttons
Setting the DIP Switches
4
21
4
Chapter 4 Using the Printer
Operation Panel Keys
Use the RECEIPT key and JOURNAL key, in accordance with the query printing system,
to set the printer internally.
Items which can be set are as follows.
•Receipt print density.
Adjusts the receipt print density. (See the table below.)
•Journal print density.
Adjusts the journal print density. (See the table below.)
•Cover Open
Sets the cover sensor on enabled or disabled.
•Auto Cutter
Sets the auto cutter on enabled or disabled.
•Auto Loading
Sets the auto loading function on enabled or disabled for setting roll paper.
•Receipt Paper Near End
Sets the print stop function on enabled or disabled in response to signals from the
receipt paper near end sensor.
•Journal Paper Near End
Sets the print stop function on enabled or disabled in response to signals from the
journal paper near end sensor.
•CR Operation
Sets CR+LF / LF / Disregard.
•Reset by DSR
Sets enabling or disabling of reset by the serial interface DSR signal.
•Reset by INIT
Sets enabling or disabling of reset by the serial interface INIT signal.
•Error Handshake
Sets whether the interface is changed to the BUSYstate when a printer error occurs.
* Relationship between each specified paper and print density (Use this as a standard.)
Select YES (R) or NO (J) to the printed question and set it.
If YES: Press the RECEIPT key.
If NO: Press the JOURNAL key.
•Perform the operation with the front cover removed.
1. With roll paper set, switch the power on while pressing
both the RECEIPT key and the JOURNAL key.
This causes the printer to enter the printer configuration setting mode, and the printer
will print the following text in accordance with the selected menu for each item.
PRINTER SETTING MODE
YES:Push (R)eceipt Key
:Push (J)ournal Key
NO
ROM(Even):AW32-0A0A
ROM(Odd) :AW33-0A0A
ROM Date :MAY-28-1996
Reset Current Settings
To Factory Settungs?
YES (R) NO (J)
Print Current Settings?
YES (R) NO (J)
Current Settings
<HARDWARE SETTINGS>
:RECEIPT DENSITY
1/2/3/4
:JOURNAL DENSITY
1/2/3/4
:COVER OPEN SENSOR
VALID/INVALID
:AUTO CUTTER
VALID/INVAILD
:AUTO LOADING
VALID/INVALID
:R PAPER NEAR END
VALID/INVAILD
:J PAPER NEAR END
VALID/INVAILD
:CR CONTROL
CR+KF/LF/IGNORE
:KANJI MODE
VALID/INVALID
:RESET BY INIT
VALID/INVALID
:RESET BY DSR
VALID/INVALID
:ERROR HANDSHAKE
BUSY/INVALID
:INPUT BUFFER
:CHARACTER TABLE
:COUNTRY
:DATA BIT
:PARITY
:PROTOCOL
:BUADRATE
:RECEIPT DENSITY
:JOURNAL DENSITY
:COUVER OPEN SENSOR
:AUTO CUTTER
:AUTO LOADING
:R PAPER NEAR END
:J PAPER NEAR END
:CR CONTROL
:KANJI MODE
:RESET BY INIT
:RESET BY DSR
:ERROR HANDSHAKE
:RECEIPT DENSITY
:JOURNAL DENSITY
:COVER OPEN SENSOR
:AUTO CUTTER
:AUTO LOADING
:R PAPER NEAR END
:J PAPER NEAR END
:CR CONTROL
:KANJI MODE
:RESET BY INIT
:RESET BY DSR
:ERROR HANDSHAKE
2. If YES is selected, it resets the factory default
settings, then moves to the following line.
If NO is selected, the following line is printed.
4
3. If YES is selected, the currently set menues
4
are printed.
If NO is selected, the line in 5 is printed.
4. The input buffer, character settings (International character code) and serial protocol set-
5
6
tings are as set by the DIP switches.
5. If YES is selected, after the line in 6, printing
of the settings for each item is begun.
If NO is selected, the printing of 8 is done,
and setting of the printer ends.
6. Select NO until the menu of all the setting
items is set as desired. When the content is
correct, select YES. If YES is selected, the
setting contents are recorded in non-volatile
memory and the printer prints the next item.
7
When Error handshake setting item is ended,
the set contents (7) and 8 are printed, then
printer set up is ended.
8
2. Turn the power off, then turn it on again.
The set contents become enabled.
23
4
Chapter 4 Using the Printer
Test Printing
Test printing can be done by turning the printer's power switch ON while pressing the
RECEIPT key.
TEST PRINTING MODE
ROM(Even) :XXXX
ROM(Odd) :XXXX
ROM Date :MM-DD-YY YY
DIP-SW(1) :00
DIP-SW(2) :00
24
Setting DIP Switches
DIP Switches
DIP switches are located inside the DIP switch cover on the bottom of the printer. Loosen
the screws, then turn the DIP switch cover.
•Turn the power off before setting the DIP switches.
The contents of DIP switches are as shown in the following tables.
DIP Switch 1(Bold character indicates Factory Default)
No.ContentOFFON
1Serial Interface Data Length8bits7bits
2Serial Interface ProtocolDTR/DSR XON/XOFF
3Input Buffer8KB1 Line
4Code PagePC437PC850
5
6
International CharactersSee the following table.
7
8
* 1 and 2 are effective for the serial interface only.
DIP Switch 2(Bold character indicates Factory Default)
No.ContentOFFON
1
Baud RateSee Table (1) below.
2
3
ParitySee Table (2) below.
4
4
(1) Baud Rate Settings
SW2-2SW2-1Baud Rate Setting
OFFOFF9600
OFFON4800
ONOFF2400
ONON19200
•DIP switch 2 is included only in the case of a Serial interface.
SW2-4SW2-3Parity Setting
OFFOFFNo Parity
OFFONOdd Parity
(2) Parity Settings
ONOFFEven Parity
ONON–
26
Chapter 5
Sensors
and
Error Indications
This chapter explains the various sensors that this printer
is equipped with and the error indications accompanying them.
Sensors
Error Indications
5
27
5
Chapter 5 Sensors and Error Indications
Sensors
Printer Cover Open Sensor
This sensor reacts when the front cover is removed, indicated by the ERROR indicator
(cover open error). Printing is halted.
Head Up Sensor
If the head is moved to the head up position using the head up lever, it is indicated by the
ERROR indicator (Head Up Error.) Printing is halted.
Head Temperature Sensor
To protect the print head from overheating, this sensor functions when the head's temperature becomes high (approximately 60°C (140°F) or higher) and is indicated by the ERROR indicator (Head Overheat). Printing is halted. When the head's temperature drops
(approximately 55°C (131°F) or lower), printing resumes automatically.
Paper Sensor
This sensor is located in the paper path of the receipt printer and the journal printer. When
paper is inserted in the printer's paper path, the paper is loaded. If the paper in the paper
path runs out, it is indicated by the ERROR indicator (Paper End Error). Printing is halted.
Cutter Position Sensor
Cutter control is executed by means of the cutter position detection sensor. If detection of
the sensor remains ON or OF for 1 second or longer during cutter motor operation, the
printer judges that the cutter motor is locked and halts further cutter operation and printing
at that point.
28
Sensors
Paper Near End Sensor
This sensor is located on the roll paper holder on the receipt side and the journal side.
When the winding diameter of the roll paper becomes small, it is indicated by the ERROR
indicator. Since the amount of roll paper remaining may differ depending on the thickness
of the winding core, the near end sensor can be set so as to correspond to the thickness of
the winding core.
Setting Method
1. Loosen the adjustment screw holding the sensor lever.
2. Set the top end of the sensor lever on the correct step on the adjustment scale.
Adjustment Scale
#6
#1
When the specified paper with a winding core whose outer diameter is ø18 mm and
inner diameter is ø12 mm is used, the approximate adjustment scale step are as follows. The factory default setting of the scale is lowest position.
Adjustment Scale Step
Lowest positionApprox. 18.5-20.5 mm
#2Approx. 20-23 mm
#3Approx. 25-27.5 mm
•Dimension T, corresponding to the step on the adjustment scale, may vary somewhat.
3. Tighten the adjustment screw and close the sensor lever.
Check if the sensor lever is operating smoothly.
Dimension T
(Paper length: 20-110 cm)
(Paper length: 80-230 cm)
(Paper length: 300-480 cm)
Adjustment Screw
Sensor Lever
Dimension T
Dimension T = Amount of outer
*
diameter remaining on roll of
paper.
5
29
Chapter 5 Sensors and Error Indications
Error Indications
Error contents and error indications, as well as recovery instructions in each case, are as
shown below.
5
Error Content
System ErrorLights up.Lights up.Recovery impossible.
Cover OpenLights up.Close the cover.
Head UpLights up.
Head OverheatLights up.
Paper End or
Paper Near End
Cutter Motor
Lock
Macro Execution
Waitkey.
POWER LEDERROR LED
Lights up.Set new roll paper.
Lights up.Clear the paper jam.
Lights up.
Indication
(Blinks slowly.)
(Blinks fast + blinks slow.)
(Blinks twice.)
(Blinks fast.)
(Blinks once.)
(Blinks once.)
Recovery
Return head up lever to original position.
Recovers automatically when the
temperature drops.
Press the RECEIPT or JOURNAL
30
Chapter 6
Interfaces
6
Serial Interface
Parallel Interface
Drawer Kick Connector
31
Chapter 6 Interfaces
Serial Interface
Specifications
Transmission Method Start-Stop Synchronous Full Duplex Communications
Signal LevelRS-232C
Baud Rate2400, 4800, 9600, 19200
Data Length7 or 8 bits
Start Bit1 bit
Stop BitReceiving 1 bit; Transmitting 2 bits or more
ParityEven, Odd, No Parity
ConnectorPrinter Side Compatible with DDK 17LE-13250-27
Signal Lines and Pin Arrangement
6
13
2514
Pin No.
•IN indicates a signal from the Host to the printer. OUT indicates a signal from the
*1 25pin, INIT is HIGH or the TTL-HIGH level of input (+2V~+15V) .
32
Signal Name
1
2
3
4
6
7
20
25
printer to the Host.
F.GND
TXD
RXD
RTS
DSR
S.GND
DTR
INIT
Direction
OUT
IN
OUT
IN
OUT
IN(*1)
X-ON/X-OFF
Connects the Host CPU
and printer.
Sends transmission data
and X-ON/X-OFF
signals to the Host CPU
from the printer.
Transmission data from
the Host CPU to the
printer.
Pulls up the signal to
+10V at 3.3k ohms.
Not used.
Always HIGH.
Printer's Reset signal.
DTR/DSR
Not used.
Data are sent when the
status information send
signal is “HIGH.”
LOW when Busy.
HIGH when Ready.
1
Serial Interface
Explanation of Signal Names
F. GND (Frame Ground)
Connected to the printer case.
TXD (Transmit Data (Send Data))
Transmission line for sending serial data from the printer to the Host.
RXD (Receive Data)
Transmission line for the printer to receive serial data from the Host.
DSR (Data Set Ready)
Signal line which indicates to the printer that the Host is ready to receive.
A low level reset can be carried out through the menu setting.
S. GND (Signal Ground)
The GND (earth) for the signal line.
DTR (Data Terminal Ready)
Signal line which indicates to the Host that the printer is ready to receive.
RTS (Request To Send)
Pulled up to +10V at 3.3k ohms.
INIT
This is the signal line used by the host to send a reset command to the printer. (However,
this is when enabling of the INIT signal by the menu setting has been selected.)
Input/Output Circuits
Input Circuit
Signal NameConfiguration
RXD
DSR
Output Circuit
Signal NameConfiguration
TXD
DTR
6
Compatible with µPD4721.
Compatible with µPD4721.
33
Chapter 6 Interfaces
Reset by DSR
Reset by INIT
Resets if the voltage becomes -15V ~ -3V.
TRS
6
Resets if the voltage becomes +2V ~ +15V.
TRS
TRS 1ms
34
Serial Interface
Protocols
X-ON/X-OFF Protocol
Control is by output of the codes for the data transmission request signal X-ON (11 Hex)
and the data transmission stop signal X-OFF (13 Hex). When sending the printer's status
to the Host, this is sent irrespective of the level of the DSR signal.
Conditions for Output of the X-ON Code
•When all errors have been cleared.
•When the remaining buffer capacity is greater than Non bytes.
•After the power is turned on, when in the Ready to Receive state.
Conditions for Output of the X-OFF Code
•When the printer has generated an error and has switched from Online to Offline.
•When the remaining buffer capacity is Noff bytes or less.
* Even if the X-ON/X-OFF code output conditions are established, the same code is
not output two times in succession. However, times when the power is turned ON
are expected.
* When the menu setting error handshake is disabled, XON/XOFF is not output
when the error status changes.
DTR/DSR Protocol
Control is by the level of the DTR signal, Ready “High” /Busy “Low”.
If the printer's status is sent to the Host, it is sent when DSR is “High.” If DSR is “Low,”
the printer waits until it goes “High.”
Conditions for the DTR Signal to become Ready “High”
•When all the errors have been cleared.
•When the remaining buffer capacity is greater than Non bytes.
•After the power is turned on, when in the Ready to Receive state.
6
Conditions for the DTR Signal to become Busy “Low”
•When the printer has generated an error and has switched from Online to Offline.
•When the remaining buffer capacity is Noff bytes or less.
* When the menu setting error handshake is disabled, the DTR signal does not change.
Conditions for Non and Noff (Units: Bytes)
•When there is an 8 KB buffer.
Non=2048
Noff=1024
•When there is a one line buffer.
Non= 20
Noff=10
35
Chapter 6 Interfaces
Parallel Interface
Specifications
Transmission Method8 bit Parallel
Signal LevelTTL Level
ConnectorCorresponds to DDK 57RE-40360-803B.
Timing Chart
[At Power On] (If the printer goes Online.)
Power on
:
*RESET
:
BUSY
:
*ACK
:
SELECT
The * means negative logic signals.
6
[During Data Reception]
STROBE
:
ab c
:
:
:
DATA1-8
*
BUSY
*ACK
a: Min. 0.5 µ Sec*d: Approx. 2.9 µ Sec
b: Min. 0.5 µ Sec*
c: Min. 0.5 µ Sec**: Value at the receiving end.
36
d
[When Receiving the INIT Signal]
1 µSec or longer
:
*INIT
BUSY
*ACK
*FAULT
SELECT
:
:
:
:
Within 200 µ Sec
Level does not change.
Level does not change.
Parallel Interface
37
6
Chapter 6 Interfaces
Input/Output Circuits
Input Circuit
Signal NameConfiguration
6
3.3K
3.3K
100
1000p
3.3K
3.3K
DATA1-8
*INIT
*STROBE
Output Circuit
Signal NameConfiguration
SELECT
*FAULT
*ACK
PE
BUSY
DRAWER KICK STATUS
VH=2.0V
VL=0.8V
CMOS
VH=1.8V
VL=0.9V
CMOS (Schmidt)
3.3K
Compatible with 7406.
38
Signal Lines and Pin Arrangement
Parallel Interface
Pin No.
19-30GNDSignal line ground.
Signal Name Direction
1*STROBEINSynch signal for reading DATA 1-8.
2DATA1
3DATA2
4DATA3
5DATA4IN8-bit parallel data
6DATA5(DATA1: LSB, DATA8: MSB)
7DATA6
8DATA7
9DATA8
10*ACKOUT
11BUSYOUT • Printer is in an error state.
12PEOUT
13SELECT OUT
14Not used.
15Not used.
16GNDSignal line ground.
17FGConnected to the printer case.
18+5V
Data request signal output when ready for receiving
data.
Goes “Low” when ready to receive data, and “High”
when not ready.
Goes “High” under the following conditions.
• The buffer is full and data cannot be received.
• After receiving the INIT signal, after printing of the
data in the buffer, during the interval until initialization
is completed.
In the case that “Paper End” detection is enabled by the
control code, it goes “High” during the paper end state.
Indicates whether the printer is in the Online state or
the Offline state.
Goes “Low” when a printer error occurs.
Connected to +5 V inside the printer. (Cannot be used
by the customer.)
Function
6
39
Chapter 6 Interfaces
6
Pin No.
• IN indicates signals from the Host to the printer, and OUT indicates signals from the
* means negative logic signals.
Signal Name Direction
When this signal goes “Low,” the printer becomes
BUSY. It is initialized after all the data are printed.
31*INITIN
32*FAULTOUT
33GNDSignal line ground.
DRAWER
34
35FUSEOUT Connected to +5 V through a 3.3k ohm resistor.
36Not used.
KICKOUT The drawer kick connector's status signal is output.
STATUS
printer to the Host.
BUSY is not cleared until this signal goes “High.”
A pulse width of 1 µ sec or longer is required at the
receiving end.
(See “When Receiving the INIT Signal.”)
This signal indicates that the printer is in the error state.
It goes “Low” under any one of the following conditions.
• Paper End
• When an abnormal operation is detected.
Function
40
Drawer Kick Connector
Drawer Kick Connector
Specifications
Drawer Kick Drive Signal
Outputs a pulse signal specified by the ESCp command. Also, the status of SW (+) can be
known from pin 34 of the interface connector in the case of the parallel interface and by the
GSr, for instance command in the case of the serial interface.
Electrical Characteristics
Drive Voltage: DC 24 V
Drive Current: Max. 0.8 A (should be within 510 ms)
SW Signal: Signal level“L”= 0~0.5 V
“H”= 3~5 V
41
6
Chapter 6 Interfaces
Connector Connection Diagram
NO.Signal NameFunction
1FGSafety ground.
2DRAWERIDrawer 1 drive signal.
3DRSWDrawer switch input.
4VDRDrawer drive power supply.
5DRAWER2Drawer 2 drive signal.
6GNDCommon ground in the circuit.
61
6
Connector Used: TM5RJ3-66 (Hirose)
Compatible Connector: Compatible with TM3P-66P (Hirose)
•No signals are output during printing.
•Both drawers 1 and 2 cannot be driven simultaneously.
•Use a 36 ohm or higher drawer solenoid. (Be careful not to let the output current
exceed 0.8A. If the output current exceeds 0.8 A, results cannot be guaranteed.)
•The drawer kick connector is not the type used for connections to telephone lines. Do
not connect to any device other than a solenoid.
42
Drive Circuit
Drawer Kick Connector
+24V
1.5A
1
2
3
4
5
6
43
6
Chapter 6 Interfaces
6
44
Chapter 7
Print Control
Codes
7
List of Control Codes
Input Data Format
45
7
Chapter 7 Print Control Codes
List of Control Codes
CharacterCommandPage
1H THorizontal tab49
2LFLine feed49
3CRPrint comand49
4FFPrinting in the page mode and return50
5CANCanceling of print data in the page mode50
6RSJournal tab50
7DLE EOT Sending the status in real time50
8ENQ Real time enquiry to printer54
9ESC FFPrinting of data in the page mode54
10SPSetting the space between characters55
11!Specifying the print mode all at once56
12$Specifying the absolute print position57
13%Specifying/Clearing the download character set57
14&Defining download characters58
15*Specifying a bit image61
16–Specifying/Clearing underline63
172Specifying the 1/6 inch line feed amount63
183Specifying the line feed amount64
19=Controlling data input65
20?Erasing download characters65
21@Printer initialization66
22DSetting the horizontal tab position66
23ESpecifying/Clearing bold characters66
24GSpecifying/Clearing double strike characters67
25JPrinting and paper feeding67
26LSelecting the page mode68
27RSelecting international characters69
28SSelecting standard mode70
29T
Selecting the character printing direction
in page mode
**
**
71
46
: Parallel only
*
:Serial only
**
List of Control Codes
CharacterCommandPage
30ESC V
31WSetting the printing area in thePage mode72
32\Specifying the relative printing position74
33aArranging the printing position75
34c0Selecting the printing sheet75
35c1Selecting the setting sheet76
36c3
37c4
38c5Enabling/Disabling the panel switch77
39dPrint and feed paper n lines78
40iFull cut78
41mPartial cut78
42pGenerates a specification pulse78
43tSelecting the character code table79
44uPeripheral device status signal80
45vSending the printer status81
46z
47{Specifying/Clearing inverted characters82
48GS!Specifying the character size83
49GS$
50*Defining a downloaded bit image85
51/Printing a downloaded bit image86
52:Starting and Ending a macro definition87
53B
54HSelecting the HRI character print position88
: Parallel only
*
:Serial only
**
Specifying/Clearing 90 degree right rotated
character
Selecting an effective paper end sensor for
outputting the paper end signal
Selecting the paper end sensor that is effevtive
for stopping printing
Specifying/Clearing printing of the same data
by the receipt and journal printers
Specifying the character vertical absolute
position in the Page mode
Specifying/Clearing black/white reverse
printing
72
76
77
82
84
88
**
**
**
7
47
Chapter 7 Print Control Codes
CharacterCommandPage
55LSetting the left margin89
56MSpecifying/Clearing reduced character printing90
57PSetting the basic calculation pitch91
58VCutting of paper92
59WSetting the print area width93
60\
61^Execution of a macro96
62a
63fSelecting the font of HRI characters100
64hSelecting the bar code height100
65kPrinting bar codes101
66rSending of the status103
67wSelecting the horizontal size of a bar code105
Specifying the relative position of characters in
the vertical direction in the page mode
Enabling/Disabling automatic sending of
the status
95
97
**
**
7
48
: Parallel only
*
:Serial only
**
Input Data Format
Input Data Format
(1) Horizontal tab (HT)
Code: [09] h
Moves the printing position to the next horizontal tab position. The horizontal tab
position is set by ESC D. Initial horizontal tab positions are set at every eighth character in Font A (9th, 17th, 25th and 33rd columns).
(2) Line feed (LF)
Code: [0A] h
Menu Setting: The operation differs according to the contents set by the CR operation.
In the case of CR + LF
If data exist in the print buffer, a line feed is executed after printing. If no data exist, a
line feed only is executed.
A LF code input immediately following a CR code is disregarded.
In the case of LF and in the case of Disregard
If data exist in the print buffer, a line feed is executed after printing. If no data exist, a
line feed only is executed.
A LF code input immediately following a CR code is disregarded.
(3) Print command (CR)
Code: [0D] h
Menu Setting: The operation differs according to the contents set by the CR operation.
In the case of + LF
If data exist in the print buffer, a line feed is executed after printing. If no data exist, a
line feed only is executed.
A CR code input immediately following a LF code is disregarded.
In the case of LF
If data exist in the print buffer, a line feed is executed after printing. If no data exist, a
line feed only is executed.
A CR code input immediately following a LF code is not disregarded.
In the Case of Disregard
This code is disregarded.
49
7
Chapter 7 Print Control Codes
(4) Printing in the page mode and return (FF)
Code: [0C] h
The data developed in the entire printing area are printed all at once and the printer
returns to the Standard mode.
•All the developed data are cleared after printing.
•The printing area set by ESC W is initialized.
•The paper cut is not executed.
•The head of the line is made the next printing position.
•This is valid only in the Page mode.
(5) Canceling of print data in the page mode
Code: [18] h
In the Page mode, this cancels all the data in the currently set printing area.
•Valid when Page mode is selected only.
•The portions of data included in the currently set printing area are canceled even if
they are data from a previously set printing area.
(6) Journal tab (RS)
Code: [1E] h
Moves the print position to the head of the journal paper.
[Note] Valid only when Receipt/Journal is selected, printing of the same data by the
receipt and journal printers is cleared and the print position is in the receipt area.
7
(7) Sending the status in real time [DLE EOT n)
Code: [10] h + [04] h + n
* (1 ≤ n ≤ 4) Data are expressed in Hex code.
The status is sent in real time according to the n specification.
•n is as follows.
n = 1: Sends the printer status.
n = 2: Sends the off-line factor status.
n = 3: Sends the error factor status.
n = 4: Sends the paper sensor status.
50
Input Data Format
•Each status shows the current state. Also, each status is 1 byte of data.
•The status is sent without confirming the receiving ready state of the host com-
puter.
•Executed in the off-line state, when the receiving buffer is full and in the error
state.
•This command is processed during reception.
•In cases where the [10] h [04] h n (1 ≤ n ≤ 4) data string is received, even when it
is other than this command, the user's attention is necessary because the printer's
operation will be the same as when this command is executed.
[Example]
In ESC* m nl nh [dl....dk], d1 = [10] h, d2 = [04] h, d3 = [01] h.
•Do not insert this command in the code strings of other commands consisting of
codes with 2 bytes or more.
[Example]
If the host side wants to send ESC 3 n, then DLE EOT 3 is sent just at the point
where ESC 3 has been sent, the printer will process the command as ESC 3 [10] h.
Therefore, the user's attention is necessary.
•In cases where ASB is valid due to GS a, it is necessary to distinguish between the
status by this command and the ASB status.
Distinguishing the Sending Status
Since the values of specific bits in the status sent by this printer, it is possible to
distinguish which command's status is received.
However, in the case where ASB is used, after confirming the first byte of ASB,
process the next 3 bytes, excluding the XOFF, as ASB data. If this is not done, it
will be impossible to distinguish between status messages such as ESC u and the
second and subsequent bytes of ASB.
Command and FunctionStatus
GS I<0**0****>B
GS r<0**0****>B
XON<00010001>B
XOFF<00010011>B
DLE EOT<0**1**10>B
ASB (1st byte)<0**1**00>B
ASB (2nd through 4th byte)<0**0****>B
7
51
Chapter 7 Print Control Codes
(1) Printer Status (when n=1 is specified)
BitFunction01
0Not usedFixed at 0
1Not usedFixed at 1
2Status of drawer pint No. 3“L”“H”
3On-line/OfflineOn-lineOff-line
4Not usedFixed at 1
5Not defined——
6Not defined——
7Not usedFixed at 0
(2) Off-line Factor Status (when n = 2 is specified)
7
BitFunction
0Not usedFixed at 0
1Not usedFixed at 1
2Cover Open
3Paper Feed by paper feed switch
4Not usedFixed at 1
5Printing not stopped by No Paper
6Error generatedNoneError exists
7Not usedFixed at 0
Bit 5: When the roll paper end sensor signals that there is no paper, or when there is
no paper when the roll paper near end sensor is enabled by ESC c 4, printing is stopped.
At this time, bit 5 = 1.
No stopped
Value
01
CoverCover
ClosedClosed
No paperPaper feed
feedin progress
Stopped
52
(3) Error Factor Status (when n = 3 is specified)
Input Data Format
BitFunction
0Not usedFixed at 0
1Not usedFixed at 1
2Fixed at 1——
3Auto cutter error generatedNo error
4Not usedFixed at 1
5Unrecoverable errorNo error
6Auto recovery error generatedNo error
7Not usedFixed at 0
Bit 3: If this error is generated due to a paper jam, etc., you can recover by DLE ENQ
n (1 ≤ n ≤ 2) after the error cause is eliminated. If the error was generated due to a fault
in the circuit (broken connection, etc.), then you cannot recover.
Bit 6: If an abnormally high temperature is detected in the print head and during the
time that printing is stopped until the head temperature drops, bit 6 = 1.
(4) Continuous Paper Sensor Status (when n = 4 is specified)
BitFunction
0Not usedFixed at 0
1Not usedFixed at 1
2Journal near end detection
3Receipt near end detection
4Not usedFixed at 1
5Journal end detection
6Receipt end detection
7Not usedFixed at 0
Value
01
Error
occurred
Error
occurred
Error
occurred
Value
01
PaperNo paper
present
PaperNo paper
present
PaperNo paper
present
PaperNo paper
present
7
53
Chapter 7 Print Control Codes
(8) Real time enquiry to printer (DLE ENQ n)
Code: [10] h + [05] h + n
* (1 ≤ n ≤ 2) Data are expressed in Hex code.
The printer responds to the requests from the host in real time according to the specification of n.
n = 1: Resumes printing from the head of the line where an error occurred after
recovery from that error.
n = 2: The printer recovers from the error after clearing the receiving buffer and
the print buffer.
•This command is enabled only when an auto cutter error has occurred.
•This command is processed when it is received.
•This command is executed even when the receiving buffer is full.
•In cases where the [10] h [05] h n (1 ≤ n ≤ 2) data string is received, even when it
is other than this command, the user's attention is necessary because the printer's
operation will be the same as when this command is executed.
[Example]
In ESC* m nl nh [d] k, d1 = [10] h, d2 = [05] h, d3 = [10] h.
•Do not insert this command in the code strings of other commands consisting of
codes with 2 bytes or more.
[Example]
If the host side wants to send ESC 3 n, then DLE EOT 3 is sent just at the point
where ESC 3 has been sent, the printer will process the command as ESC 3 [10] h.
Therefore, the user's attention is necessary.
•Even if DLE ENQ 2 is executed, the printer will maintain the state it was in when
an error with contents set by ESC !, ESC 3, etc. was generated. The printer can be
completely initialized by this command and ESC@.
7
(9) Printing of data in the page mode (ESC FF)
Code: [1B] h + [0C] h
This prints out all the data developed in the entire printing area in the Page mode at
once.
•This command is enabled only when Page mode is selected.
•The printer prints on the printing sheet selected by ESC c 0.
•The developed data, ESC T and ESC W setting values, and character development
positions are maintained even after printing.
54
Input Data Format
(10) Setting the space between characters (ESC SP n)
Code: (1B) h + [20] h + n
* (0 ≤ n ≤ 20) Data are expressed in Hex code.
The space to the right of characters is set in [n x basic calculated pitch] inches.
•When the horizontal magnification of characters is 2 or greater, the amount of
space on the right becomes larger at the same magnification.
(1) This does not effect Kanji.
•The amount of space on the right side of characters can be set independently in the
Standard mode and the Page mode.
•The basic calculated pitch is set by GS P. Also, after the amount of right space is
set, this amount of space does not change even if the basic calculated pitch is
changed by GS P.
•If there is a fraction, interpolation is carried out at the mechanism's minimum pitch.
Remainders are cut off.
•In the Standard mode, the basic calculation pitch (x) in the horizontal direction is
used.
•In the Page mode, the basic calculation pitch used according to the starting point is
as follows.
(1) If the starting point is specified as "top left" or "bottom right" by ESC T, the
horizontal basic calculation pitch (x) is used.
(2) If the starting point is specified as "top right" or "bottom left" by ESC T, the
vertical basic calculation pitch (y) is used.
•The maximum value that can be set for the amount of right space is 255/203 inch.
Settings which exceed this maximum value are rounded to the maximum value.
•The minimum value is “n = 0”.
55
7
Chapter 7 Print Control Codes
(11) Specifying the print mode all at once (ESC ! n)
Code: [1B] h + [21] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
This command specifies the print mode.
•Each bit of n is as shown in the following table.
7
BitFunction
0Character FontFont AFont B
1Not defined
2Not defined
3BoldClearSpecify
4
5
6Not defined
7UnderlineClearSpecify
•If both vertical and horizontal double enlargement are specified at the same time,
quadruple enlargement characters can be configured.
•Underlines are applied to all the characters printed, but portions skipped with a
horizontal tab (HT) and portions with characters which are rotated 90 degrees to
the right are not underlined.
•The underline width is the width set in ESC _ with no relation to the character size.
•Mixed printing with double enlarged characters, and with characters of different
sizes, is possible.
•Character sizes can also be specified by GS !, but the command that is set last is the
one that is valid.
•The initial value is “n = 0”.
Vertical double
enlargement
Horizontal double
enlargement
ClearSpecify
ClearSpecify
Value
01
56
Input Data Format
(12) Specifying the absolute print position (ESC $ n1 n2)
Code: [1B] h + [24] h + n1 + n2
* (0 ≤ n1 ≤ FF)
(0 ≤ n2 ≤ 3) Data are expressed in Hex code.
The next printing start position is specified as an absolute position with the left margin
position as the reference. The next printing start position is [(n1 +n2 x 256) x basic
calculation pitch] inch from the left margin position.
•A specification that exceeds the printing area is disregarded.
•The basic calculation pitch is set by GS P.
•If there is a fraction in the calculation results, it is interpolated at the mechanism's
minimum pitch. Remainders are cut off.
•The horizontal basic calculation pitch (x) is used in the Standard mode.
•The following operations are executed in the Page mode according to the starting
point.
(1) If the starting point is specified as "top left" or "bottom right" by ESC T, an
absolute position in a direction perpendicular to the paper feed direction (the
character's horizontal direction) is specified. The horizontal basic calculation
pitch (x) is used in calculations at this time.
(2) If the starting point is specified as "top right" or "bottom left" by ESC T, the
absolute position in the paper feed direction (the character's horizontal direction) is specified. The vertical basic calculation pitch (y) is used at this time.
(13) Specifying/Clearing the download character set (ESC % n)
Code: [1B] h + [25] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
This command specifies and clears download characters.
•In n, the least significant bit (n0) becomes enabled. The meaning of the least
significant bit (n0) is as follows.
n0 = 0: The download character set is cleared.
n0 = 1: The download character set is specified.
•Download characters and a download bit image (GS *) cannot be defined at the
same time.
•The initial value is “n0 = 0”.
7
57
Chapter 7 Print Control Codes
(14) Defining download characters (ESC & s n m a (D1 D2~Dn))
Code: [1B] h + [26] h + s + n + m + a + Dn
* (s = 03)
(20 ≤ n ≤ 7E)
(20 ≤ m ≤ 7E)
(In the case of Font A, (0 ≤ a ≤ 0C)
(In the case of Font B, (0 ≤ a ≤ 09)
Data are expressed in Hex code.
This command defines download alphanumeric characters.
•s indicates the number of bytes in the vertical direction.
•n indicates the starting character code and m indicates the end character code. If
only one character is defined, n is made equal to m.
•Definable character codes are within the range (20) H ~ (7E) H of ASCII code. A
total of 95 characters can be defined.
•a indicates the number of horizontal dots that are defined.
•Dn are the defining data and indicate the pattern of “a” dots from the left end in the
horizontal direction. The pattern remaining on the right end is filled with spaces.
•Once it is defined, a download character remains valid until it is redefined, until
ESC @ is executed, until GS * is executed or until the power is switched OFF.
•It can be known whether characters are downloaded or not by executing ESC v.
•If they deviate from the conditions of the values set in m (Bit Image mode), n1 and
subsequent data are processed as ordinary character data.
Vertical DirectionHorizontal Direction
Number of
dots
Dot DensityDot Density
7
61
Chapter 7 Print Control Codes
d1
d2 d3
LSB
MSB
d1 d2 d3
Double Density
Bit Image Data
Printing Data
Printing Data
represent dots.
Single Density
Relationship between bit image data and printed dots
8-dot bit imageBit Image Data
7
24-dot bit imageBit Image Data
d1 d2 d3 d4 d5 d6 d7 d8 d9
d7
d4
d1
d2
d3
d8
d5
d9
d6
Printing Data
MSB
Bit Image Data
LSB
Single Density
62
Printing Data
represent dots.
Double Density
Input Data Format
(16) Specifying/Clearing underline (ESC – n)
Code: [1B] h + [2D] h + n
* (0 ≤ n ≤ 02, 30 ≤ n ≤ 32) Data are expressed in Hex code.
This command specifies or clears underlines.
•Underlines are applied to the full width of all the characters printed, but portions
skipped with a horizontal tab (HT) or by a relative/absolute print position specification (ESC (, ESC $), and characters which are rotated 90 degrees to the right, are
not underlined.
•During the printing of Kanji, this underline specification/clearing command cannot be applied.
•The type of underline is distinguished by the value of n, as follows.
n = 0, 30: Underline is cleared.
n = 1, 31: A one dot wide underline is specified.
n = 2, 32: A two dot wide underline is specified.
•The initial value is “n = 0”.
(17) Specifying the 1/6 inch line feed amount (ESC 2)
Code: [1B] h + [32] h
Sets the line feed amount at 1/6 inch per line.
•The line feed amount for a set sheet selected by ESC c1 is set by this command.
63
7
Chapter 7 Print Control Codes
(18) Specifying the line feed amount (ESC 3 n)
Code: [1B] h + [33] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
This command sets the line feed amount per line in [n x basic calculation pitch] inches.
•Sets the line feed amount for a set sheet selected by ESC c1.
•The line feed amount can be set independently for the receipt and journal printers,
but if printing of the same data by both the receipt and journal printers is specified,
and printing is done in the Page mode, the line feed amount set for the journal
printer is disregarded and the amount set for the receipt printer is made valid.
•The line feed amount can be set independently in the Standard mode and the Page
mode.
•The basic calculation pitch is set by GS P. Also, once the line feed amount has
been set, it does not change even if the basic calculation pitch is changed by GS P.
•If there is a fraction as a result of calculations, interpolation is carried out at the
mechanism's minimum pitch. Remainders are cut off.
•In the Standard mode, the basic calculation pitch (y) for the vertical direction (paper feed direction) is used.
•If used in the Page mode, movement from the starting point is as follows.
(1) If the starting point is specified as “top left” or “bottom right” by ESC T, the
vertical basic calculation pitch (y) (the paper feed direction) is used.
(2) If the starting point is specified as “top right” or “bottom left” by ESC T, the
horizontal basic calculation pitch (x) (perpendicular to the paper feed direction) is used.
•The maximum line feed amount that can be set is 40 inches. Settings that exceed
the maximum value are rounded to the maximum value.
•The initial value is a line feed amount corresponding to 1/6 inch.
7
64
(19) Controlling data input (ESC = n)
Code: [1B] h + [3D] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
•Each bit of n is as shown in the following table.
Input Data Format
BitFunction
0PrinterDisableEnable
1Not defined
2Not defined
3Not defined
4Not defined
5Not defined
6Not defined
7Not defined
•If the printer is not selected, all the data received are destroyed until the printer is
selected by this command.
•Even if the printer is not selected, the printer may, according to its operation, enter
the BUSY state.
•The initial value is “n = 1”.
Value
01
(20) Erasing download characters (ESC ? n)
Code: [1B] h + [3F] h + n
* (20 ≤ n ≤ 7E) Data are expressed in Hex code.
The download characters with the specified code are erased.
•n indicates the character code that erases the definition pattern. After erasure,
printing of the same patter as internal characters is done.
•The specified code definition patters of character fonts selected by ESC ! are erased.
•If the specified character code is not defined, this command is disregarded.
7
65
Chapter 7 Print Control Codes
(21) Printer initialization (ESC @)
Code: [1B] h + [40] h
Clears data stored in the internal print buffer and sets each setting in its initial state
(default state).
•Data in the internal input buffer are not cleared.
•Macro definition contents are not cleared.
(22) Setting the horizontal tab position (ESC D n NUL)
Code: [1B] h + [44] h + n + [00] h
* (1 ≤ n ≤ FF) Data are expressed in Hex code.
This command sets the horizontal tab position.
•n indicates the number of lines from the left margin to the horizontal tab position.
•The tab position is set at the character width x n position from the top of the line.
At this time, the character width includes the space to the right of the character and
when the horizontal enlargement rate is 2 or greater, the character width is also
made larger corresponding to the enlargement rate.
•The maximum number of places a tab position can be set is 32 positions. Settings
exceeding this number are disregarded.
•ESC D NUL clears all the set tab positions. After clearing, the horizontal tab (HT)
is disregarded.
•The initial value is every 8 characters for Font A and the amount of right space at
0 (9th column, 17th column...).
7
(23) Specifying/Clearing bold characters (ESC E n)
Code: [1B] h + [45] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
This command specifies and clears bold characters.
•The least significant bit (n0) in n is valid.
•Control by the least significant bit (n0) is as follows.
n0 = 0: Clears bold printing.
n0 = 1: Specifies bold printing.
•This is valid for all characters.
•The dot configuration of bold characters is one dot each added to each character
horizontally.
66
Input Data Format
(24) Specifying/Clearing double strike characters (ESC G n)
Code: [1B] h + [47] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
This command specifies and clears double strike characters.
•The least significant bit (n0) in n is valid.
•Control by the least significant bit (n0) is as follows.
n0 = 0: Clears double strike characters.
n0 = 1: Specifies double strike characters.
•In this printer, the effects of double strike printing are the same as those of bold
printing.
(25) Printing and paper feeding (ESC J n)
Code: [1B] h + [4A] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
This command prints the data in the print buffer and feeds the paper [n x basic calculation pitch] inches.
•After execution, the top of the line becomes the next print position.
•This has no influence on the line feed amount set by ESC 2 or ESC 3.
•The basic calculation pitch is set by GS P.
•If there is a fraction as a result of calculations, interpolation is carried out at the
mechanism's minimum pitch. Remainders are cut off.
•In the Standard mode, the basic calculation pitch (y) for the vertical direction is
used.
•If used in the Page mode, movement from the starting point is as follows.
(1) If the starting point is specified as “top left” or “bottom right” by ESC T, the
printing position is moved in the paper feed direction (the vertical direction of
the characters). At this time, the vertical basic calculation pitch (y) is used.
(2) If the starting point is specified as “top right” or “bottom left” by ESC T, the
printing position is moved in the direction perpendicular to the paper feed
direction (the vertical direction of the characters). At this time, the horizontal
basic calculation pitch (x) is used.
•If [n x basic calculation pitch] exceeds 40 inches, the 40 inch portion of the paper
feed is executed.
7
67
Chapter 7 Print Control Codes
(26) Selecting the page mode (ESC L)
Code: [1B] h + [4C] h
This command switches the printer from the Standard mode to the Page mode.
•This command is valid when it is input at the top of a line.
•This command is invalid when input in the Page mode.
•The printer returns to the Standard mode after printing by FF is completed, or by
execution of ESC S.
•The character development position is the starting point specified by ESC T within
the printing area specified by ESC W.
•The values set in the following commands which are set independently in the Page
mode and the Standard mode, respectively, are switched to the values set in the
Page mode.
(1) Space amount settingESC SP, FS S
(2) Line feed amount settingESC 2, ESC 3
•The following commands are valid only when set in the Page mode.
(1) ESC VSpecifying/Clearing 90 degree right rotated characters.
(2) ESC aArranging the position
(3) ESC {Specifying/Clearing inverted characters.
(4) GS LSetting the left margin.
(5) GS WSetting the printing area
•The printer is returned to the Standard mode by ESC @.
7
68
Input Data Format
(27) Selecting international characters (ESC R n)
Code: [1B] h + [52] h + n
* (0 ≤ n ≤ 0D, n = 40) Data are expressed in Hex code.
This command carries out selection of international characters.
•The international character set is set by the value of n, as shown in the following
table.
n(Hex)Character Set
0U. S. A.
1French
2German
3U. K.
4Danish
5Swedish
6Italian
7Spanish
8Japanese
9Norwegian
0ADanish 2
0BSpanish 2
0CLatin America
0DKorean
40Legal
•The initial value of n becomes the character set of the country specified by the DIP
switch.
69
7
Chapter 7 Print Control Codes
(28) Selecting the standard mode (ESC S)
Code: [1B] h + [53] h
This command switches the printer from the Page mode to the Standard mode.
•This command is valid only when input in the Page mode.
•Data developed in the Page mode are erased.
•The top of the line is made the next printing position.
•The printing area set by ESC W is initialized.
•The values set in the following commands which are set independently in the Page
mode and the Standard mode, respectively, are switched to the values set in the
Page mode.
(1) Space amount settingESC SP, FS S
(2) Line feed amount settingESC 2, ESC 3
7
70
Input Data Format
(29) Selecting the character printing direction in page mode
(ESC T n)
Code: [1B] h + [54] h + n
* (0 ≤ n ≤ 3)
(30 ≤ n ≤ 33) Data are expressed in Hex code.
This command selects the character printing direction and starting point in the Page
mode.
n
Printing Direction
0,30Left to Right
1,31Bottom to Top
2,32Right to Left
3,33Top to Bottom
•If this command is input while Standard mode is selected, the printer's internal flag
operation only is executed. In this case, it has no influence on printing in the
Standard mode.
•The character development position becomes the starting point within the printing
area set by ESC W.
•The basic calculation pitch (x or y) used in the following commands differs according to the starting point.
(1) If the starting point is "top left" or "bottom right," (characters are developed in
the direction perpendicular to the paper feed direction)
• Commands which use x: ESC SP, ESC $, ESC \
• Commands which use y: ESC 3, ESC J, GS $, GS \
(2) If the starting point is "top right" or "bottom left," (characters are developed in
the paper feed direction)
• Commands which use x: ESC 3, ESC J, GS $, GS \
• Commands which use y: ESC SP, ESC $, ESC \
•The initial value is “n = 0”.
Starting Point
Top Left
(A in diagram at right)
Bottom Left
(B in diagram at right)
Bottom Right
(C in diagram at right)
Top Right
(D in diagram at right)
(Reference)
→
→ → → →
A
Printing Area
→ → → →
B
D
→ → → →
C
→ → → →
← Paper Feed Direction
7
71
7
Chapter 7 Print Control Codes
(30) Specifying/Clearing 90 degree right rotated characters
(ESC V n)
Code: [1B] h + [56] h + n
* (0 ≤ n ≤ 1, 30 ≤ n ≤ 31) Data are expressed in Hex code.
This command specifies or clears 90 degree right rotated characters.
•90 degree right rotated characters cannot be underlined.
•The following is determined by the value of n.
n = 0, 30: 90 degree right rotated characters are cleared.
n = 1, 31: 90 degree right rotated characters are specified.
•If this command is input when Page mode is selected, the printer's internal flag
only operates and there is no influence on the Page mode.
•The initial value is “n = 0”.
(31) Setting the printing area in the page mode (ESC W)
However, except when dx1 = dx2 = 0 or dy1 = dy2 = 0.
Sets the printing area position and size.
Horizontal Starting Point = [(x1 + x2 x 256) x basic calculation pitch] inches
Vertical Starting Point = [(y1 + y2 x 256) x basic calculation pitch] inches
Horizontal Length = [(dx1 + dx2 x 256) x basic calculation pitch] inches
Vertical Length = [(dy1 + dy2 x 256) x basic calculation pitch] inches
•If this command is input when the Standard mode is selected, the printer's internal
flag operations only are executed. In this case, Standard mode printing is not
influenced.
•If the horizontal starting point or the vertical starting point is outside the area where
printing is possible, command processing is terminated and the next data are processed as ordinary data.
•If the horizontal length or vertical length is 0, command processing is terminated
and the next data are processed as ordinary data.
•The character development position is the starting point in the printing area specified by ESC T.
•If (horizontal starting point + horizontal length) exceed the area that can be printed
in the horizontal direction, (the printable area in the horizontal direction - the horizontal starting point) is made the horizontal length.
•If (vertical starting point + vertical length) exceed the area that can be printed in
the vertical direction, (the printable area in the vertical direction - the vertical length)
is made the vertical length.
•The basic calculation pitch is set by GS P. Also, once the printing area has been
set, it will not change even if the basic calculation pitch is changed by GS P.
72
Input Data Format
•If there is a fraction as a result of calculations, interpolation is carried out at the
mechanism's minimum pitch. Remainders are cut off.
•The basic calculation pitch (x) is used in calculating the horizontal starting point
and the horizontal length and the basic calculation pitch (y) is used in calculating
the vertical starting point and the vertical length.
•If X is the horizontal starting point, Y is the vertical starting point, Dx is the horizontal length and Dy is the vertical length, the printing area becomes as shown in
the following diagram.
(X, Y)
→
Dy
•The area which this printer can print is a 432/203 inch in the horizontal direction
and 938/203 inch in the vertical direction.
•The initial values are x1 = x2 = y1 = y2 = 0, dx1 = b0, dx2 = 01, dy1 = AA and
dy2= 03.
Dx
Printing Area
(X+Dx–1, Y+Dy–1)
Paper
→
← Paper Feed Direction
7
73
Chapter 7 Print Control Codes
(32) Specifying the relative printing position (ESC \ n1 n2)
Code: [1B] h + [5C] h + n1 + n2
* (0 ≤ n1 ≤ FF)
(0 ≤ n2 ≤ FF) Data are expressed in Hex code.
This command specifies the next printing start position with the current position as the
reference point. the next printing start position is a position [(n1 + n2 x 256) x basic
calculation pitch] inches from the current position.
•This command is disregarded if the specification exceeds the printing area.
•If a position is specified which is to the right of the current position with respect to
the character orientation, the value is a positive number (plus), and if a position is
specified which is to the left, the value is a negative number (minus).
•Negative numbers are expressed as a complement of 65536.
For example, if shifting by N pitch to the left, this is expressed by n1 + n2 x 256 =
65536 - N.
•The basic calculation pitch is set by GS P.
•If there is a fraction as a result of calculations, interpolation is carried out at the
mechanism's minimum pitch. Remainders are cut off.
•The horizontal basic calculation pitch (x) is used in the Standard mode.
•In the Page mode, operation is as follows according to the starting point.
(1) If the starting point is specified as “top left” or “bottom right” by ESC T, the
relative position in the direction perpendicular to paper feed (the characters'
horizontal direction) is specified. At this time, the horizontal basic calculation
pitch (x) is used.
(2) If the starting point is specified as “top right” or “bottom left” by ESC T, the
relative position in the paper feed direction (the characters' horizontal direction) is specified. At this time, the horizontal basic calculation pitch (y) is
used.
7
74
Input Data Format
(33) Arranging the printing position (ESC a n)
Code: [1B] h + [61] h + n
* (0 ≤ n ≤ 2, 30 ≤ n ≤ 32) Data are expressed in Hex code.
•This command arranges all the print data on one line in specified positions.
•Printing arrangement is executed as follows in accordance with the value of n.
n = 0, 30: Specifies left alignment.
n = 1, 31: Specifies centering.
n = 2, 32: Specifies right alignment.
•This command is valid only if input at the head of a line.
•If this command is input when selecting the Page mode, the printer's internal flag
only is operated.
•This command does not influence the Page mode.
•The initial value is “n = 0”.
(34) Selecting the printing sheet (ESC c 0 n)
Code: [1B] h + [63] h + [30] h + n
* (1 ≤ n ≤ 3) Data are expressed in Hex code.
Selects the sheet (receipt/journal) which is printed.
•Each bit of n is as shown in the following table.
BitFunction
0JournalDisableEnable
1ReceiptDisableEnable
2Not defined
3Not defined
4Not defined
5Not defined
6Not defined
7Not defined
•This command is valid if input at the head of a line.
•If a Page mode printing sheet is selected, execute this command before ESC L.
Once the Page mode is selected, this command is disregarded.
•If the value of n deviates from the definition range, this command is disregarded.
•The initial value is “n = 3”.
Value
01
7
75
Chapter 7 Print Control Codes
(35) Selecting the setting sheet (ESC c 1 n)
Code: [1B] h + [63] h + [31] h + n
* (1 ≤ n ≤ 3) Data are expressed in Hex code.
Selects the sheet which is the object of line feed settings set by ESC 2 and ESC 3.
•Each bit of n is as shown in the following table.
7
BitFunction
0JournalDisableEnable
1ReceiptDisableEnable
2Not defined
3Not defined
4Not defined
5Not defined
6Not defined
7Not defined
•If the value of n deviates from the definition range, this command is disregarded.
•The initial value is “n = 3”.
Value
01
(36) Selecting an effective paper end sensor for outputting the
paper end signal (ESC c 3 n)
Code: [1B] h + [63] h + [33] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
Selects which state of which sensor for outputting to the Centronics parallel interface
PE signal.
BitFunction
0Journal Near End SensorDisableEnable
1Receipt Near End SensorDisableEnable
2Journal End SensorDisableEnable
3Receipt End SensorDisableEnable
4Not defined
5Not defined
6Not defined
7Not defined
Value
01
•The initial value is “n = 3”.
[Note] This is valid for the parallel interface only.
76
Input Data Format
(37) Selecting the paper end sensor that is effective for
stopping printing (ESC c 4 n)
Code: [1B] h + [63] h + [34] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
Selects which paper end sensor will stop printing.
BitFunction
0Journal Near End SensorDisableEnable
1Receipt Near End SensorDisableEnable
2Not defined
3Not defined
4Not defined
5Not defined
6Not defined
7Not defined
•Even if the sensor which has been enabled senses the paper end, if printing of that
sheet is disabled, printing will not stop.
•If multiple sensors have been specified as enabled, printing will stop when any one
of the sensors detects the paper end.
•If printing is stopped, the print operation actually stops after the current line has
been printed and paper feed has been completed.
•If paper end is detected by the journal or receipt sensor, the printer goes off-line
after printing stops.
•The initial value is the state specified in the menu setting.
Value
01
(38) Enabling/Disabling the panel switch (ESC c 5 n)
Code: [1B] h + [63] h + [35] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
This command enables or disables the paper feed key (Receipt/Journal key).
•In n, the least significant bit (n0) becomes enabled.
•The least significant bit (n0) is as follows.
n0 = 0: Enables the paper feed key.
n0 = 1: Disables the paper feed key.
•The paper feed key is enabled regardless of this setting when the cover is open.
•The initial value is “n0 = 0”.
7
77
Chapter 7 Print Control Codes
(39) Print and feed paper n lines (ESC d n)
Code: [1B] h + [64] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
This command prints the data in the print buffer and feeds the paper n lines.
•The set amount does not remain.
•The next printing start position is the head of the line.
•If the paper feed amount exceeds 40 inches, paper feeding of 40 inches only is
executed.
(40) Full cut (ESC l)
Code: [1B] h + [69] h
Executes a full cut of the receipt paper.
•This command is valid only if it is input at the head of a line.
(41) Partial cut (ESC m)
Code: [1B] h + [6D] h
Executes a partial cut (one point is left) of the receipt paper.
•This command is valid only if it is input at the head of a line.
(42) Generates a specification pulse (ESC p m n1 n2)
Code: [1B] h + [70] h + m + n1 + n2
* (0 ≤ n1 ≤ FF)
(0 ≤ n2 ≤ FF) Data are expressed in Hex code.
This command outputs the signals specified in n1 and n2 to connector pin m.
•The m bit (m0) is as follows.
m0 = 0: Drawer kick No. 2 pin
m0 = 1: Drawer kick No. 5 pin
•On time is n1 x 2 ms and Off time is n2 x 2 ms.
•If n2 is smaller than n1, Off time is made n1 x 2 ms.
7
78
(43) Selecting the character code table (ESC t n)
Code: [1B] h + [74] h + n
* (0 ≤ n ≤ 6, n = FF) Data are expressed in Hex code.
•The initial value is “n = 0 or 2”. Depending on the setting of DIP switch.
See page 25
Input Data Format
79
7
Chapter 7 Print Control Codes
(44) Peripheral sevice status signal (ESC u n)
Code: [1B] h + [75] h + n
* (n = 0)
Sends the current status of pin No. 3 of the drawer kick connector.
•n is as follows.
n = 0: Drawer kick connector pin No. 3.
•The status sent is 1 byte. The contents are as shown in the following table.
•If nothing is connected to the connector, bit 0 of n is always "1."
•In the case of DTR/DSR control, after confirming that the host is ready to receive
(the DSR signal is High), one byte only is sent. In the case of XON/XOFF control,
one byte only is sent without confirming the status of the DSR signal.
•In the case of DTR/DSR control, if the host is not ready to receive (the DSR signal
is Low), it waits until the host is ready to receive.
7
BitFunction
0Level of Pin No. 3“L”“H”
1Not defined
2Not defined
3Not defined
4Not usedFixed at 0
5Not defined
6Not defined
7Not defined
[Note] This is valid only with the Serial interface.
Value
01
80
Input Data Format
(45) Sending the printer status (ESC v)
Code: [1B] h + [76] h + n
This command sends the current printer status.
•The status sent is 1 byte. The contents are as shown in the following table.
•In the case of DTS/DSR control, after confirming that the host is ready to receive
(the DSR signal is High), one byte only is sent. In the case of XON/XOFF control,
one byte only is sent without confirming the status of the DSR signal.
•In the case of DTR/DSR control, if the host is not ready to receive (the DSR signal
is Low), it waits until the host is ready to receive.
BitFunction
0Journal near end sensorPaper presentNo paper
1Receipt near end sensorPaper presentNo paper
2Journal near end sensorPaper presentNo paper
3Receipt end sensorPaper presentNo paper
4Not usedFixed at 0
5Downloading of characterNo downloadingDownloading
6Downloading of bit imageNo downloadingDownloading
7Not usedFixed at 0
[Note] This is valid only with the Serial interface.
Value
01
7
81
Chapter 7 Print Control Codes
(46) Specifying/Clearing printing of the same data by the receipt
and journal printers (ESC z n)
Code: [1B] h + [7A] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
This command specifies and clears the printing of the same data by the receipt and
journal printers.
•In n, the least significant bit (n0) becomes enabled.
•The least significant bit (n0) is as follows.
n0 = 0: Printing of the same data is cleared.
n0 = 1: Printing of the same data is specified.
•This command is valid when it is input at the head of a line.
•Even if printing of the same data is specified, if both the receipt and journal printers are not selected as the printing sheet, the printing will not be the same for both
printers.
•When Page mode is selected, this command is disabled.
Code: [1B] h + [7B] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
In n, the least significant bit (n0) becomes enabled.
•The least significant bit (n0) is as follows.
n0 = 0: Inverted characters are cleared.
n0 = 1: Inverted characters are specified.
•This command is valid when it is input at the head of a line.
•If this command is input when Page mode is selected, the printer's internal flag
only operates, and there is no influence in the Page mode.
•The initial value is “n0 = 0”.
•The following shows a printing example.
7
If inverted characters are cleared: If inverted characters are specified:
Japan CBM
813 (3200) 6293
Paper Feed Direction
82
Japan CBM
813 (3200) 6293
Input Data Format
(48) Specifying the character size (GS ! n)
Code: [1D] h + [21] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
However, 1 ≤ Vertical Enlargement Rate ≤ 8,
1 ≤ Horizontal Enlargement Rate ≤ 8
This command specifies the character size (vertical enlargement rate/horizontal enlargement rate).
000B00Normal Size
0001B012 times
0010B023 times
0011B034 times
0100B045 times
0101B056 times
0110B067 times
0111B078 times
See the following Table 1.
See the following Table 2.
Table 2 (Horizontal Enlargement Rate)
7654 BitsValueEnlargement Rate
000B00Normal Size
0001B012 times
0010B023 times
0011B034 times
0100B045 times
0101B056 times
0110B067 times
0111B078 times
7
83
7
Chapter 7 Print Control Codes
•Except for HRI characters, this command is valid for all characters.
•If the setting of either the vertical enlargement rate or the horizontal enlargement
rate deviates from the definition range, this command is disregarded.
•In the Standard mode, the vertical direction indicates the paper feed direction and
the horizontal direction indicates the direction perpendicular to the paper feed direction. Therefore, in specifying 90 degree rotated characters, the vertical-horizontal relationship with respect to the characters is reversed.
•In the Page mode, the vertical direction indicates the vertical direction with respect
to the characters and the horizontal direction indicates the horizontal direction
with respect to the characters.
•If characters with a different vertical enlargement rate are mixed on the same line,
they are arranged along the base line.
•Horizontal and vertical double enlargement can also be specified and cleared by
ESC !, but the command that was processed last becomes the valid command.
•The initial value is “n = 0”.
(49) Specifying the character vertical absolute position in the
page mode (GS $ n1 n2)
Code: [1D] h + [24] h + n1 + n2
* (0 ≤ n1 ≤ FF)
(0 ≤ n2 ≤ FF) Data are expressed in Hex code.
In the Page mode, this command specifies the position in the characters' vertical direction of the data development start position as an absolute position with the starting
point as the reference. The position in the characters' vertical direction of the next data
development start position is a position [(n1 + n2 x 256) x basic calculation pitch] inch
from the starting point.
•This command is disregarded when a mode other than the Page mode is selected.
•An absolute position specification which exceeds the specified print area is disregarded.
•The data development start position does not shift in the characters' horizontal
direction.
•The starting point used as the reference is specified by ESC T.
•Movements from the starting point specified by ESC T are as follows.
(1) If “top left” or “bottom right” is specified as the starting point, the absolute
position in the paper feed direction (characters' vertical direction) is specified.
At this time, the vertical basic calculation pitch (y) is used.
(2) If “top right” or “bottom left” is specified as the starting point, the absolute
position in the direction perpendicular to the paper feed direction (characters'
vertical direction) is specified. At this time, the horizontal basic calculation
pitch (x) is used.
•The basic calculation pitch is set by GS P.
•If there is a fraction, interpolation is carried out at the mechanism's minimum pitch.
Remainders are cut off.
84
Input Data Format
(50) Defining a downloaded bit image (GS * n1 n2 Dn)
Code: [1D] h + [2A] h + n1 + n2 + Dn
* (1 ≤ n1 ≤ FF)
(1 ≤ n2 ≤ 30)
(n1 x n2 ≤ 600) Data are expressed in Hex code.
This command defines a downloaded bit image with the number of dots specified in n1
and n2.
•The number of dots in the horizontal direction is n1 x 8 and the number of dots in
the vertical direction is n2 x 8.
•Dn is the bit image data.
•Once a downloaded bit image has been defined, it is valid until it is redefined, ESC
@ is executed, ESC & is executed or the power is switched OFF.
•Downloaded characters and a downloaded bit image cannot be defined at the same
time. If this command is executed, contents defining a downloaded character are
cleared.
•The relationship between bit image data and defined dots is shown in the following diagram.
n1x8 dots
d1
dn2+1
dn2x2+1
d2
dn2+2
dn2x2+2
n2x8 dots
MSB
LSB
dn2
dn2x2
7
dn1xn2x8
85
Chapter 7 Print Control Codes
(51) Printing a downloaded bit image (GS / m)
Code: [1D] h + [2F] h + m
* (0 ≤ m ≤ 3, 30 ≤ m ≤ 33) Data are expressed in Hex code.
This command prints a downloaded bit image in the mode specified by m.
•The modes selected by m are as shown in the following table.
7
mMode NameVertical Dot Density
0,30Normal Mode203 DPI203 DPI
Horizontal
1,31
Double Mode
Vertical Double
2,32
Mode
3,33Quadruple Mode101 DPI101 DPI
•If data exist in the print buffer, this command is disregarded.
•If a downloaded bit image is not defined, this command is disregarded.
•The portion of a downloaded bit image that exceeds the length of a line is not
printed.
203 DPI101 DPI
101 DPI203 DPI
Horizontal Dot Density
86
Input Data Format
(52) Starting and ending a macro definition (GS :)
Code: [1D] h + [3A] h
This command specifies starting and ending of a macro definition.
•Up to 2048 bytes can be used as contents in defining a macro. Any portion where
this 2048 bytes is exceeded is not defined.
•The definition contents are not cleared even when ESC @ (printer initiation) is
executed, so ESC @ can be included in the contents of a macro definition.
•Ordinary printing operations can be executed in the middle of macro definition.
•A “macro” is a string of commands corresponding to the user's purpose, taken
from the control commands of this printer, which are arranged to form a single
command in order to carry out daily operations efficiently. They can be used in
exactly the same way as existing commands can be used.
87
7
Chapter 7 Print Control Codes
(53) Specifying/Clearing Black/White reverse printing (GS B n)
Code: [1D] h + [42] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
This command specifies or clears printing of black/white reversed characters.
•In n, the least significant bit (n0) becomes enabled.
The least significant bit (n0) is as follows.
n0 = 0: Clears printing of black/white reversed characters.
n0 = 1: Specifies printing of black/white reversed characters.
•Internal characters and downloaded characters can be printed as black/white reversed characters.
•The space to the right of characters, set by ESC SP, is also the object of black/
white reversed printing.
•Bit images, downloaded bit images, bar codes, HRI characters and portions skipped
due to HT, ESC $, ESC ( are not influenced.
•Spaces between lines are not influenced.
•Specification of black/white reversed printing has priority over underline specifications. Therefore, underlines are not added to black/white reversed characters,
even when underline is specified. However, the underline setting state does not
change.
•The initial value is “n0 = 0”.
(54) Selecting the HRI character print position (GS H n)
Code: [1D] h + [48] h + n
* (0 ≤ n ≤ 3, 30 ≤ n ≤ 33) Data are expressed in Hex code.
7
This command selects the HRI character print position when a bar code is printed.
•n has the meanings in the following table.
n (Hex)Print Position
0,30No printing
1,31Above the bar code
2,32Below the bar code
3,33 Both above and below the bar code
•HRI characters are printed in the font selected by GS f.
•The initial value is “n = 0”.
88
(55) Setting the left margin (GS L n1 n2)
Code: [1D] h + [4C] h + n1 + n2
* (0 ≤ n1 ≤ FF)
(0 ≤ n2 ≤ FF) Data are expressed in Hex code.
This command sets the left margin specified by n1 and n2.
The left margin is [(n1 + n2 x 256) x basic calculation pitch] inch.
Printable Range
Input Data Format
Left Margin
•This command is valid only when input at the head of a line.
•When Page mode is selected, if this command is input, the printer's internal flag
operation only is executed.
•Setting of this command has no influence on the Page mode.
•The maximum settable left margin is the same as the area in the horizontal direction that can be printed. Settings that exceed the maximum value are rounded to
the maximum value.
•The basic calculation pitch is set by GS P. Also, once the left margin is set, it will
not change even if the basic calculation pitch is changed by GS P.
•The horizontal basic calculation pitch (x) in GS P is used in calculating the left
margin. Also, if there is a fraction, interpolation is carried out at the mechanism's
minimum pitch. Remainders are cut off.
•The left margin is set for the set sheet selected as valid by ESC c 1.
•The left margin can be set independently for the receipt and journal printers, but if
printing of the same data in the receipt and journal printers is specified, the left
margin set in the journal printer is disregarded and that set in the receipt printer is
enabled.
•The initial values are “n1 = 0” and “n2 = 2”.
Width of Print Area
7
89
7
Chapter 7 Print Control Codes
(56) Specifying/Clearing reduced character printing (GS M n)
Code: [1D] h + [4D] h + n
* (0 ≤ n ≤ FF) Data are expressed in Hex code.
However, bits 1, 2, 4, 5, and 6 should be 0.
This command specifies or clears printing of reduced characters.
BitFunction01
Reduced Character Printing in the
0
Vertical Direction
1Not usedFixed at 0
2Not usedFixed at 0
3Not defined—
4Not usedFixed at 0
5Not usedFixed at 0
6Not usedFixed at 0
7Not defined—
•This command is valid for printing of all characters except HRI characters.
•The reduction rate is 50%.
•Specification and clearing of printing reduced characters has no influence on the
line feed amount.
•If printing of reduced characters in the vertical direction is specified in the Standard mode, then reduced characters are printed in the paper feed direction. Therefore, 90 degree right rotated characters are reduced in the characters' horizontal
direction.
•If printing of reduced characters in the vertical direction is specified in the Page
mode, then reduced characters are printed in the characters' vertical direction without relation to the printing direction selected by ESC T.
•If characters of different vertical sizes are mixed on the same line, they are arranged along the printing base line.
•If reduction printing is specified, underlines are not added, even when underlines
are specified. However, the underline specifications are not cleared. Also, if an
underline is specified or cleared in the middle of a reduced printing specification,
the printer's internal flag operation only is executed.
•Characters with a high dot density may be difficult to read clearly.
•The initial value is “n = 0”.
ClearSpecify
90
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.