HPGL

HPGL

HPGL, sometimes hyphenated as "HP-GL", is the primary printer control language used by Hewlett-Packard plotters. The name is an initialism for "Hewlett-Packard Graphics Language". It later became a standard for almost all plotters. Hewlett-Packard's printers also usually support HPGL in addition to PCL.

The language is formed from a series of two letter codes, followed by optional parameters. For instance an arc can be drawn on a page by sending the string:

AA100,100,50;

This means "Arc Absolute", and the parameters place the center of the arc at 100,100 on the page, with a starting angle of 50 degrees measured counter-clockwise. A fourth optional parameter (not used here) specifies how far the arc continues, and defaults to 5 degrees.

Typical HPGL files started with a few setup commands, followed by a long string of graphics commands. For instance:

:

The coordinate system was based on the smallest units one of their plotters could support, and was set to 25 µm (i.e. 40 units per millimeter, 1016 per inch).The coordinate space was positive or negative floating point numbers, specifically ±230.

HP-GL/2

The original HP/GL-Language does not support definition of line width, as this parameter was determined by the pens loaded into the plotter. With the advent of the first inkjet plotters, line width for the "pens" specified within the HP/GL-files had to be set at the printer so it would know what line width to print for each pen, a cumbersome and error-prone process. With HP/GL-2, definition of line width was introduced into the language and allowed for elimination of this step. Also, among other improvements a binary format was defined that allowed for smaller files and shorter file transfer times, and the minimal resoution was reduced.

External links

* [http://www.irfanview.com/ Irfanview Homepage] A free viewing solution that supports HPGL and allows converson to other file types.
* [http://www.sxlist.com/techref/language/hpgl/commands.htm Hewlett Packard Graphics Language Commands]
* [http://cstep.luberth.com/hpgl.htm HPGL Overview]
* [http://hpgs.berlios.de/ Converter from HPGL (LGPL Licence) ]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • HPGL — (иногда HP GL) является основным языком управления принтерами, используемым плоттерами Hewlett Packard. Его название представляет собой аббревиатуру Hewlett Packard Graphics Language. В данный момент он является стандартным почти для всех… …   Википедия

  • HPGL —   [Abk. für Hewlett Packard Graphics Language, dt. »Grafik(beschreibungs)sprache von Hewlett Packard«], eine von der Firma Hewlett Packard entwickelte Beschreibungssprache für Vektorgrafiken zur Ansteuerung von Plottern. Mithilfe von Emulationen… …   Universal-Lexikon

  • HPGL — El HPGL (Hewlett Packard Graphics Language) es en lenguaje de descripción de gráficos, diseñado originariamente para el control de Plotters (trazadores gráficos). El HPGL tiene una segunda versión, el HPGL/2, con más instrucciones y que funciona… …   Wikipedia Español

  • HPGL — Hewlett Packard Graphic Language Hewlett Packard Graphic Language, plus connu sous le nom de HPGL ou HP GL est un protocole d impression informatique (développé par HP) qui est devenu un standard de l industrie. Il était à l origine destiné aux… …   Wikipédia en Français

  • HPGL — Die Hewlett Packard Graphic Language (HP GL) ist eine von Hewlett Packard entwickelte Seitenbeschreibungssprache zur Ansteuerung von Stiftplottern. Andere Plotterhersteller haben die Sprache HP GL zur Ansteuerung ihrer eigenen Plotter übernommen …   Deutsch Wikipedia

  • HPGL — Human Population Genetics Laboratory (Medical » Human Genome) * Hewlett Packard Graphical Language (Computing » General) * Vector graphics (plotter file) (Hewlett Packard Graphics Language) (Computing » File Extensions) …   Abbreviations dictionary

  • HPGL — Hewlett Packard graphic language …   Medical dictionary

  • HPGL — Hewlett Packard Graphics Language Kommandoset zur Plotter Ansteuerung …   Acronyms

  • HPGL — ● ►en tm.? sg. ►TYPFICH►TM►LANG Hewlett Packard Graphic Language. Langage de description de page de HP. Les fichiers associés ont l extension HGL …   Dictionnaire d'informatique francophone

  • HPGL — Hewlett Packard Graphics Language Kommandoset zur Plotter Ansteuerung …   Acronyms von A bis Z

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”