JPH02236733A - System for outputting definition reference list of label in translation system - Google Patents

System for outputting definition reference list of label in translation system

Info

Publication number
JPH02236733A
JPH02236733A JP5903089A JP5903089A JPH02236733A JP H02236733 A JPH02236733 A JP H02236733A JP 5903089 A JP5903089 A JP 5903089A JP 5903089 A JP5903089 A JP 5903089A JP H02236733 A JPH02236733 A JP H02236733A
Authority
JP
Japan
Prior art keywords
definition
row
reference list
line
label
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
Application number
JP5903089A
Other languages
Japanese (ja)
Inventor
Minako Uchida
内田 美奈子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP5903089A priority Critical patent/JPH02236733A/en
Publication of JPH02236733A publication Critical patent/JPH02236733A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To avoid a nonused part being left at the right end of each row by deciding the number of items to be printed on one row in the definition reference list of a label by finding the maximum number of characters printable on one row by a printer. CONSTITUTION:A translation system 1 calls a definition row number output means 2 at every definition of the label by a source program, and the definition row number output means 2 outputs a row number for which the label is defined to a row number information storage area 8. A print item number decision means 4 finds the maximum number of characters printable on one row from the control information storage means 6 of the printer 7, and decides the number of items to be printed on the label definition reference list of one row. A definition reference list output means 5 inputs the definition row number of each label from the row number information storage area 8, and edits the definition reference list of the label according to the decided number of items to be printed per row, and outputs it to the printer 7. Thereby, it is possible to constitute a system so as not to generate the nonused part at the right end of each row.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は翻訳システムの改曳に関し、特にその名標の定
義参照リスト出力方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to the modification of a translation system, and particularly to a method for outputting a definition reference list of names.

(従来の技術) 従来、この種の定義参照リスト出力方式では、一行に印
字される項目の数は翻訳システムに応じて固定的に定め
られてい友。
(Prior Art) Conventionally, in this type of definition reference list output method, the number of items printed on one line is fixed depending on the translation system.

(発明が解決しようとする課題) 上述した従来の相互参照リスト出力方式は、一行に印字
される項目の数が固定的となっているので、一行に印字
することが可能な文字数の多い印字装置では、各行の右
端に未使用部分を生ずるという欠点がある. 本発明の目的は、原始プログラムに記述された名標の定
義行番号および参照行番号を出力し、印字装置の制御情
報よりその印字装置が1行に印字できる最大文字数を求
め、1行の印字項目の数を決定するとともに、上記行番
号情報を入力して名標の定義参照リストを印字装置に出
力することにより上記欠点を除去し、各行の右端に未使
用部分の生ずることがないようK構成した翻訳システム
における名標の定義参照リスト出力方式を提供すること
にある。
(Problem to be Solved by the Invention) In the conventional cross-reference list output method described above, the number of items printed on one line is fixed, so a printing device that can print a large number of characters on one line is required. has the disadvantage that there is an unused portion at the right end of each line. The purpose of the present invention is to output the definition line number and reference line number of the name tag written in the source program, calculate the maximum number of characters that the printer can print in one line from the control information of the printer, and print the number of characters in one line. Determining the number of items, inputting the above line number information and outputting the name definition reference list to the printing device eliminates the above drawback and prevents the occurrence of unused portions at the right end of each line. The object of this invention is to provide a method for outputting a list of name definitions in the constructed translation system.

(課題を解決するための手段) 本発明による翻訳システムにおける名標の定義参照リス
ト出力方式は定義行番号出力手段と、参照行番号出力手
段、印字項目数決定手段と、定義参照リスト出力手段と
を具備して構成したものである。
(Means for Solving the Problem) The name definition reference list output method in the translation system according to the present invention includes a definition line number output means, a reference line number output means, a print item number determination means, and a definition reference list output means. It is configured with the following.

定義行番号出力手段は、原始プログラムで定義された名
標の行番号を行番号情報格納憔域に出力するためのもの
である。
The definition line number output means is for outputting the line number of the name tag defined in the source program to the line number information storage area.

参照行番号出力手段は、原始プログラム中で参照された
行番号を行番号情報格納領域に出力するためのものであ
る。
The reference line number output means is for outputting line numbers referenced in the source program to the line number information storage area.

印字項目数決定手段は、印字装置の制御情報からl行K
印字可能な最大文字数を求め、名標の定義参照リストの
一行に印字することのできる項目の個数を決定するため
のものである。
The number of printing items determining means selects one line K from the control information of the printing device.
This is to determine the maximum number of characters that can be printed and the number of items that can be printed on one line of the name tag definition reference list.

定義参照リスト出力手段は、行番号情報格納領域から名
標の定義行番号および参照行番号を入力し、名標の定義
参照リストを編集し、印字項目数決定手段により定めら
れた印字項目数に従って印字装置に出力するためのもの
である。
The definition reference list output means inputs the definition line number and reference line number of the name tag from the line number information storage area, edits the name tag definition reference list, and outputs the name tag according to the number of printing items determined by the number of printing items determining means. This is for outputting to a printing device.

(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は、本発明による翻訳システムにおける名標の定
義参照リスト出力方式の一実施例を示すブロック図であ
る。
FIG. 1 is a block diagram showing an embodiment of a name definition reference list output method in a translation system according to the present invention.

第1図において、1は翻訳システム、2は定義行番号出
力手段、3は参照行番号出力手段、4は印字項目数決定
手段、5ば定義参照リスト出力手段、6は印字装置制御
情報格納手段、7は印字装置、8は行番号情報格納手段
である。
In FIG. 1, 1 is a translation system, 2 is a definition line number output means, 3 is a reference line number output means, 4 is a print item number determination means, 5 is a definition reference list output means, and 6 is a printing device control information storage means. , 7 is a printing device, and 8 is a line number information storage means.

第1図において、翻訳システムlは原始プログラムで名
標が定義されるごとに定義行番号出力手段2を呼出す.
定義行番号出カ手段2は、名標が定義された行番号を行
番号情報格納領域8に出力する。すべての名標の定義処
理が終了すると、次に翻訳システムlは厘始プログラム
で名標が参照されるごとに参照行番号参照出カ手阪3を
呼出す。
In FIG. 1, the translation system 1 calls the definition line number output means 2 every time a name is defined in the source program.
The definition line number output means 2 outputs the line number in which the name tag is defined to the line number information storage area 8. When the definition process for all name tags is completed, the translation system 1 calls the reference line number reference output number 3 each time a name tag is referenced in the starting program.

参照行番号出力手段3は、名標が参照された行番号を行
番号情報格納領域8K出力する.すべての名標の参照処
理が終了すると、次に翻訳システム1は印字項目数決定
手段4を呼出す.印字項目数決定手段4は、印字装置7
の制御情報格納手段6から1行に印字可能な最大文字数
を求め、一行の名標定義参照リストに印字される項目の
数を決定する.この項目の数を決定した後、印字項目数
決定手段4は定義参照リスト出力手段5を呼出す。定義
参照リスト出力手段5は、行番号情報格納領域8から各
名標の定義行番号を入力し、印字項目数決定手放4にょ
クて決定された一行あたりの印字項目数に従クて名標の
定義参照リストを編集し、印字装置7に出力する. (発明の効果) 以上説明したように本発明は、名標の定義参照リストの
l行に印字する項目の数を印字装置が1行に印字するこ
とが可能な最大文字から求めて決定することにより、各
行の右端に生じる未使用部分を省き、翻訳リスト枚数を
削減できるという効果がある。
The reference line number output means 3 outputs the line number to which the name tag is referred to the line number information storage area 8K. When the reference processing for all name tags is completed, the translation system 1 next calls the printing item number determining means 4. The printing item number determining means 4 is a printing device 7.
The maximum number of characters that can be printed in one line is determined from the control information storage means 6 of the control information storage means 6, and the number of items to be printed in the name tag definition reference list in one line is determined. After determining the number of items, the print item number determining means 4 calls the definition reference list outputting means 5. The definition reference list output means 5 inputs the definition line number of each name mark from the line number information storage area 8, and outputs the name according to the number of print items per line determined in the number of print items determination section 4. Edit the target definition reference list and output it to the printing device 7. (Effects of the Invention) As explained above, the present invention determines the number of items to be printed on the l line of the name definition reference list by calculating the maximum number of characters that can be printed on one line by the printing device. This has the effect of omitting unused portions that occur at the right end of each line and reducing the number of translation list pages.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は、本発明による翻訳システムにおける名標の定
義参照リスト出力方式の一実施例を示すブロック図であ
る。 l・・・翻訳システム 2・・・定義行番号出力手段 3・・・参照行番号出力手段 4・・・印字項目数決定手段 5・・・定義参照リスト出力手段 6・・・印字装置の制御情報格納手段 7・・・印字装置 8・・・行番号情報格納手段
FIG. 1 is a block diagram showing an embodiment of a name definition reference list output method in a translation system according to the present invention. l...Translation system 2...Definition line number output means 3...Reference line number output means 4...Print item number determination means 5...Definition reference list output means 6...Control of printing device Information storage means 7...Printing device 8...Line number information storage means

Claims (1)

【特許請求の範囲】[Claims] 原始プログラムで定義された名標の行番号を行番号情報
格納領域に出力するための定義行番号出力手段と、前記
原始プログラム中で参照された前記行番号を前記行番号
情報格納領域に出力するための参照行番号出力手段と、
印字装置の制御情報から1行に印字可能な最大文字数を
求め、前記名標の定義参照リストの一行に印字すること
のできる項目の個数を決定するための印字項目数決定手
段と、前記行番号情報格納領域から前記名標の定義行番
号および参照行番号を入力し、名標の定義参照リストを
編集し、前記印字項目数決定手段により定められた印字
項目数に従って印字装置に出力するための定義参照リス
ト出力手段とを具備して構成したことを特徴とする翻訳
システムにおける名標の定義参照リスト出力方式。
definition line number output means for outputting the line number of the name tag defined in the source program to the line number information storage area; and outputting the line number referenced in the source program to the line number information storage area. Reference line number output means for
a number of printing items determining means for determining the maximum number of characters that can be printed in one line from control information of a printing device and determining the number of items that can be printed in one line of the name definition reference list; and the line number. inputting the definition line number and reference line number of the name tag from the information storage area, editing the name tag definition reference list, and outputting to the printing device according to the number of printing items determined by the number of printing items determining means; 1. A method for outputting a definition reference list of names in a translation system, characterized in that the method comprises a definition reference list output means.
JP5903089A 1989-03-10 1989-03-10 System for outputting definition reference list of label in translation system Pending JPH02236733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5903089A JPH02236733A (en) 1989-03-10 1989-03-10 System for outputting definition reference list of label in translation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5903089A JPH02236733A (en) 1989-03-10 1989-03-10 System for outputting definition reference list of label in translation system

Publications (1)

Publication Number Publication Date
JPH02236733A true JPH02236733A (en) 1990-09-19

Family

ID=13101484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5903089A Pending JPH02236733A (en) 1989-03-10 1989-03-10 System for outputting definition reference list of label in translation system

Country Status (1)

Country Link
JP (1) JPH02236733A (en)

Similar Documents

Publication Publication Date Title
JPS63205257A (en) Printing control system
JPH02236733A (en) System for outputting definition reference list of label in translation system
JPH0214167A (en) Printing system
JP3118310B2 (en) Print processing method of page printer
JPH03220624A (en) Optimum control system for printer
JP2001010146A (en) Method and system for designated format printing
JPH0624909Y2 (en) Document creation device
JPH0427567A (en) Printing control system
JPS62127932A (en) Print spooling control system
JPS63242561A (en) Font reducing system
JPH0388040A (en) Compile list output system
JPH01308630A (en) Setting method in character output device
JPH04220378A (en) Apparatus for distribution processing of general-purpose slip to terminal printer
JPH02225070A (en) Printing device
JPH04257019A (en) Page buffer distribution control system corresponding to plural format control information
JPH04135772A (en) Image data forming device
JP2000259614A (en) Page management printing method
JPH0359724A (en) Error information compression system for translation system
JPH04270669A (en) label printer
JPH06266870A (en) Bar code printer
JPH08132684A (en) Braille plate output system and Braille plate output method
JPH07160688A (en) Document print editing method
JPS63166574A (en) Record conversion system in impact printer
JPH07205518A (en) Printing control method for page printer
JPH02178069A (en) Print data processing device