Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/newdedyk/domains/bkmanuals.com/public_html/includes/pages/manual_inc.php on line 26
Citizen CT-S300 manuale d’uso - BKManuals

Citizen CT-S300 manuale d’uso

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158

Vai alla pagina of

Un buon manuale d’uso

Le regole impongono al rivenditore l'obbligo di fornire all'acquirente, insieme alle merci, il manuale d’uso Citizen CT-S300. La mancanza del manuale d’uso o le informazioni errate fornite al consumatore sono la base di una denuncia in caso di inosservanza del dispositivo con il contratto. Secondo la legge, l’inclusione del manuale d’uso in una forma diversa da quella cartacea è permessa, che viene spesso utilizzato recentemente, includendo una forma grafica o elettronica Citizen CT-S300 o video didattici per gli utenti. La condizione è il suo carattere leggibile e comprensibile.

Che cosa è il manuale d’uso?

La parola deriva dal latino "instructio", cioè organizzare. Così, il manuale d’uso Citizen CT-S300 descrive le fasi del procedimento. Lo scopo del manuale d’uso è istruire, facilitare lo avviamento, l'uso di attrezzature o l’esecuzione di determinate azioni. Il manuale è una raccolta di informazioni sull'oggetto/servizio, un suggerimento.

Purtroppo, pochi utenti prendono il tempo di leggere il manuale d’uso, e un buono manuale non solo permette di conoscere una serie di funzionalità aggiuntive del dispositivo acquistato, ma anche evitare la maggioranza dei guasti.

Quindi cosa dovrebbe contenere il manuale perfetto?

Innanzitutto, il manuale d’uso Citizen CT-S300 dovrebbe contenere:
- informazioni sui dati tecnici del dispositivo Citizen CT-S300
- nome del fabbricante e anno di fabbricazione Citizen CT-S300
- istruzioni per l'uso, la regolazione e la manutenzione delle attrezzature Citizen CT-S300
- segnaletica di sicurezza e certificati che confermano la conformità con le norme pertinenti

Perché non leggiamo i manuali d’uso?

Generalmente questo è dovuto alla mancanza di tempo e certezza per quanto riguarda la funzionalità specifica delle attrezzature acquistate. Purtroppo, la connessione e l’avvio Citizen CT-S300 non sono sufficienti. Questo manuale contiene una serie di linee guida per funzionalità specifiche, la sicurezza, metodi di manutenzione (anche i mezzi che dovrebbero essere usati), eventuali difetti Citizen CT-S300 e modi per risolvere i problemi più comuni durante l'uso. Infine, il manuale contiene le coordinate del servizio Citizen in assenza dell'efficacia delle soluzioni proposte. Attualmente, i manuali d’uso sotto forma di animazioni interessanti e video didattici che sono migliori che la brochure suscitano un interesse considerevole. Questo tipo di manuale permette all'utente di visualizzare tutto il video didattico senza saltare le specifiche e complicate descrizioni tecniche Citizen CT-S300, come nel caso della versione cartacea.

Perché leggere il manuale d’uso?

Prima di tutto, contiene la risposta sulla struttura, le possibilità del dispositivo Citizen CT-S300, l'uso di vari accessori ed una serie di informazioni per sfruttare totalmente tutte le caratteristiche e servizi.

Dopo l'acquisto di successo di attrezzature/dispositivo, prendere un momento per familiarizzare con tutte le parti del manuale d'uso Citizen CT-S300. Attualmente, sono preparati con cura e tradotti per essere comprensibili non solo per gli utenti, ma per svolgere la loro funzione di base di informazioni e di aiuto.

Sommario del manuale d’uso

  • Pagina 1

    Command Reference LINE THERMAL PRINTER MODEL CT -S300 Rev . 0.01 Newly issued on July 17, 2003[...]

  • Pagina 2

    Rev . No. Date Comment Re v . 0.01 2003/07/17 Ne wly issued REVISION[...]

  • Pagina 3

    — i — T ABLE OF CONTENTS 1. OUTLINE .................................................................................................................... .......................... 1 1.1 Operation Mode ............................................................................................................ ................................ 1 1[...]

  • Pagina 4

    — ii — 2.2.5 Bit Image Commands ...................................................................................................... ................. 45 ESC * m n1 n2 [ d ] k .................................................................................................... ................... 45 GS * n1 n2 [ d ] n1 × n2 × 8 .............[...]

  • Pagina 5

    — iii — GS (K pL pH fn m fn = 50 ..................................................................................................... ............. 111 GS (K pL pH fn m fn = 97 ..................................................................................................... ............. 112 GS (M pL pH fn m ...............................[...]

  • Pagina 6

    — 1 — 1. OUTLINE 1.1 Operation Mode CT -S300 has ESC/POS TM as control commands. 1.2 Character Set All print data sent from the host computer to the printer are automatically converted to one-byte alphanumeric or katakana characters (ANK) or two-byte Kanji corresponding to the characters and symbols. NOTE: For the contents of character set, ref[...]

  • Pagina 7

    — 2 — 2. CONTROL COMMANDS 2.1 ESC/POS Command List Print Control Commands Control Function Mode GS P Command LF Printing and paper feed S.P . CR Back to printing S.P . FF (1) Printing in P AGE MODE and returning to ST ANDARD MODE (at the selection of P AGE MODE) (2) Printing of Black mark and paper feeding to the top of the print position (with[...]

  • Pagina 8

    — 3 — Print Position Commands Commands Function Mode GS P HT Horizontal tab S.P . ESC $ Specifying the absolute positions S.P . O ESC D Setting horizontal tab position S.P . ESC T Selecting the character printing direction in P AGE MODE P ESC W Defining the print area in P AGE MODE P O ESC Specifying the relative position S.P . O ESC a Aligni[...]

  • Pagina 9

    — 4 — Panel Switch Commands Commands Function Mode GS P ESC c5 Enabling/disabling the panel switches S.P . Macro Commands Commands Function Mode GS P GS : Starting/ending macro definition S.P . GS ^ Executing the macro S.P . Cutter Commands Commands Function Mode GS P GS V Cutting the paper S.P . O Bar Code Commands Commands Function Mode GS P [...]

  • Pagina 10

    — 5 — Printer Function Setting Commands Commands Function Mode GS P GS ( D Enabling or disabling real-time command S GS ( E Printer function setting command S GS ( M Customizing the printer S GS ( N Designating font attribute S Other Commands Commands Function Mode GS P DLE ENQ Real-time request to printer S.P . DLE DC4 Outputting specified pul[...]

  • Pagina 11

    — 6 — 2.1.1 Description of Items XXXX [Function] The name of a command. [Code] The string of codes comprising the command is represented by < >H for hexadecimal numbers, < >B for binary numbers, and < > for decimal numbers, [ ] k denotes the number of repetition of “ k ” times. [Range] Indicates the values (setting range) [...]

  • Pagina 12

    — 7 — 2.2 Command Details 2.2.1 Print Control Commands LF [Function] Printing and paper feed [Code] <0A>H [Outline] Prints data inside the print buffer and feeds paper based on the line feed amount having been set. [Caution] After this command is executed, the beginning of the line is taken as the start position for the next point. [See A[...]

  • Pagina 13

    — 8 — CR [Function] Back to printing [Code] <0D>H [Outline] (1) When memory switch 1-3 is OFF: This command is ignored. (2) When memory switch 1-3 is ON: The same operation as LF is executed. [See Also] LF [Sample Program] LPRINT "AAA";CHR$(&HD); LPRINT "BBB";CHR$(&HD); LPRINT CHR$(&HD); LPRINT "CCC&qu[...]

  • Pagina 14

    — 9 — FF [Function] (1) Printing in P AGE MODE and returning to ST ANDARD MODE (at the selection of P AGE MODE) (2) Printing of Black mark and paper feeding to the top of the print position (with Black mark paper selected) [Code] <0C>H (1) At selection of P AGE MODE [Outline] Executes a batch printout of the data mapped in the entire prin[...]

  • Pagina 15

    — 10 — ESC FF [Function] Printing data in P AGE MODE [Code] <1B>H<0C>H [Outline] Executes a batch printout of the data mapped in the entire print area in P AGE MODE. [Caution] • This command is only effective when P AGE MODE is selected. • Mapped data, as well as the ESC T and ESC W settings, and the character mapping position a[...]

  • Pagina 16

    — 11 — ESC d n [Function] Printing and feeding the paper by “ n ” lines [Code] <1B>H<64>H<n> [Range] 0 n 255 [Outline] Prints data in the print buffer and feeds paper by “ n ” lines. Specified lines do not remain. [Caution] • After this command is executed, the beginning of the line is taken as the start position for[...]

  • Pagina 17

    — 12 — 2.2.2 Print Character Commands CAN [Function] Canceling print data in P AGE MODE [Code] <18>H [Outline] Erases all data contained in the currently effective print area in P AGE MODE. [Caution] • This command is only effective when P AGE MODE is selected. • If the previously established print area overlaps the currently effectiv[...]

  • Pagina 18

    — 13 — ESC SP n [Function] Setting the right spacing of the character [Code] <1B>H<20>H<n> [Range] 0 n 255 [Outline] Sets the right spacing of character to [n × basic calculation pitch] inches. [Caution] • If the horizontal magnification of character is 2 or more, the right spacing increases with the magnification. • Does[...]

  • Pagina 19

    — 14 — ESC ! n [Function] Collectively specifying the printing mode [Code] <1B>H<21>H<n> [Range] 0 n 255 [Outline] Printing mode is assigned. [Caution] • With double height and double width being specified simultaneously , quadruple characters are created. • An underline is attached to the full character width, which, howe[...]

  • Pagina 20

    — 15 — [Sample Program] LPRINT CHR$(&H1B);"!";CHR$(&H00);"H"; LPRINT CHR$(&H1B);"!";CHR$(&H01);"H"; LPRINT CHR$(&H1B);"!";CHR$(&H08);"H"; LPRINT CHR$(&H1B);"!";CHR$(&H10);"H"; LPRINT CHR$(&H1B);"!";CHR$(&H20);"H[...]

  • Pagina 21

    — 16 — ESC % n [Function] Specifying/canceling download character set [Code] <1B>H<25>H<n> [Range] 0 n 255 [Outline] Specifying/canceling download characters. •“ n ” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: [Default] n = 0 [See Also] ESC & [Sample Program] GOSUB S[...]

  • Pagina 22

    — 17 — ESC & s n m [a [p] s × a] m–n+1 [Function] Defining the download characters [Code] <1B>H<26>H<s>H<n>H<m>H[<a>H<p1>H<p2> ·· <ps × a>]m – n + 1 [Range] s = 3 (Font A, B) s = 2 (Font C) 32 n m 126 0 a 12 (Font A) 0 a 9 (Font B) 0 a 8 (Font C) 0 p1 ⋅ ⋅ ps × a 255 [Outline[...]

  • Pagina 23

    — 18 — ESC – n [Function] Specifying/canceling underline [Code] <1B>H<2D>H<n> [Range] 0 n 2 48 n 50 [Outline] Specifying/canceling an underline. Underline canceled Underline specified ←→ ←→ AAAAAAAAAA [Caution] • An underline is attached to the full character width. It is, however , not atta[...]

  • Pagina 24

    — 19 — ESC ? n [Function] Deleting download characters [Code] <1B>H<3F>H<n> [Range] 32 n 126 [Outline] Deletes the downloaded characters of specified code. [Caution] • The character “ n ” indicates the character code used to delete the defined pattern. After the deletion, characters are printed in the same pattern as the[...]

  • Pagina 25

    — 20 — ESC E n [Function] Specifying/canceling emphasis printing [Code] <1B>H<45>H<n> [Range] 0 n 255 [Outline] Specifying/canceling the emphasized characters. •“ n ” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: [Caution] • Emphasis printing can also be specified/cancel[...]

  • Pagina 26

    — 21 — ESC G n [Function] Specifying/canceling double strike printing [Code] <1B>H<47>H<n> [Range] 0 n 255 [Outline] Specifying/canceling the double strike printing. •“ n ” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: n0 Function 0 Canceling double strike printing 1 Speci[...]

  • Pagina 27

    — 22 — ESC M n [Function] Selection of character fonts [Code] <1B>H<4D>H<n> [Range] 0 n 2 48 n 50 [Outline] Selects character fonts. [Caution] • ESC ! can also select fonts, but the setting made by the command that has last been processed becomes valid. • In case font C selection ESC R is other than n = 8 (katakana), codep[...]

  • Pagina 28

    — 23 — ESC V n [Function] Specifying/canceling 90 ° -right-turned characters [Code] <1B>H<56>H<n> [Range] 0 n 2 48 n 50 [Outline] Specifying/canceling 90 ° -right-turned characters. [Caution] • No underlines are attached to 90 ° -right-turned characters. • This command does not affect P AGE MODE but setting is maintaine[...]

  • Pagina 29

    — 24 — ESC t n [Function] Selecting the character code table [Code] <1B>H<74>H<n> [Range] 0 n 9 16 n 19 n = 22, 255 [Outline] Selecting the character code table. The character code table is selected based on the value of “ n ” . [Default] This is a character code table specified with the value of “ n ” . [Sample Progra[...]

  • Pagina 30

    — 25 — ESC { n [Function] Specifying/canceling the inverted characters [Code] <1B>H<7B>H<n> [Range] 0 n 255 [Outline] Specifying/canceling inverted characters. •“ n ” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: [Caution] • This command is valid only when it is specifie[...]

  • Pagina 31

    — 26 — ESC ~ J n (V alid in CBM1000II-Compatible Mode) [Function] Specifies/cancels printing in red (black-based paper) [Code] <1B>H<7E>H<4A>H<n> [Range] 0 n 255 [Outline] Specifies or cancels printing in red. • Red printing is valid on black-based thermal paper . Specifies or cancels printing in black on red-based the[...]

  • Pagina 32

    — 27 — DC3 n (V alid in CBM1000II-Compatible Mode) [Function] Specifies/cancels printing in red (black-based paper) [Code] <13>H<n> [Range] 0 n 255 [Outline] Specifies or cancels printing in red. • Red printing is valid on black-based thermal paper . Specifies or cancels printing in black on red-based thermal paper . •“ n ” [...]

  • Pagina 33

    — 28 — Bit Function V alue Hex. Number Decimal Number 0 1 2 3 4 5 6 7 GS ! n [Function] Specifying the character size [Code] <1D>H<21>H<n> [Range] 0 n 255, where: 1 vertical magnification 8, 1 horizontal magnification 8 [Outline] Specifies the character size (V ertical and horizontal magnification). T able 1 Horizontal Magnifi[...]

  • Pagina 34

    — 29 — GS B n [Function] Specifying/canceling the black/white inverted printing [Code] <1D>H<42>H<n> [Range] 0 n 255 [Outline] This command specifies or cancels the black/white inverted printing. •“ n ” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: n0 Function 0 The black/[...]

  • Pagina 35

    — 30 — GS b n [Function] Specifying/canceling the smoothing [Code] <1D>H<62>H<n> [Range] 0 n 255 [Outline] This command specifies or cancels the smoothing. •“ n ” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: [Caution] • Smoothing is effective to printer ’ s internal c[...]

  • Pagina 36

    — 31 — 2.2.3 Print Position Commands HT [Function] Horizontal tab [Code] <09>H [Outline] Shifts the printing position to the next horizontal tab position. • Ignored when the next horizontal tab position has not been set. [Caution] The horizontal tab position is set by ESC D. [Default] At the selection of font A, tabs are set every 8 cha[...]

  • Pagina 37

    — 32 — ESC $ n1 n2 [Function] Specifying the absolute positions [Code] <1B>H<24>H<n1><n2> [Range] 0 n1 255 0 n2 255 [Outline] The printing start position is specified by the absolute position from the left margin with the number of dots divided by 256 and quatient specified as “n2” and remainder as “n1”. Therefor[...]

  • Pagina 38

    — 33 — ESC D [ n ] k NULL [Function] Setting horizontal tab position [Code] <1B>H<44>H [<n>] k<00>H [Range] 1 n 255 0 k 32 [Outline] Specifying a horizontal tab position. •“ n ” indicates the number of columns from the beginning to the horizontal tab position. Note, however , that “ n = set position – 1 ” . F[...]

  • Pagina 39

    — 34 — ESC T n [Function] Selecting the character printing direction in P AGE MODE [Code] <1B>H<54>H<n> [Range] 0 n 3 48 n 51 [Outline] Selects the direction and start point of character printing in P AGE MODE. [Caution] • When ST ANDARD MODE is selected, this command only executes the internal flagging of the printer withou[...]

  • Pagina 40

    — 35 — ESC W xL xH yL yH dxL dxH dyL dyH [Function] Defining the print area in P AGE MODE [Code] <1B>H<57>H<xL><xH><yL><yH><dxL><dxH><dyL><dyH> [Range] 0 xL, xH, yL, yH, dxL, dxH, dyL, dyH 255, except for dxL = dxH = 0 or dyL = dyH = 0 [Outline] Defines the location and size of the pri[...]

  • Pagina 41

    — 36 — ESC nL nH [Function] Specifying the relative position [Code] <1B>H<5C>H<nL><nH> [Range] 0 nL 255 0 nH 255 [Outline] This command specifies the next print start position in a relative position with respect to the current position. The next print start position will be at a point of [(nL + nH × 256) × basic calc[...]

  • Pagina 42

    — 37 — ESC a n [Function] Aligning the characters [Code] <1B>H<61>H<n> [Range] 0 n 2 48 n 50 [Outline] All the printed data within one line are aligned in the specified position. Depending on the value “ n ” , positional alignment is carried out as shown in the table below: [Caution] • This command is valid only when it [...]

  • Pagina 43

    — 38 — GS $ nL nH [Function] Specifying the absolute position of character vertical direction in P AGE MODE [Code] <1D>H<24>H<nL><nH> [Range] 0 nL 255, 0 nH 255 [Outline] Specifies the vertical position of character at the start point of data development in P AGE MODE using absolute position based on the start position. [...]

  • Pagina 44

    — 39 — GS L nL nH [Function] Setting the left margin [Code] <1D>H<4C>H<nL><nH> [Range] 0 nL 255 0 nH 255 [Outline] This command sets the left margin specified by nL and nH. The value of the left margin is [(nL + nH × 256) × basic calculation pitch] inches. [Caution] • This command only works when it is entered at the[...]

  • Pagina 45

    — 40 — A GS W nL nH [Function] Setting the print area width [Code] <1D>H<57>H<nL><nH> [Range] 0 nL 255 0 nH 255 [Outline] Sets the print area width specified by nL and nH. The print area width will be [(nL + nH × 256) × basic calculation pitch] inches. [Caution] • This command only works when it is entered at the beg[...]

  • Pagina 46

    — 41 — (2) If a sufficient area cannot be provided as a result of step (1), the print area is extended toward the left (so, the left margin is decreased). (3) If a sufficient area cannot be provided as a result of step (2), the right spacing is trimmed. • When mapping a bit image (or downloaded bit image), if the print area is narrower than t[...]

  • Pagina 47

    — 42 — GS nL nH [Function] Specifying the relative vertical position of a character in P AGE MODE [Code] <1D>H<5C>H<nL><nH> [Range] 0 nL 255 0 nH 255 [Outline] This command is used in P AGE MODE to specify the vertical position of a character in the data mapping start position, in a relative position with respect to th[...]

  • Pagina 48

    — 43 — 2.2.4 Line Feed Span Commands ESC 2 [Function] Specifying 1/6-inch line feed rate [Code] <1B>H<32>H [Outline] The line feed rate per line is specified by 1/6 inch. [Caution] Line feed rate can be specified respectively for both ST ANDARD MODE and P AGE MODE. [Sample Program] LPRINT "AAAAA";CHR$(&HA); LPRINT CHR$[...]

  • Pagina 49

    — 44 — ESC 3 n [Function] Setting line feed rate of minimum pitch [Code] <1B>H<33>H<n> [Range] 0 n 255 [Outline] Sets the line feed width per line to [n × basic calculation pitch] inches. [Χαυτιον] • The line feed width can be set separately for the ST ANDARD and P AGE MODES. • The basic calculation pitch is set by[...]

  • Pagina 50

    — 45 — 2.2.5 Bit Image Commands ESC * m n1 n2 [ d ] k [Function] Specifying the bit image mode [Code] <1B>H<2A>H<m>H<n1><n2>[<d>]k [Range] m = 0, 1, 32, 33 0 n1 255 0 n2 2 0 d 255 k = n1 + 256 × n2 (m = 0, 1) k = (n1 + 256 × n2) × 3 (m = 32, 33) [Outline] • According to the number of dots specified in ?[...]

  • Pagina 51

    — 46 — [Sample Program] LPRINT CHR$(&H1B);"*"; LPRINT CHR$(0);CHR$(20);CHR$(0); IMG1: GOSUB IMG1 LPRINT CHR$(&HFF); LPRINT CHR$(&HA); FOR I = 1 T O 18 LPRINT CHR$(&H1B);"*"; LPRINT CHR$(&H85); LPRINT CHR$(1);CHR$(20);CHR$(0); NEXT I GOSUB IMG1 LPRINT CHR$(&HFF); LPRINT CHR$(&HA); RETURN LPRINT CHR[...]

  • Pagina 52

    — 47 — GS * n1 n2 [ d ] n1 × n2 × 8 [Function] Defining the download bit image [Code] <1D>H<2A>H<n1><n2> [< d >] n1 × n2 × 8 [Range] 1 n1 255 1 n2 48 n1 × n2 1536 [Outline] • Defines download bit images of the number of dots specified by “ n1 ” and “ n2 ” . • The numbers of dots are n1 × 8 in hori[...]

  • Pagina 53

    — 48 — [Sample Program] GOSUB IMG LPRINT CHR$(&H1D);"/";CHR$(0); LPRINT CHR$(&H1D);"/";CHR$(1); LPRINT CHR$(&H1D);"/";CHR$(2); LPRINT CHR$(&H1D);"/";CHR$(3); END IMG: n1=10:n2=5 LPRINT CHR$(&H1D);"*"; LPRINT CHR$(n1);CHR$(n2); FOR J=1 TO n1*8 FOR I=1 T O n2 LPRINT CHR$(J); NE[...]

  • Pagina 54

    — 49 — GS / m [Function] Printing the downloaded bit image [Code] <1D>H<2F>H<m> [Range] 0 m 3 48 m 51 [Outline] Prints downloaded bit image in a mode specified by “ m ” . Modes that can be selected by “ m ” are shown below . [Caution] • When a downloaded bit image has not been defined, this command is ignored. • Wh[...]

  • Pagina 55

    — 50 — GS v 0 m xL xH yL yH d1...dk [Function] Printing of raster bit image [Code] <1D>H<76>H<30>H<m><xL><xH><yL><yH> [<d>] k [Range] 0 m 3, 48 m 51, 0 xL 255, 0 xH 255, 0 yL 255, 0 yH 8, 0 d 255, k = (xL + xH × 256) × (yL + yH × 256), however , k ≠ 0 [Outline] Prints raster bit images [...]

  • Pagina 56

    — 51 — [Example] When xL + xH × 256 = 64 7 123 6 2 126 K-2 127 K-1 128 K 63 64 65 66 67 6 5 4 3 2 1 0 LSB MSB yL + yH × 256 dots (xL + xH × 256) × 8 dots = 512 dots[...]

  • Pagina 57

    — 52 — 2.2.6 Status Commands DLE EOT n [Function] Sending status in real-time [Code] <10>H<04>H<n> [Range] 1 n 4 [Outline] Sends in real-time the status specified by “ n ” . [Caution] • Each status represents the current status. It is 1 byte data. • The status is transferred without checking whether the host is ready t[...]

  • Pagina 58

    — 53 — (1) Printer status (When n = 1 is specified) (2) Status caused by an offline condition (When n = 2 is specified) Bit 5: Printing is stopped if the Paper -end detector detects a “ paper out ” state, or if the printer is out of paper when the Paper Near -end Sensor is enabled by ESC c 4. At this time, bit 5 = 1. Bit Status Hex. Decimal[...]

  • Pagina 59

    — 54 — (3) Status caused by an error (when n = 3 is specified) Bit 3: If this error occurred because of a paper jam, for example, remove the cause of the error , and then DLE ENQ n (1 n 2) can be used to recover from the error . However , it is not possible to recover from any er ror due to a circuit problem (e.g., broken wire). Bit 6: If a hea[...]

  • Pagina 60

    — 55 — GS a n [Function] Enabling/disabling ASB (Automatic Status Back) [Code] <1D>H<61>H<n> [Range] 0 n 255 [Outline] This command selects the status item to be addressed by ASB (Automatic Status Back.) [Caution] • If any status item is enabled, the status is sent to the host when this command is executed. After that time o[...]

  • Pagina 61

    — 56 — Bit Status Hex. Decimal 0 Unused 00 0 1 Unused 00 0 2 Status of pin 3 of drawer kick-out connector = “ L ” 00 0 Status of pin 3 of drawer kick-out connector = “ H ” 04 4 3 Online status 00 0 Offline status 08 8 4 Unused 01 16 5 Cover closed 00 0 Cover open 20 32 6 Not in paper feed state triggered by FEED switch 00 0 In paper fee[...]

  • Pagina 62

    — 57 — Bit Status Hex. Decimal 0 Undefined —— 1 Undefined —— 2 Undefined —— 3 Undefined —— 4 Unused 00 0 5 Undefined —— 6 Undefined —— 7 Unused 00 0 (4) 4th byte (Paper Sensor information) * In case of MSW3-7 ON (CBM1000 compatible mode) (4) 4th byte (Paper Sensor information) * In case of MSW3-7 OFF (CBM1000 non-compati[...]

  • Pagina 63

    — 58 — GS r n [Function] Sending status [Code] <1D>H<72>H<n> [Range] 1 n 2 49 n 50 [Outline] Sends the specified status to the host. [Caution] • When the serial interface is used: For DTR/DSR control: The printer sends the status after verifying that the host is ready to receive. If the host is not ready to receive, the prin[...]

  • Pagina 64

    — 59 — Bit Status Hex. Decimal 0 Status of pin 3 of drawer kick connector = “ L ” 00 0 Status of pin 3 of drawer kick connector = “ H ” 01 1 1 Undefined —— 2 Undefined —— 3 Undefined —— 4 Unused 00 0 5 Undefined —— 6 Undefined —— 7 Unused 00 0 • Drawer kick-out connector status (n = 2, 50) [See Also] Appendix 4.3 ?[...]

  • Pagina 65

    — 60 — 2.2.7 Paper Detecting Commands ESC c 3 n [Function] Selecting the Paper Sensor valid for a Paper -end signal output [Code] <1B>H<63>H<33>H<n> [Range] 0 n 255 [Outline] This command selects by which Paper Sensor a Paper -end signal should be output. Each bit for “n” has the following meaning: [Caution] This com[...]

  • Pagina 66

    — 61 — Bit Position V alue 01 0 Paper Near -end Disabled Enabled 1 Paper Near -end Disabled Enabled 2 Undefined — — 3 Undefined — — 4 Undefined — — 5 Undefined — — 6 Undefined — — 7 Undefined — — ESC c 4 n [Function] Selecting the Paper Near -end Sensor valid for print stop [Code] <1B>H<63>H<34>H<n&g[...]

  • Pagina 67

    — 62 — 2.2.8 Panel Switch Commands ESC c 5 n [Function] Enabling/disabling the panel switches [Code] <1B>H<63>H<35>H<n> [Range] 0 n 255 [Outline] Enabling/disabling the FEED switch. • “n” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: [Caution] • When the FEED switc[...]

  • Pagina 68

    — 63 — 2.2.9 Macro Commands GS : [Function] Starting/ending macro definition [Code] <1D>H<3A>H [Outline] Specifying starting/ending macro definition. Reception of this command during macro definition signifies ending the macro definition. [Caution] • Maximum content available for macro definition is 2048 bytes. A portion exceeding[...]

  • Pagina 69

    — 64 — GS ^ n1 n2 n3 [Function] Executing the macro [Code] <1D>H<5E>H<n1><n2><n3> [Range] 0 n1 255 0 n2 255 0 n3 1 [Outline] Executing contents defined in macro. n1 : The number of times of macro execution n2 : W aiting time on macro execution: W aiting time of n2 × 100 msec is given for every execution. n3 : Macr[...]

  • Pagina 70

    — 65 — 2.2.10 Cutter Commands GS V m ......... (1) GS V m n ..... (2) [Function] Cutting the paper [Code] (1) <1D>H<56>H<m> (2) <1D>H<56>H<m><n> [Range] (1) m = 1, m = 49 (2) m = 66 [Outline] Performs the specified paper cutting. [Caution] • In ST ANDARD MODE, this command only works when it is entere[...]

  • Pagina 71

    — 66 — 2.2.11 Bar Code Commands GS H n [Function] Selecting of printing position of HRI characters [Code] <1D>H<48>H<n> [Range] 0 n 3 48 n 51 [Outline] Selecting printing position of HRI characters in printing bar codes. “n” means the followings. n Printing Position 0, 48 No printing 1, 49 Above the bar code 2, 50 Below th[...]

  • Pagina 72

    — 67 — Printed above and below No HRI characters Printed above Printed below [Print Results][...]

  • Pagina 73

    — 68 — GS f n [Function] Selecting the font of HRI characters [Code] <1D>H<66>H<n> [Range] n = 0, 1 [Outline] Selecting the font of HRI characters in printing bar code. The type of font can be selected with “n” as follows: The HRI characters refer to the bar code-turned characters so that you can read them. [Caution] The H[...]

  • Pagina 74

    — 69 — GS h n [Function] Specifying the height of the bar code [Code] <1D>H<68>H<n> [Range] 1 n 255 [Outline] Selecting bar code height. “n” denotes the number of dots in the vertical direction. [Default] n = 162 [See Also] GS k, GS w [Sample Program] Refer to Sample Program and Print Results for GS w .[...]

  • Pagina 75

    — 70 — GS k m [d1 ...... dk] NULL ......... (1) GS k m n [d1 ...... dn] ................ (2) [Function] Printing the bar code [Code] (1) <1D>H<6B>H<m> [d1.....dk] NULL (2) <1D>H<6B>H<m><n> [d1....dn] [Range] (1) 0 m 6 The definitions of “k” and “d” vary with the bar code system. (2) 65 m 73 The [...]

  • Pagina 76

    — 71 — [Caution] For (1): • This command ends with a NULL code. • For UPC-A or UPC-E, the bar code is printed when 12 bytes of bar code data have been entered, and the subsequent data is handled as normal data. • For JAN13, the bar code is printed when 13 bytes of bar code data have been entered, and the subsequent data is handled as norm[...]

  • Pagina 77

    — 72 — [Description of Bar Codes] UPC-A This bar code, consisting of numerals only , has a fixed length of 12 columns; a 11- column number entered from the host or application software plus a check digit (12th column) automatically calculated inside the printer . If the 12th-column numeral is sent from the host, the entire bar code will be prin[...]

  • Pagina 78

    — 73 — Control Character Control Character ASCII Hex. ASCII Hex. NULL 00 ■ U DLE 10 ■ P SOH 01 ■ A DC1 11 ■ Q STX 02 ■ B DC2 12 ■ R ETX 03 ■ C DC3 13 ■ S EOT 04 ■ D DC4 14 ■ T ENQ 05 ■ E NAK 15 ■ U ACK 06 ■ F SYN 16 ■ V BEL 07 ■ G ETB 17 ■ W BS 08 ■ H CAN 18 ■ X HT 09 ■ IE M 1 9 ■ Y LF 0A ■ J SUB 1A ■[...]

  • Pagina 79

    — 74 — Hex. ASCII Code Set A Code Set B Code Set C 7B53 { S SHIFT SHIFT –N/A 7B41 { A –N/A CODE A CODE A 7B42 { B CODE B –N/A CODE B 7B43 { C CODE C CODE C –N/A 7B31 { 1 FNC1 FNC1 FNC1 7B32 { 2 FNC2 FNC2 –N/A 7B33 { 3 FNC3 FNC3 –N/A 7B34 { 4 FNC4 FNC4 –N/A 7B7B { { ‘ { ‘ ‘ { ‘ ‘ { ‘ When sending print data, note these [...]

  • Pagina 80

    — 75 — T ype Print Sample Outline of Symbol UPC-A 12-column fixed-length bar code consisting of numerals only . UPC-E 8-column fixed-length bar code consisting of numerals only . Abbreviated version of UPC-A. JAN-13 13-column fixed-length bar code consisting of numerals only . JAN-8 8-column fixed-length bar code consisting of numerals only . C[...]

  • Pagina 81

    — 76 — GS w n [Function] Specifying the horizontal size (magnification) of bar code [Code] <1D>H<77>H<n> [Range] 2 n 6 [Outline] Selecting bar code width. [Default] n = 3 [Sample Program] LPRINT CHR$(&H1D);"h";CHR$(30); LPRINT CHR$(&H1D);"w";CHR$(2); GOSUB BC LPRINT CHR$(&H1D);"h";CHR$[...]

  • Pagina 82

    — 77 — 2.2.12 Commands for Non-volatile Memory F S p n m [Function] Printing the download NV bit images [Code] <1C>H<70>H<n><m> [Range] 1 n 255 0 m 3 48 m 51 [Outline] This command prints the download NV bit images (n) using a specified mode (m). • “n” denotes the number of the download bit image. • “m” denot[...]

  • Pagina 83

    — 78 — F S q n [xL xH yL yH d1…dk] 1… [xL xH yL yH d1…dk] n [Function] Defining the download NV bit image [Code] <1C>H<71>H<n>[<xL><xH><yL><yH><d1...dk>]1 ...[<xL><xH><yL><yH><d1...dk>]n [Range] 1 n 255, 0 xL 255, 0 xH 3 but, 1 (xL + xH × 256) 1023 0 yL 255 0 y[...]

  • Pagina 84

    — 79 — • The maximum definition area of this printer is 2M bits (256K bytes). Multiple NV bit images can be defined, but bit images of which total size (Bit image data + Header) exceeds 2M bits (256K bytes) can not be defined. • The printer state will change to BUSY just before the writing operation into the non-volatile memory begins. Also[...]

  • Pagina 85

    — 80 — 2.2.13 Black Mark Control Commands GS FF (V alid Only at B.M Paper Selection) [Function] Printing and ejecting Black mark paper [Code] <1DH><0C>H [Outline] This command prints the data in the printer buffer and ejects Black mark paper . [Caution] V alid only if Black mark paper is selected. [See Also] FF , GS < GS < (V [...]

  • Pagina 86

    — 81 — GS A m n (V alid Only at B.M Paper Selection) [Function] Correcting the leader position of Black mark paper [Code] <1DH><41>H<m><n> [Range] 0 m 255 0 n 255 [Outline] This command sets the leader position of Black mark paper in terms of correction value set for the default position. “m” denotes the correcting d[...]

  • Pagina 87

    — 82 — GS C0 m n [Function] Setting the numbering print mode [Code] <1D>H<43>H<30>H<m><n> [Range] 0 m 5 0 n 2 [Outline] This command sets the numbering (serial number counter) print mode. “m” denotes the number of print columns. m = 0 Prints the columns indicated by numeral. In this case, “n” has no meaning[...]

  • Pagina 88

    — 83 — GS C1 n1 n2 n3 n4 n5 n6 [Function] Setting the numbering counter mode (A) [Code] <1D>H<43>H<31>H<n1><n2><n3><n4><n5><n6> [Range] 0 n1 , n2 , n3 , n4 , n5 , n6 255 [Outline] This command sets the numbering (serial number counter) mode. n1 + n2 × 256 (n1 = remainder , n2 = quotient): C[...]

  • Pagina 89

    — 84 — GS C2 n1 n2 [Function] Setting the numbering counter [Code] <1D>H<43>H<32>H<n1><n2> [Range] 0 n1 255 0 n2 255 [Outline] This command sets the numbering (serial number counter) value. n1 + n2 × 256 (n1 = remainder , n2 = quotient) becomes a counter value. [Caution] • If the counter is set with this command[...]

  • Pagina 90

    — 85 — GS C ; n1 ; n2 ; n3 ; n4 ; n5 ; [Function] Setting the numbering counter mode (B) [Code] <1D>H<43>H<3B>H<n1><3B>H<n2><3B>H<n3> <3B>H<n4><3B>H<n5><3B>H <n1>, <n2>, <n3>, <n4>, <n5> are character codes. [Range] 0 n1 , n2 , n5 65535 0[...]

  • Pagina 91

    — 86 — GS c [Function] Print the counter [Code] <1D>H<63>H [Outline] This command prints the serial number counter data. After setting the current counter value in the print buffer as the print data (character string), it increments or decrements the counter according to the set count mode. [Caution] • The format used in setting t[...]

  • Pagina 92

    — 87 — GS I n1L n1H n2L n2H [Function] Setting the Black mark length [Code] <1D>H<6C>H<n1L><n1H><n2L><n2H> [Range] 0 n1L 255 (24 n1L + n1H × 256 360) 0 n1H 1 8 n2L 30 n2H = 0 [Outline] Define the specifications (length) of the Black mark used. n1: Sets the Black mark length n2: Sets the Black mark gap length[...]

  • Pagina 93

    — 88 — 2.2.14 Printer Function Setting Commands GS (D pL pH m [a1 b1] ··· [ak bk] [Function] Enabling or disabling real-time command [Code] <1d>H<28>H<44>pL pH m [a1 b1] ··· [ak bk] [Range] 3 (pL + pH × 256) 65535 m = 20 a = 1 b = 0, 1, 48, 49 [Default] a Kind of Real-time Command Default 1 DLE DC4 fn m t(fn = 1): Real-[...]

  • Pagina 94

    — 89 — GS (E pL pH fn [···] [Function] Printer function setting command [Outline] Printer function setting command is a command to change the function of the printer stored on the non-volatile memory and executes the function set by the value of “ fn ” . Function Function No. (fn) 1 T ransfers to printer function setting mode. (Note) 2 T[...]

  • Pagina 95

    — 90 — fn = 1: Function 1 T ransferring to Printer Function Setting Mode GS (E pL pH fn d1 d2 fn = 1 [Code] <1d>H<28>H<45>pL pH fn d1 d2 [Range] (pL + pH × 256) = 3 (pL = 3, pH = 0) fn = 1 d1 = 73 (“I”) d2 = 78 (“N”) [Outline] T ransfers to printer function setting mode and sends the report of mode transfer . Hex. No.[...]

  • Pagina 96

    — 91 — fn = 2: Function 2 End of Printer Function Setting Mode GS (E pL pH fn d1 d2 d3 fn = 2 [Code] <1d>H<28>H<45>pL pH fn d1 d2 d3 [Range] (pL + pH × 256) = 4 (pL = 4, pH = 0) fn = 2 d1 = 79 (“O”) d2 = 85 (“U”) d3 = 84 (“T”) [Outline] • T erminates printer function setting mode and executes resetting. Clears i[...]

  • Pagina 97

    — 92 — fn = 3: Function 3 Setting Memory Switch V alue GS (E pL pH fn [a1 b18 ··· b11] ··· [ak bk8 ··· bk1] fn = 3 [Code] <1d>H<28>H<45>pL pH fn[a1 b18···b11]···[ak bk8···bk1] [Range] 10 (pL + pH × 256) 65535 fn = 3 a = 1, 2, 3, 4 b = 48, 49, 50 [Outline] • Changes the memory switch set in a to the value s[...]

  • Pagina 98

    — 93 — • Setting memory switch 2 (a = 2) n b (Set V alue) Function 1 49 (Default) Reserved 2 48 Disables auto cutter . 49 (Default) Enables auto cutter . 3 48 (Default) Enables stored printing. 49 Disables stored printing. 4 48 Sets printing at full columns to be the same as CBM1000. 49 (Default) Sets printing at full columns to be the same a[...]

  • Pagina 99

    — 94 — • Setting memory switch 4 (a = 4) n b (Set V alue) Function 48 (Default) At the selection of Black mark paper , disables auto end- 1 measurement. 49 At the selection of Black mark paper , enables auto end- measurement. 48 (Default) At the selection of Black mark paper , sets sensor position to 2 be on the printing side. 49 At the selec[...]

  • Pagina 100

    — 95 — fn = 4: Function 4 Sending the Set Memory Switch V alue GS (E pL pH fn a fn = 4 [Code] <1d>H<28>H<45>pL pH fn a [Range] (pL + pH × 256) = 2 fn = 4 a = 1, 2, 3, 4 [Outline] • Sends the content of memory switch set in “a”. • Sends the set value of data in 8-byte data raw in order of bits 8, 7, 6, .... OFF: 30H (?[...]

  • Pagina 101

    — 96 — fn = 5: Function 5 Setting Customized V alue GS (E pL pH fn [a1 n1L n1H]...[ak nkL nkH] fn = 5 [Code] <1d>H<28>H<45>pL pH fn [a1 n1L n1H]...[ak nkL nkH] [Range] 4 (pL + pH × 256) 65535 fn = 5 1 a 3 a = 5, 6, 97, 116, 201, 202 1 (nL + nH × 256) 65535 [Default] Described in the processing table for “a”. [Outline] ?[...]

  • Pagina 102

    — 97 — (nL + nH × 256) Printing Speed 1 Printing speed level 1 (84%) 2 Printing speed level 2 (86%) 3 Printing speed level 3 (88%) 4 Printing speed level 4 (90%) 5 Printing speed level 5 (92%) 6 Printing speed level 6 (94%) 7 Printing speed level 7 (96%) 8 Printing speed level 8 (98%) 9 (Default) Printing speed level 9 (100%) • a = 97: Sets [...]

  • Pagina 103

    — 98 — fn = 6: Function 6 Sending the Set Customized V alue GS (E pL pH fn a fn = 6 [Code] <1d>H<28>H<45>pL pH fn a [Range] (pL + pH × 256) = 2 : (pL = 2, pH = 0) fn = 6 1 a 3, a = 5, 6, 97, 116, 201, 202 [Outline] • Sends the set value of customized value set by “a”. Hex. No. of Data Header 37H 1 ID 27H 1 Customized va[...]

  • Pagina 104

    — 99 — • a = 5: When print density is specified Setting Status Sending Data Stored Print 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte V alue Density 65530 70% 54 ( “ 6 ” ) 53 ( “ 5 ” ) 53 ( “ 5 ” ) 51 ( “ 3 ” ) 48 ( “ 0 ” ) 65531 75% 54 ( “ 6 ” ) 53 ( “ 5 ” ) 53 ( “ 5 ” ) 51 ( “ 3 ” ) 49 ( “ 1 ” ) 65532[...]

  • Pagina 105

    — 100 — • a = 116: When kind of paper is specified Setting Status Sending Data Stored Print 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte V alue Control 1 Single-color 49 ( “ 1 ” ) ———— paper 2 2-color paper 50 ( “ 2 ” ) ———— • a = 201: When ACK output position is specified Setting Status Sending Data Stored ACK Outpu[...]

  • Pagina 106

    — 101 — • a = 209: PNE sensor judgment time Setting Status Sending Data Stored Density 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte V alue Multiplication 1 2 times 49( “ 1 ” ) ———— 2 3 times 50 ( “ 2 ” ) ———— 3 4 times 51 ( “ 3 ” ) ———— 4 5 times 52 ( “ 4 ” ) ———— 5 6 times 53 ( “ 5 ” ) —?[...]

  • Pagina 107

    — 102 — fn = 7: Function 7 Copying User -defined Page GS (E pL pH fn a d1 d2 fn = 7 [Code] <1d>H<28>H<45>pL pH fn a d1 d2 [Range] (pL + pH × 256) = 4 : (pL = 4, pH = 0) fn = 7 a = 10, 12, 17 [Outline] • Copies the data of user -defined code page in the font specified by “a”. a Font T ype 10 Font A: 12 (horizontal) × 24[...]

  • Pagina 108

    — 103 — fn = 8: Function 8 Defining Data by the Column Format to Character Code Page of W ork Area GS (E pL pH fn y c1 c2[x d1...d(y × x)]k fn = 8 [Code] <1d>H<28>H<45>pL pH fn y c1 c2 [x d1..d(yXx)]k [Range] 5 (pL + pH × 256) 65535 fn = 8 y = 2 (At selection of font C) y = 3 (At selection of other than font C) 128 c1 c2 255[...]

  • Pagina 109

    — 104 — fn = 9: Function 9 Defining Data in the Raster Format to the Character Code Page of W ork Area GS (E pL pH fn x c1 c2[y d1...d(y × x)]k fn = 9 [Code] <1d>H<28>H<45>pL pH fn x c1 c2 [y d1...d(yXx)]k [Range] 5 (pL + pH × 256) 65535 fn = 9 y = 1 (At selection of font C) y = 2 (At selection of other than font C) 128 c1 c[...]

  • Pagina 110

    — 105 — fn = 10: Function 10 Erasing Data of Character Code Page Data in W ork Area GS (E pL pH fn c1 c2 fn = 10 [Code] <1d>H<28>H<45>pL pH fn c1 c2 [Range] (pL + pH × 256) = 3 fn = 10 128 c1 c2 255 [Outline] Erases (set to space) data in units of character on the character code page in work area. Operates only in printer fun[...]

  • Pagina 111

    — 106 — fn = 11: Function 11 Setting Communication Conditions of Serial Interface GS (E pL pH fn a d1...cdk fn = 11 [Code] <1d>H<28>H<45>pL pH fn a d1..dk [Range] 3 (pL + pH × 256) 65535 (0 pL 255, 0 pH 255) fn = 11 1 a 4 (Not changed in other than specified range) 48 d 57 (Not changed in other than specified range) 1 k 6 [Ou[...]

  • Pagina 112

    — 107 — fn = 12: Function 12 Sending the Set Communication Conditions of Serial Interface GS (E pL pH fn a fn = 12 [Code] <1d>H<28>H<45>pL pH fn a [Range] (pL + pH × 256) = 2 (pL = 2, pH = 0) fn = 12 1 a 4 (Does not send in other than specified range) [Outline] Sends communication conditions of serial interface specified by ?[...]

  • Pagina 113

    — 108 — fn = 255: Function 255 Setting All Contents Set by Printer Function Setting Mode to the State at Shipment GS (E pL pH fn a fn = 255 [Code] <1d>H<28>H<45>pL pH fn a [Range] (pL + pH × 256) = 2 fn = 255 a = 3, 5, 11, 255 [Outline] Restores various kinds of function set by printer function setting mode to the setting at [...]

  • Pagina 114

    — 109 — GS (K pL pH fn m [Function] Selecting print control method [Outline] Executes the setting related to the print control specified by the value of “ fn ” . Function Function No. (fn) 49 Sets printing density . 50 Sets printing speed. 97 Sets the number of divisions for head conducting. 200 Selects print paper . 201 Sets paper feed amo[...]

  • Pagina 115

    — 110 — fn = 49: Function 49 Setting Printing Density GS (K pL pH fn m fn = 49 [Code] <1d>H<28>H<4B>pL pH fn m [Range] (pL + pH × 256) = 2 : (pL = 2, pH = 0) fn = 49 0 m 9, 250 m 255 [Default] m = 0 (Customized value setting value) [Outline] Sets printing density . m Printing Density 250 Selects density level –6 (70%) 251 S[...]

  • Pagina 116

    — 111 — fn = 50: Function 50 Setting Printing Speed GS (K pL pH fn m fn = 50 [Code] <1d>H<28>H<4B>pL pH fn m [Range] (pL + pH × 256) = 2 : (pL = 2, pH = 0) fn = 50 0 m 4, 48 m 52 [Default] m = 0 (Customized value setting) [Outline] Sets printing speed. m Printing Speed 0, 48 Selects print control mode at power on. 1, 49 Selec[...]

  • Pagina 117

    — 112 — fn = 97: Function 97 Setting Number of Divisions for Head Conducting GS (K pL pH fn m fn = 97 [Code] <1d>H<28>H<4B>pL pH fn m [Range] (pL + pH × 256) = 2 : (pL = 2, pH = 0) fn = 97 0 m 6, 48 m 52 [Default] m = 9 (Customize value setting) [Outline] Sets the number of divisions for head conducting. m No. of Divisions fo[...]

  • Pagina 118

    — 113 — GS (M pL pH fn m [Function] Customizing the printer [Outline] Executes processing related to escape/recovery of the value set in the work area or the data defined by various kinds of command. • W ork area: Area where data is initialized by power OFF of resetting (initialize). Operation is made in accordance with the data set in this a[...]

  • Pagina 119

    — 114 — fn = 1, 49: Function 1 GS (M pL pH fn m fn = 1, 49 [Code] <1d>H<28>H<4D>pL pH fn m [Range] (pL + pH × 256) = 2 : (pL = 2, pH = 0) fn = 1, 49 m = 1, 49 [Outline] Copies the set value stored in work area to the storage area. [Caution] • This command allows writing to non-volatile memor y . Therefore, using this comman[...]

  • Pagina 120

    — 115 — fn = 3, 51: Function 3 GS (M pL pH fn m fn = 3, 51 [Code] <1d>H<28>H<4D>pL pH fn m [Range] (pL + pH × 256) = 2 : (pL = 2, pH = 0) fn = 3, 51 m = 0, 1, 48, 49 [Outline] Determines the setting of storage area at initialization to the work area by the value of “m”. m Function 0, 48 Does not copy data from storage are[...]

  • Pagina 121

    — 116 — GS (N pL pH fn m [Function] Designating font attribute [Outline] Executes processing of font attribute by the specified fn value. fn = 48: Function 48 GS (N pL pH fn m fn = 48 [Code] <1d>H<28>H<4E>pL pH fn m [Range] (pL + pH × 256) = 2 : (pL = 2, pH = 0) fn = 48 m = 49 (At single color paper setting) m = 49, 50 (At 2-[...]

  • Pagina 122

    — 117 — 2.2.15 Other Commands DLE ENQ n [Function] Real-time request to printer [Code] <10>H<05>H<n> [Range] 1 n 2 [Outline] The printer responds in real-time to the request that the host specifies with number “n”. [Caution] • (n = 1) or (n = 2) shall be used after removing the error . • When receiving a code row coinc[...]

  • Pagina 123

    — 118 — DLE DC4 fn m t (Specification of fn = 1) [Function] Outputting specified pulse in real-time [Code] <10>H<14>H<fn><m><t> [Range] fn = 1, 0 m 8, 1 t 8 [Outline] • A signal specified with “t” is output to the connector pin specified with “m”. • Set the ON time/OFF time to t × 100 ms, respectively [...]

  • Pagina 124

    — 119 — DLE DC4 fn d1...d7 (Specification of fn = 8) [Function] Buffer clear [Code] <10>H<14>H<fn><d1> ...<d7> [Range] fn = 8, d1 = 1, d2 = 3, d3 = 20, d4 = 1, d5 = 6, d6 = 2, d7 = 8 [Outline] • Erases all data in receiving buffer or print buffer . • Sends the following 3-byte data group. Hex. Decimal No. of Da[...]

  • Pagina 125

    — 120 — ESC = n [Function] Data input control [Code] <1B>H<3D>H<n> [Range] 0 n 255 [Outline] • Selecting equipment for which data input from the host is valid. • Each bit of “n” indicates as follows. • When the printer has not been selected, this printer abandons all the received data until it is selected by this com[...]

  • Pagina 126

    — 121 — A A A ESC @ [Function] Initializing the printer [Code] <1B>H<40>H [Outline] Clears data stored in the print buffer and brings various settings to the initial state (Default state). [Caution] • The settings of DIP switches are not read again. • Data inside the internal input buffer is not cleared. • Macro definitions ar[...]

  • Pagina 127

    — 122 — ESC L [Function] Selecting P AGE MODE [Code] <1B>H<4C>H [Outline] Switches from ST ANDARD MODE to P AGE MODE. [Caution] • This command is only effective if it entered at the beginning of a line. • This command is not effective if it is entered when in P AGE MODE. • ST ANDARD MODE is restored when printing specified by [...]

  • Pagina 128

    — 123 — ESC S [Function] Selecting ST ANDARD MODE [Code] <1B>H<53>H [Outline] Switches from P AGE MODE to ST ANDARD MODE. [Caution] • This command is only effective if it is entered when in P AGE MODE. • Any data mapped in P AGE MODE is erased. • After this command is executed, the beginning of the line is taken as the next pr[...]

  • Pagina 129

    — 124 — ESC p m n1 n2 [Function] Generating the specified pulses [Code] <1B>H<70>H<m><n1><n2> [Range] m = 0, 1, 48, 49 0 < n1 n2 255 [Outline] • The signals specified by “n1” and “n2” are output to the connector pin specified by “m”. • “m” has the followings. • The ON time is n1 × 2 ms, an[...]

  • Pagina 130

    — 125 — GS ( A pL pH n m [Function] Execution of test printing [Code] <1D>H<28>H<41>H<pL><pH><n><m> [Range] (pL + (pH × 256)) = 2 (pL = 2, pH = 0) 0 n 2, 48 n 50 1 m 3, 49 m 51 [Outline] Specified test printing will be executed. • pL, pH will specify the number of subsequent parameters by (pL + (pH ?[...]

  • Pagina 131

    — 126 — GS I n [Function] Sending the printer ID [Code] <1D>H<49>H<n> [Range] 1 n 4, 49 n 52, 65 n 69, n=112, 250, 251 [Outline] Sends the specified printer ID. n T ype of Printer ID Specification V alue (Hex.) 1,49 Model ID CT -S300 35 2,50 T ype ID Refer to table “T ype ID” below 3,51 ROM version ID 90h 4,52 Black mark L[...]

  • Pagina 132

    — 127 — n = 4, 52 specified (only for B.M specs) The Black mark length and mark interval currently used are returned in 4-byte code. All fractional parts in millimeters are rounded off. Byte 1 + Byte 2 × 256 = Black mark interval Byte 3 + Byte 4 × 256 = Black mark length [Caution] • Under DTR/DSR control, the printer sends the printer ID af[...]

  • Pagina 133

    — 128 — GS P x y [Function] Specifying the basic calculation pitch [Code] <1D>H<50>H<x><y> [Range] 0 x 255 0 y 255 [Outline] • This command sets the horizontal basic calculation pitch to approx. 25.4/x mm (1/ x inches), and the vertical basic calculation pitch to approx. 25.4/y mm (1/y inches). • If x = 0, the horizo[...]

  • Pagina 134

    — 129 — ESC RS [Function] Sound buzzer [Code] <1B>H<1E>H [Outline] Sound the buzzer for 200 ms. [Caution] This command is buffered before execution. [Sample Program] LPRINT CHR$(&H1B);CHR$(&H1E); [Execution Result] The buzzer sounds for approx. 200 ms.[...]

  • Pagina 135

    — 130 — 3. CHARACTER CODE T ABLE 3.1 Code Page 3.1.1 Codepage 00H to 7FH & PC437 (USA, Europe Standard)[...]

  • Pagina 136

    — 131 — 3.1.2 Codepage 00H to 7FH & Katakana[...]

  • Pagina 137

    — 132 — 3.1.3 Codepage 00H to 7FH & PC850 (Multilingual)[...]

  • Pagina 138

    — 133 — 3.1.4 Codepage 00H to 7FH & PC860 (Portuguese)[...]

  • Pagina 139

    — 134 — 3.1.5 Codepage 00H to 7FH & PC863 (Canadian-French)[...]

  • Pagina 140

    — 135 — 3.1.6 Codepage 00H to 7FH & PC865 (Nordic)[...]

  • Pagina 141

    — 136 — 3.1.7 Codepage 00H to 7FH & PC852 (Eastern Europe)[...]

  • Pagina 142

    — 137 — 3.1.8 Codepage 00H to 7FH & PC857 (Russian)[...]

  • Pagina 143

    — 138 — 3.1.9 Codepage 00H to 7FH & PC857 (T urkish)[...]

  • Pagina 144

    — 139 — 3.1.10 Codepage 00H to 7FH & PC864 (Arabic)[...]

  • Pagina 145

    — 140 — 3.1.11 Codepage 00H to 7FH & WPC1252[...]

  • Pagina 146

    — 141 — 3.2 International Character Code T able Country U.K. Denmark I Sweden Italy Spain I Japan Norway Denmark II Spain II Latin America Korea Germany France U.S.A[...]

  • Pagina 147

    — 142 — 4. APPENDIX 4.1 Explanation on P AGE MODE 4.1.1 Overview The printer has two print modes: ST ANDARD and P AGE. In ST ANDARD MODE, the printer prints or feeds paper each time it receives a print or paper feed command. In P AGE MODE, when the printer receives print commands and/or form feed commands, it simply forwards them to the specifi[...]

  • Pagina 148

    — 143 — 4.1.3 Mapping of Print Data in the Print Area Print data is mapped in the print area as follows: (1) The print area is set by ESC W . When the printer has finished all of the print and paper feed actions specified before receiving an ESC W , the ESC W sets the right end (as viewed facing the printer) as the start point (x0, y0) of the p[...]

  • Pagina 149

    — 144 — 4.1.4 Example of Using P AGE MODE The following explains specific uses of P AGE MODE. When in P AGE MODE, the commands are typically sent from the host to the printer in the following sequence: (1) An ESC L puts the printer in P AGE MODE. (2) An ESC W specifies the print area. (3) An ESC T specifies the print direction. (4) Print data i[...]

  • Pagina 150

    — 145 — In Figure 4-3, a line feed occurs between “ lesson ” and “ T est 1 ” because the space “ “ next to “ lesson ” does not fit in the horizontal range of the 200 × 400-pitch print area. The line feed width conforms to the value specified by a command such as ESC 3. It is possible to set as many print areas as desired before[...]

  • Pagina 151

    — 146 — Before an FF is sent (170th line), the following program code can be added to remove part of the data. 180 PRINT #1, CHR$(&H1B);"W";CHR$(72);CHR$(0);CHR$(120);CHR$(0); 190 PRINT #1, CHR$(36);CHR$(0);CHR$(48)CHR$(0); 200 PRINT #1, CHR$(&H18); As a result of the additional program code, a print-out is executed as shown i[...]

  • Pagina 152

    — 147 — 4.2 Bidirectional Parallel Interface Overview The interface of the printer is a Level-1 compatible device according to IEEE-P1284. It supports the communication modes described in 4.2.1 below . 4.2.1 Parallel Interface Communication Mode The parallel interface of the printer provides three communication modes as outlined below . When th[...]

  • Pagina 153

    — 148 — 4.2.3 Negotiation Overview Usually , the printer is started in Compatibility mode, which corresponds to the Centronics interface phase. When the host intends to switch to the Nibble or Byte mode, it sends a request and negotiates with the printer . A general flow of negotiations is given below . (1) The host sets the IEEE 1284 Active si[...]

  • Pagina 154

    — 149 — Precautions (1) The Negotiation phase is triggered when the IEEE 1284 Active signal sent by the host becomes High. (2) In Compatibility mode, the time when the negotiation process begins is, as a general rule, after the host sets nStrobe to High and then the printer outputs an nAck pulse. Once the nStrobe signal is set to High, however [...]

  • Pagina 155

    — 150 — Data Communication from Printer to Host Nibble Mode In this mode, data is transferred between the printer and the host through the procedure described below . The steps beginning from (1) are applicable when the Negotiation phase has switched to the Host Busy Data A vailable phase. If the Negotiation phase has switched to the Host Busy [...]

  • Pagina 156

    — 151 — Byte Mode In this mode, data is transferred between the printer and the host through the procedure described below . The steps beginning from (1) are applicable when the Negotiation phase has switched to the Host Busy Data A vailable phase. If the Negotiation phase has switched to the Host Busy Data Not A vailable phase, the procedure s[...]

  • Pagina 157

    — 152 — Device ID The device ID is a character string that provides the ID, the type, and other information regarding the printer connected to the interface. When the printer receives a request for a device ID from the host, it replies with the following device ID: <00>H<2E>H MFG : CBM; CMD : ESC/POS; MDL : CT -S300; CLS : PRINTER; [...]

  • Pagina 158

    — 153 — (2) Immediate termination: 1) If the interface is deactivated (IEEE 1284 Active: Low) without Event 22 having taken place, the printer immediately performs T ermination. In this termination, the data is not guaranteed, and the printer switches the data bus from output to input within 1 µsec. In the Reverse Idle phase, the printer can n[...]