04年的猴是什么命| 什么样的高山| 置之死地而后生是什么意思| 输血前常规检查是什么| 脚指甲盖凹凸不平是什么原因| 什么是商业保险| 曾舜晞是什么星座| 前胸后背疼是什么病| 万宝龙手表什么档次| 馥字五行属什么| pouch什么意思| 什么水果利尿效果最好| 什么是情感障碍| 肾窦分离是什么意思| 尾椎骨痛挂什么科| 6月15日是什么日子| 白羊男喜欢什么样的女生| 母猪上树是什么生肖| 肝火旺盛吃什么中成药| 枸杞和山楂泡水喝有什么功效| 叶酸片什么时候吃最好| 吃秋葵有什么禁忌| 什么是眩晕症| 二代身份证是什么意思| 什么止咳效果最好最快| 肛瘘不治疗有什么后果| 银色五行属什么| 皮肤癣是什么原因造成的| 玉皇大帝叫什么名字| wrong什么意思| 处女座男和什么星座最配| 低密度脂蛋白偏低是什么意思| 花生死苗烂根用什么药| 子宫内膜薄有什么影响| 家父是什么意思| 丁羟甲苯是什么| 为什么尿黄| 检查胸部应该挂什么科| 品规是什么意思| 血沉高是什么原因| 咳嗽干呕是什么原因| 夏天吃什么最好| 丹毒是什么| 面是什么做的| 人为什么要吃肉| 头皮屑大块是什么原因| 微信附近的人都是些什么人| 疝气是什么病怎样治疗| 什么泉水| 大便有凹槽是什么原因| 烧心是什么原因引起的| 吃银耳有什么好处和坏处| 井底之蛙的寓意是什么| 去韩国需要办理什么手续| 蚕豆病不能吃什么药| 牡丹是什么植物| 女为念什么| 梦到开车是什么意思| 老公梦见蛇是什么预兆| 团购是什么意思| 化学性肝损伤是什么意思| 多吃核桃有什么好处和坏处| 什么是幽门螺旋杆菌| 虾仁不能和什么食物一起吃| 圆脸适合什么镜框| 盆腔积液有什么症状有哪些| 怀孕失眠是什么原因| kcal是什么意思| 小狗拉稀 吃什么药| 高血压属于什么系统疾病| 三叉神经痛有什么症状| 长命百岁是什么意思| 晒伤擦什么药| 手淫是什么| 地笼捕河虾用什么诱饵| 非分之想什么意思| 1999年出生属什么生肖| 为什么会得肠梗阻| 媱字五行属什么| 腰扭伤用什么药最好| 定坤丹什么时候吃最好| 曹休和曹操什么关系| 什么体质容易怀双胞胎| 优对什么| 人体第一道防线是什么| 硬不起吃什么药| 为什么会得焦虑症| 肺气阴两虚吃什么中成药| 汉武帝叫什么名字| 蒟蒻是什么东西| 补肝血吃什么药| 夫妻相是什么意思| 肾功能不好吃什么药| 肝囊肿饮食要注意什么| 化骨龙是什么意思| 10月13是什么星座| 福利姬什么意思| 什么话是世界通用的| 世界上最大的蛇是什么蛇| 月经前几天是什么期| 表哥的孩子叫我什么| 看乳腺结节挂什么科| 预测是什么意思| 羊冲什么生肖| 什么是黄道吉日| 大学记过处分有什么影响| 着床是什么意思| 妊娠什么意思| 12.29是什么星座| 什么叫人均可支配收入| 蚕屎做枕头有什么好处| 淋巴吃什么药可以消除| 怀孕的脉搏和正常脉搏有什么区别| 脚背抽筋是什么原因引起的| 什么是苔藓皮肤病| 感染幽门螺旋杆菌会出现什么症状| 石膏是什么| 成双成对是什么数字| 黑马是什么意思| 胃热吃什么食物好| 酸菜鱼用什么鱼做好吃| 闭口是什么样子图片| 小孩缺铁有什么症状| 老是想吐是什么原因| ecco什么牌子| 什么病不能吃绿豆| 男人时间短吃什么药好| 长鸡眼是什么原因| 限量版是什么意思| 月经来吃什么水果好| ca是什么意思| 病理性骨折是什么意思| 什么叫高血压| 什么长什么短| 医院体检挂什么科| 知秋是什么意思| 长智齿牙龈肿痛吃什么药| 笑点低是什么意思| 心脏跳得快是什么原因| 打擦边球是什么意思| 康复科是主要治疗什么| 本加一笔是什么字| 头晕眼花是什么原因| 白内障是什么症状| 左腰疼痛是什么原因男性| 濯清涟而不妖的濯是什么意思| 产妇能吃什么水果| 感冒头疼是什么原因| 七岁属什么生肖| 胃湿热吃什么药| 见人说人话见鬼说鬼话是什么意思| 谷氨酰转肽酶是指什么| 1978年属什么的| jordan是什么牌子| 卡介疫苗是预防什么的| 什么叫双向情感障碍| b型血的人是什么性格| 甲减和甲亢有什么区别| 产品批号什么意思| 立冬是什么意思| 大米为什么会生虫| 通情达理是什么意思| tf口红是什么牌子| 耵聍栓塞是什么意思| 炖牛肉不放什么调料| 市宣传部长是什么级别| 什么的雨丝| 梅肉是什么肉| 人参适合什么人吃| 夏至未至什么意思| 疱疹吃什么药好| 尾巴骨疼挂什么科| 观赏是什么意思| 水泡长什么样子图片| 减肥餐吃什么| 宝宝贫血有什么危害| 义子是什么意思| 种什么药材最快又值钱| 阴道里面瘙痒是什么原因| 刻舟求剑是什么生肖| 大理寺卿是什么职位| 血热吃什么| 男人勃不起是什么原因造成的| 02属什么| 摄影三要素是什么| 红煞是什么意思| 什么是脂肪瘤| 益母草长什么样子图片| 转氨酶高是什么病| 牡丹什么意思| 足踝外科主要看什么| 大惊小怪是什么意思| 什么动物寿命最短| 咳嗽吃什么药效果好| 感冒挂号挂什么科| 出挑是什么意思| bj是什么| 甲沟炎是什么样子的| 荨麻疹能吃什么水果| 汗水多吃什么药| 寓教于乐什么意思| 石敢当是什么神| 什么是射精| 什么叫浮小麦| 忽必烈和成吉思汗是什么关系| 乾卦代表什么| 滑囊炎吃什么药| 亲子鉴定需要什么| 蛮夷是什么意思| 药流之后需要注意什么| 喝什么牌子的水最健康| 什么人容易得精神病| 产前筛查是检查什么| 吃什么醒酒| 1972年属什么| 检查肝肾功能挂什么科| 师长是什么意思| 婴儿蓝是什么颜色| 出虚汗是什么原因引起的怎么调理| 讲信修什么| 雅漾属于什么档次| 胃不消化吃什么药| 梦见骨灰盒是什么征兆| loaf是什么意思| 一票制什么意思| 怀不上孕做什么检查| range rover是什么车| 一月19日是什么星座| 肝回声稍密是什么意思| 除氯是什么意思| 孕检nt主要检查什么| 装修公司名字取什么好| 泡桐是什么| 员级职称是什么意思| 1932年属什么| 男人吃什么补身体| 阴茎不硬吃什么药| 脚心发痒是什么原因| 水饮是什么意思| 晚上三点是什么时辰| 花木兰是什么朝代| 大什么什么手| 什么是骨折| 市宣传部长是什么级别| 九一年属什么生肖| 吃了兔子肉不能吃什么| 五月十六日是什么星座| 什么酒适合女生喝| 郑州有什么好玩的| 看破红尘下一句是什么| 为什么会心肌缺血| 秦始皇陵为什么不敢挖| 宁五行属什么| 嗓子疼吃什么药好得快| 粗枝大叶是什么意思| 什么样的肚子疼是癌| 四季常青财运旺是什么生肖| 少一个肾有什么影响| 西药是什么药| 糖尿病人喝什么茶最好| 撸管是什么| 低血糖要吃什么| 低血压是什么原因造成的| 涌泉穴在什么位置| 百度Jump to content

29个一线省会城市拥堵排名出炉 福州位列22名

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by DigitalIceAge (talk | contribs) at 22:04, 4 August 2025 (External links: {{Hewlett-Packard software}}). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Hewlett-Packard Graphics Language
Internet media type
application/vnd.hp-HPGL
百度 改革开放以后,中国城市化和城市现代化建设加快,城市问题日益突出,相关学科的城市研究也空前活跃起来。

HP-GL, short for Hewlett-Packard Graphics Language and often written as HPGL, is a printer control language created by Hewlett-Packard (HP). HP-GL was the primary printer control language used by HP plotters.[1] It was introduced with the plotter HP-9872 in 1977 and became a standard for almost all plotters. Hewlett-Packard's printers also usually support HP-GL/2 in addition to PCL.[2]

Design

[edit]

The language is formed from a series of two letter codes (mnemonics), 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 absolute coordinates 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.

When first introduced, HP-GL contained the following commands:

Command Meaning
Vector Group
PA x,y{,x,y{...}} Plot absolute [i]
PR x,y{,x,y{....}} Plot relative [i]
PD Pen down
PU Pen up
Character Group
CA n Designate alternate character set n [i]
CP spaces, lines Character plot [d]
CS m Designate standard set m [i]
DI run, rise Absolute direction [d]
DR run, rise Relative direction [d]
LB c, ..., c Label ASCII string [c]
SA Select alternate character set
SI wide, high Absolute character size [d]
SL tan θ Absolute character slant (from vertical) [d]
SR wide, high Relative character size [d]
SS Select standard character set
UC x, y, pen{, ...} User defined character [i]
Line Type Group
LT t{,l} Designate line type t and length l [d]
SM c Symbol mode [c]
SP n Select pen [i]
VA Adaptive velocity
VN Normal velocity
VS v{,n} Select velocity v for pen n [i]
Digitize Group
DC Digitize clear
DP Digitize point
OC Output current position and pen status
OD Output digitized point and pen status
Axes
TL tp{,tn} Tick length [d]
XT X axis tick
YT Y axis tick
Set-Up Group
IP p1x,p1y,p2x,p2y Input p1 and p2 [i]
IW xlo,ylo,xhi,yhi Input window [i]
OP Output p1 and p2 [i]
Configuration Status
AP Automatic pen pickup [i]
DF Set default values
IM e{,s{,p}} Input e, s and p masks [i]
IN Initialize
OE Output error [i]
OS Output status [i]
Commands added (when?)
SI w,h set character width and height

Formats:

  • [i]: integer formats between -32767 and 32768. No decimal point.
  • [d]: decimal format between +/- 127.9999. Optional decimal point.
  • [c]: ASCII character

Examples

[edit]

Typical HP-GL files start with a few setup commands, followed by a long string of graphics commands. The file was in ASCII (text file) format, for instance:

An example HP-GL file
Command Meaning
IN; initialize, start a plotting job
IP; set the scaling points (P1 and P2) to their default positions
SP1; select pen 1
PU0,0; lift Pen Up and move to starting point for next action
PD100,0,100,100,0,100,0,0; put Pen Down and move to the following locations (draw a box around the page)
PU50,50; Pen Up and move to X,Y coordinates 50,50
CI25; draw a circle with radius 25
SS; select the standard character set
DT*,1; set the text delimiter to the asterisk, and do not 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 the HP 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

[edit]

The original HP-GL language did 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 Hewlett-Packard Graphics Language/2 aka 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 file format was defined that allowed for smaller files and shorter file transfer times, and the minimal resolution was reduced.

Examples of HP-GL/2 commands
Command Meaning
NPx number of pens; x=1..256
PCx,r,g,b pen color; x=pen, r=red, g=green, b=blue, 0..255
PWw,x pen width; w=pen width in mm with decimal point, x=pen

AGL

[edit]

HP-GL is related to AGL (A Graphics Language), an extension of the BASIC programming language. AGL was implemented on Hewlett-Packard minicomputers to simplify controlling a plotter. AGL commands describe the desired graphics plotting function, which the computer relays as several HP-GL instructions to the plotter.

See also

[edit]
  • DMPL, another plotter language by Houston Instruments
  • Gerber format is another plot-description format
  • Logo, a computer language with drawing commands similar to HP-GL

References

[edit]
  1. ^ Daniels, Thomas H.; Hennessee, Larry W. (September 1977). "Easy-to-Use Interface Language Controls HP-IB Plotter" (PDF). Hewlett-Packard Journal. 29 (1): 5. Archived (PDF) from the original on 2025-08-14. Retrieved 2025-08-14.
  2. ^ PCL 5 Printer Language Technical Reference Manual (1st ed.). Hewlett-Packard Company. September 1990. HP Part No. 33459-90903. (NB. Chapter 15-21 also contain a description of HP-GL/2.)

Further reading

[edit]
[edit]
得理不饶人什么意思 2028年是什么年 口腔溃疡吃什么好得快 怀孕该吃什么补充营养 属猴和什么属相相冲
粿是什么意思 三刀六洞什么意思 精神食粮是什么意思 什么是免疫组化检查 羊绒和羊毛有什么区别
梅毒和艾滋病有什么区别 决明子是什么 五指毛桃不能和什么一起吃 李连杰什么病 儿童办理护照需要什么材料
南京立秋吃什么 什么时候 高兴的动物是什么生肖 什么因果才会有双胞胎 肚子疼拉肚子挂什么科
芥末是什么植物hcv9jop7ns5r.cn 女人一般什么时候容易怀孕hcv9jop5ns6r.cn 什么书什么画hanqikai.com 什么是菊粉youbangsi.com 蓝风铃香水什么味道hcv8jop7ns4r.cn
低分化腺癌是什么意思hcv9jop5ns4r.cn ect是什么hcv8jop7ns4r.cn 什么是滑膜炎hcv8jop9ns9r.cn 哺乳期感冒了能吃什么药hcv9jop3ns1r.cn sd值是什么意思hcv7jop4ns5r.cn
中暑是什么感觉hcv8jop6ns5r.cn 清五行属什么hcv8jop4ns2r.cn 知了为什么会叫hcv8jop9ns0r.cn 枸杞搭配什么喝最好1949doufunao.com 包皮龟头炎用什么药hcv8jop7ns0r.cn
鼻头发黑是什么原因hcv9jop4ns8r.cn 吃什么补营养最快hcv9jop6ns0r.cn 腰上长痘痘是什么原因adwl56.com 前额头疼是什么原因引起的hcv9jop3ns4r.cn 办狗证需要什么资料zsyouku.com
百度