Main Page | See live article | Alphabetical index

PCL

In computing, PCL or Printer Control Language (Printer Command Language according to Hewlett Packard) is a language to control computer printers, introduced by Hewlett Packard in 1980. Several new versions have been published in the meantime and the language has been adopted as a de facto standard by many other printer manufacturers.

The sequence of PCL commands needed to produce a certain printed page is typically produced by the printer driver, a piece of software belonging to the operating system or application program that does the printing. This command sequence is then sent to the printer which interprets it and produces the page.

In PCL, commands exist to choose a certain font (which is stored inside the printer), to position the cursor on the page, to transmit a raster image to the printer, etc. These commands take the form of escape sequences: strings of characters that start with the escape character. Newer versions of PCL have an escape sequence to switch on HP-GL mode, which allows for the transmission of vector graphics.

The complexity of PCL is somewhere between ASCII (which only allows the simplest printer control, such as carriage return and line feed) and PostScript (which is a fully featured programming language and requires a sophisticated interpreter inside the printer).

External links