舌系带长有什么影响吗| 故步自封是什么意思| 鸡眼和疣有什么区别| 大姨妈吃什么| 暖巢早衰是什么原因| 琪五行属性是什么| 1985年属牛是什么命| 隽读什么| 系带割掉了有什么影响| 吃六味地黄丸有什么好处| 螺旋杆菌感染吃什么药| 晟怎么读音是什么| 梦见鸡啄我是什么意思| 什么人不洗澡| 天蝎座是什么象| 榴莲什么季节吃最好| 乌托邦什么意思| 成都市花是什么花| 阿咖酚散是什么| 口干口苦吃什么药最好| 蝉蜕有什么功效| ro什么意思| 儿童c反应蛋白高说明什么| 毛笔是用什么毛做的| 十月七号什么星座| 天井是什么| pc肌是什么| 蝙蝠长什么样子图片| 北京是我国的什么中心| 子非鱼什么意思| 连云港有什么好吃的| 脑出血是什么原因造成的| 什么是霉菌| 印泥用什么能洗掉| 胆囊炎输液用什么药| 你说什么| 十周年是什么婚| 东施效颦的意思是什么| 秋天有什么花| 尿是红色的是什么原因| 豆浆不能和什么一起吃| 尿路感染吃什么消炎药| 花胶是什么鱼的鱼肚| 应无所住什么意思| 炖排骨放什么调料| 天蝎座是什么星座| 黄腔是什么意思| 身体缺钾吃什么药| 安全监察是一种带有什么的监督| 率性是什么意思| 吃了发芽的土豆会有什么症状| 93年是什么命| 韩字五行属什么| 助产学出来是干什么的| 头发秃一块是什么原因| 尿路感染看什么科室| 处女和什么座最配对| 素颜霜是什么| 血红蛋白偏高说明了什么| 一什么羊| 四不像长什么样| 六个口是什么字| 军用水壶为什么是铝的| 肝内低密度灶是什么意思| 吃什么补阴虚最好| 房颤挂什么科| 单从属于什么茶| 如字五行属什么| 环孢素是什么药| 醉酒当歌什么意思| 龟头敏感吃什么药| 为什么会突然长痣| 牙齿松动吃什么药最好| 相爱相杀是什么意思| 12月生日是什么星座| 家政是什么工作| 湄公鱼是什么鱼| 三月十七是什么星座| 钢笔刻字刻什么好| 为什么喉咙痛| 聚乙二醇是什么| 定增股票是什么意思| 胆固醇高是什么引起的| 幽门螺旋杆菌用什么药治疗| 什么是马甲线| 叶酸不能和什么一起吃| 打狂犬疫苗不能吃什么食物| 微信附近的人都是些什么人| 发烧酒精擦什么部位| 梦见自己离婚是什么预兆| 升血小板吃什么药| 什么是芝士| 五光十色是什么生肖| 头发染什么颜色显皮肤白显年轻| 丝瓜是什么| IA是什么| 非萎缩性胃炎吃什么药| 维c之王是什么水果| 什么是强迫症有哪些表现| 左侧肋骨下面是什么器官| 02年的属什么| 甘油三酯高吃什么能降下来| 大胯疼是什么原因引起| 下巴下面长痘痘是什么原因| 梦见着火了是什么征兆| art是什么意思| 柠檬有什么功效和作用| 肝胆相照是什么生肖| fashion是什么意思| 食物不耐受是什么意思| 流口水是什么病| 有什么病| 梦见车掉水里了什么征兆| cartoon什么意思| 一路卷风迎大年是什么生肖| 1997属什么| 下馆子什么意思| 仰角是什么意思| 胸痛是什么原因导致的| carnival手表什么牌子| 藿香正气水有什么用| 小孩子隔三差五流鼻血什么原因| 榴莲皮有什么功效| 女性分泌物少是什么原因| icp是什么意思| 中国最长的河流是什么| 金鱼藻属于什么植物| 凡士林是什么| 鳊鱼是什么鱼| 什么是转氨酶| 北极熊为什么不怕冷| 眼压高是什么原因引起的| 五个月的宝宝能吃什么辅食| 日加一笔可以变成什么字| 幽门螺旋杆菌是什么病| 胃酸有什么办法缓解| 人为什么会困| 清什么什么月| 春晓描写的是什么季节| 叻叻猪是什么意思| 早上起床腰酸痛是什么原因| 中暑什么意思| 2月29日是什么星座| 老被蚊子咬是什么原因| 头发粗硬是什么原因| peek是什么材料| 夜咳嗽是什么原因| 喜大普奔是什么意思| CNN什么意思| 口舌生疮吃什么药最见效| 瘥是什么意思| 18kgp是什么意思| 肝斑一般在脸上的什么地方| 胆囊炎可以吃什么水果| 象代表什么生肖| 四物汤什么时候喝| 羿字五行属什么| lookbook是什么意思| 双环醇片治什么病| 嘴里有粘液是什么原因| 撒西不理是什么意思| 杳冥是什么意思| 1990年是什么命| 9号来的月经什么时候是排卵期| 什么是居间费| 1927年属什么| nba季后赛什么时候开始| 黄芪搭配什么不上火| 市组织部长是什么级别| 浮肿是什么原因引起的| 干咳吃什么药| 高原反应的原因是什么| 额头长闭口是什么原因| 胎儿左侧侧脑室增宽的原因是什么| 什么而不什么成语| 阳朔有什么好玩的| 一个三点水一个及念什么| 反复口腔溃疡是什么原因| 红骨髓是什么意思| 蛇形分班是什么意思| 耷拉的近义词是什么| 手指头麻木吃什么药| 男人蛋皮痒用什么药| 有什么黄色网站| 色素沉着有什么办法可以去除| h1v是什么意思| 5月22日什么星座| 端午节为什么吃粽子| 女以念什么| 肩膀上有痣代表什么| 发什么发什么| 受凉了吃什么药| bruce是什么意思| 粉瘤挂什么科| 肠炎用什么药好| 包二奶是什么意思| 神经官能症是什么| 吃什么有奶水| 五脏六腑是什么意思| 尿频尿黄是什么原因| 血友病是什么病| 5月5号什么星座| 开端是什么意思| 去鱼腥味最好的方法是什么| 甲亢查什么| 查艾滋病挂什么科| 甜蜜素是什么东西| 感冒反复发烧是什么原因引起的| penguins是什么意思| 电解质水有什么好处| 脑梗什么原因导致的| 医生为什么会建议竖切| 饮片是什么意思| 1999年属什么生肖| 牛肉炒什么好吃| dikang是什么药| 讲述是什么意思| 腌羊肉串放什么调料| 宝宝拉肚子吃什么好| fvc是什么意思| 王加呈念什么| 吧唧嘴什么意思| 嬷嬷什么意思| 腿抽筋吃什么钙片好| 海菜是什么| 小孩说梦话是什么原因引起的| 阴道息肉长什么样| emoji什么意思| 六根清净是什么意思| 转注是什么意思| 惊弓之鸟告诉我们什么道理| 什么是维生素| 小手指麻木是什么原因| 蓝字五行属什么| 刚拔完牙需要注意什么| 胎方位loa是什么意思| 为什么井盖是圆的| 酸奶不能和什么一起吃| 怀孕了吃什么药可以打掉| 羊水偏多是什么原因| 胃立康片适合什么病| fe是什么元素| 大条是什么意思| 阴囊瘙痒用什么药最好| 离婚要带什么| 我们是什么意思| 最好的洗发水是什么牌子| 上火便秘吃什么最快排便| 做照影是检查什么| 无痛人流和普通人流有什么区别| 中药什么时间喝效果最好| 岔气吃什么药最管用| 中项是什么意思| v店是什么| 怀孕初期什么症状| 湿热内蕴证有什么症状| 什么是庚日| 卡帝乐鳄鱼什么档次| 禾花鱼是什么鱼| 海纳百川什么意思| 腰椎穿刺是检查什么的| 梦见好多死人是什么征兆| 来月经喝酒有什么影响| 李幼斌是什么军衔| 百度Jump to content

中卫交通音乐广播FM92.7《中卫文化沙龙》公益人物44

From Wikipedia, the free encyclopedia
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]
舌头上有齿痕是什么原因 亮晶晶的什么填空 有什么植物 一库一库雅蠛蝶是什么意思 c肽高说明什么
眼睛痒流泪是什么原因 什么叫失眠 生肖猪和什么生肖最配 能量守恒是什么意思 清肺吃什么好
地球为什么是圆的 精益求精下一句是什么 免疫力低会引起什么病 四川有什么好大学 火麻仁是什么
渴望是什么意思 美的是做什么起家的 净字五行属什么 做胃镜之前需要做什么准备 私生子是什么意思
什么叫意象hcv8jop1ns3r.cn 女性阴道长什么样hcv8jop5ns7r.cn 218是什么星座xinmaowt.com 维生素b族为什么不能晚上吃hcv9jop5ns3r.cn 社保指的是什么onlinewuye.com
hdl是什么意思hcv8jop3ns9r.cn 99属什么hcv8jop7ns1r.cn 梦见吃药是什么意思hcv9jop6ns1r.cn 七月份怀孕预产期是什么时候zsyouku.com 为什么头顶会痛hcv9jop2ns8r.cn
同型半胱氨酸是什么hcv8jop6ns2r.cn 黄芪配升麻有什么作用hcv7jop9ns5r.cn 月子里可以吃什么水果hcv7jop9ns6r.cn 射精无力是什么原因adwl56.com 细菌性阴道病用什么药hcv8jop4ns0r.cn
橱窗是什么意思hcv8jop9ns4r.cn 晞是什么意思hcv9jop0ns3r.cn 壬字五行属什么hcv8jop7ns0r.cn 阴道有灼热感是什么原因cj623037.com 封神榜讲的是什么故事hcv9jop7ns5r.cn
百度