JP2020104496A - Image formation apparatus and image formation method - Google Patents

Image formation apparatus and image formation method Download PDF

Info

Publication number
JP2020104496A
JP2020104496A JP2018248182A JP2018248182A JP2020104496A JP 2020104496 A JP2020104496 A JP 2020104496A JP 2018248182 A JP2018248182 A JP 2018248182A JP 2018248182 A JP2018248182 A JP 2018248182A JP 2020104496 A JP2020104496 A JP 2020104496A
Authority
JP
Japan
Prior art keywords
print
printing
start position
unit
position information
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.)
Granted
Application number
JP2018248182A
Other languages
Japanese (ja)
Other versions
JP7047754B2 (en
Inventor
尚輝 佐藤
Hisateru Sato
尚輝 佐藤
英範 佐藤
Hidenori Sato
英範 佐藤
勇治 畑
Yuji Hata
勇治 畑
康宏 片平
Yasuhiro Katahira
康宏 片平
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Data 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 Oki Data Corp filed Critical Oki Data Corp
Priority to JP2018248182A priority Critical patent/JP7047754B2/en
Publication of JP2020104496A publication Critical patent/JP2020104496A/en
Application granted granted Critical
Publication of JP7047754B2 publication Critical patent/JP7047754B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

To allow an operator to perform printing on a printing medium of a type matching reception data without mistaking a printing medium type.SOLUTION: An image formation apparatus includes: reception means 110 which receives data to be printed on plural types of printing media 80 as reception data; printing start position information extraction means 140 which extracts printing start position information Dp of the printing media 80 from the reception data; printing region extraction means 150 which extracts printing region information Pa of the printing media 80; and storage means 160 which stores the printing start position information Dp in association with printing medium type information Np. The image formation apparatus reads the extracted printing start position information Dp and the printing medium type information Np from the storage means 160 to perform notification by notification means 170 in the second or subsequent printing.SELECTED DRAWING: Figure 2

Description

本発明は、複数の種類の印刷媒体に印刷を行う画像形成装置及び画像形成方法に関するものである。 The present invention relates to an image forming apparatus and an image forming method for printing on a plurality of types of print media.

複数の種類の用紙に印刷を行う画像形成装置においては、用紙種類に合った印刷設定が行われ、設定された印刷設定に基づいて、上位装置から送信され受信した受信データに従って印刷が行われる。
この印刷設定を容易に行えるように、用紙に印刷されたバーコードなどの特殊コードを読み取り、その読取結果から抽出した設定情報に基づいて印刷設定を行う技術が提案されている(例えば、特開2018−1526号公報(特許文献1)参照)。
In an image forming apparatus that prints on a plurality of types of paper, print settings suitable for the paper types are set, and printing is performed according to the received data transmitted and received from the host device based on the set print settings.
In order to easily perform this print setting, a technique has been proposed in which a special code such as a bar code printed on a sheet is read and the print setting is performed based on the setting information extracted from the read result (for example, Japanese Patent Laid-Open No. 2000-242242) See Japanese Patent Publication No. 2018-1526 (Patent Document 1)).

特開2018−1526号公報JP, 2018-1526, A

しかしながら、上記従来の画像形成装置では、特殊コードを読み取り、その読取結果から抽出した設定情報を設定するだけであり、どの設定を用いるかは、オペレータが選択しなければならず、間違って選択してしまうと、受信データに合致する所望の印刷ができないという問題があった。特に、同じ用紙サイズであるがフォーマットの異なる用紙が用いられる業務において、上位装置から印刷データを連続して受信する場合、オペレータが用紙種類の選択を間違い、受信データに合致する用紙種類に印刷されないという問題があった。 However, in the above-mentioned conventional image forming apparatus, only the special code is read and the setting information extracted from the read result is set, and which setting is to be used must be selected by the operator, and the wrong selection is made. If this happens, there is a problem that desired printing that matches the received data cannot be performed. In particular, in a job in which paper of the same paper size but different formats is used, when print data is continuously received from the host device, the operator makes a mistake in selecting the paper type and the paper type that does not match the received data is not printed. There was a problem.

本発明は、このような問題を解決することを課題とし、印刷設定を容易にし、オペレータが印刷媒体種類を間違えることなく、受信データに合致する種類の印刷媒体に印刷することができる画像形成装置及び画像形成方法を提供することを目的とするものである。 An object of the present invention is to solve such a problem, to facilitate print setting, and to allow an operator to print on a print medium of a type that matches received data without making a mistake in the print medium type. And an image forming method.

上記課題を解決するために本発明に関する画像形成装置は、複数種類の印刷媒体に印刷するデータを受信データとして受信する受信手段と、前記印刷媒体を搬送する印刷媒体搬送手段と、前記印刷媒体搬送手段により搬送される前記印刷媒体に前記受信データに基づいて画像を印刷する印刷手段と、前記受信データから前記印刷媒体の印刷開始位置を印刷開始位置情報として抽出する印刷開始位置情報抽出手段と、前記印刷開始位置情報抽出手段により抽出した前記印刷開始位置情報と、印刷媒体種類を識別する印刷媒体種類情報とを関連付けて記憶する記憶手段と、前記印刷媒体種類情報を報知する報知手段と、前記印刷手段による印刷のとき、前記印刷開始位置情報抽出手段により抽出した前記印刷開始位置情報が前記記憶手段に記憶されていない場合は、前記記憶手段に前記印刷開始位置情報と前記印刷媒体種類情報とを関連付けて記憶し、前記印刷開始位置情報が記憶されている場合は、前記印刷開始位置情報抽出手段により抽出した前記印刷開始位置情報と一致する前記印刷媒体種類情報を前記記憶手段から読出して、前記印刷媒体種類情報を前記報知手段により報知する制御手段とを備えたことを特徴とする。 In order to solve the above problems, an image forming apparatus according to the present invention includes a receiving unit that receives data to be printed on a plurality of types of print media as received data, a print medium transport unit that transports the print medium, and the print medium transport. Printing means for printing an image on the print medium carried by the means based on the received data; print start position information extracting means for extracting the print start position of the print medium from the received data as print start position information; A storage unit that stores the print start position information extracted by the print start position information extraction unit and the print medium type information that identifies the print medium type in association with each other; a notification unit that notifies the print medium type information; At the time of printing by the printing unit, if the print start position information extracted by the print start position information extracting unit is not stored in the storage unit, the print start position information and the print medium type information are stored in the storage unit. When the print start position information is stored, the print medium type information that matches the print start position information extracted by the print start position information extraction unit is read from the storage unit, And a control unit for notifying the print medium type information by the notifying unit.

本発明によれば、上記構成としたので、同一の印刷媒体種類の2回目以降の印刷において印刷媒体をセットするときに受信データに合致する印刷媒体種類を確認することができ、間違えることなく受信データに合致する印刷媒体に印刷することができる。 According to the present invention, because of the above configuration, it is possible to confirm the print medium type that matches the received data when setting the print medium in the second and subsequent printings of the same print medium type, and to receive without error. It can be printed on a print medium that matches the data.

第1の実施の形態に関する画像形成装置の外観説明図である。FIG. 3 is an external view explanatory diagram of the image forming apparatus according to the first embodiment. 第1の実施の形態に関する画像形成装置のブロック図である。FIG. 3 is a block diagram of the image forming apparatus according to the first embodiment. 第1の実施の形態に関する画像形成装置において用いられる用紙の説明図である。FIG. 6 is an explanatory diagram of sheets used in the image forming apparatus according to the first embodiment. 第1の実施の形態に関する画像形成装置により印刷が行われた用紙の説明図である。FIG. 6 is an explanatory diagram of a sheet printed by the image forming apparatus according to the first embodiment. 第1の実施の形態に関する画像形成装置の受信データのフォーマットの説明図である。FIG. 6 is an explanatory diagram of a format of received data of the image forming apparatus according to the first embodiment. 第1の実施の形態に関する画像形成装置の機能ブロック図である。3 is a functional block diagram of the image forming apparatus according to the first embodiment. FIG. 第1の実施の形態に関する画像形成装置の印刷動作のフローチャートである。6 is a flowchart of a printing operation of the image forming apparatus according to the first embodiment. 第1の実施の形態に関する画像形成装置おいてセットする用紙種類名を報知する画面例である。9 is an example of a screen for notifying a paper type name to be set in the image forming apparatus according to the first embodiment. 第1の実施の形態に関する画像形成装置おいて用紙間違いを報知する画面例である。6 is an example of a screen for notifying a paper error in the image forming apparatus according to the first embodiment. 第1の実施の形態に関する画像形成装置の印刷開始位置情報抽出手段の動作フローチャートである。6 is an operation flowchart of a print start position information extraction unit of the image forming apparatus according to the first embodiment. 第1の実施の形態に関する印刷開始位置情報、印刷領域情報及び差異ブロック番号の記憶状態の変化を示す説明図である。FIG. 7 is an explanatory diagram showing changes in the storage state of print start position information, print area information, and a different block number relating to the first embodiment. 第1の実施の形態に関する画像形成装置において印刷結果を確認する画面例である。6 is an example of a screen for confirming a print result in the image forming apparatus according to the first embodiment. 第1の実施の形態に関する画像形成装置において用紙種類名を確認する画面例である。7 is an example of a screen for confirming a paper type name in the image forming apparatus according to the first embodiment.

(第1の実施の形態)
以下に本発明を実施するための最良の形態である第1の実施の形態を説明する。各図面に共通な要素には同一の符号を付す。なお、以下の説明では、便宜上、用紙A、用紙Bの2種類の用紙種類を用いて印刷を行う例を説明するが3種類以上の用紙種類であってもよい。また、以下の説明では、印刷媒体として用紙80を一例として説明するが、ノーカーボン紙、カード、透明フィルム等であってもよい。
(First embodiment)
The first embodiment, which is the best mode for carrying out the present invention, will be described below. Elements common to the drawings are given the same reference numerals. Note that, in the following description, for convenience, an example in which printing is performed using two types of paper, that is, paper A and paper B will be described, but three or more paper types may be used. Further, in the following description, the paper 80 is described as an example of the print medium, but carbonless paper, a card, a transparent film, or the like may be used.

最初に、第1の実施の形態に関する画像形成装置の構成を説明する。図1は、第1の実施の形態に関する画像形成装置の外観説明図である。画像形成装置1は、設定された印刷設定に基づいて、上位装置2から受信する後に図5に示す受信データ200に従って用紙80に印刷を行うものである。以下、用紙80が排出される側を「装置正面側」といい、用紙80をセットする側を「装置背面側」という。ここで、印刷媒体種類としての用紙種類とは、例えば、普通紙、光沢紙などの用紙80の材質、用紙サイズ、用紙フォーマットが異なるもの又はこれらの組合わせが異なるもので、装置が自動的に判別できる種類をいう。第1の実施の形態では、用紙80にプレプリントされたフォーマットが異なる種類を例として説明する。 First, the configuration of the image forming apparatus according to the first embodiment will be described. FIG. 1 is an external view of the image forming apparatus according to the first embodiment. The image forming apparatus 1 prints on the sheet 80 according to the received data 200 shown in FIG. 5 after receiving from the upper level apparatus 2 based on the set print setting. Hereinafter, the side from which the paper 80 is discharged is referred to as the “device front side”, and the side on which the paper 80 is set is referred to as the “device back side”. Here, the paper type as the print medium type is, for example, a material of the paper 80 such as plain paper or glossy paper, a paper size, a paper format, or a combination thereof, and the apparatus automatically Refers to the types that can be distinguished. In the first embodiment, types in which the formats preprinted on the paper 80 are different will be described as an example.

図1に示すように、第1の実施の形態に関する画像形成装置1は、装置背面側に用紙セット部3を備える。印刷媒体載置部としての用紙セット部3は、印刷媒体としての用紙80、例えば用紙A(80A)又は用紙B(80B)をセットするためのものである。用紙セット部3は、用紙80を矢印Eに示す方向に装置内へと取込む用紙セット口3aと、用紙80の左右をガイドする用紙ガイド3bを備える。図1に示す装置背面側の状態は、オペレータによって用紙B(80B)が用紙セット部3にセットされた状態を示している。 As shown in FIG. 1, the image forming apparatus 1 according to the first embodiment includes a sheet setting unit 3 on the back side of the apparatus. The paper setting unit 3 as the print medium placement unit is for setting the paper 80 as the print medium, for example, the paper A (80A) or the paper B (80B). The sheet setting unit 3 includes a sheet setting port 3a for taking the sheet 80 into the apparatus in a direction indicated by an arrow E, and a sheet guide 3b for guiding the left and right sides of the sheet 80. The state on the back side of the apparatus shown in FIG. 1 shows a state in which the sheet B (80B) is set in the sheet setting section 3 by the operator.

この用紙B(80B)には、プレプリントされた罫線によって複数の印刷ブロック81、例えば第1の印刷ブロック81B1及び第2の印刷ブロック81B2が形成されている。用紙B(80B)は矢印Eに示す方向に搬送されて、印刷機構7によって印刷ブロック81内に文字等が印刷されるが、後述するように第1の印刷ブロック81B1が先に印刷される。従って、オペレータは用紙B(80B)を用紙セット部3へセットする際に、上下逆さ方向にしてセットする。
用紙A(80A)は、同様に、プレプリントされた罫線によって第1の印刷ブロック81A1及び第2の印刷ブロック81A2が形成されており、複数の印刷ブロック81に印刷データGd対応の文字等が印刷されている。これらの印刷ブロック81内に印刷データGdの印刷が行われ、その詳細は後に図4に示す。
On this paper B (80B), a plurality of printing blocks 81, for example, a first printing block 81B1 and a second printing block 81B2 are formed by preprinted ruled lines. The sheet B (80B) is conveyed in the direction shown by the arrow E, and characters and the like are printed in the printing block 81 by the printing mechanism 7, but the first printing block 81B1 is printed first as described later. Therefore, when setting the sheet B (80B) in the sheet setting unit 3, the operator sets it in the upside down direction.
Similarly, the paper A (80A) has a first printing block 81A1 and a second printing block 81A2 formed by preprinted ruled lines, and characters corresponding to the printing data Gd are printed on the plurality of printing blocks 81. Has been done. The print data Gd is printed in these print blocks 81, the details of which will be shown in FIG. 4 later.

更に、画像形成装置1は、装置正面側に排出トレイ5及び操作表示部6を備える。
排出トレイ5は、引出し可能なテーブルを備え、印刷されて矢印Fに示す方向に排出される用紙80を載置する。図1に示す装置正面側の状態は、受信データ200に従った印刷が用紙A(80A)に行われ、用紙A(80A)が排出トレイ5に排出された状態を示している。即ち、用紙A(80A)は、第1の印刷ブロック81A1が先に印刷されて排出されている。
Further, the image forming apparatus 1 includes a discharge tray 5 and an operation display unit 6 on the front side of the apparatus.
The discharge tray 5 is provided with a table that can be pulled out, and the paper 80 that is printed and discharged in the direction indicated by arrow F is placed on the discharge tray 5. The state on the front side of the apparatus shown in FIG. 1 shows a state in which printing according to the received data 200 is performed on the sheet A (80A) and the sheet A (80A) is ejected to the ejection tray 5. That is, the first printing block 81A1 is printed first on the sheet A (80A) and is discharged.

操作表示部6は、オペレータへのガイダンス等を表示する表示部及びオペレータによる印刷開始などの操作を行う操作部からなる。このために、操作表示部6は、表示部として機能するLCD(Liquid Crystal Display)上に操作部として機能する透明タッチパネルを積載して構成される。図示してしないが操作表示部6の近傍に別の操作部として、「0」〜「9」からなるテンキー、記号キー及びカーソル移動キーなどのボタンを設けるようにしてもよい。 The operation display unit 6 includes a display unit that displays guidance to the operator and the like, and an operation unit that performs operations such as printing start by the operator. Therefore, the operation display unit 6 is configured by stacking a transparent touch panel that functions as an operation unit on an LCD (Liquid Crystal Display) that functions as a display unit. Although not shown, buttons such as a ten-key pad consisting of “0” to “9”, a symbol key, and a cursor movement key may be provided in the vicinity of the operation display unit 6 as another operation unit.

また、画像形成装置1の装置内部には、用紙80に印刷を行う印刷機構7と、用紙80の給紙及び印刷のときの用紙80の搬送を行なわせる用紙送りモータ8を備える。印刷機構7は、矢印Hに示す方向に移動可能でかつ用紙80に印刷を行う印刷ヘッド7aを有する。印刷ヘッド7aには印刷ヘッド7aと共に移動する光学式センサ4が取り付けられている。光学式センサ4は、用紙80にプレプリントされている罫線の位置、即ち、後に図3に示す罫線位置83を読み取る。光学式センサ4は、バーコードなどの特殊コード、用紙端の読み取りなども読み取ることができる。光学式センサ4は、例えば軽量な反射型フォトセンサなどで構成すればよい。或いはラインセンサなどを搬送される用紙80に近接させて固定して配置するようにしてもよい。 Further, inside the image forming apparatus 1, a printing mechanism 7 for printing on the paper 80 and a paper feed motor 8 for feeding the paper 80 and carrying the paper 80 at the time of printing are provided. The printing mechanism 7 has a print head 7 a that is movable in the direction indicated by arrow H and that prints on the paper 80. An optical sensor 4 that moves together with the print head 7a is attached to the print head 7a. The optical sensor 4 reads the position of the ruled line preprinted on the paper 80, that is, the ruled line position 83 shown in FIG. 3 later. The optical sensor 4 can also read a special code such as a bar code and a sheet edge. The optical sensor 4 may be composed of, for example, a lightweight reflective photosensor or the like. Alternatively, the line sensor or the like may be fixed and arranged close to the conveyed paper 80.

図2は、第1の実施の形態に関する画像形成装置のブロック図である。画像形成装置1は、主制御部70、受信部10、編集部20、印刷制御部30、用紙搬送制御部40、操作表示制御部50及び記憶部60を有する。なお、破線で囲った部分は、後に図6に示す機能ブロックの各手段に相当する。
主制御部70は、CPU(Central Processing Unit)等で構成され、上記各部を制御する。主制御部70は、一時記憶部71を有し、後述する印刷ブロック番号Bkを記憶する印刷ブロック番号レジスタ71b、X座標を記憶するX座標レジスタ71x、Y座標を記憶するY座標レジスタ71yを有する。
FIG. 2 is a block diagram of the image forming apparatus according to the first embodiment. The image forming apparatus 1 includes a main control unit 70, a receiving unit 10, an editing unit 20, a print control unit 30, a paper conveyance control unit 40, an operation display control unit 50, and a storage unit 60. The part surrounded by the broken line corresponds to each unit of the functional block shown in FIG. 6 later.
The main control unit 70 is composed of a CPU (Central Processing Unit) and the like, and controls each of the above units. The main control unit 70 includes a temporary storage unit 71, a print block number register 71b for storing a print block number Bk described later, an X coordinate register 71x for storing X coordinates, and a Y coordinate register 71y for storing Y coordinates. ..

受信部10は、受信バッファ10aを有し、パーソナルコンピュータ等の上位装置2から送信され受信した受信データ200を受信バッファ10aに格納する。受信部10は、DMA(Direct Memory Access)による受信バッファ10aヘのハード的なデータ転送及び割込み制御による受信バッファ10aへの格納が可能である。それ故、受信部10は、主制御部70、印刷制御部30、用紙搬送制御部40及び操作表示制御部50の制御と同時に格納動作を行うことができる。受信部10には、受信データ解析部11、印刷開始位置抽出部12及び印刷ブロック比較部13が接続される。 The reception unit 10 has a reception buffer 10a and stores the reception data 200 transmitted and received from the higher-level device 2 such as a personal computer in the reception buffer 10a. The reception unit 10 is capable of hardware data transfer to the reception buffer 10a by DMA (Direct Memory Access) and storage in the reception buffer 10a by interrupt control. Therefore, the receiving unit 10 can perform the storing operation simultaneously with the control of the main control unit 70, the print control unit 30, the sheet conveyance control unit 40, and the operation display control unit 50. A reception data analysis unit 11, a print start position extraction unit 12, and a print block comparison unit 13 are connected to the reception unit 10.

受信データ解析部11は、受信バッファ10aに格納された受信データ200から所定のコマンド、印刷データGd等を検索する。印刷開始位置抽出部12は、受信データ解析部11による検索結果に基づいて、後に図3に示す印刷ブロック81ごとの印刷開始位置82(位置座標としてのX座標及びY座標)を印刷開始位置情報Dpとして抽出する。 The reception data analysis unit 11 searches the reception data 200 stored in the reception buffer 10a for a predetermined command, print data Gd, and the like. The print start position extraction unit 12 determines the print start position 82 (X coordinate and Y coordinate as the position coordinate) for each print block 81 shown in FIG. 3 later based on the search result by the received data analysis unit 11. Extract as Dp.

印刷ブロック比較部13は、印刷開始位置抽出部12によって新たに抽出した印刷開始位置情報Dpと既に記憶部60に印刷媒体種類情報としての用紙種類名Np毎に記憶してある印刷開始位置情報Dpを比較する。この比較により、新たに抽出した印刷開始位置情報Dpに対応する用紙種類名Npが確定される。
印刷媒体種類情報としての用紙種類名Npとは、印刷媒体種類としての用紙種類を特定するための名称(例えば、「用紙A」又は「着払い伝票」)であり、用紙種類名Np毎にフォーマットが異なり、これにより識別して記憶され、又は読み出されるものである。
The print block comparison unit 13 outputs the print start position information Dp newly extracted by the print start position extraction unit 12 and the print start position information Dp already stored in the storage unit 60 for each paper type name Np as the print medium type information. To compare. By this comparison, the paper type name Np corresponding to the newly extracted print start position information Dp is determined.
The paper type name Np as the print medium type information is a name (for example, “paper A” or “cash on delivery slip”) for specifying the paper type as the print medium type, and the format is for each paper type name Np. Differently, they are identified and stored or read.

編集部20は印刷バッファ20aを有し、受信データ200が受信部10の受信バッファ10aに格納された後に、編集部20が図5に示す印刷データGdを読み出し、印刷可能なデータに変換して印刷バッファ20aに格納する。編集部20は、印刷可能なデータを印刷バッファ20aに格納した後、印刷制御部30に印刷開始要求を発行する。
印刷制御部30は、図1に示す印刷機構7を制御し、印刷機構7によって印刷を行う。
The editing unit 20 has a print buffer 20a, and after the received data 200 is stored in the receive buffer 10a of the receiving unit 10, the editing unit 20 reads the print data Gd shown in FIG. 5 and converts it into printable data. It is stored in the print buffer 20a. The editing unit 20 stores printable data in the print buffer 20a and then issues a print start request to the print control unit 30.
The print control unit 30 controls the printing mechanism 7 shown in FIG. 1 and causes the printing mechanism 7 to perform printing.

用紙搬送制御部40は、図1に示す用紙送りモータ8の駆動を制御し、用紙80の給紙及び印刷等のときの用紙80の搬送を制御する。このために用紙送り部41及び給紙部42を設け、これらが用紙搬送制御部40に接続される。給紙部42は、オペレータがセットした用紙80を印刷可能な位置まで給紙する。また、用紙送り部41は、用紙80を搬送又は逆搬送させる。 The paper conveyance control unit 40 controls the drive of the paper feed motor 8 shown in FIG. 1 to control the conveyance of the paper 80 when feeding and printing the paper 80. For this purpose, a paper feed unit 41 and a paper feed unit 42 are provided, and these are connected to the paper conveyance control unit 40. The paper feed unit 42 feeds the paper 80 set by the operator to a printable position. Further, the paper feeding unit 41 conveys or reversely conveys the paper 80.

読取部43は、図1に示す光学式センサ4を用いて光学的に画像を読み取らせるものであり、後に図3に示す用紙80にプレプリントされている罫線位置83を読み取って、印刷領域抽出手段150によって印刷領域84を抽出し、印刷領域情報Paとして取得する。加えて、読取部43は、用紙80に印刷されたバーコード等の特殊コードの読取り及び用紙幅を検出するための用紙端の読取りを行わせることもできる。読取部43には、罫線位置比較部44及びセット用紙判定部45が接続される。
罫線位置比較部44は、読取部43を用いて取得する用紙80の印刷領域情報Paと、既に記憶部60に用紙種類名Npと関連付けて印刷開始位置情報Dpと共に記憶されている印刷領域情報Paとを比較する。
The reading unit 43 optically reads an image using the optical sensor 4 shown in FIG. 1. The reading unit 43 reads the ruled line position 83 preprinted on the paper 80 shown in FIG. The printing area 84 is extracted by the means 150 and is acquired as the printing area information Pa. In addition, the reading unit 43 can also read a special code such as a barcode printed on the paper 80 and a paper edge for detecting the paper width. A ruled line position comparison unit 44 and a set sheet determination unit 45 are connected to the reading unit 43.
The ruled line position comparison unit 44 acquires the print area information Pa of the paper 80 acquired using the reading unit 43 and the print area information Pa already stored in the storage unit 60 together with the print start position information Dp in association with the paper type name Np. Compare with.

セット用紙判定部45は、罫線位置比較部44の比較結果に基づいて、セットした用紙80が受信データ200に合致している用紙80か否かを判定する。
操作表示制御部50は、図1に示す操作表示部6を用いて、オペレータへのガイダンス等の表示及びオペレータによる印刷開始などの操作を制御する。
記憶部60は、不揮発性メモリー90を備え、用紙種類名Np、印刷開始位置情報Dp及び印刷領域情報Pa並びに差異ブロック番号DBN等を記憶する。このために不揮発性メモリー90は、図11を用いて後述する位置領域情報記憶テーブル91及び差異ブロック情報記憶部92を有する。
The set paper determination unit 45 determines whether the set paper 80 is the paper 80 that matches the received data 200, based on the comparison result of the ruled line position comparison unit 44.
The operation display control unit 50 uses the operation display unit 6 shown in FIG. 1 to control operations such as displaying guidance to the operator and starting printing by the operator.
The storage unit 60 includes a non-volatile memory 90, and stores the paper type name Np, the print start position information Dp, the print area information Pa, the different block number DBN, and the like. For this purpose, the non-volatile memory 90 has a position area information storage table 91 and a different block information storage unit 92, which will be described later with reference to FIG.

記憶部60には、印刷開始位置情報登録部61、印刷領域情報登録部62及び差異ブロック登録部63が接続される。印刷開始位置情報登録部61は、印刷開始位置抽出部12によって受信データ200から抽出する各印刷ブロック81の印刷開始位置82(X座標及びY座標)を印刷開始位置情報Dpとして不揮発性メモリー90に記憶させる。
印刷領域情報登録部62は、読取部43により読み取られた各印刷ブロック81の罫線位置83から抽出される印刷領域84を印刷領域情報Paとして不揮発性メモリー90に記憶させる。
差異ブロック登録部63は、罫線位置83が異なる印刷ブロック番号Bkを差異ブロック番号DBNとして不揮発性メモリー90に記憶させる。
A print start position information registration unit 61, a print area information registration unit 62, and a difference block registration unit 63 are connected to the storage unit 60. The print start position information registration unit 61 stores the print start position 82 (X coordinate and Y coordinate) of each print block 81 extracted from the received data 200 by the print start position extraction unit 12 in the nonvolatile memory 90 as the print start position information Dp. Remember.
The print area information registration unit 62 stores the print area 84 extracted from the ruled line position 83 of each print block 81 read by the reading unit 43 in the nonvolatile memory 90 as the print area information Pa.
The different block registration unit 63 stores the printing block number Bk having a different ruled line position 83 in the non-volatile memory 90 as the different block number DBN.

次に、第1の実施の形態に関する画像形成装置1において用いられる用紙80の構成を説明する。図3は、第1の実施の形態に関する画像形成装置において用いられる用紙の説明図である。なお、図3は、用紙80の紙面下側を切欠いた図を示す。
第1の実施の形態においては、用紙80として用紙A(80A)及び用紙B(80B)の2種類の用紙80が用いられる。図3(a)は、用紙A(80A)のフォーマットの説明図であり、図3(b)は、用紙B(80B)のフォーマットの説明図である。最初に図3(a)を用いて用紙A(80A)の構成について説明する。
Next, the configuration of the sheet 80 used in the image forming apparatus 1 according to the first embodiment will be described. FIG. 3 is an explanatory diagram of sheets used in the image forming apparatus according to the first embodiment. It should be noted that FIG. 3 is a view in which the lower side of the paper 80 is cut away.
In the first embodiment, two types of paper 80, paper A (80A) and paper B (80B), are used as the paper 80. FIG. 3A is an explanatory diagram of the format of the sheet A (80A), and FIG. 3B is an explanatory diagram of the format of the sheet B (80B). First, the configuration of the paper A (80A) will be described with reference to FIG.

図3(a)に示すように、用紙A(80A)は、プレプリントされた罫線で形成される第1の印刷ブロック81A1及び第2の印刷ブロック81A2から構成される。なお、印刷ブロック81A1及び81A2は、罫線に囲まれない領域としてもよい。即ち、印刷ブロック81A1及び81A2は、次に説明する左右に垂直に形成された罫線位置83によっても、更には図示しない左右のカギ括弧又は左右の記号によって形成してもよい。また、用紙A(80A)は、後に図4において説明するように、罫線に加えて、用途に応じて必要となるプレプリント文字73が印刷されてもよい。 As shown in FIG. 3A, the sheet A (80A) is composed of a first printing block 81A1 and a second printing block 81A2 formed of preprinted ruled lines. The print blocks 81A1 and 81A2 may be areas that are not surrounded by ruled lines. That is, the printing blocks 81A1 and 81A2 may be formed by the ruled line positions 83 formed vertically to the left and right, which will be described next, or further by left and right brackets or left and right symbols (not shown). Further, as will be described later with reference to FIG. 4, the paper A (80A) may be printed with the preprinted characters 73 required according to the application in addition to the ruled lines.

用紙A(80A)の水平方向の左右に形成された罫線位置83は、左側罫線位置83A1L、右側罫線位置83A1R、左側罫線位置83A2L及び右側罫線位置83A2Rから構成される。
左側罫線位置83A1Lは、第1の印刷ブロック81A1の紙面左側の罫線の位置を示し、右側罫線位置83A1Rは、第1の印刷ブロック81A1の紙面右側の罫線の位置を示す。同様に、左側罫線位置83A2Lは、第2の印刷ブロック81A2の紙面左側の罫線の位置を示し、右側罫線位置83A2Rは、第2の印刷ブロック81A2の紙面右側の罫線の位置を示す。
The ruled line positions 83 formed on the left and right in the horizontal direction of the sheet A (80A) are composed of a left ruled line position 83A1L, a right ruled line position 83A1R, a left ruled line position 83A2L and a right ruled line position 83A2R.
The left ruled line position 83A1L indicates the position of the ruled line on the left side of the paper of the first printing block 81A1, and the right ruled line position 83A1R indicates the position of the ruled line on the right side of the paper of the first printing block 81A1. Similarly, the left ruled line position 83A2L indicates the position of the ruled line on the left side of the paper of the second printing block 81A2, and the right ruled line position 83A2R indicates the position of the ruled line on the right side of the paper of the second printing block 81A2.

第1の印刷ブロック81A1においては、長鎖線の矢印Kで示すように左側罫線位置83A1Lから右側罫線位置83A1Rまでが印刷領域84A1として抽出される。第2の印刷ブロック81A2においては、同様に長鎖線の矢印Kで示すように左側罫線位置83A2Lから右側罫線位置83A2Rまでが印刷領域84A2として抽出される。
用紙A(80A)の印刷範囲85は、印刷範囲85A1、印刷範囲85A2から構成される。印刷範囲85A1は、用紙A(80A)の第1の印刷ブロック81A1において画像形成装置1によって印刷される範囲である。印刷範囲85A2は、第2の印刷ブロック81A2において画像形成装置1によって印刷される範囲である。
In the first print block 81A1, the left ruled line position 83A1L to the right ruled line position 83A1R are extracted as the print area 84A1 as indicated by the long chain line arrow K. Similarly, in the second printing block 81A2, the left ruled line position 83A2L to the right ruled line position 83A2R are extracted as the print area 84A2 as indicated by the long chain line arrow K.
The print range 85 of the paper A (80A) is composed of a print range 85A1 and a print range 85A2. The print range 85A1 is a range printed by the image forming apparatus 1 in the first print block 81A1 of the paper A (80A). The print range 85A2 is a range printed by the image forming apparatus 1 in the second print block 81A2.

用紙A(80A)は、矢印Eに示す方向に搬送されて、印刷機構7によって印刷され、第1の印刷ブロック81A1の方から先に印刷される。具体的には、第1の印刷ブロック81A1においては、印刷範囲85A1の印刷開始位置82A1から印刷が行われ、第2の印刷ブロック81A2においては、印刷範囲85A2の印刷開始位置82A2から印刷が行われる。 The sheet A (80A) is conveyed in the direction indicated by the arrow E, printed by the printing mechanism 7, and printed from the first printing block 81A1 first. Specifically, in the first printing block 81A1, printing is performed from the printing start position 82A1 of the printing range 85A1, and in the second printing block 81A2, printing is performed from the printing start position 82A2 of the printing range 85A2. ..

また、図3(b)に示すように、用紙B(80B)は、プレプリントされた罫線で囲まれて形成される第1の印刷ブロック81B1及び第2の印刷ブロック81B2から構成される。用紙B(80B)の罫線位置83は、左側罫線位置83B1L、右側罫線位置83B1R、左側罫線位置83B2L及び右側罫線位置83B2Rから構成される。
用紙B(80B)では、第2の印刷ブロック81B2において、左側罫線位置83B2Lが用紙A(80A)の左側罫線位置83A2Lと異なっている。即ち、左側罫線位置83B2Lは、用紙Bの幅方向の略半分の位置にある。
Further, as shown in FIG. 3B, the paper B (80B) is composed of a first printing block 81B1 and a second printing block 81B2 that are formed by being surrounded by preprinted ruled lines. The ruled line position 83 of the paper B (80B) is composed of a left ruled line position 83B1L, a right ruled line position 83B1R, a left ruled line position 83B2L and a right ruled line position 83B2R.
On the paper B (80B), the left ruled line position 83B2L is different from the left ruled line position 83A2L of the paper A (80A) in the second print block 81B2. That is, the left ruled line position 83B2L is located at a position approximately half the width direction of the sheet B.

用紙B(80B)の印刷範囲85は、印刷範囲85B1及び印刷範囲85B2から構成される。用紙B(80B)では、上記罫線位置83と同様に、第2の印刷ブロック81B2において、印刷範囲85B2が用紙A(80A)の印刷範囲85A2と異なっている。即ち、印刷範囲85A2は、用紙Aの幅方向全域に亘っているのに対し、印刷範囲85B2は、用紙Bの幅方向の略右半分である。 The print range 85 of the paper B (80B) includes a print range 85B1 and a print range 85B2. On the paper B (80B), the printing range 85B2 is different from the printing range 85A2 of the paper A (80A) in the second printing block 81B2, similarly to the ruled line position 83. That is, the print range 85A2 extends over the entire width direction of the paper A, whereas the print range 85B2 is substantially the right half of the paper B in the width direction.

用紙B(80B)についても、矢印Eに示す方向に搬送されて、印刷機構7によって印刷され、第1の印刷ブロック81B1の方から先に印刷される。具体的には、第1の印刷ブロック81B1においては、印刷範囲85B1の印刷開始位置82B1から印刷が行われ、第2の印刷ブロック81B2においては、印刷範囲85B2の印刷開始位置82B2から印刷が行われる。
なお、以上の説明では、罫線で囲まれた印刷ブロック81が2個ある例を説明したが、1個であってもよいし、3個以上あってもよい。
The paper B (80B) is also conveyed in the direction shown by the arrow E, printed by the printing mechanism 7, and printed from the first printing block 81B1 first. Specifically, in the first print block 81B1, printing is performed from the print start position 82B1 of the print range 85B1, and in the second print block 81B2, printing is performed from the print start position 82B2 of the print range 85B2. ..
In the above description, an example in which there are two printing blocks 81 surrounded by ruled lines has been described, but the number may be one, or three or more.

次に、第1の実施の形態に関する画像形成装置1により印刷が行われた用紙80の構成を説明する。図4は、第1の実施の形態に関する画像形成装置により印刷が行われた用紙の説明図である。なお、図4は、図3と同様に用紙80の紙面下側を切欠いた図を示す。図4(a)は、用紙A(80A)として宅配便等で用いられる着払い伝票の例を示し、図4(b)は、用紙B(80B)として元払い伝票の例を示す。 Next, the configuration of the paper 80 printed by the image forming apparatus 1 according to the first embodiment will be described. FIG. 4 is an explanatory diagram of sheets printed by the image forming apparatus according to the first embodiment. Note that FIG. 4 is a view in which the lower side of the paper surface of the paper 80 is cut out as in FIG. 3. FIG. 4A shows an example of a cash on delivery slip used as a paper A (80A) for home delivery and the like, and FIG. 4B shows an example of a prepaid slip as a paper B (80B).

図4(a)における「着払い伝票」、「お届け先」、「郵便番号」、「電話番号」、「住所」、「氏名」及び「様」の文字は予め印刷されてあるプレプリント文字73である。同様に図4(b)にける「元払い伝票」、「お届け先」、「郵便番号」、「電話番号」、「住所・氏名」及び「様」の文字は予め印刷されてあるプレプリント文字73である。更に、印刷ブロック81A1、81A2、81B1及び81B2は予め印刷してある複数のプレプリント罫線74によって囲まれている。 In FIG. 4(a), the characters "cash on delivery slip", "delivery address", "zip code", "phone number", "address", "name", and "sama" are preprinted characters 73 which are printed in advance. is there. Similarly, the characters “prepayment slip”, “delivery address”, “zip code”, “phone number”, “address/name” and “sama” in FIG. 4B are preprinted characters 73 which are printed in advance. Is. Further, the print blocks 81A1, 81A2, 81B1 and 81B2 are surrounded by a plurality of preprinted ruled lines 74 which are printed in advance.

以上の用紙A(80A)及び用紙B(80B)に対し、画像形成装置1により以下の印刷が行われる。図4(a)に示すように、用紙A(80A)においては、第1の印刷ブロック81A1には、郵便番号の紙面下側に印刷データGdに対応する印刷文字75としての「123−4567」が印刷され、電話番号の紙面下側に同じく印刷文字75としての「01−2345−6789」が印刷される。第2の印刷ブロック81A2には、住所の紙面下側に印刷文字75としての「東京都千代田区霞が関一丁目2番3号」が印刷され、氏名の紙面下側に印刷文字75としての「特許太郎」が印刷される。 The following printing is performed on the above-described paper A (80A) and paper B (80B) by the image forming apparatus 1. As shown in FIG. 4A, in the paper A (80A), the first print block 81A1 has "123-4567" as the print character 75 corresponding to the print data Gd on the lower side of the postal code space. Is printed, and "01-2345-6789" as the print character 75 is printed on the lower side of the telephone number. In the second printing block 81A2, "Kasumigaseki 1-chome 2-3, Chiyoda-ku, Tokyo" is printed as the printing character 75 on the lower side of the address, and the "patent" is printed as the printing character 75 on the lower side of the name. "Taro" is printed.

また、図4(b)に示すように、用紙B(80B)においては、第1の印刷ブロック81B1には、用紙A(80A)と同様に、郵便番号の紙面下側に印刷データGdに対応する印刷文字75としての「123−4567」が印刷され、電話番号の紙面下側に同じく印刷文字75としての「01−2345−6789」が印刷される。第2の印刷ブロック81B2には、住所・氏名の紙面右側に印刷文字75としての「東京都千代田区霞が関一丁目2番2号 特許太郎」が印刷される。
このように用紙A(80A)及び用紙B(80B)に所望の内容が画像形成装置1により印刷され、宅配便等の荷物に貼付されて用いられる。
Further, as shown in FIG. 4B, in the paper B (80B), the first print block 81B1 corresponds to the print data Gd on the lower side of the postal code as in the paper A (80A). "123-4567" as the print character 75 is printed, and "01-2345-6789" as the print character 75 is printed below the paper surface of the telephone number. In the second print block 81B2, "Kasumigaseki 1-2-2 Kasumigaseki, Chiyoda-ku, Tokyo" is printed on the right side of the address/name as a print character 75.
In this way, the desired contents are printed on the paper A (80A) and the paper B (80B) by the image forming apparatus 1, and are used by being attached to the parcel such as parcel delivery service.

次に、上位装置2から送信され、画像形成装置1において受信する受信データ200のフォーマットを説明する。図5は、第1の実施の形態に関する画像形成装置の受信データのフォーマットの説明図である。以下、便宜上、印刷ブロック数201A及び201Bを総称するときは印刷ブロック数201といい、印刷ブロックデータ202A1、202A2、202B1及び202B2を総称するときは印刷ブロックデータ202という。 Next, the format of the reception data 200 transmitted from the higher-level device 2 and received by the image forming apparatus 1 will be described. FIG. 5 is an explanatory diagram of a format of received data of the image forming apparatus according to the first embodiment. Hereinafter, for convenience, the print block numbers 201A and 201B are collectively referred to as the print block number 201, and the print block data 202A1, 202A2, 202B1 and 202B2 are collectively referred to as the print block data 202.

図5に示すように、第1の実施の形態に関する画像形成装置1の受信データ200は、印刷ブロック数201を先頭とし、次に印刷ブロックデータ202が印刷ブロック数201のパラメータBn個分配置された構成となっている。例えば、印刷ブロック数201AのパラメータBnが「2」の場合は、第1の印刷ブロックデータ202A1と第2の印刷ブロックデータ202A2が配置された構成となっている。
印刷ブロックデータ202は、水平位置決めコマンドHxCmd、印刷データGd、印刷ブロック区切りコマンドBkCmd及び用紙送りコマンドPcCmdから構成される。
As shown in FIG. 5, in the received data 200 of the image forming apparatus 1 according to the first embodiment, the number of print blocks 201 is the head, and next, the print block data 202 is arranged by the number of parameters Bn of the number of print blocks 201. It has been configured. For example, when the parameter Bn of the print block number 201A is "2", the first print block data 202A1 and the second print block data 202A2 are arranged.
The print block data 202 includes a horizontal positioning command HxCmd, print data Gd, a print block delimiter command BkCmd, and a paper feed command PcCmd.

水平位置決めコマンドHxCmdは、印刷ブロック81における印刷開始位置82となるX座標をパラメータとしたコマンドであり、印刷ブロック81における印刷開始位置82まで図1に示す印刷機構7の印刷ヘッド7aを矢印Hに示す方向に移動させるコマンドである。
印刷データGdは、文字及び画像を形成させるテキストデータ、グラフィックデータ及びイメージデータ等で構成されこの印刷データGdに基づいた文字及び画像が印刷機構7によって印刷される。
The horizontal positioning command HxCmd is a command having the X coordinate as the print start position 82 in the print block 81 as a parameter, and the print head 7a of the print mechanism 7 shown in FIG. It is a command to move in the direction shown.
The print data Gd is composed of text data for forming characters and images, graphic data, image data, etc., and characters and images based on the print data Gd are printed by the printing mechanism 7.

印刷ブロック区切りコマンドBkCmdは、次の印刷ブロック81に進めるためのコマンドである。
用紙送りコマンドPcCmdは、図1の矢印E又は矢印Fに示す方向に用紙80を搬送させるコマンドであり、用紙送り量Cyをパラメータとして用紙送りを実行させる。
以上の印刷ブロック数201、及び印刷ブロック数201のパラメータBn個分の印刷ブロックデータ202が用紙80ごとに繰り返され、受信データ200が形成される。
The print block delimiter command BkCmd is a command for advancing to the next print block 81.
The paper feed command PcCmd is a command to convey the paper 80 in the direction indicated by arrow E or arrow F in FIG. 1, and executes paper feed using the paper feed amount Cy as a parameter.
The print block number 201 and the print block data 202 for the number of parameters Bn of the print block number 201 are repeated for each sheet 80 to form the received data 200.

次に、第1の実施の形態に関する画像形成装置1の機能を説明する。図6は、第1の実施の形態に関する画像形成装置の機能ブロック図である。図6に示すように、第1の実施の形態に関する画像形成装置1は、制御手段100、受信手段110、印刷手段120、用紙搬送手段130、印刷開始位置情報抽出手段140、印刷領域抽出手段150、記憶手段160及び報知手段170を備える。
制御手段100は、印刷手段120による同一の用紙種類の2回目以降の印刷のときに、印刷開始位置情報抽出手段140により抽出した印刷開始位置情報Dpと一致する用紙種類名Npを前記記憶手段160から取得して該用紙種類名Npを報知手段170により報知するものである。
Next, the function of the image forming apparatus 1 according to the first embodiment will be described. FIG. 6 is a functional block diagram of the image forming apparatus according to the first embodiment. As shown in FIG. 6, the image forming apparatus 1 according to the first exemplary embodiment includes a control unit 100, a receiving unit 110, a printing unit 120, a sheet conveying unit 130, a print start position information extracting unit 140, and a print area extracting unit 150. The storage means 160 and the notification means 170 are provided.
The control unit 100 stores the paper type name Np that matches the print start position information Dp extracted by the print start position information extraction unit 140 during the second and subsequent printing of the same paper type by the printing unit 120, and the storage unit 160. The paper type name Np acquired from the above is notified by the notification means 170.

更に制御手段100は、印刷手段120による同一の用紙種類の2回目以降の印刷のときに、印刷開始位置情報抽出手段140により抽出した印刷開始位置情報Dpと印刷領域抽出手段150により抽出した印刷領域情報Paとの組合わせが、記憶手段160に記憶されていないときは、用紙80が間違っている旨又は用紙80をセットする方向が間違っている旨の警告を報知手段170により報知する。 Further, the control unit 100 prints the print start position information Dp extracted by the print start position information extraction unit 140 and the print region extracted by the print region extraction unit 150 during the second and subsequent printing of the same paper type by the printing unit 120. When the combination with the information Pa is not stored in the storage unit 160, the notification unit 170 gives a warning that the paper 80 is wrong or that the direction in which the paper 80 is set is wrong.

更に制御手段100は、印刷手段120による同一の用紙種類の2回目以降の印刷のとき、かつ報知手段170による警告を報知するときに、印刷開始位置情報抽出手段140により抽出した印刷開始位置情報Dpと一致する用紙種類名Npを記憶手段160から取得して該用紙種類名Npを報知手段170により報知する。 Further, the control unit 100 prints the print start position information Dp extracted by the print start position information extraction unit 140 when the printing unit 120 prints the same paper type for the second time or later and when the notification unit 170 issues a warning. The paper type name Np that matches with is acquired from the storage unit 160, and the notification unit 170 notifies the paper type name Np.

更に制御手段100は、印刷開始位置情報Dpと印刷領域情報Paとの組合わせが記憶手段160に記憶されていないときに、印刷手段120による印刷を中止する。更に制御手段100は、差異ブロック情報記憶部92に差異ブロック番号DBNが記憶されているとき、印刷領域抽出手段150により抽出される印刷領域84と、記憶手段160の該当する印刷ブロック81の印刷領域84とを比較し、一致しないときに報知手段170による警告の報知を行う。制御手段100は、図2に示す主制御部70のほか、印刷ブロック比較部13、罫線位置比較部44及びセット用紙判定部45により機能する。 Further, the control unit 100 stops the printing by the printing unit 120 when the combination of the print start position information Dp and the print area information Pa is not stored in the storage unit 160. Further, the control unit 100, when the difference block number DBN is stored in the difference block information storage unit 92, the print region 84 extracted by the print region extraction unit 150 and the print region of the corresponding print block 81 in the storage unit 160. 84 is compared, and when they do not match, the notification means 170 gives a warning. The control unit 100 functions not only by the main control unit 70 shown in FIG. 2, but also by the print block comparison unit 13, the ruled line position comparison unit 44, and the set sheet determination unit 45.

受信手段110は、複数の印刷ブロック81を有する用紙80に印刷するデータを受信データ200として受信するものである。受信手段110は、図2に示す受信部10によって機能する。
印刷手段120は、用紙搬送手段130により用紙80を搬送し、受信データ200に基づいて用紙80に印刷するものである。印刷手段120は、図1に示す印刷機構7及び図2に示す編集部20及び印刷制御部30によって機能する。
印刷媒体搬送手段としての用紙搬送手段130は、用紙80を搬送するものである。用紙搬送手段130は、図1に示す用紙送りモータ8、図2に示す用紙搬送制御部40、用紙送り部41及び給紙部42によって機能する。
The receiving unit 110 receives, as the reception data 200, data to be printed on the paper 80 having the plurality of printing blocks 81. The receiving means 110 functions by the receiving unit 10 shown in FIG.
The printing unit 120 conveys the sheet 80 by the sheet conveying unit 130 and prints on the sheet 80 based on the received data 200. The printing unit 120 functions by the printing mechanism 7 shown in FIG. 1, the editing unit 20 and the print control unit 30 shown in FIG.
The paper carrying unit 130 as a print medium carrying unit carries the paper 80. The sheet conveying means 130 functions by the sheet feeding motor 8 shown in FIG. 1, the sheet conveying control section 40, the sheet feeding section 41, and the sheet feeding section 42 shown in FIG.

印刷開始位置情報抽出手段140は、受信データ200から印刷ブロック81ごとに印刷開始位置82を抽出し、印刷開始位置情報Dpとするものである。抽出した印刷開始位置情報Dpは、前述のように印刷ブロック比較部13によって、既に記憶部60に記憶してある印刷開始位置情報Dp(図11参照)と比較される。印刷開始位置情報抽出手段140は、図2に示す受信データ解析部11、印刷開始位置抽出部12によって機能する。 The print start position information extraction means 140 extracts the print start position 82 for each print block 81 from the received data 200 and sets it as the print start position information Dp. The extracted print start position information Dp is compared with the print start position information Dp (see FIG. 11) already stored in the storage unit 60 by the print block comparison unit 13 as described above. The print start position information extraction means 140 functions by the received data analysis unit 11 and the print start position extraction unit 12 shown in FIG.

印刷領域抽出手段150は、読取部43により用紙80の印刷領域84を抽出して印刷領域情報Paとするものである。更に、印刷領域抽出手段150は、差異ブロック情報記憶部92に差異ブロック番号DBNが記憶されているときは、読取部43により、該当する印刷ブロック81の印刷領域84を抽出する。
印刷領域抽出手段150は、図1に示す光学式センサ4及び図2に示す読取部43によって機能する。
The print area extraction unit 150 extracts the print area 84 of the paper 80 by the reading unit 43 and sets it as the print area information Pa. Further, when the difference block number DBN is stored in the difference block information storage unit 92, the print area extracting unit 150 causes the reading unit 43 to extract the print area 84 of the corresponding print block 81.
The print area extracting unit 150 functions by the optical sensor 4 shown in FIG. 1 and the reading unit 43 shown in FIG.

記憶手段160は、用紙種類が変更された後、即ち、印刷手段120による同一の用紙種類の初回の印刷のときの印刷開始位置情報Dp及び印刷領域情報Paと、用紙種類名Npとを関連付けて記憶するものである。或いは記憶手段160は、同一の用紙種類の初回の印刷のとき、少なくとも印刷開始位置情報Dpと、用紙種類名Npとを関連付けて記憶する。 The storage unit 160 associates the paper type name Np with the print start position information Dp and the print area information Pa after the paper type is changed, that is, when the printing unit 120 first prints the same paper type. It is something to remember. Alternatively, the storage unit 160 stores at least the print start position information Dp and the paper type name Np in association with each other during the first printing of the same paper type.

更に記憶手段160は、同一の用紙種類の初回の印刷のときに、印刷領域情報Paに変化がある場合は、印刷ブロック番号Bkを差異ブロック番号DBNとして記憶する差異ブロック情報記憶部92を備える。また、この場合、印刷ブロック81の印刷開始位置情報Dpに変化がある場合としてもよい。
記憶手段160は、図2に示す記憶部60、印刷開始位置情報登録部61、印刷領域情報登録部62及び差異ブロック登録部63によって機能する。
報知手段170は、用紙種類名Npを報知するものである。報知手段170は、図1に示す操作表示部6及び図2に示す操作表示制御部50によって機能する。
Further, the storage unit 160 includes a different block information storage unit 92 that stores the print block number Bk as the different block number DBN when the print area information Pa changes during the first printing of the same paper type. Further, in this case, the print start position information Dp of the print block 81 may be changed.
The storage unit 160 functions by the storage unit 60, the print start position information registration unit 61, the print area information registration unit 62, and the difference block registration unit 63 shown in FIG.
The notification unit 170 is for notifying the paper type name Np. The notification unit 170 functions by the operation display unit 6 shown in FIG. 1 and the operation display control unit 50 shown in FIG.

以上の構成により、第1の実施の形態に関する画像形成装置1は以下のように動作する。最初に、第1の実施の形態に関する画像形成装置1によって用紙80に印刷を行う印刷動作を説明する。図7は、第1の実施の形態に関する画像形成装置の印刷動作のフローチャートである。以下、図7を用いて画像形成装置1の印刷動作を説明する。
先ず、オペレータによって印刷する内容が選択され、上位装置2より印刷するデータがUSBケーブル等を経由して送信データとして画像形成装置1に送信される。
ステップS1:制御手段100は、印刷するデータを受信データ200として受信する。言い換えれば、制御手段100は、受信手段110により印刷するデータを受信データ200として受信し受信バッファ10aに格納する。
With the above configuration, the image forming apparatus 1 according to the first embodiment operates as follows. First, a printing operation for printing on the paper 80 by the image forming apparatus 1 according to the first embodiment will be described. FIG. 7 is a flowchart of the printing operation of the image forming apparatus according to the first embodiment. Hereinafter, the printing operation of the image forming apparatus 1 will be described with reference to FIG.
First, the operator selects the content to be printed, and the data to be printed is transmitted from the upper level device 2 to the image forming apparatus 1 as transmission data via a USB cable or the like.
Step S1: The control means 100 receives the data to be printed as the reception data 200. In other words, the control unit 100 receives the data to be printed by the reception unit 110 as the reception data 200 and stores it in the reception buffer 10a.

ステップS2:制御手段100は、受信した受信データ200から、印刷開始位置情報抽出手段140によって、印刷ブロック81ごとの印刷開始位置82を抽出し、印刷開始位置情報Dpとする。言い換えれば、制御手段100は、印刷開始位置情報抽出手段140によって受信バッファ10aをサーチし、順に、印刷ブロック81ごとの印刷開始位置82を抽出し、全ての印刷開始位置情報Dpを取得する。
具体的には、図2に示す主制御部70が、受信データ解析部11によって受信バッファ10aをサーチし、印刷開始位置抽出部12によって各印刷ブロック81の印刷開始位置82を抽出し、印刷開始位置情報Dpとする。この印刷開始位置情報Dpを取得する動作については、後に図10を用いて詳細に説明する。
Step S2: The control unit 100 causes the print start position information extraction unit 140 to extract the print start position 82 for each print block 81 from the received data 200, and sets it as the print start position information Dp. In other words, the control unit 100 searches the reception buffer 10a by the print start position information extraction unit 140, sequentially extracts the print start position 82 for each print block 81, and acquires all the print start position information Dp.
Specifically, the main control unit 70 shown in FIG. 2 searches the reception buffer 10a by the reception data analysis unit 11, extracts the print start position 82 of each print block 81 by the print start position extraction unit 12, and starts printing. The position information is Dp. The operation of acquiring the print start position information Dp will be described later in detail with reference to FIG.

ステップS3:制御手段100は、同一の用紙種類の初回の印刷か否かを判定する。言い換えれば、制御手段100は、記憶手段160によって既に記憶されている印刷開始位置情報Dpがあるか否かを判定する。具体的には、図2に示す主制御部70は、記憶部60に記憶されている印刷開始位置情報Dpがあるか否かを判定する。
その後、制御手段100は、上記判定により、記憶されている印刷開始位置情報Dpがないと判定するときは、同一の用紙種類について初回の印刷であるとして以下のステップS4に進む。一方、記憶されている印刷開始位置情報Dpがあると判定するときは、同一の用紙種類について2回目以降の印刷であるとして後述するステップS8に進む。
Step S3: The control unit 100 determines whether or not it is the first printing of the same paper type. In other words, the control unit 100 determines whether or not there is the print start position information Dp already stored in the storage unit 160. Specifically, the main control unit 70 shown in FIG. 2 determines whether or not there is the print start position information Dp stored in the storage unit 60.
After that, when the control unit 100 determines that there is no stored print start position information Dp by the above determination, it is determined that it is the first printing for the same paper type, and the process proceeds to step S4 described below. On the other hand, when it is determined that there is the stored print start position information Dp, the process proceeds to step S8, which will be described later, because it is the second and subsequent printing for the same paper type.

ステップS4:制御手段100は、既に記憶されている印刷開始位置情報Dpがないと判定したとき、即ち、同一の用紙種類の初回の印刷と判定したときに、印刷開始位置情報Dpと、用紙80を特定する用紙種類名Npとを関連付けて記憶する。言い換えれば、制御手段100は、同一の用紙種類について初回の印刷であると判定したときは、記憶手段160に印刷開始位置情報Dpと用紙種類名Npとを関連付けて記憶する。この記憶動作の具体例については、後に図11を用いて詳細に説明する。 Step S4: When the control unit 100 determines that there is no print start position information Dp that has already been stored, that is, when it is determined that it is the first print of the same paper type, the print start position information Dp and the paper 80. Is stored in association with the paper type name Np that specifies In other words, when it is determined that the same paper type is the first print, the control unit 100 stores the print start position information Dp and the paper type name Np in the storage unit 160 in association with each other. A specific example of this storage operation will be described later in detail with reference to FIG.

このとき、制御手段100は、用紙種類名Npを「用紙A」、「用紙B」、・・・「用紙n」として順に記憶する。具体的な用紙種類、例えば「着払い伝票」、「元払い伝票」等を用紙種類名Npとして順に記憶するようにしてもよい。また、用紙80の特定位置に用紙種類名Npを特殊コードにより印刷しておき、印刷領域抽出手段150の読取部43によって、この特殊コードを読み取って用紙種類名Npとして記憶するようにしてもよい。用紙種類名Npは、後に図11に示すように、記憶手段160によって記憶部60の位置領域情報記憶テーブル91に記憶し、用紙種類名Npを設定する。 At this time, the control unit 100 sequentially stores the paper type name Np as "paper A", "paper B",... "Paper n". Specific paper types such as "cash on delivery slip" and "prepayment slip" may be stored in order as the paper type name Np. Alternatively, the sheet type name Np may be printed at a specific position on the sheet 80 with a special code, and the reading section 43 of the print area extracting unit 150 may read the special code and store the sheet type name Np. .. As shown in FIG. 11, the sheet type name Np is stored in the position area information storage table 91 of the storage unit 60 by the storage unit 160, and the sheet type name Np is set.

ステップS5:制御手段100は、同一の用紙種類の初回の印刷と判定したときに、印刷を行い、該印刷を行っているときに、印刷領域抽出手段150によって印刷ブロック81の印刷領域84を抽出し、印刷領域情報Paとする。
言い換えれば、制御手段100は、用紙搬送手段130によって、用紙80を給紙し搬送し、印刷手段120によって用紙80に印刷する。その後、印刷された用紙80を図1に示す排出トレイ5に矢印Fに示す方向に排出する。具体的には、図2に示す主制御部70は、給紙部42によって図1に示す用紙送りモータ8を駆動して印刷機構7へと矢印Eに示す方向に給紙する。更に、用紙送り部41によって用紙80を搬送し、印刷機構7によって印刷を行い、排出トレイ5に用紙80を排出する。
Step S5: The control unit 100 performs printing when it is determined that the printing is the first printing of the same paper type, and the printing region extracting unit 150 extracts the printing region 84 of the printing block 81 during the printing. The print area information Pa.
In other words, the control unit 100 causes the sheet conveying unit 130 to feed and convey the sheet 80, and the printing unit 120 prints on the sheet 80. Then, the printed paper 80 is discharged to the discharge tray 5 shown in FIG. 1 in the direction indicated by the arrow F. Specifically, the main control unit 70 shown in FIG. 2 drives the paper feeding motor 8 shown in FIG. 1 by the paper feeding unit 42 to feed the paper to the printing mechanism 7 in the direction indicated by the arrow E. Further, the paper 80 is conveyed by the paper feeding unit 41, printing is performed by the printing mechanism 7, and the paper 80 is discharged to the discharge tray 5.

この印刷を行っているときに、制御手段100は、印刷領域抽出手段150によって、用紙80にプレプリントされている罫線位置83を読み取って、印刷領域84を抽出して印刷領域情報Paとする。具体的には、図2に示す主制御部70が、図1に示す光学式センサ4を用いて読取部43によって罫線位置83を読み取って、印刷領域84を抽出して印刷領域情報Paとする。
ステップS6:制御手段100は、同一の用紙種類の初回の印刷と判定したときに、印刷開始位置情報Dp及び印刷領域情報Paと、用紙種類名Npとを関連付けて記憶する。この記憶動作の具体例については、後に図11を用いて詳細に説明する。
During this printing, the control unit 100 reads the ruled line position 83 preprinted on the paper 80 by the print region extraction unit 150, extracts the print region 84, and sets it as the print region information Pa. Specifically, the main control unit 70 shown in FIG. 2 reads the ruled line position 83 by the reading unit 43 using the optical sensor 4 shown in FIG. 1 and extracts the print area 84 to obtain the print area information Pa. ..
Step S6: The control unit 100 stores the print start position information Dp, the print area information Pa, and the paper type name Np in association with each other when it is determined that the printing is the first time for the same paper type. A specific example of this storage operation will be described later in detail with reference to FIG.

ステップS7:制御手段100は、印刷領域情報Paを記憶する時に、印刷ブロック番号Bkごとに比較して他の用紙種類名Npの印刷領域情報Paと異なる印刷領域情報Paがあるときは、当該印刷ブロック番号Bkを差異ブロック番号DBNとして記憶する。言い換えれば、制御手段100は、既に別の用紙種類名Npの印刷領域情報Paが記憶されていると判定したときは、印刷領域情報Paが相違する印刷ブロック番号Bkを差異ブロック番号DBNとして記憶手段160の差異ブロック情報記憶部92に記憶する。その後、印刷動作を終了する。この記憶動作の具体例については、後に図11を用いて詳細に説明する。 Step S7: When the print area information Pa is stored, the control unit 100 compares the print area numbers Pa with the print area information Pa of other paper type name Np, and if there is print area information Pa different from the print area information Pa. The block number Bk is stored as the difference block number DBN. In other words, when the control unit 100 determines that the print area information Pa of another sheet type name Np is already stored, the print block number Bk having different print area information Pa is stored as the different block number DBN. The difference block information storage unit 92 stores the difference block information. Then, the printing operation is finished. A specific example of this storage operation will be described later in detail with reference to FIG.

ステップS8:一方、ステップS3において、制御手段100は、既に記憶されている印刷開始位置情報Dpがあると判定したときは、即ち、同一の用紙種類の2回目以降の印刷であると判定したときは、印刷開始位置情報Dpが一致する用紙種類名Npを報知手段170によって報知する。具体的には、図2に示す主制御部70は、操作表示制御部50によって、図1に示す操作表示部6に印刷開始位置情報Dpが一致する用紙種類名Npを報知する。 Step S8: On the other hand, when the control means 100 determines in step S3 that there is already stored print start position information Dp, that is, when the control unit 100 determines that the printing is the second or subsequent printing of the same paper type. Informs the paper type name Np with which the print start position information Dp matches by the notifying means 170. Specifically, the main control unit 70 shown in FIG. 2 notifies the operation display control unit 50 of the paper type name Np with which the print start position information Dp matches, by the operation display control unit 50.

図8は、第1の実施の形態に関する画像形成装置おいてセットすべき用紙種類名を報知する画面例である。例えば、印刷開始位置情報Dpの一致する用紙種類名Npが「用紙B」であった場合、図8に示すように、画面G10に、用紙B(80B)をセットするように促すガイダンス301を表示する。また、用紙80をセットした後に印刷ボタン303を押下する旨及び印刷を中止するときは印刷中止ボタン304を押下する旨のガイダンス302を表示する。この近傍に印刷ボタン303及び印刷中止ボタン304を表示する。 FIG. 8 is an example of a screen for informing the paper type name to be set in the image forming apparatus according to the first embodiment. For example, when the paper type name Np with which the print start position information Dp matches is “paper B”, as shown in FIG. 8, a guidance 301 prompting the user to set paper B (80B) is displayed on the screen G10. To do. Further, a guidance 302 indicating that the print button 303 is pressed after setting the paper 80 and that the print cancel button 304 is pressed when printing is stopped is displayed. A print button 303 and a print cancel button 304 are displayed near this.

ステップS9:オペレータによって印刷ボタン303が押下されると、制御手段100は、ステップS7において記憶手段160により記憶された差異ブロック番号DBNを参照する。その後、制御手段100は、差異ブロック番号DBNに記憶された番号の印刷ブロック81まで、セットされた用紙80を用紙搬送手段130によって搬送する。その後、制御手段100は、印刷領域抽出手段150によって罫線位置83を読み取って印刷領域84を抽出する。 Step S9: When the print button 303 is pressed by the operator, the control means 100 refers to the different block number DBN stored in the storage means 160 in step S7. After that, the control means 100 conveys the set paper 80 by the paper conveyance means 130 to the printing block 81 of the number stored in the difference block number DBN. After that, the control unit 100 reads the ruled line position 83 by the print region extraction unit 150 and extracts the print region 84.

ステップS10:制御手段100は、抽出した印刷領域84が、既に記憶手段160によって記憶されたところの、印刷開始位置情報Dpが一致する印刷領域情報Paにおける同じ印刷ブロック番号Bkの印刷領域84と一致するか否かを判定する。具体的には、罫線位置比較部44が、読取部43を用いて取得する用紙80の印刷領域情報Paと、既に記憶部60に記憶されている印刷領域情報Paとを比較する。その後、セット用紙判定部45は、罫線位置比較部44の比較結果に基づいて、読取部43を通過した用紙、即ちセットした用紙80が受信データ200に合致している用紙80か否かを判定する。
印刷領域84が一致するときは、制御手段100は、セットされた用紙80が受信データ200に合致した用紙種類であると判定し、ステップS11に進む。一方、印刷領域84が一致しないときは、制御手段100は、セットされた用紙80が受信データ200と合致しないと判定し、ステップS13に進む。
Step S10: The control unit 100 matches the extracted print area 84 with the print area 84 of the same print block number Bk in the print area information Pa with the matching print start position information Dp, which is already stored by the storage unit 160. It is determined whether to do. Specifically, the ruled line position comparison unit 44 compares the print area information Pa of the sheet 80 acquired using the reading unit 43 with the print area information Pa already stored in the storage unit 60. After that, the set paper determination unit 45 determines whether or not the paper that has passed through the reading unit 43, that is, the set paper 80 is the paper 80 that matches the received data 200, based on the comparison result of the ruled line position comparison unit 44. To do.
When the print areas 84 match, the control unit 100 determines that the set paper 80 is the paper type that matches the received data 200, and proceeds to step S11. On the other hand, when the print areas 84 do not match, the control unit 100 determines that the set paper 80 does not match the received data 200, and proceeds to step S13.

このように差異ブロック番号DBNとして記憶された番号の印刷ブロック81まで用紙80を搬送し、罫線位置83を読み取って抽出した印刷領域84に基づいて、印刷領域84の一致不一致の判定を行うので、以下の効果がある。即ち、全ての印刷ブロック81の罫線位置83を読み取って印刷領域84を抽出する必要がなく、処理速度を向上させることができる。また、差異ブロック番号DBNに記憶された番号の印刷ブロック81の印刷領域84のみによって判定を行うので、判定精度を向上させることができる。
勿論、印刷領域抽出手段150により全ての印刷ブロック81の罫線位置83を読み取って、印刷領域84を抽出して印刷領域情報Paとし、印刷開始位置情報Dpと印刷領域情報Paとの組合わせが、記憶手段160に記憶されているか否かを判定するようにしてもよい。
In this way, the paper 80 is conveyed to the printing block 81 of the number stored as the difference block number DBN, and the matching of the printing areas 84 is determined based on the printing areas 84 extracted by reading the ruled line positions 83. It has the following effects. That is, it is not necessary to read the ruled line positions 83 of all the printing blocks 81 to extract the printing area 84, and the processing speed can be improved. Further, since the judgment is made only by the print area 84 of the print block 81 of the number stored in the difference block number DBN, the judgment accuracy can be improved.
Of course, the print area extracting unit 150 reads the ruled line positions 83 of all the print blocks 81, extracts the print area 84 and sets it as the print area information Pa, and the combination of the print start position information Dp and the print area information Pa is You may make it determine whether it is memorize|stored in the memory|storage means 160.

ステップS11:制御手段100は、セットされた用紙80が受信データ200に合致した用紙種類であると判定したときは、用紙搬送手段130によって、搬送前の位置まで用紙80を逆搬送して戻す。具体的には、図2に示す主制御部70は、給紙部42によって図1に示す用紙送りモータ8を逆回転させ矢印Eに示す方向とは逆に搬送しステップS9の搬送前の位置まで用紙80を戻す。 Step S11: When the control unit 100 determines that the set paper 80 is a paper type that matches the received data 200, the paper conveyance unit 130 reversely conveys the paper 80 back to the position before the conveyance. Specifically, the main control unit 70 shown in FIG. 2 rotates the paper feed motor 8 shown in FIG. 1 in the reverse direction by the paper feeding unit 42 and conveys it in the direction opposite to the direction indicated by the arrow E to the position before the conveyance in step S9. The paper 80 is returned.

ステップS12:その後、制御手段100は、用紙搬送手段130によって用紙80を搬送し印刷手段120によって印刷を行い、用紙80を排出トレイ5へと図1に示す矢印Fに示す方向に排出する。具体的には、図2に示す主制御部70は、図1に示す用紙送り部41によって用紙80を搬送し印刷機構7によって印刷を行い、排出トレイ5に用紙80を排出する。 Step S12: After that, the control unit 100 conveys the sheet 80 by the sheet conveying unit 130, performs printing by the printing unit 120, and ejects the sheet 80 to the ejection tray 5 in the direction indicated by the arrow F in FIG. Specifically, the main control unit 70 shown in FIG. 2 conveys the paper 80 by the paper feeding unit 41 shown in FIG. 1, performs printing by the printing mechanism 7, and ejects the paper 80 to the ejection tray 5.

ステップS13:一方、制御手段100は、ステップS10において、用紙セット部3にセットされた用紙80が受信データ200に合致しないと判定したときは、セットされた用紙80が間違っている旨又はセットされた用紙80の方向が間違っている旨を報知手段170によって報知する。具体的には、図2に示す主制御部70は、操作表示制御部50によって図1に示す操作表示部6に、間違った用紙種類がセットされた旨又はセットされた用紙80の方向が間違っている旨を表示して報知する。この報知は、操作表示部6への表示に替えて又は表示と共に音声、ブザー等の音で報知するようにしてもよい。 Step S13: On the other hand, when it is determined in step S10 that the paper 80 set in the paper setting unit 3 does not match the received data 200, the control unit 100 determines that the set paper 80 is wrong or is set. The notification unit 170 notifies that the orientation of the sheet 80 is wrong. Specifically, the main control unit 70 shown in FIG. 2 indicates that the operation display control unit 50 has set the wrong paper type on the operation display unit 6 shown in FIG. 1 or the direction of the set paper 80 is wrong. Is displayed to inform the user. The notification may be given by sound such as voice or buzzer instead of or in addition to the display on the operation display unit 6.

図9は、第1の実施の形態に関する画像形成装置おいて用紙間違いを報知する画面例である。ステップS13において用紙セット部3にセットされた用紙80が受信データ200に合致しないと判定したときは、図9の画面G11に示すように、受信データ200に合致しない用紙80がセットされている旨又はセットされた用紙80の方向が間違っている旨の警告ガイダンス311を表示する。また、警告ガイダンス311には、受信データ200に合致した用紙種類名Npを表示するようにしてもよい。 FIG. 9 is an example of a screen for notifying a wrong sheet in the image forming apparatus according to the first embodiment. When it is determined in step S13 that the paper 80 set in the paper setting unit 3 does not match the received data 200, the paper 80 that does not match the received data 200 is set as shown in the screen G11 of FIG. Alternatively, the warning guidance 311 indicating that the orientation of the set paper 80 is wrong is displayed. Further, the warning guidance 311 may display the paper type name Np that matches the received data 200.

更に画面G11には、用紙80をセットし直した後に印刷ボタン313を押下する旨及び印刷を中止するときは印刷中止ボタン314を押下する旨のガイダンス312を表示する。この近傍に印刷ボタン313及び印刷中止ボタン314を表示する。
制御手段100は、図9に示す画面G11の表示に基づいてオペレータによって印刷ボタン313が押下されたときは、再び印刷動作を開始しステップS1以降の処理を同様に実行し、セットし直された用紙80に印刷を行う。一方、印刷中止ボタン314が押下されたときは、印刷を行うことなく印刷動作を終了する。
Further, on the screen G11, a guidance 312 is displayed to the effect that the print button 313 is pressed after the paper 80 is set again and that the print cancel button 314 is pressed when printing is stopped. A print button 313 and a print stop button 314 are displayed near this.
When the operator presses the print button 313 based on the display of the screen G11 shown in FIG. 9, the control means 100 restarts the printing operation, similarly executes the processing from step S1 onward, and resets the print operation. Printing is performed on the paper 80. On the other hand, when the print stop button 314 is pressed, the printing operation is finished without printing.

なお、以上の説明では、図7に示すステップS8及びS13において、報知及び警告の報知の両方を行うように説明したが、いずれかの報知のみとしてもよい。即ち、図7に示すステップS8における同一の用紙種類の2回目以降の印刷のときにセットすべき用紙種類の報知、ステップS13における同一の用紙種類の2回目以降の印刷のときにセットすべき用紙種類を間違えている旨等の警告の報知のいずれかの報知のみを行うようにしてもよい。 In the above description, in steps S8 and S13 shown in FIG. 7, both the notification and the warning are described, but only one of the notifications may be performed. That is, in step S8 shown in FIG. 7, notification of the paper type to be set in the second and subsequent printing of the same paper type, and in step S13 paper to be set in the second and subsequent printing of the same paper type It is also possible to perform only one of the notifications of the warnings such as that the type is wrong.

次に、印刷開始位置情報抽出手段140により、受信データ200から印刷ブロック81ごとの印刷開始位置82を抽出し、印刷開始位置情報Dpとする動作を説明する。図10は、第1の実施の形態に関する画像形成装置の印刷開始位置情報抽出手段の動作フローチャートである。以下、用紙種類が用紙B(80B)の場合を例として図10を用いて印刷開始位置情報抽出手段140による印刷開始位置情報Dpの取得動作を説明する。 Next, an operation in which the print start position information extracting unit 140 extracts the print start position 82 for each print block 81 from the received data 200 and sets it as the print start position information Dp will be described. FIG. 10 is an operation flowchart of the print start position information extraction unit of the image forming apparatus according to the first embodiment. Hereinafter, the operation of acquiring the print start position information Dp by the print start position information extraction unit 140 will be described with reference to FIG. 10 in the case where the paper type is the paper B (80B) as an example.

最初に、制御手段100は、図2に示す主制御部70の一時記憶部71の印刷ブロック番号レジスタ71b、X座標レジスタ71x、Y座標レジスタ71yを初期化する。即ち、印刷ブロック番号レジスタ71b、X座標レジスタ71x及びY座標レジスタ71yの値を「0」とする。
ステップS21:次に、制御手段100は、受信手段110によって受信した受信データ200を順に読み出す。具体的には、主制御部70が、受信データ解析部11により受信部10の受信バッファ10aから受信データ200を順に読み出す。
First, the control unit 100 initializes the print block number register 71b, the X coordinate register 71x, and the Y coordinate register 71y of the temporary storage unit 71 of the main control unit 70 shown in FIG. That is, the values of the print block number register 71b, the X coordinate register 71x, and the Y coordinate register 71y are set to "0".
Step S21: Next, the control means 100 sequentially reads the reception data 200 received by the reception means 110. Specifically, the main control unit 70 causes the reception data analysis unit 11 to sequentially read the reception data 200 from the reception buffer 10 a of the reception unit 10.

ステップS22:制御手段100は、印刷開始位置情報抽出手段140によって、読み出した受信データ200が「水平位置決めコマンドHxCmd」であるか否かを判定する。具体的には、主制御部70が、受信データ解析部11によって「水平位置決めコマンドHxCmd」であるか否かを判定する。 Step S22: The control unit 100 determines whether the read reception data 200 is the “horizontal positioning command HxCmd” by the print start position information extraction unit 140. Specifically, the main control unit 70 determines whether or not the received data analysis unit 11 is the “horizontal positioning command HxCmd”.

ステップS23:制御手段100は、読み出した受信データ200が「水平位置決めコマンドHxCmd」であると判定したときは、印刷開始位置情報抽出手段140によって、印刷開始位置82のX座標を抽出し、一時記憶部71のX座標レジスタ71xの値を更新する。具体的には、主制御部70が、印刷開始位置抽出部12によって、「水平位置決めコマンドHxCmd」のパラメータのX座標が例えば「4」であったときは、X座標レジスタ71xの値を「4」に更新する。
一方、制御手段100は、読み出した受信データ200が「水平位置決めコマンドHxCmd」でないと判定したときは、当該印刷ブロックのX座標レジスタ71xの値を更新せずにステップS24に進む。
Step S23: When the control unit 100 determines that the read received data 200 is the “horizontal positioning command HxCmd”, the print start position information extraction unit 140 extracts the X coordinate of the print start position 82 and temporarily stores it. The value of the X coordinate register 71x of the unit 71 is updated. Specifically, when the X-coordinate of the parameter of the “horizontal positioning command HxCmd” is “4” by the print start position extracting section 12, the main control unit 70 sets the value of the X-coordinate register 71x to “4”. Update to.
On the other hand, when the control unit 100 determines that the read received data 200 is not the “horizontal positioning command HxCmd”, the control unit 100 proceeds to step S24 without updating the value of the X coordinate register 71x of the print block.

ステップS24:制御手段100は、印刷開始位置情報抽出手段140によって、読み出した受信データ200が「印刷データGd」であると判定したときは、ステップS21に戻り、読み出した受信データ200が「印刷データGd」でないときは、ステップS25に進む。
ステップS25:制御手段100は、印刷開始位置情報抽出手段140によって、読み出した受信データ200が「印刷ブロック区切りコマンドBkCmd」であるか否かを判定する。
制御手段100は、読み出した受信データ200が「印刷ブロック区切りコマンドBkCmd」でないと判定したときはステップS26に進み、「印刷ブロック区切りコマンドBkCmd」であると判定したときはステップS27に進む。
Step S24: When the print start position information extracting unit 140 determines that the read reception data 200 is “print data Gd”, the control unit 100 returns to Step S21, and the read reception data 200 is “print data Gd”. When it is not "Gd", the process proceeds to step S25.
Step S25: The control unit 100 causes the print start position information extraction unit 140 to determine whether the read reception data 200 is a “print block delimiter command BkCmd”.
The control means 100 proceeds to step S26 when it determines that the read received data 200 is not the “print block delimiter command BkCmd”, and proceeds to step S27 when it determines that it is the “print block delimiter command BkCmd”.

ステップS26:制御手段100は、ステップS25において読み出した受信データ200が「印刷ブロック区切りコマンドBkCmd」でないと判定したときは、受信データ解析部11によって、受信手段110の受信バッファ10aから次の受信データ200を読み出し、ステップS25に戻る。このように、制御手段100は、読み出した受信データ200が「印刷ブロック区切りコマンドBkCmd」になるまで、順に受信データ200を読み出す。 Step S26: When the control unit 100 determines that the received data 200 read in Step S25 is not the “print block delimiter command BkCmd”, the received data analysis unit 11 causes the received data analysis unit 11 to receive the next received data from the receive buffer 10a of the receiving unit 110. 200 is read, and the process returns to step S25. In this way, the control unit 100 sequentially reads the received data 200 until the read received data 200 becomes the “print block delimiter command BkCmd”.

ステップS27:制御手段100は、ステップS25において読み出した受信データ200が「印刷ブロック区切りコマンドBkCmd」であると判定したときは、一時記憶部71の印刷ブロック番号レジスタ71bの値を「1」加算する。即ち、印刷ブロック番号レジスタ71bの値「0」を「1」に更新する。 Step S27: When the control means 100 determines that the received data 200 read in step S25 is the “print block delimiter command BkCmd”, it adds “1” to the value of the print block number register 71b of the temporary storage unit 71. .. That is, the value "0" of the print block number register 71b is updated to "1".

ステップS28:制御手段100は、印刷開始位置情報抽出手段140によって、読み出した受信データ200が「用紙送りコマンドPcCmd」であるか否かを判定する。
制御手段100は、読み出した受信データ200が「用紙送りコマンドPcCmd」でないと判定したときはステップS31に進み、「用紙送りコマンドPcCmd」であったときはステップS29に進む。
Step S28: The control unit 100 causes the print start position information extraction unit 140 to determine whether the read reception data 200 is the “paper feed command PcCmd”.
When the control means 100 determines that the read received data 200 is not the "paper feed command PcCmd", the process proceeds to step S31, and when the read data 200 is the "paper feed command PcCmd", the process proceeds to step S29.

ステップS29:制御手段100は、読み出した受信データ200が「用紙送りコマンドPcCmd」であると判定したときは、用紙送りコマンドPcCmdのパラメータによって指定された用紙送り量Cyを一時記憶部71のY座標レジスタ71yの値に加算し、Y座標レジスタ71yの値を更新する。 Step S29: When the control unit 100 determines that the read received data 200 is the “paper feed command PcCmd”, the paper feed amount Cy specified by the parameter of the paper feed command PcCmd is stored in the Y coordinate register 71y of the temporary storage unit 71. It is added to the value and the value of the Y coordinate register 71y is updated.

例えば、第1の印刷ブロック81B1の前の時点で、用紙送りコマンドPcCmdの用紙送り量Cyが「3」であった場合では、第1の印刷ブロック81B1におけるY座標レジスタ71yの値は、「3」に更新される。その後、第1の印刷ブロック81B1から第2の印刷ブロック81B2の間の用紙送りコマンドPcCmdの用紙送り量Cyが「3」であった場合では累積加算され、第2の印刷ブロック81B2におけるY座標レジスタ71yの値は「6」に更新される。 For example, when the paper feed amount Cy of the paper feed command PcCmd is “3” before the first print block 81B1, the value of the Y coordinate register 71y in the first print block 81B1 becomes “3”. Will be updated. After that, when the paper feed amount Cy of the paper feed command PcCmd between the first printing block 81B1 and the second printing block 81B2 is “3”, the cumulative addition is performed, and the Y coordinate register 71y in the second printing block 81B2 is added. The value is updated to "6".

ステップS30:制御手段100は、印刷開始位置情報抽出手段140によって、受信手段110の受信バッファ10aから次の受信データ200を読み出し、ステップS28に戻り、読み出した受信データ200が「用紙送りコマンドPcCmd」であるか否かを判定する。このように、制御手段100は、読み出した受信データ200が「用紙送りコマンドPcCmd」でなくなるまで、Y座標レジスタ71yの値を用紙送り量Cy分、累積加算しながら、順に受信データ200を読み出す。 Step S30: The control unit 100 causes the print start position information extraction unit 140 to read the next reception data 200 from the reception buffer 10a of the reception unit 110, and returns to step S28, where the read reception data 200 is the "paper feed command PcCmd". Determine whether there is. In this way, the control unit 100 sequentially reads the reception data 200 while cumulatively adding the value of the Y coordinate register 71y by the paper feed amount Cy until the read reception data 200 is not the "paper feed command PcCmd".

ステップS31:制御手段100は、印刷ブロック番号レジスタ71bの値を印刷ブロック番号Bkとし、X座標レジスタ71xの値をX座標とし、更に、Y座標レジスタ71yの値をY座標として、記憶手段160の位置領域情報記憶テーブル91に記憶する。この具体例は、後に図11を用いて詳細に説明する。 Step S31: The control means 100 sets the value of the print block number register 71b as the print block number Bk, the value of the X coordinate register 71x as the X coordinate, and the value of the Y coordinate register 71y as the Y coordinate, and stores the value in the storage means 160. This is stored in the position area information storage table 91. This specific example will be described later in detail with reference to FIG.

ステップS32:読み出した受信データ200が「用紙送りコマンドPcCmd」でなくなると、制御手段100は、全印刷ブロック81の受信データ200の解析が終了したか否かを判定し、終了していないと判定したときは、ステップS21に戻る。この場合、第2の印刷ブロック81B2の解析が終了していないので、ステップS21に戻り、第2の印刷ブロック81B2の解析及び記憶動作を同様に行う。一方、制御手段100は、受信データ200の全ての印刷ブロック81の解析が終了したと判定したときは、本処理を終了する。
以上の解析動作により、印刷開始位置情報Dpとなる全印刷ブロック81の印刷開始位置82(X座標及びY座標)が確定し、位置領域情報記憶テーブル91に記憶される。
Step S32: When the read received data 200 is not the “paper feed command PcCmd”, the control means 100 determines whether or not the analysis of the received data 200 of all the printing blocks 81 is completed, and determines that it is not completed. If so, the process returns to step S21. In this case, since the analysis of the second print block 81B2 has not been completed, the process returns to step S21, and the analysis and storage operation of the second print block 81B2 is performed in the same manner. On the other hand, when the control unit 100 determines that the analysis of all the print blocks 81 of the received data 200 is completed, the control unit 100 ends the present process.
By the above-described analysis operation, the print start positions 82 (X coordinate and Y coordinate) of all the print blocks 81 that become the print start position information Dp are determined and stored in the position area information storage table 91.

次に、印刷開始位置情報Dp、印刷領域情報Pa及び差異ブロック番号DBNについて、位置領域情報記憶テーブル91及び差異ブロック情報記憶部92に記憶する動作を説明する。図11は、第1の実施の形態に関する印刷開始位置情報、印刷領域情報及び差異ブロック番号の記憶状態の変化を示す説明図である。なお、図11(a)は、初回の印刷として用紙A(80A)を印刷したときの位置領域情報記憶テーブル91及び差異ブロック情報記憶部92の記憶状態を示す。図11(b)は、その後、初回の印刷として用紙B(80B)を印刷したときの同じく位置領域情報記憶テーブル91及び差異ブロック情報記憶部92の記憶状態を示す。 Next, the operation of storing the print start position information Dp, the print area information Pa, and the different block number DBN in the position area information storage table 91 and the different block information storage unit 92 will be described. FIG. 11 is an explanatory diagram showing changes in the storage state of the print start position information, the print area information, and the different block number according to the first embodiment. Note that FIG. 11A shows the storage state of the position area information storage table 91 and the difference block information storage unit 92 when the sheet A (80A) is printed as the first print. FIG. 11B shows the storage state of the position area information storage table 91 and the difference block information storage unit 92 when the sheet B (80B) is printed as the first printing thereafter.

位置領域情報記憶テーブル91には、記憶手段160によって、印刷開始位置情報Dp及び印刷領域情報Paが記憶される。差異ブロック情報記憶部92には、記憶手段160によって、差異ブロック番号DBNが記憶される。
具体的には、位置領域情報記憶テーブル91には、図2に示す印刷領域情報登録部62によって印刷開始位置情報Dp及び印刷領域情報Paが記憶される。差異ブロック情報記憶部92には、差異ブロック登録部63によって、差異ブロック番号DBNが記憶される。
最初に、図7を用いて説明したステップS1〜S7の具体例として、初回の印刷において用紙A(80A)、用紙B(80B)を順に印刷するときの印刷開始位置情報Dp、印刷領域情報Pa及び差異ブロック番号DBNの記憶動作を説明する。
The print start position information Dp and the print area information Pa are stored in the position area information storage table 91 by the storage unit 160. The storage block 160 stores the difference block number DBN in the difference block information storage unit 92.
Specifically, in the position area information storage table 91, print start position information Dp and print area information Pa are stored by the print area information registration unit 62 shown in FIG. The difference block number DBN is stored in the difference block information storage unit 92 by the difference block registration unit 63.
First, as a specific example of steps S1 to S7 described with reference to FIG. 7, the print start position information Dp and the print area information Pa when the paper A (80A) and the paper B (80B) are sequentially printed in the first printing. And the storage operation of the difference block number DBN will be described.

先ず、制御手段100は、受信手段110によって用紙A(80A)の受信データ200を受信すると、印刷開始位置情報抽出手段140によって用紙A(80A)について各印刷ブロック81の印刷開始位置82のX座標及びY座標を抽出する(図7に示すステップS1及びS2)。この印刷開始位置82のX座標及びY座標の抽出は、図10を用いて説明した印刷開始位置情報Dpを取得する動作により行う。 First, when the receiving unit 110 receives the reception data 200 of the sheet A (80A), the control unit 100 causes the printing start position information extracting unit 140 to print the X coordinate of the printing start position 82 of each printing block 81 on the sheet A (80A). And Y coordinates are extracted (steps S1 and S2 shown in FIG. 7). The extraction of the X and Y coordinates of the print start position 82 is performed by the operation of acquiring the print start position information Dp described with reference to FIG.

具体的には、主制御部70は、受信データ解析部11によって受信バッファ10aをサーチする。更に、印刷開始位置抽出部12によって、用紙A(80A)について第1の印刷ブロック81A1の印刷開始位置82A1のX座標及びY座標(例えば、X=4、Y=3)を抽出する。同時に、第2の印刷ブロック81A2の印刷開始位置82A2のX座標及びY座標(例えば、X=4、Y=6)を抽出し、これらの座標を用紙A(80A)の印刷開始位置情報Dpとする。 Specifically, the main control unit 70 searches the reception buffer 10a by the reception data analysis unit 11. Further, the print start position extraction unit 12 extracts the X coordinate and the Y coordinate (for example, X=4, Y=3) of the print start position 82A1 of the first print block 81A1 for the paper A (80A). At the same time, the X coordinate and the Y coordinate (for example, X=4, Y=6) of the print start position 82A2 of the second print block 81A2 are extracted, and these coordinates are set as the print start position information Dp of the paper A (80A). To do.

次に、制御手段100は、位置領域情報記憶テーブル91に同一の印刷開始位置情報Dpが格納されていないと判定したとき、即ち、同一の用紙種類の初回の印刷と判定したときは、記憶手段160によって、用紙種類名Npと印刷開始位置情報Dpとを関連付けて位置領域情報記憶テーブル91に記憶する(図7に示すステップS3及びS4)。
具体的には、図11(a)に示すように、図2に示す主制御部70は、印刷開始位置情報登録部61によって、位置領域情報記憶テーブル91に次のように記憶する。即ち、印刷開始位置82A1として、用紙種類名Npが「用紙A」の印刷ブロック番号Bk=1のX座標欄に「4」を記憶しY座標欄に「3」を記憶する。また、印刷開始位置82A2として、用紙A(80A)の印刷ブロック番号Bk=2のX座標欄に「4」を記憶しY座標欄に「6」を記憶する。
Next, when the control unit 100 determines that the same print start position information Dp is not stored in the position area information storage table 91, that is, when the control unit 100 determines that it is the first printing of the same paper type, the storage unit The sheet type name Np and the print start position information Dp are associated with each other and stored in the position area information storage table 91 by 160 (steps S3 and S4 shown in FIG. 7).
Specifically, as shown in FIG. 11A, the main control unit 70 shown in FIG. 2 stores in the position area information storage table 91 as follows by the print start position information registration unit 61. That is, as the print start position 82A1, “4” is stored in the X coordinate field and “3” is stored in the Y coordinate field of the print block number Bk=1 with the paper type name Np of “paper A”. Further, as the print start position 82A2, "4" is stored in the X coordinate column and "6" is stored in the Y coordinate column of the print block number Bk=2 of the paper A (80A).

その後、制御手段100は、第1の印刷ブロック81A1の印刷のときに、印刷領域抽出手段150によって、用紙A(80A)の第1の印刷ブロック81A1の印刷領域84A1を抽出して印刷領域情報Paとする(図7に示すステップS5)。具体的には、図2に示す主制御部70は、第1の印刷ブロック81A1の印刷のときに、読取部43によって、用紙A(80A)にプレプリントされている第1の印刷ブロック81A1の罫線位置83を図1に示す光学式センサ4を用いて読み取る。即ち、罫線位置83(例えば、左側罫線位置83A1L:X=3、右側罫線位置83A1R:X=33)を読取部43により読み取って印刷領域84A1を抽出して印刷領域情報Paとする。 After that, when printing the first print block 81A1, the control unit 100 causes the print region extraction unit 150 to extract the print region 84A1 of the first print block 81A1 of the paper A (80A) and print region information Pa. (Step S5 shown in FIG. 7). Specifically, the main control unit 70 illustrated in FIG. 2 performs the printing of the first printing block 81A1 by the reading unit 43 when the first printing block 81A1 is printed. The ruled line position 83 is read using the optical sensor 4 shown in FIG. That is, the ruled line position 83 (for example, the left ruled line position 83A1L:X=3, the right ruled line position 83A1R:X=33) is read by the reading unit 43, and the print area 84A1 is extracted and set as the print area information Pa.

同様に、制御手段100は、第2の印刷ブロック81A2の印刷のときに、印刷領域抽出手段150によって、用紙A(80A)の第2の印刷ブロック81A2の印刷領域84A2を抽出して印刷領域情報Paとする。具体的には、図2に示す主制御部70は、第2の印刷ブロック81A2の印刷のときに、読取部43によって、用紙A(80A)にプレプリントされている第2の印刷ブロック81A2の罫線位置83を図1に示す光学式センサ4を用いて読み取る。 Similarly, when printing the second print block 81A2, the control means 100 extracts the print area 84A2 of the second print block 81A2 of the paper A (80A) by the print area extraction means 150 and print area information. Pa. Specifically, the main control unit 70 shown in FIG. 2 performs the printing of the second printing block 81A2 by the reading unit 43 when the second printing block 81A2 is printed. The ruled line position 83 is read using the optical sensor 4 shown in FIG.

即ち、罫線位置83(例えば、左側罫線位置83A2L:X=3、右側罫線位置83A2R:X=33)を読取部43により読み取って印刷領域84A2を抽出して印刷領域情報Paとする。このようにして、第1の印刷ブロック81A1の印刷領域情報Paを左側罫線位置83A1L:X=3、右側罫線位置83A1RのX=33とする。また、第2の印刷ブロック81A2の印刷領域情報Paを左側罫線位置83A2L:X=3、右側罫線位置83A2R:X=33とする。 That is, the ruled line position 83 (for example, the left ruled line position 83A2L:X=3, the right ruled line position 83A2R:X=33) is read by the reading unit 43, and the print area 84A2 is extracted and set as the print area information Pa. In this way, the printing area information Pa of the first printing block 81A1 is set to the left ruled line position 83A1L:X=3 and the right ruled line position 83A1R to X=33. Further, the printing area information Pa of the second printing block 81A2 is left ruled line position 83A2L:X=3 and right ruled line position 83A2R:X=33.

制御手段100は、記憶手段160によって、取得した印刷領域情報Paを印刷ブロック81ごとに位置領域情報記憶テーブル91のPa欄に記憶する(図7に示すステップS6)。具体的には、図11(a)に示すように、図2に示す主制御部70は、印刷領域情報登録部62によって、以下のように記憶する。 The control unit 100 stores the acquired print area information Pa in the Pa column of the position area information storage table 91 for each print block 81 by the storage unit 160 (step S6 shown in FIG. 7). Specifically, as shown in FIG. 11A, the main control unit 70 shown in FIG. 2 is stored by the print area information registration unit 62 as follows.

即ち、用紙種類名Npが「用紙A」の印刷ブロック番号Bk=1のX座標欄に左側罫線位置83A1L:X=3及び右側罫線位置83A1R:X=33を「3,33」と表わし、位置領域情報記憶テーブル91のPa欄に印刷領域84A1として記憶する。同時に、用紙種類名Npが「用紙A」の印刷ブロック番号Bk=2のX座標欄に左側罫線位置83A2L:X=3及び右側罫線位置83A2R:X=33を「3,33」と表わし、位置領域情報記憶テーブル91の用紙A(80A)のPa欄に印刷領域84A2として記憶する。 That is, the left ruled line position 83A1L:X=3 and the right ruled line position 83A1R:X=33 are represented as "3,33" in the X coordinate column of the print block number Bk=1 for the paper type name Np of "paper A" The print area 84A1 is stored in the Pa column of the area information storage table 91. At the same time, the left ruled line position 83A2L:X=3 and the right ruled line position 83A2R:X=33 are represented as "3,33" in the X coordinate column of the print block number Bk=2 for the paper type name Np of "paper A" The print area 84A2 is stored in the Pa column of the paper A (80A) in the area information storage table 91.

その後、制御手段100は、受信手段110によって用紙B(80B)の受信データ200を受信すると、用紙A(80A)の場合と同様に、印刷開始位置情報抽出手段140によって用紙B(80B)について各印刷ブロック81の印刷開始位置82のX座標及びY座標を抽出する(図7に示すステップS1及びS2)。 After that, when the receiving unit 110 receives the reception data 200 of the sheet B (80B), the control unit 100 causes the print start position information extracting unit 140 to perform the operation on each sheet B (80B) as in the case of the sheet A (80A). The X and Y coordinates of the print start position 82 of the print block 81 are extracted (steps S1 and S2 shown in FIG. 7).

具体的には、図2に示す主制御部70は、受信データ解析部11によって受信バッファ10aをサーチし、印刷開始位置抽出部12によって、用紙B(80B)について第1の印刷ブロック81B1の印刷開始位置82B1のX座標及びY座標(例えば、X=4、Y=3)を抽出する。同時に、第2の印刷ブロック81B2の印刷開始位置82B2のX座標及びY座標(例えば、X=19、Y=6)を抽出し、これらの座標を用紙B(80B)の印刷開始位置情報Dpとする。 Specifically, the main control unit 70 shown in FIG. 2 searches the reception buffer 10a by the reception data analysis unit 11 and causes the print start position extraction unit 12 to print the first print block 81B1 on the paper B (80B). The X coordinate and the Y coordinate (for example, X=4, Y=3) of the start position 82B1 are extracted. At the same time, the X coordinate and the Y coordinate (for example, X=19, Y=6) of the print start position 82B2 of the second print block 81B2 are extracted, and these coordinates are set as the print start position information Dp of the paper B (80B). To do.

次に、制御手段100は、位置領域情報記憶テーブル91に同一の印刷開始位置情報Dpが格納されていないと判定し、記憶手段160によって、上記印刷開始位置情報Dpを位置領域情報記憶テーブル91に記憶する(図7に示すステップS3及びS4)。
具体的には、図11(b)に示すように、図2に示す主制御部70は、印刷開始位置情報登録部61によって、位置領域情報記憶テーブル91に次のように記憶する。即ち、印刷開始位置82B1として、用紙種類名Npが「用紙B」の印刷ブロック番号Bk=1のX座標欄に「4」を記憶し、Y座標欄に「3」を記憶する。また、印刷開始位置82B2として、用紙種類名Npが「用紙B」の印刷ブロック番号Bk=2のX座標欄に「19」を記憶しY座標欄に「6」を記憶する。
Next, the control unit 100 determines that the same print start position information Dp is not stored in the position area information storage table 91, and the storage unit 160 stores the print start position information Dp in the position area information storage table 91. It is stored (steps S3 and S4 shown in FIG. 7).
Specifically, as illustrated in FIG. 11B, the main control unit 70 illustrated in FIG. 2 causes the print start position information registration unit 61 to store the position area information storage table 91 as follows. That is, as the print start position 82B1, “4” is stored in the X coordinate field and the “3” is stored in the Y coordinate field of the print block number Bk=1 with the paper type name Np of “paper B”. Further, as the print start position 82B2, "19" is stored in the X coordinate field and "6" is stored in the Y coordinate field of the print block number Bk=2 with the paper type name Np of "paper B".

その後、制御手段100は、第1の印刷ブロック81B1の印刷のときに、印刷領域抽出手段150によって、用紙B(80B)にプレプリントされている第1の印刷ブロック81B1の罫線位置83を読み取って印刷領域84B1を抽出し、印刷領域情報Paとする。 具体的には、図2に示す主制御部70は、読取部43によって図1に示す光学式センサ4を用いて罫線位置83(例えば、左側罫線位置83B1L:X=3、右側罫線位置83B1R:X=33)を読み取って印刷領域84B1を抽出し、印刷領域情報Paとする。 After that, the control unit 100 reads the ruled line position 83 of the first print block 81B1 preprinted on the paper B (80B) by the print area extraction unit 150 when printing the first print block 81B1. The print area 84B1 is extracted and used as print area information Pa. Specifically, the main control unit 70 illustrated in FIG. 2 uses the optical sensor 4 illustrated in FIG. 1 by the reading unit 43 to generate a ruled line position 83 (for example, left ruled line position 83B1L:X=3, right ruled line position 83B1R: X=33) is read and the print area 84B1 is extracted and used as print area information Pa.

同様に、第2の印刷ブロック81B2の印刷のときに、印刷領域抽出手段150によって、用紙B(80B)にプレプリントされている第2の印刷ブロック81B2の罫線位置83を読み取って印刷領域84B2を抽出し、印刷領域情報Paとする(図7に示すステップS5)。具体的には、図2に示す主制御部70は、読取部43によって図1に示す光学式センサ4を用いて罫線位置83(例えば、左側罫線位置83B2L:X=18、右側罫線位置83B2R:X=33)を読み取って印刷領域84B2を抽出し、印刷領域情報Paとする。 Similarly, when printing the second printing block 81B2, the printing area extracting unit 150 reads the ruled line position 83 of the second printing block 81B2 preprinted on the paper B (80B) to open the printing area 84B2. It is extracted and set as the print area information Pa (step S5 shown in FIG. 7). Specifically, the main control unit 70 shown in FIG. 2 uses the optical sensor 4 shown in FIG. 1 by the reading unit 43 to generate a ruled line position 83 (for example, left ruled line position 83B2L: X=18, right ruled line position 83B2R: X=33) is read to extract the print area 84B2, which is used as print area information Pa.

このようにして、第1の印刷ブロック81B1の印刷領域情報Paを左側罫線位置83B1L:X=3、右側罫線位置83B1RのX=33とする。また、第2の印刷ブロック81B2の印刷領域情報Paを左側罫線位置83B2L:X=3、右側罫線位置83B2R:X=33とする。 In this way, the printing area information Pa of the first printing block 81B1 is set to left ruled line position 83B1L:X=3 and right ruled line position 83B1R X=33. Further, the printing area information Pa of the second printing block 81B2 is left ruled line position 83B2L:X=3 and right ruled line position 83B2R:X=33.

制御手段100は、記憶手段160によって、抽出した印刷領域情報Paを印刷ブロック81ごとに位置領域情報記憶テーブル91のPa欄に記憶する(図7に示すステップS6)。具体的には、図11(b)に示すように、図2に示す主制御部70は、印刷領域情報登録部62によって、用紙種類名Npが「用紙B」の印刷ブロック番号Bk=1のX座標欄に左側罫線位置83B1L:X=3及び右側罫線位置83B1R:X=33を「3,33」と表わし、位置領域情報記憶テーブル91のPa欄に印刷領域84B1として記憶する。また、用紙種類名Npが「用紙B」の印刷ブロック番号Bk=2のX座標欄に左側罫線位置83B2L:X=18及び右側罫線位置83B2R:X=33を「18,33」と表わし、位置領域情報記憶テーブル91の用紙種類名Npが「用紙B」のPa欄に印刷領域84B2として記憶する。 The control unit 100 causes the storage unit 160 to store the extracted print area information Pa in the Pa column of the position area information storage table 91 for each print block 81 (step S6 shown in FIG. 7). Specifically, as illustrated in FIG. 11B, the main control unit 70 illustrated in FIG. 2 causes the print area information registration unit 62 to set the print block number Bk=1 for the paper type name Np of “paper B”. The left ruled line position 83B1L:X=3 and the right ruled line position 83B1R:X=33 are represented as "3, 33" in the X coordinate column, and are stored as the print region 84B1 in the Pa column of the position region information storage table 91. Further, the left ruled line position 83B2L:X=18 and the right ruled line position 83B2R:X=33 are represented as "18,33" in the X coordinate column of the print block number Bk=2 of the paper type name Np of "paper B" The paper type name Np of the area information storage table 91 is stored as the print area 84B2 in the Pa column of “paper B”.

このとき、「用紙B」の印刷領域情報Paは「用紙A」とは異なる。即ち、第2の印刷ブロック81A2及び81B2において、用紙A(80A)の左側罫線位置83A2Lが「3」であり、用紙B(80B)の左側罫線位置83B2Lが「18」であるので、印刷領域情報Paは差異がある。それ故、差異のある印刷ブロック番号Bk=「2」を差異ブロック番号DBN=「2」として記憶する。即ち、制御手段100は、差異ブロック登録部63によって、図11(b)に示すように、差異のある印刷ブロック番号Bkである「2」を差異ブロック番号DBNとして差異ブロック情報記憶部92に記憶する(図7に示すステップS7)。 At this time, the print area information Pa of “paper B” is different from that of “paper A”. That is, in the second printing blocks 81A2 and 81B2, the left ruled line position 83A2L of the paper A (80A) is "3" and the left ruled line position 83B2L of the paper B (80B) is "18", so the print area information Pa is different. Therefore, the printing block number Bk=“2” having a difference is stored as the difference block number DBN=“2”. That is, the control unit 100 causes the difference block registration unit 63 to store the difference print block number Bk “2” in the difference block information storage unit 92 as the difference block number DBN as illustrated in FIG. 11B. (Step S7 shown in FIG. 7).

次に、図7を用いて説明したステップS8〜S13の具体例を、即ち、上記用紙A(80A)及び用紙B(80B)の印刷に次いで用紙B(80B)の2回目以降の印刷をする場合を説明する。この場合、既に記憶されている用紙A(80A)及び用紙B(80B)の印刷開始位置情報Dp、印刷領域情報Pa及び差異ブロック番号DBNに基づいて画像形成装置1は動作する。
先ず、制御手段100は、受信手段110によって用紙B(80B)の受信データ200を受信すると、印刷開始位置抽出部12によって、用紙B(80B)について各印刷ブロック81の印刷開始位置82のX座標及びY座標を抽出する(図7に示すステップS1及びS2)。
Next, a specific example of steps S8 to S13 described with reference to FIG. 7, that is, the printing of the paper A (80A) and the paper B (80B) is performed, and then the second and subsequent printing of the paper B (80B) is performed. The case will be described. In this case, the image forming apparatus 1 operates based on the print start position information Dp, the print area information Pa, and the different block number DBN of the paper A (80A) and the paper B (80B) that are already stored.
First, when the receiving unit 110 receives the reception data 200 of the paper B (80B), the control unit 100 causes the print start position extracting unit 12 to determine the X coordinate of the print start position 82 of each print block 81 for the paper B (80B). And Y coordinates are extracted (steps S1 and S2 shown in FIG. 7).

具体的には、図2に示す主制御部70は、受信データ解析部11によって受信バッファ10aをサーチし、印刷開始位置抽出部12によって、用紙B(80B)について第1の印刷ブロック81B1の印刷開始位置82B1のX座標及びY座標(例えば、X=4、Y=3)を抽出する。また、第2の印刷ブロック81B2の印刷開始位置82B2のX座標及びY座標(例えば、X=19、Y=6)を抽出し、これらの座標を用紙B(80B)の印刷開始位置情報Dpとする。 Specifically, the main control unit 70 shown in FIG. 2 searches the reception buffer 10a by the reception data analysis unit 11 and causes the print start position extraction unit 12 to print the first print block 81B1 on the paper B (80B). The X coordinate and the Y coordinate (for example, X=4, Y=3) of the start position 82B1 are extracted. Further, the X coordinate and the Y coordinate (for example, X=19, Y=6) of the print start position 82B2 of the second print block 81B2 are extracted, and these coordinates are set as the print start position information Dp of the paper B (80B). To do.

その後、制御手段100は、印刷ブロック比較部13によって、抽出した印刷開始位置情報Dpが位置領域情報記憶テーブル91に記憶済みであるか否かを判定する。制御手段100は、用紙種類名Npの用紙B(80B)として記憶済みであると判定したときは、当該記憶済みの用紙種類名Npの用紙B(80B)に印刷するための受信データ200を受信したと判定する。それ故、報知手段170によって、用紙B(80B)をセットすべき用紙80であるとして報知する(図7に示すステップS8)。 After that, the control unit 100 causes the print block comparison unit 13 to determine whether or not the extracted print start position information Dp has been stored in the position area information storage table 91. When the control unit 100 determines that the sheet B (80B) with the sheet type name Np has been stored, it receives the reception data 200 for printing on the sheet B (80B) with the stored sheet type name Np. It is judged that it did. Therefore, the notification unit 170 notifies that the paper B (80B) is the paper 80 to be set (step S8 shown in FIG. 7).

具体的には、図2に示す主制御部70は、印刷ブロック比較部13によって、用紙Bの第1の印刷ブロック81B1の印刷開始位置情報DpとしてX=4、Y=3が、及び第2の印刷ブロック81B2の印刷開始位置情報DpとしてX=19、Y=6が位置領域情報記憶テーブル91に記憶済みか否かを判定する。そして、位置領域情報記憶テーブル91の用紙種類名Np欄における「用紙B」の印刷開始位置82が、印刷開始位置情報Dp欄に既に記憶されている。従って、主制御部70は、図8に示すように、操作表示制御部50によって、当該用紙種類名Np、即ち「用紙B」のセットを促すガイダンスとしての画面G10を操作表示部6に表示する。 Specifically, the main control unit 70 illustrated in FIG. 2 causes the print block comparison unit 13 to set X=4, Y=3 as the print start position information Dp of the first print block 81B1 of the paper B, and the second It is determined whether or not X=19 and Y=6 have been stored in the position area information storage table 91 as the print start position information Dp of the print block 81B2. Then, the print start position 82 of “paper B” in the paper type name Np column of the position area information storage table 91 is already stored in the print start position information Dp column. Therefore, as shown in FIG. 8, the main control unit 70 causes the operation display control unit 50 to display on the operation display unit 6 a screen G10 as guidance for prompting to set the paper type name Np, that is, “paper B”. ..

画面G10の報知を見たオペレータによって、用紙B(80B)が用紙セット部3にセットされ印刷ボタン303が押下されると、制御手段100は、記憶手段160によって差異ブロック情報記憶部92に記憶された差異ブロック番号DBNを参照する。更に、制御手段100は、差異ブロック番号DBNとして記憶された番号の印刷ブロック81まで用紙B(80B)を用紙搬送手段130によって搬送する。この後、制御手段100は、印刷領域抽出手段150によって罫線位置83を読み取って印刷領域84を抽出する(図7に示すステップS9)。 When the operator seeing the notification on the screen G10 sets the sheet B (80B) in the sheet setting unit 3 and presses the print button 303, the control unit 100 stores the difference block information storage unit 92 in the storage unit 160. The difference block number DBN is referred to. Further, the control unit 100 conveys the sheet B (80B) by the sheet conveyance unit 130 to the printing block 81 having the number stored as the difference block number DBN. After that, the control unit 100 reads the ruled line position 83 by the print region extraction unit 150 and extracts the print region 84 (step S9 shown in FIG. 7).

具体的には、主制御部70は、給紙部42によって用紙B(80B)を給紙した後、印刷を開始する前に用紙搬送制御部40によって以下のように用紙B(80B)を搬送する。即ち、図11(b)に示すように差異ブロック情報記憶部92には差異ブロック番号DBNとして「2」が記憶されているので、用紙B(80B)の第2の印刷ブロック81B2のY座標=6まで、用紙送り部41を用いて用紙B(80B)を搬送する。更に、読取部43によって用紙B(80B)にプレプリントされている罫線位置83を読み取って印刷領域84を抽出する。 Specifically, the main control unit 70 feeds the sheet B (80B) by the sheet feeding unit 42 and then conveys the sheet B (80B) by the sheet conveyance control unit 40 as described below before starting printing. To do. That is, as shown in FIG. 11B, since “2” is stored as the difference block number DBN in the difference block information storage unit 92, the Y coordinate of the second print block 81B2 of the paper B (80B)= The sheet B (80B) is conveyed up to 6 using the sheet feeding unit 41. Further, the reading section 43 reads the ruled line position 83 preprinted on the paper B (80B) to extract the printing area 84.

その後、制御手段100は、抽出した印刷領域84が、既に記憶された印刷領域情報Paの印刷領域84と一致するか否かを判定する(図7に示すステップS10)。
具体的には、主制御部70は、罫線位置比較部44によって、抽出した印刷領域84と、既に記憶された位置領域情報記憶テーブル91の用紙B(80B)の印刷ブロック番号Bk=2に記憶された印刷領域情報Paの印刷領域84B2と一致するか否かを判定する。
既に記憶された印刷領域情報Paと一致するときは、制御手段100は、セットされた用紙80が受信データ200に合致した用紙種類名Npの用紙B(80B)であると判定し、用紙搬送手段130によって、逆搬送させ搬送前の位置まで戻す(図7に示すステップS11)。
After that, the control unit 100 determines whether or not the extracted print area 84 matches the print area 84 of the print area information Pa already stored (step S10 shown in FIG. 7).
Specifically, the main control unit 70 stores the extracted print area 84 by the ruled line position comparison section 44 and the print block number Bk=2 of the paper B (80B) in the already stored position area information storage table 91. It is determined whether or not the print area 84B2 of the printed print area information Pa matches.
When it matches the already stored print area information Pa, the control means 100 determines that the set paper 80 is the paper B (80B) of the paper type name Np that matches the received data 200, and the paper transport means. By 130, it is reversely conveyed and returned to the position before the conveyance (step S11 shown in FIG. 7).

具体的には、本例では、読み取った用紙B(80B)の第2の印刷ブロック81B2の印刷領域84は、左側罫線位置83B2L:X=18、右側罫線位置83B2R:X=33となるので、既に記憶された位置領域情報記憶テーブル91の印刷領域84B2が一致する。それ故、主制御部70は、給紙部42によって用紙送りモータ8を逆回転させ図1に示す矢印Eに示す方向とは逆方向に用紙80を搬送し、搬送前の位置まで戻す。 Specifically, in this example, the printing area 84 of the second printing block 81B2 of the read paper B (80B) has the left ruled line position 83B2L:X=18 and the right ruled line position 83B2R:X=33. The print areas 84B2 of the already stored position area information storage table 91 match. Therefore, the main control unit 70 causes the paper feed unit 42 to rotate the paper feed motor 8 in the reverse direction, conveys the paper 80 in the direction opposite to the direction shown by the arrow E in FIG. 1, and returns the paper 80 to the position before the conveyance.

その後、制御手段100は、用紙搬送手段130によって用紙B(80B)を搬送しながら印刷手段120によって印刷を行い、排出トレイ5に用紙B(80B)を矢印Fに示す方向に排出する(図7に示すステップS12)。
一方、既に記憶された印刷領域情報Paの印刷領域84と一致しないときは、制御手段100は、受信データ200に合致しない用紙80がセットされたと判定する。それ故、制御手段100は、図9に示す画面G11のように、間違った用紙80がセットされた旨又はセットされた用紙80の方向が間違っている旨を報知手段170によって報知する(図7に示すステップS13)。
After that, the control unit 100 performs printing by the printing unit 120 while conveying the sheet B (80B) by the sheet conveying unit 130, and ejects the sheet B (80B) to the ejection tray 5 in the direction indicated by the arrow F (FIG. 7). Step S12).
On the other hand, when it does not match the print area 84 of the already stored print area information Pa, the control unit 100 determines that the paper 80 that does not match the received data 200 is set. Therefore, the control means 100 uses the notification means 170 to notify that the wrong paper 80 has been set or the direction of the set paper 80 is wrong, as in the screen G11 shown in FIG. 9 (FIG. 7). Step S13).

以上説明したように、第1の実施の形態に関する画像形成装置1によれば、受信データ200に合致する用紙80をセットさせることができ、ミス印刷を防止することができる。特に、用紙80をセットする用紙セット部3の用紙セット口3aを一つしか備えていない画像形成装置1において、同じサイズであるがフォーマットが異なる用紙80を使用する業務、例えば宅配便の着払い伝票と元払い伝票などを用いる業務において上記効果を奏する。
また、上位装置2から連続して複数の用紙種類のデータが送信されて来る場合では、画像形成装置1側ではどの用紙種類に合致した受信データ200であるかを判別できない。それ故、セットすべき用紙種類を間違え、ミス印刷が発生し易いが、第1の実施の形態に関する画像形成装置1によれば、この問題を解消することができる。
As described above, according to the image forming apparatus 1 according to the first embodiment, it is possible to set the paper 80 that matches the received data 200 and prevent misprinting. In particular, in the image forming apparatus 1 having only one sheet setting port 3a of the sheet setting unit 3 for setting the sheet 80, a job using sheets 80 having the same size but different formats, for example, a courier cash on delivery slip The above effect can be obtained in the work using the advance payment slip.
Further, when the data of a plurality of paper types are continuously transmitted from the higher-level device 2, the image forming apparatus 1 cannot determine which paper type the received data 200 matches. Therefore, although the wrong type of paper should be set and misprinting is likely to occur, the image forming apparatus 1 according to the first embodiment can solve this problem.

以上のように、第1の実施の形態に関する画像形成装置1によれば、複数の用紙種類に印刷する画像形成装置1において、印刷開始位置情報抽出手段140を設け、同一の用紙種類の初回の印刷のときに、受信データ200から印刷ブロック81の印刷開始位置82を抽出して印刷開始位置情報Dpとし、該印刷開始位置情報Dpと、用紙種類を識別する用紙種類名Npとを関連付けて記憶しておき、同一の用紙種類の2回目以降の印刷のときに、抽出した印刷開始位置情報Dpと記憶した印刷開始位置情報Dpとが一致する用紙種類名Npを報知するようにしたので、同一の用紙種類の2回目以降の印刷において用紙80をセットするときに受信データ200に合致する用紙種類を確認することができ、間違えることなく受信データ200に合致する用紙80に印刷することができる。 As described above, according to the image forming apparatus 1 according to the first embodiment, in the image forming apparatus 1 that prints on a plurality of paper types, the print start position information extracting unit 140 is provided, and the first paper of the same paper type is printed. At the time of printing, the print start position 82 of the print block 81 is extracted from the received data 200 as print start position information Dp, and the print start position information Dp and the paper type name Np for identifying the paper type are stored in association with each other. Since the same paper type is printed the second time and thereafter, the paper type name Np in which the extracted print start position information Dp matches the stored print start position information Dp is notified. It is possible to confirm the paper type that matches the received data 200 when setting the paper 80 in the second and subsequent printing of the paper type, and to print on the paper 80 that matches the received data 200 without mistake.

更に、印刷領域抽出手段150を設け、同一の用紙種類の初回の印刷のときに、用紙80の印刷領域84を抽出して印刷領域情報Paとし、印刷開始位置情報Dp及び印刷領域情報Paと、用紙種類名Npとを関連付けて記憶しておき、同一の用紙種類の2回目以降の印刷のときに、抽出した印刷開始位置情報Dpと印刷領域情報Paとの組合わせが記憶されていないときは、用紙種類名Npが間違っている又は用紙80をセットする方向が間違っている旨を報知するようにしたので、同一の用紙種類の2回目以降の印刷において印刷されるときに受信データ200に合致する用紙種類名Npを確認でき、更に間違えることなく受信データ200に合致する用紙80に印刷することができる。 Further, the print area extraction unit 150 is provided, and the print area 84 of the paper 80 is extracted and set as the print area information Pa at the time of the first printing of the same paper type, the print start position information Dp and the print area information Pa, If the combination of the extracted print start position information Dp and the print area information Pa is not stored during the second and subsequent printing of the same paper type, the paper type name Np is stored in association with each other. Since the fact that the paper type name Np is wrong or the direction in which the paper 80 is set is wrong is notified, it matches the received data 200 when the same paper type is printed in the second and subsequent printings. It is possible to confirm the paper type name Np to be printed and to print on the paper 80 that matches the received data 200 without making a mistake.

(変形例1)
本発明は、以上の実施の形態に限定されるものではなく、本発明の趣旨に基づいて変形させることが可能であり、それらを本発明の範囲から排除するものでもない。例えば、以上の実施の形態の説明では、画像形成装置1としてプリンタを一例として説明したが、複写機、ファクシミリ及び複合機であってもよい。
(Modification 1)
The present invention is not limited to the above embodiments, and can be modified based on the gist of the present invention, and they are not excluded from the scope of the present invention. For example, in the above description of the embodiment, the printer has been described as an example of the image forming apparatus 1, but the image forming apparatus 1 may be a copying machine, a facsimile machine, or a multifunction machine.

(変形例2)
また、以上の実施の形態の説明では、図7に示す印刷動作を行うように説明したが、同一の用紙種類の初回の印刷が行われたときに、オペレータに印刷結果を確認させる動作を設けるようにしてもよい。例えば、図7に示すステップS7の差異ブロック番号DBNを記憶した後に、以下の印刷結果の確認の動作を追加する。
即ち、同一の用紙種類の初回の印刷が行われたときに、オペレータに印刷結果を確認させる画面G12を操作表示部6に表示する。この表示によりオペレータが印刷結果を確認し、その結果、誤った用紙80に印刷された場合又は印刷方向を間違えて印刷された場合のときは、再印刷できるようにする。
(Modification 2)
Further, in the above description of the embodiment, the printing operation shown in FIG. 7 has been described. However, when the first printing of the same paper type is performed, an operation for allowing the operator to confirm the printing result is provided. You may do it. For example, after the difference block number DBN in step S7 shown in FIG. 7 is stored, the following print result confirmation operation is added.
That is, when the first printing of the same paper type is performed, the operation display unit 6 displays the screen G12 that allows the operator to confirm the print result. By this display, the operator confirms the print result, and as a result, when the print is made on the wrong sheet 80 or the print direction is wrong, the operator can reprint.

図12は、第1の実施の形態に関する画像形成装置において、印刷結果を確認するための画面例である。図12に示すように、画面G12には印刷結果の確認を促すガイダンス321を表示する。また、間違った用紙80に印刷されているとき、又は、間違った方向に印刷されているときは、用紙80を再セットして再印刷することを促すガイダンス322を表示する。更に、再印刷する場合は再セット後に再印刷ボタン323を押下する旨及び印刷結果が問題ないときは印刷OKボタン324を押下する旨のガイダンス322を表示する。その近傍に、再印刷を行うときに押下する再印刷ボタン323及び印刷結果が問題ないときに押下する印刷OKボタン324を表示する。 FIG. 12 is an example of a screen for confirming the print result in the image forming apparatus according to the first embodiment. As shown in FIG. 12, a guidance 321 prompting confirmation of the print result is displayed on the screen G12. Further, when the wrong paper 80 is printed, or when the paper is printed in the wrong direction, a guidance 322 that prompts the user to set the paper 80 again and reprint it is displayed. Further, when reprinting, a guidance 322 is displayed to the effect that the reprint button 323 is pressed after resetting and that the print OK button 324 is pressed when the print result is satisfactory. A reprint button 323 to be pressed when reprinting and a print OK button 324 to be pressed when there is no problem in the print result are displayed in the vicinity thereof.

その後、オペレータが画面G12を見て、オペレータによって用紙80が再セットされ再印刷ボタン323が押下されたときは、制御手段100は、図7に示す直前のステップS4乃至S7において記憶した印刷領域情報Pa及び差異ブロック番号DBNを削除し、図7に示すステップS5から実行する。一方、オペレータによって印刷OKボタン324が押下されたときは、上記記憶データを削除することなく印刷動作を終了する。 Thereafter, when the operator sees the screen G12 and the operator resets the paper 80 and presses the reprint button 323, the control unit 100 causes the print area information stored in steps S4 to S7 immediately before shown in FIG. Pa and the difference block number DBN are deleted, and the process is executed from step S5 shown in FIG. On the other hand, when the operator presses the print OK button 324, the printing operation is terminated without deleting the stored data.

(変形例3)
更に、オペレータによって印刷OKボタン324が押下されたときに、「着払い伝票」「元払い伝票」などの用紙種類名Npの確認又は選択をさせる画面を操作表示部6に表示し、用紙種類名Npの確認又は選択をさせた後に印刷動作を終了するようにしてもよい。
(Modification 3)
Further, when the operator presses the print OK button 324, a screen for confirming or selecting the paper type name Np such as “Cash on delivery slip” and “Advance payment slip” is displayed on the operation display unit 6, and the paper type name Np The printing operation may be ended after confirmation or selection is made.

図13は、第1の実施の形態に関する画像形成装置において、用紙種類名を確認する画面例である。なお、図13の破線は、プルダウンボタン332aが押下されたときの表示状態を示す。図13に示すように、画面G13には、用紙種類名Npの確認を促すガイダンス331及び図7に示すステップS4において設定された用紙種類名Npを表示リスト332に表示する。更に、用紙種類名Npを変更できるプルダウンボタン332aを表示する。また、用紙種類名Npの確認を終了した後又はプルダウンボタン332aによって再設定した後に押下するOKボタン333を表示する。
図13に示す画面G13の表示した後、オペレータによってOKボタン333が押下されたときは、制御手段100は、記憶手段160によって、表示リスト332の用紙種類名Npを位置領域情報記憶テーブル91に記憶し、印刷動作を終了する。
FIG. 13 is an example of a screen for confirming the paper type name in the image forming apparatus according to the first embodiment. The broken line in FIG. 13 indicates the display state when the pull-down button 332a is pressed. As shown in FIG. 13, the screen G13 displays a guidance 331 for prompting confirmation of the paper type name Np and the paper type name Np set in step S4 shown in FIG. 7 in the display list 332. Further, a pull-down button 332a for changing the paper type name Np is displayed. Also, an OK button 333 to be pressed after the confirmation of the paper type name Np is completed or after resetting by the pull-down button 332a is displayed.
When the operator presses the OK button 333 after displaying the screen G13 shown in FIG. 13, the control unit 100 causes the storage unit 160 to store the paper type name Np of the display list 332 in the position area information storage table 91. Then, the printing operation ends.

(変形例4)
また、以上の実施の形態の説明では、制御手段100は、印刷領域抽出手段150によって、左右側の罫線位置83を読み取って印刷領域84を抽出し、印刷領域情報Paとするように説明したが、以下のようにしてもよい。
即ち、印刷領域抽出手段150によって、上下側の罫線位置83を読み取って印刷領域84を抽出し、印刷領域情報Paとするようにしてもよい。また、左右及び上下の罫線位置83を読み取って印刷領域84を抽出し、印刷領域情報Paとするようにしてもよい。
(Modification 4)
Further, in the above description of the embodiments, the control unit 100 has been described so that the print region extracting unit 150 reads the ruled line positions 83 on the left and right sides to extract the print region 84, and sets the print region information Pa. Alternatively, the following may be performed.
That is, the print area extracting unit 150 may read the upper and lower ruled line positions 83 and extract the print area 84 to obtain the print area information Pa. Alternatively, the print area 84 may be extracted by reading the left and right and upper and lower ruled line positions 83 and used as the print area information Pa.

(変形例5)
また、以上の実施の形態の説明では、操作表示部6を画像形成装置1に設ける形態として説明したが、画像形成装置1の装置外に設ける形態としてもよいし、上位装置2の表示装置等を用いる形態としてもよい。
(Modification 5)
Further, in the above description of the embodiment, the operation display unit 6 is described as being provided in the image forming apparatus 1, but it may be provided outside the image forming apparatus 1 or may be provided in the display device of the upper level apparatus 2 or the like. May be used.

1 画像形成装置 4 光学式センサ
6 操作表示部 7 印刷機構
80 印刷媒体 81 印刷ブロック
82 印刷開始位置 83 罫線位置
84 印刷領域 100 制御手段
110 受信手段 120 印刷手段
130 用紙搬送手段 140 印刷開始位置情報抽出手段
150 印刷領域抽出手段 160 記憶手段
170 報知手段 200 受信データ
Dp 印刷開始位置情報 Pa 印刷領域情報
Np 用紙種類名(印刷媒体種類情報) Bk 印刷ブロック番号
DBN 差異ブロック番号
1 Image Forming Apparatus 4 Optical Sensor 6 Operation Display 7 Printing Mechanism 80 Printing Medium 81 Printing Block 82 Printing Start Position 83 Ruled Line Position 84 Printing Area 100 Control Means 110 Receiving Means 120 Printing Means 130 Paper Conveying Means 140 Printing Start Position Information Extraction Means 150 print area extraction means 160 storage means 170 notification means 200 received data Dp print start position information Pa print area information Np paper type name (print medium type information) Bk print block number DBN difference block number

Claims (13)

複数種類の印刷媒体に印刷するデータを受信データとして受信する受信手段と、
前記印刷媒体を搬送する印刷媒体搬送手段と、
前記印刷媒体搬送手段により搬送される前記印刷媒体に前記受信データに基づいて画像を印刷する印刷手段と、
前記受信データから前記印刷媒体の印刷開始位置を印刷開始位置情報として抽出する印刷開始位置情報抽出手段と、
前記印刷開始位置情報抽出手段により抽出した前記印刷開始位置情報と、印刷媒体種類を識別する印刷媒体種類情報とを関連付けて記憶する記憶手段と、
前記印刷媒体種類情報を報知する報知手段と、
前記印刷手段による印刷のとき、前記印刷開始位置情報抽出手段により抽出した前記印刷開始位置情報が前記記憶手段に記憶されていない場合は、前記記憶手段に前記印刷開始位置情報と前記印刷媒体種類情報とを関連付けて記憶し、
前記印刷開始位置情報が記憶されている場合は、前記印刷開始位置情報抽出手段により抽出した前記印刷開始位置情報と一致する前記印刷媒体種類情報を前記記憶手段から読出して、前記印刷媒体種類情報を前記報知手段により報知する制御手段とを備えたことを特徴とする画像形成装置。
Receiving means for receiving data to be printed on a plurality of types of print media as received data,
A print medium carrying means for carrying the print medium,
Printing means for printing an image on the print medium conveyed by the print medium conveying means based on the received data;
Print start position information extracting means for extracting a print start position of the print medium from the received data as print start position information;
A storage unit that stores the print start position information extracted by the print start position information extraction unit and the print medium type information for identifying the print medium type in association with each other.
An informing means for informing the print medium type information,
When printing by the printing unit, if the print start position information extracted by the print start position information extracting unit is not stored in the storage unit, the print start position information and the print medium type information are stored in the storage unit. Memorize by associating with
When the print start position information is stored, the print medium type information that matches the print start position information extracted by the print start position information extraction unit is read from the storage unit, and the print medium type information is read out. An image forming apparatus comprising: a control unit configured to notify by the notification unit.
複数種類の印刷媒体に印刷するデータを受信データとして受信する受信手段と、
前記印刷媒体を搬送する印刷媒体搬送手段と、
前記印刷媒体搬送手段により搬送される前記印刷媒体に前記受信データに基づいて画像を印刷する印刷手段と、
前記受信データから前記印刷媒体の印刷開始位置を印刷開始位置情報として抽出する印刷開始位置情報抽出手段と、
前記印刷媒体の印刷領域を印刷領域情報として抽出する印刷領域抽出手段と、
前記印刷開始位置情報抽出手段により抽出した前記印刷開始位置情報、前記印刷領域抽出手段により抽出した前記印刷領域情報及び、印刷媒体種類を識別する印刷媒体種類情報とを関連付けて記憶する記憶手段と、
前記印刷媒体種類情報を報知する報知手段と、
前記印刷手段による印刷のとき、前記印刷開始位置情報抽出手段により抽出した前記印刷開始位置情報が前記記憶手段に記憶されていない場合は、前記記憶手段に前記印刷開始位置情報、前記印刷領域情報及び前記印刷媒体種類情報とを関連付けて記憶し、
前記印刷開始位置情報が記憶されている場合は、前記印刷開始位置情報抽出手段により抽出した前記印刷開始位置情報及び前記印刷領域抽出手段により抽出した前記印刷領域情報と一致する前記印刷媒体種類情報を前記記憶手段から読出して、前記印刷媒体種類情報を前記報知手段により報知する制御手段とを備えたことを特徴とする画像形成装置。
Receiving means for receiving data to be printed on a plurality of types of print media as received data,
A print medium carrying means for carrying the print medium,
Printing means for printing an image on the print medium conveyed by the print medium conveying means based on the received data;
Print start position information extracting means for extracting a print start position of the print medium from the received data as print start position information;
Print area extracting means for extracting a print area of the print medium as print area information,
A storage unit that stores the print start position information extracted by the print start position information extraction unit, the print region information extracted by the print region extraction unit, and the print medium type information for identifying the print medium type in association with each other,
An informing unit for informing the print medium type information,
At the time of printing by the printing means, if the print start position information extracted by the print start position information extracting means is not stored in the storage means, the print start position information, the print area information, and Stored in association with the print medium type information,
When the print start position information is stored, the print start position information extracted by the print start position information extracting unit and the print medium type information matching the print region information extracted by the print region extracting unit are stored. An image forming apparatus comprising: a control unit that reads out from the storage unit and notifies the print medium type information by the notification unit.
前記制御手段は前記記憶手段に記憶した前記印刷媒体種類情報と一致しなかったときは、前記報知手段により前記印刷媒体の不一致を報知することを特徴とする請求項2記載の画像形成装置。 3. The image forming apparatus according to claim 2, wherein when the control unit does not match the print medium type information stored in the storage unit, the notification unit notifies that the print medium does not match. 前記制御手段は前記記憶手段に記憶した前記印刷媒体種類情報と一致したときは、前記印刷手段により画像を印刷することを特徴とする請求項2又は3記載の画像形成装置。 4. The image forming apparatus according to claim 2, wherein the control unit prints an image by the printing unit when the control unit matches the print medium type information stored in the storage unit. 前記制御手段は、前記記憶手段に記憶した前記印刷媒体種類情報と一致したときは、前記印刷手段により画像の印刷の前に、前記印刷媒体種類情報を前記記憶手段から読出して前記報知手段により報知することを特徴とする請求項2又は3記載の画像形成装置。 When the control unit matches the print medium type information stored in the storage unit, the print unit type information is read from the storage unit and notified by the notification unit before the image is printed by the printing unit. The image forming apparatus according to claim 2, wherein the image forming apparatus comprises: 前記印刷媒体をセットする印刷媒体載置部を設け、
更に、前記印刷媒体搬送手段には前記印刷媒体を読取る読取部を設け、
更に、前記制御手段は、前記読取部により前記印刷媒体載置部に載置された前記印刷媒体が、前記印刷媒体種類情報に合致するかどうか判別することを特徴とする請求項5記載の画像形成装置。
A print medium mounting portion for setting the print medium is provided,
Further, the print medium conveying means is provided with a reading unit for reading the print medium,
The image according to claim 5, wherein the control unit further determines whether the print medium placed on the print medium placement unit by the reading unit matches the print medium type information. Forming equipment.
前記印刷媒体は、プレプリントされた罫線によって形成される複数の印刷ブロックを有し、
前記印刷開始位置情報抽出手段が抽出する前記印刷開始位置情報は位置座標により前記印刷ブロック内の印刷開始位置を特定することを特徴とする請求項2乃至6いずれか一記載の画像形成装置。
The print medium has a plurality of print blocks formed by preprinted ruled lines,
7. The image forming apparatus according to claim 2, wherein the print start position information extracted by the print start position information extracting unit specifies a print start position in the print block by position coordinates.
前記印刷媒体は、プレプリントされた罫線によって形成される複数の印刷ブロックを有し、
前記印刷領域抽出手段は、前記印刷媒体に印刷された前記印刷ブロックの前記罫線を光学的に読み取って前記印刷領域を抽出し前記印刷領域情報とすることを特徴とする請求項2乃至6いずれか一記載の画像形成装置。
The print medium has a plurality of print blocks formed by preprinted ruled lines,
7. The print area extracting means optically reads the ruled line of the print block printed on the print medium to extract the print area and set the print area information as the print area information. The image forming apparatus described in 1.
前記記憶手段は、
前記印刷手段による同一印刷媒体種類についての初回の印刷のときに、前記印刷領域情報が異なる前記印刷ブロックの番号を差異ブロック番号として記憶する差異ブロック情報記憶部を備え、
前記印刷手段による前記同一印刷媒体種類についての2回目以降の印刷のときに、前記印刷領域抽出手段は、前記差異ブロック情報記憶部に記憶された前記番号の前記印刷ブロックより前記印刷領域を抽出することを特徴とする請求項8記載の画像形成装置。
The storage means is
A difference block information storage unit that stores, as a difference block number, the numbers of the print blocks having different print area information at the time of the first printing for the same print medium type by the printing unit,
In the second and subsequent printings of the same print medium type by the printing unit, the printing region extracting unit extracts the printing region from the printing block of the number stored in the difference block information storage unit. The image forming apparatus according to claim 8, wherein
複数種類の印刷媒体に印刷するデータを受信データとして受信する受信工程と、
前記印刷媒体に前記受信データに基づいて印刷手段によって画像を印刷する印刷工程と、
前記受信データから前記印刷媒体の印刷開始位置を現す印刷開始位置情報を抽出する印刷開始位置情報抽出工程と、
前記印刷手段による同一印刷媒体種類についての初回の前記印刷工程のとき、前記印刷開始位置情報と、印刷媒体種類を識別する印刷媒体種類情報とを関連付けて記憶手段に記憶する記憶工程と、
前記印刷工程による前記同一印刷媒体種類についての2回目以降の前記印刷工程のときに、前記印刷開始位置情報抽出工程により抽出した前記印刷開始位置情報と一致する前記印刷媒体種類情報を前記記憶手段から読出して、前記印刷媒体種類情報を報知手段によって報知する報知工程とを含むことを特徴とする画像形成方法。
A receiving step of receiving data to be printed on a plurality of types of print media as received data,
A printing step of printing an image on the print medium based on the received data by a printing means;
A print start position information extracting step of extracting print start position information indicating a print start position of the print medium from the received data,
A storage step of storing the print start position information and the print medium type information for identifying the print medium type in the storage means in association with each other in the first printing step for the same print medium type by the printing means;
During the second and subsequent printing steps for the same print medium type by the printing step, the print medium type information that matches the print start position information extracted by the print start position information extracting step is stored in the storage unit. And a notification step of notifying the print medium type information by a notification means.
複数種類の印刷媒体に印刷するデータを受信データとして受信する受信工程と、
前記印刷媒体に前記受信データに基づいて印刷手段によって画像を印刷する印刷工程と、
前記受信データから前記印刷媒体の印刷開始位置を現す印刷開始位置情報を抽出する印刷開始位置情報抽出工程と、
前記印刷媒体の印刷領域を抽出して印刷領域情報とする印刷領域抽出工程と、
前記印刷手段による同一印刷媒体種類についての初回の前記印刷工程のとき、前記印刷開始位置情報及び前記印刷領域情報と、印刷媒体種類を識別する印刷媒体種類情報とを関連付けて記憶手段に記憶する記憶工程と、
前記印刷工程による前記同一印刷媒体種類についての2回目以降の前記印刷工程のときに、前記印刷開始位置情報抽出工程により抽出した前記印刷開始位置情報及び前記印刷領域抽出工程により抽出した前記印刷領域情報と一致する前記印刷媒体種類情報を前記記憶手段から読出して、前記印刷媒体種類情報を報知手段によって報知する報知工程とを含むことを特徴とする画像形成方法。
A receiving step of receiving data to be printed on a plurality of types of print media as received data,
A printing step of printing an image on the print medium based on the received data by a printing means;
A print start position information extracting step of extracting print start position information indicating a print start position of the print medium from the received data,
A print area extracting step of extracting a print area of the print medium to obtain print area information;
Storage for storing the print start position information and the print area information in association with the print medium type information for identifying the print medium type in the storage unit at the time of the first printing step for the same print medium type by the printing unit Process,
The print start position information extracted by the print start position information extracting step and the print area information extracted by the print area extracting step during the second and subsequent printing steps for the same print medium type by the printing step And an informing step of informing the informing section of the printing medium type information by reading out the printing medium type information matching the above from the storage section.
前記印刷媒体は、プレプリントされた罫線によって形成される複数の印刷ブロックを有し、
前記印刷開始位置情報抽出工程で抽出する前記印刷開始位置情報は位置座標により前記印刷ブロック内の印刷開始位置が特定されることを特徴とする請求項11記載の画像形成方法。
The print medium has a plurality of print blocks formed by preprinted ruled lines,
The image forming method according to claim 11, wherein the print start position information extracted in the print start position information extracting step specifies a print start position in the print block by position coordinates.
前記印刷媒体は、プレプリントされた罫線によって形成される複数の印刷ブロックを有し、
前記印刷領域抽出工程は、前記印刷媒体に印刷された前記印刷ブロックの前記罫線を光学的に読み取って前記印刷領域を抽出し前記印刷領域情報とすることを特徴とする請求項11記載の画像形成方法。
The print medium has a plurality of print blocks formed by preprinted ruled lines,
12. The image forming according to claim 11, wherein in the print area extracting step, the ruled line of the print block printed on the print medium is optically read to extract the print area and use the print area information. Method.
JP2018248182A 2018-12-28 2018-12-28 Image forming device and image forming method Active JP7047754B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018248182A JP7047754B2 (en) 2018-12-28 2018-12-28 Image forming device and image forming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018248182A JP7047754B2 (en) 2018-12-28 2018-12-28 Image forming device and image forming method

Publications (2)

Publication Number Publication Date
JP2020104496A true JP2020104496A (en) 2020-07-09
JP7047754B2 JP7047754B2 (en) 2022-04-05

Family

ID=71450373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018248182A Active JP7047754B2 (en) 2018-12-28 2018-12-28 Image forming device and image forming method

Country Status (1)

Country Link
JP (1) JP7047754B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05101060A (en) * 1991-04-25 1993-04-23 Toshiba Corp Document preparing device
JPH05201093A (en) * 1992-01-30 1993-08-10 Hitachi Ltd Editing and printing device
JPH06155846A (en) * 1992-11-16 1994-06-03 Hitachi Ltd Printer
JP2002245392A (en) * 2001-02-16 2002-08-30 Sharp Corp Routine document input device
JP2003260844A (en) * 2002-03-07 2003-09-16 Dainippon Printing Co Ltd Printing paper judging unit, method and printed matter
US20160205270A1 (en) * 2015-01-12 2016-07-14 Xerox Corporation Document production system having automatic adjustment of content to fit the printable area of a pre-printed media
JP2018196972A (en) * 2017-05-25 2018-12-13 セイコーエプソン株式会社 Printer and printing method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05101060A (en) * 1991-04-25 1993-04-23 Toshiba Corp Document preparing device
JPH05201093A (en) * 1992-01-30 1993-08-10 Hitachi Ltd Editing and printing device
JPH06155846A (en) * 1992-11-16 1994-06-03 Hitachi Ltd Printer
JP2002245392A (en) * 2001-02-16 2002-08-30 Sharp Corp Routine document input device
JP2003260844A (en) * 2002-03-07 2003-09-16 Dainippon Printing Co Ltd Printing paper judging unit, method and printed matter
US20160205270A1 (en) * 2015-01-12 2016-07-14 Xerox Corporation Document production system having automatic adjustment of content to fit the printable area of a pre-printed media
JP2018196972A (en) * 2017-05-25 2018-12-13 セイコーエプソン株式会社 Printer and printing method

Also Published As

Publication number Publication date
JP7047754B2 (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN104339884B (en) Printing apparatus, information processing apparatus, printing apparatus control method, and storage medium
JP5904149B2 (en) Image inspection system and program
US9120329B2 (en) Printing apparatus for printing on print receiving tape, printing method and recording medium
JP4789685B2 (en) Image processing apparatus, image processing method, and program
JP2000289259A (en) Method for perfecting printing and system
JP6433186B2 (en) Control device, control method, and program
JP7047754B2 (en) Image forming device and image forming method
KR100623568B1 (en) Printing system and control method therefor
JP2004213543A (en) Printer driver
JP2009159570A (en) Printer, print control program, print control unit, and printing system
US20180170069A1 (en) Recording medium, label image preparing method, and label image preparing apparatus
JP2010105199A (en) Printing apparatus and printing method
JP6236916B2 (en) Printing device
JP2018196972A (en) Printer and printing method
JP4374966B2 (en) Printing apparatus and recording medium
JP6950324B2 (en) Printing equipment and printing method
JP4185519B2 (en) Office machine and computer program for office machine
JP5246222B2 (en) Image forming apparatus
JP2016036957A (en) Printing control device and program
JP6291861B2 (en) Printing device
JPH0930074A (en) Printing device having scanner
JP2007286264A (en) Image display device
JP4345931B2 (en) Office machine and computer program for office machine
JP2015006768A (en) Printing equipment
JP2006088670A (en) Composite type image forming device/image area editing device/printing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210303

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20210615

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220126

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220222

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220307

R150 Certificate of patent or registration of utility model

Ref document number: 7047754

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150