ESC/P

Last updated

ESC/P, short for Epson Standard Code for Printers and sometimes styled Escape/P, is a printer control language developed by Epson to control computer printers. It was mainly used in dot matrix printers and some inkjet printers, and is still widely used in many receipt thermal printers. During the era of dot matrix printers, it was also used by other manufacturers (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.

Contents

Derivation

ESC/P derives its name from the start of the escape sequences used, which start with the escape character ESC (ASCII code 27). As an example, ESC E will switch to printing in bold font, while 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 the Epson LQ series of dot matrix printers, even though ESC/P was introduced long before LQ printers.

Variants

There are several variants of ESC/P, as not all printers implement all commands.

Current printers

As of 2014, few modern/office/consumer non-Epson printers use ESC/P; instead most are driven through a standardized page description language, usually PCL or PostScript, or they use proprietary protocols such as Hardware Code Pages. [3]

Note many current clone thermal receipt printers still continue to use the ESC/POS command set.

All current Epson impact printers still support ESC/P , [4] [5] all current Epson receipt/thermal printers support ESC/POS and some Epson Stylus inkjets still seem to be using some variant of ESC/P. See the Gutenprint (Gimp Print) project for source code examples.

See also

Related Research Articles

<span class="mw-page-title-main">Printer (computing)</span> Computer peripheral that prints text or graphics

In computing, a printer is a peripheral machine which makes a persistent representation of graphics or text, usually on paper. While most output is human-readable, bar code printers are an example of an expanded use for printers. Different types of printers include 3D printers, inkjet printers, laser printers, and thermal printers.

In digital printing, a page description language (PDL) is a computer language that describes the appearance of a printed page in a higher level than an actual output bitmap. An overlapping term is printer control language, which includes Hewlett-Packard's Printer Command Language (PCL). PostScript is one of the most noted page description languages. The markup language adaptation of the PDL is the page description markup language.

<span class="mw-page-title-main">Dot matrix printing</span>

Dot matrix printing, sometimes called impact matrix printing, is a computer printing process in which ink is applied to a surface using a relatively low-resolution dot matrix for layout. Dot matrix printers typically use a print head that moves back and forth or in an up-and-down motion on the page and prints by impact, striking an ink-soaked cloth ribbon against the paper, much like the print mechanism on a typewriter or line printer. However, a dot matrix printer is able to print arbitrary patterns and not just specific characters.

<span class="mw-page-title-main">Inkjet printing</span> Type of computer printing

Inkjet printing is a type of computer printing that recreates a digital image by propelling droplets of ink onto paper and plastic substrates. Inkjet printers were the most commonly used type of printer in 2008, and range from small inexpensive consumer models to expensive professional machines. By 2019, laser printers outsold inkjet printers by nearly a 2:1 ratio, 9.6% vs 5.1% of all computer peripherals.

<span class="mw-page-title-main">Dot matrix</span>

A dot matrix is a 2-dimensional patterned array, used to represent characters, symbols and images. Most types of modern technology use dot matrices for display of information, including mobile phones, televisions, and printers. The system is also used in textiles with sewing, knitting and weaving.

<span class="mw-page-title-main">CUPS</span> Computer printing system

CUPS is a modular printing system for Unix-like computer operating systems which allows a computer to act as a print server. A computer running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer.

In computers, a printer driver or a print processor is a piece of software on a computer that converts the data to be printed to a format that a printer can understand. The purpose of printer drivers is to allow applications to do printing without being aware of the technical details of each printer model.

<span class="mw-page-title-main">Dot matrix printer</span> Computer printer popular in the 1970s and 1980s

A dot matrix printer is an impact printer that prints using a fixed number of pins or wires. Typically the pins or wires are arranged in one or several vertical columns. The pins strike an ink-coated ribbon and force contact between the ribbon and the paper, so that each pin makes a small dot on the paper. The combination of these dots forms a dot matrix image. They were also known as serial dot matrix printers.

<span class="mw-page-title-main">Epson</span> Japanese multinational electronics company

Seiko Epson Corporation, or simply known as Epson, is a Japanese multinational electronics company and one of the world's largest manufacturers of computer printers and information- and imaging-related equipment. Headquartered in Suwa, Nagano, Japan, the company has numerous subsidiaries worldwide and manufactures inkjet, dot matrix, thermal and laser printers for consumer, business and industrial use, scanners, laptop and desktop computers, video projectors, watches, point of sale systems, robots and industrial automation equipment, semiconductor devices, crystal oscillators, sensing systems and other associated electronic components. The company has developed as one of manufacturing and research & development companies of the former Seiko Group, a name traditionally known for manufacturing Seiko timepieces since its founding. Seiko Epson was one of the major companies in the Seiko Group, but is neither a subsidiary nor an affiliate of Seiko Group Corporation.

Gutenprint is a collection of free-software printer drivers for use with UNIX spooling systems, such as CUPS, lpr and LPRng. These drivers provide printing services for Unix-like systems, RISC OS and Haiku.

Printer Command Language, more commonly referred to as PCL, is a page description language (PDL) developed by Hewlett-Packard as a printer protocol and has become a de facto industry standard. Originally developed for early inkjet printers in 1984, PCL has been released in varying levels for thermal, matrix, and page printers. HP-GL/2 and PJL are supported by later versions of PCL.

Intelligent Printer Data Stream (IPDS) is InfoPrint Solution Company's Systems Application Architecture host-to-printer data stream for Advanced Function Presentation subsystems. It provides an attachment-independent interface for controlling and managing all points addressable (APA) printers that allows the presentation of pages containing an architecturally unlimited mixture of different data types, including text, image, graphics, bar code and object container. It is used by a variety of InfoPrint and OEM print servers that drive all points addressable (APA) page printers. Generally these printers are at the medium to high end of the print speed and volume spectrum.

<span class="mw-page-title-main">Ink cartridge</span> Inkjet printer component

An ink cartridge or inkjet cartridge is a component of an inkjet printer that contains the ink that is deposited onto paper during printing.

UniDrv is a GDI-based Microsoft Windows universal printer driver and architecture for non-PostScript printers. It is used to simplify driver development of non-PostScript printers for printer manufacturers. Unidrv allows the creation of a printer-specific minidriver in the form of a GPD file, similar to a PPD file, which is much simpler than kernel mode driver development. Unidrv was introduced in Windows 2000 and replaced the Raster Device Driver (RASDD) interface used in Windows NT 4.0 and earlier versions.

Personal Printer Data Stream is a general name for a family of page description language used by IBM printers, which includes all Proprinter, Quietwriter, Quickwriter, LaserPrinter 4019, and LaserPrinter 4029 commands.

<span class="mw-page-title-main">Foomatic</span>

Foomatic is a configurable printing filter. It uses PPD files as configuration to generate appropriate output for a given printer. It is spooler independent which means it can be used with Common Unix Printing System (CUPS), LPRng and others. It uses Ghostscript in the background, using options according to the PPD file of the printer. Currently it is developed by the OpenPrinting workgroup of the Linux Foundation.

<span class="mw-page-title-main">IBM Printer Model 4</span>

The IBM Printer Model 4 was a dot-matrix point-of-sale printer launched in 1991. It was the direct relative of the IBM Printer Model 3. It and its successor, the IBM 4610, nowadays, it's really few still in use by retailers. The printer was discontinued in 2005.

Desktop is a WYSIWYG word processor for computers Sinclair ZX Spectrum and compatible. It is a word processor of Czech origin, its author is Tomáš Vilím who used the name Universum as his author name. Distributor of the program was Proxima - Software.

In computing, a hardware code page (HWCP) refers to a code page supported natively by a hardware device such as a display adapter or printer. The glyphs to present the characters are stored in the alphanumeric character generator's resident read-only memory and are thus not user-changeable. They are available for use by the system without having to load any font definitions into the device first. Startup messages issued by a PC's System BIOS or displayed by an operating system before initializing its own code page switching logic and font management and before switching to graphics mode are displayed in a computer's default hardware code page.

Near letter-quality (NLQ) printing is a process where dot matrix printers produce high-quality text by using multiple passes to produce higher dot density. The tradeoff for the improved print quality is reduced printing speed. Software can also be used to produce this effect. The term was coined in the 1980s to distinguish NLQ printing from true letter-quality printing, as produced by a printer based on traditional typewriter technology such as a daisy wheel, or by a laser printer.

References

  1. "ESC/P-R Library - Innovation - Epson". Global.epson.com. Archived from the original on 4 January 2019. Retrieved 3 January 2019.
  2. "FAQ about ESC/POS" (PDF). Seiko Epson Corporation.
  3. "Driver: eplaser-jp - OpenPrinting - The Linux Foundation". Openprinting.org. Retrieved 3 January 2019.
  4. "FX-890 Impact Printer". Epson America, Inc. Archived from the original on 8 July 2015. Retrieved 3 March 2014. Printer Language: Epson ESC / P, IBM PPDS, Okidata Microline (FX-890 Okidata Mode only)
  5. "LQ-590 Impact Printer". Epson America, Inc. Archived from the original on 8 August 2013. Retrieved 3 March 2014. Printer Language: Epson ESC / P3, IBM PPDS