NL
Star Micronics logo
Officiële handleiding

Star Micronics RS232

80 pagina's·707 KB·Printer·PDF·EN
Star Micronics RS232
Inhoudsopgave 34 secties SURFACE · TABLE OF CONTENTS · 1. OUTLINE · 2. MEMORY SWITCH AND DIP SWITCH · … TonenVerbergen
Page 1 of the Star Micronics RS232 user manual — Thermal Printer
Pagina 1 · klik om te vergroten
Pagina 1

Thermal Printer

TSP200 Series

Programmer’s Manual

Page 2 of the Star Micronics RS232 user manual — SURFACE
Pagina 2 · klik om te vergroten
Pagina 2
Page 2 of the Star Micronics RS232 user manual — SURFACE
Page 5 of the Star Micronics RS232 user manual — 1. OUTLINE
Pagina 5 · klik om te vergroten
Pagina 5

1. OUTLINE

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. dual interfaces (RS232C, Parallel) 4. memory switches that enable wide selection of printer default settings

The printer has two different software modes which can be selected using the DIP switch. (Factory setting: Star Mode)

Star ModeDIP switch 1-7 ON

This mode is compatible with Star Receipt printers, such as the SP300 and SP200 series.

ESC/POS ModeDIP switch 1-7 OFF

This mode is compatible with the printers supporting ESC/POS command.

ESC/POS is a trademark of Seiko Epson Corporation.

For improvement purposes, the descriptions and specifications in this manual are subject to change without notice.

Page 6 of the Star Micronics RS232 user manual — DIP switch array
Pagina 6 · klik om te vergroten
Pagina 6
2. MEMORY 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 settings of the Memory switches, please refer to “Chapter 8”. The factory settings are shown in the table below. Memory switch TSP212 TSP242 #0 0000 0000 #1 0000 0000 #2 0000 0100 #3 0000 0000 #4 0000 0000 Memory switchTSP212TSP242 #000000000 #100000000 #200000100 #300000000 #400000000

2-2. DIP Switch

Be sure to turn off the power of the printer before changing the setting of the DIP switches.

8 1 4 1 ON

OFF DIP switch 1

DIP switch array

Power off · DIP switch · DIP switch 2

Page 7 of the Star Micronics RS232 user manual — 2. MEMORY SWITCH AND DIP SWITCH
Pagina 7 · klik om te vergroten
Pagina 7

DIP switch #1 The factory settings of DIP switch 1 are all on.

SwitchContentsONOFF 1-1 1-2Baud Rate 1-3Data Length8 bit7 bit 1-4Parity CheckDisabledEnabled 1-5Parity SelectionOddEven 1-6HandshakeDTRXON/XOFF 1-7Operating ModeStarESC/POS 1-8InterfaceRS232CParallel Baud Rate 1-1 1-2 2400BPS OFF OFF 4800BPS ON OFF 9600BPS ON ON 19200BPS OFF ON Baud Rate1-11-2 2400BPSOFFOFF 4800BPSONOFF 9600BPSONON 19200BPSOFFON

DIP Switch #2 Factory settings: 2-1 and 2-2 are on; 2-3 and 2-4 are off.

SwitchContentsONOFF 2-1 2-2Print Density 2-3Serial I/F No. 6 Pin Reset SignalEnabledDisabled 2-4Serial I/F No. 8 Pin Reset SignalEnabledDisabled
Print Density2-12-2 LightOFFOFF StandardONON Somewhat HeavyONOFF HeavyOFFON
Page 8 of the Star Micronics RS232 user manual — 3-3. Switch Operation (Combined Switch Operation)
Pagina 8 · klik om te vergroten
Pagina 8

3. DISPLAY PANEL AND FUNCTIONS

3-1. LED

LEDFunction POWER ON LINELights up when the printer is turned on. Blinks when an error occurs (Refer to 7. ERRORS.) 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 SwitchFunction ON LINE FEEDSwitches between on line and off line Feeds the paper while pressed

3-3. Switch Operation (Combined Switch Operation)

1. FEED + POWER ON (Turn the power on while holding the FEED switch depressed.) Self-printing will be performed. VER. NO., Memory switch settings, DIP switch settings and character order will be printed out.

2) ON LINE + POWER ON (Turn the power on while holding the ON LINE switch depressed.) Each of the signals sent from the computer to the printer will be printed out in hexadecimal code. This function allows you to check if a control code sent to the printer by the program being used is correct or not. The last line is not printed if its data is less than one full line. However, if the ON LINE switch is pressed to set the off line mode, the last line will be printed. To turn off the mode, it is necessary to turn off the printer completely.

Page 9 of the Star Micronics RS232 user manual — SERIAL
Pagina 9 · klik om te vergroten
Pagina 9

4. SERIAL INTERFACE

4-1. Interface Specifications

SERIAL

Transmission type Asynchronous serial interface

Baud rate (bps) 2400, 4800, 9600, or 19200

(Selected by DIP switch)

Start bit: 1 Data bits: 7 or 8 (Selected by DIP switch) Parity: Odd, Even, or None

(Selected by DIP switch) Stop bit: 1

RS-232C Mark = Logic “1” (–3V to –15V)

Space = Logic “0” (+3V to +15V) Handshaking DTR or XON/XOFF mode (Selected by DIP

b0 b1 b2 b3 b4 b5 b6 (b7)

ABCD

A: Start bit B: Data bits C: Vertical parity bit D: Stop bit

Show 5 more labels / short text on this page
Word format · Signal polarities · switch) · Mark [1] · Space [0]
Page 10 of the Star Micronics RS232 user manual — 4-2-1. RS-232C Interface
Pagina 10 · klik om te vergroten
Pagina 10

4-2. Interface Circuit

4-2-1. RS-232C Interface

SERIAL

Output (DTR, FAULT, TXD, RTS)

Show 4 more labels / short text on this page
Input (RXD, DSR) · Printer Host computer · Printer Host computer · 75188 or equivalent
Page 11 of the Star Micronics RS232 user manual — SERIAL
Pagina 11 · klik om te vergroten
Pagina 11

4-3. Connectors and Signal Names

SERIAL

4-3-1. RS-232C Interface

Pin No.Signal nameDirectionFunction 1FG–Frame ground 2RXDINReceiving data 3TXDOUTTransmission data 4DTROUTESC/POS mode 1) DTR/DSR communication mode Indicates if printer is busy or not. Space: Printer ready Mark: Printer busy The conditions for busy will vary according to the memory switch settings. Memory SW #4-4 Printer Status 1 0 1. From when the power BUSY BUSY is turned on or I/F reset until communication possible 2. Test printing BUSY BUSY 3. Cover open – – – BUSY 4. Paper feed by paper feed – – – BUSY switch 5. Stop due to no paper – – – BUSY 6. During waiting for – – – BUSY switch input in macro execution 7. Other errors – – – BUSY 8. Receiving buffer full BUSY BUSY 2) XON/XOFF Communication mode Indicates when printer can receive data from host. This is space, except for the following. 1. After reset until communication possible. 2. During test printing.
Printer StatusMemory SW #4-4 10 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 fullBUSY BUSY – BUSYBUSY
Page 12 of the Star Micronics RS232 user manual — SERIAL
Pagina 12 · klik om te vergroten
Pagina 12
Pin No.Signal nameDirectionFunction Star mode Data terminal ready signal. When the printer is ready to receive data, this signal changes to “SPACE”. 5SG—Signal ground 6DSRINSignal line that indicates whether the host can receive data Space : Host can receive data Mark : Host cannot receive data Does not confirm the status of this signal in XON/ XOFF communication or STAR mode. This signal line can be used as an external reset signal by setting the DIP switches. A pulse width of 1 ms or more mark state activates reset. 7RTSOUTSame as DTR signal. 8INITINThis signal line can be used as an external reset signal by setting the DIP switches. A pulse width of 1 ms or more space state activates reset. 9FAULTOUTIn the Star mode, the printer will enter the mark state during the following errors: no paper, head up, cutter error. In ESC/POS mode, this is normally space.

SERIAL

Page 13 of the Star Micronics RS232 user manual — F-GND
Pagina 13 · klik om te vergroten
Pagina 13

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]

Printer side IBM PC side (25 pin)

F-GND

F-GND

RXD

TXD

TXD

RXD

DTR

RTS

S-GND

CTS

DSR

6 DSR

RTS

S-GND

INIT

DCD

FAULT

DTR

Printer side IBM PC side (9 pin)

F-GND

DCD

RXD

RXD

TXD

TXD

DTR

DTR

S-GND

S-GND

6 DSR

DSR

RTS

RTS

INIT

CTS

FAULT

Page 14 of the Star Micronics RS232 user manual — DTR “MARK”
Pagina 14 · klik om te vergroten
Pagina 14

4-5. Data Protocol

4-5-1. DTR mode

SERIAL

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.

RXD

Buffer full Buffer empty

DTR

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 “SPACE” condition, it begins sending text data over the RXD line.

When the printer’s remaining buffer space falls to *256 bytes or less, the printer sets DTR to “MARK.” The host responds by halting the data transfer. However, note that the printer remains capable of receiving data until the buffer becomes full.

Available buffer space increases as the printer prints the buffered data. When the printer has cleared all but the last *256 bytes of data, it sets DTR back to “SPACE” to indicate that it is ready to receive more data.

Data buffer full Nearly full Nearly empty Empty

*256 bytes remaining *256 bytes

DTR “MARK”

DTR “SPACE”

* 16 bytes when the buffer size is set to 45 bytes

Data Data Data · Printing · Power ON

Page 15 of the Star Micronics RS232 user manual — RXD
Pagina 15 · klik om te vergroten
Pagina 15

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

When paper is out

RXD

OFF LINE ON LINE

DTR

Paper out Press the ON LINE switch after loading paper (Star mode).

Show 4 more labels / short text on this page
I Error Condition · Printing · PAPER OUT signal · Power ON
Page 16 of the Star Micronics RS232 user manual — SERIAL
Pagina 16 · klik om te vergroten
Pagina 16

4-5-2. X-ON/X-OFF mode

This mode is accessed when DIP switch 1-6 is set to OFF.

SERIAL

X–ON X–OFF X–OFF X–ON X–OFF X–OFF X–OFF

X–ON X–OFF

TXD

RXD

PAPER OUT

ON

ON LINE

OFF

Paper out Power ON Load paper and press the ON LINE switch (Star mode).

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 seconds until the host begins sending text data over the RXD line.

When the printer’s remaining buffer space falls to *256 bytes or less, the printer begins to output X-OFF signals (DC3, value = 13H) over the TXD line. The host responds by halting the data transfer. Note that the printer remains capable of receiving data until the buffer becomes full.

Available buffer space increases as the printer prints the buffered data. When the printer has cleared all but the last *256 bytes of data, it again outputs the X-ON signal.

Data buffer full Nearly full Nearly empty Empty

Printer outputs X-OFF.

Pinter outputs X-ON.

* 16 bytes when the buffer size is set to 45 bytes

Show 6 more labels / short text on this page
Data Data Data · Printing · signal · indicator · *256 bytes remaining · *256 bytes
Page 17 of the Star Micronics RS232 user manual — DATA
Pagina 17 · klik om te vergroten
Pagina 17

5. PARALLEL INTERFACE

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

PARALLEL

5-2. Interface Timing

A C K

Approx. 9ms

DATA

STROBE

T T T

BUSY

T: At least 0.5ms

Page 18 of the Star Micronics RS232 user manual — Figure 5-1. Parallel Interface Connector
Pagina 18 · klik om te vergroten
Pagina 18

Signal Name Sample Circuit

4.7kW

DATA 1

DATA 8

PARALLEL

STROBE

100W

1.8kW

BUSY

ACK

5-3. Connectors and Signal Names

Conforms to Amphenol connector 57-30360

Figure 5-1. Parallel Interface Connector

Show 11 more labels / short text on this page
74LS-equivalent · ~ · Input · 1kW · 74LS-equivalent · 1000pF · 74LS-equivalent · Output · (18) (1) · (36) (19) · (Printer Side)
Page 19 of the Star Micronics RS232 user manual — PARALLEL
Pagina 19 · klik om te vergroten
Pagina 19

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 to receive new data at the moment the ACK pulse ends. 11 BUSY OUT DC-level signal indicating printer’s cur- rent status. LOW indicates that printer is ready to receive the next data; HIGH indicates that printer is unable to receive. 12 PAPER OUT OUT DC-level signal indicating whether printer has paper. The signal stays LOW while paper is present; it goes HIGH to indicate that paper has run out. 13 SELECTED OUT DC-level signal; stays HIGH while printer is online. 14-15 N/C Not used 16 SIGNAL GND Signal ground 17 CHASSIS GND Printer-frame ground 18 +5V Outputs +5V (Max. 50mA) 19-30 TWISTED Return pins for various signals. Each pin is connected to the corresponding signal line by twisted pair line. 31 RESET IN LOW level causes printer to reset its control circuitry and return to its initial state. 32 ERROR OUT Goes LOW to indicate that printer is unable to print. 33 EXT GND Ground terminal for external connection 34-35 N/C Not used 36 – – Fixed “HIGH” at printer side

PARALLEL

PAIR RETURN

Page 20 of the Star Micronics RS232 user manual — 6. PERIPHERAL UNIT DRIVE CIRCUIT
Pagina 20 · klik om te vergroten
Pagina 20

6. PERIPHERAL UNIT DRIVE CIRCUIT

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 cables which meet the following specifications. 1. Use the modular plug as shown in Figure 6-1. 2. Separate ground wire is required for Europe only. 3. If the printer is to be used in Europe, the noise filter should be attached to the cable, as shown in Figure 6-2.

Modular plug MOLEX 90075-0007, AMP641337 or JAPAN BURNDY B-66-4

Separated Ground wire connected to shield (Europe only).

Figure 6-1. Cable specifications for peripheral unit.

Shield · Wire lead

Page 21 of the Star Micronics RS232 user manual — 6. PERIPHERAL UNIT DRIVE CIRCUIT
Pagina 21 · klik om te vergroten
Pagina 21

Screw M3×4

Peripheral unit drive circuit connector

Figure 6-2. Separate ground wire and noise filter are required for Europe.

Show 4 more labels / short text on this page
Fastener · One loop · Ferrite core · Separate ground wire
Page 22 of the Star Micronics RS232 user manual — TR2
Pagina 22 · klik om te vergroten
Pagina 22

I Drive circuit The recommended drive circuit is shown.

[Drive output 24V, max. 1.0 A]

F.G

TR1

D1

+24V

M-GND

R3 4.7kΩ 1/4W

TR2

D2

M-GND

+5V

R1

TR3

R2

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 ratings for diodes D1 and D2 (at Ta=25˚C): Average rectified current Io = 1A Maximum forward surge current (60Hz,1-cycle sine wave) IFSM=40A 5. Absolute maximum rating for transistors TR1 and TR2 (at Ta = 25˚C): Collector current Ic = 2A

Show 5 more labels / short text on this page
With shield · Peripheral unit 1 · Peripheral unit 2 · Compulsion switch · Frame ground
Page 23 of the Star Micronics RS232 user manual — 7-2. Recoverable Errors (Power Lamp: Flashing; On-Line Lamp: Off)
Pagina 23 · klik om te vergroten
Pagina 23

7. ERRORS

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-1. Automatic Recovery (Power Lamp: Flashing; On-Line Lamp: On)

Power Lamp Flashing Pattern Recovery Conditions

Automatic recovery after head temperature lowers Approx. 1 Sec Approx. 1 Sec

7-2. Recoverable Errors (Power Lamp: Flashing; On-Line Lamp: Off)

upperStar mode lower: ESC/POS mode

Power Lamp Flashing Pattern Recovery Conditions

Insert paper and press on-line switch.

Approx. 1 Sec Approx. 1 Sec

Insert paper and close cover.

Lower head and press on-line switch.

Approx. 250 ms Approx. 250 ms

Lower head and close cover.

Paper near end of roll

Press on-line switch and printing will continue. Both lamps light when printing and power lamp flashes and on-line lamp lights when on line.

Approx. 2 Sec Approx. 2 Sec

Same as no paper

Close cover and press on-line switch.

Approx.

500 ms Approx.

Close cover.

Error during paper cutting

If the blade is at the home position, press the on-line switch for printing to continue. If the blade is not at the home position, it is not a recover- able error.

Approx. 125 ms Approx. 125 ms

Show 8 more labels / short text on this page
Error Description · Abnormal head temperature · Error Description · No paper · Head up · Cover is open · 500 ms · Command
Page 24 of the Star Micronics RS232 user manual — 7-4. Type of buzzer sound (only Star mode) P: 50ms Pi: 100ms
Pagina 24 · klik om te vergroten
Pagina 24

7-3. Fatal Error (Power Lamp: Flashing; On-Line Lamp: Flashing)

The unit will have to be repaired.

7-4. Type 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 of the Star Micronics RS232 user manual — Commands to Select Characters
Pagina 25 · klik om te vergroten
Pagina 25

8. CONTROL CODES/STAR 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

“R” n 1B 52 n Select international character set 25

“/” “1” 1B 2F 31 Select slash zero 25 “/” 1B 2F 01

“/” “0” 1B 2F 30 Select normal zero 25 “/” 1B 2F 00

“b” n1 n2 n3 n4 1B 62 n1 n2 n3 n4 Select bar code printing 26 d1... d1... 1E

“M” 1B 4D Select 12-dot pitch printing 30

“p” 1B 70 Select 14-dot pitch printing 30

“P” 1B 50 Select 15-dot pitch printing 30

“:” 1B 3A Select 16-dot pitch printing 30

n 1B 20 n Set character spacing 30

0E Sets the printing magnified double in 31 character width.

14 Resets the printing magnified in 31 character width.

“W” n 1B 57 n Sets the magnification rate in character width. 31

1B 0E Sets the printing magnified double in 31 character height.

1B 14 Resets the printing magnified in character 31 height.

“h” n 1B 68 n Sets the magnification rate in character height. 32

“i” n1 n2 1B 69 n1 n2 Sets the magnification rates in character 32 width and height.

“–” “1” 1B 2D 31 Select underlining 32 “–” 1B 2D 01

“–” “0” 1B 2D 30 Cancel underlining 32 “–” 1B 2D 00

“_” “1” 1B 5F 31 Select upperlining 33 “_” 1B 5F 01

“_” “0” 1B 5F 30 Cancel upperlining 33 “_” 1B 5F 00

Page 26 of the Star Micronics RS232 user manual — Commands to Move the Print Position
Pagina 26 · klik om te vergroten
Pagina 26

Control codes Hexadecimal Function Page codes

“4” 1B 34 Select highlight printing 33

“5” 1B 35 Cancel highlight printing 33

0F Inverted printing 33

12 Cancel inverted printing 33

“E” 1B 45 Select emphasized printing 34 “G” 1B 47

“F” 1B 46 Cancel emphasized printing 34 “H” 1B 48

Commands to Set the Page Format

Control codes Hexadecimal Function Page codes

“C” n 1B 43 n Set page length in lines 35

“C” n 1B 43 00 n Set page length in inches 35

“N” n 1B 4E n Set bottom margin 35

“O” 1B 4F Cancel bottom margin 35

“l” n 1B 6C n Set left margin 36

“Q” n 1B 51 n Set right margin 36

Commands to Move the Print Position

Control codes Hexadecimal Function Page codes

0A Line feed 37

0D Carriage Return 37

“a” n 1B 61 n Feed paper n lines 37

0C Form feed 37

09 Horizontal tab 37

0B Vertical tab 38

“z” “1” 1B 7A 31 Set line spacing to 4 mm 38 “z” 1B 7A 01

“0” 1B 30 Set line spacing to 3 mm 38

“J” n 1B 4A n One time n/4 mm feed 38

“j” n 1B 6A n One time n/4 mm backfeed 39

“I” n 1B 49 n One time n/8 mm feed 39

“B” n1 n2... 1B 42 n1 n2... 00 Set vertical tab stops 39

“D” n1 n2... 1B 44 n1 n2... 00 Set horizontal tab stops 40

Page 27 of the Star Micronics RS232 user manual — Commands to Control Auto Cutter
Pagina 27 · klik om te vergroten
Pagina 27

Commands to Print Dot Graphics

Control codes Hexadecimal Function Page codes

“K” n 1B 4B n 00 m1 m2 Print normal density graphics 41 m1 m2

“L” n1 n2 1B 4C n1 n2 m1 m2 Print high density graphics 43 m1 m2 “k” n d1 ... 1B 6B n 00 d1... Print fine density graphics 44

“X” n1 n2 m1 ... 1B 58 n1 n2 d1 ... Print fine density graphics 47

Commands to Print Download Characters

Control codes Hexadecimal Function Page codes

“&” 1B 26 01 01 n

Define download character 48 n m1 m2... m48 m1 m2... m48

“&” “1” “1” 1B 26 31 31 n n m1 m2... m48 m1 m2... m48

“&” n 1B 26 01 00 n Delete a download character 49 “&” “1” “0” n 1B 26 31 30 n

“%” “1” 1B 25 31 Enable download character set 49 “%” 1B 25 01

“%” “0” 1B 25 30 Disable download character set 50 “%” 1B 25 00

Commands to Control Peripheral Devices

Control codes Hexadecimal Function Page codes

n1 n2 1B 07 n1 n2 Define drive pulse width for peripheral 51 device #1

07 Control peripheral device #1 51

1C Control peripheral device #1 immediately 51

19 Control peripheral device #2 immediately 51

1A Control peripheral device #2 immediately 51

Commands to Control Auto Cutter

Control codes Hexadecimal Function Page codes

“d” “0” 1B 64 30 “d” 1B 64 00 Full-cut command to the auto cutter 52

“d” “1” 1B 64 31 Partial-cut command to the auto cutter 52 “d” 1B 64 01

Page 28 of the Star Micronics RS232 user manual — Other Commands
Pagina 28 · klik om te vergroten
Pagina 28

Other Commands

Control codes Hexadecimal Function Page codes

18 Cancel last line & Initialize printer 53

13 Deselect printer 53

11 Set select mode 53 1E Beep the buzzer 53

“#N, n1 n2 n3 n4” 1B 23 N 2C n1 n2 n3 n4 Set memory switch 54 0A 00 “@” 1B 40 Initialize printer 55

05 Enquiry 55

“?” 1B 3F 0A 00 Reset printer hardware 56

Page 29 of the Star Micronics RS232 user manual — Commands to Select Characters
Pagina 29 · klik om te vergroten
Pagina 29

8-2. Command Specification

Commands to Select Characters

FUNCTION Select international character set

CODE “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 10 Denmark II 4 Denmark I 11 Spain II 5 Sweden 12 Latin America 6 Italy

When the value of n is 0 to 9, 0(00H) to 9(09H) or “0”(30H) to “9”(39H) can be set. When the value of n is 10 to 12, 10(0AH) to 12(0CH) or “A”(41H) to “C”(43H) can be set.

FUNCTION Select zero style

CODE “/” n

HEX 1B 2F n

REMARKS Causes subsequent zero characters to be printed with a slash when n is 1, and without a slash when n is 0. The value of n can be set to 0(00H) or “0”(30H), or 1(01H) or “1”(31H).

Page 30 of the Star Micronics RS232 user manual — UPC-E, UPC-A, JAN/EAN-8, JAN/EAN-13, CODE 128, CODE 93
Pagina 30 · klik om te vergroten
Pagina 30

FUNCTION Select bar code printing

CODE “b” n1 n2 n3 n4 di... dk

HEX 1B 62 n1 n2 n3 n4 di... dk 1E

REMARKS Prints bar code according to the value of n1, as shown below:

n1Type 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 set to 0(00H) or 8(08H) or “0”(30H) to “8”(38H).

n2Printing character below bar code or line feed

1 Character below bar code is not printed, Line feed is performed after execution of command. 2 Character below bar code is printed, Line feed is performed after execution of command. 3 Character below bar code is not printed, Line feed is not performed after execution of command. 4 Character below bar code is printed, Line feed is not performed after execution of command.

The value of n2 can be set to 1(01H) to 4(04H) or “1”(31H) to “4”(34H).

n3Mode of bar code

UPC-E, UPC-A, JAN/EAN-8, JAN/EAN-13, CODE 128, CODE 93

1 Minimum module 2 dots 2 Minimum module 3 dots 3 Minimum module 4 dots

Page 31 of the Star Micronics RS232 user manual — CODE 39, NW-7, ITF
Pagina 31 · klik om te vergroten
Pagina 31

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 4:8 dots 4:12 dots

When the value of n3 is UPC-E, UPC-A, JAN/EAN-8, JAN/EAN- 13, CODE128 or CODE93, 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.

n4Height of bar code

Can be up to 255 dots (31.9mm). If the bar code height is larger than the line feed amount, the line feed amount is automatically multiplied by an integer.

di...dkBar code data
UPC-E/UPC-AK = 11 (or 12)

The check digit at the 12th digit is automatically added, and ignored even if it is specified.

JAN/EAN-8K = 7 (or 8)

The check digit at the 8th digit is automatically added, and ignored even if it is specified.

JAN/EAN-13K = 12 (or 13)

The check digit at the 13th digit is automatically added, and ignored even if it is specified.

CODE39: The value of k is optional, and the maximum value also differs according to the modes (21 digits maximum in mode 7). The start/stop code (“*”) is automatically added.

Page 32 of the Star Micronics RS232 user manual — 8-2. Command Specification
Pagina 32 · klik om te vergroten
Pagina 32

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 128The value of k is optional, and the maximum

value also differs according to the modes and the types of character number (51 digits maximum in mode 1). The check character is automatically added.

CODE93: The value of k is optional, and the maximum value also differs according to the modes and the types of character (30 digits maximum in mode 1). The check characters (C and K) are automatically added.

NW-7: The value of k is optional, and the maximum value also differs according to the modes and the types of character number (29 digits maximum in mode 7). The start/stop code is also contained in the data (it is not automatically added).

The bar code printing start position is at the upper end of the current line. If the bar code is positioned beyond the right margin, neither the bar code nor the character below the bar code will be printed.

Data of CODE 128 and CODE 93

When is used in a command, some kinds of control code cannot be sent by the host PC. The control code should be sent as the data as shown below:

  • When sending the following data, express as a set of two characters. Express “% (25H)” as “%0 (25H30H)”. Add “40H - 5FH” after “%” for the control codes (00H - 1FH). Express the control code (7FH) as “%5(25H35H)”. Add “1 - 4 (31H - 34H)” after “%” for the function code. Add “6 - 8 (36H - 38H)” after “%” for the start code.
Page 33 of the Star Micronics RS232 user manual — CODE FORMAT
Pagina 33 · klik om te vergroten
Pagina 33
3. 2-character codes

CODE FORMAT

CODE FORMAT % 25H %0 25H 30H

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 %P 25H 50H DC1 11H %Q 25H 51H DC2 12H %R 25H 52H DC3 13H %S 25H 53H DC4 14H %T 25H 54H NAK 15H %U 25H 55H SYN 16H %V 25H 56H ETB 17H %W 25H 57H CAN 18H %X 25H 58H EM 19H %Y 25H 59H SUB 1AH %Z 25H 5AH ESC 1BH %[ 25H 5BH FC 1CH %¥ 25H 5CH GS 1DH %] 25H 5DH RS 1EH %^ 25H 5EH US 1FH %_ 25H 5FH DEL 7FH %5 25H 35H

CODE FORMAT FNC1 %1 25H 31H FNC2 %2 25H 32H FNC3 %3 25H 33H FNC4 %4 25H 34H

$

CODE FORMAT START A %6 25H 36H START B %7 25H 37H START C %8 25H 38H

$ For CODE 128 only.

Show 5 more labels / short text on this page
Control codes · Special code · Function codes · Start codes · $ $ $
Page 34 of the Star Micronics RS232 user manual — CODE <ESC> “:”
Pagina 34 · klik om te vergroten
Pagina 34

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

HEX 1B 70

REMARKS Prints 12-dot pitch characters with 2-dot spacing between charac- ters.

FUNCTION Select 15-dot pitch printing

CODE <ESC> “P”

HEX 1B 50

REMARKS Prints 12-dot pitch characters with 3-dot spacing between charac- ters.

FUNCTION Select 16-dot pitch printing

CODE <ESC> “:”

HEX 1B 3A

REMARKS Prints 12-dot pitch characters with 4-dot spacing between charac- ters.

FUNCTION Set the character spacing

CODE n

HEX 1B 20 n

REMARKS Sets the space between characters to n dots, where n is a number from 0 to 15. When the value of n is 0 to 9, 0(00H) to 9(09H) or “0”(30H) to “9”(39H) can be set. When the value of n is 10 to 15, 10(0AH) to 15(0FH) or “A”(41H) to “F”(46H) can be set.

CODE “p”

Page 35 of the Star Micronics RS232 user manual — CODE <ESC><DC4>
Pagina 35 · klik om te vergroten
Pagina 35

FUNCTION Sets the printing magnified double in character width.

CODE <SO>

HEX 0E

REMARKS Prints the subsequent data including a character spacing set by n, magnified double in character width.

FUNCTION Resets the printing magnified in character width.

CODE <DC4>

HEX 14

REMARKS Resets the printing magnified in character width set by , “W”n and “i”n1n2.

FUNCTION Sets the magnification rate in character width.

CODE “W” n

HEX 1B 57 n

REMARKS Prints the subsequent data including a character spacing set by n, magnified in character width by a rate specified by the value of n.

n Character width n Character width 0 Unmagnify 3 Quadruple 1 Double 4 Quintuple 2 Triple 5 Sextuple

The value of n can be set to 0(00H) to 5(05H) or “0”(30H) to “5”(35H).

FUNCTION Sets the printing magnified double in character height.

CODE <ESC> <SO>

HEX 1B 0E

REMARKS Prints the subsequent data magnified double in character height.

FUNCTION Resets the printing magnified in character height.

CODE <ESC><DC4>

HEX 1B 14

REMARKS Resets the printing magnified in character height set by , “h”n and “i”n1n2.

Page 36 of the Star Micronics RS232 user manual — 8-2. Command Specification
Pagina 36 · klik om te vergroten
Pagina 36

FUNCTION Sets the magnification rate in character height.

CODE “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 set to 0(00H) to 5(05H) or “0”(30H) to “5”(35H).

FUNCTION Sets the magnification rates in character width and height.

CODE “i” n1 n2

HEX 1B 69 n1 n2

REMARKS Prints the subsequent data in the size specified by n1, n2. n1 indicates the height magnification and n2 indicates the width magnification.

n1 (n2) = 0 Normal height (or width) size. 1 Double height (or width) size. 2 Triple height (or width) size. 3 Quadruple height (or width) size. 4 Quintuple height (or width) size. 5 Sextuple height (or width) size.

The values of n1, n2 are 0(00H) to 5(05H) or “0”(30H)” to “5”(35H).

CODE “–” n

HEX 1B 2D n

REMARKS When the value of n is 1, underlines the subsequent data including a character spacing set by n. The part to be skipped by the horizontal tab setting and the block graphic characters are not underlined. Resets the underline mode when the value of n is 0. The value of n can be set to 0(00H) or “0”(30H), or 1(01H) or “1”(31H).

FUNCTION Underlining

Page 37 of the Star Micronics RS232 user manual — CODE <DC2>
Pagina 37 · klik om te vergroten
Pagina 37

CODE “_” n

HEX 1B 5F n

REMARKS When the value of n is 1, overlines the subsequent data including a character spacing set by 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 value of n is 0. The value of n can be set to 0(00H) or “0”(30H), or 1(01H) or “1”(31H).

FUNCTION Select highlight printing

CODE <ESC> “4”

HEX 1B 34

REMARKS Prints the subsequent data including a character spacing set by n reversed. The part to be skipped by the horizontal tab setting is not reversed.

FUNCTION Cancel highlight printing

CODE <ESC> “5”

HEX 1B 35

REMARKS Cancels highlight printing.

CODE <SI>

HEX 0F

REMARKS Causes subsequent characters to be inverted.

FUNCTION Cancel inverted printing

CODE <DC2>

HEX 12

REMARKS Cancels inverted printing.

FUNCTION Upperlining · FUNCTION Inverted printing

Page 38 of the Star Micronics RS232 user manual — CODE <ESC> “F”
Pagina 38 · klik om te vergroten
Pagina 38

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 of the Star Micronics RS232 user manual — CODE <ESC> “O”
Pagina 39 · klik om te vergroten
Pagina 39

Commands to Set the Page Format

FUNCTION Set page length in lines

CODE “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 bottom margin. Default page length is 42 lines.

FUNCTION Set page length in inches

CODE “C” n

HEX 1B 43 00 n

REMARKS Sets the page length to n × 24 mm, where n is between 1 and 22. The current line becomes the top of the page. Resets the bottom margin.

FUNCTION Set bottom margin

CODE “N” n

HEX 1B 4E n

REMARKS Sets the bottom margin to n lines at the current line spacing, where n is between 0 and 127. Bottom margin is reset when you change the page length. Setting is invalid if the printing area on one page is 36 mm or less.

FUNCTION Cancel bottom margin

CODE <ESC> “O”

HEX 1B 4F

REMARKS Cancels the bottom margin.

Page 40 of the Star Micronics RS232 user manual — 8-2. Command Specification
Pagina 40 · klik om te vergroten
Pagina 40

FUNCTION Set left margin

CODE “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 right margin

CODE “Q” n

HEX 1B 51 n

REMARKS Sets the right margin at column n (where n is between 1 and 255) at the current character pitch. The right margin does not move if the character pitch is changed later. Setting is invalid if column n is beyond the right edge of the printing area. Setting is invalid if the printing area for one line would be 36mm or less.

Page 41 of the Star Micronics RS232 user manual — CODE <HT>
Pagina 41 · klik om te vergroten
Pagina 41

Commands to Move the Print Position

CODE <LF>

HEX 0A

REMARKS Prints the current line and feeds the paper to the next line.

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

CODE “a” n

HEX 1B 61 n

REMARKS Prints the current line and feeds the paper n lines (where n is between 1 and 127).

CODE <FF>

HEX 0C

REMARKS Feeds the paper to the top of the next page, according to the page length set by “C”n or “C”n when memory switch 1-2 is set to 0. If memory switch 1-2 is set to 1, the paper is fed 18 mm, cut fully, and then feed back 18 mm. The print position is at the left margin in both cases.

CODE <HT>

HEX 09

REMARKS Moves the print position to the next horizontal tab stop. Ignored if there is no next horizontal tab stop on the current line.

Show 4 more labels / short text on this page
FUNCTION Line feed · FUNCTION Carriage return · FUNCTION Form feed · FUNCTION Horizontal tab
Page 42 of the Star Micronics RS232 user manual — CODE <ESC> “0”
Pagina 42 · klik om te vergroten
Pagina 42

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 “z” “1” or “z”

HEX 1B 7A 31 or 1B 7A 01

REMARKS Sets the distance the paper advances in subsequent line feeds to 4 mm.

FUNCTION Set line spacing to 3 mm

CODE <ESC> “0”

HEX 1B 30

REMARKS Sets the distance the paper advances in subsequent line feeds to 3 mm.

FUNCTION One time n/4 mm feed

CODE “J” n

HEX 1B 4A n

REMARKS Performs a line feed of n/4mm once only. The value of n is 1 to 255. Space setting for lines is not changed.

FUNCTION Vertical tab

Page 43 of the Star Micronics RS232 user manual — 8-2. Command Specification
Pagina 43 · klik om te vergroten
Pagina 43

FUNCTION One time n/4 mm backfeed

CODE “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 is determined by the page length control.

FUNCTION One time n/8 mm feed

CODE “I” n

HEX 1B 49 n

REMARKS Performs a line feed n/8mm once only. The value of n is 1 to 255. Space setting for lines is not changed.

FUNCTION Set vertical tab stops

CODE “B” n1 n2...

HEX 1B 42 n1 n2... 00

REMARKS 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 ascending order terminates the tab stop list. Standard termina- tion is by the control code. The vertical tab stops are set in terms of the current line spacing and do not move if the line spacing is changed later.

Page 44 of the Star Micronics RS232 user manual — 8-2. Command Specification
Pagina 44 · klik om te vergroten
Pagina 44

FUNCTION Set horizontal tab stops

CODE “D” n1 n2...

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 set. The tab stops must be specified in ascending order; any violation of ascending order terminates the tab stop list. Standard termina- tion is by the control code.

Page 45 of the Star Micronics RS232 user manual — MSB
Pagina 45 · klik om te vergroten
Pagina 45

Commands to Print Dot Graphics

FUNCTION Print normal density graphics

CODE “K” n 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 to 255 representing 24 vertical dots, with the most significant bit repre- senting the top three and the least significant bit representing the bottom three. The number of data bytes must be n. Dots beyond the right margin are ignored.

Relationship between image data and print dots

MSB

D8

D7 D6 D5 D4 D3 D2 D1

Image data LSB · DOT Position

Page 46 of the Star Micronics RS232 user manual — Printing Sample
Pagina 46 · klik om te vergroten
Pagina 46

EXAMPLE We will create the design below using a bit image.

Star Micronics RS232 — 8-2. Command Specification diagram (page 46)
Afb. 1 · 8-2. Command Specification

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 m26 m27 m28 m29 m30

D5 D4 D3 D2 D1

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.

Star Micronics RS232 — 8-2. Command Specification diagram (page 46)
Afb. 2 · 8-2. Command Specification

Hexa- decimal m11 00111110 3E m12 00000010 02 m13 00000010 02 m14 00111110 3E m15 00111110 3E m16 00101111 2F m17 00101111 2F m18 00111110 3E m19 00101110 2E m20 00101110 2E

Hexa- decimal m21 00111110 3E m22 00101110 2E m23 00101110 2E m24 00111110 3E m25 00101111 2F m26 00101111 2F m27 00111110 3E m28 00111110 3E m29 00000010 02 m30 00000010 02

m1 00000001 01 m2 00011110 1E m3 00111110 3E m4 01011111 5F m5 00011111 1F m6 01011110 5E m7 00011110 1E m8 00111111 3F m9 00101111 2F m10 00111110 3E

Printing Sample

Page 47 of the Star Micronics RS232 user manual — MSB
Pagina 47 · klik om te vergroten
Pagina 47

FUNCTION Print high density graphics

CODE “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 dots, with the most significant bit repre- senting the top three and the least significant bit representing the bottom three. The number of data bytes must be n1 + n2 × 256. Dots beyond the right margin are ignored.

Relationship between image data and print dots

MSB

D8

D7 D6 D5 D4 D3 D2 D1

Image data LSB · DOT Position

Page 48 of the Star Micronics RS232 user manual — Printing Sample
Pagina 48 · klik om te vergroten
Pagina 48

EXAMPLE We will create the design below using a bit image.

Star Micronics RS232 — 8-2. Command Specification diagram (page 48)
Afb. 3 · 8-2. Command Specification

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 m26 m27 m28 m29 m30

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.

Star Micronics RS232 — 8-2. Command Specification diagram (page 48)
Afb. 4 · 8-2. Command Specification

Hexa- decimal m11 00111110 3E m12 00000010 02 m13 00000010 02 m14 00111110 3E m15 00111110 3E m16 00101111 2F m17 00101111 2F m18 00111110 3E m19 00101110 2E m20 00101110 2E

Hexa- decimal m21 00111110 3E m22 00101110 2E m23 00101110 2E m24 00111110 3E m25 00101111 2F m26 00101111 2F m27 00111110 3E m28 00111110 3E m29 00000010 02 m30 00000010 02

m1 00000001 01 m2 00011110 1E m3 00111110 3E m4 01011111 5F m5 00011111 1F m6 01011110 5E m7 00011110 1E m8 00111111 3F m9 00101111 2F m10 00111110 3E

Horizontal density is three times that of the bit image for “k”. (Compare the print samples.)

Printing Sample

FUNCTION Print fine density bit image

CODE “k” n d1...dk [k = n * 24]

HEX 1B 6B n 00 d1...dk [k = n * 24]

REMARKS Prints a bit image using 1 horizontal dot and 1 vertical dot for 1 dot of input data. n is designated by the number of data bytes in the horizontal direction and n must be within the range 1 to 72. The data is ignored if it is longer than 72 digits or goes beyond the right margin. Relationship between the input data and actual printing is shown below.

Page 49 of the Star Micronics RS232 user manual — 8-2. Command Specification
Pagina 49 · klik om te vergroten
Pagina 49

Relationship between image data and print dots

b7 b6 b5 b4 b3 b2 b1 b0

d1 b7 b6 b5 b4 b3 b2 b1 b0

d2 b7 b6 b5 b4 b3 b2 b1 b0

dn b7 b6 b5 b4 b3 b2 b1 b0

dn+1 b7 b6 b5 b4 b3 b2 b1 b0

dn+2 b7 b6 b5 b4 b3 b2 b1 b0

d2n b7 b6 b5 b4 b3 b2 b1 b0

d2n+1 b7 b6 b5 b4 b3 b2 b1 b0

d2n+2 b7 b6 b5 b4 b3 b2 b1 b0

d3n b7 b6 b5 b4 b3 b2 b1 b0

d3n+1 b7 b6 b5 b4 b3 b2 b1 b0

d3n+2 b7 b6 b5 b4 b3 b2 b1 b0

d4n b7 b6 b5 b4 b3 b2 b1 b0

d4n+1 b7 b6 b5 b4 b3 b2 b1 b0

d4n+2 b7 b6 b5 b4 b3 b2 b1 b0

d5n b7 b6 b5 b4 b3 b2 b1 b0

d5n+1 b7 b6 b5 b4 b3 b2 b1 b0

d5n+2 b7 b6 b5 b4 b3 b2 b1 b0

d6n b7 b6 b5 b4 b3 b2 b1 b0

d6n+1 b7 b6 b5 b4 b3 b2 b1 b0

d6n+2 b7 b6 b5 b4 b3 b2 b1 b0

d7n b7 b6 b5 b4 b3 b2 b1 b0

d7n+1 b7 b6 b5 b4 b3 b2 b1 b0

d7n+2 b7 b6 b5 b4 b3 b2 b1 b0

d8n b7 b6 b5 b4 b3 b2 b1 b0

d8n+1 b7 b6 b5 b4 b3 b2 b1 b0

d8n+2 b7 b6 b5 b4 b3 b2 b1 b0

d9n b7 b6 b5 b4 b3 b2 b1 b0

d9n+1 b7 b6 b5 b4 b3 b2 b1 b0

d9n+2 b7 b6 b5 b4 b3 b2 b1 b0

d10n b7 b6 b5 b4 b3 b2 b1 b0

d10n+1 b7 b6 b5 b4 b3 b2 b1 b0

d10n+2 b7 b6 b5 b4 b3 b2 b1 b0

d11n b7 b6 b5 b4 b3 b2 b1 b0

d11n+1 b7 b6 b5 b4 b3 b2 b1 b0

d11n+2 b7 b6 b5 b4 b3 b2 b1 b0

d12n b7 b6 b5 b4 b3 b2 b1 b0

d12n+1 b7 b6 b5 b4 b3 b2 b1 b0

d12n+2 b7 b6 b5 b4 b3 b2 b1 b0

d13n b7 b6 b5 b4 b3 b2 b1 b0

d13n+1 b7 b6 b5 b4 b3 b2 b1 b0

d13n+2 b7 b6 b5 b4 b3 b2 b1 b0

d14n b7 b6 b5 b4 b3 b2 b1 b0

d14n+1 b7 b6 b5 b4 b3 b2 b1 b0

d14n+2 b7 b6 b5 b4 b3 b2 b1 b0

d15n b7 b6 b5 b4 b3 b2 b1 b0

d15n+1 b7 b6 b5 b4 b3 b2 b1 b0

d15n+2 b7 b6 b5 b4 b3 b2 b1 b0

d16n b7 b6 b5 b4 b3 b2 b1 b0

d16n+1 b7 b6 b5 b4 b3 b2 b1 b0

d16n+2 b7 b6 b5 b4 b3 b2 b1 b0

d17n b7 b6 b5 b4 b3 b2 b1 b0

d17n+1 b7 b6 b5 b4 b3 b2 b1 b0

d17n+2 b7 b6 b5 b4 b3 b2 b1 b0

d18n b7 b6 b5 b4 b3 b2 b1 b0

d18n+1 b7 b6 b5 b4 b3 b2 b1 b0

d18n+2 b7 b6 b5 b4 b3 b2 b1 b0

d19n b7 b6 b5 b4 b3 b2 b1 b0

d19n+1 b7 b6 b5 b4 b3 b2 b1 b0

d19n+2 b7 b6 b5 b4 b3 b2 b1 b0

d20n b7 b6 b5 b4 b3 b2 b1 b0

d20n+1 b7 b6 b5 b4 b3 b2 b1 b0

d20n+2 b7 b6 b5 b4 b3 b2 b1 b0

d21n b7 b6 b5 b4 b3 b2 b1 b0

d21n+1 b7 b6 b5 b4 b3 b2 b1 b0

d21n+2 b7 b6 b5 b4 b3 b2 b1 b0

d22n b7 b6 b5 b4 b3 b2 b1 b0

d22n+1 b7 b6 b5 b4 b3 b2 b1 b0

d22n+2 b7 b6 b5 b4 b3 b2 b1 b0

d23n b7 b6 b5 b4 b3 b2 b1 b0

d23n+1 b7 b6 b5 b4 b3 b2 b1 b0

d23n+2 b7 b6 b5 b4 b3 b2 b1 b0

d24n b7 b6 b5 b4 b3 b2 b1 b0

Show 26 more labels / short text on this page
Image data · Dot position · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • • · • • •
Page 50 of the Star Micronics RS232 user manual — EXAMPLE
Pagina 50 · klik om te vergroten
Pagina 50

EXAMPLE

Printing Sample

MSB LSB MSB LSB d1 d3 d5 d7 d9 d11 d13 d15 d17 d19 d21 d23 d25 d27 d29 d31 d33 d35 d37 d39 d41 d43 d45 d47

d2 d4 d6 d8 d10 d12 d14 d16 d18 d20 d22 d24 d26 d28 d30 d32 d34 d36 d38 d40 d42 d44 d46 d48

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 d35 11111110 FE d37 11111111 FF d39 11111111 FF d41 00000000 00 d43 00000000 00 d45 00000000 00 d47 00000000 00

d2 00000000 00 d4 11111000 F8 d6 11111100 FC d8 01110111 EE d10 00011111 1F d12 00011111 1F d14 00011111 1F d16 11110000 F0 d18 11111000 F8 d20 11111000 F8 d22 01111100 7C d24 00011100 1C d26 10011110 9E d28 11001110 CE d30 11001110 CE d32 10011111 9F d34 00011111 1F d36 01111111 7F d38 11111111 FF d40 11111111 FF d42 00000000 00 d44 00000000 00 d46 00000000 00 d48 00000000 00

Page 51 of the Star Micronics RS232 user manual — LSB
Pagina 51 · klik om te vergroten
Pagina 51

FUNCTION Print fine density graphics

CODE “X” n1 n2 d1...d [(n1+n2*256)*3]

HEX 1B 5 n1 n2 d1...d [(n1+n2*256)*3]

REMARKS 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

  • d1
  • d2
  • d3

LSB

MSB LSB

MSB LSB

b7 b6 b5 b4 b3 b2 b1 b0

b7 b6 b5 b4 b3 b2 b1 b0

b7 b6 b5 b4 b3 b2 b1 b0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

MSB Dot Position

Page 52 of the Star Micronics RS232 user manual — EXAMPLE
Pagina 52 · klik om te vergroten
Pagina 52

Commands to Print Download Characters

FUNCTION Define download character

CODE “&” n m1 m2... m48

HEX 1B 26 01 01 n m1 m2... m48

CODE “&” “1” “1” n m1 m2... m48

HEX 1B 26 31 31 n m1 m2... m48

REMARKS Defines one new character and stores it in RAM for later use. n is the character code of the character defined and must be between 32 and 127. If the maximum of 32 external characters have already been stored, the oldest stored external character are deleted so that new external character can be stored. The character matrix is 12 dots wide and 24 dots high. Relationship between the character pattern and the character data is shown below.

EXAMPLE

MSB LSB MSB LSB m1 m3 m5 m7 m9 m11 m13 m15 m17 m19 m21 m23 m25 m27 m29 m31 m33 m35 m37 m39 m41 m43 m45 m47

m2 m4 m6 m8 m10 m12 m14 m16 m18 m20 m22 m24 m26 m28 m30 m32 m34 m36 m38 m40 m42 m44 m46 m48

Ignored · 4 bits

Page 53 of the Star Micronics RS232 user manual — 8-2. Command Specification
Pagina 53 · klik om te vergroten
Pagina 53

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 00000011 03 m37 00000111 07 m39 00000111 07 m41 00000000 00 m43 00000000 00 m45 00000000 00 m47 00000000 00

m2 00000000 00 m4 00000000 00 m6 00000000 00 m8 00000000 00 m10 00000000 00 m12 01100000 60 m14 11000000 C0 m16 10000000 80 m18 00000000 00 m20 00000000 00 m22 00000000 00 m24 11000000 C0 m26 11100000 E0 m28 01100000 60 m30 01100000 60 m32 11000000 C0 m34 10000000 80 m36 00000000 00 m38 11100000 E0 m40 11100000 E0 m42 00000000 00 m44 00000000 00 m46 00000000 00 m48 00000000 00

FUNCTION Delete a download character

CODE “&” n

HEX 1B 26 01 00 n

CODE “&” “1” “0” n

HEX 1B 26 31 30 n

REMARKS Deletes the download character which was assigned the value n.

FUNCTION Enable download character set

CODE “%” “1” or “%”

HEX 1B 25 31 or 1B 25 01

REMARKS Enables the download character set.

Page 54 of the Star Micronics RS232 user manual — 8-2. Command Specification
Pagina 54 · klik om te vergroten
Pagina 54

FUNCTION Disable download character set

CODE “%” “0” or “%”

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 of the Star Micronics RS232 user manual — CODE <SUB>
Pagina 55 · klik om te vergroten
Pagina 55

Commands to Control Peripheral Devices

FUNCTION Define drive pulse width for peripheral device #1

CODE 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 delay time, using 10ms units.

FUNCTION Control peripheral device #1

CODE <BEL>

HEX 07

REMARKS Executes drive pulse for peripheral device #1.

FUNCTION Control peripheral device #1 immediately

CODE <FS>

HEX 1C

REMARKS Executes drive pulse for peripheral device #1 immediately.

FUNCTION Control peripheral device #2 immediately

CODE <EM>

HEX 19

REMARKS Drives peripheral device #2. The drive pulse width and delay time are fixed at 200 ms.

FUNCTION Control peripheral device #2 immediately

CODE <SUB>

HEX 1A

REMARKS Drives peripheral device #2. The drive pulse width and delay time are fixed at 200 ms.

Page 56 of the Star Micronics RS232 user manual — Commands to Control Auto Cutter
Pagina 56 · klik om te vergroten
Pagina 56

Commands to Control Auto Cutter

FUNCTION Full-cut command to the auto cutter

CODE “d” “0” or “d”

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 invalid, this command is not valid.

FUNCTION Partial-cut command to the auto cutter

CODE “d” “1” or “d”

HEX 1B 64 31 or 1B 64 01

REMARKS Cuts the paper partially 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 partially.

Page 57 of the Star Micronics RS232 user manual — CODE <RS>
Pagina 57 · klik om te vergroten
Pagina 57

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 n1 n2. (This is the same during a mechanical error.) (Line buffer means the print data expansion area.)

CODE <DC3>

HEX 13

REMARKS Deselects the printer. The printer disregards all subsequent char- acters and commands except , which activates the printer.

FUNCTION Set select mode

CODE <DC1>

HEX (11)H

REMARKS When the printer receives a code, the deselect mode is canceled and data following this code is input to the buffer.

FUNCTION Beep the buzzer

CODE <RS>

HEX 1E

REMARKS Sounds a brief beep tone.

FUNCTION Deselect printer

Page 58 of the Star Micronics RS232 user manual — ESC/POS
Pagina 58 · klik om te vergroten
Pagina 58

FUNCTION Set memory switch

CODE “# N , n1n2n3n4”

HEX 1B 23 N 2C n1n2n3n4 0A 00

REMARKS Set the memory switch. In order to enable changed memory switch setting, turn the printer OFF and ON again or send printer reset command ( “?”) to the printer. Changed memory switch settings are stored in EEPROM and these setting will be stored as long as the time when they are changed again. N :Memory switch number (0, 1, 2, 3, 4) n1n2n3n4 :Mode settings (For details see below) 1) N=0 n1 :Always “0” n2 :Always “0” n3 :Always “0”

: Available

4 Paper Feed, Cut & Back

2. N=1 n1 :Always “0” n2 :Always “0”

: Available

Setting Zero style International character set

1 Slashed zero See below

ESC/POS

n4 Country 0 USA 1 France 2 Germany

n4 Country 3 UK 4 Denmark #1 5 Sweden

n4 Country 6 Italy 7 Spain #1 8 Japan

n4 Country 9 Norway A Denmark #2 B Spain #2

n4 Country C Latin America

Show 10 more labels / short text on this page
(Default) · Parameter · Setting FF command · 0 Form Feed · Star ESC/POS · n4 · Star (Default) · Parameter · 0 Normal zero · n3 n4
Page 59 of the Star Micronics RS232 user manual — CODE <ENQ>
Pagina 59 · klik om te vergroten
Pagina 59
3. N=2 n3 :Always “0”

: Available

Setting ESC d command

1 Paper feed & cut Valid (TSP242) Valid

ESC/POS

4. N=3 n1 :Always “0”

: Available 1 IBM 38 Invalid

Setting Character table Print column CR code

0 Normal 48 Invalid

3 IBM – Same as 3

ESC/POS

Katakana – Same as 4

5. N=4 n1 :Always “0”

: Available

Setting Buffer size Busy conditions Data receive error

See 4-3-1 RS-232C Interface

CODE <ESC> “@”

HEX 1B 40

REMARKS Reinitializes the printer. Clears the print buffer and returns settings to their power-up values. Does not clear the input buffer, downloaded characters, or condi- tions for peripheral devices.

CODE <ENQ>

HEX 05

REMARKS Causes the printer to transmit a status byte.

Show 24 more labels / short text on this page
Star (Default) · Parameter · 0 Cut · n1 · n2 · Cutter · Invalid (TSP212) Invalid · n4 · Paper near end · (Default) · Parameter · Star 2 · n2 n3 n4 · Line feed (mm) · (Default) · Parameter · 0 4 Kbytes · 1 45 bytes · ESC/POS Star · n2 n3 n4 · Print “?” · Ignore · FUNCTION Initialize printer · FUNCTION Enquiry
Page 60 of the Star Micronics RS232 user manual — CODE <ESC> “?” <LF><NUL>
Pagina 60 · klik om te vergroten
Pagina 60

Status byte

b7 b6 b5 b4 b3 b2 b1 b0

Constantly set at “0” Vertical Parity error 1 : error

Framing error 1error
Mechanical error 1error
Paper empty 1empty
Buffer empty 1empty
Buffer overflow 1overflow

Compulsion switch High level (Switch is set to ON)

FUNCTION Reset the printer hardware.

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

HEX 1B 3F 0A 00

REMARKS Resets the printer hardware.

Page 61 of the Star Micronics RS232 user manual — ESC/POS
Pagina 61 · klik om te vergroten
Pagina 61

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 space amount of character ESC ! 1B 21 Universal print mode designation ESC # 1B 23 Set memory switch ESC $ 1B 24 Designate absolute printing ESC % 1B 25 Designate/cancel download character set ESC & 1B 26 Define download characters ESC * 1B 2A Designate bit image mode ESC - 1B 2D Designate/cancel underline ESC 2 1B 32 Set 1/6 inch line feed amount ESC 3 1B 33 Set line feed amount ESC = 1B 3D Select peripheral equipment ESC ? 1B 3F Delete download characters ESC @ 1B 40 Initialize printer ESC D 1B 44 Set horizontal tab position ESC E 1B 45 Designate/cancel emphasized print ESC G 1B 47 Designate/cancel double print ESC J 1B 4A Print and paper feed ESC L 1B 4C Select page mode ESC R 1B 52 Select international characters ESC S 1B 53 Select standard mode ESC T 1B 54 Select character print direction in print mode ESC V 1B 56 Designate/cancel 90° character rotation ESC W 1B 57 Set print range in page mode ESC \ 1B 5C Designate relative position ESC a 1B 61 Align position ESC c4 1B 63 34 Select no valid paper detector at print stop ESC c5 1B 63 35 Enable/disable panel switch ESC d 1B 64 Print and paper feed “n” lines ESC i 1B 69 Partial cut (one section remaining) ESC p 1B 70 Designate pulse generation ESC t 1B 74 Select character code table

ESC/POS

Page 62 of the Star Micronics RS232 user manual — ESC/POS
Pagina 62 · klik om te vergroten
Pagina 62

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 ! 1D 21 Designate character size GS $ 1D 24 Designate absolute position of vertical direction of characters in page mode GS * 1D 2A Define download bit image GS / 1D 2F Print download bit image GS : 1D 3A Start/finish macro definition GS B 1D 42 Designate/cancel reverse printing GS H 1D 48 Select print position of HRI characters GS I 1D 49 Printer ID transmission GS L 1D 4C Set left margin GS P 1D 50 Set basic calculated pitch GS V 1D 56 Paper cut GS W 1D 57 Set print range GS \ 1D 5C Designate the relative position of vertical characters when printing in the page mode GS ^ 1D 5E Execute macro GS a 1D 61 Enable/disable automatic status transmission GS f 1D 66 Select HRI character font GS h 1D 68 Set bar code height GS k 1D 6B Printing of bar code GS r 1D 72 Transmission of status GS w 1D 77 Set lateral size of bar code

ESC/POS

Page 63 of the Star Micronics RS232 user manual — A
Pagina 63 · klik om te vergroten
Pagina 63

10. CHARACTER CODE TABLES

0 1 2 3 4 5 6 7

SP 0 @ P ` p 0 16 32 48 64 80 96 112 ! 1 A Q a q 1 17 33 49 65 81 97 113 ” 2 B R b r 2 18 34 50 66 82 98 114 # 3 C S c s 3 19 35 51 67 83 99 115 $ 4 D T d t 4 20 36 52 68 84 100 116 % 5 E U e u 5 21 37 53 69 85 101 117 & 6 F V f v 6 22 38 54 70 86 102 118 ’ 7 G W g w 7 23 39 55 71 87 103 119 ( 8 H X h x 8 24 40 56 72 88 104 120 ) 9 I Y i y 9 25 41 57 73 89 105 121 * : J Z j z 10 26 42 58 74 90 106 122 + ; K [ k { 11 27 43 59 75 91 107 123 , < L \ l | 12 28 44 60 76 92 108 124 – = M ] m } 13 29 45 61 77 93 109 125 . > N ^ n ~ 14 30 46 62 78 94 110 126 / ? O _ o 15 31 47 63 79 95 111 127

A

B

D

E

F

Hexa- decimal

Page 64 of the Star Micronics RS232 user manual — E
Pagina 64 · klik om te vergroten
Pagina 64
(Character tableNormal)

8 9 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 183 199 215 231 247 ¢ î σ 136 152 168 184 200 216 232 248 ö i x 137 153 169 185 201 217 233 249 ó Å TL 138 154 170 186 202 218 234 250 ò X 139 155 171 187 203 219 235 251 ¥ o θ ∞ 140 156 172 188 204 220 236 252 ô ä ± 141 157 173 189 205 221 237 253

A

N T

T X

B

D

A ü á ÷ 142 158 174 190 206 222 238 254 ë ú à π 143 159 175 191 207 223 239 255

E

F

Hexa- decimal · 1/2 · 1/4

Page 65 of the Star Micronics RS232 user manual — 10. CHARACTER CODE TABLES
Pagina 65 · klik om te vergroten
Pagina 65
(Character tablekatakana)
Star Micronics RS232 — 10. CHARACTER CODE TABLES diagram (page 65)
Afb. 5
Page 66 of the Star Micronics RS232 user manual — E
Pagina 66 · klik om te vergroten
Pagina 66
(Character tableIBM)

8 9 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 213 229 245 å û ª µ ÷ 134 150 166 182 198 214 230 246 ç ù º τ ≈ 135 151 167 183 199 215 231 247 ê ÿ ¿ Φ ° 136 152 168 184 200 216 232 248 ë Ö Θ 137 153 169 185 201 217 233 249 è Ü Ω – 138 154 170 186 202 218 234 250 ï δ

A

B

139 155 171 187 203 219 235 251 î £ ∞ 140 156 172 188 204 220 236 252

D

Ì ¥ i 141 157 173 189 205 221 237 253 Ä Pt « ∈ 142 158 174 190 206 222 238 254 Å ƒ » ∩ 143 159 175 191 207 223 239 255

E

F

Show 4 more labels / short text on this page
Hexa- decimal · 1/2 · ∩ · 1/4
Page 67 of the Star Micronics RS232 user manual — International Character Set
Pagina 67 · klik om te vergroten
Pagina 67

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 $ @ ¡ Ñ ¿ ˆ ’ ¨ ñ } ~

Japan # $ @ [ ¥ ] ˆ ` { | } ~

Norway # ¤ É Æ Ø Å Ü é æ ø å ü

Denmark 2 # $ É Æ Ø Å Ü é æ ø å ü

Spain 2 # $ á ¡ Ñ ¿ é ’ í ñ ó ú

Latin America # $ á ¡ Ñ ¿ é ü í ñ ó ú

Page 68 of the Star Micronics RS232 user manual — A
Pagina 68 · klik om te vergroten
Pagina 68

ESC/POS Mode

0 1 2 3 4 5 6 7

SP 0 @ P ` p 0 16 32 48 64 80 96 112 ! 1 A Q a q 1 17 33 49 65 81 97 113 ” 2 B R b r 2 18 34 50 66 82 98 114 # 3 C S c s 3 19 35 51 67 83 99 115 $ 4 D T d t 4 20 36 52 68 84 100 116 % 5 E U e u 5 21 37 53 69 85 101 117 & 6 F V f v 6 22 38 54 70 86 102 118 ’ 7 G W g w 7 23 39 55 71 87 103 119 ( 8 H X h x 8 24 40 56 72 88 104 120 ) 9 I Y i y 9 25 41 57 73 89 105 121 * : J Z j z 10 26 42 58 74 90 106 122 + ; K [ k { 11 27 43 59 75 91 107 123 , < L \ l | 12 28 44 60 76 92 108 124 – = M ] m } 13 29 45 61 77 93 109 125 . > N ^ n ~ 14 30 46 62 78 94 110 126 / ? O _ o SP 15 31 47 63 79 95 111 127

A

B

D

E

F

Hexa- decimal

Page 69 of the Star Micronics RS232 user manual — D
Pagina 69 · klik om te vergroten
Pagina 69

ESC/POS Mode

Page 0 (PC437USA, Standard Europe)

8 9 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 213 229 245 å û ª µ ÷ 134 150 166 182 198 214 230 246 ç ù º τ ≈ 135 151 167 183 199 215 231 247 ê ÿ ¿ Φ ° 136 152 168 184 200 216 232 248 ë Ö Θ • 137 153 169 185 201 217 233 249 è Ü ¬ Ω . 138 154 170 186 202 218 234 250 ï δ

A

B

139 155 171 187 203 219 235 251 î £ ∞ 140 156 172 188 204 220 236 252 Ì ¥ i 141 157 173 189 205 221 237 253 Ä Pt « ∈ 142 158 174 190 206 222 238 254 Å ƒ » ∩ SP 143 159 175 191 207 223 239 255

D

E

F

Show 4 more labels / short text on this page
Hexa- decimal · 1/2 · 1/4 · n
Page 70 of the Star Micronics RS232 user manual — ESC/POS Mode
Pagina 70 · klik om te vergroten
Pagina 70

ESC/POS Mode

Star Micronics RS232 — ESC/POS Mode diagram (page 70)
Afb. 6 · ESC/POS Mode

Page 1(Katakana)

Page 71 of the Star Micronics RS232 user manual — ESC/POS Mode
Pagina 71 · klik om te vergroten
Pagina 71

ESC/POS Mode

Page 2 (PC850Multilingual)
Star Micronics RS232 — ESC/POS Mode diagram (page 71)
Afb. 7 · ESC/POS Mode
Page 72 of the Star Micronics RS232 user manual — E
Pagina 72 · klik om te vergroten
Pagina 72

ESC/POS Mode

Page 3 (PC860Portuguese)

8 9 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 213 229 245

Á Ú ª µ ÷ 134 150 166 182 198 214 230 246 ç ù º τ ≈ 135 151 167 183 199 215 231 247 ê ¿ Φ ° 136 152 168 184 200 216 232 248 Ê Õ Ò Θ • 137 153 169 185 201 217 233 249 è Ü Ω . 138 154 170 186 202 218 234 250 δ

A

B

139 155 171 187 203 219 235 251 Ô £ ∞ 140 156 172 188 204 220 236 252

D

Ì Ù i 141 157 173 189 205 221 237 253 Ã Pt « ∈ 142 158 174 190 206 222 238 254 Â Ó » ∩ SP 143 159 175 191 207 223 239 255

E

F

Show 4 more labels / short text on this page
Hexa- decimal · 1/2 · 1/4 · n
Page 73 of the Star Micronics RS232 user manual — ESC/POS Mode
Pagina 73 · klik om te vergroten
Pagina 73

ESC/POS Mode

Page 4 (PC863Canadian-French)
Star Micronics RS232 — ESC/POS Mode diagram (page 73)
Afb. 8 · ESC/POS Mode
Page 74 of the Star Micronics RS232 user manual — E
Pagina 74 · klik om te vergroten
Pagina 74

ESC/POS Mode

Page 5 (PC865Nordic)

8 9 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 213 229 245 å û ª µ ÷ 134 150 166 182 198 214 230 246 ç ù º τ ≈ 135 151 167 183 199 215 231 247 ê ÿ ¿ Φ ° 136 152 168 184 200 216 232 248 ë Ö Θ • 137 153 169 185 201 217 233 249 è Ü Ω . 138 154 170 186 202 218 234 250 ï ø δ

A

B

139 155 171 187 203 219 235 251 î £ ∞ n 140 156 172 188 204 220 236 252

D

Ì Ø i 141 157 173 189 205 221 237 253 Ä Pt « ∈ 142 158 174 190 206 222 238 254 Å ƒ ¤ ∩ SP 143 159 175 191 207 223 239 255

E

F

Hexa- decimal · 1/2 · 1/4

Page 75 of the Star Micronics RS232 user manual — A
Pagina 75 · klik om te vergroten
Pagina 75

ESC/POS Mode

Page 255 (Space Page)

8 9 A B C D E F

SP 128 144 160 176 192 208 224 240 SP 129 145 161 177 193 209 225 241 SP 130 146 162 178 194 210 226 242 SP 131 147 163 179 195 211 227 243 SP 132 148 164 180 196 212 228 244 SP 133 149 165 181 197 213 229 245 SP 134 150 166 182 198 214 230 246 SP 135 151 167 183 199 215 231 247 SP 136 152 168 184 200 216 232 248 SP 137 153 169 185 201 217 233 249 SP 138 154 170 186 202 218 234 250 SP 139 155 171 187 203 219 235 251 SP 140 156 172 188 204 220 236 252 SP 141 157 173 189 205 221 237 253 SP 142 158 174 190 206 222 238 254 SP 143 159 175 191 207 223 239 255

A

B

D

E

F

Hexa- decimal

Page 76 of the Star Micronics RS232 user manual — International Character Set
Pagina 76 · klik om te vergroten
Pagina 76

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 Pt $ @ ¡ Ñ ¿ ˆ ’ ¨ ñ } ~

Japan # $ @ [ ¥ ] ˆ ` { | } ~

Norway # ¤ É Æ Ø Å Ü é æ ø å ü

Denmark 2 # $ É Æ Ø Å Ü é æ ø å ü

Page 77 of the Star Micronics RS232 user manual — 11. AUTOMATIC CUTTER
Pagina 77 · klik om te vergroten
Pagina 77

11. AUTOMATIC 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, switch off the power, use tweezers to remove the jammed paper, then switch the power back on. The printer will return the blade to the home position.

4 Never clean the cutter blade with alcohol or any other solvent, as this may remove the blade’s lubrication and shorten the blade life.

Page 78 of the Star Micronics RS232 user manual — P1996.11
Pagina 78 · klik om te vergroten
Pagina 78

MEMO

P1996.11

Page 79 of the Star Micronics RS232 user manual — 11. AUTOMATIC CUTTER
Pagina 79 · klik om te vergroten
Pagina 79
Page 79 of the Star Micronics RS232 user manual — 11. AUTOMATIC CUTTER
Page 80 of the Star Micronics RS232 user manual — 11. AUTOMATIC CUTTER
Pagina 80 · klik om te vergroten
Pagina 80

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 Westerbachstraße 59, D-60489 Frankfurt, Germany Tel: 069-789990, Fax: 069-781006

ELECTRONIC PRODUCTS DIVISION STAR MICRONICS CO., LTD. 536 Nanatsushinnya, Shimizu, Shizuoka, 424 Japan Tel: 0543-47-0112, Fax: 0543-48-5271

STAR MICRONICS U.K. LTD. Star House, Peregrine Business Park, Gomm Road, High Wycombe, Bucks, HP13 7DL, U.K. Tel: 01494-471111, Fax: 01494-473333

Printed in Japan, 80872025

Vraag stellen over de Star Micronics RS232

Eigenaren en ons team reageren doorgaans binnen een dag — en uw vraag helpt ook de volgende persoon.

Add your email to get notified when it’s answered — no spam, ever.

0 questions
Nog geen vragen over de Star Micronics RS232

Stel als eerste een vraag — andere eigenaren of ons team geven antwoord.

Origineel document

Star Micronics RS232 handleiding-pdf

80 pagina's·707 KB·Printer·PDF
Klik op een bovenstaande pagina om deze hier te openen
Pagina 1 / …
100%
Pagina's laden…