JP2003006009A - Method for converting hpgl file into file in svg form - Google Patents
Method for converting hpgl file into file in svg formInfo
- Publication number
- JP2003006009A JP2003006009A JP2001234208A JP2001234208A JP2003006009A JP 2003006009 A JP2003006009 A JP 2003006009A JP 2001234208 A JP2001234208 A JP 2001234208A JP 2001234208 A JP2001234208 A JP 2001234208A JP 2003006009 A JP2003006009 A JP 2003006009A
- Authority
- JP
- Japan
- Prior art keywords
- file
- hpgl
- svg
- converting
- intermediate language
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 8
- 238000006243 chemical reaction Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 4
- 238000013519 translation Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、工業系の標準形式であ
るHPGLファイルを解析・中間言語に翻訳し、SVG
形式に変換保存できるプログラムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention analyzes an HPGL file, which is a standard format of an industrial system, and analyzes it into an intermediate language to convert it into an SVG file.
Regarding programs that can be converted and saved in the format.
【0002】[0002]
【従来の技術】従来、HPGLはさまざまなバージョン
があり、アプリケーション間でのデータ交換が困難であ
ることと、HPGLの書式は、数字と文字列の羅列なの
で問題が発生した場合解析に時間を要する。また、HP
GLはプロッタがないと出図できず、工業系で取扱う図
面のザイズが大きい(A0、A1)ためFAXで送るこ
とも不可能であった。2. Description of the Related Art Conventionally, there are various versions of HPGL, it is difficult to exchange data between applications, and since the format of HPGL is a list of numbers and character strings, it takes time to analyze when a problem occurs. . Also, HP
The GL could not be printed without a plotter, and it was impossible to send it by fax because the size of the drawing handled by the industrial system was large (A0, A1).
【0003】[0003]
【発明が解決しようとする課題】従来の方法では、HP
GLを交換し、確認するためには、ソフトウエアを購入
するか若しくは、プロッタに出図するしかなく、プロッ
タ設備が古かったりソフトウェアのバージョンが古い場
合、出図できないという問題点があった。また、図面が
大きいためFAXで送ることもできなかった。さらにイ
ンターネット上で共有管理することも不可能であった。According to the conventional method, the HP
In order to replace and check the GL, there is no choice but to purchase the software or send it to the plotter, and if the plotter equipment is old or the software version is old, it cannot be issued. In addition, the drawings were so large that they could not be sent by fax. Furthermore, it was impossible to manage sharing on the Internet.
【0004】本発明は、上記の問題点を解決するための
もので、HPGLファイルがあれば、それをSVGに変
換しインターネット上で共有管理できることと、CAD
ソフトウエアがなくても画面上に表示でき、さらにイン
ターネットでFAX代りに送ることができる。The present invention is to solve the above-mentioned problems. If there is an HPGL file, it can be converted into SVG and shared management on the Internet, and CAD.
It can be displayed on the screen without software and can be sent as a fax instead of via the Internet.
【0005】[0005]
【課題を解決するための手段】本発明は、上述した課題
を解決するための手段として、HPGLファイルを読込
み、読込んだデータを解析、中間言語に翻訳し、SVG
に変換するプログラムで構成されている。As a means for solving the above-mentioned problems, the present invention reads an HPGL file, analyzes the read data, translates it into an intermediate language, and executes SVG.
It consists of a program to convert to.
【作用】本発明は、主に工業・機械系で使用されるHP
GLファイルを新しい設備なしで出図できる。また、今
までA0やA1サイズの設計図がFAXで送れなかった
が、SVG形式に変換しメールでFAX代わりに送信で
きる。さらに、インターネット上で共有管理が可能であ
る。The present invention is mainly used in industrial and mechanical systems.
You can publish GL files without new equipment. In addition, A0 and A1 size blueprints could not be sent by fax until now, but they can be converted to SVG format and sent by email instead of fax. Furthermore, sharing management is possible on the Internet.
【0007】[0007]
【実施例】以下、本発明の実施例をフローチャートに基
づいて説明する。Embodiments of the present invention will be described below with reference to the flowcharts.
【0008】図1及び図2は、本発明による実施例を示
すフローチャートである。1 and 2 are flow charts showing an embodiment according to the present invention.
【0009】図1のフローチャートに従い、本発明の実
施を説明すると、プログラムが開始され、1でHPGL
ファイルを読込み、読込みが成功すると、2で、HPG
Lファイルを解析・中間言語に翻訳し、3でSVG変換
処理を行う。The operation of the present invention will be described with reference to the flowchart of FIG.
Read the file, and if the reading is successful, at 2, HPG
The L file is analyzed and translated into an intermediate language, and SVG conversion processing is performed in 3.
【0010】図2のフローチャートでは、4で中間言語
翻訳処理を開始し、読込みしたHPGLデータを取り出
し自動補正処理後、中間言語領域に配置する。5でSV
G変換処理を開始し、中間データを取り出しSVG言語
に書き換え処理を行う。SVG形式で変換後、インター
ネット上で共有管理が可能になる。In the flowchart of FIG. 2, the intermediate language translation process is started at 4, the read HPGL data is taken out, and after the automatic correction process, it is arranged in the intermediate language region. SV at 5
The G conversion process is started, the intermediate data is extracted, and the process is rewritten in the SVG language. After conversion in SVG format, sharing management becomes possible on the Internet.
【発明の効果】第1の効果は、HPGLファイルがあれ
ばプロッタ等新たな設備が不要である。The first effect is that if the HPGL file is present, no new equipment such as a plotter is required.
【0011】第2の効果は、HPGLファイルをメール
で送れるためFAX代わりとして利用可能である。The second effect is that since the HPGL file can be sent by mail, it can be used as a substitute for FAX.
【0012】第3の効果は、CADソフトに依存されな
いことである。The third effect is that it is not dependent on CAD software.
【0013】第4の効果は、SVG形式で変換可能なた
めインターネット上で共有管理可能なことである。A fourth effect is that since it can be converted in the SVG format, it can be shared and managed on the Internet.
【図1】HPGLからSVGへの変換フローチャートで
ある。FIG. 1 is a conversion flowchart from HPGL to SVG.
【図2】中間言語翻訳とSVG言語変換のフローチャー
トである。FIG. 2 is a flowchart of intermediate language translation and SVG language conversion.
1 HPGL読込みステップ 2 中間言語翻訳ステップ 3 変換処理ステップ 4 中間言語翻訳詳細ステップ 5 SVG言語変換詳細ステップ 1 HPGL reading step 2 Intermediate language translation steps 3 conversion processing steps 4 Intermediate language translation detailed steps 5 SVG language conversion detailed steps
Claims (2)
d社のプロッターファイル規格)ファイルを読込み、そ
れを解析・翻訳しXMLベースの言語であるSVG(S
calable Vector Graphics)デ
ータに変換する方法。1. An HPGL (Hewlett Packard)
Reads the plotter file standard of d company, analyzes and translates the file, SVG (S) which is an XML-based language.
A method of converting into the vector data (calable vector graphics).
(1);HPGLを中間言語に翻訳するステップ
(2);SVGに変換するステップ(3);を特徴とす
る方法。2. A method comprising the steps of: (1) reading an HPGL file; (2) translating HPGL into an intermediate language; (3) converting into SVG.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001234208A JP2003006009A (en) | 2001-06-18 | 2001-06-18 | Method for converting hpgl file into file in svg form |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001234208A JP2003006009A (en) | 2001-06-18 | 2001-06-18 | Method for converting hpgl file into file in svg form |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2003006009A true JP2003006009A (en) | 2003-01-10 |
Family
ID=19065857
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001234208A Pending JP2003006009A (en) | 2001-06-18 | 2001-06-18 | Method for converting hpgl file into file in svg form |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2003006009A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100803947B1 (en) | 2006-12-01 | 2008-02-15 | 주식회사 코아로직 | Apparatus and method for converting an open vector graphics application program interface, a mobile terminal, and a recording medium recording the method |
| US7675112B2 (en) | 2006-07-28 | 2010-03-09 | Hynix Semiconductor Inc. | Semiconductor device with a surrounded channel transistor |
| CN108132972A (en) * | 2017-12-06 | 2018-06-08 | 中国人民解放军92859部队 | The automatic switching method of S-52 point symbols and SVG symbols in electronic nautical chart |
| CN108665516A (en) * | 2018-04-20 | 2018-10-16 | 中国人民解放军92859部队 | The conversion method of S-52 lines symbol and SVG symbols in electronic nautical chart |
| CN108734753A (en) * | 2018-04-20 | 2018-11-02 | 中国人民解放军92859部队 | The automatic switching method of the faces S-52 symbol and SVG symbols in electronic nautical chart |
-
2001
- 2001-06-18 JP JP2001234208A patent/JP2003006009A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7675112B2 (en) | 2006-07-28 | 2010-03-09 | Hynix Semiconductor Inc. | Semiconductor device with a surrounded channel transistor |
| KR100803947B1 (en) | 2006-12-01 | 2008-02-15 | 주식회사 코아로직 | Apparatus and method for converting an open vector graphics application program interface, a mobile terminal, and a recording medium recording the method |
| CN108132972A (en) * | 2017-12-06 | 2018-06-08 | 中国人民解放军92859部队 | The automatic switching method of S-52 point symbols and SVG symbols in electronic nautical chart |
| CN108665516A (en) * | 2018-04-20 | 2018-10-16 | 中国人民解放军92859部队 | The conversion method of S-52 lines symbol and SVG symbols in electronic nautical chart |
| CN108734753A (en) * | 2018-04-20 | 2018-11-02 | 中国人民解放军92859部队 | The automatic switching method of the faces S-52 symbol and SVG symbols in electronic nautical chart |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5028372B2 (en) | Image processing apparatus, image processing method, and image processing program | |
| US20090204883A1 (en) | Method, Program and System for the Dynamic, Template-Based Generation of Internet Pages | |
| EP1566057A1 (en) | Apparatus and method for reproducing interactive contents by controlling font according to aspect ratio conversion | |
| JP6029321B2 (en) | Image forming apparatus, control method therefor, and program | |
| US7752603B2 (en) | Systems and methods for data interchange among autonomous processing entities | |
| GB2423387A (en) | Application-Generic Sequence Diagram Generator Driven by a Non-Proprietary Language | |
| JP4185175B2 (en) | How to display structured documents | |
| CN116954450A (en) | Screenshot method and device for front-end webpage, storage medium and terminal | |
| JP2003006009A (en) | Method for converting hpgl file into file in svg form | |
| JPH08263299A (en) | Program conversion method | |
| KR20050052421A (en) | Creative method and active viewing method for a electronic document | |
| GB2596403A (en) | Image to script converter | |
| JP2008227583A (en) | Image processing system, agent apparatus, information processor, agent program and instruction preparation program | |
| JP2012183754A (en) | Printing system and control method thereof | |
| JP5702265B2 (en) | Program automatic generation apparatus and program automatic generation method | |
| CN111913703B (en) | Object editing method, device, electronic equipment and readable storage medium | |
| JP2010250434A (en) | Information processing apparatus, information processing method, program, and storage medium | |
| CN112668282A (en) | Method and system for converting format of equipment procedure document | |
| JP2009099153A (en) | System and method for creating seasonal greeting cards | |
| JP3731628B2 (en) | CGI program creation method | |
| JP4872285B2 (en) | Document management apparatus, document management system, and document management method | |
| US20250014378A1 (en) | Document processing system that executes specific process on document, and computer-readable, non-transitory storage medium storing therein document processing program | |
| KR100400360B1 (en) | System for automatic generating program products and method thereof | |
| JP4201206B2 (en) | CGI program creation method, recording medium recording program according to the method, and CGI program creation device | |
| CN117436412A (en) | Method for analyzing picture format based on rich text data structure |