printer codes

1
PRINTER CODES FOR EPSON DOT MATRIX PRINTERS Page length in inches \e\0x43\0x00\0xNN where NN = page length in inches, hexadecimal e.g. \e\0x43\0x00\0x0B for 11 inches \e\0x43\0x00\0x0C for 12 inches Page length in no. of lines \e\0x43\0xNN where NN = no. of lines per page, hexadecimal e.g. \e\0x43\0x2C where 2C =44 lines per page Lines Per Inch \e\0x32 – 6 LPI Characters per Inch \e\0x50 – 10 CPI \e\0x4D – 12 CPI \e\0x67 – 15 CPI Condensed Mode \e\0x12 Condensed mode combined with 10 CPI will give you 17 CPI Condensed mode combined with 12 CPI will give you 20 CPI Draft Mode \e\0x78\0x00 – will force draft mode even if printer was set to use other fonts

Upload: tob3rts

Post on 21-Oct-2015

5 views

Category:

Documents


0 download

DESCRIPTION

test

TRANSCRIPT

Page 1: Printer Codes

PRINTER CODES FOR EPSON DOT MATRIX PRINTERS

Page length in inches\e\0x43\0x00\0xNN where NN = page length in inches, hexadecimal e.g. \e\0x43\0x00\0x0B for 11 inches \e\0x43\0x00\0x0C for 12 inches

Page length in no. of lines\e\0x43\0xNN where NN = no. of lines per page, hexadecimale.g. \e\0x43\0x2C where 2C =44 lines per page

Lines Per Inch\e\0x32 – 6 LPI

Characters per Inch\e\0x50 – 10 CPI\e\0x4D – 12 CPI\e\0x67 – 15 CPI

Condensed Mode\e\0x12Condensed mode combined with 10 CPI will give you 17 CPICondensed mode combined with 12 CPI will give you 20 CPI

Draft Mode\e\0x78\0x00 – will force draft mode even if printer was set to use other fonts