JP2798637B2 - Overlay printing method - Google Patents

Overlay printing method

Info

Publication number
JP2798637B2
JP2798637B2 JP8012642A JP1264296A JP2798637B2 JP 2798637 B2 JP2798637 B2 JP 2798637B2 JP 8012642 A JP8012642 A JP 8012642A JP 1264296 A JP1264296 A JP 1264296A JP 2798637 B2 JP2798637 B2 JP 2798637B2
Authority
JP
Japan
Prior art keywords
data
overlay
print data
decomposed
individual print
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
JP8012642A
Other languages
Japanese (ja)
Other versions
JPH09204280A (en
Inventor
佳代子 越智
Original Assignee
中国日本電気ソフトウェア株式会社
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 中国日本電気ソフトウェア株式会社 filed Critical 中国日本電気ソフトウェア株式会社
Priority to JP8012642A priority Critical patent/JP2798637B2/en
Publication of JPH09204280A publication Critical patent/JPH09204280A/en
Application granted granted Critical
Publication of JP2798637B2 publication Critical patent/JP2798637B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はオーバレイ印刷方式
に関し、特にオーバレイ印刷機能を内蔵していないプリ
ンタを用いてオーバレイ印刷処理を行わせるためのオー
バレイ印刷方式に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an overlay printing method, and more particularly to an overlay printing method for performing an overlay printing process using a printer having no built-in overlay printing function.

【0002】[0002]

【従来の技術】従来、オーバレイ印刷機能を持たないプ
リンタを用いて、別々に格納されている表や見出し文字
を含む会計表などの帳票イメージデータ(オーバレイデ
ータ)と、帳票内の各項目欄に印刷する文字や数字など
のデータ(個別印刷データ)とを重ねてオーバレイ印刷
させるための最も一般的な方法は、プリンタに対しオー
バレイデータと個別印刷データとを別々に与え、同じ用
紙に2度打ちさせる方法であった。
2. Description of the Related Art Conventionally, using a printer having no overlay printing function, form image data (overlay data) such as a separately stored table and accounting table including a heading character, and each item column in the form. The most common method for overlay printing with data such as characters and numbers to be printed (individual print data) is to give the overlay data and the individual print data separately to a printer, and to strike the same sheet twice. It was a way to make it.

【0003】この2度打ちを避けるための従来の技術と
して、特開平2―253426号公報には、オーバレイ
データと個別印刷データとをそれぞれページ単位でドッ
トイメージに変換し、変換したオーバレイデータ及び個
別印刷データのドットイメージをマージしてプリンタに
供給することにより、オーバレイ印刷を行わせるページ
バッファ制御方式が開示されている。
As a conventional technique for avoiding the double hit, Japanese Patent Laid-Open Publication No. Hei 2-353426 discloses that overlay data and individual print data are converted into dot images in page units, and the converted overlay data and individual print data are converted into dot images. A page buffer control method for performing overlay printing by merging dot images of print data and supplying the merged dot images to a printer is disclosed.

【0004】[0004]

【発明が解決しようとする課題】上述した最初の方式
は、プリンタがオーバレイデータを印刷した後、重ねて
同じ位置に個別印刷データの印刷を行うため、印刷に時
間がかかりプリンタが一定時間内に処理できる印刷件数
が少なくなるという欠点がある。
In the first method described above, since the printer prints the overlay data and then prints the individual print data at the same position in a superimposed manner, it takes a long time to print and the printer takes less than a fixed time. There is a disadvantage that the number of prints that can be processed is reduced.

【0005】又、ページバッファ制御方式においては、
2度打ちを行わず1回の印刷動作でオーバレイ印刷を行
わせることができるが、オーバレイデータと個別印刷デ
ータとを一度ページ単位でドットイメージに変換し、ド
ットイメージに変換したオーバレイデータと個別印刷デ
ータとをページ単位でマージし、マージしたドットイメ
ージのデータをプリンタに供給して印刷させるため、マ
ージ処理のために多量のメモリ領域が必要となり、プリ
ンタに対する転送データ量も増加し、プリンタ固有のフ
ォントを使用できないなどの欠点がある。
In the page buffer control system,
Overlay printing can be performed in a single printing operation without performing double hitting. However, overlay data and individual print data are converted to dot images once in page units, and overlay data converted to dot images and individual prints are printed. Data is merged page by page, and the merged dot image data is supplied to the printer for printing, so a large amount of memory area is required for the merge process, the amount of data transferred to the printer also increases, and printer-specific There are disadvantages such as the inability to use fonts.

【0006】本発明の目的は、上述の欠点を除去し、使
用するメモリ領域および転送データ量が少なく、プリン
タ固有のフォントを使用できるオーバレイ印刷方式を提
供することにある。
It is an object of the present invention to provide an overlay printing method which eliminates the above-mentioned disadvantages, uses a small memory area and a small amount of transfer data, and can use a printer-specific font.

【0007】[0007]

【課題を解決するための手段】請求項1のオーバレイ印
刷方式は、オーバレイ印刷機能を内蔵していないプリン
タを用い表や見出し文字を含む帳票イメージなどのオー
バレイデータと帳票内の各項目欄に印刷する文字や数字
などの個別印刷データとのオーバレイ印刷を行わせるた
めのオーバレイ印刷方式において、印刷命令を受け付け
て1頁分のオーバレイデータと1頁分の個別印刷データ
とを入手するオーバレイ印刷受け付け手段と、前記1頁
分のオーバレイデータを解析して行単位の分解オーバレ
イデータに分解し整列記憶するオーバレイデータ分解手
段と、前記1頁分の個別印刷データを解析して行単位の
分解個別印刷データに分解し整列記憶する個別印刷デー
タ分解手段と、分解された同一行の分解オーバレイデー
タ及び分解個別印刷データを取り出して印刷すべき実デ
ータの有無をチェックし双方に実データが存在するもの
を抽出する重なりチェック手段と、同一行内に実データ
が存在する分解オーバレイデータと分解個別印刷データ
とをマージし分解合成印刷データを作成するデータマー
ジ手段と、実データが存在する分解オーバレイデータ,
分解個別印刷データ又はマージされた分解合成印刷デー
タを行単位で一時格納する物理行バッファと、プリンタ
に対して前記物理行バッファの内容を転送して印刷要求
する印刷要求手段とを備えて構成されている。
According to the first aspect of the present invention, there is provided an overlay printing method in which a printer having no overlay printing function is used to print overlay data such as a table or a form image including a heading character and each item column in the form. In an overlay printing method for performing overlay printing with individual print data such as characters and numbers to be printed, overlay print receiving means for receiving a print command and obtaining one page of overlay data and one page of individual print data An overlay data decomposing means for analyzing the overlay data for one page to decompose into line-by-line decomposed overlay data and storing the data separately; and analyzing the individual print data for one page and decomposing individual line data for each line. Individual print data decomposing means for decomposing and sorting and storing the decomposed overlay data and decomposed individual marks on the same line decomposed Overlap checking means for extracting data and checking whether there is actual data to be printed, and extracting data having actual data on both sides, and merging the disassembled overlay data having the actual data in the same line with the disassembled individual print data. A data merging unit for creating the separated composite print data;
A physical line buffer for temporarily storing the separated individual print data or the merged separated and synthesized print data on a line-by-line basis; and print request means for transferring the contents of the physical line buffer to a printer and requesting printing. ing.

【0008】請求項2のオーバレイ印刷方式は、請求項
1記載のオーバレイ印刷方式において、前記個別印刷デ
ータ分解手段が行単位に分解された分解個別印刷データ
を整列記憶することなく逐次出力し、前記重なりチェッ
ク手段が前記個別印刷データ分解手段から逐次出力され
る分解個別印刷データと同一行の分解オーバレイデータ
を取り出して印刷すべき実データの有無をチェックし双
方に実データが存在するものを抽出することを特徴とし
ている。
According to a second aspect of the present invention, in the overlay printing system according to the first aspect, the individual print data decomposing means sequentially outputs the decomposed individual print data decomposed in units of lines without aligning and storing. The overlap checker takes out the disassembly overlay data on the same line as the disassembled individual print data sequentially output from the individual print data disassembler, checks whether there is actual data to be printed, and extracts those for which actual data exists on both sides. It is characterized by:

【0009】請求項3のオーバレイ印刷方式は、請求項
1又は2記載のオーバレイ印刷方式において、前記物理
行バッファが、複数行分の実データが存在する分解オー
バレイデータ,分解個別印刷データ又はマージされた分
解合成印刷データを一時格納できることを特徴としてい
る。
According to a third aspect of the present invention, in the overlay printing system according to the first or second aspect, the physical row buffer is composed of decomposed overlay data, decomposed individual print data, or merged individual print data in which actual data for a plurality of rows exists. It is characterized in that the separated combined print data can be temporarily stored.

【0010】[0010]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0011】図1は本発明の一実施形態の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention.

【0012】本実施形態のオーバレイ印刷方式は、図1
に示すように、オーバレイ印刷のための前処理を行うオ
ーバレイ処理部1と、表や見出し文字を含む1頁分の帳
票イメージデータから成るオーバレイデータ2と、帳票
内の各項目欄に印刷する1頁分の文字や数字などのデー
タから成る個別印刷データ3と、オーバレイ印刷機能を
持たないプリンタ4とから構成されている。オーバレイ
処理部1は、オーバレイ印刷受け付け手段5,オーバレ
イデータ分解手段6,個別印刷データ分解手段7,重な
りチェック手段8,データマージ手段9,物理行バッフ
ァ10,印刷要求手段11から構成され、1頁分のオー
バレイデータ2及び個別印刷データ3を入力し、行単位
の合成印刷データを作成してプリンタ4に供給し、1回
の印刷動作でオーバレイ印刷を行わせる。
The overlay printing method of the present embodiment is shown in FIG.
As shown in (1), an overlay processing unit 1 for performing pre-processing for overlay printing, overlay data 2 including one page of form image data including a table and a heading character, and printing 1 in each item column in the form It comprises individual print data 3 composed of data such as characters and numerals for a page, and a printer 4 having no overlay printing function. The overlay processing unit 1 is composed of overlay print receiving means 5, overlay data decomposing means 6, individual print data decomposing means 7, overlap checking means 8, data merging means 9, physical row buffer 10, and print request means 11, and is composed of one page. The overlay data 2 and the individual print data 3 for each minute are input, and the composite print data for each line is created and supplied to the printer 4, and the overlay printing is performed by one printing operation.

【0013】上位装置からオーバレイ処理部1に対しオ
ーバレイ印刷の指示が出されると、オーバレイ印刷受け
付け手段5は、指定された1頁分のオーバレイデータ2
を上位装置の書式情報ファイル等から受け取りオーバレ
イデータ分解手段6に、指定された1頁分の個別印刷デ
ータ3を上位装置の印刷データファイル等から受け取り
個別印刷データ分解手段7に送る。
When an instruction for overlay printing is issued from the host device to the overlay processing unit 1, the overlay print accepting means 5 sends the specified overlay data 2 for one page.
Is received from the format information file or the like of the higher-level device, and the specified one page of individual print data 3 is received from the print data file or the like of the higher-level device and sent to the individual print data decomposing means 7.

【0014】オーバレイデータ分解手段6は、受け取っ
た1頁分のオーバレイデータ2を解析して行単位に分解
し、行番号をキー情報とする各行ごとの分解オーバレイ
データ12を作成し昇順に配列記憶する。上位装置から
受け取るオーバレイデータ2及び個別印刷データ3は、
通常、頁の先頭行あるいは直前の印字行から何行改行す
るかを示す改行情報と、その行に印字される文字等(記
号,罫線文字を含む)の文字コード及び位置情報を含む
印刷データとで構成され、実際に印字する文字等が存在
する行の情報のみから成るが、これを処理しやすい行番
号順の形式に変更して配列し直す。
The overlay data decomposing means 6 analyzes the received overlay data 2 for one page, decomposes the data in units of lines, creates decomposed overlay data 12 for each line using the line number as key information, and stores the data in ascending order. I do. The overlay data 2 and the individual print data 3 received from the host device are
Normally, line feed information indicating the number of line feeds from the first line of the page or the immediately preceding print line, and print data including character codes and position information of characters (including symbols and ruled line characters) to be printed on the line. , And consists only of the information of the line where the character or the like to be actually printed exists.

【0015】個別印刷データ分解手段7は、同様にし
て、受け取った1頁分の個別印刷データ3を解析して行
単位に分解し、行番号をキー情報とする各行ごとの分解
個別印刷データ13を作成し昇順に配列記憶する。
Similarly, the individual print data decomposing means 7 analyzes the received individual print data 3 for one page and decomposes the data in units of lines, and decomposes individual print data 13 for each line using the line number as key information. Are created and stored in ascending order.

【0016】1頁分(n行)の分解オーバレイデータ1
2及び分解個別印刷データ13の作成が終了すると、重
なりチェック手段8は、行番号をキーとして先頭から1
行分の分解オーバレイデータ12と分解個別印刷データ
13とを取り出し、印刷すべき実データがそれぞれに存
在するか否かをチェックする。このチェックにより、印
刷すべき実データが分解オーバレイデータ12のみに存
在した場合には、物理行バッファ10にその分解オーバ
レイデータ12を、印刷すべき実データが分解個別印刷
データ13のみに存在した場合には、物理行バッファ1
0にその分解個別印刷データ13を、それぞれプリンタ
が理解できる形式に変換(行番号を改行情報に戻す等)
してプリンタ制御データとして格納し、次の行番号の処
理に移行する。チェックの結果、印刷すべき実データが
分解オーバレイデータ12及び分解個別印刷データ13
の双方に存在する場合には、データマージ手段9を介し
て両者の実データをマージしてプリンタが理解できる形
式の分解合成印刷データを生成し、これを物理行バッフ
ァ10にプリンタ制御データとして格納して次の行番号
の処理に移る。なお、印刷すべき実データが分解オーバ
レイデータ12にも分解個別印刷データ13にも存在し
ない場合には、物理行バッファ10には何も格納せずに
次の行番号の処理に移行する。以上の処理を最後の行番
号(#n)の処理が終了するまで繰り返す。
Decomposition overlay data 1 for one page (n rows)
When the creation of the print data 2 and the separated individual print data 13 is completed, the overlap checking means 8 uses the line number as a key to
The separation overlay data 12 and the separation individual print data 13 for the line are extracted, and it is checked whether or not there is actual data to be printed. As a result of this check, if the actual data to be printed exists only in the disassembled overlay data 12, the actual overlay data 12 is stored in the physical row buffer 10. Contains the physical row buffer 1
Convert the decomposed individual print data 13 into a format that can be understood by the printer to 0 (return line numbers to line feed information, etc.)
Then, the data is stored as printer control data, and the process proceeds to the next line number. As a result of the check, the actual data to be printed is the separated overlay data 12 and the separated individual print data 13.
If both exist, the actual data of both are merged via the data merging means 9 to generate decomposed and synthesized print data in a format that can be understood by the printer, and this is stored in the physical row buffer 10 as printer control data. Then, the process moves to the next line number. If the actual data to be printed does not exist in the decomposed overlay data 12 or the decomposed individual print data 13, nothing is stored in the physical row buffer 10 and the process proceeds to the next line number. The above processing is repeated until the processing of the last line number (#n) ends.

【0017】物理行バッファ10にプリンタ制御データ
が格納されると、印刷要求手段11がプリンタ制御デー
タをプリンタ4に渡して印刷を要求する。プリンタ4が
このプリンタ制御データに従ってドットイメージに展開
し印刷することにより、1回の印刷動作で帳票イメージ
と文字データとのオーバレイ印刷が行われる。
When the printer control data is stored in the physical row buffer 10, the print request means 11 passes the printer control data to the printer 4 and requests printing. The printer 4 develops and prints a dot image in accordance with the printer control data, so that overlay printing of the form image and the character data is performed in a single printing operation.

【0018】以下に、図2に示す印刷イメージの具体例
について上述の動作を説明する。図2(a)は1頁分の
オーバレイデータの印刷イメージを、図2(b)は1頁
分の個別印刷データの印刷イメージをそれぞれ示し、図
2(c)に両者をオーバレイ印刷した結果の印刷イメー
ジが示してある。オーバレイ処理部1のオーバレイ印刷
受け付け手段5は、まず1頁分のオーバレイデータ2と
1頁分の個別印刷データ3とを入力する。図2(a)の
印刷イメージに対応するオーバレイデータは、図3
(a)に示すように、改行情報と印刷データ(文字コー
ド及びその位置情報から成り図には印刷イメージで表示
してある)とから成る複数のレコードで構成され、印刷
イメージが存在する1行目,2行目,3行目の3行分の
レコードが存在している。一方、図2(b)の印刷イメ
ージに対応する個別印刷データは、図3(b)に示すよ
うに、印刷イメージが存在する2行目と5行目との2行
分のレコードで構成されている。
Hereinafter, the above-described operation will be described with respect to a specific example of the print image shown in FIG. 2A shows a print image of the overlay data for one page, and FIG. 2B shows a print image of the individual print data for one page. FIG. 2C shows the result of overlay printing of both. The print image is shown. The overlay print accepting means 5 of the overlay processing unit 1 first inputs the overlay data 2 for one page and the individual print data 3 for one page. The overlay data corresponding to the print image in FIG.
As shown in (a), each line is composed of a plurality of records including line feed information and print data (consisting of a character code and its position information and displayed as a print image in the figure), and one line where the print image exists. There are three rows of records in the first, second, and third rows. On the other hand, as shown in FIG. 3B, the individual print data corresponding to the print image in FIG. 2B is composed of two rows of records, ie, the second row and the fifth row in which the print image exists. ing.

【0019】オーバレイデータ分解手段6は、図3
(a)に示す1頁分のオーバレイデータを解析して行単
位に分解し、図4(a)に示すように、5行分の分解オ
ーバレイデータ12―1〜12―5を作成して行番号順
に配列する。
The overlay data decomposing means 6 is shown in FIG.
The overlay data for one page shown in (a) is analyzed and decomposed in units of lines, and as shown in FIG. 4 (a), decomposed overlay data 12-1 to 12-5 for five lines are created and Arrange in numerical order.

【0020】個別印刷データ分解手段7は、同様にし
て、図3(b)に示す1頁分の個別印刷データを解析し
て行単位に分解し、図4(b)に示すように、5行分の
分解個別印刷データ13―1〜13―5を作成して行番
号順に配列する。
Similarly, the individual print data decomposing means 7 analyzes the individual print data for one page shown in FIG. 3 (b) and decomposes it in units of lines, and as shown in FIG. Separated individual print data 13-1 to 13-5 for lines are created and arranged in line number order.

【0021】オーバレイデータ分解手段6及び個別印刷
データ分解手段7による分解オーバレイデータ12及び
分解個別印刷データ13の作成と展開が終了すると、図
1の重なりチェック手段8は、先頭から行番号#1の分
解オーバレイデータ12―1及び分解個別印刷データ1
3―1を取り出す。行番号#1で実際に印刷すべき実デ
ータが存在するのは分解オーバレイデータ12―1のみ
なので、重なりチェック手段8は、分解オーバレイデー
タ12―1のみを物理行バッファ10に格納する。続い
て行番号#2の処理に移行するが、行番号#2の分解オ
ーバレイデータ12―2と分解個別印刷データ13―2
には共に実データが存在するので、データマージ手段9
を介して両者をマージし、マージしたデータをプリンタ
制御データとして物理行バッファ10に格納する。行番
号#3で実データが存在するのは分解オーバレイデータ
12―3のみなので、分解オーバレイデータ12―3の
みを物理行バッファ10に格納する。次の行番号#4に
ついては、分解オーバレイデータ12―4にも分解個別
印刷データ13―4にも共に実データが存在しないの
で、物理行バッファ10に何も格納することなく次の行
番号の処理を行う。最後の行番号#5で実データが存在
するのは分解個別印刷データ13―5のみであるから、
分解個別印刷データ13―5のみを物理行バッファ10
に格納する。
When the creation and development of the decomposed overlay data 12 and the decomposed individual print data 13 by the overlay data decomposing means 6 and the individual print data decomposing means 7 are completed, the overlap check means 8 of FIG. Separated overlay data 12-1 and separated individual print data 1
Take out 3-1. Since only the decomposed overlay data 12-1 contains actual data to be actually printed at the line number # 1, the overlap check unit 8 stores only the decomposed overlay data 12-1 in the physical row buffer 10. Subsequently, the processing shifts to the processing of line number # 2, where the disassembled overlay data 12-2 and the separated individual print data 13-2 for line number # 2 are processed.
, Both have actual data, so the data merging means 9
And the merged data is stored in the physical row buffer 10 as printer control data. Since only the decomposed overlay data 12-3 exists in the row number # 3, only the decomposed overlay data 12-3 is stored in the physical row buffer 10. As for the next line number # 4, there is no actual data in both the decomposed overlay data 12-4 and the decomposed individual print data 13-4. Perform processing. Since actual data exists in the last line number # 5 only in the separated individual print data 13-5,
Only the separated individual print data 13-5 is stored in the physical row buffer 10
To be stored.

【0022】このようにして、図5に示す合成印刷デー
タの各レコードが順次プリンタ制御データとして物理行
バッファ10に格納され、印刷要求手段11によりプリ
ンタ4に転送され、図2(c)に示す印刷イメージのオ
ーバレイ印刷が1回の印刷動作で行われる。
As described above, each record of the composite print data shown in FIG. 5 is sequentially stored in the physical line buffer 10 as printer control data, transferred to the printer 4 by the print request means 11, and shown in FIG. Overlay printing of a print image is performed in one printing operation.

【0023】以上、1頁分のオーバレイデータと1頁分
の個別印刷データとをオーバレイ印刷させる場合につい
て詳細に説明したが、連続して同一の帳票に異なるデー
タを記入させる場合には、最初にオーバレイデータを分
解して整列記憶した後は、個別印刷データのみを順次入
力して分解し処理を行えばよい。
The case where overlay data of one page and individual print data of one page are overlay-printed has been described in detail above. However, when different data is continuously written in the same form, first, After the overlay data is decomposed and stored in an aligned manner, only the individual print data may be sequentially input to be decomposed and processed.

【0024】上述の説明では、個別印刷データもオーバ
レイデータと同様に分解して整列記憶させ、重なりチェ
ック手段が双方から同一行のデータを抽出して処理する
ものとしたが、オーバレイデータは同一データが連続使
用される場合が少なくないので分解した情報をメモリに
展開し整列記憶させるのがよいが、個別印刷データは同
一データが連続使用されることは稀であるので、メモリ
に整列記憶させることなく、個別印刷データ分解手段が
作成した行単位の分解個別印刷データを重なりチェック
手段で逐次処理する構成とすることもできる。又、物理
行バッファには1行分のプリンタ制御データを格納し、
印刷要求手段がプリンタに逐次転送するよう説明した
が、複数業分のプリンタ制御データを記憶し、まとめて
転送するように構成することもできる。
In the above description, the individual print data is also decomposed and aligned and stored in the same manner as the overlay data, and the overlap check means extracts and processes the same row of data from both. Is often used continuously, so it is better to develop the decomposed information in memory and store it in alignment. However, since the same data is rarely used continuously for individual print data, it is necessary to store it in memory. Alternatively, it is also possible to adopt a configuration in which the separated individual print data in line units created by the individual print data decomposing means is sequentially processed by the overlap check means. Also, one line of printer control data is stored in the physical line buffer,
Although the description has been given of the case where the print request unit sequentially transfers the data to the printer, the printer control data for a plurality of businesses may be stored and transferred collectively.

【0025】[0025]

【発明の効果】以上説明したように、本発明のオーバレ
イ印刷方式は、オーバレイ印刷機能を持たないプリンタ
に対してオーバレイ印刷を行わせる場合、オーバレイデ
ータと個別印刷データとをドットデータに変換すること
なくコードデータのまま必要な行のみマージし、プリン
タにコード形式のプリンタ制御データとして転送するた
め、プリンタはオーバレイ印刷を意識をせずに2度打ち
を行うことなく1回の印刷動作でオーバレイ印刷を実行
でき、前処理のために使用するメモリ領域も少なく、転
送データ量も増大せず、プリンタ固有のフォントも使用
できるなどの効果がある。
As described above, according to the overlay printing method of the present invention, when overlay printing is performed by a printer having no overlay printing function, the overlay data and the individual print data are converted into dot data. Since only the necessary lines are merged without changing the code data and transferred to the printer as printer control data in the form of code, the printer performs overlay printing in a single printing operation without performing double printing without being aware of overlay printing. Can be executed, the memory area used for preprocessing is small, the amount of transfer data is not increased, and fonts unique to the printer can be used.

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

【図1】本発明の一実施形態の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】オーバレイ印刷を説明するための具体例の印刷
イメージの説明図である。
FIG. 2 is an explanatory diagram of a print image of a specific example for explaining overlay printing.

【図3】図2の印刷イメージに対応するオーバレイデー
タ,個別印刷データの構成を示す説明図である。
FIG. 3 is an explanatory diagram showing a configuration of overlay data and individual print data corresponding to the print image of FIG. 2;

【図4】図3に対応する分解オーバレイデータ,分解個
別印刷データの構成を示す説明図である。
FIG. 4 is an explanatory diagram showing the configuration of the disassembled overlay data and the disassembled individual print data corresponding to FIG.

【図5】図3の分解オーバレイデータ,分解個別印刷デ
ータから得られる合成印刷データの構成を示す説明図で
ある。
FIG. 5 is an explanatory diagram showing a configuration of composite print data obtained from the decomposition overlay data and the decomposition individual print data of FIG. 3;

【符号の説明】[Explanation of symbols]

1 オーバレイ処理部 2 オーバレイデータ 3 個別印刷データ 4 プリンタ 5 オーバレイ印刷受け付け手段 6 オーバレイデータ分解手段 7 個別印刷データ分解手段 8 重なりチェック手段 9 データマージ手段 10 物理行バッファ 11 印刷要求手段 12,12―1〜12―5 分解オーバレイデータ 13,13―1〜13―5 分解個別印刷データ REFERENCE SIGNS LIST 1 overlay processing unit 2 overlay data 3 individual print data 4 printer 5 overlay print accepting means 6 overlay data decomposing means 7 individual print data decomposing means 8 overlap checking means 9 data merging means 10 physical row buffer 11 print request means 12, 12-1 1212-5 Separated overlay data 13, 13-1 to 13-5 Separated individual print data

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 オーバレイ印刷機能を内蔵していないプ
リンタを用い表や見出し文字を含む帳票イメージなどの
オーバレイデータと帳票内の各項目欄に印刷する文字や
数字などの個別印刷データとのオーバレイ印刷を行わせ
るためのオーバレイ印刷方式において、印刷命令を受け
付けて1頁分のオーバレイデータと1頁分の個別印刷デ
ータとを入手するオーバレイ印刷受け付け手段と、前記
1頁分のオーバレイデータを解析して行単位の分解オー
バレイデータに分解し整列記憶するオーバレイデータ分
解手段と、前記1頁分の個別印刷データを解析して行単
位の分解個別印刷データに分解し整列記憶する個別印刷
データ分解手段と、分解された同一行の分解オーバレイ
データ及び分解個別印刷データを取り出して印刷すべき
実データの有無をチェックし双方に実データが存在する
ものを抽出する重なりチェック手段と、同一行内に実デ
ータが存在する分解オーバレイデータと分解個別印刷デ
ータとをマージし分解合成印刷データを作成するデータ
マージ手段と、実データが存在する分解オーバレイデー
タ,分解個別印刷データ又はマージされた分解合成印刷
データを行単位で一時格納する物理行バッファと、プリ
ンタに対して前記物理行バッファの内容を転送して印刷
要求する印刷要求手段とを備えたことを特徴とするオー
バレイ印刷方式。
1. Overlay printing of overlay data such as a form image including a table and a heading character and individual print data such as characters and numbers to be printed in each item column in the form by using a printer which does not have an overlay printing function. In the overlay printing method for performing the above, an overlay print receiving means for receiving a print command to obtain one page of overlay data and one page of individual print data, and analyzing the one page of overlay data Overlay data decomposing means for decomposing into line-by-line decomposed overlay data and storing the data separately; and individual print data decomposing means for analyzing the one-page individual print data and decomposing the data into decomposed individual print data per line and storing the data separately. Take out the disassembled overlay data and disassembled individual print data of the disassembled same line and check whether there is actual data to be printed. Overlap checking means for extracting data for which actual data exists on both sides, and data merging means for merging decomposed overlay data and decomposed individual print data in which the real data exists in the same line to create decomposed composite print data; A physical row buffer for temporarily storing the separated overlay data, the separated individual print data, or the merged separated and synthesized print data in which the actual data exists, on a line-by-line basis; An overlay printing method, comprising: a print request unit.
【請求項2】 前記個別印刷データ分解手段が行単位に
分解された分解個別印刷データを整列記憶することなく
逐次出力し、前記重なりチェック手段が前記個別印刷デ
ータ分解手段から逐次出力される分解個別印刷データと
同一行の分解オーバレイデータを取り出して印刷すべき
実データの有無をチェックし双方に実データが存在する
ものを抽出することを特徴とする請求項1記載のオーバ
レイ印刷方式。
2. The individual print data decomposing means sequentially outputs the decomposed individual print data decomposed in line units without sorting and storing, and the overlap checking means outputs the decomposed individual print data sequentially outputted from the individual print data decomposing means. 2. The overlay printing method according to claim 1, wherein the disassembled overlay data of the same line as the print data is taken out, the presence or absence of actual data to be printed is checked, and the data having actual data present on both sides is extracted.
【請求項3】 前記物理行バッファが、複数行分の実デ
ータが存在する分解オーバレイデータ,分解個別印刷デ
ータ又はマージされた分解合成印刷データを一時格納で
きることを特徴とする請求項1又は2記載のオーバレイ
印刷方式。
3. The physical row buffer according to claim 1, wherein said physical row buffer is capable of temporarily storing decomposed overlay data, decomposed individual print data, or merged decomposed and synthesized print data in which a plurality of rows of actual data are present. Overlay printing method.
JP8012642A 1996-01-29 1996-01-29 Overlay printing method Expired - Lifetime JP2798637B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8012642A JP2798637B2 (en) 1996-01-29 1996-01-29 Overlay printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8012642A JP2798637B2 (en) 1996-01-29 1996-01-29 Overlay printing method

Publications (2)

Publication Number Publication Date
JPH09204280A JPH09204280A (en) 1997-08-05
JP2798637B2 true JP2798637B2 (en) 1998-09-17

Family

ID=11811027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8012642A Expired - Lifetime JP2798637B2 (en) 1996-01-29 1996-01-29 Overlay printing method

Country Status (1)

Country Link
JP (1) JP2798637B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6471423B1 (en) * 1999-01-05 2002-10-29 Canon Kabushiki Kaisha Print control apparatus and print control method
JP2006139702A (en) * 2004-11-15 2006-06-01 Canon Marketing Japan Inc Printing control method, program of the same, information processing apparatus, and printing system

Also Published As

Publication number Publication date
JPH09204280A (en) 1997-08-05

Similar Documents

Publication Publication Date Title
JP2798637B2 (en) Overlay printing method
JPS6335431B2 (en)
US5469534A (en) Method for translating image processing data
JP2614339B2 (en) Form output editing device
JP2798640B2 (en) Ruled line printing control method
JPH03266676A (en) Page printer
JP2935463B2 (en) Printing equipment
JP2582841B2 (en) Printer device
JPH07115493B2 (en) Aspect conversion printing method
JPH0911552A (en) Page printer
JPH0631989A (en) Control method of printing of page printer
JPH0630927B2 (en) Pattern output method
JPS61177068A (en) Sentence processor capable of printing contractedly
JP4362499B2 (en) Print processing system, print processing method, and program
JP2801730B2 (en) Data compression method
JPH11139047A (en) Id card issuing device, and id card making system
JPH082009A (en) Serial printer
JPH11291585A (en) Apparatus and method for processing rule and recording medium for recording program
JPH0139357B2 (en)
JPH082016A (en) Printer
JPH05250511A (en) Image processor
JPH0230565A (en) Small set printing system
JPH09198451A (en) Forms pre-printing system
JPH04118766A (en) Document processor
JPS63101926A (en) Form overlay formation system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980609

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070703

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080703

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090703

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100703

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110703

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110703

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120703

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120703

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130703

Year of fee payment: 15

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term