SLIP PRINTER SP298 SERIES Programmer’s Manual
7 Buttons The following table describes the function of the three control buttons of the control panel. Producing a test print The following pro
8 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 thro
9 The dots alignment adjustment setting you selected is stored in printer memory and a pattern is printed using the selected setting followed by
10 Errors There are three types of errors: recoverable errors that require some action by you before they clear, non-recoverable errors that
11 Chapter 4: Interface0 Serial Interface ❏ This chapter provides detailed specifications for the printer’s standard serial interface (Connector
12 Serial interface pins and signal namesPins and Signal Names Pin No.Signal NameDirection Function1 FG — Frame ground2 TXD OUT Transmission data3
13Interface connections❏Refer to the interface specifications for the host computer for details on connecting to its interface connector. The fol
14 Data protocol❏Outline of DTR/DSR mode operationsThis communication mode is set when dip switches 1 to 6 are set at ON.The DTR signal shakes h
15❏ Outline of X-ON/X-OFF mode operationsThis communication mode is set when dip switches 1 to 6 are set at OFF.This mode notifies the host of
16 Nearly full buffer conditionsNearly empty buffer conditionsEmulation (DSW8)Buffer size (DSW7)Available area (during fluctuations)STAR mode2K byt
Trademark acknowledgments SP298 : Star Micronics Co. Ltd. ESC/POS, TM-295, TM-290 : Seiko Epson Corporation Notice • All rights reserved. Reproductio
17Parallel InterfaceConnectors and SignalsPin No.Signal Name IN/OUT Function1 STROBE INSignals when data is ready to be read. Signal goes from HI
18 36 SELECT IN INUnused (However, this becomes a reset signal when DIP switch 1 is set to ON and DIP switch 2 is set to OFF. See page 4 for detai
19Chapter 5: Peripheral Unit Driver CircuitThis printer is equipped with a circuit for driving peripheral units, such as cash drawers. A 6-pin m
20 Drive circuitThe recommended drive unit is shown below.Notes• Peripheral Units 1 and 2 cannot be driven simultaneously.• For continuous driving
21Chapter 6: Control CodesThis printer supports two different command modes: the Star mode and the ESC/POS mode.The Star mode emulates previous
22 <ESC> “W” n1B 57 nSets the magnification rate in character width 32<ESC> “h” n1B 68 nSets the magnification rate in character height
23Print Position ControlControl CodesHexadecimal CodesFunction Page<LF> 0A Line feed 35<CR> 0D Carriage Return 35<ESC> “a” n1B
24 Dot Graphics ControlDownload Graphics PrintingPeripheral Device ControlControl CodesHexadecimal CodesFunction Page<ESC> “K” n <0>m1
25Slip ControlPage modeOther CommandsControl CodesHexadecimal CodesFunction Page<ESC> <SI> n1B 0F nSetting slip sensor 46<ESC>
26 ESC/POS Mode Commands (TM-295 emulation)The following table lists the TM-295 mode commands that are supported by this printer.*1: n/60-inch lin
TABLE OF CONTENTS Chapter 1: DIP Switch Settings ... 1 Accessing the DIP switches ...
27Control CodesHexadecimal CodesFunction<ESC> L 1B 4C Selects page mode<ESC> R 1B 52 Selects international character set<ESC> T
28 ESC/POS Mode Commands (TM-290 emulation)The following table lists the TM-290 emulation commands that are supported by this printer.*1: n/60-inc
29Control CodesHexadecimal CodesFunction<ESC> R 1B 52 Selects international character set<ESC> c3 1B 63 33Selects the paper-end senso
30 Character Selection<ESC> “R” n 1B 52 n Selects international character setSelects an international character set according to the value o
31<ESC> “M”1B 4DSelects 7 × 9 (half dot) font<ESC> “P”1B 50Selects 5 × 9 (2 pulses = 1 dot) font<ESC> “:”1B 3ASelects 5 × 9 (3
32 <ESC> “W” n 1B 57 n Sets the magnification rate in character widthPrints the subsequent data with a character width magnified by a rate s
33<ESC> “4”1B 34Selects highlight printingPrints the subsequent data including a character spacing set by <ESC><SP> n reversed.
34 <ESC> “E”1B 45Selects emphasized printingCauses subsequent characters to be emphasized.<ESC> “F”1B 46Cancels emphasized printing<
35Print Position Control<LF>0ALine feedPrints the current line and feeds the paper to the next line.<CR>0DCarriage returnThe <CR&g
36 <ESC> “2”1B 32Sets line spacing to n/72-inchSets the line spacing to n/72-inch which is defined by <ESC> “A” n.<ESC> “z” “0”
Chapter 1: DIP Switch Settings The printer’s DIP switches let you change communications parameters, input buffer size, and emulation. This chapter e
37<ESC> “J” n 1B 4A n One time n/72-inch feedPerforms a line feed of n/72-inch only once after printing the data in the line buffer. The sp
38 <ESC> “D” n1 n2 ... <0>1B 44 n1 n2 ... 00Sets horizontal tab stopsCancels all current horizontal tab stops and sets new tab stops a
39<ESC> <GS> “a” n 1B 1D 61 n This function specifies a position alignment.This function aligns the specified position of all print d
40 Dot Graphics Printing<ESC> “K” n <0> m1 m2 ...1B 4B n 00 m1 m2 ...Prints normal density graphicsPrints a bit image of the number of
41We will create the design below using a bit image.First, since the volume of data is 30, n1 = (1E)H. If the data m1 ~ m30 is converted to hexad
42 <ESC> “L” n1 n2 m1 m2 ...1B 4C n1 n2 m1 m2 ...Prints high density graphicsPrints a high density bit image of the number of dots specified
43Download Graphics PrintingWhen the 7 × 9 (half dot) character size (default setting) is set:<ESC> “&” <0> n1 n2 [m0 m1 m2 m3 m4
44 When the 7 × 9 (half dot) character size (default setting) is set, the horizontally adjacent dots cannot be printed.<ESC> “%” “1” or <
45Peripheral Device Control<ESC> <BEL> n1 n21B 07 n1 n2 Defines drive pulse width for peripheral device #1Defines the drive pulse wid
46 Slip Control<ESC> <SI> n 1B 0F n Setting slip sensorSets the slip printer TOF/BOF sensor according to the value of n.TOF Sensor BOF
2 It is not necessary to remove the document table completely, just move it enough so you can get at the DIP switches inside. Note: If the docum
47<ESC> <VT> mn 1B 0B mn Sets the paper eject direction/lengthSets the length of the ejection operation performed using <ESC> &
48 <ESC> <EM> nm<LF> <NUL>1B 19 nm0A 00Sets the wait time until the automatic clamp is activatedSets the wait time between
49Also, when characters are enlarged vertically, the top of the characters may not be printed on the first line of the page and the characters on
50 <ESC> “!”1B 21Select line mode (default)If this command is specified while in page mode, printing is not carried out and the printer retu
51This command is stored, even in line mode, and the position at the time that page mode is entered is used as the standard point (0,0).Since the
52 The check high-speed printing mode provides high-speed printing with the check at a 270 degree rotation angle and bi-directional printing, a
53<FF>0CPrint in page mode (only valid when in page mode)In page mode, all page data in the page area is printed, then the printer returns
54 Other Commands<CAN>18Cancels printer buffer & Initialize printerClears the line buffer, and initializes the commands set already. Doe
55<ESC> “# N , n1n2n3n4” <LF> <NUL>1B 23 N 2C n1n2n3n4 0A 00Sets the memory switch. In order to enable changed memory switch se
56 3) N=2n1 :Always “0”n2 :Always “0”n3 :Always “0”n4 :Always “0”4) N=3 (Star mode only)n1 :Always “0”n3 :Always “0”(Default)5) N=4 (Star mode)n3
3 Available DIP switch settings (Serial Interface) The following table shows all the possible settings for the DIP switch. The factory default s
576) N=5 (Star mode)n1 :Always “0”n3 :Always “0”(Default)N=5 (ESC/POS mode)n2 :Always “0”n3 :Always “0”Parameter Setting “0”“1”“2”“3”n2 When slip
58 <ESC> “@”1B 40Initializes printerReinitializes the printer. Clears the print buffer and returns settings to their power-up values. Does n
59Status byteStatus b3 is variable.<ESC> “?” <LF> <NUL>1B 3F 0A 00Resets the printer hardware. Resets the printer hardware and
60 TM-295 mode emulation cautionary itemsSince, as shown below, the paper feed pitch, dot pitch and the installation distances between the TOF/BOF
61<Influence due to the difference in the TOF and BOF sensor positions>The paper position when the condition of the TOF or BOF sensor chang
62 Appendix : Character Code TablesStar Mode(Character table: Normal)Note: The (7F)H code is a space when neither normal nor katakana.
63Star Mode(Character table: Normal)
64 Star Mode(Character table: katakana)Note: Other characters are the same as those for Character table: Normal.
65Star Mode(Character table: IBM (Code page 437))Note: Other characters are the same as those for Character table: Normal
66 Star ModeNote: Other characters are the same as those for Character table: NormalCode Page #858Multi-lingualCode Page #852Latin-2Code Page #860
4 Available DIP switch settings (Parallel Interface) The following table shows all the possible settings for the DIP switch. The factory default
67Note: Other characters are the same as those for Character table: NormalCode Page #863Canadian FrenchCode Page #865NordicCode Page #866 Russian
68 Star ModeInternational Character Set
69ESC/POS ModePage 0 (PC437)
70 ESC/POS ModePage 0 (PC437)
71ESC/POS ModePage 1 (Katakana)Note: Other characters are the same as those for Page 0.
72 ESC/POS ModePage 2 (PC858: Multilingual)Note: Other characters are the same as those for Page 0.
73ESC/POS ModeInternational Character Set
(Blank Page)
OVERSEAS SUBSIDIARY COMPANIESSTAR MICRONICS AMERICA, INC. 70-D Ethel Road West, Piscataway, NJ 08854 U.S.ATel: 732-572-9512, Fax: 732-572-5095 STAR M
5 Chapter 2: Memory Switch Settings Each memory switch is a 16-bit word store in EEPROM. For details on the functions and settings of memory sw
6 Chapter 3: Control Panel Operations The control panel gives you some push-button control over the slip printer operation. It also includes in
Comments to this Manuals