Star Micronics RS232 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

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 RS232. 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 RS232 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 RS232 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 RS232 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Star Micronics RS232
- nom du fabricant et année de fabrication Star Micronics RS232
- instructions d'utilisation, de réglage et d’entretien de l'équipement Star Micronics RS232
- 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 RS232 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 RS232 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 RS232, 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 RS232, 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 RS232. À 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

    Thermal Printer TSP200 Series Programmer’ s Manual[...]

  • Page 2

    [...]

  • Page 3

    T ABLE OF CONTENTS 1. OUTLINE .............................................................................................. 1 2. MEMORY SWITCH AND DIP SWITCH ........................................... 2 2-1. Memory Switch ............................................................................ 2 2-2. DIP Switch ...............................[...]

  • Page 4

    [...]

  • Page 5

    – 1 – The TSP200 series is ideal for printing text, bar code and graphics. The TSP200 series has the following features: 1. extremely quiet and fast printing (maximum 50 mm/sec.) using the direct line thermal printing method 2. support many bar code types (UPC-A, UPC-E, JAN/EAN-8, JAN/EAN-13, CODE 39, IFT 2 OF 5, CODE 128, CODE 93, NW-7) 3. dua[...]

  • Page 6

    – 2 – 2. MEMOR Y SWITCH AND DIP SWITCH Functional settings are made using the printer’s EEPROM memory switches and the DIP switches. 2-1. Memory Switch Each memory switch is a 16-bit word stored in EEPROM. The printer is shipped with the factory setting which is made in accordance with its product type. For the detailed functions and the sett[...]

  • Page 7

    – 3 – DIP switch #1 The factory settings of DIP switch 1 are all on. Switch Contents ON OFF 1-1 Baud Rate 1-2 1-3 Data Length 8 bit 7 bit 1-4 Parity Check Disabled Enabled 1-5 Parity Selection Odd Even 1-6 Handshake DTR XON/XOFF 1-7 Operating Mode Star ESC/POS 1-8 Interface RS232C Parallel Baud Rate 1-1 1-2 2400BPS OFF OFF 4800BPS ON OFF 9600BP[...]

  • Page 8

    – 4 – 3-1. LED LED Function POWER Lights up when the printer is turned on. Blinks when an error occurs (Refer to 7. ERRORS.) ON LINE Lights up when the printer is on line; goes off when the printer is off line or error occurs (Refer to 7. ERRORS.) 3-2. Switches Switch Function ON LINE Switches between on line and off line FEED Feeds the paper w[...]

  • Page 9

    – 5 – 4. SERIAL INTERF ACE 4-1. Interface Specifications Transmission type ................. Asynchronous serial interface Baud rate (bps) ..................... 2400, 4800, 9600, or 19200 (Selected by DIP switch) Word format Start bit: ...................... 1 Data bits: .................... 7 or 8 (Selected by DIP switch) Parity: .............[...]

  • Page 10

    – 6 – 75188 or equivalent Printer Host computer Printer Host computer 4-2. Interface Circuit 4-2-1. RS-232C Interface Input (RXD, DSR) Output (DTR, FAULT, TXD, RTS) SERIAL[...]

  • Page 11

    – 7 – 4-3. Connectors and Signal Names SERIAL 51 6 9 1. From when the power is turned on or I/F reset until communication possible 2. Test printing 3. Cover open 4. Paper feed by paper feed switch 5. Stop due to no paper 6. During waiting for switch input in macro execution 7. Other errors 8. Receiving buffer full BUSY BUSY BUSY BUSY – – ?[...]

  • Page 12

    – 8 – Pin No. Signal name Direction Function Star mode Data terminal ready signal. When the printer is ready to receive data, this signal changes to “SPACE”. 5 SG — Signal ground 6 DSR IN Signal line that indicates whether the host can receive data Space : Host can receive data Mark : Host cannot receive data Does not confirm the status o[...]

  • Page 13

    – 9 – 4-4. Interface Connections Refer to the host computer’s interface specifications for details of how to connect the interface. The following illustrations show typical connection configura- tions. SERIAL [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 FAULT Print[...]

  • Page 14

    – 10 – 4-5. Data Protocol 4-5-1. DTR mode This mode is accessed when the DIP switch 1-6 is set to ON. Signals are controlled using the DTR line as a BUSY flag. Immediately after power on (provided that no error occurs), the printer sets DTR to “SPACE” to indicate that it is ready to receive data. When the host detects that DTR is in “SPAC[...]

  • Page 15

    – 11 – ■ Error Condition Upon detecting an error, the printer immediately sets DTR to “MARK” and goes offline. If the error was caused by a paper-out condition, you can clear it by loading new paper and then pressing the ON LINE switch (Star mode) or closing the cover (ESC/POS mode). SERIAL RXD DTR OFF LINE ON LINE When paper is out Print[...]

  • Page 16

    – 12 – 4-5-2. X-ON/X-OFF mode This mode is accessed when DIP switch 1-6 is set to OFF. Immediately after power on (provided that no error occurs), the printer informs the host that it is ready to receive data by outputting the X-ON signal (control code DC1; value = 11H) over the TXD line. If necessary the printer repeats the signal every three [...]

  • Page 17

    – 13 – 5. P ARALLEL INTERF ACE 5-1. Interface Specifications 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 5-2. Interface Timing TTT A C K DATA STROBE BUSY T: At least 0.5 m s Approx. 9 [...]

  • Page 18

    – 14 – Input Signal Name Sample Circuit 5-3. Connectors and Signal Names Figure 5-1. Parallel Interface Connector Output DATA 1 DATA 8 STROBE BUSY ACK ~ 4.7k W 74LS-equivalent 1k W 100 W 1000pF 74LS-equivalent 1.8k W 74LS-equivalent (18) (1) (36) (19) Conforms to Amphenol connector 57-30360 (Printer Side) PARALLEL[...]

  • Page 19

    – 15 – Pin no Signal name Direction Function 1 STROBE IN Strobe pulse for data read. Usually HIGH; goes LOW to trigger data read. 2-9 DATA 1~8 IN Parallel data lines for eight-bit data. HIGH is “1”; LOW is “0”. 10 ACK OUT Printer outputs this pulse for approxi- mately 9 µ s to indicate that data read is completed. Printer becomes ready[...]

  • Page 20

    – 16 – A drive circuit for driving peripheral units (such as cash drawers) is featured on the main logic board of this printer. A modular connector for driving peripheral units is featured on the output side on the drive circuit. When using this circuit, connect the cable for the peripheral unit. (Cables must be prepared by the user.) Use cable[...]

  • Page 21

    – 17 – Figure 6-2. Separate ground wire and noise filter are required for Europe. Fastener One loop Ferrite core Separate ground wire Peripheral unit drive circuit connector Screw M3 × 4[...]

  • Page 22

    – 18 – ■ Drive circuit The recommended drive circuit is shown. NOTES: 1. Peripheral units #1 and #2 cannot be driven simultaneously. When driving a device continuously, do not use drive duty above 20%. 2. Compulsion switch status is available as status data. 3. Resistance for coils L1 and L2 is not less than 24 ohms. 4. Absolute maximum ratin[...]

  • Page 23

    – 19 – 7. ERRORS Error Description Abnormal head temperature Power Lamp Flashing Pattern Recovery Conditions Automatic recovery after head temperature lowers Approx. 1 Sec Approx. 1 Sec The various types of errors can be identified by the buzzer’s sound and the lit LEDs. Buzzer: The circled numbers refer to “7-4. Type of buzzer sound”. 7-[...]

  • Page 24

    – 20 – 7-3. Fatal Err or (Power Lamp: Flashing; On-Line Lamp: Flashing) The unit will have to be repaired. 7-4. T ype of buzzer sound (only Star mode) P: 50ms Pi: 100ms 1 Online, Offline P 2 No Paper PPPP PPPP 3 Head Up PiPiPi 4 Near End PP PP 5 Cover Open PPPP 6 Cutter Error Pi PPP PPiPiP PPPPPi PiPiPiPiPi PiPiPiPiPi 7 Buzzer by command Pi[...]

  • Page 25

    – 21 – STAR MODE 8. CONTROL CODES/ST AR MODE 8-1. Star Mode Command Summary The details of each command are shown in the following sections. Commands to Select Characters Control codes Hexadecimal Function Page codes <ESC> “R” n 1B 52 n Select international character set 25 <ESC> “/” “1” 1B 2F 31 Select slash zero 25 <[...]

  • Page 26

    – 22 – STAR MODE Control codes Hexadecimal Function Page codes <ESC> “4” 1B 34 Select highlight printing 33 <ESC> “5” 1B 35 Cancel highlight printing 33 <SI> 0F Inverted printing 33 <DC2> 12 Cancel inverted printing 33 <ESC> “ E ” 1B 45 Select emphasized printing 34 <ESC> “ G ” 1B 47 <ESC&g[...]

  • Page 27

    – 23 – STAR MODE Commands to Print Dot Graphics Control codes Hexadecimal Function Page codes <ESC> “K” n <0> 1B 4B n 00 m1 m2 Print normal density graphics 41 m1 m2 ... ... <ESC> “L” n1 n2 1B 4C n1 n2 m1 m2 Print high density graphics 43 m1 m2 ... ... <ESC> “k” n <0> d1 ... 1B 6B n 00 d1 ... Print fine[...]

  • Page 28

    – 24 – STAR MODE Other Commands Control codes Hexadecimal Function Page codes <CAN> 18 Cancel last line & Initialize printer 53 <DC3> 13 Deselect printer 53 <DC1> 11 Set select mode 53 <RS> 1E Beep the buzzer 53 <ESC> “#N, n1 n2 n3 n4” 1B 23 N 2C n1 n2 n3 n4 Set memory switch 54 <LF> <NUL> 0A 00[...]

  • Page 29

    – 25 – STAR MODE 8-2. Command Specification Commands to Select Characters FUNCTION Select international character set CODE <ESC> “R” n HEX 1B 52 n REMARKS Selects an international character set according to the value of n , as shown below: n Character set n Character set 0 U.S.A. 7 Spain I 1 France 8 Japan 2 Germany 9 Norway 3 England[...]

  • Page 30

    – 26 – STAR MODE FUNCTION Select bar code printing CODE <ESC> “b” n1 n2 n3 n4 di ... dk <RS> HEX 1B 62 n1 n2 n3 n4 di ... dk 1E REMARKS Prints bar code according to the value of n1 , as shown below: 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 can be s[...]

  • Page 31

    – 27 – STAR MODE CODE 39, NW-7, ITF CODE 39, NW-7 ITF 1 Narrow : wide 2:6 dots 2:5 dots 2 Narrow : wide 3:9 dots 4:10 dots 3 Narrow : wide 4:12 dots 6:15 dots 4 Narrow : wide 2:5 dots 2:4 dots 5 Narrow : wide 3:8 dots 4:8 dots 6 Narrow : wide 4:10 dots 6:12 dots 7 Narrow : wide 2:4 dots 2:6 dots 8 Narrow : wide 3:6 dots 3:9 dots 9 Narrow : wide[...]

  • Page 32

    – 28 – STAR MODE 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[...]

  • Page 33

    – 29 – STAR MODE Control codes CODE FORMAT NUL 00H %@ 25H 40H SOH 01H %A 25H 41H STX 02H %B 25H 42H ETX 03H %C 25H 43H EOT 04H %D 25H 44H ENQ 05H %E 25H 45H ACK 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 DLE 10H[...]

  • Page 34

    – 30 – STAR MODE FUNCTION Select 12-dot pitch printing CODE <ESC> “M” HEX 1B 4D REMARKS Prints 12-dot pitch characters without an extra space. FUNCTION Select 14-dot pitch printing CODE <ESC> “p” HEX 1B 70 REMARKS Prints 12-dot pitch characters with 2-dot spacing between charac- ters. FUNCTION Select 15-dot pitch printing CO[...]

  • Page 35

    – 31 – STAR MODE FUNCTION Sets the printing magnified double in character width. CODE <SO> HEX 0E REMARKS Prints the subsequent data including a character spacing set by <ESC><SP> n , magnified double in character width. FUNCTION Resets the printing magnified in character width. CODE <DC4> HEX 14 REMARKS Resets the print[...]

  • Page 36

    – 32 – STAR MODE FUNCTION Sets the magnification rate in character height. CODE <ESC> “h” n HEX 1B 68 n REMARKS Prints the subsequent data magnified in character height by a rate specified by the value of n . n Character height n Character height 0 Unmagnify 3 Quadruple 1 Double 4 Quintuple 2 Triple 5 Sextuple The value of n can be se[...]

  • Page 37

    – 33 – STAR MODE FUNCTION Upperlining CODE <ESC> “_” n HEX 1B 5F n REMARKS When the value of n is 1, overlines 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 upperlined. Resets the upperline mode when the v[...]

  • Page 38

    – 34 – STAR MODE FUNCTION Select emphasized printing CODE <ESC> “E” HEX 1B 45 CODE <ESC> “G” HEX 1B 47 REMARKS Causes subsequent characters to be emphasized. FUNCTION Cancel emphasized printing CODE <ESC> “F” HEX 1B 46 CODE <ESC> “H” HEX 1B 48 REMARKS Cancels emphasized printing.[...]

  • Page 39

    – 35 – STAR MODE Commands to Set the Page Format FUNCTION Set page length in lines CODE <ESC> “C” n HEX 1B 43 n REMARKS 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 bot[...]

  • Page 40

    – 36 – STAR MODE FUNCTION Set left margin CODE <ESC> “l” n HEX 1B 6C n REMARKS Sets the left margin at column n (where n is between 0 and 255) at the current character pitch. The left margin does not move if the character pitch is changed later. Setting is invalid if the printing area for one line would be 36mm or less. FUNCTION Set r[...]

  • Page 41

    – 37 – STAR MODE Commands to Move the Print Position FUNCTION Line feed CODE <LF> HEX 0A REMARKS Prints the current line and feeds the paper to the next line. FUNCTION Carriage return CODE <CR> HEX 0D REMARKS Prints the current line and feeds the paper to the next line. This command is ignored when CR code is invalid. FUNCTION Feed [...]

  • Page 42

    – 38 – STAR MODE FUNCTION Vertical tab CODE <VT> HEX 0B REMARKS 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. FUNCTION Set line spacing to 4 mm CODE [...]

  • Page 43

    – 39 – STAR MODE FUNCTION One time n/4 mm backfeed CODE <ESC> “j” n HEX 1B 6A n REMARKS Feeds the paper back n /4mm once only. The value of n is 1 to 255. Space setting for one line is not changed. This command can also feed the paper back to the page before the current page. In this case, the position of the line on the previous page[...]

  • Page 44

    – 40 – STAR MODE FUNCTION Set horizontal tab stops CODE <ESC> “D” n1 n2 ... <0> HEX 1B 44 n1 n2 ... 00 REMARKS Cancels all current horizontal tab stops and sets new tab stops at columns n1 , n2 , etc. at the current character pitch, where n1 , n2 , etc. are numbers between 1 and 255. A maximum of 16 horizontal tab stops can be s[...]

  • Page 45

    – 41 – STAR MODE Commands to Print Dot Graphics FUNCTION Print normal density graphics CODE <ESC> “K” n <0> m1 m2 ... HEX 1B 4B n 00 m1 m2 ... REMARKS Prints normal density dot graphics. The graphics image is 24 dots high and n × 3 dots wide. Maximum width is 576 dots. m1 , m2 , ... are the dot data, each a 1-byte value from 0 [...]

  • Page 46

    – 42 – STAR MODE EXAMPLE 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. Printing Sample D 8 D 7 D 6 D 5 D 4 D 3 D 2 D 1 m1 m2 m3 m4 m5 m6 m7 m8 m9 m10 m11 m12 m13 m14 m15 m16 m17 m18 m19 m20 m21 m22 m23 m24 m25 m[...]

  • Page 47

    – 43 – STAR MODE FUNCTION Print high density graphics CODE <ESC> “L” n1 n2 m1 m2 ... HEX 1B 4C n1 n2 m1 m2 ... REMARKS Prints high density dot graphics. The graphics image is 24 dots high and n1 + n2 × 256 dots wide. Maximum width is 576 dots. m1 , m2 , ... are the dot data, each a 1-byte value from 0 to 255 representing 24 vertical [...]

  • Page 48

    – 44 – STAR MODE EXAMPLE 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. Horizontal density is three times that of the bit image for <ESC>“k”. (Compare the print samples.) Printing Sample FUNCTION Print [...]

  • Page 49

    – 45 – STAR MODE Relationship between image data and print dots Dot position d 1 b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0 d n+1 b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0 d 2n+1 b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0 d 3n+1 b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0 d 4n+1 b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0 d 5n+1 b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0 d 6n+1 b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0 [...]

  • Page 50

    – 46 – STAR MODE EXAMPLE Hexa- decimal Binary Data Hexa- decimal Binary Data d1 00000000 00 d3 00011111 1F d5 00111111 3F d7 01110111 77 d9 11111000 F8 d11 11111000 F8 d13 11111000 F8 d15 00001111 0F d17 00011111 1F d19 00011111 1F d21 00111110 3E d23 00111000 38 d25 011111001 79 d27 01110011 73 d29 01110011 73 d31 11111001 F9 d33 11111000 F8 d[...]

  • Page 51

    – 47 – STAR MODE MSB Dot Position LSB b7 b6 b5 b4 b3 b2 b1 b0 d1••• MSB LSB b7 b6 b5 b4 b3 b2 b1 b0 d2••• MSB LSB b7 b6 b5 b4 b3 b2 b1 b0 d3••• 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 FUNCTION Print fine density graphics CODE <ESC> “X” n 1 n 2 d1...d [(n1+n2*256)*3] HEX 1B 5 n 1 n 2 d1...d [(n1[...]

  • Page 52

    – 48 – STAR MODE Commands to Print Download Characters FUNCTION Define download character CODE <ESC> “&” <1> <1> nm 1 m 2 ... m48 HEX 1B 26 01 01 nm 1 m 2 ... m48 CODE <ESC> “&” “1” “1” nm 1 m 2 ... m48 HEX 1B 26 31 31 nm 1 m 2 ... m48 REMARKS Defines one new character and stores it in RAM for lat[...]

  • Page 53

    – 49 – STAR MODE Hexa- decimal Binary Data Hexa- decimal Binary Data m1 00011000 18 m3 00111000 38 m5 01111000 78 m7 00011000 18 m9 00011000 18 m11 00011000 18 m13 00011000 18 m15 00011001 19 m17 00011011 1B m19 00000110 06 m21 00001100 0C m23 00011011 1B m25 00110111 37 m27 01100110 66 m29 00000000 00 m31 00000000 00 m33 00000001 01 m35 000000[...]

  • Page 54

    – 50 – STAR MODE FUNCTION Disable download character set CODE <ESC> “%” “0” or <ESC> “%” <0> HEX 1B 25 30 or 1B 25 00 REMARKS Disables the selected download character set and returns to the built-in ROM character set.[...]

  • Page 55

    – 51 – STAR MODE Commands to Control Peripheral Devices FUNCTION Define drive pulse width for peripheral device #1 CODE <ESC><BEL> n1 n2 HEX 1B 07 n1 n2 REMARKS 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 de[...]

  • Page 56

    – 52 – STAR MODE Commands to Control Auto Cutter FUNCTION Full-cut command to the auto cutter CODE <ESC> “d” “0” or <ESC> “d” <0> HEX 1B 64 30 or 1B 64 00 REMARKS Cuts the paper fully when memory switch 2-C is set to 0. If memory switch 2-C is set to 1, the paper is fed to 18 mm and cut fully. When auto cutter is i[...]

  • Page 57

    – 53 – STAR MODE Other Commands FUNCTION Cancel last line & Initialize printer CODE <CAN> HEX 18 REMARKS 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 me[...]

  • Page 58

    – 54 – STAR MODE Parameter n4 Setting FF command 4 Paper Feed, Cut & Back Star ESC/POS – (Default) 0 Form Feed : Available FUNCTION Set memory switch CODE <ESC> “# N , n1n2n3n4” <LF> <NUL> HEX 1B 23 N 2C n1n2n3n4 0A 00 REMARKS Set the memory switch. In order to enable changed memory switch setting, turn the printer O[...]

  • Page 59

    – 55 – STAR MODE 3) N=2 n3 : Always “0” Parameter n1 n2 n4 Setting ESC d command Cutter Paper near end 1 Paper feed & cut Valid (TSP242) Valid ESC/POS – – Star (Default) 0 Cut Invalid (TSP212) Invalid : Available (Default) 0 Normal 48 Invalid 4 4) N=3 n1 : Always “0” Parameter n2 n3 n4 Setting Character table Print column CR cod[...]

  • Page 60

    – 56 – STAR MODE b7 b6 b5 b4 b3 b2 b1 b0 0 Constantly set at “0” V ertical Parity error 1 : error Framing error 1 : error Mechanical error 1 : error Paper empty 1 : empty Buffer empty 1 : empty Buffer overflow 1 : overflow Compulsion switch High level (Switch is set to ON) Status byte FUNCTION Reset the printer hardware. CODE <ESC> ?[...]

  • Page 61

    – 57 – ESC/POS 9. CONTROL CODES/ESC/POS MODE Control Code Hexadecimal Code Function HT 09 Horizontal tab LF 0A Print line feed FF 0C Page mode print and return DLE EOT 10 04 Real time transmission of status DLE ENQ 10 05 Real time request to printer CAN 18 Cancel print data in page mode ESC FF 1B FF Print page mode data ESC SP 1B 20 Set right s[...]

  • Page 62

    – 58 – ESC/POS Control Code Hexadecimal Code Function ESC u 1B 75 Transmission of peripheral equipment status ESC v 1B 76 Transmission of paper detection status ESC { 1B 7B Designate/cancel inverted printing GS ! 1 D 21 Designate character size GS $ 1D 24 Designate absolute position of vertical direction of characters in page mode GS * 1D 2A De[...]

  • Page 63

    – 59 – 10. CHARACTER CODE T ABLES Star Mode 0 1 2 3 4 5 6 7 8 9 A B C D E F 0123456 7 <NUL> SP 0 @ P ` p 0 1 63 24 86 48 09 6 1 1 2 <DC1> !1 A Q a q 1 1 73 34 96 58 19 7 1 1 3 <DC2> ”2 B R br 2 1 83 45 06 68 29 8 1 1 4 <DC3> #3 C S c s 3 1 93 55 16 78 39 9 1 1 5 <DC4> $4 D Td t 4 2 03 65 26 88 4 1 0 0 1 1 6 <E[...]

  • Page 64

    – 60 – 89 A B C D E F Ä éù a 128 144 160 176 192 208 224 240 Ö è u â 129 145 161 177 193 209 225 241 Ü e û ° 130 146 162 178 194 210 226 242 ßê ç ° C 131 147 163 179 195 211 227 243 §ï ¿ ° F 132 148 164 180 196 212 228 244 ª í N Ω 133 149 165 181 197 213 229 245 º ì n µ 134 150 166 182 198 214 230 246 f E ∑ 135 151 167[...]

  • Page 65

    – 61 – Star Mode (Character table: katakana)[...]

  • Page 66

    – 62 – Star Mode (Character table: IBM) 0 1 2 3 4 5 6 7 8 9 A B C D E F 89 A B C D E F Ç Éá α≡ 128 144 160 176 192 208 224 240 üæ í β± 129 145 161 177 193 209 225 241 é Æó Γ≥ 130 146 162 178 194 210 226 242 âô ú π≤ 131 147 163 179 195 211 227 243 ä öñ ∑ 132 148 164 180 196 212 228 244 à ò Ñ σ 133 149 165 181 197 [...]

  • Page 67

    – 63 – Star Mode International Character Set 35 36 64 91 92 93 94 96 123 124 125 126 U. S. A. # $ @ []ˆ ` {| } ~ France #$à ° ç§ ˆ ` éùè ¨ Germany #$§ Ä Ö Ü ˆ ` äöü ß England £ $ @ [] ˆ ` {| } ~ Denmark 1 #$ @ Æ Ø Å ˆ ` æ ø å ~ Sweden #¤ É Ä Ö Å Ü éäöåü Italy #$ @ ° é ˆ ùàòè ì Spain 1 $@ ¡ Ñ [...]

  • Page 68

    – 64 – ESC/POS Mode 0 1 2 3 4 5 6 7 8 9 A B C D E F 0123456 7 <NUL> <DLE> SP 0 @ P ` p 0 1 63 24 86 48 09 6 1 1 2 <XON> !1 A Q a q 1 1 73 34 96 58 19 7 1 1 3 ”2 B R br 2 1 83 45 06 68 29 8 1 1 4 <XOFF> #3 C Sc s 3 1 93 55 16 78 39 9 1 1 5 <EOT> $4 D Td t 4 20 36 52 68 84 100 116 <ENQ> %5 E U e u 5 21 37 53 [...]

  • Page 69

    – 65 – ESC/POS Mode Page 0 (PC437: USA, Standard Europe) 0 1 2 3 4 5 6 7 8 9 A B C D E F 89 A B C D E F Ç É á α≡ 128 144 160 176 192 208 224 240 üæ í β± 129 145 161 177 193 209 225 241 é Æó Γ≥ 130 146 162 178 194 210 226 242 âô ú π≤ 131 147 163 179 195 211 227 243 ä öñ ∑ 132 148 164 180 196 212 228 244 à ò Ñ σ 13[...]

  • Page 70

    – 66 – ESC/POS Mode Page 1(Katakana)[...]

  • Page 71

    – 67 – ESC/POS Mode Page 2 (PC850: Multilingual)[...]

  • Page 72

    – 68 – ESC/POS Mode Page 3 (PC860: Portuguese) 0 1 2 3 4 5 6 7 8 9 A B C D E F 89 A B C D E F Ç É á α≡ 128 144 160 176 192 208 224 240 ü À í β± 129 145 161 177 193 209 225 241 é È ó Γ≥ 130 146 162 178 194 210 226 242 âô ú π≤ 131 147 163 179 195 211 227 243 ã õñ ∑ 132 148 164 180 196 212 228 244 à ò Ñ σ 133 149 16[...]

  • Page 73

    – 69 – ESC/POS Mode Page 4 (PC863: Canadian-French)[...]

  • Page 74

    – 70 – ESC/POS Mode Page 5 (PC865: Nordic) 0 1 2 3 4 5 6 7 8 9 A B C D E F 89 A B C D E F Ç É á α≡ 128 144 160 176 192 208 224 240 üæ í β± 129 145 161 177 193 209 225 241 é Æó Γ≥ 130 146 162 178 194 210 226 242 âô ú π≤ 131 147 163 179 195 211 227 243 ä öñ ∑ 132 148 164 180 196 212 228 244 à ò Ñ σ 133 149 165 181 [...]

  • Page 75

    – 71 – ESC/POS Mode Page 255 (Space Page) 0 1 2 3 4 5 6 7 8 9 A B C D E F 89 A B C D E F SP SP SP SP SP SP SP SP 128 144 160 176 192 208 224 240 SP SP SP SP SP SP SP SP 129 145 161 177 193 209 225 241 SP SP SP SP SP SP SP SP 130 146 162 178 194 210 226 242 SP SP SP SP SP SP SP SP 131 147 163 179 195 211 227 243 SP SP SP SP SP SP SP SP 132 148 1[...]

  • Page 76

    – 72 – ESC/POS Mode International Character Set 35 36 64 91 92 93 94 96 123 124 125 126 U. S. A. #$ @ [ ] ˆ ` { | } ~ France #$à ° ç§ ˆ ` é ù è ¨ Germany #$§ Ä Ö Ü ˆ ` äöüß England £$ @ [ ] ˆ ` { | } ~ Denmark 1 #$ @ Æ Ø Å ˆ ` æ øå ~ Sweden #¤ É Ä Ö Å Ü éäöåü Italy #$ @ ° é ˆ ù à ò èì Spain P [...]

  • Page 77

    – 73 – 1 1. AUT OMA TIC CUTTER The TSP242 comes equipped with a guillotine-type automatic paper 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, [...]

  • Page 78

    P1996.11 MEMO[...]

  • Page 79

    [...]

  • Page 80

    Printed in Japan, 80872025 ELECTRONIC PRODUCTS DIVISION STAR MICRONICS CO., LTD. 536 Nanatsushinnya, Shimizu, Shizuoka, 424 Japan Tel: 0543-47-0112, Fax: 0543-48-5271 OVERSEAS SUBSIDIARY COMPANIES STAR MICRONICS AMERICA, INC. 70-D Ethel Road West, Piscataway, NJ 08854 U.S.A Tel: 908-572-9512, Fax: 908-572-5095 STAR MICRONICS DEUTSCHLAND GMBH Wester[...]