Star Micronics SP298 User Manual

SLIP PRINTER
SP298 SERIES
USERS MANUAL
MODE D’EMPLOI
BEDIENUNGSANLEITUNG
Federal Communications Commission
Radio Frequency Interference
Statement
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial envi­ronment. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to corect the interference at his own expense.
For compliance with the Federal Noise Interference Standard, this equipment requires a shielded cable.
This statement will be applied only for the printers marketed in U.S.A.
Statement of
The Canadian Department of Communications
Radio Interference Regulations
This digital apparatus does not exceed the Class A limits for radio noise emissions from digital apparatus set out in the Radio Interference Regulations of the Canadian Department of Com­munications.
Le présent appareil numérique n’émet pas de bruits radioélectiques dépassant les limites appli­cables aux appareils numériques de la classe A prescrites dans le Règlement sur le brouillage radioélectrique édicté par le ministère des Communications du Canada.
The above statement applies only to printers marketed in Canada.
CE
Manufacturer’s Declaration of Conformity
EC Council Directive 89/336/EEC of 3 May 1989
This product, has been designed and manufactured in accordance with the International Standards EN 50081-1/01.92 and EN 50082-1/01.92, following the provisions of the Electro Magnetic Compatibility Directive of the European Communi­ties as of May 1989.
EC Council Directive 73/23/EEC and 93/68/EEC of 22 July 1993
This product, has been designed and manufactured in accordance with the International Standards EN 60950, following the provisions of the Low Voltage Directive of the European Communities as of July 1993.
The above statement applies only to printers marketed in EU.
Trademark acknowledgments
SP298, AutoSide Loading : Star Micronics Co. Ltd. ESC/POS, TM-295, TM-290 : Seiko Epson Corporation
Notice
All rights reserved. Reproduction of any part of this manual in any form whatsoever, without STAR’s express per­mission, is strictly forbidden.
The contents of this manual are subject to change without notice.
All efforts have been made to ensure the accuracy of the contents of this manual at the time of printing. However, should any errors be found, STAR would greatly appreciate being informed of them.
The above notwithstanding, STAR can assume no responsibility for any errors in this manual.
Copyright 1998 Star Micronics Co., Ltd.
TABLE OF CONTENTS
Chapter 1: Printer Setup ............................................................................. 1
Choosing a place for the printer ................................................. 1
Unpacking the printer ................................................................. 2
Removing the protective materials ............................................. 2
General guide ............................................................................. 3
Removing the printer cover ........................................................ 4
Installing the ribbon cassette ...................................................... 4
Removing the ribbon cassette ..................................................... 6
Connecting to a power outlet and turning power on and off ...... 6
Connecting to your host computer ............................................. 8
Connecting to a peripheral unit ................................................ 10
Inserting the paper into the printer ........................................... 11
AutoSide Loading ................................................................. 12
Chapter 2: Control Panel Operations ...................................................... 14
Indicator lights .......................................................................... 14
Buttons ...................................................................................... 15
Producing a test print ................................................................ 15
Adjusting the dot alignment ..................................................... 15
Hexadecimal dump ................................................................... 17
Errors ........................................................................................ 18
Chapter 3: Command Summary .............................................................. 20
Star Mode Commands .............................................................. 20
ESC/POS Mode Commands (TM-295 emulation).................... 25
ESC/POS Mode Commands (TM-290 emulation).................... 27
Appendix A: Specifications ......................................................................... 120
Appendix B: Making DIP Switch Settings................................................. 125
Appendix C: Memory Switch Settings....................................................... 129
Appendix D: Interface ................................................................................. 130
Appendix E: Peripheral Unit Driver Circuit............................................. 134
ENGLISH
Please access the following URL http://www.star-micronics.co.jp/service/sp_sup_e.htm for the latest revision of the manual.
ENGLISH
1
Chapter 1: Printer Setup
This chapter contains important information on setting up your printer. Be sure to read this chapter carefully before using the printer for the first time. In this chapter you will learn about:
Choosing a place for the printer
Unpacking and setting up the printer
Installing the ribbon cassette
Connecting to a host computer
Inserting paper
Choosing a place for the printer
Before actually unpacking the printer, you should take a few minutes to think about where you plan to use it. Remember the following points when doing this.
Choose a firm, level surface where the printer will not be exposed to vibration.
The power outlet you plan to connect to for power should be nearby and
unobstructed. Make sure that the printer is close enough to your host computer for you to
connect the two.
Make sure that the printer is not exposed to direct sunlight.
Make sure that the printer is well away from heaters and other sources of extreme heat.
Make sure that the surrounding area is clean, dry, and free of dust.
Make sure that the printer is connected to a reliable power outlet. It should
not be on the same electric circuit as copiers, refrigerators, or other appliances that cause power spikes.
Use a power outlet that matches the power rating noted on the label affixed to the bottom of your printer.
Make sure that the room where you are using the printer is not too humid.
Unpacking the printer
Check to make sure that the carton contains each of the items shown in the following illustration.
Printer
Ferrite core
Ribbon cassette
User’s Manual
Fastener
2
ENGLISH
If anything is missing, contact the dealer where you bought the printer and ask them to supply the missing part. Note that it is a good idea to keep the original box and all the packing materials just in case you need to pack the printer up again and send it somewhere at a later date.
Removing the protective materials
Four protective materials are inserted into the printer to protect components during shipping. Before using the printer, be sure to remove all protective materials as shown in the illustration.
tape
tape
3
ENGLISH
General guide
The following illustrations describe the major components, buttons, and connectors of your printer.
Printer cover Protects internal components.
Control panel Three indicators show
the printer status, and two switches provide control over printer functions.
Power switch Turns printer
power on and off.
Peripheral unit connector cover Covers a modular jack for connection of a cash drawer or other peripheral. Do not connect a telephone line to this connector.
Interface connector For connection to a host computer.
Document table Supports the paper fed
into the printer.
AC adapter cable connector For connection of the AC adapter. Never unplug the AC adapter while the printer is on.
Removing the printer cover
Push straight up on the ridged locations on the sides of the printer cover to
remove it from the printer.
T o replace the cov er , slide it back do wn into position. Gently press do wn on the cover until you hear it click securely into place.
4
ENGLISH
Installing the ribbon cassette
Make sure that the printer’s paper release is activated (the paper is not held
in place by the paper feed roller). If it cannot be determined whether or not the paper release is activated, turn on the printer and check if the
RELEASE indicator on the control panel is lit. If the indicator is not lit,
press the RELEASE button until the indicator lights up.
Make sure that the printer is turned off and unplugged from its power outlet.
Remove the printer cover.
5
ENGLISH
Remove the ribbon cassette from its packaging, and turn its knob in the
direction indicated by the arrow to take up any slack in the ribbon.
Holding the ribbon cassette so that the ribbon is facing down, install the cassette into the slip printer as shown in the illustration.
Press gently but firmly on the cassette until it snaps securely into place.
Rotate the knob on the cassette again to take up any slack.
Replace the printer cover.
Removing the ribbon cassette
Use the following procedure to remove the ribbon cassette from the slip printer when you want to replace it with a new one.
Make sure that the printer is turned off and unplugged from its power outlet.
Remove the printer cover.
Grasping the ribbon cassette as shown, gently pull it away from the printing
mechanism.
6
ENGLISH
Use the procedure under “Installing the ribbon cassette” on page 4 to install
a new cassette.
Connecting to a power outlet and turning power on and off
Plug the AC adapter that comes with the printer into the printer’s AC
adapter cable connector. Connect a three-prong grounded power cord to the power cord connector of
the AC adapter.
Note:
The printer does not come with a power cord, so you must pr o vide one yourself .
7
ENGLISH
Plug the other end of the power cord to a standard household wall outlet.
Use the power switch on the left side of the printer to turn power on and of f.
Important!
W e recommend that you unplug the printer from the power outlet whene ver you do not plan to use it for long periods. Because of this, you should locate the printer so that the power outlet it is plugged into is nearby and easy to access.
At this point you may want to perform a test of the printer to make sure it is working properly. See page 15 for details on how to test the printer.
Connecting to your host computer
The computer sends data to the printer through a cable to the printer’s interface (Serial Interface Connector Type: D-sub 25-pin or Parallel Interface Connector Type: 36-pin Centronics compatible). This printer does not come with a cable, so it is up to you to obtain one that suits your needs.
Important!
• The following instructions apply to the cable that is used with an IBM­compatible personal computer. Note that they do not apply to all types of computers and cables. If you are unsure about what type of cable you should use to connect with your computer, consult your dealer.
• Make sure that the printer is turned off and unplugged from the AC outlet and that the computer is turned off before connecting them.
Affix the larger ferrite core onto the cable as shown in the illustration
below.
8
ENGLISH
Serial Interface
Ferrite core (28 mm diameter)
Cable
9
ENGLISH
Pass the fastener through the ferrite core.
5 cm maximum
Fastener
Loop the fastener around the cable and lock it. Use scissors to cut off any excess.
Pull and cut
For a serial cable:
Plug one end of the serial cable into the serial port of your computer, and the other end of the cable into the socket on the back of the printer. Secure both connectors in place with the screws that are provided.
For a parallel cable:
Attach a ferrite core in the same way that one is attached to a serial cable.
Plug one end of the parallel cable into the parallel port of your computer. The parallel port should be labeled “Printer”, “Parallel”, “PRN”, “LPT1” or something similar.
Plug the other end of the parallel cable into the socket on the side of the printer and secure it in place with the clips.
Connecting to a peripheral unit
You can connect a peripheral unit to the printer using a modular plug. The following describes how to install the ferrite core and make the actual connection. See “Modular plug” on page 134 for details about the type of modular plug that is required. Note that this printer does not come with a modular plug or wire, so it is up to you to obtain one that suits your needs.
Important!
Make sure that the printer is turned off and unplugged from the AC outlet and that the computer is turned off before making connections.
Affix the smaller ferrite core onto the modular wire as shown in the illustration below.
Ferrite core (20 mm diameter)
10
ENGLISH
Connector
Cable
Pass the fastener through the ferrite core.
5 cm maximum
Fastener
11
ENGLISH
Loop the fastener around the cable and lock it. Use scissors to cut off any excess.
Plug one end of the modular cable into the modular jack of the peripheral.
Remove the modular jack cover from the back of the printer and plug the other end of the modular cable into the jack of the printer.
Inserting the paper into the printer
Use only the specified type of paper for this printer. Do not use inappropriate types of paper, or it could cause malfunction or damage of the printer.
The following procedure describes how to print on paper. Before trying to print, be sure to install a ribbon cassette into the printer using the procedure under “Installing the ribbon cassette” on page 4.
Make sure that the printer is plugged in and turned on.Check that the RELEASE indicator on the control panel is lit. If the
indicator is not lit, press the RELEASE button until the indicator lights up.
Pull and cut
Important!
Insertion and removal of paper should be done only when the printer is released condition (the paper is not held by paper feed roller).
Place a piece of the paper onto the printer’s document table and slide its
right edge into the printer. Printing will be performed on the side of the paper that is facing up (the one you can see), starting from the top of the paper.
Important!
Do not use wrinkled or curled paper. In case of multiple paper, neatly align the sheets.
Though paper can be inserted either from the front or side of the printer, front paper insertion may result in paper jams, depending on the condition of the paper. Because of this, it is recommended that you always insert paper from the side.
AutoSide Loading
This printer is equipped with paper sensors, so you do not have to perform any special procedure to align the location from which printing should start. Simply insert the paper into the printer and the sensor locates the top of the paper. The paper will be moved automatically into position for printing.
12
ENGLISH
Important!
When inserting the paper into the printer, make sure that there are at least 3 cm between the top edge of the paper and the print start position mark on the printer. Otherwise the paper sensor may not be able to correctly locate the top of the paper.
At least 3 cm
Print start position mark
13
ENGLISH
Push the right edge of the paper into the printer until it stops. At that time,
the PAPER OUT indicator will go out, and the printer mechanism will automatically align the paper for printing from the top.
Send data from your host computer to be printed on the paper.After printing, press the RELEASE button to automatically release the
paper.
Chapter 2: Control Panel Operations
The control panel gives you some push-button control over the slip printer operation. It also includes indicator lights, which tell you the current status of the printer at a glance.
14
ENGLISH
POWER RELEASE PAPER
OUT
FORWARD
REVERSE
RELEASE
Indicator lights
The following table describes the meaning of indicator lights when it is on, off, or flashing.
Indicator Light Off On Flashing
POWER
PAPER OUT
RELEASE
Power off Power on
Paper inserted No paper Insert paper prompt
Slip paper engaged Slip paper released Mechanical error
Dot Alignment Adjust
Mode
15
ENGLISH
Buttons
The following table describes the function of the three control buttons of the control panel.
Button Description
FORWARD
REVERSE
RELEASE
Feeds the slip paper forward, toward the back of the printer. One press feeds one line, holding down performs continuous feed.
Feeds the slip paper back, toward the front of the printer. One press feeds one line, holding down performs continuous feed.
Activates the printer’s paper release (the paper is not held in place by the paper feed roller). Clears recoverable errors.
Producing a test print
The following procedure can be used at any time to test the printer.
Turn on the printer and insert a piece of paper (page 6, 11).Turn off printer power.While holding down RELEASE, turn printer back on. Keep RELEASE
depressed for a few moments until the printer beeps and the printer test print starts.
The printer test will continue until it reaches the end of the paper.
Adjusting the dot alignment
You may never have to use the procedure described in this section, but after you have been using your printer for some time you may find that the dots of some graphics do not align correctly. For example, what should look like:
may come out looking like one of the following:
or like this
16
This is caused when mechanical parts of the printer get out of alignment. This happens only rarely and you may never experience it at all throughout the life of the printer. If you do have problems, use the following procedure to correct it.
Turn on the printer and insert a piece of paper.Turn off printer power.While holding down the control panel’s FORWARD and REVERSE
buttons, turn the printer back on to enter the Dot Alignment Adjust Mode, which is indicator by a flashing POWER indicator flashes.
Entering the Dot Alignment Adjust Mode causes seven blocks to be printed, each of which indicates a dot alignment setting, as shown below. An asterisk to the left of the blocks indicates which block is currently selected.
ENGLISH
Use FORWARD to specify the block that appears to have the best aligned
characters. Press FORWARD once to specify the first block, twice to specify the second block, and so on up to seven times to specify the sev enth block.
Warning beep will sound if you press FORWARD more than seven times.
After specifying a block, press REVERSE to register your selection and
exit the Dot Alignment Adjust Mode.
17
ENGLISH
Note:
The dots alignment adjustment setting you selected is stored in printer memory and a pattern is printed using the selected setting followed by the message “Adjust Complete!” The printer ejects the paper after printing is complete.
You setting is not registered if you turn off printer power before pressing REVERSE to exit the Dot Alignment Adjust Mode. If a paper feed error occurs during this mode, the printer ejects the paper and this mode is cancelled.
Hexadecimal dump
This procedure prints in hexadecimal format all codes (character codes and control codes) that are sent to the printer by the computer. The printer does not execute any control codes (such as 0A - linefeed), it just prints them out. The hexadecimal dump is useful when you are writing programs for printer control.
Turn on the printer and insert a piece of paper.Turn off printer power.While holding down the control panel’s FORWARD buttons, turn the
To exit the Hex Dump Mode, turn the printer off.
printer back on to enter the Hex Dump Mode.
Note:
The printer will not responde to any commands you send it while it is in the Hex Dump Mode.
Errors
There are three types of errors: recoverable errors that require some action by you before they clear, non-recoverable errors that require servicing by an authorized service provider, and a data receive error. Errors are indicated by and audible buzzer and the indicators.
Recoverable Errors
Error Type
Paper jam Carriage motor lockup Abnormal home position signal Abnormal timing signal
Non-recoverable Errors
Error Type
Indicators
POWER RELEASE PAPER OUT
Flashing
Indicators
POWER RELEASE PAPER OUT
18
ENGLISH
Recovery
Correct the cause of the problem and then press RELEASE.
Recovery
RAM read/write
Off On On
CPU lockup
Turn off the printer, then after waiting a few minutes, turn the printer back on. If the printer does not recover, contact your nearest service provider.
Data Receive Error
This type of error is caused whenever a problem is encountered during data receipt. The method used by the printer to recover from a data receive error depends on the current command mode.
Command mode Data Receive Error Recover Procedure
Star mode The printer prints a question mark.
ESC/POS mode
Memory switch 4-0=0 : The printer prints a question mark. Memory switch 4-0=1 : The printer discards the received data.
19
Paper Sensors
ENGLISH
The following paper sensors are available.
TOF Sensor
This top-of-form sensor detects the leading edge of the paper. When enabled, the TOF sensor detects when there is no paper present and stops printing.
BOF Sensor
This bottom-of-form sensor detects the trailing edge of the paper. When enabled, the BOF sensor detects when there is no paper present and printing is interrupted.
When the TOF or BOF sensor detects that no paper is present, the printer stops its motor after printing of 0 to a maximum of two more lines.
The BOF sensor detects a paper out condition whenever the distance between print head pin #9 and the trailing edge of the paper becomes 38.1 mm or less. In the Star Mode, this enters the print stop operation, but in the ESC/POS Mode, the print stop operation is not entered until the distance between print head pin #9 and the trailing edge of the paper becomes 27.3 mm or less.
When the auto clamp is enabled with Memory Switch 5-1, the auto clamp operation is performed about 0.7 second (initial default in Star Mode; ESC/POS Mode initial value is approximately 1 second) after the presence of paper is detected both by the TOF and BOF sensors, following a paper out condition. The auto clamp function is not affected by whether the TOF or BOF sensor is enabled or disabled.
The top of form positioning function is enabled with Memory Switch 5-0. Even if the auto clamp function is disabled, auto top of form positioning is performed if the paper is clamped when printing starts.
The PAPER OUT lamp flashes to request insertion of paper when the sensors detect there is no paper (when a sensor enabled by command detects no paper) after data is received by the printer. At that time, the user inserts paper, and printing begins after the sensor detects that paper is present.
Chapter 3: Command Summary
This printer supports two different command modes: the Star mode and the ESC/POS mode.
The Star mode emulates previous Star printers. The ESC/POS mode emulates the Epson TM-295 or TM-290 slip printer.
This chapter provides you with all of the commands supported by this printer.
Important!
Access the following URL for the latest version of this manual and for updates on supported commands: http://www.star-micronics.co.jp/service/ sp_sup_e.htm
Star Mode Commands
The following tables show the Star mode commands that are supported by this printer.
20
ENGLISH
Character Selection
Control Codes
<ESC> “R” <ESC> “/” “1”
<ESC> “/” <1> <ESC> “/” “0”
<ESC> “/” <0> <ESC> <GS> “t” <ESC> “M” 1B 4D Selects the 7 × 9 (half dot) font <ESC> “P” 1B 50 Selects the 5 × 9 (2 pulses per dot) font <ESC> “:” 1B 3A Selects the 5 × 9 (3 pulses per dot) font <ESC> <SP> <SO> 0E Sets the printing magnified double in character width <DC4> 14 Resets the printing magnified in character width
n
n
n
Hexadecimal
Codes
1B 52
n
1B 2F 31 1B 2F 01
1B 2F 30 1B 2F 00
1B 1D 74
n
1B 20
n
Function
Selects the international character set
Selects slash zero
Selects normal zero
Selects the character code table
Sets character spacing
21
ENGLISH
Control Codes
<ESC> “W” <ESC> “h” <ESC> “–” “1”
<ESC> “–” <1> <ESC> “–” “0”
<ESC> “–” <0> <ESC> “_” “1”
<ESC> “_” <1> <ESC> “_” “0”
<ESC> “_” <0> <ESC> “4” 1B 34 Selects highlight printing <ESC> “5” 1B 35 Cancels unhighlight printing <SI> 0F Inverted printing <DC2> 12 Cancels inverted printing <ESC> <RS> “i” “0”
<ESC> <RS> “i” <0> <ESC> <RS> “i” “1”
<ESC> <RS> “i” <1> <ESC> <RS> “i” “2”
<ESC> <RS> “i” <2> <ESC> “E” 1B 45 Selects emphasized printing <ESC> “F” 1B 46 Cancels emphasized printing <ESC> “U”
n
n
n
Hexadecimal
Codes
1B 57
n
1B 68
n
1B 2D 31 1B 2D 01
1B 2D 30 1B 2D 00
1B 5F 31 1B 5F 01
1B 5F 30 1B 5F 00
1B 1E 96 30 1B 1E 96 00
1B 1E 96 31 1B 1E 96 01
1B 1E 96 32 1B 1E 96 02
1B 55
n
Sets the magnification rate in character width Sets the magnification rate in character height
Selects underlining
Cancels underlining
Selects upperlining
Cancels upperlining
Cancels rotated print mode for text (Default)
Specifies rotated print mode for text with a 270˚ rotation.
Specifies rotated print mode for text with a 90˚ rotation.
Selects print direction
Function
Print Position Control
22
Control Codes
<LF> 0A Line feed <CR> 0D Carriage Return <ESC> “a” <HT> 09 Horizontal tab <ESC> “A” <ESC> “2” 1B 32 Sets n/72-inch line spacing <ESC> “z” “0”
<ESC> “z” <0> <ESC> “z” “1”
<ESC> “z” <1> <ESC> “0” 1B 30 Sets line spacing to 1/8-inch <ESC> “1” 1B 31 Sets line spacing to 7/72-inch <ESC> “J” <ESC> “j” <ESC> “3” <ESC> “y” 1B 79 <ESC> “D” <ESC> “l” <ESC> “Q” <ESC> <GS> “a” “0”
<ESC> <GS> “a” <0> <ESC> <GS> “a” “1”
<ESC> <GS> “a” <1> <ESC> <GS> “a” “2”
<ESC> <GS> “a” <2>
n
n
n
n
n
n
n1 n
n
2 ...
<0> 1B 44
Hexadecimal
Codes
1B 61 n
1B 41
n
1B 7A 30 1B 7A 00
1B 7A 31 1B 7A 01
1B 4A
n
1B 6A
n
1B 33
n n n1 n
2 ...
1B 6C
n
1B 51
n
1B 1D 61 30 1B 1D 61 00
1B 1D 61 31 1B 1D 61 01
1B 1D 61 32 1B 1D 61 02
Function
Feeds paper n lines
Defines n/72-inch line spacing
Sets line spacing to 1/12-inch
Sets line spacing to 1/6-inch
One time n/72-inch feed One time n/72-inch backfeed Sets line spacing to n/216-inch approximately Sets line spacing to n/144-inch
00 Sets horizontal tab stops
Sets left margin Sets right margin
Left justification (Default)
Centering
Right justification
ENGLISH
23
Dot Graphics Control
ENGLISH
Control Codes
<ESC> “K”
m1 m2 ...
<ESC> “L”
m1 m2 ...
n <0>
n1 n
2
Hexadecimal
Codes
1B 4B
n 00 m1 m
...
1B 4C
n1 n2
...
m1 m
2
8 dot normal density graphics
2
8 dot high density graphics
Function
Download Graphics Printing
Control Codes
<ESC> “&” <0> <ESC> “%” “1”
<ESC> “%” <1> <ESC> “%” “0”
<ESC> “%” <0>
n1 n2
.. 1B 26 00
Hexadecimal
Codes
n1 n2
1B 25 31 1B 25 01
1B 25 30 1B 25 00
Function
.. Defines download characters
Enables download character set
Disables download character set
Peripheral Device Control
Control Codes
<ESC> <BEL> <BEL> 07 Controls peripheral device #1 <FS> 1C Controls peripheral device #1 immediately <EM> 19 Controls peripheral device #2 immediately <SUB> 1A Controls peripheral device #2 immediately
n1 n2 1B 07 n1 n2
Hexadecimal
Codes
Function
Defines drive pulse width for peripheral device #1
Slip Control
24
Control Codes
<ESC> <SI> <ESC> <FF> <ESC> <VT> <EOT> 04 Slip status enquiry <ESC><EM>mn<LF><NUL> 1B 19
n
n m n
Hexadecimal
Codes
1B 0F
n
1B 0C
n
1B 0B
m n
n m
0A 00 Sets the wait time until the automatic clamp is activated
Function
Setting slip sensor Slip function Sets the paper eject direction/length
Page mode
Control Codes
<ESC> “n” 1B 6E Selects page mode <ESC> “!” 1B 21 Selects line mode <ESC> “*” ... 1B 2A ... Setting print area in page mode <ESC> “T” <FF> 0C Prints in page mode
n
Hexadecimal
Codes
1B 54
n
Function
Setting print direction in page mode
Other Commands
ENGLISH
Control Codes
<CAN> 18 Cancels printer buffer & Initialize printer <DC3> 13 Deselects printer <DC1> 11 Sets select mode <RS> 1E Beeps the buzzer
<ESC> “#N, <LF> <NUL>
<ESC> “@” 1B 40 Initialize printer <ENQ> 05 Enquiry <ESC> “?” <LF> <NUL> 1B 3F 0A 00 Resets printer hardware and produce a test print
n1 n2 n3 n4”
Hexadecimal
Codes
1B 23 N 2C
n3 n
4
0A 00
n1 n
Function
2
Sets memory switch
25
ENGLISH
ESC/POS Mode Commands (TM-295 emulation)
The following table lists the TM-295 emulation commands that are supported by this printer.
Control Codes
<HT> 09 Horizontal tab <LF> 0A Line feed
<FF> 0C
<DLE> <EOT> 10 04 Enables real-time status send (Serial I/F only) <CAN> 18 Cancels print data in page mode <ESC> SP 1B 20 Sets size of space to right of character <ESC> ! 1B 21 Enables batch print mode <ESC># 1B 23 Sets memory switch <ESC> % 1B 25 Enables/disables download character set <ESC> & 1B26 Defines download character <ESC> * 1B 2A Selects bit image mode <ESC> 2 1B 32 Selects 1/6-inch line spacing <ESC> 3 1B 33 Selects approximate <ESC> = 1B 3D Selects peripheral device <ESC> @ 1B 40 Initializes the printer <ESC> C 1B 43 Sets the eject length for single-sheet printing <ESC> D 1B 44 Sets horizontal tab position <ESC> F 1B 46 Enables/disables reverse feed for single-sheet mode <ESC> J 1B 4A Prints and n/60-inch (approximate value) paper feed *1 <ESC> K 1B 4B Prints and n/60-inch (approximate value) reverse paper feed *1
Hexadecimal
Codes
Function
Paper eject in single sheet mode Paper mode print and return
n
/60-inch line spacing *1
*1: n/60-inch line spacing and paper feed commands:
Since the minimum paper feed pitch for this printer is 1/144 inch, n/60 inch can considered an approximate value. However, the actual value is INT ((6n/5) +
0.5)/72 inch.
26
Control Codes
<ESC> L 1B 4C Selects page mode <ESC> R 1B 52 Selects international character set <ESC> T 1B 54 Selects direction for page mode character printing <ESC> U 1B 55 Selects print direction <ESC> V 1B 56 Designates/cancels 90˚ character rotation <ESC> W 1B 57 Sets print area for page mode printing <ESC> a 1B 61 Aligns position
<ESC> c3 1B 63 33
<ESC> c4 1B 63 34 Selects the paper-end sensor for stopping printing <ESC> c5 1B 63 35 Enables/disables control panel switches <ESC> d 1B 64 Prints or feeds <ESC> e 1B 65 Prints or reverse feeds n lines <ESC> f 1B 66 Sets single-sheet wait time <ESC> p 1B 70 Generates specified pulse <ESC> q 1B 71 Release <ESC> t 1B 74 Selects character code table <ESC> u 1B 75 Sends peripheral status (Serial I/F only) <ESC> v 1B 76 Sends paper sensor status (Serial I/F only) <ESC> { 1B 7B Enables/disables inverted printing <GS> I 1D 49 Sends printer ID (Serial I/F only)
<GS> a 1D 61
<GS> r 1D 72 Sends printer status (Serial I/F only)
Hexadecimal
Codes
Function
Selects the paper-end sensor for sending the no-paper signal
n
lines
Enables/disables automatic send of printer status (Serial I/F only)
ENGLISH
27
ENGLISH
ESC/POS Mode Commands (TM-290 emulation)
The following table lists the TM-290 emulation commands that are supported by this printer.
Control Codes
<HT> 09 Horizontal tab <LF> 0A Line feed <FF> 0C Paper eject in single sheet mode <ESC> SP 1B 20 Sets size of space to right of character <ESC> ! 1B 21 Enables batch print mode <ESC># 1B 23 Sets memory switch <ESC> * 1B 2A Selects bit image mode <ESC> 2 1B 32 Selects 1/6-inch line spacing <ESC> 3 1B 33 Selects approximate n/60-inch line spacing *1 <ESC> @ 1B 40 Initializes the printer <ESC> D 1B 44 Sets horizontal tab position <ESC> M 1B 4D Selects the 7 <ESC> P 1B 50 Selects the 5× 9 font
Hexadecimal
Codes
×
9 font
Function
*1: n/60-inch line spacing and paper feed commands:
Since the minimum paper feed pitch for this printer is 1/144 inch, n/60 inch can considered an approximate value. However, the actual value is INT ((6n/5) +
0.5)/72 inch.
Loading...
+ 110 hidden pages