Consultor Eletrônico



Kbase P63552: What are the control codes for the EPSON DFX-8500 printer?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   20/01/2004
Status: Unverified

GOAL:

What are the control codes for the EPSON DFX-8500 printer?

FIX:

The following EPSON documentation EPSON 9-Pin Dot Matrix Printer DFX-8500 User's Guide and EPSON ESC/P Reference Manual

documet the EPSON DFX-8500 printer control codes and the syntax required to control this printer. Examples:

To set page length to 51 lines:

PUT CONTROL CHR(27) + CHR(67) + "51".

To set page length to 66 lines:

PUT CONTROL CHR(27) + CHR(67) + "66".

To set the pitch to 10 CPI:

PUT CONTROL CHR(27) + CHR(80).

To set the pitch to 12 CPI:

PUT CONTROL CHR(27) + CHR(77).
PUT CONTROL CHR(27) + CHR(77).