NCR 7197
NCR 7197
B005-0000-2068
Issue H
The product described in this document is a licensed product of NCR Corporation.
NCR is a registered trademark of NCR Corporation. NCR RealPOS is a trademark of NCR Corporation in
the United States and/or other countries. Other product names mentioned in this publication may be
trademarks or registered trademarks of their respective companies and are hereby acknowledged.
The terms HDMI and HDMI High-Definition Multimedia Interface, and the HDMI Logo are trademarks
or registered trademarks of HDMI Licensing LLC in the United States and other countries.
Where creation of derivative works, modifications or copies of this NCR copyrighted documentation is
permitted under the terms and conditions of an agreement you have with NCR, NCR's copyright notice
must be included.
It is the policy of NCR Corporation (NCR) to improve products as new technology, components,
software, and firmware become available. NCR, therefore, reserves the right to change specifications
without prior notice.
All features, functions, and operations described herein may not be marketed by NCR in all parts of the
world. In some instances, photographs are of equipment prototypes. Therefore, before using this
document, consult with your NCR representative or NCR office for information that is applicable and
current.
To maintain the quality of our publications, we need your comments on the accuracy, clarity,
organization, and value of this book. Please use the link below to send your comments.
EMail: FD230036@ncr.com
Preface
Audience
This book is written for hardware installer/service personnel, system integrators, and
field engineers.
Notice: This document is NCR proprietary information and is not to be disclosed or
reproduced without consent.
Power Supply
UL Listed (QQGQ), Class 2 power supply with SELV (Secondary Extra Low Voltage),
non–energy hazard output, input rated 100–240 Vac, 1.5/0.8 A, 50/60 Hz, output rated 24
Vdc, 2.3 A. or 3.125A.
Use of this product with a power supply other than the NCR power supply will require
you to test this power supply and NCR printer for FCC and CE mark certification.
Interface Cable
A shielded (360 degree) interface cable must be used with this product. The shield must
be connected to the frame or earth ground connection or earth ground reference at
EACH end of the cable.
Use of a cable other than described here will require that you test this cable with the
NCR printer and your system for FCC and CE mark certification.
Power Cord
A UL listed, detachable power cord must be used for this product. For applications
where the power supply module may be mounted on the floor, a power cord with Type
SJT marking must be used. For applications outside the US, power cords which meet the
particular country’s certification and application requirements should be used.
Use of a power cord other than described here may result in a violation of safety
certifications which are in force in the country of use.
ii
Wichtige Benutzerinformationen:
Um die Produktsicherheit und die FCC und CE–Markierungsanforderungen bei der
Benutzung des Druckers sicherzustellen, müssen entweder das mitgesante Netzgerät,
Netzanschlußkabel und Verbindungskabel verwendet werden oder folgende
Anforderungen müssen erfüllt sein:
Netzgerät:
Das Netzgerät muß ein UL verzeichnetes (QQGQ) Netzgerät der Klasse 2 mit SELV
(Sekundärextraniederspannung), Nichtenergie Gefahrenausgang, einer
Aufnahmeleistung von 100–240 VAC, 1.5/0.8 A und 50/60 Hz, und einer Leistungsabgabe
von 24 VDC, 3.125 A.c sein.
Die Benutzung des Produktes mit einem Netzgerät, daß nicht von NCR mitgeliefert
wurde erfordert das Testen des Netzgerätes mit dem NCR Drucker auf FCC und CE–
Markierungs Befolgung.
Verbindungskabel:
Bei der Benutzung dieses Produkts muß ein abgeschirmtes (360 Grad) Verbindungskabel
benutzt werden. Die Abschirmleitung muß entweder mit dem Rahmens des Gerätes
oder der Erde verbunden sein oder alternativ müssen alle Enden des Kabels geerdet
werden.
Falls das Verbindungskabel nicht in der hier beschrieben Art benutzt wird, muessen das
Kabel und der NCR Drucker auf die FCC und CE–Markierungs Befolgung überprüft
werden.
Netzanschlußkabel:
Für dieses Produkt muß ein in UL aufgelistete, abnehmbares Netzanschlußkabel benutzt
werden. Falls das Netzgerät fest auf dem Boden montiert ist, muß ein Netzanschlußkabel
mit der SJT Markierung benutzt werden. Für Anwendungen außerhalb der USA, sollte
ein Netzanschlußkabel benutzt werden, daß der Zertifizierung und Bestimmung des
jeweiligen Landes entspricht.
Das Abweichen der hier beschriebenen Benutzungsanleitung des
Netzanschlußkabels kann gegen die gesetzlichen Sicherheitsbestimmungen des
jeweiligen Landes verstoßen.
iii
用户须知
为了确保产品安全和遵守中国电磁兼容(EMC)规定,必须使用随产品附带或符合下列
参数的电源,电源线和接口电缆:
电源
中国强制性产品认证, 输入为 : 交流100 ~ 240伏, 1.5/0.8安倍, 50/60赫兹, 输出为: 直流
24伏, 2.3或3.125安倍
如使用本产品与非NCR生产的电源产品, 必须测试电源和NCR生产的打印机以符合
产品安全和中国电磁兼容(EMC)规定
接口电缆
本产品必须使用屏蔽( 360度) 接口电缆。屏蔽层必须连接到金属框架或接地或接口电
缆两端的接地参考
使用没有在这里描述的接口电缆将要求您必须测试接口电缆和NCR生产的打印机以
符合产品安全和中国电磁兼容(EMC)规定
电源线
中国强制性产品认证, 可拆卸的电源线.
使用没有在这里描述的电源线可能导致在该国的安全证书失效
销售打印机的安全规定
安全注意事项
维修
注意:本产品不含有用户可自行更换的部件,如需更换,请联系有资质的技术人员。
保险丝的更换
注意:为防止失火只可用相同规格的保险丝进行更换,
iv
안전주의사항
서비스
주의 :이 제품은 서비스 부품을 포함하지 않고 있습니다. 서비스는 자격이 있는 서비스
기술자에 의해 제공됩니다.
퓨즈교체
주의: 화재의 위험에 대한 계속적인 보호를 위해 같은 타입과 등급의 퓨즈로 교체해야 합
니다. 。
Communication Cables
Shielded communication cables must be used with this unit to ensure compliance with
the Class A FCC limits.
Information to User
This equipment must be installed and used in strict accordance with the manufacturer's
instructions. However, there is no guarantee that interference to radio communications
will not occur in a particular commercial installation. If this equipment does cause
interference, which can be determined by turning the equipment off and on, the user is
encouraged to contact NCR immediately.
The NCR Company is not responsible for any radio or television interference caused by
unauthorized modification of this equipment or the substitution or attachment of
connecting cables and equipment other than those specified by NCR. The correction of
interferences caused by such unauthorized modification, substitution or attachment will
be the responsibility of the user.
vi
Kommunikationskabel:
Dieses Gerät muß in Uebereinstimmung mit Kategorie A FCC Richtlinien mit einem
abgeshirmten Kabel betrieben werden.
Benutzerinformationen:
Dieses Gerät muß wie in der Hersteller Anweisungen beschrieben installiert und benutzt
werden. Jedoch gibt es keine Garantie dafür, daß Funkstörung nicht in bestimmten
kommerziellen Installation auftritt. Für den Fall, daß das Gerät Funkstörungen
verursacht, was durch das An und Abschalten des Gerätes festgestellt werden kann,
wird der Benutzer aufgefordert sofort mit NCR Kontakt aufzunehmen.
NCR ist nicht für Radio– oder Fernsehenstörung verantwortlich, die durch
unautorisierte Änderung der Ausrüstung oder den Ersatzes der anschließenden Kabel
oder durch Anschluß von Geräten hervorgerufen wird, die nicht ausdrücklich von NCR
genehmigt wurden sind. Die Korrektur von Störungen, die durch solche unautorisierte
Änderung, Ersatz oder Zubehör verursacht werden, liegt in der Verantwortlichkeit des
Benutzers.
viii
Industrie–Kanada (IS)
Hochfrequenz–Störungs Richtlinie:
Dieses digitale Gerät der Klasse A entspricht allen Anforderungen der kanadischen
Störung–Verursachende Geräte Richtlinie.
无线电频率干扰声明
用户须知
本设备已经过测试,证明其符合A级数字设备的限定。这些限制旨在对设备在商业环
境中运作时提供合理的保护,以防有害干扰。本设备产生,使用,并能发射无线电频率
能量.因此如果不按照使用说明书安装和使用,可能对无线电通讯造成有害干扰. 如果
在住宅区使用本设备很可能造成干扰. 用户将被要求自费纠正干扰 。
对于未经授权的修改或使用NCR规定以外的其他附件替换或连接电缆及设备, NCR
不负责.
校正由此而产生的干扰将是用户的责任。用户需注意:未经NCR批准的改装可能导致
用户无权操作本设备
中国电磁兼容声明:
此为A级产品,在生活环境中,该产品可能会造成无线电干扰。在这种情况下,可能
需要用户自费对其干扰采取切实可行的措施。
Hazardous Moving Parts, Keep Fingers and Other Body Parts Away/ Parties Mobiles
Dangereuses Tenir Les Doigts Et Les Autres Parties Du Corps Éloignés.
ix
References
• NCR 7197 Thermal Receipt Printer Series II Service Guide (B005-0000-2069)
• NCR 7197 Thermal Receipt Printer Series II Parts Identification Manual (B005-0000-2070)
x
Table of Contents
Chapter 4: Diagnostics
Level 0 Diagnostics 68
Level 1 Diagnostics 69
Printer Configuration 69
Configuring the Printer 71
Communication Interface Modes 74
RS-232C/USB Interface Settings [Standard Model] 74
Ethernet Interface Settings [Standard Model] 77
Diagnostic Modes 77
Datascope Mode 78
Receipt Test Mode 78
Emulation/Software Options 79
Printer ID Mode 80
Default Lines Per Inch 81
Carriage Return Usage 81
Asian Mode 81
Receipt Synchronization 82
Ignore Sync Configuration 83
Clear User Defined Area 83
PDF417 Max Column Print 83
Auto Reset 84
Font Type 85
Compatibility Barcode Length 85
Compress Pitch 86
Model in 4610 Emulation 86
Hardware Options 87
xiii
Chapter 5: Communication
Communication Overview 105
Interface 105
Sending Commands 105
Using DOS to Send Commands 105
xiv
Chapter 6: Commands
Command Conventions 119
Introduction 119
List of Commands and Location 120
By Command Code 120
By Function 126
Printer Function Commands 126
Vertical Positioning and Print 127
Horizontal Positioning Commands 127
xv
Appendix A: Specifications
Printing Specifications 289
Power Requirements 291
Power from Host 291
Power from External Power Supply 292
Environmental Conditions 293
Reliability 293
Dimensions and Weight 293
Density of Receipt Print Lines 294
Duty Cycle Restrictions (Printing Solid Blocks) 294
Revision Record
General Description
The 7197 Series II printer is a fast, quiet, relatively small and very reliable multiple–
function printer. It prints receipts and two–color printing.
The industry–standard RS-232C communication interface allows the 7197 Series II to be
connected to any host computer that uses RS-232C or USB communication interface.
7197 Series II is also available in Ethernet communication interface and WIFI
communication interface.
1-2 About the 7197 Series II Printer
Features
The 7197 Series II printer comes with several features and options.
Receipt Station
• Thermal printing
• Standard pitch (host selectable): 15.2 characters per inch, 44 columns
• Compressed pitch (host selectable): 19.0 characters per inch, 56 columns
• ECO feature
• Resident bar codes
• Code 39
• Code 93
• Code 128
• UPC–A
• UPC–E
• JAN8 (EAN)
• JAN13 (EAN)
• Interleaved 2 of 5
• Codabar
• PDF417
• GS1 DataBar Omnidirectional
• GS1 DataBar Truncated
• GS1 DataBar Stacked
• GS1 DataBar Stacked Omnidirectional
• GS1 DataBar Limited
• GS1 DataBar Expanded
• GS1 DataBar Expanded Stacked
• QR Barcode
• Drop-in paper loading requiring no spindle or threading paper
• Paper low indicator
• Paper exhaust
• Variety of print modes:
• double high (receipt station only)
About the 7197 Series II Printer 1-3
• double wide
• upside down
• rotated
• 14 resident single byte character language Code Pages:
• PC Code Page 437 (US English)
• PC Code Page 850 (Multilingual)
• PC Code Page 852 (Slavic)
• PC Code Page 858 (with Euo symbol)
• PC Code Page 860 (Portuguese)
• PC Code Page 862 (Hebrew)
• PC Code Page 863 (French Canadian)
• PC Code Page 864 (Arabic)
• PC Code Page 865 (Nordic)
• PC Code Page 866 (Cyrillic)
• PC Code Page 874 (Thai)
• PC Code Page 1252 (Windows Latin #1)
• PC Code Page 1256 (Windows Arabic)
• PC Code Page Katakana
• Unicode (UTF-16) support
• Space Page
• Maximum 384K flash memory for downloaded character sets and bit–mapped
graphics such as logos
• 128K RAM for download bit–mapped graphics such as logos
General Features
• Knife
• Cover open sensors
• Industry standard RS-232C and USB communication interface, also available with
Ethernet communication interface
• One cash drawer connector (supports 2 cash drawers)
• History EEROM for custom settings
• Audible tone (controlled by application)
• ENERGY STAR qualified
1-4 About the 7197 Series II Printer
Options
• Remote power supply
• Communication cables
• 4 optional double byte character language Code Pages:
• PC Code Page 932 (Japanese)
• PC Code Page 936 (Simplified Chinese)
• PC Code Page 949 (Korean)
• PC Code Page 950 (Big5)
• Wall mount kit
Note: The paper must not be attached at the core. Use paper with a colored stripe at the
end to indicate that the paper is running low.
Paper grades available from NCR.
Paper
Paper Grade Description
Stock
Note: The paper must not be attached at the core. Otherwise the receipt station will be
damaged when the paper is exhausted.
To order thermal receipt paper, contact your sales representative or order from NCR at
the following address or toll free number:
Voice: 1(800)543-8130 (toll free), or local listing of Iconex product sales office.
Note: It is critical that only certified thermal paper be used with this printer, otherwise
damage may result causing poor print quality or cause damage to the printer.
1-6 About the 7197 Series II Printer
Ordering Documentation
Contact your sales representative to obtain the following documentation:
• 7197 Series II Receipt Printer: Parts Identification Manual (B005-000-2070)
• 7197 Series II Receipt Printer: Service Manual (B005-000-2069) (includes
Troubleshooting Guide)
• 7197 Series II Receipt Printer: Owners Manual (B0005-0000-2068)
1-8 About the 7197 Series II Printer
1. Remove the printer from the foam pack and plastic bag.
2. Remove the receipt paper roll from the foam packing material.
3. Save all packing materials for future storing, moving, or shipping the printer.
2-10 Setting Up and Using the Printer
Choosing a Location
Normal Table Top
The 7197 Series II printer takes up relatively little counter space and may be set on or
near the host computer. Make sure there is enough room to open the receipt cover to
change the paper. The illustration shows the actual dimensions of the printer but leaves
several inches around the printer for connecting and accessing the cables.
Wall-mounted
The 7197 Series II printer may be mounted on a vertical wall with a Wall Mount Kit
(Option). Make sure there is enough room to open the receipt cover to change the
paper. Mount the screws on the wall using the following recommended mount
dimensions. Use a #8 wood screw which is to be securely fastened to a wall stud or using
a Molly fastener (not provided).
2-14 Setting Up and Using the Printer
Setting Switches
The DIP switches, located at the back of the printer, are used for two purposes:
• To set variables for several printer functions. Refer to the various printer functions
in Level 1 Diagnostics on page 69 for setting up the printer.
• To perform diagnostic tests. Refer to the various diagnostic tests in Level 1
Diagnostics on page 69 for setting up the printer.
Caution: The DIP switches are set at the factory to predetermined settings and should
not be changed unless when changing parameters or reflashing the firmware.
Host Configuration
Verify that the proper hardware has been installed in the host PC.
Windows XP
1. Open the Control Panel.
2. Click on System.
3. Click the Device Manager tab.
4. In the Device Manager window, scroll down through the list of installed hardware
devices until you find an entry for Universal Serial Bus Controllers.
Note: If this entry exists, the host computer is set up for USB operation. If this entry
does not appear, consult the computer documentation to see if USB must be enabled
in the BIOS setup.
Windows 7, 8, and 10
1. From the Windows Search bar, search Computer Management, then select to open.
2. Select System Tools→Device Manager.
3. In the Device Manager window, scroll through the list of installed hardware devices
until you find an entry for Universal Serial Bus Controllers.
Note: If this entry exists, your host computer is set up for USB operation. If this entry is
not in the list, consult your computer documentation to see if USB must be enabled in
the BIOS setup.
Setting Up and Using the Printer 2-21
2. Turn the printer around, so that the bottom side of the printer is facing you.
3. Set DIP switch 1 to the On position (up).
Setting Up and Using the Printer 2-23
4. Reset the printer. See below for information on resetting the printer. The printer
beeps, prints the current configuration, then waits for you to make a selection from
the Main Menu on the printout.
2-24 Setting Up and Using the Printer
To access the sub-menus, follow the instructions on the scrolling menu. To select a
sub-menu, press the Paper Feed button using one of the following actions:
• To indicate Yes, press and hold the Paper Feed button for at least one second for
a long click.
• To indicate No, press the Paper Feed button quickly for a short click.
5. Select Set Communication Interface from the Main Menu. The printer scrolls to the
first question.
6. Select RS232/USB.
7. Skip through the parameters with short clicks until Set Flow Control Method is
displayed.
8. Follow the instructions to select either XON/OFF or DTR/DSR, then skip the
remaining communications parameters.
9. When you have finished, set DIP switch 1 to Off (down).
10. Reset the printer. The printer resets with the new selection. To verify the new
setting, press the Paper Feed button to print out a diagnostics form or by holding
the Paper Feed button while closing the Top Cover.
Setting Up and Using the Printer 2-25
Note: Location of the IONetworks files on the CD-ROM may vary depending on the
version of the CD that is being used.
2-28 Setting Up and Using the Printer
Setting Up and Using the Printer 2-29
Note: Location of the IONetworks files on the CD–ROM may very depending on the
version of the CD that is being used.
2-30 Setting Up and Using the Printer
2. Select Skip obtaining driver software from Windows Update. The system skips
searching for the driver software information from Windows Update. The following
window is displayed.
6. From the System Tools, select Device Manager. A list of devices is displayed on the
right pane.
Setting Up and Using the Printer 2-33
Windows 8
To install the USB Virtual COM Port Driver on a Windows 8 system, follow these steps:
1. Plug the printer to the system USB port. The printer then beeps to indicate that the
USB device is recognized. The installation progress for the Receipt (EPiC Interface)
process is displayed on the Device Setup window.
3. From the Windows search bar, search Computer Management, then select to
open.
4. Open the Device Manager, select Device Manager, then select Other
devices→Receipt (EPiC interface).
Windows 10
To install the USB Virtual COM Port Driver on a Windows 10 system, follow these steps:
1. Plug the printer to the system USB port. The printer then beeps to indicate that the
USB device is recognized. The installation progress for the Receipt (EPiC Interface)
process is displayed on the Device Setup window.
3. From the Windows search bar, search Computer Management, then select to
open.
4. From the System Tools, select Device Manager, then select Other
devices→Receipt (EPiC interface).
5. Select the Update Driver Software button. The following window is displayed.
Setting Up and Using the Printer 2-39
Windows XP
1. Open the Device Manager window. For more information, refer to Checking for USB
Support on the Host Computer on page 20.
2. Scroll down to Universal Serial Bus controllers.
3. To check if EPiC Port is visible, scroll back up to Ports. If the devices are missing or
are not listed correctly, the installation wasn’t successful. You will need to reinstall
the drivers.
Setting Up and Using the Printer 2-41
4. Search for the Edgeport Drivers folder, then run edgeport.exe. The following
window is displayed.
5. Double-click 7167 [Port number] to view the Port number and COM number. The
COM number should match the EPiC Port COM, which is under the available ports
in Device Manager.
Note: Note: If the device is missing or is not listed correctly, the installation is
unsuccessful. You will need to re-install the drivers.
2-42 Setting Up and Using the Printer
Note: If this information is not listed, then the installation was not successful. You
need to reinstall the drivers.
Setting Up and Using the Printer 2-43
3. Open the Edgeport utility and make sure the Port is assigned.
2-44 Setting Up and Using the Printer
Windows 8
To verify the installation of the driver on a Windows 8 system, follow these steps:
1. Open the Device Manager window.
2. Make sure that the NCR 7197 Receipt Printer and the EPIC Port are installed.
Note: The NCR 7197 Receipt Printer is the defined USB VID/PID (Vendor ID/Product
ID) of the NCR Single Station printers (7197, 7198, and 7199).
Note: If this information is not listed, then the installation was not successful. You
need to reinstall the drivers.
Setting Up and Using the Printer 2-45
3. Open the Edgeport utility and make sure the Port is assigned.
2-46 Setting Up and Using the Printer
Windows 10
To verify the installation of the driver on a Windows 10 system, follow these steps:
1. Open the Device Manager window.
2. Make sure that the NCR 7197 Receipt Printer and the EPIC Port are installed.
Note: The NCR 7197 Receipt Printer is the defined USB VID/PID (Vendor ID/Product
ID) of the NCR Single Station printers (7197, 7198, and 7199).
Note: If this information is not listed, then the installation was not successful. You
need to reinstall the drivers.
Setting Up and Using the Printer 2-47
3. Open the Edgeport utility and make sure the Port is assigned.
3. Select the Uninstall button, and then follow the on–screen instructions.
4. Select Yes. The system uninstalls the driver, and then displays the following
window.
5. Select Yes to completely uninstall the driver and to restart the PC.
Windows 8
To uninstall the USB Virtual COM Port Driver on a Windows 8 system, follow these
steps:
1. Open the Edgeport utility.
2. Select the Advanced tab.
2-50 Setting Up and Using the Printer
3. Select the Uninstall button, and then follow the on–screen instructions.
4. Select Yes. The system uninstalls the driver, and then displays the following
window.
5. Select Yes to completely uninstall the driver and to restart the PC.
Windows 10
To uninstall the USB Virtual COM Port Driver on a Windows 8 system, follow these
steps:
1. Open the Edgeport utility.
2. Select the Advanced tab.
2-52 Setting Up and Using the Printer
3. Select the Uninstall button, and then follow the on–screen instructions.
4. Select Yes. The system uninstalls the driver, and then displays the following
window.
5. Select Yes to completely uninstall the driver and to restart the PC.
2-54 Setting Up and Using the Printer
Note: For instructions on setting the DIP switches, refer to Setting Switches on page 14.
1. Connect the power supply to the printer and turn on the power source. The printer
goes through a self-test routine to ensure everything is working properly then beeps.
After the printer has completed its start up cycle, it is ready to receive data.
Note: If the LED blinks, or the host computer indicates that there is a problem, refer
to Solving Problems on page 61.
2. To perform an optional Configuration check, reset the printer while holding the
Paper Feed button, or open the receipt door and while pressing the paper feed
button close the receipt door, let go of the once the printing begins.
Note: The printer receives power when the power supply is on even if the printer is
offline. To completely remove power, unplug the power supply from the outlet, or
turn the POS terminal off.
2-56 Setting Up and Using the Printer
Advancing Paper
1. Press the Paper Feed button on the operator panel to advance the paper.
The cover must be closed. To ensure print quality and the proper alignment of the
paper, advance about 30 cm (12 inches) of paper.
2. Tear off the excess paper against the tear-off blade.
Chapter 3: Solving Problems
The 7197 Series II printer is a simple, generally trouble-free printer. From time to time,
minor problems may occur. For example, the power supply may be interrupted or the
thermal print head may overheat. A green LED on the operator panel signals that
something may be wrong.
For some problems, the printer communicates the information to the host computer
and relies on the application to indicate what the problem is. The information in the
following pages describes some problems that you may encounter—problems that you
can easily fix, and others that you will need to contact a service representative for.
Note: You may be able to correct many of the conditions or problems without calling
for service. However, if a problem persists, contact a service representative. For more
information, refer to Contacting a Service Representative on page 65.
3-62 Solving Problems
Cables may Check all cable connections. Check that the host Refer to
not be computer and power supply are both on (the Connecting
connected power supply is turned on by plugging it into an the Cables on
properly outlet). page 15.
Power If the power supply is plugged in, but does not Refer to
supply may come on, you will need to order a new power Ordering
be supply. Other
defective Supplies on
page 6.
Receipt There are about 4.5 ± 3 meters (15 ± 10 feet) Refer to Loading
paper is of paper left. Change the paper soon to avoid and Changing the
low* running out of paper part way through a Receipt Paper on
transaction. page 56.
Thermal Open the receipt cover and Refer to Cleaning the Printer on
print clean the thermal print head page 8.
head with cotton swabs and isopropyl
may be alcohol. Refer to Contacting a Service
dirty Caution: Do not use the alcohol Representative on the facing
to clean other parts of the page.
printer. Damage will occur.
Contact a service representative
if this does not resolve the
problem.
Note: The thermal print head does not normally require cleaning
if the recommended paper grades are used. If non–recommended
paper has been used for an extended period of time, cleaning the
print head with the alcohol and cotton swabs will not be of much
benefit. See Ordering Thermal Receipt Paper on page 5 for the
recommended paper.
Solving Problems 3-65
The following diagnostic tests are available for the 7197 Series II:
• Level 0 Diagnostics (Startup)—performed during the startup cycle.
• Level 1 Diagnostics (Printer Configuration)—allows configuration of the printer
using a Configuration Menu that is printed on a receipt.
• Level 2 Diagnostics (Runtime)—enables the printer to check the status of these
conditions during normal operation.
• Level 3 Diagnostics (Remote)—enables the printer to keep track of counters during
normal operation.
• Vendor Adjustment—performed in off-line mode. Allows to change settings for
mechanical and perform printer test. Modifications of these settings are to be made
by service personnel only.
4-68 Diagnostics
Level 0 Diagnostics
The printer automatically performs level 0 diagnostics when it is put on-line. Level 0
diagnostics comprise the following actions:
• Motors are turned off.
• Microprocessor timing is checked, CRC check of the firmware ROM is performed,
external RAM is read.
The green LED flashes once if this action succeeds.
Note: Level 0 diagnostics stop if this action fails. Failure is indicated by the printer
going dead: knife and slip print head do not home, the platen does not open, LEDs are
not lit, and the printer is unable to communicate with the host computer.
• Knife is homed. A fault condition is caused if this action fails.
• The status of all sensors is checked, and the status bytes are updated.
If the printer has not been turned on before the default values for the printer functions
will be loaded into the non volatile memory during level 0 diagnostics. These values can
be changed in level 1 diagnostics. Refer to Level 1 Diagnostics on the facing page for the
functions and their settings.
When the last step is complete, the Paper Feed button is enabled and the printer is
ready for normal operation. Information about the tests is available to the
communication interface through the commands.
Diagnostics 4-69
Level 1 Diagnostics
Use the Level 1 diagnostics or setup mode to change the settings for various printer
functions and run certain tests. When changing the settings, keep the following
information in mind:
• The settings can only be changed when the printer is in level 1 diagnostics (setup
mode): Switch 1 must be set to On and Switch 2 must be set to Off.
• The default options are set at the factory and are stored in the history non-volatile
memory.
• Once the settings have been changed and stored in the non volatile memory, the
diagnostic setup is exited which saves the settings.
Caution: If you are changing the printer settings, be sure they are the correct settings
for that particular function or test to avoid accidentally changing the settings for
another function or test. If the settings are accidentally changed you must reenter the
setup mode and reenter the correct settings. If you need assistance, contact a service
representative. Refer to Contacting a Service Representative on page 65.
Printer Configuration
Printers are generally shipped with all appropriate configuration settings pre-set at the
factory. The only time the user should need to change the printer configuration is if a
new option is installed, when communication baud rate or the firmware is changed. It is
also possible the user may need to run certain tests using the Configuration Menu.
The user configures the printer using a convenient Configuration Menu that is printed
on receipt paper. The Configuration Menu prints instructions and setting options
interactively as the user goes through the configuration process. The following functions
and parameters can be changed with the scrolling Configuration Menu:
• Setting Communication Interface
• Interface Type
• Ethernet RTC Protocol(Ethernet model only)
• Baud Rate (RS232/USB model only)
• Data Bits
• Stop Bits
• Parity
• Flow Control
• Reception Errors
• Receive Buffer
• DSR Signal
4-70 Diagnostics
• USB Type
• Setting Diagnostic Modes
• Setting Emulation/Software Options
• Printer Emulation
• Printer ID Mode
• Default Lines Per Inch
• Carriage Return Usage
• Asian Mode
• Receipt Synchronization
• PDF417 Max Columns
• Auto Reset
• Font Type
• Compatible Barcode Length
• Compress Pitch
• Setting Hardware Options
• Receipt Print Mode
• Print Density
• Power On Head Failure Detection
• Maximun Power Options
• Paper Low Sensor
• Paper Width
• Knife Option
• Color Paper Option
• Power LED Control
• Standby mode
• Shift to Power-off
• Setting Default Code Page
• Setting EEPROM to default settings
Diagnostics 4-71
Note: Press the Paper Feed Button for at least one second to validate the selection.
Save Parameters
This function allows saving the selected communication settings or return to the
communication settings to select additional options.
Press the Paper Feed Button for the option you want.
Diagnostic Modes
This function allows the user to put the printer into the following diagnostic modes:
• Off, Normal Mode—the normal operating mode of the printer.
• Datascope Mode—the receipt printer prints incoming commands and data in
hexadecimal format.
• Receipt Test Mode—the receipt printer prints two code pages.
4-78 Diagnostics
The diagnostic modes are enabled or disabled by using the Configuration Menu. Refer
to Configuring the Printer on page 71 for instructions on how to enter the Configuration
Menu.
Note: To select a diagnostic mode, press the Paper Feed button.
Datascope Mode
Datascope Mode allows the user to test the printer’s communications. When in
Datascope Mode, the printer receives all communications, but instead of executing the
commands, it prints them out on receipt paper as hexadecimal numbers in the order
received. For example, the ASCII character A is printed as the hexadecimal number 41
and so on.
To run the Datascope Mode, follow these steps:
1. After enabling the Datascope Mode through the Configuration Menu, exit the
Configuration Menu.
2. Run a transaction from the host computer.
All commands and data sent from the host computer will be printed as hexadecimal
numbers as shown below.
2. Push the Paper Feed Button and the receipt station will print all code pages. The test
ends with a cut.
Note: Perform step 2 again to repeat the test.
To exit the Receipt Test Mode, follow these steps:
1. Enter the Configuration Menu again.
2. Disable the Receipt Test Mode.
3. Exit the Configuration Menu
Note: The printer is in Normal Mode and can communicate with the host computer.
Save Parameters
This function allows to save the selected communication settings or return to the
communication settings to select additional options.
• To select an option, press the Paper Feed button.
Emulation/Software Options
Use the Emulation/Software menu for the following printer settings:
• Printer’s emulation
• ID mode
• Lines per inch
• Carriage return usage
• Asian mode
• Receipt synchronization
• Sync configuration
• User Defined Area
• PDF417 max column print
• Auto reset
• Font type
• Compatibility barcode length
• Compress pitch CMD
• Model in 4610 emulation
4-80 Diagnostics
For more information, refer to Configuring the Printer on page 71. To select an
Emulation/Software setting, press the Paper Feed button. The number of clicks confirms
the setting.
Note: Default settings are marked with asterisk (*).
Printer Emulation
This function determines the commands that are available to the printer.
To set an emulation, press the Paper Feed Button.
Printer ID Mode
This function determines which printer ID is currently effective to the printer.
To select a printer ID, press the Paper Feed Button.
Diagnostics 4-81
Asian Mode
This function permits user to select an Asian character for the printer.
Note: For Asian code pages, only one (either 932, 936, 949, or 950) will exist in the
firmware.
Press the Paper Feed button for the Asian mode you want.
4-82 Diagnostics
Receipt Synchronization
This function permits user to select whether to enable or to disable receipt
synchronization printing.
The following commands are the buffered status command:
1B 75 0 Transmit Peripheral Device Status
1B 76 Transmit Printer Status
1D 49 n Transmit Printer ID
1D 72 Transmit Status
• For Mode1 and Mode2, the command/status sequence is completely the same. The
only difference is the printing speed.
• The printing speed of Mode1 is same as normal printing (max. 12 ips).
• The printing speed of Mode2 is 4 ips (max) in order to prevent the clatter print
in the synchronized line mode.
• When Mode3 is selected, the following command will be available. For more
information, refer to Specifications on page 289.
1F 0A n Get Print Completion
Note: When Receipt synchronization is disabled, printer returns the status for buffered
status command immediately after decoding the status command.
Caution: Be extremely careful when changing any of the printer settings to avoid
inadvertently changing other settings that might affect the performance of the printer.
To select the receipt synchronization, press the Paper Feed Button.
Diagnostics 4-83
To select the pdf417 max column print, press the Paper Feed Button.
Auto Reset
Set Auto Reset using the configuration menu.
Caution: Be extremely careful in changing any of the printer settings to avoid
inadvertently changing other settings that might affect the performance of the printer.
To select the platen waiting time, press the Paper Feed Button.
Diagnostics 4-85
Font Type
Set Font Type using the configuration menu.
Caution: Be extremely careful in changing any of the printer settings to avoid
inadvertently changing other settings that might affect the performance of the printer.
To select the font type, press the Paper Feed Button.
Compress Pitch
Set Compress Pitch command using the configuration menu.
Caution: Be extremely careful in changing any of the printer settings to avoid
inadvertently changing other settings that might affect the performance of the printer.
To select the compress pitch cmd, press the Paper Feed Button.
Save Parameters
This function allows to save the selected communication settings or return to the
communication settings to select additional options.
To select an option, press the Paper Feed Button.
Diagnostics 4-87
Hardware Options
Receipt Print Mode
Set the receipt print mode using the configuration menu. Select Hardware Options in
the Configuration Menu and answer the questions printed on the receipt.
Caution: Be extremely careful changing any of the printer settings to avoid
inadvertently changing other settings that might affect the performance of the printer.
To select the receipt print mode, press the Paper Feed Button.
4-88 Diagnostics
Print Density
This function makes it possible to adjust the energy level of the print head to darken the
printout. An adjustment should only be made when necessary. The factory setting is
100%.
Warning: Choose an energy level no higher than necessary to achieve a dark
printout. Failure to observe this rule may result in a printer service call or voiding
of the printer warranty. Consult your NCR technical support specialist if you have
any questions.
To select the print density, press the Paper Feed Button.
Maximum Power
This function permits the user to set the maximum power for the printer to the available
modes.
To select the maximum power, press the Paper Feed Button.
Note: Press the Paper Feed button for at least one second to validate the selection.
Paper Width
This function permits the user to set the default paper width for the receipt thermal
printer to 58mm or 80mm wide.
To select the paper width, press the Paper Feed Button.
4-90 Diagnostics
Note: Press the Paper Feed button for at least one second to validate the selection.
Diagnostics 4-91
Shift to Standby
Enable or disable the standby mode using the configuration menu. If the standby mode
is enabled, the printer shifts to the standby mode to save the power consumption in the
idle mode when the printer is in the idle mode. As soon as standby mode is entered, the
LED on the slip station is turned off.
The printer exits from standby mode to normal mode in the following situations:
• Printer receives any data
• Feed key is pressed
• Slip cover is opened / closed
• Receipt cover is opened / closed
Note: Flip cover open/close will not affect the standby mode.
After power-on, it will go to standby mode if it does not receive any transaction data in
60 seconds.
After one transaction, it will go to standby mode if it does not receive any transaction
data in 1 second.
In disable setting, the printer does not shift to the standby mode. When going back from
the standby mode, the response of the printer will be slightly delayed compared to the
normal mode response.
Caution: Be extremely careful in changing any of the printer settings to avoid
inadvertently changing other settings that might affect the performance of the printer.
4-92 Diagnostics
To select the standby mode option, press the Paper Feed Button.
Save Parameters
This function allows to save the selected communication settings or return to the
communication settings to select additional options.
To select an option, press the Paper Feed Button.
4-94 Diagnostics
7158 Mode
7156 Mode
For Asian code pages, code page 936, 949, or 950 replaces code page 932. Only one Asian
code page (either 932, 936, 949, or 950) will exist in firmware.
Save Parameters
This function allows to save the selected communication settings or return to the
communication settings to select additional options.
4-96 Diagnostics
DHCP Mode
Set DIP switch 1 to ON, and DIP switch 2 to ON.
LAN Interface
Printer by default starts with DHCP address. Get IP Address will be DHCP in the
Diagnostics Form. In the USB interface, this mode will be the same as online mode.
Note: Printer by default starts with Manual address in the online mode. Get IP Address
will be Manual in the Diagnostics Form.
Mfg Adjustment
This selection provides Receipt Printing Test, only because adjustments are not
necessary. To perform the printer test, use the Mfg Adjustment menu feature. This
feature prints instructions on the receipt for selecting any type of print pattern needed.
Caution: Be extremely careful when changing any of the printer settings to avoid
changing other settings that might affect the performance of the printer.
1. Set DIP switch 1 and DIP switch 2 to ON.
2. Power on the printer while holding the Paper Feed button. The printer prints the
current configuration, then cuts the paper to print the Mfg Adjustment Menu.
Note: If you do not hold the Paper Feed button while power up the printer, it goes
to Online Mode.
This menu permits user to print different test patterns.
Diagnostics 4-97
To stop the test, hold the Paper Feed button down. The printer will return to the Mfg
Adjustment Menu.
4-98 Diagnostics
To stop the test, hold the Paper Feed button down. The printer will return to the Mfg
Adjustment Menu.
Diagnostics 4-99
Level 2 Diagnostics
Level 2 diagnostics run during normal printer operation. When the following conditions
occur, the printer automatically turns off the appropriate motor, disables printing to
prevent damage, and turns on the green LED.
Note: The printer flashes the green LED if the receipt print head is too hot or the
voltages are out of range.
• Paper out
• Cover open
• Knife unable to go back to home position
• Print head too hot
• Power supply voltage out of range
Refer to 7197 Series II Thermal Receipt Printer: Service Manual (B005-000-2069) for more
information about other conditions that may occur and how to correct them.
Level 3 Diagnostics
Level 3 diagnostics keeps track of the following tallies and prints them on the receipt
during the receipt test.
• Serial number
• Model number
• CRC number
• Number of lines printed
• Number of knife cuts
• Number of hours printer is on
• Number of flash cycles
• Maximum temperature reached
• Number of cutter jams
• Number of times the door is open
4-104
Chapter 5: Communication
Communication Overview
In order for a receipt to be printed, a program must be in place that translates the data
from the host computer into a language that the printer can understand. This program
must tell the printer exactly how to print each character. This chapter describes how to
create such a program or modify an existing one.
Interface
In order for the printer to communicate with the host, a communication link must be
set up. The 7197 Series II Standard Model supports the industry standard RS-232C
communication interface. This interface has a protocol associated with it that the host
computer must understand and adhere. The printer also supports USB
communications.
The host and the printer are able to communicate only when the interface parameters
are matched and the proper protocol is used. Refer to RS-232C Interface (Standard Model)
on page 107 for a description of the protocol associated with the RS-232C interface.
The 7197 Series II Ethernet Model supports the Ethernet communication interface.
Sending Commands
Once the communication link is established, commands can be sent to the printer. This
section describes how to send commands to the printer using DOS and BASIC. This
section does not take into account the necessary protocol, but is meant as a general
introduction to how the printer functions.
The following table shows that with no delay between lines, the transmit time is much
less than the print time, allowing the printer to print at full speed.
XON/XOFF Protocol
The XON/XOFF characters coordinate the information transfer between the printer and
the host computer. The printer sends an XON character when it is ready to receive data
and it sends an XOFF character when it cannot accept any more data. The software on
the host computer monitors the communication link as shown in the following
flowchart in order to send data at the appropriate times.
If XON/XOFF has been selected, the printer also toggles the DTR signal, as described in
the next section, but it does not look at the DSR signal to transmit data.
DTR/DSR Protocol
The DTR signal is used to control data transmission to the printer. The signal is driven
low when the printer is ready to recieve data and driven high when it cannot accept any
more data. Data is transmitted from the printer after it confirms that the DSR signal is
low.
Protocol
Communication 5-111
Multiple Connection
It is possible to connect with multiple clients at the same time. However, if the first
connection doesn’t finish, the next connection cannot transmit data to the printer by
the session. It is possible to connect it with 4 connections—three for TCP(RAW) and one
for TCP(LPR) at the same time. However, more than 5 connections will be rejected.
.
Communication 5-113
Connector
RS 232 Connector
The illustration shows the RS-232C communication connector and pin assignments. The
connector is a 9-pin male D-shell connector and is located in the hollow cavity under the
printer at the rear.
Ethernet Connector
The Ethernet I/F connector is a 8P8C modular connector, usually called RJ45, with the
following pin assignments:
• Pin Position 1 – TX+
• Pin Position 2 – TX-
• Pin Position 3 – RX+
• Pin Position 6 – RX-
Communication 5-115
The following table provides the pinout assignments for cash drawers one and two. The
cash drawer connectors are located at the rear of the printer.
Note: For Cash Drawer 2, use the cash drawer Y-cable (1416-C372-0006).
5-116 Communication
USB Connector
The following illustration is for the USB Type B communication connector and pin
assignment.
Pin No Signal
1 +5 V – USB
2 Data -
3 Data +
4 Ground
Switch Settings
The DIP switches are located on the PC board at the back of the printer as shown in the
illustration in Level 1 Diagnostics on page 69. The switches are used to put the printer
into various modes for printer configuration set up.
Note: Use a paper clip or other pointed object to set the switches.
Set the switches to the expected settings shown in the table.
Communication 5-117
Caution: Do not set switch 1 to On. Setting switch 1 to On puts the printer in level 1
diagnostics (setup mode), where other functions and tests can be changed. This
switching has to be done when the printer power is off.
Note: The specification of 4610 model is not described in this documentation. Refer to
[SPAA493] 4610 Emulation POS Printer FW Spec.
Note: In the above tables, Pressed means pressing the FEED BUTTON when Printer
Power is ON.
Chapter 6: Commands
Command Conventions
Introduction
The different features and functions provided by the printer are controlled by sending
commands from the host computer to the printer. This section describes the commands
that are supported by the printer. The printer commands are made up of one or more
bytes of data starting with a command control code followed by its supporting
parameters.
Commands control all operations and functions of the printer. This includes selecting
the size and placement of characters and graphics on the receipt or the slip and feeding
and cutting the paper. Unless otherwise noted, any of the commands may be used in
any combination to communicate with the printer from a program in a host computer.
In order to allow the graceful handling of commands that may be available in other
printers but are not available in this printer, some commands will be listed and
described but identified as not implemented. If the printer receives one of these not
implemented commands, the command and its supporting operands will be discarded.
Any other data bytes, including unrecognized commands, are sent to the print buffer as
data, and the printer will attempt to print the data when it is instructed to print the
buffer.
6-120 Commands
By Command Code
All items listed in bold are new or have additional functionality when compared to the
NCR 7193.
09 Horizontal Tab
0A Print and Feed Paper One Line
0C Print and Return to Standard
Mode
0D Print and Carriage Return
10 Clear Printer
10 04 n Real Time Status Transmission
(DLE Sequence)
10 05 n Real Time Request to Printer
(GS Sequence)
11 n1... nk Print Raster Graphics
12 Select Double-Wide
Characters
13 Select Single-Wide Characters
14 n Feed n Print Lines
15 n Feed n Dot Rows
16 n Add n Extra Dot Rows
17 Print
18 Cancel Print Data in Page
Mode
19 Perform Full Knife Cut
Commands 6-121
1B 3F n Cancel User-defined
Characters
1B 40 Initialize Printer
1B 44 n1,n2,… nk 00 Set Horizontal Tabs
1B 45 n Select or Cancel Emphasized
Mode
1B 47 Select Double Strike (7193
Emulation)
1B 49 n Set or Cancel Italic Print
1B 4A n Print and Feed Paper
1B 4C Select Page Mode
1B 52 n Select International
Character Set
1B 53 Select Standard Mode
1B 54 n Select Print Direction in
Page Mode
1B 56 n Select or Cancel 90 Degrees
Clockwise Rotated
1B 57 n1, n2,…n8 Set Printing Area in Page
Mode
1B 59 n1 n2 d1…dn Select Double Density
Graphics
1B 5B 7D Switch to Flash Download
Mode
1B 5C n1 n2 Set Relative Print Position
1B 61 n Select Justification
1B 63 34 n Select Sensors to Stop Printing
1B 63 35 n Enable or Disable Panel
Buttons
Commands 6-123
By Function
All items in bold are new or have additional functionality when compared to the 7193.
10 Clear Printer
Commands 6-127
09 Horizontal Tab
6-128 Commands
1B 14 n Set Column
1B 24 n1 n2 Set Absolute Starting Position
1B 44 n1,n2,… nk 00 Set Horizontal Tabs
1B 5C n1 n2 Set Relative Print Position
1B 61 n Select Justification
1D 4C nL nH Set Left Margin
1D 57 nL nH Set Printing Area Width
Graphics Commands
Status Commands
Batch Mode
1D 72 n Transmit Status
1F 56 n Send Printer Software Version
1F 1A 02 n Execute Head Failure Detection
1F 0A n Get Print Completion
Barcode Commands
Code
Command
(Hexadecimal)
1D 48 n Select Printing Position for HRI Characters
1D 66 n Select Pitch for HRI Characters
1D 68 n Select Bar Code Height
Commands 6-131
Code
Command
(Hexadecimal)
1D 6B m Print Bar Code
d1…dk 00
or
1D 6B m n
d1…dn
1D 77 n Select Bar Code Width
1D 28 6B pL QR Code: Select the model
pH cn 41
1D 28 6B pL QR Code: Set the size of module
pH cn 43
1D 28 6B pL QR Code: Select the error correction level
pH cn 45
1D 28 6B pL QR Code: Store the data in the symbol storage area
pH cn 50
1D 28 6B pL QR Code: Print the symbol data in the symbol storage
pH cn 51 area
1D 28 6B pL QR Code: Transmit the size information of the symbol
pH cn 52 data in the symbol storage area
Macro Commands
Code
Command
(Hexadecimal)
Comparison Chart
The following table details the list of commands whose behavior differs from the 7193
and the 7197 Series II because of the physical differences of a 6 dots/mm head (7193)
versus an 8 dots/mm head (7197 Series II).
15 n Feed n Dot This command will move the paper on the receipt
Rows in n/203 inch steps instead of n/152 inch steps.
16 n Add n Extra The dot rows will be measured in n/203 inches
Dot Rows versus n/152 inches.
1B 20 n Set Right- This command sets the right side spacing to n
Side horizontal motion units. By default, these units are
Character in terms of 1/203 inches versus 1/152 inches.
Spacing
1B 24 n1 Set Absolute For graphics commands, the position is scaled to
n2 Starting best 7193. In text mode, the equivalent character
Position position is calculated.
6-134 Commands
1B 26 s c1 Define User- Since the dots on the 7197 Series II print head are
c2 n1 Defined smaller, user-defined characters that were used on
d1...nn Character the previous printer will appear smaller on the
dn] Set 7197 Series II printer.
1B 2A m Select Bit In 7193 Emulation Mode, graphics are scaled to
n1 n2 Image Mode best match the size of the graphic in the 7193
d1...dn printer.
1B 33 n Set Line This command uses n in terms of n/360 inches.
Spacing Since the 7193 had a fundamental step of 1/152
inch and the 7197 Series II has a fundamental step
of 1/203 inch, the actual line spacing will not
exactly match the requested spacing.
1B 4A n Print and Same as above.
Feed Paper
1B 59 n1 Select In 7193 Emulation Mode, the printer scales the
n2 d1...dn Double- graphics to provide the best match.
Density
Graphics
1B 5C n1 Set Relative The parameter to this command is in units of dots.
n2 Print However, the command moves and aligns to
Position character positions. In 7193 Emulation Mode, this
command calculates how many character
positions to move based on the 7193 character
width in dots (10) versus the 7197 Series II (13).
1B 61 n Select This command does true dot resolution alignment
Justification for centering versus character-aligned centering.
1D 2A n1 Define In 7193 Emulation Mode, this command scales the
n2 Downloaded incoming data to provide a best match to the size
d1...dn] Bit Image of the image as it printed on 7193.
1D 2F m Print Same as above.
Downloaded
Bit Image
Commands 6-135
Command Descriptions
This section provides the detailed description of the commands. These commands are
separated into groups according to their function or use. The previous sections can be
used as an index for the following sections.
The following lists and describes the headings used to present the elements of the
commands in the descriptions in this section. Each command code is presented in three
formats: ASCII, hexadecimal, and decimal. Choose the format that best suits the
programming implementation. The printer interprets the 8-bit bytes it gets through the
communication interface, regardless of the format the program lists them in.
Clear Printer
ASCII DLE
Hexadecimal 10
Decimal 16
This command clears the print line buffer without printing, and sets the printer to the
following condition:
• Double-Wide command (0x12) is cancelled.
• Line Spacing, Pitch, and User-Defined Character Sets are maintained at current
selections (RAM is not affected).
• Single-Wide, Single-High, Non-Rotated, and Left-Aligned characters are set.
• Printer is restarted and error status is cleared if a fault condition existed.
Commands 6-137
Exceptions
A DLE command followed by a 04 or 05 is interpreted as a real time command. Refer to
Printer Function Commands on the previous page.
ASCII EM
or
ESC i
Hexadecimal 19
or
1B 69
Decimal 25
or
27 105
This command cuts the receipt, leaving 0.20 inch (5 mm) of paper. This command is
implemented the same as Partial Knife Cut (1A, 1B 6D). There are two codes for this
command. Both codes perform the same function. A Line Feed is executed first if print
buffer is not empty.
Note: Previously, the command was full knife cut.
Example:
MSComm1.Output = Chr$(&H19) or
MSComm1.Output = Chr$(&H1B) & Chr$(&H69)
6-138 Commands
ASCII SUB
or
ESC m
Hexadecimal 1A
or
1B 6D
Decimal 26
or
27 109
This command cuts the receipt, leaving 5 mm (0.20 inch) of paper. This command is
implemented the same as Full Knife Cut (19, 1B 6D), which results in a partial knife
cut. There are two codes for this command and both perform the same function.
Example:
MSComm1.Output = Chr$(&H1A) or
MSComm1.Output = Chr$(&H1B) & Chr$(&H6D)
Note: Line Feed is executed first if the buffer is not empty.
Generate Tone
This command generates an audible tone and allows the application to provide an
audiable tone to the operator.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H07)
Commands 6-139
Initialize Printer
ASCII ESC @
Hexadecimal 1B 40
Decimal 27 64
Default
Character Pitch 15.6 CPI
Column Width 44 characters (80mm)
32 characters (58mm)
Extra Dot Rows 2
Character Set Code Page 437
Printing Position Column One
This command clears the print line buffer and resets the printer to the default settings
for the startup configuration. Refer to the default settings above.
Note: Single-Wide, Single-High, Non-Rotated, and Left-Aligned characters are set and
user-defined characters or logo graphics are cleared. Flash Memory is not affected. Tabs
are reset to default.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H40)
ASCII ESC c 4 n
Hexadecimal 1B 63 34 n
Decimal 27 99 52 n
Value of n :
Bit Function
This command determines which sensor stops printing on the receipt station. The
command does not affect the paper out sensor on the receipt station, which will
automatically stop the printer when the paper is depleted.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H63) & Chr$(&H34) & Chr$(n)
ASCII ESC c 5 n
Hexadecimal 1B 63 35 n
Decimal 27 99 53 n
Value of n • 0—Enable (Default)
• 1—Disable
This command enables or disables the Paper Feed Button. If the last bit is 0, the Paper
Feed Button is enabled. If the last bit is 1, the Paper Feed Button is disabled so pressing
the paper feed button will result in no response.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H63) & Chr$(&H35) & Chr$(n)
Note: Functions that require using the Paper Feed Button, except for the Execute
Macro [1D 5E] command, cannot be used when it is disabled with this command.
ASCII ESC p n p1 p2
Hexadecimal 1B 70 n p1 p2
Decimal 27 112 n p1 p2
Value of n • 0, 48—Drawer 1
• 1, 49—Drawer 2
Value of p1 0–255
Value of p2 0–255
Formulas
The value for either p1 or p2 is the hexadecimal number multiplied by 2 msec to equal
the total time.
• On time = p1 x 2 msec
Commands 6-141
ASCII GS V m
or
GS V m n
Hexadecimal 1D 56 m
or
1D 56 m n
Decimal 29 86 m
or
29 86 m n
Value of m Selects the mode as shown in the table.
Value of n Determines cutting position only if m is 65 or 66.
Range of m 0, 48; 1, 49
65, 66 (when used with n)
Range of n 0–255
Default of n 0
Default of m 0
6-142 Commands
This command selects a mode for cutting paper and cuts the paper. There are two
formats for this command, one requiring one parameter m, the other requiring two
parameters, m and n. The format is indicated by the parameter m.
Formulas
n times the vertical motion unit is used to determine the cutting position to the distance
that the paper is fed.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H56) & Chr$(m) & Chr$(n)
Note: If m is out of the specified range, the command is ignored.
ASCII US t
Hexadecimal 1F 74
Decimal 31 116
This command prints the current printer configuration settings on the receipt and is
disabled in page mode.
Example:
MSComm1.Output = Chr$(&H1F) & Chr$(&H74)
Exception
This command is available in 7194 Native Mode and 7197 Series II Native Mode only.
ASCII LF
Hexadecimal 0A
Decimal 10
This command prints one line from the buffer and feeds paper one line.
Example:
MSComm1.Output = Chr$(&H0A)
Note: Carriage Return + Line Feed prints and feeds only one line.
Commands 6-143
ASCII CR
Hexadecimal 0D
Decimal 13
This command prints one line from the buffer and feeds paper. The printer can be set
through the configuration menu to ignore or use this command. Some applications
expect the command to be ignored while others use it as a print command.
Example:
MSComm1.Output = Chr$(&H0D)
Note: Refer to Ignoring/Using the Carriage Return in Diagnostics on page 67 for more
information. Carriage Return + Line Feed prints and feeds only one line.
ASCII DC4 n
Hexadecimal 14 n
Decimal 20 n
Value of n The number of lines to feed at current line height setting.
Range of n 0–127 7193 Emulation Mode
0–255 7194 Native Mode and 7197 Series II Native Mode
This commands feeds paper n lines at the current line height without printing, and is
ignored if the current line is not empty.
Example:
MSComm1.Output = Chr$(&H14) & Chr$(n)
ASCII NAK n
Hexadecimal 15 n
Decimal 21 n
Value of n n/203 inch
Range of n 0–27 7193 Emulation Mode
0–255 7194 Native Mode and 7197 Series II Native Mode
6-144 Commands
This command feeds paper n dot rows without printing, and the receipt moves n rows if
the print buffer is empty.
Example:
MSComm1.Output = Chr$(&H15) & Chr$(n)
ASCII SYN n
Hexadecimal 16 n
Decimal 22 n
Value of n n/203 inch
Range of n 0–12
Default 3
This command adds n extra dot rows to the character height to increase space between
print lines or decrease number of lines per inch.
Formulas
The following table shows the relationship between the number of lines per inch and
each extra dot row added.
Receipt Station
Extra Rows Lines Per Inch Dot Rows
0 8.47 24
1 8.13 25
2 7.81 26
3 7.52 27
4 7.25 28
5 7.00 29
6 6.77 30
7 6.55 31
8 6.35 32
9 6.16 33
10 5.98 34
Commands 6-145
Receipt Station
Extra Rows Lines Per Inch Dot Rows
11 5.81 35
12 5.64 36
Example:
MSComm1.Output = Chr$(&H16) & Chr$(n)
ASCII ETB
Hexadecimal 17
Decimal 23
This command prints one line from the buffer, feeds paper on one line, and executes LF
on the receipt.
Example:
MSComm1.Output = Chr$(&H17)
ASCII ESC 2
Hexadecimal 1B 32
Decimal 27 50
Default 0.13 inch (3.33 mm)
This command sets the default line spacing to 1/6 of an inch (4.25 mm).
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H32)
6-146 Commands
ASCII ESC 3 n
Hexadecimal 1B 33 n
Decimal 27 51 n
Value of n n/406 inches in 7194 Native Mode and 7197 Series II Native
Mode
n/360 inches in 7193 Emulation Mode
Range of n 0–255
Default 0.13 inch (3.37 mm or 7.52 lines per inch, 3 extra dot row)
This command sets the line spacing to n/406 inches. The minimum line spacing is 8.5
lines per inch. The line spacing equals the character height when n is too small.
If the Set Horizontal and Vertical Minimum Motion Units command (1D 50) is used to
change the horizontal and vertical minimum motion unit, the parameters of this
command (Set Line Spacing) will be interpreted accordingly.
Note: For more information, refer to the description of the Set Horizontal and Vertical
Minimum Motion Units on the facing page.
ASCII ESC J n
Hexadecimal 1B 4A n
Decimal 27 74 n
Value of n n/203 inches in 7194 Native Mode and 7197 Series II Native
Mode
n/360 inches in 7193 Emulation Mode
Range of n 0–255
This command prints one line from the buffer and feeds the paper. The line height
equals the character height when n is too small.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H4A) & Chr$(n)
Note: For more information, see the description of the commands in Set Horizontal and
Vertical Minimum Motion Units on the facing page.
Commands 6-147
ASCII ESC d n
Hexadecimal 1B 64 n
Decimal 27 100 n
Value of n Number of lines to be printed and fed.
Range of n 1–255 (0 is interpreted as 1 on the receipt station)
This command prints one line from the buffer and feeds paper n lines at the current line
height.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H64) & Chr$(n)
ASCII GS P x y
Hexadecimal 1D 50 x y
Decimal 29 80 x y
Value of x Horizontal
Value of y Vertical
Range of x 0–255
Range of y 0–255
Default of x 203
Default of y 203
This command sets the horizontal and vertical motion units to 1/x inch and 1/y inch
respectively. When x or y is set to 0, the default setting for that motion unit is used. The
default horizontal motion is x = 203.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H50) & Chr$(x) & Chr$(y)
6-148 Commands
Horizontal Tab
ASCII HT
Hexadecimal 09
Decimal 9
This command moves the print position to the next tab position set by the Set
Horizontal Tab Positions (1B 44 n1 n2 ... 00) command. The print position is reset
to column one after each line. The tab treats the left margin as column one; therefore,
changes to the left margin will move the tab positions.
When there are no tabs defined to the right of the current position, or if the next tab is
past the right margin, line feed is executed. HT has no effect in page mode. Printer
initialization sets 32 tabs at column 9, 17, 25, or once every 8 characters.
Example:
MSComm1.Output = Chr$(&H09)
Set Column
This command prints the first character of the next print line in column n. It must be
sent for each line not printed at column one. The value of n is set to one after each line.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H14) & Chr$(n)
Exceptions
The command cannot be used with Single-Density or Double-Density graphics.
Commands 6-149
ASCII ESC $ n1 n2
Hexadecimal 1B 24 n1 n2
Decimal 27 36 n1 n2
Value of n Number of dots to be moved from the beginning of the line.
Value of n1 Remainder after dividing n by 256.
Value of n2 Integer after dividing n by 256.
Note: The values for n1 and n2 are two bytes in low-byte and high-byte word
orientation.
This command sets the print starting position to the specified number of dots, up to the
right margin, from the beginning of the line. The print starting position is reset to the
first column after each line.
Formulas
Determine the value of n by multiplying the column for the absolute starting position by
10 (standard pitch) or 8 (compressed pitch). The example shows how to calculate
column 29 (10 dots per column) as the absolute starting position.
28 x 10 = 280 dots (beginning of column 29)
280/256 = 1, remainder of 24
n1 = 24
n2 = 1
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H24) & Chr$(n1) & Chr$(n2)
Note: This command is also used in the graphics mode. Refer to Graphics Commands on
page 170 for more information.
If the Set Horizontal and Vertical Minimum Motion Units command (1D 50) is used to
change the horizontal and vertical minimum motion unit, the parameters of this
command (Set Absolute Print Position) will be interpreted accordingly. For more
information, see the description of the Set Horizontal and Vertical Minimum Motion Units
on page 147.
6-150 Commands
This command sets up to 32 horizontal tab positions, n columns from column one, but
does not move the print position. Refer to the Horizontal Tab (09) command.
The tab positions remain unchanged if the character widths are changed after the tabs
are set. This command ends with hexadecimal 00. Hexadecimal 1B 44 00 clears all tabs.
Tabs are assumed to be in strictly ascending order. A tab out of order terminates the
command string as if it were 00, and remaining tab values are taken as normal data.
Formulas
Set the tab positions in ascending order and put Hex 00 at the end. Hex 1B 44 00,
number of tabs not specified, clears all tab positions.
Exceptions
The tabs cannot be set higher than the column width of the current pitch.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H44) & Chr$(&H00)
ASCII ESC \ n1 n2
Hexadecimal 1B 5C n1 n2
Decimal 27 92 n1 n2
To move the relative starting position right of the current position by n dots:
n1 = remainder after dividing n by 256.
n2 = integer after dividing n by 256.
Commands 6-151
The values for n1 and n2 are two bytes in low-byte and high-byte word orientation.
To move the relative starting position left of the current position by n dots:
n1 = remainder after dividing (65,536 – n) by 256
n2 = integer after dividing (65,536 – n) by 256
The values for n1 and n2 are two bytes in low-byte and high-byte word orientation.
This command moves the print starting position to the specified number of dots either
right (up to the right margin) or left (up to the left margin) of the current position. The
print starting position is reset to the first column after each line.
Formulas
• To move to the left—determine the value of n by multiplying the number of
columns to move left of the current position by 13 (standard pitch) or 10
(compressed pitch). The example shows how to set the relative position two columns
in standard pitch (10 dots per column) to the left of the current position.
2 x 10 = 20 dots (two columns to be moved left of the current position)
65,536 – 20 = 65,516
65,516 / 256 = 255, remainder of 236
n1 = 236
n2 = 255
• To move to the right—determine the value of n by multiplying the number of
columns to move right of the current position by 10 (standard pitch) or 8
(compressed pitch). The example shows how to set the relative position two columns
in standard pitch (10 dots per column) to the right of the current position.
2 x 10 = 20 dots (two columns to be moved right of the current position)
20 / 256 = 0, remainder of 20
n1 = 20
n2 = 0
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H5C) & Chr$(n1) & Chr$(n2)
Note: If the Set Horizontal and Vertical Minimum Motion Units command (1D 50) is
used to change the horizontal and vertical minimum motion unit, the parameters of this
command (Set Relative Print Position) will be interpreted accordingly. For more
information, see the description of Set Horizontal and Vertical Minimum Motion Units on
page 147.
6-152 Commands
Compatibility Information (7194 Native Mode and 7197 Series II Native Mode
receipt vs. 7193 receipt)
There is a difference in the normal behavior of this command in 7194 Native Mode and
7197 Series II Native Mode as compared to the original 7193. The difference exists when
the command is used to move to the left. The 7193 processes the whole print string prior
to putting it in the buffer for the print head. This method of processing allows the 7193
to back up in the print string and replace characters and their associated attributes
when a Set Relative Print Position command instructs the printer to move the print
position to the left.
In order to improve the speed of printing, the 7197 Series II moves the data into a buffer
for the print head when it receives it. When the Set Relative Print Position command
contains a move to the left, this causes the new data to overstrike the previous data. This
behavior can be used to the advantage of the application to provide the ability to create
compound characters on the receipt station.
Select Justification
ASCII ESC a n
Hexadecimal 1B 61 n
Decimal 27 97 n
Value of n 0, 48—Left Aligned
1, 49—Center Aligned
2, 50—Right Aligned
Range of n 0–2, 48–50
Default 0 (Left aligned)
This command specifies the alignment of the characters, graphics, logos, and bar codes
on the receipt station.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H61) & Chr$(n)
Execeptions
The command is valid only when it is added at the beginning of a line.
Commands 6-153
ASCII GS L nL nH
Hexadecimal 1D 4C nL nH
Decimal 29 76 nL nH
Range of nL 0–255
Range of nH 0–255
Default 80 mm width 576 dots (the maximum printable area)
58 mm width 424 dots (the maximum printable area)
This command sets the left margin of the printing area. The left margin is set to (((nH x
256) + nL) times horizontal motion unit) inches. The horizontal motion units are set by
the Set Horizontal and Vertical Minimum Motion Units command (1D 50), described in
this manual.
The width of the printing area is set by the Set Printing Area Width command (1D 57),
which follows this command. Refer to Set Printing Area Width on the next page for a
description of that command.
If the setting exceeds the printable area, the maximum value of the printable area is
used. The maximum printable area is 576 dots. Refer to the illustration below.
Formulas
To set the left margin to one inch at the default horizontal motion unit of 1/203 inches,
send the four-byte string:
GS L 203 0
Or, to set the left margin to two inches at the default horizontal motion unit of 1/203
units per inch, send the four-byte string:
GS L 150 1
where 2 inches = 406/203, and 406 = (1 x 256) + 150.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H4C) & Chr$(nL) & Chr$(nH)
6-154 Commands
Exceptions
The command is effective only at the beginning of a line. This command is also ignored
if the line buffer is not empty.
ASCII GS W nL nH
Hexadecimal 1D 57 nL nH
Decimal 29 87 nL nH
Range of nL 0–255
Range of nH 0–255
Default 80 mm width 576 dots (the maximum printable area)
58 mm width 424 dots (the maximum printable area)
This command sets the width of the printing area. If the setting exceeds the printable
area, the maximum value of the printable area is used.
The width of the printing area is set to (((nH x 256) + nL) times horizontal motion
unit) inches. The horizontal motion units are set by the Set Horizontal and Vertical
Minimum Motion Units command (1D 50). The width of the printing area follows the
Set Left Margin command (1D 4C). Refer to Set Left Margin on the previous page for a
description.
Formulas
To set the width of the printing area to one inch at the default horizontal motion unit of
1/203 inches, send the four-byte string:
GS W 203 0
Or, to set the width of the printing area to two inches at the default horizontal motion
unit of 1/203 units per inch, send the four-byte string:
GS W 150 1
Where 2 inches = 406/203, and 406 = (1 x 256) + 150.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H57) & Chr$(nL) & Chr$(nH)
Commands 6-155
Exception
This command is effective only at the beginning of a line. This command is ignored if
the line buffer is not empty, and only affects the receipt interface. If the setting exceeds
the printable area, the maximum value of the printable area is used. The maximum
printable area is 576 dots for 80 mm paper width and 424 dots for 58 mm paper width.
Refer to the illustration in the Set Left Margin command (1D 4C).
ASCII DC2
Hexadecimal 12
Decimal 18
This command prints double-wide characters. The printer is reset to single-wide mode
after a line has been printed or the Clear Printer (0x10) command is received. Double-
wide characters may be used in the same line with single-wide characters.
Example:
MSComm1.Output = Chr$(&H12)
ASCII DC3
Hexadecimal 13
Decimal 19
This command prints single-wide characters. Single-wide characters may be used in the
same line with double-wide characters.
Example:
MSComm1.Output = Chr$(&H13)
Exceptions
This command is valid only at the beginning of a line. Rotated print and non-rotated
print characters cannot be used together in the same line. For more information, refer to
Summary of Rotated Printing in this chapter.
Formulas
The following table provides the print characteristics for both pitches.
Example:
MSComm1.Output = Chr$(&H1B) Chr$(&H16) & Chr$(n)
Note: Refer to Printing Specifications on page 289 for descriptions of character pitches
(print modes).
Commands 6-157
ASCII ESC SP n
Hexadecimal 1B 20 n
Decimal 27 32 n
Range of n 0–32
Default 0
This command sets the right side character spacing to [n x horizontal or vertical motion
units]. Values for this command are set independently in Standard and Page Mode.
Note: The units of horizontal and vertical motion are specified by the Set Horizontal
and Vertical Minimum Motion Units (1D 50…) command. Changes in the horizontal or
vertical units do not affect the current right side character spacing. When the horizontal
or vertical motion unit is changed by the Set Horizontal and Vertical Minimum Motion
Units (1D 50…) command, the value must be in even units and not less than the
minimum amount of horizontal movement.
In Standard Mode, the horizontal motion unit is used. In Page Mode, the horizontal or
vertical motion unit differs and depends on the starting position of the printable area.
When the starting printing position is the upper left or lower right of the printable area
(set by Select Print Direction in Page Mode, 1B 54 n), the horizontal motion unit (x) is
used. When the starting printing position is the upper right or lower left of the printable
area (set by Select Print Direction in Page Mode, 1B 54 n), the vertical motion unit (y) is
used.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H20) & Chr$(n)
Exception
This command is ignored in 7193 Emulation Mode and is only valid on the receipt
station.
ASCII ESC ! n
Hexadecimal 1B 21 n
Decimal 27 33 n
Value of n Pitch selection (standard, compressed, double high, or
double wide)
6-158 Commands
Bit Function 0 1
1B 16 n Select Pitch
1B 45 n Emphasized
12 Double-wide
13 Single-wide
1B 2D n Underline
Limitation
In Diagnostic setting, if Compress Pitch setting is Ignore then setting the Compressed
pitch (Bit 0) using this command will be ignored.
Commands 6-159
ASCII ESC % n
Hexadecimal 1B 25 n
Decimal 27 37 n
Value of n 0—Code Page 437
1—User-defined (RAM character set)
2—Code Page 850
Range 0–2
Default 0 (Code Page 437)
This command selects the character set. When an undefined RAM character is selected,
the Code Page 437 character is used. Refer to Printing Specifications on page 289 for the
character sets.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H25) & Chr$(n)
This command defines and enters downloaded characters into RAM or Flash. The
command may be used to overwrite single characters. User-defined characters are
available until power is turned off or the Initialize Printer command (1B 40) is received.
Any invalid byte (s, c1, c2, n1) aborts the command. The command clears bit image logo
data from RAM. The illustration in the next section provides a sample of a character cell.
6-160 Commands
ASCII ESC – n
Hexadecimal 1B 2D n
Decimal 27 45 n
Value of n 0, 48—Cancel underline mode (Default)
1, 49—Select underline mode
Commands 6-161
This command turns underline mode on or off. Underlines cannot be printed for spaces
set by the Horizontal Tab, Set Absolute Start Position, or Set Relative Print Position
commands. This command and the Select Print Mode command (1B 21) turn
underline on and off in the same way.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H2D) & Chr$(n)
Note: This command is ignored if n is out of the specified range. This command is only
available in 7194 Native Mode and 7197 Series II Native Mode.
ASCII ESC : 0 0 0
Hexadecimal 1B 3A 30 30 30
Decimal 27 58 48 48 48
Default Code Page 437
This command copies characters in the active ROM set to RAM. Use this command to
re-initialize the User-Defined Character Set. Code Page 437 is copied by default at
initialization. The command is ignored if current font is the user font.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H3A) & Chr$(&H30) & Chr$(&H30) &
Chr$(&H30)
Note: To modify characters in one of the character set variations, such as Rotated Print,
select one of the Rotated Print commands, copy to RAM, then use the Define User-
Defined Character Set command (1B 26).
ASCII ESC ? n
Hexadecimal 1B 3F n
Decimal 27 63 n
Value of n Specified character code
Range of n 32–255
This command cancels the pattern defined for the character code specified by n. After
the user-defined character is canceled, the corresponding pattern from Code Page 437 is
printed.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H3F) & Chr$(n)
6-162 Commands
Exceptions
This command is ignored if n is out of range or if the user-defined character is not
defined.
ASCII ESC E n
Hexadecimal 1B 45 n
Decimal 27 69
Value of n • 0 (bit 0)—not selected (Default)
• 1 (bit 0)—selected
Range of n 0–255
Exception
Only the lowest bit of n is effective. Emphasized printing cannot be used with bit-images
or downloaded bit-images. This command and the Select Print Mode command (1B
21) function identically.
ASCII ESC G n
Hexadecimal 1B 47 n
Decimal 27 71 n
Value of n 0—Off
1—On
This command turns double strike mode on or off and is identical to Emphasized mode
command. The printer is reset to the standard print mode after a line has been printed
or after a Clear Printer (0x10) command is received.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H47) & Chr$(n)
Commands 6-163
Exceptions
These settings do not apply in Page Mode; however, they can be set or cleared in Page
Mode. Double-strike printing cannot be used with bit-images or downloaded bit-images.
This command and the Select Print Mode command (1B 21) function identically. They
should have the same setting when used together. In 7193 Emulation, this command is
unrecognized and the parameter byte is put in to the printer buffer.
ASCII ESC I n
Hexadecimal 1B 49 n
Decimal 27 73 n
Value of n • 0—Off (Default)
• 1—On
Note: When 0 and 1 are the Least Significant
Bit, LSB
This command turns Italic print mode on or off. This command is only available in 7194
Native Mode and 7197 Series II Native Mode. Italic print mode is available for built-in,
user-defined characters.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H49) & Chr$(n)
Exceptions
Only the lowest bit of n is valid. This command is only valid for the receipt station in
7194 Native Mode and 7197 Series II Native Mode.
ASCII ESC R n
or
ESC t n
Hexadecimal 1B 52 n
or
1B 74 n
Decimal 27 82
or
27 116 n
6-164 Commands
This command selects the character set to be used. See Printing Specifications on page 289
for the character sets. There are two codes for this command; both codes perform the
same function.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H52) & Chr$(n)
Note: This command may also be known as Select Character Code Table.
ASCII ESC r n
Hexadecimal 1B 72 n
Decimal 27 114 n
Value of n • 0—Monochrome (Default)
• 1—2nd Color
This command selects color printing. Color printing is valid for characters, graphics,
logos and bar codes.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H72) & Chr$(n)
ASCII ESC { n
Hexadecimal 1B 7B n
Decimal 27 123 n
Value of n • 0—Cancel (Default)
• 1—Set
This command prints upside-down characters. The character order is inverted in the
buffer so text is readable. The command remains in effect until the Rotated Print (1B
12) command is received. Only bit 0 is used. Bits 1–7 are not used. Refer to Summary of
Rotated Printing on page 169.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H7B) & Chr$(n)
Exceptions
The command is valid only at the beginning of a line. The Rotated Print command (1B
12) cancels this command.
6-166 Commands
ASCII GS ! n
Hexadecimal 1D 21 n
Decimal 29 33 n
Value of n • 1–8 = vertical number of times normal font
• 1–8 = horizontal number of times normal font
Range of n 00–07, 10–17, … 70–77
Default of n 0
This command selects the character height using bits 0 to 2 and selects the character
width using bits 4 to 7, as follows:
00 0 1 (normal)
10 16 2 (two times width)
20 32 3 (three times width)
30 48 4 (four times width)
40 64 5 (five times width)
50 80 6 (six times width)
60 96 7 (seven times width)
70 112 8 (eight times width)
00 0 1 (normal)
01 1 2 (two times height)
02 2 3 (three times height
03 3 4 (four times height)
04 4 5 (five times height)
Commands 6-167
This command is effective for all characters (except for HRI characters).
In Standard Mode, the vertical direction is the paper feed direction, and the horizontal
direction is perpendicular to the paper feed direction. However, when character
orientation changes in 90 degree clockwise-rotation mode, the relationship between
vertical and horizontal directions is reversed.
In Page Mode, vertical and horizontal directions are based on the character orientation.
When characters are enlarged with different sizes on one line, all the characters on the
line are aligned at the baseline.
The Select Print Mode (1B 21 n) command can also select or cancel double-width and
double-height modes. However, the setting of the last received command is effective.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H21) & Chr$(n)
Note: If n is out of the defined range, this command is ignored and is only available in
7194 Native Mode and 7197 Series II Native Mode.
ASCII GS B n
Hexadecimal 1D 42 n
Decimal 29 66 n
Value of n 0—Off
Range of n 1—On
Note: Only the lowest bit is used.
Default of n • 0–255
• 0 (Off)
6-168 Commands
This command turns on White/Black reverse printing mode. This command is only
available in 7194 Native Mode and 7197 Series II Native Mode. In White/Black reverse
printing mode, print dots and non-print dots are reversed, which means that white
characters are formed by printing a black background. When the White/Black reverse
printing mode is selected it is also applied to character spacing which is set by Right-
Side Character Spacing (1B 20).
This command can be used with built-in characters and user-defined characters, but
does not affect the space between lines. White/Black Reverse Print Mode does not affect
bit image, downloaded bit image, bar code, HRI characters, and spacing skipped by
Horizontal Tab (09), Set Absolute Starting Position (1B 24…), and Set Relative Print
Position (1B 5C).
White/Black reverse mode has a higher priority than Underline Mode. When Underline
Mode is on and White/Black Reverse Print Mode is selected, Underline Mode is
disabled, but not canceled.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H42) & Chr$(n)
Note: This is only available in 7194 Native Mode and 7197 Series II Native Mode.
ASCII GS b n
Hexadecimal 1D 62 n
Decimal 29 98 n
ASCII US ENQ n
Hexadecimal 1F 05 n
Decimal 31 05 n
Value of n • 0—Normal character size (Default)
• 1—Select subscript size
• 2—Select superscript size
Commands 6-169
This command turns superscript or subscript modes on or off. This attribute may be
combined with other characters size settings commands (12, 13, 1B 21 n, 1D 21 n,
…). This command is only available on the receipt station in 7194 Native Mode and 7197
Series II Native Mode.
Example:
MSComm1.Output = Chr$(&H1F) & Chr$(&H05) & Chr$(n)
Exceptions
This command is ignored if n is out of the specified range. This is only available in 7194
Native Mode and 7197 Series II Native Mode.
ASCII ESC + n
Hexadecimal 1B 2B n
Decimal 27 43 n
Value of n • 0—not select (Normal code, Default)
• 1—selected (Uni-code(UTF-16))
Canceled Set X
Set Canceled X
Set Set X
X X Set
Graphics Commands
These commands are used to enter and print graphics data and are described in order of
their hexadecimal codes.
This command prints one row of data, N1 … nk bytes, describing the line to print.
Example:
MSComm1.Output = Chr$(&H11) & Chr$(05) & Chr$(255)
Note: Raster graphics is not available in Page Mode and is only available in 7194 Native
Mode and 7197 Series II Native Mode.
Commands 6-171
This command enters a BMP file data into RAM or Flash. This command is used by
sending the file data of a monochrome BMP file preceded by a 0 x 1B. The bit map is
stored in the printer in the same manner as a downloaded bit image. The downloaded
BMP file can be printed by using the Print Downloaded Bit Image (1D 2F m) command.
Example:
MSComm1.Output = Chr$(&H1B)
Open bitmapfile For Binary As filehandle.
filecontent = Input(LOF(filehandle), filehandle)
MSComm1.Output = filecontent & vbLf
This last step is to use the print downloaded image command to print.
Exceptions
BMP file images that are not monochrome are ignored. This command is only valid for
the receipt station and only available in 7194 Native Mode and 7197 Series II Native
Mode.
Note: For more information, refer to 1D 22 n Select Memory Type to save logos.
This command sets the print resolution and enters one line of graphics data into the
print buffer. Excess data is accepted but ignored. Any print command is required to
print the data, after which the printer returns to normal processing mode. Refer to the
illustration graphic representation of the bit image.
6-172 Commands
Values
Formulas
8 Dot Single Density n1 + (256 x n2)
24 Dot Single Density 3 x [n1 + (256 x n2)]
Commands 6-173
ASCII ESC . m n rl rh d1 … dn
Hexadecimal 1B 2E m n rl rh d1 … dn
Decimal 27 46 m n rl rh d1 … dn
Value of m Horizontal offset from left margin = 8 x n dots
Value of n Number of data bytes that compose the raster
Value of r Number of times the raster has to be printed = 256 x rh + rl
Value of d d1 … dn = Data bytes
Range 0 ≤ m, n ≤ 72 (80mm), 0 ≤ m, n ≤ 53 (58mm)
0 ≤ r ≤ 65536
0 ≤ d1 … dn ≤ 255
This command prints a horizontal raster of graphics data one or multiple times.
Horizontal offset and number of data bytes are variable and specified by parameters.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H2E) & Chr$(10) & Chr$(100) &
Chr$(2) & Chr$(10) & Chr$(&HFF). . . & Chr$(&HFF)
Exceptions
Advanced Raster graphics is not available in Page Mode.
6-174 Commands
ASCII ESC K n1 n2 d1 … dn
Hexadecimal 1B 4B n1 n2 d1 ... dn
Decimal 27 75 n1 n2 d1 ... dn
Value of n
This command enters one line of 8-dot single-density graphics into the print buffer. Any
print command is required to print the line, after which the printer returns to normal
processing mode. The number of bytes sent is represented by the formulas in the table.
Each bit corresponds to one horizontal dot. Compare to Set Bit Image Mode (1B 2A,
m=1) earlier in this document.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H4B) & Chr$(10) & Chr$(100)
Chr$(&HFF). . . & Chr$(&HFF)
ASCII ESC Y n1 n2 d1 … dn
Hexadecimal 1B 59 n1 n2 d1 ... dn
Decimal 27 89 n1 n2 d1 ... dn
Value of n
This command enters one line of 8-dot single-density graphics into the print buffer. Any
print command is required to print the line, after which the printer returns to normal
processing mode. The number of bytes sent is represented by the formulas in the table.
Commands 6-175
Each bit corresponds to one horizontal dot. Compare to Set Bit Image Mode (1B 2A,
m=1) earlier in this document.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H59) & Chr$(10) & Chr$(100)
Chr$(&HFF). . . & Chr$(&HFF)
ASCII FS p n m
Hexadecimal 1C 70 m n
Decimal 28 112 n
Range of n 0–255
Range of n 0–3
ASCII GS # n
Hexadecimal 1D 23 n
Decimal 29 35 n
Range of n 0–255
6-176 Commands
This command selects a logo to be defined or printed. The active logo n remains in use
until this command is sent again with a different logo n.
When this command precedes a logo definition, that definition is stored in Flash
Memory as logo n. If there is already a different definition in Flash Memory for logo n,
the first is inactivated and the new definition is used. The inactive definition is not
erased from Flash and continues to take up space in Flash Memory.
When this command precedes a logo print command and n is different from the
previously active logo selected, the printer retrieves the logo definition for n from Flash
Memory and prints it. If there is no definition for logo n, then no logo is printed.
In the case of a previously existing application that expects only one possible logo, the
printer will not receive the Select Current Logo (1D 23 n) command. In this case, the
printer assigns 0 as the active logo identifier. It automatically stores any new logo
definition in Flash Memory as logo 0, inactivating any previous logo 0 definition. If the
Flash Memory space available for logos fills up with inactive logo 0 definitions, the
firmware erases the old definitions at the next power cycle. This is the only case in
which the printer erases Flash Memory without an application command.
In the case of a new application using multiple logos, the Select Current Logo (1D 23
n) command is used. After that, the printer no longer automatically erases the logo
definition Flash Memory page when it fills with multiple definitions. A new application
using multiple logos, writing a user-defined character set into Flash Memory, or both, is
responsible for erasing the logo and user-defined character set Flash Memory page
when the logo area is full or before a new character set is defined.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H23) & Chr$(n)
Note: By default, 7193 Emulation loads downloaded bit image to SRAM, while 7194
Native Mode and 7197 Series II Native Mode loads them to Flash.
This command enters a downloaded bit image (such as a logo) into RAM or Flash with
the number of dots specified by n1 and n2, unless loaded into Flash. The downloaded bit
image is available until power is turned off, another bit image is defined, or either
Initialize Printer (1B 40), or Define User-Defined Character Set (1B 26), command is
received.
Refer to the illustration for the Print Downloaded Bit Image command (1D 2F) for a
representation of the bit image.
Note: Refer to 1D 22 n (Select Memory Type to store logos) and 1D 23 n (Select the
Current Logo). For the 7194 Native Mode and 7197 Series II Native Mode of operation, if
multiple logos are to be defined and used, this command should be preceded by the
select current logo command to define the number by which this downloaded logo is to
be reference.
6-178 Commands
ASCII GS / m
Hexadecimal 1D 2F m
Decimal 29 47 m
This command prints a downloaded bit image in RAM or Flash on the receipt station at
a density specified by m. It is ignored if any data is in the print buffer, if the downloaded
bit image is undefined, or if the data defined exceeds one line.
Refer to the illustration for a representation of the bit image.
Commands 6-179
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H2F) & Chr$(m)
Note: Refer to 1D 22 n (Select Memory Type to store logos) and 1D 23 n (Select the
Current Logo).
ASCII US EOT n
Hexadecimal 1F 04 n
Decimal 31 04 n
Value of n • 0—Off (Default)
• 1—On
This command selects or cancels the 6 dot/mm Emulation Mode. When the 6 dot/mm
emulation is selected, logos and graphics are expanded horizontally and vertically to
emulate their size on a 6 dot/mm printer. The horizontal positioning commands also
emulate positioning on a 6 dot/mm printer.
Example:
MSComm1.Output = Chr$(&H1F) & Chr$(&H04) & Chr$(n)
Note: This command is available in 7194 native mode only and 7197 Series II Native
Mode.
Status Commands
Status Command Introduction
The 7197 Series II has three methods of providing status to the application. These
methods are through Batch Status Commands, Real Time Status Commands, and Auto
Status Back. An application may use one or more of these methods to understand the
current status of the printer. The following are brief descriptions of each of these
methods:
• Batch Status Commands—these commands are sent to the printer and stored in
the printer’s buffer. Once the printer has processed all the previous commands,
these commands are processed and the proper status is returned to the application.
In the event that a condition causes the printer to go BUSY, it stops processing
commands from the printer buffer. If a Batch Status Command remained in the
buffer during this busy condition, it would not be processed. In fact, no Batch
Commands are processed while the printer is in this state.
6-180 Commands
• Real-Time Commands—these commands are sent to the printer and are not stored
in the printer’s buffer. They are acted on immediately, regardless of the printer’s
BUSY status, and their response, if any, is returned to the application. This gives the
application the ability to query the printer when it is in a busy state in order to
correct whatever fault has occurred.
• Auto Status Back—this mechanism allows the application developer to program
the printer to automatically respond with a four-byte status when certain conditions
in the printer change.
For more information on these status commands, refer to Recognizing Data from the
Printer on page 193. This section describes which command or setting, in the case of
Auto Status Back, triggered a response from the printer.
Batch Mode
For RS-232C printers, these commands enable the printer to communicate with the host
computer following the selected handshaking protocol, either DTR/DSR or XON/XOFF.
The commands are stored in the data buffer of the printer as they are received, and are
handled by the firmware in the order in which they are received.
When a fault occurs, the printer goes busy at the RS-232C interface and does not
respond to any of the Batch Mode Printer Status commands. If the fault causing the
busy condition can be cleared, such as by loading paper or letting the thermal print
head cool down, the printer resumes processing the data in its receive buffer.
ASCII ESC u 0
Hexadecimal 1B 75 0
Decimal 27 117 0
Bit 0 Bit 1
Return
Value • 1—Drawer 1 closed • 1—Drawer 2 closed
• 0—Drawer 1 open • 0—Drawer 2 open
Note: Bits 2-7 are not used
This command transmits the current status of the cash drawers. One byte is sent to the
host computer. In DTR/DSR protocol, the printer waits for DSR = SPACE. If a drawer is
not connected, the status will indicate it is closed.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H75) & Chr$(&H0)
Commands 6-181
ASCII ESC v
Hexadecimal 1B 76
Decimal 27 118
This command sends status data to the host computer. The printer sends one byte to the
host computer when it is not busy or in a fault condition. In DTR/DSR protocol, the
printer waits for DSR = SPACE.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H76)
Note: Refer to Status Commands on page 179 for details about fault condition reporting.
Transmit Printer ID
ASCII GS I n
Hexadecimal 1D 49 n
Decimal 29 73 n
Value of n • 1, 49—Printer model ID
• 2, 50—Type ID
• 3, 51—ROM version ID
• 4, 52—Logo definition
6-182 Commands
Type ID (n=2)
Type ID (n=4)
2 - - - Undefined.
3 - - - Undefined.
4 Off 00 0 Not used. Fixed to Off.
5 - - - Undefined.
6 - - - Undefined.
7 Off 00 0 Not used. Fixed to Off.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H49) & Chr$(n)
ASCII GS I @ n
Hexadecimal 1D 49 40 n
Decimal 29 73 64 n
Value of n Refer to table.
Range of n 32–255 (not all defined but reserved)
When an application uses UDP 3000 port, adding 4 bytes of the sequence number before
the command is required.
Example: For Flash Firmware version command, send:
xxh xxh xxh xxh 1Dh 49h 40h A3h
xxh xxh xxh xxh is the sequence number. The printer returns the response with the
same sequence number.
| B3 179 Max Temperature tally Return Max Temperature tally, returns 10 bytes
B8 184 Dot Failure Write to Flash Rom
Information(-2 max 999
Warning Dot) on tally,
3 digit ASCII numeric
B9 185 Dot Failure Write to Flash Rom and print on receipt to verify
Information(-2
Warning Dot) on tally,
3 digit ASCII numeric
BA 186 Dot Failure Clear Dot Failure Information(-2 Warning Dot) on
Information(-2 tally to 0.
Warning Dot) on tally,
3 digit ASCII numeric
BB 187 Dot Failure Return Dot Failure Information(-2 Warning Dot) on
Information(-2 tally, a total of 5 bytes.
Warning Dot) on tally,
3 digit ASCII numeric
BC 188 Dot Failure Write to Flash Rom
Information(-1 max 999
Warning Dot) on tally,
3 digit ASCII numeric
BD 189 Dot Failure Write to Flash Rom and print on receipt to verify.
Information(-1
Warning Dot) on tally,
3 digit ASCII numeric
BE 190 Dot Failure Clear Dot Failure Information(-1 Warning Dot) on
Information(-1 tally to 0.
Warning Dot) on tally,
3 digit ASCII numeric
6-188 Commands
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H49) & Chr$(&H40) & Chr$(n)
Commands 6-189
Transmit Status
ASCII GS r n
Hexadecimal: 1D 72 n
Decimal: 29 114 n
Value of n: • 1, 49—printer status
• 2, 50—cash drawer status
• 4, 52—Flash Memory status
• 5, 53—printer other status
This command transmits the status specified by n. This is a batch mode command which
transmits the response after all prior data in the receive buffer has been processed. There
may be a time lag between the printer receiving this command and transmitting the
response, depending on the receive buffer status.
When DTR/DSR RS232C communications handshaking control is selected, the printer
transmits the one byte response only when the host signal DSR indicates it is ready to
receive data.
When XON/XOFF RS232C communications handshaking control is selected, the printer
transmits the one byte response regardless of the host signal DSR.
The status bytes to be transmitted are described in the following four tables.
Range of n • 1–5
• 49–53
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H72) & Chr$(n)
Exceptions
When n is out of the specified range, the command is ignored.
ASCII US V
Hexadecimal 1F 56
Decimal 31 86
This command allows the printer to return 8 bytes containing the boot and Flash
software version. The first 4 bytes returned are an ASCII string for the boot version. The
second 4 bytes are an ASCII string for the boot version. For example, for 1.234.56 (8
bytes), the boot version is 1.23 and the Flash version is 4.56.
Example:
MSComm1.Output = Chr$(&H1F) & Chr$(&H56)
ASCII US SUB 02 00
Hexadecimal 1F 1A 02 00
Decimal 31 26 02 00
6-192 Commands
The printer executes the Head Failure Detection and the printer returns the result of the
detection (3 bytes) after finishing the failure detection. The first byte shows the result
(OK/NG) and the second and third bytes show the number of dots damaged in the error
case. In no error case, those bytes are null.
ASCII: US LF n
Hexadecimal: 1F 0A n
Decimal: 29 10 n
Value of n Identifier of print data.
Example: 0x00 for PFM and 0x01-0xFF for Print line identifier
Range of n 0x00 ≤ n ≤ 0xFF
This command sends the print completion status of the print data specified by n to the
host computer.
Byte
Description Byte #2
#1
The printer returns the print completion response when it finishes printing the data
sent before this command. The printable data sent before this command is identified by
the parameter of this command. This command specifies ID for print data sent before
this command. And the printer returns the print completion status with ID. Therefore, a
host can know which data was completed.
If the printer returns the 0x66 as the first byte response, it means the printer cannot
print data due to an error condition. In this case, the printer erases all printable data.
The printer does not return any response for the remaining commands for Get Print
Completion on the previous page. Once it returns the error status for this command, it
retains the plural Get print completion commands. The printer erases not only the print
data but also the retained Get print completion commands in the printer when an error
response is returned. If the printer receives this command when it retains printable data,
it starts printing by force like receiving LF+CR.
Exceptions
If the printer powered OFF during the transaction then after the power on the printer
will respond (0xAA0x00) to the PFM message.
Limitations
• This command is available when Receipt Synchronization setting is Enabled (mode3).
• This command is effective in RS232c interface mode only.
• This command is effective in the line mode and is ignored in the page mode.
ESC u 0 1B 75 0 0 0 0 0 0 0 x x Binary
ESC v 1B 76 0 0 0 0 0 x x x Binary
GS I n 1D 49 n 0 x x 0 x x x x Binary
GS r n 1D 72 n 0 x x 0 x x x x Binary
6-194 Commands
GS EOT n 1D 04 n 0 x x 1 x 1 0 Binary
DLE EOT n 10 04 n 0 x x 1 x 1 0 Binary
GS ENQ 1D 05 1 x x x x x x Binary
XON 0 0 0 1 0 0 1 Binary
XOFF 0 0 0 1 0 1 1 Binary
Preferred Implementation
For a new application, the GS (1D) sequences are recommended to avoid possible
misinterpretation of a DLE (0x10) sequence as a Clear Printer (0x10 0, ASCII DLE
NUL) command.
An application using these GS (1D) sequences does not need to distinguish for the
printer between the new real time commands and the Clear Printer command. This
implementation is ideal for an existing 7193 application that already uses the Clear
Printer command or for a new application being developed.
Commands 6-195
Alternate Implementation
The alternate implementation uses the DLE (0x10) sequences as implemented on other
printers. An application using these DLE (0x10) sequences and the original 7193 Clear
Printer command (0x10) must distinguish for the printer between the new real time
commands and the Clear Printer command by adding a NUL (0x00) to the Clear Printer
command.
An application using these DLE (0x10) sequences must also send the second byte of the
sequence within 100 milliseconds of the first, to prevent the first byte being mistaken for
a Clear Printer command.
When the printer is busy due simply to buffer full, that is, it cannot print data as fast as
it can receive it, then data continues to be processed out of the buffer at approximately
print speed and the Real Time commands will eventually get flushed out. When the
printer is busy due to an error condition, then data stops being processed out of the
buffer until the condition clears one way or another. In either case, but more quickly in
the case of an error condition, the buffer can be filled with real time commands.
When the DLE sequences are being used, the last byte stored when the buffer fills up
could be the DLE code, with no room for the subsequent EOT or ENQ. When this lone
DLE byte is finally processed out of the buffer it will be interpreted as a Clear Printer
command. Similarly, when the GS sequences are being used, the last byte stored when
the buffer fills up could be the GS code, with no room for the subsequent EOT or ETX
or ENQ. When this lone GS byte is finally processed out of the buffer, it will use the
next byte as the second byte in its GS sequence.
Note: To guard against this situation, an application should determine the cause of a
busy condition and take appropriate action or pace further real time commands to avoid
filling the buffer. There are a minimum of 256 bytes available in the printer buffer when
it goes busy.
UDP Communication
In Ethernet model, the realtime transition is done by UDP (Standby/Ethernet model
common information uses UDP port 3000 and Ethernet-related information uses UDP
port 3001). When an application uses UDP port, adding 4 bytes of Sequence Number
before command is required. The printer returns the response with the same Sequence
Number.
According to Ethernet RTC Protocol setting (1F 11), the using protocol and port
number are different. When Ethernet RTC Protocol setting is TCP, this command (n = 1 to
6) is effective in TCP 9100 port. Ethernet RTC Protocol setting is UDP. This command is
effective in UDP 3000 port.
When sending above command to the printer by Ethernet (UDP 3000 port), there is a
need to add Sequence Number of 4 bytes before command.
In case of Transmit printer status command, send xxh xxh xxh xxh 1Dh 04h 01h. xxh
xxh xxh xxh is the Sequence Number.
This command transmits the selected one-byte printer status specified by n in Real Time
according to the following parameters. This command includes two sequences—GS and
DLE. Using either produces the same result.
Example:
MDComm1.Output = Chr$(&H1D) & Chr$(&H04) & Chr$(n)
Exceptions
This command is ignored if n is out of range.
6-198 Commands
An application using the DLE sequence must send EOT within 100 milliseconds of DLE
or the printer will misinterpret the DLE and execute a Clear Printer command. Avoid
this possibility by using the 1D 04 n sequence, which is handled exactly the same as 10
04 n.
Related Information
1 = Transmit Printer Status
According to Ethernet RTC Protocol setting (1F 11), the using protocol and port
number are different. When Ethernet RTC Protocol setting is TCP, this command n= 1 to
3) is effective in TCP 9100 port. When Ethernet RTC Protocol setting is UDP, this
command is effective in UDP 3000 port.
When the above command is sent to the printer by Ethernet (UDP 3000 port), there is a
need to add Sequence Number of 4 bytes before the command.
Commands 6-201
In case of Recover and restart command, send xxh xxh xxh xxh 1Dh 03h 01h. xxh
xxh xxh xxh is the Sequence Number.
The printer responds to a request from the host specified by n. This command includes
two sequences: GS and DLE. The operations performed depend on the value of n,
according to the following parameters.
n=1
This setting restarts printing from the beginning of the line where an error occurred,
after recovering from the error. Print settings that are normally preserved from line to
line, such as character height and width, are still preserved with this command. This
sequence is ignored except when the printer is busy due to an error condition.
If the receipt is selected, this command will attempt recovery from a knife error. Other
errors associated with the receipt, such as paper out or print head overheating, can be
recovered from only by clearing the specific condition, such as loading paper or letting
the print head cool down.
n=2
This setting ecovers from an error after clearing the receive and print buffers. Print
settings that are normally preserved from line to line, such as character height and
width, are still preserved with this command. This sequence is ignored except when the
printer is busy due to an error condition.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H03) & Chr$(n)
Exceptions
The command is ignored if n is out of range.
An application using the DLE sequence must send ENQ within 100 milliseconds of DLE
or the printer will misinterpret the DLE and execute a Clear Printer command. Avoid
this possibility by using the 1D 03 n sequence that is handled exactly the same as 10 05
n.
ASCII GS ENQ
Hexadecimal 1D 05
Decimal 29 5
6-202 Commands
According to Ethernet RTC Protocol setting (1F 11), the using protocol and port
number are different. When Ethernet RTC Protocol setting is TCP, this command is
effective in TCP 9100 port. Ethernet RTC Protocol setting is UDP, this command is
effective in UDP 3000 port.
When the command above is sent to the printer by Ethernet (UDP 3000 port), there is a
need to add Sequence Number of 4 bytes before command.
Note: In case of the above command, send xxh xxh xxh xxh 1Dh 05h. xxh xxh xxh
xxh is a Sequence Number. The printer responds with the same Sequence Number.
This command transmits one byte status of the printer in real time.
Value of Byte
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H05)
Commands 6-203
ASCII GS a x
Hexadecimal 1D 61 x
Decimal 27 97 x
Value of x 0–FF
ASCII GS US n
Hexadecimal 1D 1F n
Decimal 29 31 n
Value of n 0 or 1
ASCII GS DC1 n
Hexadecimal 1D 11 FF n
Decimal 29 17 255 n
Value of n 0 or 1
Unsolicited Messages
The following is the general message structure for the Unsolicited Status Update
messages.
The Unsolicited Message will always consist of at least three bytes. The top 4 bits (7, 6, 5,
4) of each byte will be an identifier that when compared to the bytes before and after it,
will identify the byte as part of the three-byte Unsolicited Status Update (USU) message.
The remaining 4 bits (3, 2, 1, 0) will contain the information that is being passed to the
host from the printer.
The lower 4 bits of the first two bytes, when examined as continuous bits of a single
number, identify the sensor or state for which USU message is reporting a change. The
lower 4 bits of the last byte will identify the state that is being reported to the host.
BIT
7 6 5 4 3 2 1 0
Byte ( 1 ) 1 0 0 1 x x x x
Byte ( 2 ) 1 0 1 0 y y y y
Byte ( 3 ) 1 0 1 1 z z z z
Commands 6-205
The host can determine if any unsolicited 3-byte sequence from the printer is a USU
message by checking the upper 4 bits of the three bytes received. If the upper 4 bits
match those of the USU message, then the remaining lower 4 bits are to be interpreted as
the information bits of a USU message.
The information bits of a USU message are to be interpreted as follows:
• The lower 4 bits of Byte (1) and Byte (2) should be combined in the following manner
to constitute an identifier value in the range of 0–255.
• This identifier then determines how the host should interpret the state value of the
lower 4 bits of Byte (3).
Combined Bits from Byte (1) and Byte (2) in high bit to low bit order:
7 6 5 4 3 2 1 0
x x x x y y y y
The purpose of the transmission after power-up is to handle the case of the printer
entering an error state that requires a reset, or power-cycle of the printer to correct it.
Unless the current status of Sensor and State information is transmitted to the host, the
controlling software on the host might be unaware of any changes in status resulting
from the reset or power-cycle. The host software would remain in an error state unless it
polled the printer for status information.
ASCII GS H n
Hexadecimal 1D 48 n
Decimal 29 72 n
Value of n Printing position
• 0—Not printed (Default)
• 1—Above the bar code
• 2—Below the bar code
• 3—Both above and below the bar code
This command prints HRI (Human Readable Interface) characters above or below the
bar code.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H48) & Chr$(n)
ASCII GS f n
Hexadecimal 1D 66 n
Decimal 29 102 n
Value of n Pitch
• 0—Standard Pitch at 15.2 CPI on receipt (Default)
• 1—Compressed Pitch at 19 CPI on receipt
Commands 6-211
This command selects standard or compressed font for printing Bar Code characters.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H66) & Chr$(n)
ASCII GS h n
Hexadecimal 1D 68 n
Decimal 29 104 n
Value of n Number of dots
Range of n 1–255
Default 162
This command sets the bar code height to n dots or n/8 mm (n/203 inch) for receipt.
Select Bar Code Height is not available in GS1 databar.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H68) & Chr$(n)
This command selects the bar code type and prints a bar code for the ASCII characters
entered. If the width of the bar code exceeds one line, the bar code is not printed.
6-212 Commands
There are two variations to this command. The first variation uses a NUL character to
terminate the string; the second uses a length byte at the beginning of the string to
compensate for the Code 128 bar code, which can accept a NUL character as part of the
data. The second variation the length of byte is specified at the beginning of the string.
Fixed-length codes can be aligned left, center, or right using the Align Positions
command (1B 61). Variable-length codes are always center aligned in 7193 Emulation.
The check digit is calculated for UPC and JAN (EAN) codes if it is not sent from the host
computer. Six-character zero-suppressed UPC-E tags are generated from full 11 or 12
characters sent from the host computer according to standard UPC-E rules. Start/Stop
characters are added for Code 39 if they are not included.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H6B) & Chr$(m) & "123456789012" &
Chr$(0)
The above command will print the number above or below the bar code, depending on
which parameter for m is specified.
Exceptions
• Illegal data cancels this command.
• The command is valid only at the beginning of a line.
• PDF417 and Code 93 are only available in 7194 Native Mode.
Note: For GS1 DataBar, in the case of barcode (except Expanded and Expanded
Stacked), FW automatically adds the application as identifier(AI) & check digit(C/D).
Then n (length) is 13 (fixed length).
In order to express AI in HRI, AI is surrounded by the bracket and printed. Because this
parenthesis needs to distinguish from the usual data, it is necessary to use special data.
In the case of Expanded and Expanded stacked, C/D is used for only HRI characters
printing. Even if the input data including wrong C/D is received, the printer prints the
data without correction.
6-216 Commands
In the case of Expanded and Expanded stacked, when attaching the bracket to AI in
HRI, it is necessary to transmit data as follows.
ASCII GS w n
Hexadecimal 1D 77 n
Decimal 29 119 n
Value of n 1, 2, 3, 4, 5
Default 3 for receipt
Formulas
n + 1/8 mm (n + 1/203 inch) for receipt.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H77) & Chr$(n)
Caution: When selecting a bar code width of 1 the readability rate is impacted.
Commands 6-217
ASCII GS (k pL pH cn fn n1 n2)
Hexadecimal 1D 28 6B pL pH cn fn n1 n2
Decimal 29 40 107 pL pH cn fn n1 n2
Values of pL, pH specify (pL + pH × 256) as the number of bytes after pH
pL,pH (cn, fn, and [parameters]). (pL + pH × 256) = 4 So (pL = 4, pH = 0)
Value of cn 49
Value of fn 65
Value of n1 • 49—selects model 1 Code conversion processing
• 50—selects model 2 conversion processing
• 200—select Micro QR Code
Value of n2 0
Default n1 = 50, n2 = 0
ASCII GS (k pL pH cn fn n
Hexadecimal 1D 28 6B pL pH cn fn n
Decimal 29 40 107 pL pH cn fn n
Values of pL, pH specify (pL + pH × 256) as the number of bytes after pH
pL,pH (cn, fn, and [parameters]).
(pL + pH × 256) = 3; so (pL = 4, pH = 0)
Value of cn 49
Value of fn 67
Value of n 1–16
Default n 4
6-218 Commands
This command sets the size of the module for QR Code as n dots. The user must secure
the quiet zone (left, right, upward, and downward space areas defined by the QR Code
symbol specifications) for QR Code printing. Quiet zone is defined as 4 cells in standard
and MicroQR code versions.
Note: The recommended module size is 4 dots and over. But if n = 4, this printer cannot
print maximum data bar code because the bar code width will be over the printable
width. So, the default value of n is defined to 3 in this version.
ASCII GS (k pL pH cn fn n
Hexadecimal 1D 28 6B pL pH cn fn n
Decimal 29 40 107 pL pH cn fn n
Values of pL, pH specify (pL + pH × 256) as the number of bytes after pH
pL,pH (cn, fn, and [parameters]).
(pL + pH × 256) = 3; so (pL = 3, pH = 0)
Value of cn 49
Value of fn 69
Value of n • 48—Select error correction level L 7 %
• 49—Select error correction level M 15 %
• 50—Select error correction level Q 25 %
• 51—Select error correction level H 30 %
ASCII GS (k pL pH cn fn m d1...dk
Hexadecimal 1D 28 6B pL pH cn fn m d1...dk
Decimal 29 40 107 pL pH cn fn m d1...dk
Range of pL 4–255; here 4 ≤ (pL + pH × 256) ≤ 7092
Range of pH 0–27
Value of cn 49
Value of fn 80
Value of m 48
Range of d 0–255
Value of k (pL + pH × 256) – 3
This command stores the QR Code symbol data (d1...dk) into the symbol storage area
(RAM).
ASCII GS (k pL pH cn fn m
Hexadecimal 1D 28 6B pL pH cn fn m
Decimal 29 40 107 pL pH cn fn m
Values of pL, pL, pH specify (pL + pH × 256) as the number of bytes after pH
pH (cn, fn, and [parameters]).
(pL + pH × 256) = 3; so (pL = 3, pH = 0)
Value of cn 49
Value of fn 81
Value of m 48
This command encodes and prints the QR Code symbol data in the symbol storage area
with GS ( k
Note: User must secure the quiet zone (left, right, upward, and downward space areas
defined by the QR Code symbol specifications) for QR Code printing. In case of 7167,
QR Code format cannot be printed on the slip.
6-220 Commands
ASCII GS (k pL pH cn fn m
Hexadecimal 1D 28 6B pL pH cn fn m
Decimal 29 40 107 pL pH cn fn m
Values of pL, pL, pH specify (pL + pH ×256) as the number of bytes after pH
pH (cn, fn, and [parameters]).
(pL + pH × 256) = 3; so (pL = 3, pH = 0)
Value of cn 49
Value of fn 82
Value of m 48
This command allows the printer to transmit the size information for the encoded QR
Code symbol data in the symbol storage area.
Header 37 55 1 byte
Identifier 36 54 1 byte
Horizontal size 30–39 48–57 1–5 bytes
Separator 1F 31 1 byte
Vertical Size 30–39 48–57 1–5 bytes
Separator 1F 31 1 byte
Fixed Value 31 49 1 byte
Separator 1F 31 1 byte
Other information 30 or 31 48 or 49 1 byte
NULL 00 0 1 byte
Note: From the table above, Other information represents the possibility of printing the
QR Code.
Other Information
• 0x30—printing is possible.
• 0x31—printing is impossible.
Commands 6-221
Horizontal and vertical sizes are specified as ASCII value of received byte. They can be
obtained by following equations:
• Horizontal size—number of cells in Horizontal Direction × Symbol size specified by the
command 1D 28 6B 03 00 31 43 n.
• Vertical size—number of cells in Vertical Direction × Symbol size specified by the
command 1D 28 6B 03 00 31 43 n.
Example: If Symbol size is specified as 10 by the command of 1D 28 6B 03 00 31 43
n and number of pixel in horizontal direction is 21, then horizontal size will be 10 * 21 =
210. So the output of the printer will be 37 36 32 31 30 1f 32 31 30 1f 31 1f 30
00.
Limitations
Page mode is only implemented on the receipt station in 7194 Native Mode only.
ASCII FF
Hexadecimal 0C
Decimal 12
In this mode, the processed data is printed and the printer returns to Standard Mode.
The developed data is deleted after being printed.
Example:
MSComm1.Output = Chr$(&H0C)
Exceptions
This command is enabled only in Page Mode.
6-222 Commands
ASCII CAN
Hexadecimal 18
Decimal 24
This command deletes all the data to be printed in the page area. Any data from the
previously selected page area that is also part of the current data to be printed is deleted.
This command has the same code as the Open Form command, which is performed
when the printer is not in Page Mode.
Example:
MSComm1.Output = Chr$(&H18)
Exceptions
This command is only used in Page Mode.
ASCII ESC FF
Hexadecimal 1B 0C
Decimal 27 12
This command collectively prints all buffered data in the printing area. After printing,
the printer does not clear the buffered data and sets values for Select Print Direction in
Page Mode (1B 54 n) and Set Print Area in Page Mode (1B 57…), and sets the position
for buffering character data.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H0C)
Exceptions
This command is enabled only in Page Mode.
ASCII ESC L
Hexadecimal 1B 4C
Decimal 27 76
Commands 6-223
This command switches from Standard Mode to Page Mode. After printing has been
completed either by the Print and Return to Standard Mode (FF) command or Select
Standard Mode (1B 53) the printer returns to Standard Mode. The developed data is
deleted after being printed.
This command sets the position where data is buffered to the position specified by Select
Print Direction in Page Mode (1B 54) within the printing area defined by Set Print
Area in Page Mode (1B 57).
This command switches the settings for the following commands, which values can be
set independently in Standard Mode and Page Mode, to those for Page Mode:
• Set Right-Side Character Spacing (1B 20)
• Select 1/6-Inch Line Spacing (1B 32)
• Set Line Spacing (1B 33)
It is possible only to set values for the following commands in Page Mode. These
commands are not executed.
• Select or Cancel 90 Degree Clockwise Rotation (1B 56)
• Select Justification (1B 61)
• Select or Cancel Upside Down Printing (1B 7B)
• Set Left Margin (1D 4C)
• Set Print Area Width (1D 57)
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H4C)
Exceptions
The command is enabled only when it is entered at the beginning of a line. The
command has no effect if Page Mode has previously been selected. In 7193 Emulation
Mode, (1B 4C…) is used for double density graphics.
ASCII ESC S
Hexadecimal 1B 53
Decimal 27 83
This command switches from Page Mode to Standard Mode. In switching from Page
Mode to Standard Mode, data buffered in Page Mode is cleared, the printing area set by
Set Print Area in Page Mode (1B 57) is initialized, and the print position is set to the
beginning of the line.
6-224 Commands
This command switches the settings for the following commands (the values for these
commands can be set independently in Standard Mode and Page Mode) to those for
Standard Mode:
• Set Right-Side Character Spacing (1B 20)
• Select 1/6 Inch Line Spacing (1B 32)
• Set Line Spacing (1B 33)
Standard Mode is automatically selected when power is turned on, the printer is reset,
or the Initialize Printer command (1B 40) is used.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H53)
Exceptions
This command is effective only in Page Mode.
ASCII ESC T n
Hexadecimal 1B 54 n
Decimal 27 84 n
Value of n Start position
• 0—Upper left corner proceeding across page to the right
(A)
• 1—Lower left corner proceeding up the page (B)
• 2—Lower right corner proceeding across page to the left
(upside down) (C)
• 3–Upper right corner proceeding down page (D)
The command can be sent multiple times so that several different print areas, aligned in
different print directions, can be developed in the printer’s page buffer before being
printed by the Print and Return to Standard mode command (0C).
Default
0 (Upper left corner proceeding across page to the right)
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H54) & Chr$(n)
Exceptions
This command is valid only in Page Mode and is ignored if the value of n is out of the
specified range.
This command sets the position and size of the printing area in Page Mode. The
command can be sent multiple times so that several different print areas, aligned in
different print directions, and can be developed in the printer’s page buffer before being
printed by the Print and Return to Standard mode command (0C).
The defaults are equal to an origin of 0,0 and a size of 576x576. This command is allowed
in any mode.
Formulas
The starting position of the print area is the upper left of the area to be printed (x0, y0).
The length of the area to be printed in the y direction is set to dy inches. The length of
the area to be printed in the x direction is set to dx inches. Use the equations to
determine the value of x0, y0, dx, and dy.
• x0 = [(n1 + n2 x 256) x (horizontal direction of the fundamental calculation pitch)]
• y0 = [(n3 + n4 x 256) x (vertical direction of the fundamental calculation pitch)]
• dx = [(n5 + n6 x 256) x (horizontal direction of the fundamental calculation pitch)]
• dy = [(n7 + n8 x 256) x (vertical direction of the fundamental calculation pitch)]
Note: Refer to the illustration for a graphic representation of the printing area. For
more information about the fundamental calculation pitch, see the Set Fundamental
Calculation Pitch command (1D 50).
Keep the following notes in mind for this command:
• The fundamental calculation pitch depends on the vertical or horizontal direction.
• The maximum printable area in the x direction is 576/203 inches.
• The maximum printable area in the y direction is 2000/203 inches.
First the printer must be set to page mode, then the following command should be sent.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H57) & Chr$(&H40) & Chr$(&H0) &
Chr$(&H40) & Chr$(&H0) & Chr$(&H40) & Chr$(&H1) & Chr$(&H40) & Chr$(&H1)
Exception
This command is effective only in Page Mode.
ASCII GS $ nL nH
Hexadecimal 1D 24 nL nH
Decimal 29 36 nL nH
Commands 6-227
Formula
[(nL + nH x 256) x (vertical or horizontal motion unit)] inches.
This command sets the absolute vertical print starting position for buffer character data
in Page Mode.
The vertical or horizontal motion unit for the paper roll is used and the horizontal
starting buffer position does not move. The reference starting position is set by Select
Print Direction in Page Mode (1B 54). This sets the absolute position in the vertical
direction when the starting position is set to the upper left or lower right; and sets the
absolute position in the horizontal direction when the starting position is set to the
upper right or lower left. The horizontal and vertical motion unit are specified by the Set
Horizontal and Vertical Minimum Motion Units (1D 50) command. The Set Horizontal
and Vertical Minimum Motion Units (1D 50) command can be used to change the
horizontal and vertical motion unit.
However, the value cannot be less than the minimum horizontal movement amount,
and it must be in even units of the minimum horizontal movement amount.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H24) & Chr$(nL) & Chr$(nH)
Exceptions
This command is effective only in Page Mode. If the [(nL + nH x 256) x (vertical or
horizontal motion unit)] exceeds the specified printing area, this command is ignored.
ASCII GS \ nL nH
Hexadecimal 1D 5C nL nH
Decimal 29 92 nL nH
This command sets the relative vertical print starting position from the current position.
This command can also change the horizontal and vertical motion unit. The unit of
horizontal and vertical motion is specified by this command.
This command functions as follows, depending on the print starting position set by
Select Print Direction in Page Mode (1B 54):
• When the starting position is set to the upper left or lower left of the printing area,
the vertical motion unit (y) is used.
• When the starting position is set to the upper right or lower left of the printing area,
the horizontal motion unit (x) is used.
6-228 Commands
Value
The value for the horizontal and vertical movement cannot be less than the minimum
horizontal movement amount, and must be in even units of the minimum horizontal
movement amount.
Formulas
The distance from the current position is set to [(nL + nH x 256) x vertical or horizontal
motion unit] inches. The amount of movement is calculated only for the receipt.
When pitch n is specified to the movement downward:
nL + nH x 256 = n
When pitch n is specified to the movement upward (negative direction), use the
complement of 65536.
When pitch n is specified to the movement upward:
nL + nH x 256 – 65536 – N
Note: This command is used only in Page Mode, otherwise it is ignored. Any setting
that exceeds the specified printing area is ignored.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H5C) & Chr$(nL) & Chr$(nH)
Macro Commands
Macro commands are used to select and perform a user-defined sequence of printer
operations.
ASCII GS :
Hexadecimal 1D 3A
Decimal 29 58
This command starts or ends macro definition. Macro definition begins when this
command is received during normal operation and ends when this command is
received during macro definition. The macro definition is cleared, during definition of
the macro, when the Execute Macro (1D 5E) command is received.
Normal printing occurs while the macro is defined. When the power is turned on, the
macro is not defined. The defined contents of the macro are not cleared by the Initialize
Printer (1B 40), thus, the Initialize Printer (1B 40) command may be used as part of
the macro definition.
Commands 6-229
If the printer receives a second Select or Cancel Macro Definition (1D 3A) command
immediately after previously receiving a Select or Cancel Macro Definition (1D 3A) the
printer remains in the macro undefined state.
Formulas
The contents of the macro can be defined up to 2048 bytes.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H3A)
Exceptions
If the macro definition exceeds 2048 bytes, excess data is not stored. This command is
available in 7194 Native Mode only.
Execute Macro
ASCII GS ^ r t m
Hexadecimal 1D 5E r t m
Decimal 29 94 r t m
Value of r The number of times to execute the macro.
Value of t The waiting time for executing the macro.
Value of m Macro executing mode.
The Macro executes r times
continuously with waiting time
• 0 (Bit0)
specified by t.
This command executes a macro. After waiting for a specified period the LED indicators
blink and the printer waits for the Paper Feed Button to be pressed. After the button is
pressed, the printer executes the macro once. The printer repeats this operation the
number of specified times.
When the macro is executed by pressing the Paper Feed Button (m = 1), paper cannot be
fed by using the Paper Feed Button.
6-230 Commands
Formulas
The waiting time is t x 100 msec for every macro execution. m specifies macro executing
mode when the LSB (Least significant bit) m = 0. The macro executes r times
continuously at the interval specified by t when the LSB (Least Significant Bit) of m = 1.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H5E) & Chr$(r) & Chr$(t) & Chr$(m)
Exceptions
If this command is received while a macro is being defined, the macro definition is
aborted and the definition is cleared. If the macro is not defined or if r is 0, nothing is
executed. This command is available in 7194 Native Mode only.
This command writes m bytes of data (d1… dm) to the User Data Storage Flash Page at
the address specified. The printer waits for m bytes of data following the 3-byte address
(a0 a1 a2), addr. If any of the memory locations addressed by this command are not
currently erased, the command is not executed.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H27) & Chr$(&H5) & Chr$(&H0) &
Chr$(&H0) & Chr$(&H0) & "Hello"
The command above writes the word Hello to the User Data Storage Flash Page.
Commands 6-231
ASCII ESC 4 m a0 a1 a2
Hexadecimal 1B 34 m a0 a1 a2
Decimal 27 52 m a0 a1 a2
Value of m Number of bytes to be read
Note: 0 refers to 256 bytes
Range of m 0–255
Value of a 3-byte address
Note: a0 is high byte address)
Range of a 0–255
This command reads m bytes of data from the User Data Storage Flash Page at the
address (a0 a1 a2) specified.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H34) & Chr$(&H5) & Chr$(&H0) &
Chr$(&H0) & Chr$(&H0)
6-232 Commands
ASCII GS " n
Hexadecimal 1D 22 n
Decimal 29 34 n
Value of m 48–51
This command specifies whether to load the logos or user-defined characters to Flash
Memory or to RAM (volatile memory). The selection remains in effect until it is changed
via this command or until the power cycles.
• n = 48 (ASCII n = 0)
This setting loads active logo to RAM only. This is used to print a special logo but
not have it take up Flash Memory. A logo defined following this command is not
preserved over a power cycle.
• n = 49 (ASCII n = 1)
This setting loads active logo to Flash Memory. This is the default condition for logo
Flash storage. A logo defined following this command is stored in Flash Memory.
• n = 50 (ASCII n = 2)
This setting loads user-defined characters to RAM only. This is the default condition
for user-defined character storage. Any user-defined characters defined following
this command are not preserved over a power cycle.
• n = 51 (ASCII n = 3)
This setting loads user-defined characters to Flash Memory. An application must use
this command to store user-defined characters in Flash Memory. Any user-defined
characters defined following this command are stored in Flash Memory. A user-
defined character cannot be redefined in Flash Memory. The Flash Memory page
must be erased by an application before redefining user-defined characters. For
more information, see the Erase User Flash Sector (1D 40 n) command.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H22) & Chr$(n)
Commands 6-233
Flash Allocation
ASCII GS " U n1 n
Hexadecimal 1D 22 55 n1 n2
Decimal 29 34 85 n1 n2
Default Value of n1 1 (see below)
Default Value of n2 1 (see below)
• n1 is the number of 64k sectors used for logos and user-defined characters.
This command sets the allocation of Flash sectors between user data storage and
logos/user-defined characters. This allocation is saved in the EEPROM of the printer and
is saved across power cycles.
n1 + n2 <= 6 (3M)
0 5 64 KB 0 KB 320 KB
1 4 64 KB 64 KB 256 KB
2 3 64 KB 128 KB 192 KB
The 7167 has been configured at the factory with 512K, 1M or 2M of Flash memory. If n1
+ n2 is greater than the maximum number of sectors available, the command is ignored.
Reissuing this command with different parameters will erase all sectors.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H22) & Chr$(&H55) & Chr$(&Hn1) &
Chr$(Hn2)
Exception
This is command is available only in 7194 Native Mode
6-234 Commands
ASCII GS @ n
Hexadecimal 1D 40 n
Decimal 29 64 n
Value of n 49–50
This command erases a page of Flash Memory and sends a carriage return when the
operation is complete.
• n = 49 (ASCII n = 1)
This command erases all sectors available for user-defined characters and multiple
logos. The page should be erased in two situations—when the logo definition area is
full and an application is attempting to define new logos, and when an application
wants to replace one user-defined character set with another. In both cases, all logos
and character set definitions are erased and must be redefined.
• n = 50 (ASCII n = 2)
This command erases all sectors available for user data storage.
Note: While erasing Flash Memory, the printer disables all interrupts, including
communications. To provide feedback to the application, the printer responds to the
application when the erase is complete. After sending the Erase User Flash Sector
(1D 40 n) command, an application should wait for the response from the printer
before sending data. Otherwise, data will be lost. If an application is unable to
receive data, it should wait a minimum of five seconds after sending the Erase User
Flash Sector (1D 40 n) command before sending data.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H3F) & Chr$(n)
Value of m, n
m Function n Function
(Hex) (Hex)
m Function n Function
(Hex) (Hex)
m Function n Function
(Hex) (Hex)
m Function n Function
(Hex) (Hex)
32 Paper width 00 80 mm
01 58 mm
33 Knife option 00 Enable knife
01 Disable knife
02 Enable knife w / Buzzer(Low)
03 Enable knife w / Buzzer(High)
36 Max Power option 00 Term Pwr-High
01 NCR 75W Ext Pwr
02 Term Pwr-Low
03 NCR 60W Ext Pwr
37 Color Paper option 00 One Color Paper
01 Two Color Paper
3C Auto Reset timeout 00 Disable
01 10 Sec
02 20 Sec
03 30 Sec
04 40 Sec
05 50 Sec
06 60 Sec
3E FONT TYPE 00 FONT1, use original font. (all code page)
FONT2, use increased font size (CP473 and
01 CP858 only. Other code page use original
font.)
Commands 6-239
m Function n Function
(Hex) (Hex)
m Function n Function
(Hex) (Hex)
m Function n Function
(Hex) (Hex)
ASCII FS ! n
Hexadecimal 1C 21 n
Decimal 28 33 n
Value of n The character attribute for Asian character
6-242 Commands
Default of n: 0
This command selects character attribute for Asian characters.
The underline mode can be turned on or off by using FS – or ESC – also. The thickness
of underline is defined by FS – or ESC -, but it does not relate to character size.
Example:
MSComm1.Output = Chr$(&H1C) & Chr$(&H21) & Chr$(n)
ASCII FS - n
Hexadecimal 1C 2D n
Decimal 28 45 n
Value of n • 0—Cancel (Default)
• 1—1 dot height underline
• 2—2 dot height underline
ASCII FS 2 c1 c2 d1 … dn
Hexadecimal 1C 32 c1 c2 d1 … dn
Decimal 28 50 c1 c2 d1 … dn
Value of c1 Specifies the beginning Asian character
code
Value of c2 Specifies the end Asian character code
Value of d Image data
Range of F0 ≤ c1 ≤ F9,
Japanese
c1, c2 40 ≤ c2 ≤ 7E
(CP932)
80 ≤ c2 ≤ FC
A1 ≤ c1 ≤ A7
40 ≤ c2 ≤ 7E
Simplified
80 ≤ c2 ≤ A0
Chinese
AA ≤ c1 ≤ AF
(CP936)
A1 ≤ c2 ≤ FE
F8 ≤ c1 ≤ FE
A1 ≤ c2 ≤ FE
Korean c1 = C9
(CP949) c1 = FE
A1 ≤ c2 ≤ FE
81 ≤ c1 ≤ A0
Traditional FA ≤ c1 ≤ FE
Chinese 40 ≤ c2 ≤ 7E
(CP950) 80 ≤ c2 ≤ FE
C7 ≤ c1 ≤ C8
A1 ≤ c2 ≤ FE
The user-defined character will be cleared by ESC @ or powering off the printer. Each
character requires 72 bytes for character definition. The maximum number of user-
defined character is 100.
Example:
MSComm1.Output = Chr$(&H1C) & Chr$(&H32) & Chr$(&HF0) & Chr$(&H40) &
Chr$(d1) & Chr$(dn)
ASCII FS S n1 n2
Hexadecimal 1C 53 n1 n2
Decimal 28 83 n1 n2
Value of n1 Ignored (0)
Value of n2 Character right side spacing dots (1/203 inch)
Default of n2 1 for 1 byte character, 2 for 2 bytes character
This command sets the character right-side spacing for Asian characters.
The underline is valid on the space set by this command. ESC SP command is not valid
for Asian character code pages. Therefore, this command is used to set the character
right-side spacing for characters in Asian code page.
Example:
MSComm1.Output = Chr$(&H1C) & Chr$(&H53) & Chr$(0) & Chr$(100)
ASCII FS W n
Hexadecimal 1C 57 n
Decimal 28 87 n
Value of n The quadruple mode for Asian characters.
• 0 (Bit 0)—Quadruple mode off (Default)
• 1 (Bit 0)—Quadruple mode on
This command selects or cancels the quadruple mode for Asian characters. FS ! and GS
! also have control over character size. This latest received command is effective.
Example:
MSComm1.Output = Chr$(&H1C) & Chr$(&H57) & Chr$(n)
Commands 6-245
ASCII ESC [ }
Hexadecimal 1B 5B 7D
Decimal 27 91 125
This command puts the printer in Flash Download Mode, to prepare the printer to
receive commands controlling the downloading of objects into Flash Memory.
When this command is received, the printer leaves normal operation and can no longer
print transactions until the Reboot the Printer command (1D FF) is received or the
printer is rebooted. This command does not affect the current communication
parameters. Once the printer is in Flash Download Mode, this command is no longer
available.
Example:
MSComm1.Output = Chr$(&H1B) & Chr$(&H5B) & Chr$(&H7D)
Request Printer ID
ASCII GS NUL
Hexadecimal 1D 00
Decimal 29 0
6-246 Commands
This command returns ACK (06 hex) + 12 bytes ASCII string describing the Flash
Memory Boot Sector Firmware part number, for example, 189-1234567A.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H00)
ASCII GS SOH
Hexadecimal 1D 01
Decimal 29 1
This command returns the size of the Flash used. There may be 8, 16, or 32 sectors (64K
each) in Flash Memory.
This command assures that the firmware to be downloaded is the appropriate size for
Flash Memory. The value returned is the maximum sector number that can be accepted
by the Select Sector to Download (1D 02 n) command.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H01)
Exception
This command is available only in Download Mode.
ASCII GS STX n
Hexadecimal 1D 02 n
Decimal 29 2 n
Value of n The Flash sector to which the next download operation
applies.
Range of n 0–7 (512K)
0–15 (1 mB)
0–31 (2 mB)
Commands 6-247
This command selects the Flash sector (nn) for which the next download operation
applies. The values of the possible sector are restricted, depending upon the Flash part
type. The printer transmits an ACK if the sector number is acceptable or an NAK if the
sector number is not acceptable. Sector numbers start at 0.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H02) & Chr$(n)
Exception
This command is available only in Download Mode.
ASCII GS ACK
Hexadecimal 1D 06
Decimal 29 6
This command causes the printer to calculate the CRC for the currently selected sector
and transmits the result. This is performed normally after downloading a sector to verify
that the downloaded firmware is correct. The printer also calculates the CRC for each
sector during power up and halts the program if any sector is erroneous.
The printer transmits ACK if the calculated CRC is correct for the selected sector, and
transmits NAK if the CRC is incorrect or if no sector is selected.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H06)
ASCII GS BEL
Hexadecimal 1D 07
Decimal 29 7
This command returns the CRC calculated over the boot sector code space.
Formulas
ACK <low byte> <high byte>
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H07)
6-248 Commands
ASCII GS SO
Hexadecimal 1D 0E
Decimal 29 14
This command causes the entire Flash Memory (except the boot) to be erased. The
printer returns ACK if the command is successful; NAK if it is unsuccessful.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H0E)
Note: This command is available only in Download Mode.
ASCII GS SI
Hexadecimal 1D 0F
Decimal 29 15
This command returns the CRC calculated over the Flash firmware code space. The
format of the response is ACK <low byte> <high byte>.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H0F)
Commands 6-249
ASCII GS DLE n
Hexadecimal 1D 10 n
Decimal 29 16 n
Value and Range of n • 0–7 = 512K bytes Flash
• 0–15 = 1M bytes Flash
• 0–31 = 2M bytes Flash
This command erases the previously selected sector. The printer transmits ACK when the
sector has been erased. If the previous sector is not successfully erased, or if no sector
was selected, the printer transmits NAK.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&H10) & Chr$(n)
Exception
This command is available only in Download Mode.
This contains a start address (ah * 256 + al) and count (ch * 256 + cl) of binary
bytes to load into the selected sector, followed by that many bytes. The start address is
relative to the start of the sector. Addresses run from 0 to 64K.
6-250 Commands
The printer may return one of several responses. ACK means that the data was written
correctly and the host should transmit the next block. NAK means that, for some reason,
the data was not written correctly. This could mean that communications failed or that
the write to Flash failed. The alternatives seem to be to retry the block, or halt loading
and assume a hardware failure.
Range
The addresses run from 0 to 64K.
Exception
This command is available only in Download Mode.
ASCII GS (SPACE)
Hexadecimal 1D FF
Decimal 29 255
This command ends the load process and reboots the printer. Before executing this
command, the printer should have firmware loaded and external switches set to the
runtime settings. Application software for downloading should prompt the user to set
the external switches and confirm before sending this command. If the downloading
was started from a diagnostic, the reboot will cause the printer to reenter download
state unless the external switches are changed.
Example:
MSComm1.Output = Chr$(&H1D) & Chr$(&HFF)
Chapter 7: Reflashing the Printer Firmware
File Configurations
The following kinds of firmware loads can be sent to the printer:
• Boot Firmware
• Boot Firmware for Ethernet
• Main Firmware
• Single Byte Font
• Two Byte Receipt Font
• Two Byte Slip Font
The Single Byte Font file has a file extension of .sfn. It is the font used for OEM
Codepages such as 437, 850, 858, and so forth, which require only a single byte of data to
define the character to be printed. The Two Byte Font files (Separately Defined for Slip
& Receipt) have a file extension .dfn. These are used to define Code Pages 932 –
Japanese, 936 – Simplified Chinese, 949 – Korean, and 950 – Traditional Chinese.
It is very rare for the Single Byte Font to have to be updated. Since there is only enough
memory in the printer for one of the Two Byte Fonts to be loaded at any time, the Two
Byte Font will typically need to be loaded prior to installation in the appropriate
country.
Note: The Font files, both Single and Two byte, should be loaded into the printer after
the Boot and Main firmware have been loaded.
7-252 Reflashing the Printer Firmware
/m -
Download firmware main program.
/i -
Download firmware IPL program.
/l -
Download firmware IPL LAN program.
/a -
Download ANK font or combined ANK & CP932 font
for 7167, 7167-X115, 7167-X035, 7167-50X1/60X1, 7168, 7197,
7198, 740X-K59X, 734X-F306.
/s - Download ASIAN font for 7197, 740X-K59X , 734X-F306,
/rs - Download Receipt ASIAN Font for 7167 &
Receipt 2 Byte for 7168, 7198
/ss - Download Slip ASIAN font for 7167 & Slip 2 Byte for 7168
/sb - Download SBCS font for 734X-F307/7125, 734X-F309,
7649-F301, 7198-1X41/2X41, 7197-5X01/6X01, K8 , 734X-F308
/db - Download DBCS font for 734X-F307/7125, 734X-F309,
7649-F301, 7198-1X41/2X41, 7197-5X01/6X01 , 734X-F308
Note: This is only an example. The firmware version varies based on the printer and as
updates are provided.
To reflash a firmware into the printer, unzip the flash utility and the flash files being
used into a directory on the hard disk.
Summary
The Configuration Network setting page is controlled (respondent HTTP/1.0 and 1.1).
This page opens by starting a browser, and inputting directly IP address of the printer.
In this page, the settings of network of IP Addresses and others can be seen and be
changed.
Format: http ://(IP address for the printer)/
TCP/IP Setting
IP setting
Note: IP addresses that cannot be set with Ethernet model printer are the following:
• 255.255.255.255 (Broad cast address)
Default
Items Detail
value
SNMP Setting
Community Setting
IP Trap1 setting
Default
Items Detail
value
IP Trap2 setting
Default
Items Detail
value
Other Settings
Default
Items Detail
value
TCP 9100 Sets port number of TCP RAW. This port number range is
1024 to 65535 (expect 3001). When Ethernet RTC Protocol
setting is TCP, it is used by sending and receiving of Real Time
Command.
UDP 3000 Sets port number of UDP command. This port number range
is 1024 to 65535 (expect 3001). This is effective when Ethernet
RTC Protocol setting is UDP.
Ethernet setting
Default
Items Detail
value
MAC --- Shows MAC Address of the printer Ethernet interface. This
Address is the unique value for each Ethernet interface.
Physical Auto Selects connection Speed and Duplex.
Layer
8-266 Configuration Network
Reset Window
When the RESET button is pushed, the printer is reset. If the Configuration Network is
changed before pushing RESET, the change is not reflected in the printer. When
RESET&SUBMIT is pushed in each setting page, the change is reflected in the printer.
8-268 Configuration Network
When Get IP Address is DHCP and DHCP IP Address is 0.0.0.0, the printer
automatically gets the IP address, Subnet Mask and Default Gateway from DHCP server. If
the printer fails in the automatic acquisition of the IP address, the printer uses the same
IP address as the Manual mode.
Note: The DHCP IP address can be seen in the Diagnostics Form of the connected
printer.
Chapter 9: Configuration Wi-Fi Network
4. Through a Wi–Fi enabled device, look for printer SSID in the form of WFxxxxxxxx
where WF part is fixed and xxxxxxxx is the printer S/N found above. Left–click on
the SSID and select Connect. The example below shows available networks from a
Windows laptop.
9-270 Configuration Wi-Fi Network
2. Enter admin for both User Name and Password fields and select Log In.
After entering the User Name and Password, the following menu is displayed.
9-272 Configuration Wi-Fi Network
Client Settings
This menu is used to configure the printer to the infrastructure mode according to
existing network environment, like Access Point, Security, IP address, and so forth.
On the Client Settings menu, there are two options to configure the printer. Select an
Existing Network is an option to select the access point from the list of current existing
access points. Manual Configuration to join a Network is an option to manually fill in all
the necessary information in terms of the client settings.
Configuration Wi-Fi Network 9-273
The following menu is shown. Select Advanced Options to specify how the printer
IP address is to be assigned—DHCP or Static.
Depending on the type of security selected, various options will be displayed to allow
the user to enter information required for a particular type of security.
Note: Security information is obtained before setting up the printer.
• No Security—If No Security is selected, the following options are shown.
Security information required: EAP Type, EAP Username; EAP Password, Certificate
Configuration Wi-Fi Network 9-277
2. Choose each certificate and key file from the applicable folder and press Upload.
9-278 Configuration Wi-Fi Network
3. Fill in the necessary information indicated in the red rectangle and press Upload
Certificates.
Note: The format of each certificate file must be .der and the file size must be less
than 2 KB.
Once the certificate files are uploaded successfully, it pops up with a message that
says SUCCESS 3 files Uploaded.
Configuration Wi-Fi Network 9-279
4. Select Next on the Detail Client Settings Window and select Save on the
confirmation windows for all the settings.
A message is displayed.
Rebooting the printer activates the new settings. The printer beeps once it connects
to the network.
Configuration Wi-Fi Network 9-281
On Detail Client Settings Window, SSID, Channel, Security and DHCP setting are
available to set.
Configuration Wi-Fi Network 9-283
Once Next is selected on the Detail Client Settings Window, and after all the necessary
information are filled in, select Save on the confirmation window if all the settings are
correct. Select Apply Settings on the final window to apply the configuration.
9-284 Configuration Wi-Fi Network
After this message, rebooting the printer activates the new settings. The printer beeps
once it connects to the network. The printer SSID is configured as the access point.
Configuration Wi-Fi Network 9-285
Once Username and Password are filled in, Save & Apply makes the new settings
available.
Configuration Wi-Fi Network 9-287
Wifi Firmware
The setting page opens by starting a browser, and entering the IP address of the printer.
On this page, the Wifi module firmware can be updated.
Format: http://(IP address for the printer)/otafu.html
Before the Top Screen is displayed, User Name and Password are required.
In order to update the WiFi module, choose the relevant binary files and select Upload.
After this message, rebooting the printer activates the new firmware updated.
Appendix A: Specifications
Printing Specifications
Thermal Receipt Station
Power Requirements
The 7197 Series II printer receives power either from a host computer (integrated) or
from a separate in–line power supply (remote) which can be purchased separately.
Models receiving power from a power supply use one cable for communication and a
separate cable for power.
Maximum Current
Printing time Transaction Time
Voltage Station
(Peak) (RMS)
NCR Terminal Power–High Mode (Term Pwr–High)–This mode can be selected when
the printer is attached to an NCR terminal with an internal power supply.
Example: 7403, 7459, 7606, 7616, and so forth.
Maximum Current
Printing time Transaction Time
Voltage Station
(Peak) (RMS)
When NCR 60W external power supply is used, select (NCR 60W Ext Pwr) mode.
Specifications A-293
Environmental Conditions
Operating Temperature 5°C to 20°C (40°F to 120°F), models with knife
Note: Actual maximum operating temperature of printer is subjected to
external power supply adaptor unit used. If a power supply adaptor with a
lower operating temperature is selected, the operating temperature of the
printer will be limited to the operating temperature of that power supply.
Operating Humidity 5% to 90%
Condensation may occur when equipment is transferred from cold to warm
areas after shipment. The printer's design permits operation after drying
out and stabilizing at room temperature.
Reliability
The numbers in the table refer to the Mean Cycle Between Failure (MCBF) for the items
indicated.
Note: Reliability statistics are based on averages exhibited under lab conditions and do
not constitute a warranty.
Ambient Temperature
Amount of
Solid 25° C 35° C 50° C
Coverage
Flash Utility is used to flash the firmware and the font files to the printer.
Note: For the detailed procedure, please refer to the NCR Printer Flash Utility Owners
Guide from the NCR web site, http://www5.ncr.com/support/support_drivers_
patches.asp?Class=External\Peripherals\Printer\FlashUtility\display.
Appendix C: Lean Receipt Utility
Lean Receipt Utility is used to set the printer ECO setting from the utility.
Note: For the detailed procedure, please refer to the NCR Printer Lean Receipt Utility
Owners Guide from the NCR web site, http://www5.ncr.com/support/support_drivers_
patches.asp?Class=External\Peripherals\Printer\LeanReceiptUtility\display.
Appendix D: Print Characteristics
Character Size
This section shows the dot pattern for characters printed on the receipt station.
Receipt Station
The following two illustrations show the dot patterns of sample characters for standard
pitch (15.6 CPI) and compressed pitch (20.3 CPI).
Note: Compressed pitch uses fewer dots horizontally than standard pitch.
Standard Pitch
D-300 Print Characteristics
Compressed Pitch
Print Zones
This section shows the printable area for the receipt station.
Receipt Station
For 80-mm Paper
The receipt station centers characters (standard pitch and compressed pitch) and
graphics on a receipt with a width of 27 dots or 80 mm (3.15 inches).
• Standard pitch: 13 x 24 dots in character cell, 44 characters (columns) per line
• Compressed pitch: 10 x 24 dots in character cell, 56 characters (columns) per line
• Double byte character: 24 x 24 dots in character cell, 24 characters (columns) per line
• Graphics: 576 addressable bits
Print Characteristics D-301
The minimum print line height is 24 dots for characters and 24 dots for graphics. The
standard print line height is 27 dots or 3.38 mm (0.133 inches) for characters (with three
extra dot rows). Refer to the illustration below (not to scale).
Outline
7197 SII supports printing of Thai characters. Code Page 874 (Thai) supports Thai
character, but, some characters of them define only a part of one character. Actual Thai
character is made up of a combination of some characters (maximum 4 characters in
CP 874) for one Thai character. 7197 SII printer supports the function which synthesizes
Thai character from Code Page 874 characters.
E-304 Thai Code Page Function
Character Types
Function Notes
This function supports standard pitch font and compressed pitch font. Thai character
height is 34 dots. The below command functions change, and are different from other
code pages.
The line pitch is changed by below commands because the code page is changed.
Limitation
The unicode command is ignored under the Thai code page function. When the Asian
mode = ON, the Thai character image is not synthesized. Each character is printed
separately.
Appendix F: Arabic font support
Outline
7197 SII supports supports several features of Arabic font, such as the following:
• Contextual forms
• Word ligatures
• Reverse the Arabic strings
These features can be achieved based on the proportional font and if they are available
according to the following conditions:
• Arabic Proportional font exist in DBCS font area.
• Asian Mode is disabled.
• Codepage 1256 is selected or Arabic characters (0600–06FF) are specified in Unicode
mode.
If Arabic proportional font does not exist in the DBCS font area, the above–mentioned
features are not available, and codepage1256 isolated characters are printed in fixed
pitch.
Contextual Forms
Arabic letters have contextual forms, depending on surrounding letters in the same
word: a typical–three letter word will start with a letter in initial form, followed by a
letter in medial form and, finally, by a letter in final form
Curly writing is a way to write a word with connection to all the characters in that
word. This feature is supported in contextual forms.
Word Ligatures
Arabic Presentation Forms-A has a few characters defined as word ligatures for terms
frequently used in formulaic expressions in Arabic. By way of example, the common
ampersand (&) represents the conjunctive word and. The ampersand symbol is a
ligature.
F-310 Arabic font support
Proportional Font
The printer has the following resident proportional characters for Arabic functions
(Unicode base).
Receiving data
Limitations
Due to the features of Arabic font, there are several limitations in terms of the character
attributes. Refer to the command description of Print Characteristic Commands in
detail.
The following table contains a list of commands which are ignored if the command is
sent in the middle of a line that includes an Arabic character.
Character Sets
The following pages show the character sets.
• PC Code Page 437 (US)
• PC Code Page 850 (Multilingual)
• PC Code Page 852 (Slavic)
• PC Code Page 860 (Portuguese)
• PC Code Page 862 (Hebrew)
• PC Code Page 863 (French-Canadian)
• PC Code Page 864 (Arabic)
• PC Code Page 865 (Nordic)
• PC Code Page 866 (Cyrillic)
• PC Code Page 1252 (Windows Latin #1)
• PC Code Page 1256 (Windows Arabic)
• PC Code Page Katakana
• Hungary
• PC Code Page 874 (Thai)
• Space Page
• Code Page 932
• Code Page 936
• Code Page 949
• Code Page 950
Arabic font support F-317
Code Page 950 Code Page 437, 850, 852 and 858
F-318 Arabic font support