- ESC/P
ESC/P (Epson Standard Code for Printers) is a command language developed by
Epson to controlcomputer printer s. It was mainly used indot matrix printers and someinkjet printer s. During the era of dot matrix printers, it was also used by other maufacturers (e.g.NEC ), sometimes in modified form. At the time, it was a popular mechanism to add formatting to printed text, and was widely supported in software.Derivation
ESC/P derives its name from the start of the
escape sequences used, which start with theescape character ESC (ASCII code 27). As an example, "ESC E" will switch to printing in bold font, "ESC F" switches off bold printing. The ESC/P control codes are sometimes also referred to as Epson LQ codes, as they were made popular by theEpson LQ series ofdot matrix printer s.Variants
There are several variants of ESC/P, as not all printers implement all commands.Epson refers to a more recent variant of ESC/P as ESC/P 2. ESC/P 2 is
backward compatible to ESC/P, but adds commands for new printer features such as scalable fonts and enhanced graphics printing.Modern printers
Modern printers no longer use ESC/P; instead they are driven through a standardized
page description language , usually PCL orPostScript , or they useproprietary protocols.ee also
*
Printer driver External links
* [http://www.epson.co.uk/support/manuals/pdf/ESCP/Part_1.pdf Epson Escape/P Reference Manual]
* [http://www.epson.co.uk/support/manuals/pdf/ESCP/Part_2.pdf Epson Escape/P 2 Reference Manual]
* [http://lprng.sourceforge.net/DISTRIB/RESOURCES/PPD/epson.htm List of Epson FX printer codes]
Wikimedia Foundation. 2010.