Star Micronics SP298 User Manual

0 (0)

SLIP PRINTER

SP298 SERIES

USERS MANUAL

MODE D’EMPLOI

BEDIENUNGSANLEITUNG MANUALE DI ISTRUZIONI

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 environment. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to 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 Communications.

Le présent appareil numérique n’émet pas de bruits radioélectiques dépassant les limites applicables aux appareils numériques de la classe A prescrites dans le Règlement sur le brouillage radioélectrique édicté par le ministère des Communications du Canada.

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 Communities 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 permission, 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

Please access the following URL

 

http://www.star-micronics.co.jp/service/sp_sup_e.htm

 

for the latest revision of the manual.

 

ENGLISH

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.

Star Micronics SP298 User Manual

2

Unpacking the printer

Check to make sure that the carton contains each of the items shown in the following illustration.

Ribbon cassette

Printer

User’s Manual

Ferrite core

Fastener

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.

ENGLISH

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

ENGLISH

3

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

Document table

Turns printer

Supports the paper fed

power on and off.

into the printer.

 

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.

AC adapter cable connector

For connection of the AC adapter. Never unplug the AC adapter while the printer is on.

4

Removing the printer cover

Push straight up on the ridged locations on the sides of the printer cover to remove it from the printer.

To replace the cover, slide it back down into position. Gently press down on the cover until you hear it click securely into place.

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.

6

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.

Use the procedure under “Installing the ribbon cassette” on page 4 to install a new cassette.

ENGLISH

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 provide one yourself.

7

Plug the other end of the power cord to a standard household wall outlet.

ENGLISH

Use the power switch on the left side of the printer to turn power on and off.

Important!

We recommend that you unplug the printer from the power outlet whenever 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.

8

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 IBMcompatible 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.

ENGLISH

Ferrite core (28 mm diameter)

Cable

Serial Interface

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.

10

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)

Connector Cable

ENGLISH

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.

Pull and cut

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.

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).

 

12

 

 

Place a piece of the paper onto the printer’s document table and slide its

 

 

 

 

 

ENGLISH

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.

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.

14

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.

 

FORWARD

POWER

 

RELEASE

 

PAPER

REVERSE

OUT

 

 

RELEASE

ENGLISH

Indicator lights

The following table describes the meaning of indicator lights when it is on, off, or flashing.

Indicator Light

Off

On

Flashing

 

 

 

 

POWER

Power off

Power on

Dot Alignment Adjust

Mode

 

 

 

 

 

 

 

PAPER OUT

Paper inserted

No paper

Insert paper prompt

 

 

 

 

RELEASE

Slip paper engaged

Slip paper released

Mechanical error

 

 

 

 

ENGLISH

15

Buttons

The following table describes the function of the three control buttons of the control panel.

Button

Description

 

 

FORWARD

Feeds the slip paper forward, toward the back of the printer. One press

feeds one line, holding down performs continuous feed.

 

 

 

REVERSE

Feeds the slip paper back, toward the front of the printer. One press

feeds one line, holding down performs continuous feed.

 

 

 

RELEASE

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 seventh 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

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.

Note:

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 printer back on to enter the Hex Dump Mode.

To exit the Hex Dump Mode, turn the printer off.

Note:

The printer will not responde to any commands you send it while it is in the Hex Dump Mode.

18

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

 

 

Indicators

 

Error Type

 

 

 

Recovery

POWER

RELEASE

PAPER OUT

 

 

 

 

 

 

 

Paper jam

 

 

 

 

 

 

 

 

 

Carriage motor lockup

 

Flashing

 

Correct the cause of the problem and

 

 

 

Abnormal home position signal

 

 

then press RELEASE.

 

 

 

 

 

 

 

 

 

 

 

 

Abnormal timing signal

 

 

 

 

 

 

 

 

 

Non-recoverable Errors

 

 

Indicators

 

 

Error Type

 

 

 

Recovery

POWER

RELEASE

PAPER OUT

 

 

 

 

 

 

 

RAM read/write

 

 

 

Turn off the printer, then after waiting a

 

Off

On

On

few minutes, turn the printer back on. If

 

CPU lockup

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.

 

 

 

ENGLISH

ENGLISH

19

Paper Sensors

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.

20

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

ENGLISH

Star Mode Commands

The following tables show the Star mode commands that are supported by this printer.

Character Selection

Control Codes

 

Hexadecimal

Function

 

Codes

 

 

 

 

 

 

 

<ESC> “R”n

1B

52 n

Selects the international character set

 

 

 

 

<ESC> “/”“1”

1B

2F 31

Selects slash zero

<ESC> “/”<1>

1B

2F 01

 

 

 

 

 

<ESC> “/”“0”

1B

2F 30

Selects normal zero

<ESC> “/”<0>

1B

2F 00

 

 

 

 

 

<ESC> <GS> “t”n

1B

1D 74 n

Selects the character code table

 

 

 

<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>n

1B

20 n

Sets character spacing

 

 

 

 

<SO>

0E

 

Sets the printing magnified double in character width

 

 

 

 

<DC4>

14

 

Resets the printing magnified in character width

 

 

 

 

21

ENGLISH

 

Control Codes

 

Hexadecimal

Function

 

 

Codes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<ESC> “W”n

1B

57 n

Sets the magnification rate in character width

 

 

 

 

 

 

 

 

<ESC> “h”n

1B

68 n

Sets the magnification rate in character height

 

 

 

 

 

 

 

 

<ESC> “–” “1”

1B

2D 31

Selects underlining

 

 

<ESC> “–” <1>

1B

2D 01

 

 

 

 

 

 

 

 

 

 

 

<ESC> “–” “0”

1B

2D 30

Cancels underlining

 

 

<ESC> “–” <0>

1B

2D 00

 

 

 

 

 

 

 

 

 

 

 

<ESC> “_” “1”

1B

5F 31

Selects upperlining

 

 

<ESC> “_” <1>

1B

5F 01

 

 

 

 

 

 

 

 

 

 

 

<ESC> “_” “0”

1B

5F 30

Cancels upperlining

 

 

<ESC> “_” <0>

1B

5F 00

 

 

 

 

 

 

 

 

 

 

<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”

1B

1E 96 30

Cancels rotated print mode for text (Default)

 

 

<ESC> <RS> “i” <0>

1B

1E 96 00

 

 

 

 

 

 

 

 

 

 

 

<ESC> <RS> “i” “1”

1B

1E 96 31

Specifies rotated print mode for text with a 270˚ rotation.

 

 

<ESC> <RS> “i” <1>

1B

1E 96 01

 

 

 

 

 

 

 

 

 

 

 

<ESC> <RS> “i” “2”

1B

1E 96 32

Specifies rotated print mode for text with a 90˚ rotation.

 

 

<ESC> <RS> “i” <2>

1B

1E 96 02

 

 

 

 

 

 

 

 

 

 

<ESC> “E”

1B 45

Selects emphasized printing

 

 

 

 

 

 

 

<ESC> “F”

1B 46

Cancels emphasized printing

 

 

 

 

 

 

 

 

<ESC> “U”n

1B

55 n

Selects print direction

 

 

 

 

 

 

 

 

 

 

 

22

 

 

Print Position Control

 

 

 

 

 

 

 

 

 

 

 

ENGLISH

 

 

 

 

 

 

 

Control Codes

 

 

Hexadecimal

Function

 

 

 

 

 

 

 

 

 

Codes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<LF>

 

0A

 

Line feed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<CR>

 

0D

 

Carriage Return

 

 

 

 

 

 

 

 

 

 

 

<ESC> “a”n

 

1B

61 n

Feeds paper n lines

 

 

 

 

 

 

 

 

 

 

 

<HT>

 

09

 

Horizontal tab

 

 

 

 

 

 

 

 

 

 

 

<ESC> “A”n

 

1B

41 n

Definesn/72-inch line spacing

 

 

 

 

 

 

 

 

 

 

<ESC> “2”

 

1B 32

Setsn/72-inch line spacing

 

 

 

 

 

 

 

 

 

 

 

<ESC> “z” “0”

 

1B

7A 30

Sets line spacing to 1/12-inch

 

 

 

<ESC> “z” <0>

 

1B

7A 00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<ESC> “z” “1”

 

1B

7A 31

Sets line spacing to 1/6-inch

 

 

 

<ESC> “z” <1>

 

1B

7A 01

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<ESC> “0”

 

1B 30

Sets line spacing to 1/8-inch

 

 

 

 

 

 

 

 

 

 

<ESC> “1”

 

1B 31

Sets line spacing to 7/72-inch

 

 

 

 

 

 

 

 

 

 

 

<ESC> “J”n

 

1B

4A n

One time n/72-inch feed

 

 

 

 

 

 

 

 

 

 

 

<ESC> “j”n

 

1B

6A n

One time n/72-inch backfeed

 

 

 

 

 

 

 

 

 

 

 

<ESC> “3”n

 

1B

33 n

Sets line spacing to n/216-inch approximately

 

 

 

 

 

 

 

 

 

 

<ESC> “y”

 

1B 79n

Sets line spacing to n/144-inch

 

 

 

 

 

 

 

 

 

 

<ESC> “D”n1 n2 ... <0>

 

1B 44 n1 n2 ... 00

Sets horizontal tab stops

 

 

 

 

 

 

 

 

 

 

 

<ESC> “l”n

 

1B

6C n

Sets left margin

 

 

 

 

 

 

 

 

 

 

 

<ESC> “Q”n

 

1B

51 n

Sets right margin

 

 

 

 

 

 

 

 

 

 

 

<ESC> <GS> “a” “0”

 

1B

1D 61 30

Left justification (Default)

 

 

 

<ESC> <GS> “a” <0>

 

1B

1D 61 00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<ESC> <GS> “a” “1”

 

1B

1D 61 31

Centering

 

 

 

<ESC> <GS> “a” <1>

 

1B

1D 61 01

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<ESC> <GS> “a” “2”

 

1B

1D 61 32

Right justification

 

 

 

<ESC> <GS> “a” <2>

 

1B

1D 61 02

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

23

 

 

 

 

 

 

Dot Graphics Control

 

 

 

ENGLISH

 

 

 

 

 

 

 

 

 

 

Control Codes

 

 

Hexadecimal

Function

 

 

 

 

 

 

 

 

Codes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<ESC> “K”n <0>

 

1B

4B n 00 m1 m2

8 dot normal density graphics

 

 

 

m1 m2 ...

 

...

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<ESC> “L”n1 n2

 

1B 4C n1 n2 m1 m2

8 dot high density graphics

 

 

m1 m2 ...

 

...

 

 

 

 

 

 

 

 

 

 

 

 

 

Download Graphics Printing

 

 

 

 

 

 

 

 

 

 

Control Codes

 

 

Hexadecimal

Function

 

 

 

 

Codes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<ESC> “&” <0>n1 n2 ..

 

1B

26 00 n1 n2 ..

Defines download characters

 

 

 

 

 

 

 

 

 

<ESC> “%” “1”

 

1B

25 31

Enables download character set

 

 

<ESC> “%” <1>

 

1B

25 01

 

 

 

 

 

 

 

 

 

 

 

 

 

<ESC> “%” “0”

 

1B

25 30

Disables download character set

 

 

<ESC> “%” <0>

 

1B

25 00

 

 

 

 

 

 

 

 

 

 

 

Peripheral Device Control

 

 

 

 

 

 

 

 

 

 

Control Codes

 

 

Hexadecimal

Function

 

 

 

 

Codes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<ESC> <BEL> n1 n2

 

1B 07 n1 n2

Defines drive pulse width for peripheral device #1

 

 

 

 

 

 

 

 

 

<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

 

 

 

 

 

 

 

 

 

 

24

 

 

Slip Control

 

 

 

 

 

 

 

 

 

ENGLISH

 

 

 

 

 

Control Codes

Hexadecimal

Function

 

 

 

 

 

Codes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<ESC> <SI> n

1B 0F n

Setting slip sensor

 

 

 

 

 

 

 

 

 

 

 

 

<ESC> <FF> n

1B 0C n

Slip function

 

 

 

 

 

 

 

 

 

<ESC> <VT> m n

1B 0B m n

Sets the paper eject direction/length

 

 

 

 

 

 

 

 

 

<EOT>

04

Slip status enquiry

 

 

 

 

 

 

 

 

 

<ESC><EM>mn<LF><NUL>

1B 19 n m 0A 00

Sets the wait time until the automatic clamp is activated

 

 

 

 

 

 

 

 

 

Page mode

 

 

 

 

 

 

 

 

 

 

 

Control Codes

Hexadecimal

Function

 

 

 

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”n

1B 54 n

Setting print direction in page mode

 

 

 

 

 

 

 

 

 

<FF>

0C

Prints in page mode

 

 

 

 

 

 

 

 

 

Other Commands

 

 

 

 

 

 

 

 

 

 

 

Control Codes

Hexadecimal

Function

 

 

 

Codes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<CAN>

18

Cancels printer buffer & Initialize printer

 

 

 

 

 

 

 

 

 

<DC3>

13

Deselects printer

 

 

 

 

 

 

 

 

 

<DC1>

11

Sets select mode

 

 

 

 

 

 

 

 

 

<RS>

1E

Beeps the buzzer

 

 

 

 

 

 

 

 

 

<ESC> “#N,n1 n2 n3 n4

1B 23 N 2C n1 n2

 

 

 

 

n3 n4

Sets memory switch

 

 

 

<LF> <NUL>

 

 

 

0A 00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<ESC> “@”

1B 40

Initialize printer

 

 

 

 

 

 

 

 

 

<ENQ>

05

Enquiry

 

 

 

 

 

 

 

 

 

<ESC> “?” <LF> <NUL>

1B 3F 0A 00

Resets printer hardware and produce a test print

 

 

 

 

 

 

 

 

 

ENGLISH

25

ESC/POS Mode Commands (TM-295 emulation)

The following table lists the TM-295 emulation commands that are supported by this printer.

Control Codes

 

Hexadecimal

Function

 

Codes

 

 

 

 

 

 

 

<HT>

09

 

Horizontal tab

 

 

 

 

<LF>

0A

 

Line feed

 

 

 

 

<FF>

0C

 

Paper eject in single sheet mode

 

Paper mode print and return

 

 

 

 

 

 

<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 n/60-inch line spacing *1

 

 

 

 

<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

 

 

 

 

*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

 

Hexadecimal

Function

 

ENGLISH

 

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

Selects the paper-end sensor for sending the no-paper

 

 

signal

 

 

 

 

 

 

 

 

 

 

 

 

 

<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 n lines

 

 

 

 

 

 

 

 

<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

Enables/disables automatic send of printer status

 

 

(Serial I/F only)

 

 

 

 

 

 

 

 

 

 

 

 

<GS> r

1D 72

Sends printer status (Serial I/F only)

 

 

 

 

 

 

 

 

ENGLISH

27

ESC/POS Mode Commands (TM-290 emulation)

The following table lists the TM-290 emulation commands that are supported by this printer.

Control Codes

 

Hexadecimal

Function

 

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× 9 font

 

 

 

 

<ESC> P

1B

50

Selects the 5× 9 font

 

 

 

 

*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