Epson RP-U420 manual Dle Enq, Ascii DLE ENQ

Page 74

 

 

 

 

 

 

more

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

 

more

 

 

DLE ENQ

 

 

 

 

EXECUTING COMMAND

 

 

 

 

 

[Name]

Real-time request to printer

 

 

 

 

[Format]

ASCII

DLE

ENQ

n

 

 

Hex

10

05

n

 

 

Decimal

16

5

n

 

[Range]

[Default]

[Description]

1 n 3

None

Responds to a request from the host specified by n. The operations performed depend on the value of n, as follows:

n = 1: Recover from an error and restart printing from the line where the error occurred.

 

n = 2:

Clear the receive and print buffers and recover from an error.

 

n = 3:

Cancel waiting for validation.

[Notes]

■ The printer executes this command upon receiving this command.

 

■ With a serial interface model, this command is executed even in the offline, receive buffer-full, or error

states.

■ With a parallel interface model, the printer cannot receive data when it is busy; therefore this command cannot be used under the following conditions.

• When DIP Switch 1-6 is On: receive buffer-full.

• When DIP Switch 1-6 is Off: receive buffer-full, offline, error states.

■ This command is executed any time the data sequence <10>H<05>H<n> (1 n 3) is received, even if it appears as part of another command.

<Example>

In ESC * m nL nH d1 ... dk, d1=<10>H, d2=<05>H, d3=<1>

This command should not be used within the data sequence of another command that consists of two or more bytes.

<Example>

If you attempt to transmit ESC ! n to the printer, but DLE ENQ 3 interrupts before n is received, the code <10>H for DLE ENQ 3 is processed as the code for ESC ! <10>H.

RP-U420

Miscellaneous commands DLE ENQ

Ver. 1.0 p. 74

Image 74
Contents Epson Epson Confidentiality System Processing Journal and Receipt Combination PrintingPrint Sample Receipt JournalSystem Processing Procedures Programming Example Print #1, CHR$&H1Bc0CHR$3 ← Selects a print sheetIssuing Taiwan Receipt ReceiptESC d, LF ESC d, ESC oPrints details Stamp Tips Positions for print head, stamp, and cutterPaper 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 RP-U420 Supported Commands Command Classification Name Function typeDLE EOT Program Example Print SampleProgram Example for all printers Print commands CR Print Sample Receipt Print Sample JournalESC Bit Off/On Hex Decimal FunctionPrint #1, CHR$&H1B!CHR$0 AA ESC % N F I D E N T I a L 32 ≤ c1 ≤ c2 ≤ = c2 c1 +See program and print example for ESC % Bit-image commands ESC TOP HEAD1 HEAD2 HEAD3 HEAD4 HEAD5 HEAD6 HEAD7 HEAD8 Program Example Print Sample Bitimage9 Print #1, CHR$&H1BCHR$mCHR$70CHR$0 For i=1 toMechanism control commands ESC ESC = Customer Display SampleESC ? ESC @ AaaaaESC R Ascii code Hex Country Dec 123 124 125 126← 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 ESC t Character Code TablePrint 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 Printer Operation Mode Standard Mode Taiwan ModeN F I D E N T I a L GS r Print #1, CHR$&H1DrCHR$1 ← Transmits paper sensor status DLE EOT Ascii DLE EOT= 2 Offline status More = 6 Validation status Print #1, CHR$&H10CHR$&H4CHR$2 ← Transmits offline status DLE ENQ Ascii DLE ENQPrint #1, CHR$&H10CHR$&H5CHR$2 DLE DC4 Ascii DLE DC4Print #1, CHR$&H10CHR$&H14CHR$1lCHR$0CHR$5