Epson RP-U420 manual Dle Eot, Ascii DLE EOT

Page 69

 

 

 

 

 

 

more

C O N F I D E N T I A L

 

more

 

 

DLE EOT

 

 

 

 

EXECUTING COMMAND

 

 

 

 

 

[Name]

Real-time status transmission

 

 

 

 

[Format]

ASCII

DLE

EOT

n

 

 

Hex

10

04

n

 

 

Decimal

16

4

n

 

[Range]

[Default]

[Description]

1 n 4, 6 None

Transmits the selected printer status specified by n in real-time, according to the following parameters: n = 1: Transmit printer status

n = 2: Transmit offline status

n = 3: Transmit error status

n = 4: Transmit paper roll sensor status

n = 6: Transmit validation status

n = 1: Printer status

Bit

Off/On

Hex

Decimal

Function

 

 

 

 

 

 

 

0

Off

00

0

Not used. Fixed to Off.

 

 

 

 

 

 

 

1

On

02

2

Not used. Fixed to On.

 

 

 

 

 

 

 

2

Off

00

0

Drawer open/close signal is LOW (connector pin 3).

 

 

 

 

 

 

 

 

On

04

4

Drawer open/close signal is HIGH (connector pin 3).

 

 

 

 

 

 

 

3

Off

00

0

Online.

 

 

 

 

 

 

 

 

On

08

8

Offline.

 

 

 

 

 

 

 

4

On

10

16

Not used. Fixed to On.

 

 

 

 

 

 

 

5

Off

00

0

Reserved. Fixed to Off.

 

 

 

 

 

 

 

6

Off

00

0

No panel switch is pressed.

 

 

 

 

 

 

 

 

On

40

64

One of panel switch is pressed.

 

 

 

 

 

 

 

7

Off

00

0

Not used. Fixed to Off.

 

 

 

 

 

 

 

Bit 6:

Even if panel switch is disabled by ESC c 5, bit6 becomes “On” during one of panel switch is pressed.

RP-U420

Status commands DLE EOT

Ver. 1.0 p. 69

Image 69
Contents Epson Epson Confidentiality Journal and Receipt Combination Printing System ProcessingReceipt Journal Print SampleSystem Processing Procedures Print #1, CHR$&H1Bc0CHR$3 ← Selects a print sheet Programming ExampleReceipt Issuing Taiwan ReceiptESC d, ESC o ESC d, LFPrints details Stamp Positions for print head, stamp, and cutter TipsPaper position after FF is executed Definitions N F I D E N T I a L Character Code Tables 1 Katakana 2 PC850 Multilingual 3 PC860 Portuguese 4 PC863 Canadian-French 5 PC865 Nordic 16 WPC1252 17 PC866 Cyrillic #2 18 PC862 Latin2 19 PC858 Euro Using the Character Code Tables Command Classification Name Function type RP-U420 Supported CommandsDLE EOT Print Sample Program ExampleProgram Example for all printers Print commands CR Print Sample Journal Print Sample ReceiptBit Off/On Hex Decimal Function ESCPrint #1, CHR$&H1B!CHR$0 AA ESC % N F I D E N T I a L = c2 c1 + 32 ≤ c1 ≤ c2 ≤See program and print example for ESC % Bit-image commands ESC TOP HEAD1 HEAD2 HEAD3 HEAD4 HEAD5 HEAD6 HEAD7 HEAD8 Bitimage9 Print #1, CHR$&H1BCHR$mCHR$70CHR$0 For i=1 to Program Example Print SampleMechanism control commands ESC Customer Display Sample ESC =ESC ? Aaaaa ESC @Ascii code Hex Country Dec 123 124 125 126 ESC R← n=1 ESC c Print Sample receipt Paper sensor commands ESC c Name Select paper sensors to stop printing Format Panel button command ESC c ESC d ESC f ESC o ESC p Character Code Table ESC tPrint Sample ESC z Print #1, BBBBBBBBBBBBBBBBBBBBCHR$&HA Kanji commands FS Name Cancel Kanji character mode Format Printer ID Contents = 2 Type ID Printer Operation Mode Standard Mode Taiwan Mode Standard Mode Taiwan Mode Printer Operation ModeN F I D E N T I a L GS r Print #1, CHR$&H1DrCHR$1 ← Transmits paper sensor status Ascii DLE EOT DLE EOT= 2 Offline status More = 6 Validation status Print #1, CHR$&H10CHR$&H4CHR$2 ← Transmits offline status Ascii DLE ENQ DLE ENQPrint #1, CHR$&H10CHR$&H5CHR$2 Ascii DLE DC4 DLE DC4Print #1, CHR$&H10CHR$&H14CHR$1lCHR$0CHR$5