Star Micronics Star SCP700 Series manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Star Micronics Star SCP700 Series. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Star Micronics Star SCP700 Series ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Star Micronics Star SCP700 Series décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Star Micronics Star SCP700 Series devrait contenir:
- informations sur les caractéristiques techniques du dispositif Star Micronics Star SCP700 Series
- nom du fabricant et année de fabrication Star Micronics Star SCP700 Series
- instructions d'utilisation, de réglage et d’entretien de l'équipement Star Micronics Star SCP700 Series
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Star Micronics Star SCP700 Series ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Star Micronics Star SCP700 Series et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Star Micronics en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Star Micronics Star SCP700 Series, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Star Micronics Star SCP700 Series, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Star Micronics Star SCP700 Series. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    COMBINA TION PRINTER SCP700 SERIES Pr ogrammer’ s Manual[...]

  • Page 2

    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. • The contents of this manual are subject to change without notice. • Al[...]

  • Page 3

    TABLE OF CONTENTS Chapter 1: Outline ........................................................................................ 1 Chapter 2: DIP Switch Settings .................................................................. 2 Accessing the DIP switches ........................................................ 2 Available DIP switch settings ......[...]

  • Page 4

    2 [Blank page][...]

  • Page 5

    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. The bigg[...]

  • Page 6

    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. Accessing the DIP switches The DIP switches are located inside t[...]

  • Page 7

    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. ❏ After the document table is opened suf ficiently , use a thin flat-blade scre wdriv er or some other similar object t[...]

  • Page 8

    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. DIP Switch 2 The following table shows all the possible settings for DIP Switch 2. The f[...]

  • Page 9

    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 Parameter ON OFF[...]

  • Page 10

    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”. The table below shows the factory settings for the memory switches. Memory Switch Hexadecimal Code 0 0000 1 0000 2 0000 3 0000 4 0000 5 0000[...]

  • Page 11

    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. Indicator lights The following table describes the meaning of indicator lights when it is on, off, or f[...]

  • Page 12

    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 . Also make sure that roll paper is loaded for the r[...]

  • Page 13

    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. For example, what should look like: may come out looking like one of the following: This is caused when mechan[...]

  • Page 14

    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. Note: If you pr ess the SLIP/RESUME button without pr essing the RECEIPT button after entering the Dot Alignmen[...]

  • Page 15

    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. The hexadecimal dump is useful when you are writing programs for printer control. ❏ Make sure t[...]

  • Page 16

    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. Error Name Cause RECEIPT Flashing Pattern Recovery P aper Out Er[...]

  • Page 17

    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 ............ Asynchronous serial interface Baud rate (bps) ................. 2400, 4800, 9600, or 19200 (Select[...]

  • Page 18

    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. 5 SG — Signal ground 6 DSR IN Signal line that indicates if the host comp[...]

  • Page 19

    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. RS-232C 1 2 3 4 5 7 8 9 1 2 3 4 5 6 7 8 20 F-GND TXD RXD RTS CTS DSR S-GND DCD DTR F-GND RXD TXD DTR S-GND 6 DSR RTS INIT N/C Printer side[...]

  • Page 20

    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. “SPACE” indicates the printer can receive data, and oppositely “MARK” indic[...]

  • Page 21

    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.” B) Buffer set to “small size” (45-byte[...]

  • Page 22

    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. In the Combination mode, when memory switch 4-C is set to “0” (factor[...]

  • Page 23

    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 size” (45-bytes) (set with sip switch 2-3) Printer setting conditions Description of operation • When in Star mode and memory switch is set to “0?[...]

  • Page 24

    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.” 4) Suggestions when memory switch 4-4 is ON [only when[...]

  • Page 25

    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. All switch settings, except for 1-7 and 1-8, are ON when the printer is shipped from[...]

  • Page 26

    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. 6 DSR IN Signal line that indicates if the host computer can receive data. [...]

  • Page 27

    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. 1 2 3 4 6[...]

  • Page 28

    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.5 µ s Approx. 9 µ s[...]

  • Page 29

    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.8k Ω 74LS-equivalent (18) (1) (36) (19)[...]

  • Page 30

    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. 10 A CK OUT 9 µ s LOW pulse to ac knowle[...]

  • Page 31

    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. A modular connector for connection of the peripheral unit is located on the back of the printer. To connect to the drive circuit, connect the peripheral unit to the modular connector using a cable[...]

  • Page 32

    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. • Minimum resistance for coils L1 and L2 is 24 Ω . • Absolute[...]

  • Page 33

    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. 2 NEVER place fingers or metal objects in the cutter area. 3 If a jam occurs in the cutter area, switch off the power, use tweezers to remove the jammed paper, then switch th[...]

  • Page 34

    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. The ESC/POS mode e[...]

  • Page 35

    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. 42 <ESC> “W” n 1B 57 n Set the magnificat[...]

  • Page 36

    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” <0> n 1B 43 00 n Set page length in inches 46 <ESC> “N” n 1B 4E n Set bottom margin 46 <ESC> “O” 1B 4F Cancel bottom margin 46[...]

  • Page 37

    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 ... 1B 4C n1 n2 m1 m2 ... Print high density graphics 56 <ESC&g[...]

  • Page 38

    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” “0” <ESC> “d” <0> 1B 64 30 1B 64 00 Full-cut command to the auto cutter 67 <ESC> “d” “1” <ESC> “d” <1> [...]

  • Page 39

    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 <DC1> 11 Set select mode 76 <RS> 1E Beep the buzzer 76 <ESC> “#N, n1 n2 n3 n4 ” <LF> <NUL> 1B 23 N 2C n1 n2 n3 n4 0A 00 [...]

  • Page 40

    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. If this command is not set at the beginning of a line, the printer will ignore the c[...]

  • Page 41

    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. n1 : Type of bar code 0 UPC-E 1 UPC-A 2 JAN/EAN-8 3 JAN/EAN-13 4 CODE 39 5 ITF 6 CODE 128 7 CODE 93 8 NW-7 The value of n1[...]

  • Page 42

    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. n4 : Height of bar code Can be up to 255 dots (31.9 mm). If the bar code heigh[...]

  • Page 43

    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. CODE 128: The value of k is optional, and the maximum value also differs according to the modes and the types of character number ([...]

  • Page 44

    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 47H BS 08H %H 25H 48H HT 09H %I 25H 49H LF 0AH %J 25H 4AH VT 0BH %K 25H 4BH FF 0CH %L 25H 4CH CR 0DH %M 25H 4DH SO 0EH %N 25H 4EH SI 0FH %O 25H 4FH D[...]

  • Page 45

    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. This command is only valid with the rece[...]

  • Page 46

    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. Resets the printing magnified in character width set by <SO>, <ESC><SO&[...]

  • Page 47

    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 . Receipt printer: n= 0, “0”: Reset magnification (same as <ESC><DC4>) 1, “1”: Double magnification (same as <ESC><SO>) 2, “2”: Triple [...]

  • Page 48

    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. Resets the upper line mode when the value of n is 0. The value of n can be set[...]

  • Page 49

    45 <ESC> “E” 1B 45 Select emphasized printing Causes subsequent characters to be emphasized. <ESC> “F” 1B 46 Cancel emphasized printing Cancels emphasized printing. <ESC> “U” “1” or <ESC> “U” <1> 1B 55 31 1B 55 01 Select uni-directional printing After printing the data in the line buffer, the printe[...]

  • Page 50

    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. Resets the bottom margin. Default page length is 42 lines. Th[...]

  • Page 51

    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. When the power is turned on, the left edge is set as the left margin. Receipt prin[...]

  • Page 52

    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.) If the <CR> code is valid: Receipt printer : Functions in the same[...]

  • Page 53

    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. This command is only valid with the receipt printer. <ESC> “A” n 1B 41 n [...]

  • Page 54

    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. <ESC> “1” 1B 31 Receipt printer: Set line spacing to 3 mm Sets the dis[...]

  • Page 55

    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. The space setting for lines do not change. This command can also feed the paper back to a previous page; however, the position in the line on the previous page is determined by the page lengt[...]

  • Page 56

    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. The tab stops must be specified in ascending order; any violation of a[...]

  • Page 57

    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. The relationship between the entered data and the actual printing is shown below[...]

  • Page 58

    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. A maximum of 210 data bytes can printed in one line. Any data exceeding[...]

  • Page 59

    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. Data Binary Hexa- decimal Data Binary Hexa- decimal Data Binary Hexa- decimal m1 00000001 01 m11 00111110 3E m21 00111110 3E m2 00011110 1E m12 00000010 02 m22 001011[...]

  • Page 60

    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. The value of n1 + n2 × 256[...]

  • Page 61

    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. The relationship between[...]

  • Page 62

    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. The value of n is between 1 and 72. Thi[...]

  • Page 63

    59 Relationship between image data and print dots Image data Dot position b7 b6 b5 b4 b3 b2 b1 b0[...]

  • Page 64

    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 00011111 1F d11 11111000 F8 d12 00011111 1F d13 11111000 F8 d14 00011111 1F d15 00001111 0F d16 11110000 F0 d17 00011111 1F d18 11111000 F8 d19 00011111 1F [...]

  • Page 65

    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. 1 n1 + n2 × 256 576 CODE HEX FUNCTION ?[...]

  • Page 66

    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. n is the character code of the character defined and mus[...]

  • Page 67

    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 m6 m7 ] n2 – n1 + 1 When the 5 × 9 dot character size is set: <ESC> “&” <0> n1 n2 [ m0 m1 m2 m3 m4 m5 ] n2 – n1 + 1 (1B) H (2[...]

  • Page 68

    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. The values of n1 and n2 are between (21) H and (7F) H with n1 less than or equal to n2 and the value of m0 is either (00) H or (80) [...]

  • Page 69

    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. <ESC> “%” “1” or <ESC> “%” <1> 1B 25[...]

  • Page 70

    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. <BEL> 07 Control per[...]

  • Page 71

    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. This command is only valid with the receipt printer. <ESC> “d” “1” or <ESC> “d” <1> 1B 64 31 or 1B 64 01 Partial-cut command to the auto cutter Cuts[...]

  • Page 72

    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, “1” : Valid Invalid 02, “2” : Invalid Valid 03, “3” : Invalid Invalid Default values are: n = 0 when memory switch 5-2 = 0 (factory settin[...]

  • Page 73

    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. The value of m determines the ejection direction. When m= “+”: the ejection direction is into the printer (operational feed), and the ejection length is n lines (at the curre[...]

  • Page 74

    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.7 sec.) The value of m is fixed to 0. This command is only[...]

  • Page 75

    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.30 mm and a 1-dot pitch in the vertical direction is[...]

  • Page 76

    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 . In addition, the length DX in the X direction is [...]

  • Page 77

    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. This command is only valid in line mode. The default value of n is 0. <Rotation directio[...]

  • Page 78

    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. [Limitations on the check high-speed printing mode] • The only characters that can be printed are the 5 X[...]

  • Page 79

    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. This command is only effe[...]

  • Page 80

    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.) (Line buffer means the print data expansion area.) If [...]

  • Page 81

    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. Changed memory switch settings are stored in EEPROM and these sett[...]

  • Page 82

    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” “1” Remark n1 Receipt printer ESC d command Receipt printer Cut Paper feed, & Cut Star mode only n2 Receipt printer cutter V alid Inv alid[...]

  • Page 83

    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. From when the po wer is t[...]

  • Page 84

    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 :Always “0” (Default) Parameter Setting “0” “1” “2” “3” n2 When slip printer <CR> code is valid Print + line feed (CRLF) pr[...]

  • Page 85

    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. If this command is specified in page mode while p[...]

  • Page 86

    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 auto cutter error Receipt printer thermistor error Cover open error Slip printer mechanical error 1: Error Vertical parity error 1: Error Framing erro[...]

  • Page 87

    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 CAN Cancel print data in page mode ESC FF Print page mode data ESC SP Set right space amount of character ESC ! Universal print mode designation ESC $[...]

  • Page 88

    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 status ESC v T ransmission of paper detection status ESC { Designate/cancel in verted printing GS ! Designate character size GS $ Designate absolute po[...]

  • Page 89

    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 amount of character ESC ! Universal print mode designation ESC % Designate/cancel download characters set ESC & Define download characters ESC * Desi[...]

  • Page 90

    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. Also, even though, since[...]

  • Page 91

    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.3mm from the bottom of the paper[...]

  • Page 92

    88 Appendix : Character Code T ables Star Mode (Character table: Normal) Note: The (7F)H code is a space when neither normal nor katakana.[...]

  • Page 93

    89 Star Mode (Character table: Normal)[...]

  • Page 94

    90 Star Mode (Character table: katakana) Note: Other characters are the same as those for Character table: Normal.[...]

  • Page 95

    91 Star Mode (Character table: IBM (Code page 437)) Note: Other characters are the same as those for Character table: Normal.[...]

  • Page 96

    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[...]

  • Page 97

    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[...]

  • Page 98

    94 Star Mode International Character Set[...]

  • Page 99

    95 ESC/POS Mode Page 0 (PC437)[...]

  • Page 100

    96 ESC/POS Mode Page 0 (PC437)[...]

  • Page 101

    97 ESC/POS Mode Page 1 (Katakana) Note: Other characters are the same as those for Page 0.[...]

  • Page 102

    98 ESC/POS Mode Page 2 (PC850: Multilingual) Note: Other characters are the same as those for Page 0.[...]

  • Page 103

    99 ESC/POS Mode (Receipt printer only) Page 3 (PC860: Portuguese) Note: Other characters are the same as those for Page 0.[...]

  • Page 104

    100 ESC/POS Mode (Receipt printer only) Page 4 (PC863: Canadian-French) Note: Other characters are the same as those for Page 0.[...]

  • Page 105

    101 ESC/POS Mode (Receipt printer only) Page 5 (PC865: Nordic) Note: Other characters are the same as those for Page 0.[...]

  • Page 106

    102 ESC/POS Mode (Receipt printer only) Page 255 (Space Page) Note: Other characters are the same as those for Page 0.[...]

  • Page 107

    103 ESC/POS Mode International Character Set[...]

  • Page 108

    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.K. Tel: 01494-471111, Fax: 01494-473333 HEAD OFFICE STAR MICRONICS CO., LTD. 536 Nanatsushinnya, S[...]