Related articles
Edit |
Discuss Article
HPGLHPGL, sometimes hyphenated as HP-GL, is the primary printer control language used by Hewlett-Packard plotters. The name is an acronym for Hewlett-Packard Graphics Language. It later became a standard for almost all plotters.
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:
An example HPGL file
| Command | Meaning |
| IN; | initialize, start a plotting job |
| IP; | set the initial point (origin), in this case the default 0,0 |
| SC0,100,0,100; | set the scale so the page is 0 to 100 in both X and Y directions |
| SP1; | select pen 1 |
| PD100,0,100,100,0,100,0,0; | put down the pen and move to the following locations (draw a box around the page) |
| PU50,50; | lift the pen and move to 50,50 |
| CI25; | draw a circle with radius 25 |
| SS; | select the standard font |
| DT*,1; | set the text delimiter to the asterisk, and don't print them (the 1, meaning "true") |
| PU20,80; | lift the pen and move to 20,80 |
| LBHello World*; | draw a label |
The coordinate system was based on the smallest units one of their plotters could support, and was set to 0.025mm. The coordinate space was positive or negative floating point numbers, specifically + or - 230.
Links:
- Hewlett Packard Graphics Language Commands
Source | Copyright
|
 |
 |
 |
Webmasters: Add your website here:
Readers: Edit |
Discuss Listings
DraftView Direct viewing of Computervision CADDS, Personal Designer, AutoCAD DWG, DXF, HPGL, CALS, CGM and other file formats. http://www.draftware.com/
Actify, Inc. The Spinfire 3D CAD viewer allows users to view, share, dimension, cross-section, and annotate 3D files from most common formats. http://www.actify.com/
Preview PostScript viewer and converter for Windows. http://www.lib-sys.com/
Pangaea CAD Solutions Gives MicroStation or AutoCad uses the ability to view, edit and redline your CAD files, .DGN .DWG, with support for image fils. http://www.pcscad.com/
Trix DrawingCenter Viewing, mark up, measurement and printer controls for DWG, DXF, HPGL and CalComp vector files plus over fifty raster file formats. http://www.trixsystems.com/dcenter.html
Slick for Windows View and print a large number of vector and raster file formats. Includes raster conversion, redlining, and database for file notes and tracking. http://www.slickwin.com/
IC CAD A simple program for viewing and printing CAD files from the AutoCAD and Microstation formats. http://www.iccad.ca/
PloView Displays HPGL/HPGL2 graphic files, with output to printers and plotters, and PDF, DXF, TIFF, JPEG, and BITMAP files. Also allows text search and measurement of distances. http://homepage2.nifty.com/ploview/ehp.htm
equivaQ Software A HP-HL/2 plot filew viewer and print queue manager for Windows, that also exports data to several other formats. http://www.equivaq.com/
NavisWorks, Ltd. NavisWorks is a design review solution that allows to view and coordinate 3D models. http://www.navisworks.com/
Lx-Viewer An Open Source program that allows to open, view, print and convert DWG or DXF files up to version 2002 on the Linux platform. http://lx-viewer.sourceforge.net/
Cimmetry Systems Inc. Develops the AutoVue family of programs to view and markup 2D/3D CAD and office formats. A thin/thick-client CAD viewer integrates with ERP, PLM, and document management systems. http://www.cimmetry.com/
Dr. Dwg., Inc. Suite of products for viewing AutoCAD drawings online and offline, with redlining and hyperlink capabilities. http://www.drdwg.com/
Cyco Software AutoManager View - view, print and compare all your CAD and office documents in a single environment. http://www.cyco.com/amview/index.html
AEC VIZ A 3D DXF/DWG viewer for the AEC market, offering cross-sections, shadow calculation, and real-time manipulation of large models. http://www.aecviz.com/
Informative Graphics Corporation Viewing and markup software for a variety of document formats, drawings and images, including Java-based Web viewing, markup and collaboration. http://www.infograph.com/
CADlook File viewer, inspector, and translator software for IGES, STEP, VDA-FS, and NC G-code data. http://www.cadlook.com/
CADViewer Pro A viewer for AutoCAD Drawing Web Format (DWF) and SVF, for redlining CAD drawings on any client platform via a web and Java based interface. http://www.cadviewer.com/
Software Companions Viewers and converters for HPGL, Gerber, and Excellon files, with an ActiveX Control version. http://www.softwarecompanions.com/
Allegria Software Programs for review, comparison and markup of a variety of CAD formats, online and standalone, as well as graphics file conversion, and plot management. http://www.allegria.com/
C2C Technologies, Inc. offers the 3D CAD viewing software SolidView, supporting the most common geometry file formats. http://www.cadcommunications.com/
CAD Viewer Viewer that supports all DXF/DWG, HPGL, HPGL/2, JPG, and TIF files, even within ZIP archives, and allows to print them. http://www.guthcad.com.au/viewer.htm
Etecad File Manager Software for managing CAD and Image file archives, with directory thumbnail preview, viewing and printing of popoular file formats. http://www.etecad.com/
IGES Toolbox A CAD file viewer that reads, displays, and prints IGES format data files. http://www.igestoolbox.com/
FPLOT A HPGL/2 interpreter software, that can be used to view and print plot files, or as a plotter driver for other programs. http://www.fplot.com/
Materialise Software: Magics Communicator On-line conferencing over the internet, with 3D CAD visualisation, measuring, annotation, and 3D CAD file sharing in IGES, VRML, VDA and 3D DXF files formats http://www.materialise.com/mt.asp?mp=cm_main
Volo View Autodesk's web-enabled review and markup tool for engineering data, working with the DWG, DXF, DWF, and Inventor formats. http://www.autodesk.com/voloview
GaViewer A sample application of a Java applet displaying vector graphics on web pages, based on DXF/DWG files or HPGL plots uploaded by the user. http://pszwed.ia.agh.edu.pl/gavgenserv/
Spicer Corporation Viewing and markup software for 2D/3D CAD, raster, and office file formats, with API for integration other software systems. http://www.spicer.com/
Rasterex Multi format viewers with markup and collaboration facilities, raster editing software, and related developer tools. http://www.rasterex.com/
iTwinView An online service for viewing CAD files in your web browser through a Java applet, as well as software for file viewing and conversion. http://www.cad2dtp.com/
|