JPH0361596B2 - - Google Patents

Info

Publication number
JPH0361596B2
JPH0361596B2 JP59032402A JP3240284A JPH0361596B2 JP H0361596 B2 JPH0361596 B2 JP H0361596B2 JP 59032402 A JP59032402 A JP 59032402A JP 3240284 A JP3240284 A JP 3240284A JP H0361596 B2 JPH0361596 B2 JP H0361596B2
Authority
JP
Japan
Prior art keywords
data
print
merge
block
printing
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.)
Expired - Lifetime
Application number
JP59032402A
Other languages
Japanese (ja)
Other versions
JPS60176784A (en
Inventor
Hiroshi Hashizume
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP59032402A priority Critical patent/JPS60176784A/en
Publication of JPS60176784A publication Critical patent/JPS60176784A/en
Publication of JPH0361596B2 publication Critical patent/JPH0361596B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1206Improving or facilitating administration, e.g. print management resulting in increased flexibility in input data format or job format or job type
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1242Image or content composition onto a page
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J5/00Devices or arrangements for controlling character selection
    • B41J5/30Character or syllable selection controlled by recorded information

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Record Information Processing For Printing (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は表データ差込み印刷装置に関し、更に
詳しくは、印刷すべき文書データに他の文書デー
タ(具体的には表データ)を挿入して差込み印刷
する装置に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a tabular data insertion printing device, and more specifically, to a printing device that inserts and inserts other document data (specifically, tabular data) into document data to be printed. It relates to a printing device.

〔発明の背景〕[Background of the invention]

ワードプロセツサのような文書処理装置は、第
1図に示すように、文字や符号あるいは処理機能
の指定等を入力する入力装置1と、この入力装置
1から入力された文字コード、表データ、文字フ
オント、プログラム等を記憶する主記憶装置2お
よび補助記憶装置3と、前記入力装置1から入力
された文字や記憶装置2,3の記憶内容を表示す
る表示装置4と、前記記憶装置2,3の記憶内容
を印刷する印刷装置5と、前記各装置1〜5に制
御し、且つ前記入力装置1からの入力で指定され
た印刷文書データおよび該データ中にある差込み
印刷指示データで指定された表データ内の差込み
印刷データを前記印刷データ中の文字データと共
に印刷するように編集して前記印刷装置5に出力
する制御装置6を備える。
As shown in FIG. 1, a document processing device such as a word processor has an input device 1 for inputting characters, codes, processing function specifications, etc., and character codes, table data, etc. input from this input device 1. A main storage device 2 and an auxiliary storage device 3 that store character fonts, programs, etc., a display device 4 that displays characters input from the input device 1 and the contents stored in the storage devices 2 and 3, and the storage device 2, A printing device 5 that prints the stored contents of No. 3, printing document data that controls each of the devices 1 to 5, and that is specified by input from the input device 1 and print instruction data included in the data. A control device 6 is provided which edits insert print data in the tabular data and outputs the edited data to the printing device 5 so as to be printed together with the character data in the print data.

このような文書処理装置において、第2図aの
ように、文字列71,72と差込み印刷文字列7
3,74が混在する印刷書類を得る場合、オペレ
ータは表示装置4を利用して同図bのような文字
列71,72と差込み印刷指示符号75,76に
対応する印刷文書データと、同図cのような差込
み印刷指示符号75,76と対応させた差込み印
刷文字列77による表示データを作成し、これを
記憶させる。そして、印刷を指示するときに、こ
の第2図b,cのデータ名を指示して同図aの印
刷書類を得ている。
In such a document processing device, as shown in FIG.
3 and 74, the operator uses the display device 4 to display the printed document data corresponding to the character strings 71 and 72 and the insertion print instruction codes 75 and 76 as shown in FIG. Display data is created using an insert print character string 77 that corresponds to insert print instruction codes 75 and 76 such as c, and is stored. When instructing printing, the data names shown in FIG. 2b and c are specified to obtain the printed document shown in FIG. 2a.

このときの制御装置6のデータ処理フローチヤ
ートを第3図に示す。オペレータによつて入力装
置1から印刷の指示と印刷すべき文書データ名の
指定と差込み印刷すべき文字列データをもつ表デ
ータ名が入力されると、制御装置6はブロツク
100で指定された第2図bの印刷文書データと第
2図cの表データをメモリのワークエリアに読込
み、次にブロツク110で印刷行カウンタ等の初期
値を設定し、更にブロツク120で印刷行データバ
ツフアをクリアする。次にブロツク130で印刷す
べき文書データから最初の印刷行のデータを読込
んでブロツク140に移り、この印刷行のデータ中
に差込み印刷指示符号が存在するか否かを判断す
る。差込み印刷指示符号が存在しない場合には、
ブロツク150に移つて前記印刷行のデータにより
文字列71を印刷する。そしてブロツク160で文
書データが終りか否かを判断し、この例の場合に
は未終了であるのでブロツク170に移り印刷行カ
ウンタを更新し、ブロツク120に戻る。
A data processing flowchart of the control device 6 at this time is shown in FIG. When the operator inputs from the input device 1 a print instruction, a designation of the document data name to be printed, and a table data name containing character string data to be inserted and printed, the control device 6 controls the block.
The print document data in Figure 2 b and the table data in Figure 2 c specified by 100 are read into the work area of the memory, then block 110 sets initial values such as the print line counter, and block 120 starts printing. Clear the row data buffer. Next, in block 130, data of the first print line is read from the document data to be printed, and the process moves to block 140, where it is determined whether or not an insertion print instruction code exists in the data of this print line. If the merge instruction code does not exist,
Moving to block 150, a character string 71 is printed based on the data of the print line. Then, in block 160, it is determined whether or not the document data has ended. In this example, since it has not ended, the process moves to block 170, updates the print line counter, and returns to block 120.

ブロツク120では再び印刷行データバツフアを
クリアし、ブロツク130に移つて文書データから
第2番目の印刷行のデータを読込む。この第2番
目の印刷行のデータは差込印刷指示符号75であ
るので、ブロツク180に移つてこの差込み印刷指
示符号75で指定した差込み印刷データが表デー
タ内に存在するか否かを判断し、存在しなけれ
ば、これを文字列とみなしてブロツク150に移つ
てこの差込み印刷指示符号75をそのまま印刷す
る。
Block 120 clears the print line data buffer again, and the process moves to block 130 to read the second print line data from the document data. Since the data of this second print line is the merge print instruction code 75, the process moves to block 180 and it is determined whether or not the merge print data specified by the merge print instruction code 75 exists in the table data. , if it does not exist, it is regarded as a character string and the process moves to block 150, where the insertion print instruction code 75 is printed as is.

指定された差込み印刷データが存在する場合に
は、ブロツク190に移つてこのデータを読込んで
ブロツク150に移り、このデータにおける文字列
77を差込み印刷文字列73,74として印刷す
る。
If the designated insert print data exists, the process moves to block 190, this data is read, and the process moves to block 150, where the character string 77 in this data is printed as the insert print character strings 73 and 74.

以上の処理を印刷すべき文書データがなくなる
まで繰り返す。
The above process is repeated until there is no more document data to print.

ところがこのような文書処理装置においては、
差込み印刷すべき文字列77を、差込み印刷指示
符号75,76と対応ずけて作成した表データを
用いているので、このような対応符号75,76
のない表データを差込み印刷することができな
い。従つて既存の表データを差込み印刷する必要
が生じたときは、これらの表データを改めて前述
のように差込み印刷指示符号75,76と対応づ
けて作り直さなければならず、表データの差込み
印刷操作が煩雑であつた。
However, in such document processing devices,
Since the table data created by matching the character string 77 to be merged and printed with the merge print instruction codes 75 and 76 is used, such correspondence codes 75 and 76 are
It is not possible to merge and print table data without . Therefore, when it becomes necessary to merge and print existing table data, these table data must be re-created by associating them with the merge print instruction codes 75 and 76 as described above, and the merge print operation of the table data must be performed. was complicated and hot.

〔発明の目的〕[Purpose of the invention]

従つて本発明の目的は、このような差込み印刷
指示符号と対応させた差込み印刷文字列をもつ表
データを作成しなくとも、既存の表データからそ
のまま指定して差込み印刷できる表データ差込み
印刷装置を提案することにある。
Therefore, it is an object of the present invention to provide a table data insertion printing device that allows insertion printing by specifying existing table data as is without creating table data having an insertion print character string associated with such an insertion print instruction code. The goal is to propose the following.

〔発明の概要〕[Summary of the invention]

本発明は、前述の制御装置に、表データにおけ
る行および/または列に対応して印刷文書データ
中に差込み印刷指示データに存在する行番号およ
び/または列番号をキーワードとして前記表デー
タを検索して差込み印刷データを読出す手段と、
この手段によつて読出された差込み印刷データを
前記差込み印刷指示データに代えて前記印刷文書
データ中に挿入する手段と、差込み印刷データが
挿入された印刷文書データを前記印刷装置で印刷
する手段を設け、オペレータは表データの行番号
および/または列番号を用いて差込み印刷データ
の内容を指示することで、表データを差込み印刷
できるようにしたことを特徴とする。
The present invention allows the above-mentioned control device to search the tabular data using as a keyword a row number and/or column number existing in insert print instruction data in print document data corresponding to a row and/or column in the tabular data. means for reading out the merge print data;
means for inserting the merge print data read by the means into the print document data instead of the merge print instruction data; and means for printing the print document data into which the merge print data has been inserted by the printing device. The present invention is characterized in that the operator can perform merge printing of table data by instructing the contents of the merge print data using the row number and/or column number of the table data.

〔発明の実施例〕[Embodiments of the invention]

本発明をワードプロセツサに適用した例を説明
する。このワードプロセツサの基本構成は第1図
に示したブロツク図と同一であり、この実施例の
特徴は、制御装置6内に設けられたデータ処理手
段にある。
An example in which the present invention is applied to a word processor will be explained. The basic configuration of this word processor is the same as the block diagram shown in FIG. 1, and the feature of this embodiment is the data processing means provided within the control device 6.

この実施例における制御装置6内のデータ処理
手段は、コンピユータを主体として構成されるの
で、以下これを印刷例およびデータ処理フローチ
ヤートを参照して説明する。
Since the data processing means in the control device 6 in this embodiment is mainly composed of a computer, this will be explained below with reference to printing examples and data processing flowcharts.

第4図は差込み印刷の対象として作成され、ま
たは既に作成されているデータから差込み印刷の
対象として指定された表データによる画面であ
る。なお、欄外の行番号、列番号の表示は説明の
ために付したもので画面には表示されない。
FIG. 4 is a screen showing table data created as a target for merge printing, or specified as a target for merge printing from data that has already been created. Note that the row numbers and column numbers outside the margin are added for explanation purposes and are not displayed on the screen.

第5図は印刷のために作成され、または既に作
成されているデータから印刷の対象として指定さ
れた印刷文書データで、文字列81,82,8
3、と差込み印刷指示符号84,85により構成
されている。差込み印刷指示符号84,85は、
それぞれ差込み印刷することを示す差込み印刷マ
ーク84a,85aと差込み印刷すべきデータを
前記表示データから検索するためのキーワードと
しての表データの行番号および/または列番号8
4b,85bにより構成されている。
FIG. 5 shows print document data created for printing or specified as a target for printing from data that has already been created, with character strings 81, 82, 8
3, and insertion print instruction codes 84 and 85. The insertion print instruction codes 84 and 85 are
Merge printing marks 84a and 85a each indicate that merge printing is to be performed, and a row number and/or column number 8 of the table data as a keyword for searching the displayed data for data to be merge printed.
4b and 85b.

第6図は上記2つのデータにより印刷された文
書で、文字列81,82,83と差込み印刷文字
列86,87で構成されている。
FIG. 6 shows a document printed using the above two data, which is composed of character strings 81, 82, 83 and insertion print character strings 86, 87.

以上のような表データの差込み印刷を行なうた
めの制御装置6のデータ処理機能を第7図〜第1
0図に示すデータ処理フローチヤートを参照して
説明する。
The data processing function of the control device 6 for performing merge printing of table data as described above is illustrated in FIGS. 7 to 1.
This will be explained with reference to the data processing flowchart shown in FIG.

制御装置6は、第7図のブロツク210において、
入力装置1から指定された印刷すべき文書、差込
みデータの内容、ならびに文書、表構成の管理情
報を第1図の補助記憶装置4あるいはメモリ3か
ら、このメモリ上にあるブツフア領域に読込む。
ブロツク220において行カウンター、挿入時のワ
ークエリア等の初期設定を行なう。ブロツク230
においては行データを格納する行データバツフア
のクリアを行なう。これは、行データバツフア領
域に古い情報を残しておかないためである。ブロ
ツク240では、初めはブロツク220で設定された行
番号、それ以降はブロツク350で設定された行番
号から、バツフア上にある設定行データをワーク
エリアに移す。ブロツク250ではワークエリアに
移つたデータ中に、差込み印刷マークが存在する
か否かのチエツクを行なう。もし、ブロツク250
でのチエツクにおいて差込み印刷マークが存在し
なかつた場合には、ブロツク330の印刷処理に移
つてワークエリア内のデータを印刷する。
In block 210 of FIG.
The document to be printed, the contents of the insertion data, and the management information of the document and table structure specified by the input device 1 are read from the auxiliary storage device 4 or the memory 3 shown in FIG. 1 into the buffer area on this memory.
In block 220, initial settings such as a row counter and a work area at the time of insertion are performed. block 230
In this step, the row data buffer storing row data is cleared. This is to prevent old information from remaining in the row data buffer area. In block 240, the set line data on the buffer is transferred to the work area, starting from the line number set in block 220 and thereafter starting from the line number set in block 350. In block 250, a check is made to see if there is an insertion print mark in the data transferred to the work area. If block 250
If it is determined that no insertion print mark exists in the check at step 330, the process moves to block 330, where the data in the work area is printed.

差込み印刷マークが存在している場合には、差
込み印刷マークの後に続き差込み印刷すべきデー
タを示すキーワードが行の指定かあるいは列の指
定かを、ブロツク260,270にてチエツクする。ブ
ロツク260においては、先ず、キーワードが行で
あるか否かのチエツクを行なう。キーワードとし
ては直接に行番号を指定するため、差込み印刷デ
ータとして許す表データの大きさにより、キーワ
ードの文字数は変わるが、チエツクの仕方として
は、決められたキーワードの文字数の中に行を示
す語が存在しているかどうかをチエツクすれば良
い。キーワードの中に行を示す語が存在したなら
ばブロツク280へ進み、存在しない場合にはブロ
ツク270に進む。
If the merge print mark exists, it is checked in blocks 260 and 270 whether the keyword indicating the data to be merge printed after the merge print mark is a row designation or a column designation. Block 260 first checks to see if the keyword is a line. Since the line number is directly specified as a keyword, the number of characters for the keyword will vary depending on the size of the table data allowed for the merge print data, but the method of checking is to find the word indicating the line within the specified number of characters for the keyword. Just check if it exists. If a word indicating a line exists in the keyword, the process proceeds to block 280; otherwise, the process proceeds to block 270.

ブロツク270ではブロツク260と同様な方法で、
キーワード中に列を示す語があるか否かのチエツ
クを行なう。存在する場合にはブロツク290へ進
む。ブロツク270において、キーワードが列を示
すものでないと判断された場合は、結局このキー
ワードは行でも列でもなく正しいキーワードでは
ないという事になる。したがつて、この差込み印
刷マークの後に続くキーワードに対する差込み印
刷データは存在しないという事になり、差込み印
刷マークは制御符号としてではなく、通常の文字
として扱つて差込み印刷マーク無しの場合と同様
の処理を行ない、ブロツク330の印刷処理へ移る。
Block 270 uses the same method as block 260,
Check whether there is a word indicating a column in the keyword. If so, proceed to block 290. If it is determined in block 270 that the keyword does not indicate a column, then the keyword is neither a row nor a column, and is therefore not a valid keyword. Therefore, there is no merge print data for the keyword that follows this merge print mark, and the merge print mark is not treated as a control code, but as a normal character, and the same processing as when there is no merge print mark is performed. Then, the process moves to block 330, printing processing.

ブロツク260で行を示しているキーワードと判
定された場合は、ブロツク280に移つてその示し
ている行が差込み印刷データとして表データ中に
存在しているか否かのチエツクを行なう。
If it is determined in block 260 that the keyword indicates a row, the process moves to block 280 to check whether the indicated row exists in the table data as insert print data.

同様に、ブロツク270で列を示していると判定
されたキーワードに対する差込み印刷データが、
表データ中に存在しているか否かのチエツクをブ
ロツク290で行なう。このチエツクは、ブロツク
210で読み込んだ表構成の管理情報と比較する事
により行なう。
Similarly, the merge data for the keyword determined in block 270 to indicate a column is
A check is made at block 290 to see if it exists in the table data. This check is for block
This is done by comparing it with the table structure management information read in step 210.

ブロツク280のチエツクで、キーワードが示し
ている行が表データ中に存在していない場合は、
差込み印刷マークを通常の文字として扱い、差込
み印刷マーク無しの場合と同様に印刷処理330
を行なう。ブロツク290においても同様にチエツ
クを行ない、キーワードが示している列が表デー
タ中に存在していない場合は、差込み印刷マーク
無しの印刷処理330を行なう。
When checking block 280, if the row indicated by the keyword does not exist in the table data,
The mail merge mark is treated as a normal character, and the printing process 330 is performed in the same way as when there is no mail merge mark.
Do this. A similar check is performed in block 290, and if the column indicated by the keyword does not exist in the table data, print processing 330 without insertion print mark is performed.

一方、ブロツク280,290で、キーワードの示す
行ならびに列が存在する場合には、それぞれブロ
ツク300,310で差込み印刷データを取得する。こ
の時、キーワードとして行データが差込み印刷デ
ータとして指定された場合は、ブロツク300で表
データの1行分の文字列データを取得する。しか
し、キーワードとして列データが差込み印刷デー
タとして指定された場合は、列データがバツフア
上に一連の文字列としては存在ず、バツフア上に
規即的に散らばつて存在するため、ブロツク310
ではそれを一連の差込み印刷データに編集し直さ
なければならない。この編集は、表構成の管理情
報より指定列の先頭行のバツフア上の位置、1行
の文字数と指定列の文字数の情報から行なわれ
る。
On the other hand, if the row and column indicated by the keyword exist in blocks 280 and 290, insert print data is obtained in blocks 300 and 310, respectively. At this time, if line data is specified as a keyword as insert print data, in block 300 character string data for one line of table data is obtained. However, if column data is specified as the merge print data as a keyword, the column data does not exist as a series of character strings on the buffer, but is scattered randomly on the buffer, so the block 310
Now you have to edit it back into a series of merge print data. This editing is performed based on information about the position on the buffer of the first row of the specified column, the number of characters in one line, and the number of characters in the specified column from the management information of the table structure.

ブロツク310での処理の詳細を、第8図を用い
て説明する。まず、ブロツク311で差込み文字列
データ作成のための行カウンタの初期設定を行な
う。ブロツク312では差込み印刷データを作成す
るためのワークエリアの初期クリアを行なう。ブ
ロツク313では各行の印刷データをセツトする位
置を示すポインタの初期設定を行なう。ブロツク
314では、ブロツク311あるいはブロツク317で設
定される行番号と、指定列番号によりブツフア上
にある位置を求め、この位置から指定列の文字数
分の印刷データを取得する。ブロツク315では、
ブロツク313で設定されたポインタを参照し、差
込み印刷データ作成ワークエリアにブロツク314
で取得した文字列印刷データをセツトする。ブロ
ツク316では指定列の差込み印刷データの作成が
終了したか否かを判定する。終了した場合は、第
7図のブロツク320へ進み、ブロツク300,310で
作成した差込み印刷データを、印刷すべき文書デ
ータの差込み印刷マークの位置に挿入する。この
時、差込み印刷マークの位置に差込み印刷データ
を置くだけでは差込み印刷マークの後に印刷すべ
き文字列データがあつた場合に、その文字列デー
タを破壊してしまう。そこでブロツク320では差
込み印刷データを置く前に、差込み印刷マークの
後に続く印刷すべき文字列データの退避を行なわ
なければならない。その退避を行なつた後に差込
み印刷データの挿入を行なう。
The details of the processing in block 310 will be explained using FIG. First, in block 311, a line counter for creating inserted character string data is initialized. Block 312 performs initial clearing of the work area for creating merge print data. In block 313, a pointer indicating the position where each line of print data is set is initialized. block
In step 314, a position on the buffer is determined based on the line number set in block 311 or block 317 and the specified column number, and print data for the number of characters in the specified column is obtained from this position. In block 315,
Refer to the pointer set in block 313 and place block 314 in the merge print data creation work area.
Set the string print data obtained in . In block 316, it is determined whether the creation of insert print data for the specified column has been completed. If completed, the process advances to block 320 in FIG. 7, where the merge print data created in blocks 300 and 310 is inserted at the position of the merge print mark in the document data to be printed. At this time, if the merge print data is simply placed at the position of the merge print mark, if there is character string data to be printed after the merge print mark, that character string data will be destroyed. Therefore, in block 320, before placing the merge print data, it is necessary to save the character string data to be printed following the merge print mark. After the data is saved, the insert print data is inserted.

ブロツク320での処理の詳細を、第9図を用い
て説明する。ブロツク321で差込み印刷マーク以
降の文字列データが差込み印刷データを挿入する
ことで破壊されないようにするために該文字列デ
ータを退避エリアに移しておく。ブロツク322で
は前述のようにして作成した差込み印刷データを
差込み印刷マークの位置から挿入する。ブロツク
323では、退避した文字列データを回復するため
に、差込み印刷マークの位置と差込み印刷データ
の文字数とにより、差込み後の文字末尾の更新を
行なう。ブロツク314では、ブロツク323で更新さ
れた文字末尾位置を参照し、退避していた文字列
データを回復させる。
The details of the processing at block 320 will be explained using FIG. In block 321, the character string data after the merge print mark is moved to a save area in order to prevent it from being destroyed by inserting the merge print data. In block 322, the merge print data created as described above is inserted from the position of the merge print mark. block
323, in order to recover the saved character string data, the end of the characters after insertion is updated based on the position of the insertion print mark and the number of characters in the insertion print data. In block 314, the character end position updated in block 323 is referred to and the saved character string data is recovered.

以上の処理により、ブロツク320の差込み印刷
データの挿入が終わる。
With the above processing, insertion of the merge print data in block 320 is completed.

この差込み処理において、ある間隔をおいて行
データあるいは列データの各項目を差込みたいと
いう場合には、タブ・枠などを設定しておく事に
より、所望の間隔で各項目の差込みが行なわれ
る。
In this insertion process, if it is desired to insert each item of row data or column data at a certain interval, by setting tabs, frames, etc., each item is inserted at the desired interval.

次に、ブロツク320で作成された文字列データ
を、印刷用行データバツフアに送り印刷する処理
をブロツク330にて行なう。ブロツク330では行デ
ータバツフアに送られたデータをもとに、第1図
の印刷装置により印刷を行なう印刷後、ブロツク
340にて、指定された印刷文書データの印刷がす
べて終了したか否かのチエツクを行ない、終了し
ている場合は処理を終了し、印刷が終了していな
い場合にはブロツク350にて行番号の更新を行な
つてブロツク230へ戻り前述の処理を繰り返す。
Next, in block 330, the character string data created in block 320 is sent to a print line data buffer and printed. In block 330, the printing device shown in FIG. 1 performs printing based on the data sent to the line data buffer.
In block 340, a check is made to see if all of the specified print document data has been printed, and if it has been, the process is terminated, and if printing has not been completed, the line number is entered in block 350. is updated, and the process returns to block 230 to repeat the process described above.

上記説明においては、差込み印刷データの指定
キーワードとして表の行番号あるいは列番号の指
定について説明したが、行と列の組み合せ指定に
よりある項目を示すキーワードとしても扱える。
しかし、この場合、行、列を指定する際に、差込
み印刷マークの後に、X行Y列と指定しただけで
は、前述の処理フローにおけるチエツクでは、先
に指定した行のデータしか読み取らず、行データ
の差込み印刷を行なつてしまう。そこで、項目を
指定する際には、差込み印刷マークの後に、項目
を指定するという意味で、制御符号を添えて指定
するようにし、項目の指定か、行あるいは列の指
定かという区別をチエツクする処理フローとす
る。
In the above explanation, the row number or column number of a table is specified as a keyword for specifying merge print data, but it can also be treated as a keyword indicating a certain item by specifying a combination of rows and columns.
However, in this case, when specifying rows and columns, if you just specify X row and Y column after the merge print mark, the check in the process flow described above will only read the data in the previously specified row, and the row You end up printing data by merging it. Therefore, when specifying an item, specify it with a control sign after the mail merge mark to indicate that the item is specified, and check whether it is an item specification or a row or column specification. Process flow.

この場合のデータ処理フローについて、第10
図を用いて説明する。まず、第10図のブロツク
250(第7図のブロツク250と同じ)における差込
み印刷マークの有無チエツクで差込み有りとなつ
た場合、ブロツク410において、差込み印刷マー
クの後に項目指定のための制御符号データがある
か否かをチエツクする。もし、ない場合にはブロ
ツク260(第7図のブロツク260と同じ)へ進む。
項目指定の制御符号データが存在した場合には、
ブロツク420に移つて表構成の管理情報と比較す
る事により指定された項目が存在するか否かをチ
エツクする。指定項目が存在しない場合には、ブ
ロツク320(第7図のブロツク320と同じ)へ進む。
存在する場合には、ブロツク430で指定項目のデ
ータの取得を行なう。取得の方法は列の差込み印
刷データの作成方法と同様な考え方で、指定行の
バツフア上の位置に、指定列の行の先頭からの位
置を加えれば、指定項目のデータの取得ができ
る。その後にブロツク320へ進む。
Regarding the data processing flow in this case, the 10th
This will be explained using figures. First, the block in Figure 10
250 (same as block 250 in FIG. 7), if the presence or absence of the merge print mark is found to be inserted, then in block 410, it is checked whether there is control code data for specifying an item after the merge print mark. do. If not, proceed to block 260 (same as block 260 in FIG. 7).
If control code data for item specification exists,
Moving to block 420, it is checked whether the specified item exists by comparing it with the table-structured management information. If the specified item does not exist, the process advances to block 320 (same as block 320 in FIG. 7).
If it exists, data of the specified item is acquired in block 430. The method of acquisition is similar to the method of creating column merge print data, and by adding the position of the specified column from the beginning of the row to the buffer position of the specified row, data for the specified item can be obtained. Then proceed to block 320.

以上のデータ処理により、項目指定の場合の差
込み印刷データの取得が行なえる。
Through the data processing described above, merge print data can be obtained when an item is specified.

〔発明の効果〕〔Effect of the invention〕

本発明により、表データを差込み印刷データと
して使用する場合、既存の表データの行番号およ
び/または列番号で指定できるので、新たに表デ
ータを編集して差込み印刷データを作成して差込
み印刷用表データを作成する処理が不要となり、
オペレータの操作が容易になる。また、行あるい
は列の指定番号をキーワードとするため、既存の
表データにおける、行単位、列単位の一連のデー
タを一つの差込み印刷データとして指定する事が
可能になる。
According to the present invention, when table data is used as merge print data, it can be specified by the row number and/or column number of the existing table data, so you can newly edit the table data and create merge print data for merge print. The process of creating table data is no longer necessary,
Operator operations become easier. Furthermore, since the row or column designation number is used as a keyword, it becomes possible to designate a series of row-by-row and column-by-column data in existing table data as one merge print data.

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

第1図〜第3図は従来の表データ差込み印刷装
置を説明するためのもので、第1図は文書処理装
置のブロツク図、第2図a〜cはそれぞれ印刷デ
ータ例、第3図は制御装置のデータ処理フローチ
ヤートである。第4図〜第10図は本発明の表デ
ータ差込み印刷装置の実施例を説明するためのも
ので、第4図は表データ例、第5図は印刷文書デ
ータ例、第6図は印刷された文書例、第7図〜第
10図は制御装置のデータ処理フローチヤートで
ある。 1……入力装置、2……主記憶装置、3……補
助記憶装置、4……表示装置、5……印刷装置、
6……制御装置、250〜290……差込み印刷
データの有無をチエツクする処理ステツプ、30
0……差込み印刷用の表データから行の差込み印
刷データを読出す処理ステツプ、310……差込
み印刷用の表データから列の差込み印刷データを
読出す処理ステツプ、320……印刷文書データ
に差込み印刷データを挿入する処理ステツプ、3
30……印刷処理ステツプ。
Figures 1 to 3 are for explaining a conventional table data insertion printing device. Figure 1 is a block diagram of a document processing device, Figures 2 a to c are examples of print data, and Figure 3 is a block diagram of a document processing device. It is a data processing flowchart of a control device. 4 to 10 are for explaining an embodiment of the table data insertion printing apparatus of the present invention. FIG. 4 is an example of table data, FIG. 5 is an example of printed document data, and FIG. 6 is an example of printed document data. The document examples shown in FIGS. 7 to 10 are data processing flowcharts of the control device. 1... Input device, 2... Main storage device, 3... Auxiliary storage device, 4... Display device, 5... Printing device,
6...Control device, 250-290...Processing step for checking the presence or absence of merge print data, 30
0...Processing step of reading merge print data of rows from table data for mail merge printing, 310...Processing step of reading merge print data of columns from table data for mail merge printing, 320...Merge into print document data Processing step for inserting print data, 3
30...Print processing step.

Claims (1)

【特許請求の範囲】[Claims] 1 入力装置と、この入力装置から入力された文
字コード、表データ、文字フオント、プログラム
等を格納する記憶装置と、前記入力装置から入力
された文字や記憶装置の記憶内容を表示する表示
装置と、前記記憶装置の記憶内容を印刷する印刷
装置と、前記各装置を制御し、且つ前記入力装置
からの入力で指定された印刷文書データおよび該
データ中にある差込み印刷指示データで指定され
た表データ内の差込み印刷データを前記印刷文書
データ中の文字データと共に印刷するように編集
して前記印刷装置に出力する制御装置とを備えた
表データ差込み印刷装置において、前記制御装置
は、前記表データにおける行および/または列に
対応して前記印刷文書データ中の差込み印刷指示
データに存在する行番号および/または列番号を
キーワードとして前記表データを検索して差込み
印刷データを読出す手段と、この手段によつて読
出された差込み印刷データを前記差込み印刷指示
データに代えて前記印刷文書データ中に挿入する
手段と、差込み印刷データが挿入たれた印刷文書
データを前記印刷装置に出力する手段を有するこ
とを特徴とする表データ差込み印刷装置。
1. An input device, a storage device that stores character codes, table data, character fonts, programs, etc. input from the input device, and a display device that displays characters input from the input device and the contents stored in the storage device. , a printing device that prints the contents stored in the storage device, and a printing device that controls each of the devices and print document data specified by input from the input device and a table specified by merge print instruction data included in the data. In a tabular data insert printing device, the control device edits insert print data in the data so as to print it together with character data in the print document data, and outputs the edited data to the printing device. means for reading the merge print data by searching the table data using a row number and/or column number existing in the merge print instruction data in the print document data as a keyword corresponding to the row and/or column in the print document data; means for inserting the merge print data read by the means into the print document data instead of the merge print instruction data; and means for outputting the print document data into which the merge print data has been inserted to the printing device. A table data insertion printing device characterized by the following.
JP59032402A 1984-02-24 1984-02-24 Table data insertion printing device Granted JPS60176784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59032402A JPS60176784A (en) 1984-02-24 1984-02-24 Table data insertion printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59032402A JPS60176784A (en) 1984-02-24 1984-02-24 Table data insertion printing device

Publications (2)

Publication Number Publication Date
JPS60176784A JPS60176784A (en) 1985-09-10
JPH0361596B2 true JPH0361596B2 (en) 1991-09-20

Family

ID=12357957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59032402A Granted JPS60176784A (en) 1984-02-24 1984-02-24 Table data insertion printing device

Country Status (1)

Country Link
JP (1) JPS60176784A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62115521A (en) * 1985-11-15 1987-05-27 Casio Comput Co Ltd Regular format printing system
JPS63244263A (en) * 1987-03-31 1988-10-11 Matsushita Electric Ind Co Ltd document processing device
JPH0749228B2 (en) * 1990-07-26 1995-05-31 カシオ計算機株式会社 Form output device
JPH10124495A (en) * 1996-08-16 1998-05-15 Pfu Ltd Original text generation processing device and its program storage medium
WO1998032081A1 (en) * 1997-01-21 1998-07-23 Pfu Limited Device and method for preparing original text and program storing medium for the same
JP6551846B2 (en) * 2016-07-25 2019-07-31 株式会社プロフィールド Page processing apparatus, page processing method, and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57103584A (en) * 1980-12-19 1982-06-28 Sharp Corp Editing processor
JPS5868136A (en) * 1981-10-19 1983-04-22 Canon Inc character processing device

Also Published As

Publication number Publication date
JPS60176784A (en) 1985-09-10

Similar Documents

Publication Publication Date Title
US4393463A (en) Insertion of character set change codes in an altered text stream
US4435778A (en) Method for editing spatially related data in an interactive text processing system
US4717911A (en) Technique for chaining lines of a document together to facilitate editing or proofreading
JPH0361596B2 (en)
US5428777A (en) Automatic index for yearbooks with spell checking capabilities
JPS645344B2 (en)
JPS60222270A (en) Table data insertion printer
JPH0430074B2 (en)
JPS6365988B2 (en)
JP2562497B2 (en) Annotation word processor
JPH09330107A (en) Commenting method in ladder diagram creation CAD system for programmable controller
JPH0128974B2 (en)
JPH03185559A (en) Document shaping device
JP2534685B2 (en) Information display method
JPH0290360A (en) In-document reference processing method
JPH0225967A (en) Misinput correction system for homophone
JPH067399Y2 (en) Edit data output device
JPH03269665A (en) Original character drawing/character font control system
JPH01222368A (en) Input editing method
JPS6231375B2 (en)
JPH04190450A (en) Document processor
JP2713942B2 (en) Kana-Kanji conversion device
JPH0734197B2 (en) Information processing equipment
JPH07249034A (en) Character string extraction processing device
JPS616761A (en) document creation device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees