Star Micronics SP2000 Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Drukuj i skanuj Star Micronics SP2000. Star Micronics SP2000 User's Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - Programmer’s Manual

Dot Matrix PrinterSP2000 SeriesProgrammer’s Manual

Strona 2 - TABLE OF CONTENTS

8FUNCTIONSelects the character code tableCODE<ESC> <GS> "t" n1B 1D 74 nOUTLINESelects the character code tableThis function sele

Strona 3 - 1. Control Codes (Star Mode)

9Value of nCharacter TableHex. Dec.00 0 Normal (Default)01 1 Code Page 437 (USA, Std. Europe)/IBM Character Set #202 2 Katakana03 3 IBM Character Set

Strona 4

10FUNCTIONSelects IBM character set #2CODE<ESC> "6"(1B)H (36)HOUTLINESelects IBM character set #2.Switches from IBM character set #1 t

Strona 5 - 1-1-2. Print Position Control

11FUNCTIONSelects 5 X 9 (2 pulses per dot) fontCODE<ESC> "P"(1B)H (50)HOUTLINESelects 5 X 9 (2 pulses = 1 dot) font.The number of digi

Strona 6 - 1-1-3. Dot Graphics Control

12FUNCTIONSets the printing magnified double in character widthCODE<SO>(0E)HOUTLINEData following this code is printed in double-width character

Strona 7

13OUTLINESets the magnification rate in character heightPrints the subsequent data with a character height magnified by arate specified by the value o

Strona 8 - 1-1-8. Other Commands

14FUNCTIONCancels upperlining (Default)CODE<ESC> "_" "0" or <ESC> "_" <0>(1B)H (5F)H (30)H or (1B)H (5

Strona 9 - 1-2. Control Code Details

15FUNCTIONCancels inverted printing (Default)CODE<DC2>(12)HOUTLINECancels the inverted character mode. This code is valid onlywhen input at the

Strona 10 - FUNCTION

16FUNCTIONSelects uni-directional print modeCODE<ESC> "U" "1" or <ESC> "U" <1>(1B)H (55)H (31)H or (1B

Strona 11

171-2-2. Ptint Position ControlFUNCTIONLine feedCODE<LF>(0A)HOUTLINEData in the line buffer is printed out and one line is fed. If datadoes not

Strona 12

TABLE OF CONTENTS1. Control Codes (Star Mode) ... 11-1. Control Codes List ...

Strona 13

18FUNCTIONCarriage returnCODE<CR>(0D)HOUTLINEThe <CR> code is valid when the memory switch 3-1 = 1 (set to 0at exfactory). When the <C

Strona 14

19FUNCTIONDefine n/72-inch line spacingCODE<ESC> "A" n(1B)H (41)H nDEFINITION RANGE0 <= n <= 85 (Default n = 12)OUTLINELine fee

Strona 15

20FUNCTIONSets line spacing to 7/72 inchCODE<ESC> "1"(1B)H (31)HOUTLINELine feed is set at 7/72-inch after this code is received.FUNCT

Strona 16

21FUNCTIONSets horizontal tab stopsCODE<ESC> "D" n1 n2 ...nk <0>(1B)H (44)H n1 n2 ...nk (00)HDEFINITION RANGE1 <= n1 <=

Strona 17

22FUNCTIONSets right marginCODE<ESC> "Q" n1B 51 nOUTLINESets the non-printable range with the current character pitch up tothe nth pos

Strona 18

23FUNCTIONAligns positionCODE<ESC> <GS> "a" n(1B)H (1D)H (61)H nSets the alignment of the positions.OUTLINEAligns all print data

Strona 19 - 1-2-2. Ptint Position Control

24FUNCTIONSets vertical tab stopsCODE<ESC> "B" n1 n2 ...nk <0>(1B)H (42)H n1 n2 ...nk (00)HDEFINITION RANGE1 <= n1 <= n2

Strona 20

251-2-3. Dot Graphics ControlFUNCTION8 dot normal density graphicsCODE<ESC> "K" n1 <0> m1 m2 ...(1B)H (4B)H n1 (00)H m1 m2 ...DE

Strona 21 - DEFINITION RANGE

26First, since the volume of data is 30, n1 = (1E)H. If the data m1 tom30 is converted to hexadecimal, it appears as shown below.Print SampleFUNCTION8

Strona 22

27NOTEFor double density bit image printing, dots cannot be printedoverlapping each other in the horizontal direction.The following is an example of t

Strona 23

11-1. Control Codes ListThe following tables show the Star Mode commands that are supported bythis printer.1-1-1. Character SelectionControl Hexadecim

Strona 24

281-2-4. Download Graphics PrintingFUNCTIONDefines download charactersCODEWhen the 7 X 9 (half dot) font is set (default setting):<ESC> "&a

Strona 25

29m2 m4 m6m1m3 m5 m7D8D7D6D5D4D3D2D1m2 m4 m6m1m3 m5 m7D8D7D6D5D4D3D2D1Printing possible Printing not possibleOverlappinghorizontallyOverlappinghorizon

Strona 26

30(2) Define the download characters.When character codes where the download character is writtenare specified as (21)H, (22)H, (23)H, n1 = (21)H, n2

Strona 27 - 1-2-3. Dot Graphics Control

311-2-5. Peripheral Device ControlFUNCTIONDefines drive pulse width for peripheral device #1CODE<ESC> <BEL> n1 n2(1B)H (07)H n1 n2DEFINITI

Strona 28 - Print Sample

32FUNCTIONControls peripheral device #1 immediatelyCODE<FS>(1C)HOUTLINEExecutes drive pulse for peripheral unit 1 (immediate).This code differs

Strona 29 - Overlapping

331-2-6. Auto Cutter Control (SP2500 type printers only)FUNCTIONFull-cut command to the auto cutterCODE<ESC> "d" "0" or <

Strona 30

34FUNCTIONPartial-cut command to the auto cutter after paper feedCODE<ESC> “d” “3” or <ESC> “d” <3>(1B)H (64)H (33)H or (1B)H (64)H

Strona 31

351-2-7. Command to Set the Page FormatFUNCTIONSet page length in n linesCODE<ESC> “C” n(1B)H (43)H nDEFINITION RANGE1 <= n <= 255 (defa

Strona 32

361-2-8. Other CommandsFUNCTIONCancels printer buffer & Initialize printerCODE<CAN>(18)HOUTLINEClears the data buffer and line buffer and in

Strona 33

37FUNCTIONSets the memory switchCODE<ESC> “# N, n1 n2 n3 n4” <LF> <NUL>HEX1B 23 N 2C n1 n2 n3 n4 0A 00OUTLINEIn order to enable cha

Strona 34

2Control Hexadecimal Function PageCodes Codes<ESC> "W" "1" 1B 57 31 Selects double magnification in character12<ESC> &

Strona 35

382) N = 1 (Star mode only)n1: Always “0”n2: Always “0”Parameter Setting “0” (Default) “1”n3Zero style Normal Slashedn4International See belowcharacte

Strona 36

39*1: Comdex Dual Auto Cut Mechanism (STAR mode only)This mechanism automatically cuts when there is a consecu-tive paper feed exceedin 7/6 inch. Hos

Strona 37

40Value of nCharacter Tablen1 n2“0” or “8” “0” Normal (Default)“0” or “8” “1” Code Page 437 (USA, Std. Europe)/IBM Character Set #2“0” or “8” “2” Kata

Strona 38 - 1-2-8. Other Commands

41N = 3 (ESC/POS mode)n1: Always “0”n2: Always “0”n3: Always “0”Parameter Setting “1” to “3”n4CR code See below5) N = 4 (Star mode)n3: Always “0”Para.

Strona 39 - “0” (Default) “1”

42N = 4 (ESC/POS mode)n3: Always “0”Para. Setting “0” “1” “2” “3”n1RTS signal condition Save as Save as Always AlwaysDTR DTR SPACE SPACEn2Receive buff

Strona 40 - Latin America

43n2 Treatment of missing data during reverse mode“0” to “7” Store“8” to “F” Delete*1: Valid only when using a parallel interface.Set DIP SW 1-2 if yo

Strona 41 - “0” to “F”

44FUNCTIONTransmits EOT statusCODE<EOT>(04)HOUTLINETransmits the EOT status of the printer to the host in real-time.(Does not execute after taki

Strona 42

45FUNCTIONTransmits ENQ statusCODE<ENQ>(05)HOUTLINETransmits the ENQ status of the printer to the host in real-time.(Does not execute after taki

Strona 43

46FUNCTIONConfirms finish of printingCODE<ETB>(17)HOUTLINEThis command cause the printer to wait until all printing iscompleted (the printing mo

Strona 44 - DTR DTR SPACE SPACE

47FUNCTIONEnables/disables automatic statusCODE<ESC> <RS> “a” n(1B)H (1E)H (61)H nOUTLINEThis command sets the transmission conditions of

Strona 45

31-1-2. Print Position ControlControl Hexadecimal Function PageCodes Codes<LF> 0A Line feed 17<VT> 0B Vertical tab 17<FF> 0C Form fe

Strona 46

482. ESC/POS Mode CommandsThe following table lists the TM-U200 and TM-U300 emulation commands thatare supported by this printer.2-1. Control Codes Li

Strona 47

49Control Hexadecimal Function TM- TM-Codes Codes U200 U300<ESC> R 1B 52 Selects international character set OK OK<ESC> U 1B 55 Selects/ca

Strona 48

50Ignored CommandsControl Hexadecimal Function TM- TM-Codes Codes U200 U300<ESC> < 1B 3c Ignored (Returns home) OK<ESC> c 0 n1B 63 30

Strona 49

513-1. Auto StatusAuto status is a function that automatically relays any changes that occur inthe status of the printer from the printer to the host.

Strona 50 - 2. ESC/POS Mode Commands

52Table 3-1 Header 1 (First Byte)Bit Content Status 0 Status 10 Always 112 Printer Status Byte Count34 Always 05 Printer Status Byte Count6 Reserved (

Strona 51

53Table 3-3 Header 2 (Second Byte)Bit Content Status 0 Status 10 Always 012 Automatic Status Ver. Number34 Always 05Automatic Status Ver. Number67 Not

Strona 52 - Ignored Commands

54Printer StatusPrinter Status is the overall status transmitted in the third byte of the auto-matic status. Printer status is returned as transmissi

Strona 53 - 3-1. Auto Status

55Table 3-7 Printer Status 3 <Error Information> (Fifth Byte)Bit Content Status 0 Status 10 Always 01 Invalid2 Invalid3 Invalid4 Always 05 Inval

Strona 54

56(2) PrecautionsDo not use the <ENQ>, <EOT>, <ESC>, <ACK> or <SOH> commands whenthe automatic status is valid. You mus

Strona 55

57Star Mode(Character table: Normal)Note: The (7F)H code is a space when neither normal nor katakana.Appendix : Character Code Tables

Strona 56

41-1-3. Dot Graphics ControlControl Hexadecimal Function PageCodes Codes<ESC> "K" n <0> 1B 4B n 00 m1 m28 dot normal density gra

Strona 57

58Star Mode(Character table: Normal)

Strona 58

59Star Mode(Character table: IBM Character set #2 (Code page 437 ))Note: Other characters are the same as those for Character table: Normal.

Strona 59 - Star Mode

60Star Mode(Character table: Katakana)Note: Other characters are the same as those for Character table: Normal.

Strona 60

61Star Mode(Character table: IBM Character set #1 )Note: Other characters are the same as those for IBM Character Set #2.

Strona 61

62Star ModeCode Page #858 Code Page #852Multi-lingual Latin-2Code Page #860 Code Page #861Portuguese IcelandicNote: Other characters are the same as t

Strona 62

63Star ModeCode Page #863 Code Page #865Canadian French NordicCode Page #866Cyrillic RussianNote: Other characters are the same as those for Character

Strona 63

64Star ModeCode Page #855 Code Page #857Cyrillic Bulgarian TurkishCode Page #862 Code Page #864Hebrew ArabicNote: Other characters are the same as tho

Strona 64

65Star ModeCode Page #737 Code Page #851Greek GreekCode Page #869 Code Page #928Greek GreekNote: Other characters are the same as those for Character

Strona 65

66Star ModeCode Page #772 Code Page #774Lithuanian LithuanianNote: Other characters are the same as those for Character table: Normal.

Strona 66

67Star ModeCode Page #874 Code Page #1250Thai Windows Latin-2Code Page #1251 Code Page #1252Windows Cyrillic Windows Latin-1Note: Other characters are

Strona 67

51-1-6. Auto Cutter Control (SP2500 type printers only)Control Hexadecimal Function PageCodes Codes<ESC> "d" "0" 1B 64 30Ful

Strona 68

68Star ModeCode Page #3840 Code Page #3841IBM-Russian GostCode Page #3843 Code Page #3844Polish CS2Note: Other characters are the same as those for Ch

Strona 69

69Star ModeCode Page #3845 Code Page #3846Hungarian TurkishCode Page #3847 Code Page #3848Brazil-ABNT Brazil-ABICOMPNote: Other characters are the sam

Strona 70

70Star ModeCode Page #1001 Code Page #2001Arabic Lithuanian-KBLCode Page #3001 Code Page #3002Estonian-1 Estonian-2Note: Other characters are the same

Strona 71

71Star ModeCode Page #3011 Code Page #3012Latvian-1 Latvian-2Note: Other characters are the same as those for Character table: Normal.Code Page #3021

Strona 72

72Star ModeInternational Character SetThe character codes shown in the table are hexadecimal.

Strona 73

73ESC/POS ModePage 0 (PC437)

Strona 74

74ESC/POS ModePage 0 (PC437)

Strona 75 - ESC/POS Mode

75ESC/POS ModePage 1 (Katakana)Note: Other characters are the same as those for Page 0.

Strona 76

76ESC/POS ModePage 2 (PC858: Multilingual)Note: Other characters are the same as those for Page 0.

Strona 77

77ESC/POS ModePage 3 (PC860: Portuguese)Page 4 (PC863: Canadian-French) Page 5 (PC865: Nordic)Note: Other characters are the same as those for Page 0.

Strona 78

61-1-8. Other CommandsControl Hexadecimal Function PageCodes Codes<CAN> 18 Cancels printer buffer & Initialize printer 36<DC3> 13 Dese

Strona 79

78ESC/POS ModeInternational Character SetThe character codes shown in the table are hexadecimal.

Strona 80

HEAD OFFICESTAR MICRONICS CO., LTD.536 Nanatsushinnya, Shimizu, Shmizuoka424-0066 JapanTel: 0543-47-0112, Fax: 0543-48-5013Please access the following

Strona 81 - Printed in Japan, 80872080

71-2. Control Code DetailsThe following section explains the details of the printer control codes.1-2-1. Character SelectionFUNCTIONSelects the intern

Komentarze do niniejszej Instrukcji

Brak uwag