Instruction/ maintenance manual of the product SCP700 Series Star Micronics
Go to page of 108
COMBINA TION PRINTER SCP700 SERIES Pr ogrammer’ s Manual.
T rademark ackno wledgments SCP700 : Star Micronics Co. Ltd. ESC/POS, TM-295, TM-T85 : Seiko Epson Corporation Notice • All rights reserved. Reproduction of any part of this manual in an y form whatsoever , without ST AR’ s express per - mission, is strictly forbidden.
TABLE OF CONTENTS Chapter 1: Outline ........................................................................................ 1 Chapter 2: DIP Switch Settings .................................................................. 2 Accessing the DIP switches .
2 [Blank page].
1 Chapter 1: Outline The SCP700 Series combines both a quick, quiet and highly reliable thermal receipt printer with an impact dot slip printer, enabling printing on single or multiple sheets of slip paper of an unspecified size. The thermal printer enables receipt printing without a thermal ribbon and makes paper insertion extremely easy.
2 Chapter 2: DIP Switch Settings The printer’s DIP switches let you change communications parameters, thermal printing density, interface type, input buffer size, and emulation. This chapter explains the settings you can make and tells you how to actually change DIP switch settings.
3 ❏ Carefully work the document table loose and slide it to the left of the printer out of the way . It is not necessary to remov e the document table complete, just mov e it enough so you can get at the DIP switches inside.
4 DIP Switch 1 The following table shows all the possible settings for DIP Switch 1. This switch sets the transmission parameters of the Standard Serial Interface. All switch settings, except for 1-7 and 1-8, are ON when the printer is shipped from the factory.
5 2-4 Alwa ys ON 2-5 Interface Standard Option 2-6 Alwa ys ON 2-7 Not Used 2-8 Not Used Thermal Print Density Switch 2-1 Switch 2-2 Light OFF OFF Standard ON ON Heavy ON OFF V er y Heavy OFF ON Switch.
6 Chapter 3: Memory Switch Settings Each memory switch is a 16-bit word store in EEPROM. For details on the functions and settings of memory switches, refer to “Chapter 9”.
7 Chapter 4: Control P anel Operations The control panel gives you some push-button control over the printer’s receipt and slip printer operations. It also includes indicator lights, which tell you the current status of the printer at a glance.
8 Buttons The following table describes the function of the two control buttons of the control panel. Producing a test print The following procedure can be used at any time to test the receipt printer and the slip printer. ❏ T urn on the printer and insert a piece of paper into the slip printer .
9 Adjusting the slip printer’ s 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.
10 To exit this mode, press the SLIP/RESUME button. The dot alignment adjust mode setting is stored in the memory, a pattern using the selected setting, followed by “Adjust Completed” is printed, and the printer ejects the slip paper.
11 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.
12 Receipt Printer Recoverab le Error s Slip Printer Recoverab le Error s Non-recoverab le Error s First try turning the printer off and then on again. If the error persists or if a non- recoverable error is indicated by all indicators flashing, contact your nearest authorized dealer.
13 Chapter 5: Standard Serial Interface ❏ This chapter provides detailed specifications for the printer’ s standard serial interface (Connector T ype: D-sub 9-pin). Set the transmission parameters with DIP Switch 1. Transmission type ............
14 Standard serial interface pins and signal names Pin No. Signal Name Direction Function 1 FG — F rame Ground 2 RXD IN Receive data 3 TXD OUT T ransmission data 4 DTR OUT Data terminal ready signal. This signal changes to SP ACE when the printer is ready to receive data.
15 Interface connections ❏ Refer to the interface specifications for the host computer for details on connecting to its interface connector. The following illustration shows a typical connection configuration.
16 Data protocol ❏ DTR/DSR Mode Set when dip switch #1-6 is ON. Communication is carried out while handshake is performed with the DTR and DSR signals. Control is executed by selecting the DTR signal for the busy signal when data is downloaded to the printer data.
17 Buffer full cancellation in DTR mode (the following is an example in the Combination mode). A) Buffer set to “big size” (4K-bytes) (set with dip switch 2-3) When available space drops below 256 bytes, DTR is set to “MARK.” When data in the buffer drops below 256 bytes, DTR is set to “SPACE.
18 ❏ X-ON / X-OFF Mode Set when dip switch #1-6 is OFF. Mode whereby the host is informed by TXD signal of X-ON (DC1) when data can be received or X-OFF (DC3) when data cannot be received. In the Star mode, X-ON / X-OFF output timing conditions are set by memory switch 4-C.
19 Buffer full cancellation in X-ON / X-OFF mode (the following is an example in the Combination mode). A) Buffer set to “big size” (4K-bytes) (set with sip switch 2-3) B) Buffer set to “big siz.
20 3-6) X-ON / X-OFF Signal Transmission Timing An X-OFF signal is sent when the printer switches from online to offline. An X-ON signal is sent when the printer switches from offline to online. In the Star mode, an X-ON signal is sent every three seconds if memory switch 4-C is set to “1.
21 Chapter 6: Optional Interface Optional serial interface Use a thin flat-blade screwdriver or some other similar object to change DIP switch settings on the optional serial interface board. The following table shows all the possible settings for the DIP switches.
22 Optional serial interface pins and signal names Pin No. Signal Name Direction Function 1 FG — F rame Ground 2 TXD OUT T ransmission data 3 RXD IN Receive data 4 RTS OUT Data terminal ready signal. This signal changes to SP ACE when the printer is ready to receive data.
23 Interface connections ❏ Refer to the interface specifications for the host computer for details on connecting to is its interface connector . The follo wing illustration shows a typical connection configuration. Data protocol ❏ The specifications for the DTR and X-ON/X-OFF modes are the same as for the Standard Serial Interface.
24 Optional parallel interface Interface: Conforms with Centronics parallel interface standard Data transfer speed: 1000 ~ 5000 CPS Synchronization: External strobe pulse Handshaking: Using ACK and BUSY Logic level: TTL-level compatible TTT A C K DATA STROBE BUSY T: At least 0.
25 Optional parallel interface pins and signal names Signal Name Sample Circuit Input DA T A 1 DA T A 8 STR OBE Output BUSY A CK 4.7k Ω 74LS-equivalent 1k Ω 100 Ω 1000pF 74LS-equivalent 1.
26 Pin No. Signal Name Direction Function 1 STR OBE IN Signals when data is ready to be read. Signal goes from HIGH to LO W (for at least 0.5 µ s) when data is av ailable. 2 - 9 D A T A 1 - 8 IN Information on the first eight bits of parallel data. Each signal is HIGH for logical 1 and LOW f or logical 0.
27 Chapter 7: P eripheral Unit Driver Circuit The main logic board of this printer includes a circuit for driving peripheral units, such as cash drawers.
28 Drive circuit The recommended drive unit is shown below. [Drive output 24V, max. 1.0A] Notes • Peripheral Units 1 and 2 cannot be driv en simultaneously . • For continuous dri ving, do not use dri ve duty abov e 20%. • Compulsion switch status is av ailable as status data.
29 Chapter 8: Automatic Cutter 1 The cutter operates in response to data commands. To enable cutter operation, set Memory Switch #2-8 to indicate that the cutter is installed.
30 Chapter 9: Control Codes Important! Please access the following URL http://www .star-micr onics.co.jp/service/sp_sup_e.htm for the lastest r evision of the manual. This printer has two command modes: Star mode and ESC/POS mode. The Star mode emulates thermal receipt printers such as the TSP200 series and other previous models.
31 <ESC> “:” 1B 3A Select 16-dot pitch printing 41 Select 5 × 9 (3 pulses = 1 dot) font 41 <ESC> <SP> n 1B 20 n Set character spacing 41 <SO> 0E Set the printing magnified double in character width. 42 <DC4> 14 Resets the printing magnified in character width.
32 P age Formatting Print P osition Control Control codes Hexadecimal codes Function Receipt- printer Slip printer Page <ESC> “C” n 1B 43 n Set page length in lines 46 <ESC> “C” &l.
33 Dot Graphics Printing Download Graphics Printing P eripheral Device Contr ol Control codes Hexadecimal codes Function Receipt- printer Slip printer Page <ESC> “K” n <0> m1 m2 ... 1B 4B n 00 m1 m2 ... Print normal density graphics 53 <ESC> “L” n1 n2 m1 m2 .
34 A uto Cutter Control Slip Printer Control P age Mode Customer Display Commands (Combo mode onl y) Control codes Hexadecimal codes Function Receipt- printer Slip printer Page <ESC> “d” “.
35 Other Commands Control codes Hexadecimal codes Function Receipt- printer Slip printer Page <CAN> 18 Cancel printer b uf fer & Initialize printer 76 <DC3> 13 Deselect printer 76 <.
36 Printer Station Selection (Combo mode only) <ESC> “+” “A” n 1B 2B 41 n Print Station Selection n = 0, “0” : Selects the receipt printer 3, “3” : Selects the slip printer This command is only valid when it entered at the beginning of a line.
37 <ESC> “b” n1 n2 n3 n4 d1 ... dk <RS> 1B 62 n1 n2 n3 n4 d1 ... dk 1E Select bar code printing Prints bar code according to the value of n1 , as shown below: This command is only valid with the receipt printer.
38 CODE 39, NW-7, ITF When the value of n3 is UPC-E, UPC-A, JAN/EAN-8, JAN/EAN- 13, CODE 128 or CODE 93, 1(01H) to 3(03H) or “1”(31H) to “3”(33H) can be set. When the value of n3 is CODE39, NW-7 or ITF, 1(01H) to 9(09H) or “1”(31H) to “9”(39H) can be set.
39 ITF The value of k is optional, and the maximum value also differs according to the modes (40 digits maximum in mode 4). If the data is number of an odd digits, 0 is automatically added at the beginning of the data.
40 3) 2-character codes Control codes CODE FORMA T NUL 00H %@ 25H 40H SOH 01H %A 25H 41H STX 02H %B 25H 42H ETX 03H %C 25H 43H EO T 04H %D 25H 44H ENQ 05H %E 25H 45H A CK 06H %F 25H 46H BEL 07H %G 25H.
41 <ESC> “M” 1B 4D Receipt printer: Select 12-dot pitch printing Prints in a 12 × 24 dot font with no spacing between characters. Slip printer : Select 7 × 9 (half dot) font <ESC> “p” 1B 70 Select 14-dot pitch printing Prints in a 12 × 24 dot font with 2-dot spacing between characters.
42 <SO> 0E Sets the printing magnified double in character width. Prints the subsequent data including a character spacing set by <ESC><SP> n , magnified double in character width. <DC4> 14 Resets the printing magnified in character width.
43 <ESC> “h” n 1B 68 n Set the magnification rate in character height Prints the subsequent data with a character height magnified by a rate specified by the value of n .
44 <ESC> “_” n 1B 5F n Upperlining When the value of n is 1, over lines the subsequent data including a character spacing set by <ESC><SP> n . The part to be skipped by the horizontal tab setting and the block graphic characters are not upper lined.
45 <ESC> “E” 1B 45 Select emphasized printing Causes subsequent characters to be emphasized. <ESC> “F” 1B 46 Cancel emphasized printing Cancels emphasized printing.
46 P age Formatting (Line Mode) <ESC> “C” n 1B 43 n Set page length in lines Sets the page length using the current line spacing, where n is between 1 and 127. Changing the line spacing later does not alter the physical page length. The current line becomes the top of the page.
47 <ESC> “1” n 1B 6C n Set left margin at column n at the current character pitch. The left margin does not move if the character pitch is changed later. If this function is set in the middle of a line, it will become valid starting with the following line.
48 Print P osition Control <LF> 0A Line feed Prints the current line and feeds the paper to the next line. <CR> 0D Carriage return The <CR> code is valid for both the receipt and slip printers only if memory switch 3-1 is set to 1. (The factory setting is 0.
49 <VT> 0B Vertical tab Prints the current line and feeds the paper to the next vertical tab stop and moves the print position to the left margin. Performs paper feed if no vertical tabs are set or if the current line is at or below the last vertical tab stop.
50 <ESC> “0” 1B 30 Receipt printer: Set line spacing to 3 mm Sets the distance that the paper advances in subsequent line feed to 3 mm. Slip printer : Set line spacing to 1/8 inch Sets the distance that the paper advances in subsequent line feeds to 1/8 inch.
51 <ESC> “j” n 1B 6A n Receipt printer: One time n /4-mm backfeed Feeds the paper back n /4 mm only once after printing the data in the line buffer.
52 <ESC> “B” n1 n2 ... <0> 1B 42 n1 n2 ... 00 Set vertical tab stops Cancels all current vertical tab stops and sets new vertical tab stops at lines n1 , n2 , etc., where n1 , n2 , etc. are numbers between 0 and 255. A maximum of 16 vertical tab stops can be set.
53 Dot Graphics Printing <ESC> “K” n <0> m1 m2 ... 1B 4B n 00 m1 m2 ... Print normal density graphics Receipt printer: Prints a 3 (horizontal) × 3 (vertical) dot bit image for each dot of entered data. Data extending beyond the right margin is ignored.
54 Slip printer: Prints a bit image of the number of dots specified by n. After printing the bit image, the printer automatically returns to the character mode. The relationship between the pins on the print head and the data is shown below. The value of n is between 1 and 210.
55 We 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 hexadecimal, it appears as shown below.
56 <ESC> “L” n1 n2 m1 m2 ... 1B 4C n1 n2 m1 m2 ... Print high density graphics Receipt printer: Prints a 1 (horizontal) × 3 (vertical) dot bit image for each dot of entered data. Data extending beyond the right margin is ignored. The relationship between the entered data and the actual printing is shown below.
57 Slip printer: Prints a high density bit image of the number of dots specified by n1 and n2. The value of n1 + 256 × n2 is between 1 and 420. A maximum of 420 data bytes can printed in one line. Any data exceeding 420 bytes is ignored. After printing the bit image, the printer automatically returns to the character mode.
58 <ESC> “k” n <0> m1 m2 ... 1B 6B n 00 m1 m2 ... Print fine density graphics Prints a 1 (horizontal) × 1 (vertical) dot bit image for each dot of entered data. Data extending beyond the right margin is ignored. The relationship between the entered data and the actual printing is shown below.
59 Relationship between image data and print dots Image data Dot position b7 b6 b5 b4 b3 b2 b1 b0.
60 Data Binary Hexa- decimal Data Binary Hexa- decimal d1 00000000 00 d2 00000000 00 d3 00011111 1F d4 11111000 F8 d5 00111111 3F d6 11111100 FC d7 01110111 77 d8 01110111 EE d9 11111000 F8 d10 000111.
61 <ESC> “X” n1 n2 m1 m2 ... 1B 5 n1 n2 m1 m2 ... Print fine density graphics Prints a bit image of the input data using horizontal and vertical resolutions of 8 dots/mm. Data extending past the right margin is ignored. The relationship between the input data and the actual printing is shown below.
62 Download Graphics Printing <ESC> “&” <1> <1> nm 1 m 2 ... m48 <ESC> “&” “1” “1” nm 1 m 2 ... m48 1B 26 01 01 nm 1 m 2 ... m48 1B 26 31 31 nm 1 m 2 ... m48 Define download character Defines one new character and stores it in RAM for later use.
63 When the 7 × 9 (half dot) character size (default setting) is set: <ESC> “&” <0> n1 n2 [ m0 m1 m2 m3 m4 m5 m6 m7 ] n2 – n1 + 1 (1B) H (26) H (00) H n1 n2 [ m0 m1 m2 m3 m4 m5 .
64 Define download character (7 × 9 (half dot) font or 5 × 9 dot font) Defines download characters Up to 10 download characters can be defined and the defined character patterns can be stored in the printer’s RAM.
65 <ESC> “&” <1> <0> n <ESC> “&” “1” “0” n 1B 26 01 00 n 1B 26 31 30 n Delete a download character (12 × 24 dot font) Deletes the download character which was assigned the value n . This command is only valid with the receipt printer.
66 P eripheral Device Contr ol <ESC> <BEL> n1 n2 1B 07 n1 n2 Define drive pulse width for peripheral device #1 Defines the drive pulse width for peripheral devices requiring other than standard 200 ms pulse time and delay time. n1 indicates the energizing time and n2 indicates the delay time, using 10ms units.
67 A uto Cutter Control <ESC> “d” “0” or <ESC> “d” <0> 1B 64 30 or 1B 64 00 Full-cut command to the auto cutter Cuts the receipt paper fully.
68 Slip Printer Control <ESC> <SI> n 1B 0F n Setting slip sensor Sets the slip printer TOF/BOF sensor according to the value of n . TOF Sensor BOF Sensor n = 00, “0” : Valid Valid 01, .
69 <ESC> <VT> mn 1B 0B mn Set the paper eject direction/length Sets the length of the ejection operation performed using <ESC> <FF> 5 in line mode.
70 <ESC> <EM> nm <LF> <NUL> 1B 19 nm 0A 00 Set the wait time until the automatic clamp is activated Set the wait time between paper insertion (TOF/BOF sensor senses the paper) and automatic clamp activation by n × 0.1 sec. The default value of n is 7 (wait time is 0.
71 printer returns to line mode. High density printing of graphics is ignored. 2) Paper feed command In paper mode, the paper feed command and carriage return are executed in units of dots. A 1/72-inch (0.353-mm) paper feed is considered 1 dot. Since a 1-dot pitch in the horizontal direction is 0.
72 <ESC> “*” X L X H Y L Y H dX L dX H dY L dY H 1B 2A X L X H Y L Y H dX L dX H dY L dY H Setting print area in page mode The coordinates of the current position at the moment that page mode is entered are (0,0). The starting point of the print area is defined by X L , X H , Y L and Y H .
73 When n = 4, “4,” special mode page mode functions as check high-speed printing mode. <ESC> “T” n 1B 54 n Setting print direction in page mode Sets the direction in which the printing will be executed in page mode according to the value of n.
74 This mode can only be used with printing data that uses a 5 X 9 (2P- 1) font without decorations. The limitations are listed below. The quality of the printed product cannot be guaranteed if these limitations are removed and the unit used.
75 Customer display commands (Combo mode onl y) <ESC> “S” 1B 53 Start customer display Subsequent data is sent through the customer display. Customer display data is sent as follows. This command is saved in the print buffer and retrieved from the print buffer and executed in the same way as the other print data.
76 Other Commands <CAN> 18 Cancel printer buffer & Initialize printer Clears the line buffer, and initializes the commands set already. Does not affect the external equipment drive conditions set by the code <ESC> <BEL> n1 n2 . (This is the same during a mechanical error.
77 <ESC> “# N , n1n2n3n4” <LF> <NUL> 1B 23 N 2C n1n2n3n4 0A 00 Set the memory switch. In order to enable changed memory switch setting, turn the printer OFF and ON again or send printer reset command (<ESC> “?”<LF><NUL>”) to the printer.
78 3) N=2 n3 :Always “0” (Default) 4) N=3 (Star mode only) n1 :Always “0” (Default) 5) N=4 (Star mode) n2 :Always “0” n3 :Always “0” n4 :Always “0” (Default) Parameter Setting “0.
79 N=4 (ESC/POS mode) n1 :Always “0” n2 :Always “0” (Default) Parameter :n3 Parameter Setting “0”’ “1” “2” “3” n3 DTR signal during setting status transmission See belows n4 Data receipt error “?” printed Ignored “?” printed Ignored Setting (DTR signal) “0”, “1” “2”, “3” 1.
80 6) N=5 (Star mode) n1 :Always “0” n3 :Always “0” (Default) N=5 (ESC/POS mode) n1 :Always “0” n2 :Always “0” n3 :Always “0” (Default) N=A n1 :Always “0” n2 :Always “0” n3.
81 N=D n1 :Always “0” n2 :Always “0” n3 :Always “0” <ESC> “@” 1B 40 Initialize printer Reinitializes the printer. Clears the print buffer and returns settings to their power-up values. Does not clear the input buffer, downloaded characters, or conditions for peripheral devices.
82 Status byte <ESC> “?” <LF> <NUL> 1B 3F 0A 00 Reset the printer hardware. Resets the printer hardware and produces a test print 0 Receipt printer head-up error Receipt printer .
83 Chapter 10: ESC/POS Mode TM-T85 mode Code Function HT Horizontal tab LF Print line feed FF Page mode print and return DLE EO T Real time transmission of status DLE ENQ Real time request to printer .
84 ESC d Print and paper feed “ n ” lines ESC i Partial cut (one section remaining) ESC p Designate pulse generation ESC t Select character code table ESC u T ransmission of peripheral equipment s.
85 TM-295 mode Code Function HT Horizontal tab LF Print line feed FF Page mode print and return DLE EO T Real time transmission of status CAN Cancel print data in page mode ESC SP Set right space amou.
86 TM-295 mode emulation cautionary items Since, as shown below, the paper feed pitch, dot pitch and the installation distances between the TOF/BOF sensors and the print head differ depending on the mechanism of the SCP700 slip and TM-295, the printing results may not be the same because of the differences in the mechanism.
87 <Influence due to the difference in the TOF and BOF sensor positions> The paper position when the condition of the TOF or BOF sensor changes due to the status is different to that of the TM-295. Since the position of the BOF sensor is especially different, whereas the BOF sensor reports “no paper” at 27.
88 Appendix : Character Code T ables Star Mode (Character table: Normal) Note: The (7F)H code is a space when neither normal nor katakana..
89 Star Mode (Character table: Normal).
90 Star Mode (Character table: katakana) Note: Other characters are the same as those for Character table: Normal..
91 Star Mode (Character table: IBM (Code page 437)) Note: Other characters are the same as those for Character table: Normal..
92 Star Mode Note: Other characters are the same as those for Character table: Normal Code P age #850 Multi-lingual Code P age #852 Latin-2 Code P age #860 P ortuguese Code Page #861 Icelandic.
93 Note: Other characters are the same as those for Character table: Normal Code P age #863 Canadian French Code Page #865 Nordic Code P age #866 Russian.
94 Star Mode International Character Set.
95 ESC/POS Mode Page 0 (PC437).
96 ESC/POS Mode Page 0 (PC437).
97 ESC/POS Mode Page 1 (Katakana) Note: Other characters are the same as those for Page 0..
98 ESC/POS Mode Page 2 (PC850: Multilingual) Note: Other characters are the same as those for Page 0..
99 ESC/POS Mode (Receipt printer only) Page 3 (PC860: Portuguese) Note: Other characters are the same as those for Page 0..
100 ESC/POS Mode (Receipt printer only) Page 4 (PC863: Canadian-French) Note: Other characters are the same as those for Page 0..
101 ESC/POS Mode (Receipt printer only) Page 5 (PC865: Nordic) Note: Other characters are the same as those for Page 0..
102 ESC/POS Mode (Receipt printer only) Page 255 (Space Page) Note: Other characters are the same as those for Page 0..
103 ESC/POS Mode International Character Set.
OVERSEAS SUBSIDIARY COMPANIES STAR MICRONICS AMERICA, INC. 70-D Ethel Road West, Piscataway, NJ 08854 U.S.A Tel: 732-572-9512, Fax: 732-572-5095 STAR MICRONICS U.K. LTD. Star House, Peregrine Business Park, Gomm Road, High Wycombe, Bucks, HP 13 7DL, U.
An important point after buying a device Star Micronics SCP700 Series (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Star Micronics SCP700 Series yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Star Micronics SCP700 Series - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Star Micronics SCP700 Series you will learn all the available features of the product, as well as information on its operation. The information that you get Star Micronics SCP700 Series will certainly help you make a decision on the purchase.
If you already are a holder of Star Micronics SCP700 Series, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Star Micronics SCP700 Series.
However, one of the most important roles played by the user manual is to help in solving problems with Star Micronics SCP700 Series. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Star Micronics SCP700 Series along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center