Epson RP-U420 manual Bit-image commands ESC

Page 38

 

 

 

 

 

 

 

 

 

more

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

 

 

 

 

more

 

 

 

 

 

ESC

 

 

 

 

 

 

 

EXECUTING COMMAND

 

 

 

 

 

 

 

 

[Name]

Select bit-image mode

 

 

 

 

 

 

 

 

 

 

 

 

[Format]

ASCII

ESC

m

nL

nH

d1 ... dk

 

 

Hex

1B

2A

m

nL

nH

d1 ... dk

 

 

Decimal

27

42

m

nL

nH

d1 ... dk

 

[Range]

[Default]

[Description]

m = 16, 17

0 ≤ nL ≤ 255

0 ≤ nH ≤ 3

0 ≤ d ≤ 255

k = (nL + nH × 256) × 2

None

Selects a bit-image mode using m for the number of dots specified by nL and nH, as follows:

 

 

Vertical Direction

Max. Number of Dots

Min. number of dots

m

 

 

 

 

 

Mode

Number of Dots

Receipt

Journal

Validation

in horizontal

 

 

 

 

 

 

 

16

9-dot single-density

9

108

108

248

2 half dots

 

 

 

 

 

 

 

17

9-dot double-density

9

216

216

495

1 half dot

 

 

 

 

 

 

 

 

m specifies the print mode of the bit image

 

nL and nH specify the number of dots of the bit image in the horizontal direction as (nL + nH × 256) dots

 

d indicates the bit-image data

 

k specifies the number of bit-image data

[Notes]

d indicates the bit-image data. Set a corresponding bit to 1 to print a dot or to 0 not to print a dot.

■ If bit-image data and character data are printed on a line, the bottom of the bit image is aligned to the baseline (the second dot from the bottom) of the built-in internal character.

■ If bit-image data input exceeds the number of dots to be printed on a line, the excess data and the number of dots of the bit image in the horizontal direction which is specified by nL and nH, are discarded. Then the printer performs the buffer-full process when the next data is input.

RP-U420

Bit-image commands ESC

Ver. 1.0 p. 38

Image 38
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