JP2000296661A - Printing control device - Google Patents

Printing control device

Info

Publication number
JP2000296661A
JP2000296661A JP11109207A JP10920799A JP2000296661A JP 2000296661 A JP2000296661 A JP 2000296661A JP 11109207 A JP11109207 A JP 11109207A JP 10920799 A JP10920799 A JP 10920799A JP 2000296661 A JP2000296661 A JP 2000296661A
Authority
JP
Japan
Prior art keywords
sheet
printing
paper
scanner
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11109207A
Other languages
Japanese (ja)
Inventor
Fusao Nishiura
房夫 西浦
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP11109207A priority Critical patent/JP2000296661A/en
Publication of JP2000296661A publication Critical patent/JP2000296661A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To make printing feasible even to paper having a narrow width that does not reach a paper end sensor. SOLUTION: The printing apparatus 16 includes a carriage 162 being furnished with a head 163 for printing to paper 26 and a scanner 166 for picking up the image of paper 26. CPU 10 makes the carriage 162 move to the position where paper 26 is fed when the paper 26 is fed so as to recognize the image by the scanner 166 and distinguish the distal end of the paper 26 on the basis of the image recognized, thereby a judgment is made as to whether the paper 26 is actually fed or not.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、印字ヘッドと共に
スキャナをキャリッジに設けた印刷装置を制御する印刷
制御装置に係り、特に、印刷用紙の供給又は排出状態の
検出に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing control apparatus for controlling a printing apparatus provided with a scanner and a print head together with a carriage, and more particularly to detection of a supply or discharge state of printing paper.

【0002】[0002]

【従来の技術】従来より、ワードプロセッサ等の印刷装
置を備えた情報処理装置においては、その印刷装置にお
ける用紙の給紙経路上に、ペーパエンドセンサ(PEセ
ンサ)が備えつけられており、それにより、用紙の上端
及び下端を検出することで、用紙が供給されたか否か、
及び、用紙が排出されたか否かを判別するようになって
いる。
2. Description of the Related Art Conventionally, in an information processing apparatus provided with a printing device such as a word processor, a paper end sensor (PE sensor) is provided on a paper feeding path of the printing device. By detecting the upper and lower edges of the sheet, whether or not the sheet has been supplied,
Further, it is determined whether or not the sheet has been discharged.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、通常、
上記PEセンサは、給紙経路上の一箇所にしか設けられ
ておいなかった。よって、幅の狭い用紙を使用して印刷
を行いたい場合であっても、上記PEセンサに達しえな
い幅の用紙では用紙の検出ができないため、印刷を行う
ことができなかった。
However, usually,
The PE sensor is provided only at one position on the paper feeding path. Therefore, even when it is desired to perform printing using narrow paper, printing cannot be performed on paper having a width that cannot reach the PE sensor because the paper cannot be detected.

【0004】本発明の課題は、ペーパエンドセンサに達
しえないような狭い幅の用紙に対しても印刷を実行でき
るようにすることである。
An object of the present invention is to make it possible to execute printing even on a sheet having a narrow width that cannot reach the paper end sensor.

【0005】[0005]

【課題を解決するための手段】請求項1の発明の手段は
次の通りである。印刷制御装置が適用される印刷装置
は、用紙に印刷を行う印字部と、用紙の画像を撮像する
スキャナとを設けたキャリッジを備え、用紙を上記印字
部に供給して印刷を行う。印刷制御装置の判別手段は、
用紙供給がなされた際に、上記キャリッジを用紙が供給
されるべき位置に移動して上記スキャナで画像認識し、
その認識された画像に基づいて用紙の先端を判別するこ
とで、用紙の供給が実際になされたか否かを判別する。
Means of the present invention are as follows. A printing device to which the print control device is applied includes a carriage provided with a printing unit for printing on paper and a scanner for capturing an image of the paper, and supplies paper to the printing unit to perform printing. The determination means of the print control device includes:
When the paper is supplied, the carriage is moved to a position where the paper is to be supplied, and the image is recognized by the scanner,
By determining the leading edge of the sheet based on the recognized image, it is determined whether or not the sheet is actually supplied.

【0006】請求項1の発明の手段の作用は次の通りで
ある。判別手段は、用紙供給がなされた際に、キャリッ
ジを用紙が供給されるべき位置に移動してスキャナで画
像認識し、その認識された画像に基づいて用紙の先端を
判別することで、用紙の供給が実際になされたか否かを
判別する。従って、用紙が実際に供給されたと判別され
た際には、印刷装置の印字部による印刷を開始できるの
で、ペーパエンドセンサに達しえないような狭い幅の用
紙に対しても印刷を実行できるようになる。さらには、
ペーパエンドセンサ自体を設けなくても良くなるので、
コストダウンにつながる。
The operation of the means according to the first aspect of the present invention is as follows. When the paper is supplied, the determination unit moves the carriage to a position where the paper is to be supplied, recognizes the image with a scanner, and determines the leading edge of the paper based on the recognized image, thereby determining the leading edge of the paper. It is determined whether or not the supply has actually been made. Therefore, when it is determined that the paper is actually supplied, printing by the printing unit of the printing apparatus can be started, so that printing can be performed even on a paper having a narrow width that cannot reach the paper end sensor. become. Moreover,
Since there is no need to provide the paper end sensor itself,
It leads to cost reduction.

【0007】請求項2の発明の手段は次の通りである。
印刷制御装置が適用される印刷装置は、用紙に印刷を行
う印字部と、用紙の画像を撮像するスキャナとを設けた
キャリッジを備え、印刷後に用紙を排出する。印刷制御
装置の判別手段は、印刷後に用紙を排出する際に、上記
キャリッジを用紙の有る位置に移動させて上記スキャナ
で画像認識し、その認識された画像に基づいて用紙の有
無を判別することで、用紙の排出がなされたか否かを判
別する。
[0007] The means of the invention of claim 2 is as follows.
A printing apparatus to which the print control device is applied includes a carriage provided with a printing unit that prints on paper and a scanner that captures an image of the paper, and discharges the paper after printing. When the paper is ejected after printing, the determination means of the print control device moves the carriage to a position where the paper is present, recognizes the image with the scanner, and determines the presence or absence of the paper based on the recognized image. It is determined whether or not the sheet has been discharged.

【0008】請求項2の発明の手段の作用は次の通りで
ある。判別手段は、印刷後に用紙を排出する際に、上記
キャリッジを用紙の有る位置に移動させて上記スキャナ
で画像認識し、その認識された画像に基づいて用紙の有
無を判別することで、用紙の排出がなされたか否かを判
別する。従って、用紙の排出をスキャナを利用して判別
できるので、ペーパエンドセンサに達しえないような狭
い幅の用紙に対しても印刷を実行できるようになる。さ
らには、ペーパエンドセンサ自体を設けなくても良くな
るので、コストダウンにつながる。
[0008] The operation of the means of the invention of claim 2 is as follows. The discriminating means moves the carriage to a position where the paper is present when the paper is ejected after printing, recognizes the image with the scanner, and determines the presence or absence of the paper based on the recognized image, thereby determining whether the paper is present. It is determined whether or not ejection has been performed. Therefore, since the discharge of the sheet can be determined by using the scanner, printing can be performed even on a sheet having a narrow width that cannot reach the paper end sensor. Furthermore, since it is not necessary to provide the paper end sensor itself, the cost is reduced.

【0009】[0009]

【発明の実施の形態】以下、本発明の実施の形態を図1
の(A)乃至図8を参照して説明する。
FIG. 1 is a block diagram showing an embodiment of the present invention.
This will be described with reference to FIGS.

【0010】[第1の実施の形態]図1の(A)は、本
発明の第1の実施の形態に係る印刷制御装置の適用され
たワードプロセッサの構成を示す図で、図中の参照番号
10は、当該ワードプロセッサ全体を制御する制御部と
してのCPUである。12はキーボード等の入力装置で
あり、14は液晶ディスプレィ等の表示装置、16はプ
リンタ等の印刷装置である。
[First Embodiment] FIG. 1A is a diagram showing a configuration of a word processor to which a print control apparatus according to a first embodiment of the present invention is applied. Reference numeral 10 denotes a CPU as a control unit that controls the entire word processor. Reference numeral 12 denotes an input device such as a keyboard, 14 denotes a display device such as a liquid crystal display, and 16 denotes a printing device such as a printer.

【0011】18はハードディスクやROM等の記憶装
置であり、20はRAMである。これら記憶装置18や
RAM20は、上記CPU10で実行される当該ワード
プロセッサの処理プログラムやデータ等が予め記憶され
ているものであるが、もちろん、このような記憶装置1
8やRAM20に記憶するプログラムやデータ等は、フ
ロッピーディスクや光(磁気)ディスク等の記憶媒体2
2から読み込むようにしても良いし、図示しない通信装
置により、外部とのデータ送受用の通信回線(有線又は
無線)24を介して接続された他の機器から受信して、
これらに記憶するようにしても良い。
Reference numeral 18 denotes a storage device such as a hard disk or a ROM, and reference numeral 20 denotes a RAM. The storage device 18 and the RAM 20 store processing programs and data of the word processor executed by the CPU 10 in advance.
Programs and data stored in the RAM 8 and the RAM 20 are stored in a storage medium 2 such as a floppy disk or an optical (magnetic) disk.
2 or may be received from another device connected via an external data transmission / reception communication line (wired or wireless) 24 by a communication device (not shown).
These may be stored.

【0012】ここで、印刷装置16の印字部は、図1の
(B)に示すように、ピックアップローラ161により
図示しない用紙を搬送し、キャリッジ162に設けられ
たヘッド163により例えば該キャリッジ162にセッ
トされた図示しないインクリボンを熱転写することで印
刷を行い、排出ローラ164により該印字部から排出さ
れるようになっている。そして、用紙の先端と後端をペ
ーパエンド(PE)センサ165により検出すること
で、用紙の供給と排出を検出する。
Here, as shown in FIG. 1B, the printing section of the printing device 16 transports a sheet (not shown) by a pickup roller 161 and, for example, the head 163 provided on the carriage 162 transfers the sheet to the carriage 162. Printing is performed by thermally transferring the set ink ribbon (not shown), and the ink ribbon is discharged from the printing unit by a discharge roller 164. Then, by detecting the leading end and the trailing end of the sheet by the paper end (PE) sensor 165, the supply and discharge of the sheet are detected.

【0013】さらに、この印字部は、上記キャリッジ1
62にスキャナ166を設けている。即ち、このワード
プロセッサは、印刷用紙と同様に搬送される読取対象用
紙を撮像して、その読取対象用紙上の撮像した画像から
文字認識することでテキスト化する所謂OCR機能を備
えている。
Further, the printing unit is provided with the carriage 1
A scanner 166 is provided at 62. In other words, the word processor has a so-called OCR function of capturing an image of a sheet to be read conveyed in the same manner as a printing sheet, and converting the image into a text by recognizing characters from the captured image on the sheet to be read.

【0014】また、図2の(A)は、上記RAM20の
記憶構成を示す図である。即ち、このRAM20には、
上記PEセンサ165で読取可能な用紙のサイズである
PEセンサ読取可能用紙サイズ、実際に印刷する印刷デ
ータ、「用紙無し」や「用紙詰まり」等を表示するため
の各種エラーメッセージデータ、用紙の有無を上記スキ
ャナ166を利用して行うか否かを示すスキャナ認識フ
ラグ(F)、図1の(C)に示すような上記スキャナ1
66の上端から用紙26までの実測値(Y)、同じく上
記スキャナ166の上端から用紙26までの論理値(Y
0)、補正値(ΔY)、リトライ限度数(N)、スキャ
ナ166で読み取った画像を記憶するためのスキャナ読
み取りエリア、PEセンサ165で読み取った画像を記
憶するためのPEセンサ読み取りエリア、ワークエリ
ア、等が設けられる。
FIG. 2A is a diagram showing a storage configuration of the RAM 20. As shown in FIG. That is, in this RAM 20,
PE sensor readable paper size, which is the size of paper readable by the PE sensor 165, print data to be actually printed, various error message data for displaying "paper out" or "paper jam", presence or absence of paper A scanner recognition flag (F) indicating whether or not to perform the scanning using the scanner 166. The scanner 1 as shown in FIG.
The actual measurement value (Y) from the upper end of the sheet 66 to the sheet 26, and the logical value (Y) from the upper end of the scanner 166 to the sheet 26
0), correction value (ΔY), retry limit (N), scanner reading area for storing an image read by the scanner 166, PE sensor reading area for storing an image read by the PE sensor 165, work area , Etc. are provided.

【0015】次に、このような構成における動作を説明
する。図3は、本発明の第1の実施の形態に係る印刷制
御装置の適用されたワードプロセッサの動作を説明する
メインフローチャートである。このフローチャートに記
載した各機能を実現するプログラムは、CPU10が読
み取り可能なプログラムコードの形態で上記記憶装置1
8もしくは記憶媒体22に記憶されている。
Next, the operation in such a configuration will be described. FIG. 3 is a main flowchart for explaining the operation of the word processor to which the print control device according to the first embodiment of the present invention is applied. The program for realizing each function described in this flowchart is stored in the storage device 1 in the form of a program code readable by the CPU 10.
8 or the storage medium 22.

【0016】即ち、まず、入力装置12により所定の印
刷指示が与えられたかどうかを判別し(ステップS1
0)、印刷指示が与えられた場合には、詳細は後述する
ような印刷処理を行う(ステップS11)。ここで、所
定の印刷指示とは、用紙サイズの指定及び印刷データの
選択と、『印刷実行』キー(図示せず)等の押下とを含
む。
That is, first, it is determined whether or not a predetermined print instruction is given by the input device 12 (step S1).
0), when a print instruction is given, print processing as described in detail below is performed (step S11). Here, the predetermined print instruction includes designation of a paper size, selection of print data, and depression of a “print execution” key (not shown) or the like.

【0017】また、印刷指示が与えられていないと判別
した場合には、次に、所定の画像認識指示が与えられた
かどうかを判別する(ステップS12)。この画像認識
指示も与えられなかった場合には、その他の指示に応じ
た処理を行うことになるが、これは本発明には直接関係
が無いので、その説明は省略する。
If it is determined that a print instruction has not been given, it is next determined whether a predetermined image recognition instruction has been given (step S12). If this image recognition instruction is not given, processing according to the other instructions will be performed, but this is not directly related to the present invention, and a description thereof will be omitted.

【0018】これに対して、所定の画像認識指示が与え
られたと判別した場合には、まず、読取対象の文書等が
記載された読取対象用紙を供給する(ステップS1
4)。そして、キャリッジ162を移動しながら画像を
取り込み(ステップS15)、その取り込んだ画像をR
AM20のスキャナ読み取りエリアに記憶すると共に、
表示装置14に表示する(ステップS16)。この画像
取り込から表示までを全ての読取対象について行った後
(ステップS17)、上記RAM20のスキャナ読み取
りエリアに記憶された画像を文字認識してテキスト化し
(ステップS18)、このテキストと認識できなかった
画像データとをファイルとして記憶装置18に記憶する
(ステップS19)。そして、読取対象用紙を排出して
(ステップS20)、上記ステップS10に戻る。
On the other hand, if it is determined that a predetermined image recognition instruction has been given, first, a sheet to be read on which a document to be read or the like is described is supplied (step S1).
4). Then, an image is captured while moving the carriage 162 (step S15), and the captured image is
While storing it in the scanner reading area of AM20,
It is displayed on the display device 14 (step S16). After the process from image capture to display is performed for all reading targets (step S17), the image stored in the scanner reading area of the RAM 20 is converted into text by character recognition (step S18), and the text cannot be recognized. The stored image data is stored in the storage device 18 as a file (step S19). Then, the sheet to be read is discharged (step S20), and the process returns to step S10.

【0019】上記ステップS11で実行される印刷処理
は、図4及び図5に示す一連のフローチャートのように
して行われる。
The printing process executed in step S11 is performed according to a series of flowcharts shown in FIGS.

【0020】即ち、前述したように、用紙サイズの指定
及び印刷データの選択が行われて図示しない『印刷実
行』キー等が押下されると、まず、上記指定された用紙
サイズがPEセンサ165で検出可能なサイズであるか
どうかを、RAM20に記憶されたPEセンサ読取可能
用紙サイズを参照して判別する(ステップS30)。こ
こで、読取可能なサイズであると判別した場合にはRA
M20のスキャナ認識フラグ(F)をオフ(「0」)に
し(ステップS31)、また読取不可能なサイズである
と判別した場合にはそのスキャナ認識フラグ(F)をオ
ン(「1」)にする(ステップS32)。
That is, as described above, when the paper size is specified and the print data is selected and a “print execution” key (not shown) is pressed, first, the specified paper size is detected by the PE sensor 165. It is determined whether or not the size is detectable with reference to the PE sensor readable paper size stored in the RAM 20 (step S30). If the size is determined to be readable, RA
The scanner recognition flag (F) of M20 is turned off ("0") (step S31), and if it is determined that the size is unreadable, the scanner recognition flag (F) is turned on ("1"). (Step S32).

【0021】その後、給紙動作を開始する(ステップS
33)。そしてここで、PEセンサ165とスキャナ1
66の何れを用いて用紙先端の検出を行うかを、スキャ
ナ認識フラグ(F)を参照することで判別する(ステッ
プS34)。スキャナ認識フラグ(F)が「0」の場合
は、PEセンサ165を用いて用紙先端の検出を行うの
で、PEセンサ165による読み取りを行い、読み取っ
た画像をRAM20のPEセンサ読み取りエリアに保存
する(ステップS35)。また、スキャナ認識フラグ
(F)が「1」の場合は、スキャナ166を用いて用紙
先端の検出を行うので、まずキャリッジ162即ちスキ
ャナ166を、指定用紙のサイズに基づいて、用紙中央
つまり用紙26を検出できる位置に移動させた後(ステ
ップS36)、スキャナ166を用いたスキャナ読み取
り処理を行う(ステップS37)。
Thereafter, the sheet feeding operation is started (step S).
33). And here, the PE sensor 165 and the scanner 1
It is determined which of 66 is used to detect the leading edge of the sheet by referring to the scanner recognition flag (F) (step S34). When the scanner recognition flag (F) is “0”, the leading edge of the sheet is detected using the PE sensor 165, so that the reading is performed by the PE sensor 165 and the read image is stored in the PE sensor reading area of the RAM 20 ( Step S35). When the scanner recognition flag (F) is "1", the leading edge of the sheet is detected by using the scanner 166. Therefore, the carriage 162, that is, the scanner 166 is first moved to the center of the sheet, that is, the sheet 26 based on the size of the designated sheet. Is moved to a position where can be detected (step S36), and a scanner reading process using the scanner 166 is performed (step S37).

【0022】このスキャナ読み取り処理は、図2の
(B)に示すように、まず、スキャナ166より画像を
取り込んでRAM20のスキャナ読み取りエリアに保存
する(ステップS60)。そして、この取り込んで保存
した画像の色に基づいて領域分割を行い(ステップS6
1)、各領域を分析して用紙26とプリンタ部とを解析
する(ステップS62)。即ち、記憶装置18又はRA
M20にプリンタ部の画像(スキャナ166で撮像され
た画像)が予め記憶されており、それと一致する部分が
プリンタ部であり、それ以外を用紙26と識別するよう
にしている。そして、そのときの用紙26の検出位置
を、スキャナ上端から用紙までの実測値(Y)として、
RAM20に保存する。
In this scanner reading process, as shown in FIG. 2B, first, an image is fetched from the scanner 166 and stored in the scanner reading area of the RAM 20 (step S60). Then, area division is performed based on the color of the captured and stored image (step S6).
1) Analyze each area to analyze the paper 26 and the printer unit (step S62). That is, the storage device 18 or RA
An image of the printer unit (image picked up by the scanner 166) is stored in advance in M20, and a part corresponding to the image is identified as the printer unit, and the other part is identified as the sheet 26. Then, the detected position of the paper 26 at that time is defined as an actual measurement value (Y) from the upper end of the scanner to the paper.
It is stored in the RAM 20.

【0023】次に、CPU10は、PEセンサ165又
はスキャナ166の読み取り結果に基づいて、用紙26
の有無を判別する(ステップS38)。ここで、用紙2
6が検出できない場合には、RAM20のリトライ限度
数(N)を参照して、N回のリトライを行ったかどうか
判別し(ステップS39)、まだであれば上記ステップ
S33に戻る。また、N回のリトライを行ってしまった
場合には、RAM20の各種エラーメッセージデータエ
リアに記憶されている「用紙無し」のエラーメッセージ
を表示装置14に表示して(ステップS40)、メイン
ルーチンに戻る。
Next, based on the result of reading by the PE sensor 165 or the scanner 166, the CPU 10
Is determined (step S38). Here, paper 2
If 6 cannot be detected, it is determined whether or not N retries have been performed by referring to the retry limit number (N) in the RAM 20 (step S39). If not, the process returns to step S33. If N retries have been performed, an error message of "paper out" stored in the various error message data areas of the RAM 20 is displayed on the display device 14 (step S40), and the process proceeds to the main routine. Return.

【0024】一方、用紙26が検出された場合には、そ
の用紙検出がPEセンサ165とスキャナ166の何れ
を用いて行われたのかを、スキャナ認識フラグ(F)を
参照することで判別する(ステップS41)。そして、
スキャナ認識フラグ(F)が「0」の場合は後述するス
テップS44に進む。また、スキャナ認識フラグ(F)
が「1」の場合は、RAM20に予め記憶されているス
キャナ166の上端から用紙26までの論理値(Y0)
と上記スキャナ読み取り処理においてRAM20に保存
されたスキャナ166の上端から用紙26までの実測値
(Y)との差を算出し、その結果をRAM20に補正値
(ΔY)として記憶する(ステップS42)。そして、
この補正値(ΔY)分、用紙26を紙送りする(ステッ
プS43)。
On the other hand, when the sheet 26 is detected, it is determined whether the sheet detection is performed using the PE sensor 165 or the scanner 166 by referring to the scanner recognition flag (F). Step S41). And
If the scanner recognition flag (F) is "0", the flow proceeds to step S44 described later. Also, the scanner recognition flag (F)
Is "1", the logical value (Y0) from the upper end of the scanner 166 to the sheet 26 stored in the RAM 20 in advance.
Then, the difference between the measured value (Y) from the upper end of the scanner 166 and the sheet 26 stored in the RAM 20 in the scanner reading process is calculated, and the result is stored as a correction value (ΔY) in the RAM 20 (step S42). And
The paper 26 is fed by the correction value (ΔY) (step S43).

【0025】その後、頁書式等で指定されている印刷位
置まで用紙26を紙送りして(ステップS44)、印刷
を実行する(ステップS45)。
Thereafter, the sheet 26 is fed to a printing position specified by a page format or the like (step S44), and printing is executed (step S45).

【0026】而して、印刷が終了したならば、用紙26
の排紙を行う(ステップS46)。そしてここで、PE
センサ165とスキャナ166の何れを用いて用紙後端
の検出を行うかを、スキャナ認識フラグ(F)を参照す
ることで判別する(ステップS47)。スキャナ認識フ
ラグ(F)が「0」の場合は、PEセンサ165を用い
て用紙後端の検出を行うので、PEセンサ165による
読み取りを行い、読み取った画像をRAM20のPEセ
ンサ読み取りエリアに保存する(ステップS48)。ま
た、スキャナ認識フラグ(F)が「1」の場合は、スキ
ャナ166を用いて用紙後端の検出を行うので、まず指
定用紙のサイズに基づいて用紙中央へキャリッジ162
即ちスキャナ166を移動させた後(ステップS4
9)、詳細は前述したようなスキャナ読み取り処理を行
う(ステップS50)。
When printing is completed, the paper 26
Is discharged (step S46). And here, PE
Whether the sensor 165 or the scanner 166 is used to detect the trailing edge of the sheet is determined by referring to the scanner recognition flag (F) (step S47). When the scanner recognition flag (F) is “0”, the rear end of the sheet is detected by using the PE sensor 165, so that the reading is performed by the PE sensor 165 and the read image is stored in the PE sensor reading area of the RAM 20. (Step S48). When the scanner recognition flag (F) is “1”, the trailing edge of the sheet is detected by using the scanner 166. Therefore, first, the carriage 162 is moved to the center of the sheet based on the specified sheet size.
That is, after the scanner 166 is moved (step S4).
9) The scanner reading process is performed as described above (step S50).

【0027】そして、PEセンサ165又はスキャナ1
66の読み取り結果に基づいて、用紙26の有無を判別
する(ステップS51)。ここで、用紙26が検出され
ない場合には、上位のルーチンに戻るが、用紙26が検
出されている場合には、更に、RAM20のリトライ限
度数(N)を参照して、N回のリトライを行ったかどう
かを判別し(ステップS52)、まだであれば上記ステ
ップS46に戻る。また、N回のリトライを行ってしま
った場合には、RAM20の各種エラーメッセージデー
タエリアに記憶されている「用紙詰まり」等の用紙排出
エラーメッセージを表示装置14に表示して(ステップ
S53)、メインルーチンに戻る。
Then, the PE sensor 165 or the scanner 1
The presence or absence of the sheet 26 is determined based on the reading result of step 66 (step S51). Here, if the paper 26 is not detected, the process returns to the upper routine. However, if the paper 26 is detected, the retry limit (N) in the RAM 20 is further referred to, and N retries are performed. It is determined whether or not the operation has been performed (step S52), and if not, the process returns to step S46. If N retries have been performed, a paper discharge error message such as "paper jam" stored in the various error message data area of the RAM 20 is displayed on the display device 14 (step S53). Return to the main routine.

【0028】以上のように、本第1の実施の形態によれ
ば、スキャナ166をPEセンサ165の代わりに利用
することで、PEセンサ165の無いところへ挿入され
てしまう幅の狭い用紙であっても、その用紙の先端及び
後端を検出できるので、印刷を行うことができる。
As described above, according to the first embodiment, by using the scanner 166 in place of the PE sensor 165, it is possible to use a narrow paper which is inserted into a place where the PE sensor 165 is not provided. However, since the leading and trailing edges of the paper can be detected, printing can be performed.

【0029】[第2の実施の形態]次に、本発明の第2
の実施の形態を説明する。本第2の実施の形態は、PE
センサを持たない場合の例であり、また、用紙の斜行に
対する対処を説明するものである。
[Second Embodiment] Next, a second embodiment of the present invention will be described.
An embodiment will be described. In the second embodiment, the PE
This is an example in which no sensor is provided, and also describes how to deal with skew of a sheet.

【0030】本第2の実施の形態においては、RAM2
0の記憶構成は、図2の(C)に示すようになってい
る。即ち、本実施の形態におけるRAM20には、印刷
データ、各種エラーメッセージデータ、図2の(D)に
示すような斜行角度測定時におけるスキャナ166の左
右移動範囲(X)、スキャナ166の上端から用紙26
までの実測値(Y)、スキャナ166の上端から用紙2
6までの論理値(Y0)、補正値(ΔY)、リトライ限
度数(N)、図2の(D)に示すようなスキャナ166
で測定した斜行角度(α)、同じく斜行の限度(−α0
及び+α0)、総印刷枚数を記憶するセット枚数(M)
エリア、斜行により印刷できなかったのが何枚目である
かを記憶するエラーセット枚数エリア、同じく印刷でき
なかった総枚数をカウントするエラー枚数(E)カウン
タ、スキャナ読み取りエリア、検出した用紙の中央位置
を記憶する退避メモリ、ワークエリア、等が設けられ
る。
In the second embodiment, the RAM 2
The storage configuration of 0 is as shown in FIG. That is, the RAM 20 according to the present embodiment stores print data, various error message data, the horizontal movement range (X) of the scanner 166 at the time of skew angle measurement as shown in FIG. Paper 26
From the top of scanner 166 to sheet 2
The logical value (Y0), the correction value (ΔY), the retry limit number (N) up to 6, and the scanner 166 as shown in FIG.
The skew angle (α) measured in the above, and the limit of skew (−α0)
And + α0), the number of sets for storing the total number of prints (M)
Area, an error set sheet number area for storing the number of sheets that could not be printed due to skew, an error sheet number (E) counter for counting the total number of sheets that could not be printed, a scanner reading area, A save memory for storing the center position, a work area, and the like are provided.

【0031】次に、このような構成における動作を説明
する。本第2の実施の形態においては、図3に示したメ
インフローチャートの動作は上記第1の実施の形態と同
様であり、上記ステップS11で実行される印刷処理が
異なっているだけである。
Next, the operation in such a configuration will be described. In the second embodiment, the operation of the main flowchart shown in FIG. 3 is the same as that of the first embodiment, except for the printing process executed in step S11.

【0032】この印刷処理は、図6乃至図8に示すよう
な一連のフローチャートのようにして行われる。
This printing process is performed according to a series of flowcharts as shown in FIGS.

【0033】即ち、用紙サイズの指定及び印刷データの
選択、並びに印刷枚数の指定が行われて、図示しない
『印刷実行』キー等が押下されると、CPU10は、ま
ず、該CPU10内部又はRAM20に構成した各レジ
スタやワークエリア等を初期化する(ステップS7
0)。即ち、この初期化においては、指定された印刷枚
数をセット枚数(M)エリアにセットし、エラー枚数
(E)エリアに「0」をセットし、また図示しないカウ
ンタnの値を「1」に初期設定する。
That is, when the designation of the paper size, the selection of the print data, and the designation of the number of prints are performed, and a “print execution” key (not shown) or the like is pressed, the CPU 10 first stores the data in the CPU 10 or the RAM 20. Initialize each configured register, work area, etc. (Step S7)
0). That is, in this initialization, the designated number of prints is set in the set number (M) area, “0” is set in the error number (E) area, and the value of the counter n (not shown) is set to “1”. Initialize.

【0034】その後、キャリッジ162つまりスキャナ
166を初期位置(図1の(B)の例では最左端)に移
動して(ステップS71)、用紙26の給紙開始する
(ステップS72)。そして、キャリッジ162つまり
スキャナ166を左から右へ移動させて(ステップS7
3)、前述したようなスキャナ読み取り処理を行う(ス
テップS74)。この結果として、スキャナ166で用
紙26を認識したかどうかを判別し(ステップS7
5)、まだ認識していないと判別した場合には、更に、
キャリッジ162つまりスキャナ166が最右端にまで
移動されたかどうかを判別する(ステップS76)。そ
して、まだ、その最右端にまで達していないと判別した
場合には、上記ステップS73に戻る。
Thereafter, the carriage 162, that is, the scanner 166 is moved to the initial position (the leftmost end in the example of FIG. 1B) (step S71), and the feeding of the sheet 26 is started (step S72). Then, the carriage 162, that is, the scanner 166 is moved from left to right (step S7).
3) The scanner reading process as described above is performed (step S74). As a result, it is determined whether the paper 26 is recognized by the scanner 166 (step S7).
5) If it is determined that it has not been recognized yet,
It is determined whether the carriage 162, that is, the scanner 166 has been moved to the rightmost end (step S76). If it is determined that the rightmost end has not yet been reached, the process returns to step S73.

【0035】また、最右端にまでキャリッジ162つま
りスキャナ166が達したと判別された場合には、カウ
ンタnの値がRAM20に記憶されたリトライ限度数
(N)に達したかどうかを判別し(ステップS77)、
まだN回に達していないと判別した場合には、カウンタ
nの値を「+1」した後(ステップS78)、上記ステ
ップS71に戻る。
When it is determined that the carriage 162, that is, the scanner 166 has reached the rightmost end, it is determined whether the value of the counter n has reached the retry limit number (N) stored in the RAM 20 ( Step S77),
If it is determined that the count has not reached N times yet, the value of the counter n is incremented by "+1" (step S78), and the process returns to step S71.

【0036】これに対して、カウンタnの値がリトライ
限度数(N)に達したと判別した場合には、上記カウン
タnの値を「1」に初期設定した後(ステップS7
9)、RAM20の各種エラーメッセージデータエリア
に記憶されている「用紙無し」のエラーメッセージを表
示装置14に表示する(ステップS80)。そして、再
実行の指示がなされるのを待って(ステップS81)、
上記ステップS71に戻る。つまり、用紙26が無かっ
たり、スキャナ位置に達する前に用紙ジャムが発生した
場合には、エラーメッセージ表示によりオペレータに告
知する。そして、オペレータが手動で給紙又は紙詰まり
を取り除いた後、再度、印刷実行を指示すれば、上記処
理を繰り返すことになる。
On the other hand, if it is determined that the value of the counter n has reached the retry limit (N), the value of the counter n is initialized to "1" (step S7).
9) The error message of "paper out" stored in the various error message data areas of the RAM 20 is displayed on the display device 14 (step S80). Then, after waiting for a re-execution instruction (step S81),
The process returns to step S71. That is, if the paper 26 is not present or a paper jam occurs before reaching the scanner position, the operator is notified by displaying an error message. Then, when the operator manually instructs the execution of printing after removing the paper feed or the paper jam manually, the above processing is repeated.

【0037】而して、上記ステップS75において、ス
キャナ166で用紙26を認識したと判別した場合に
は、次に、キャリッジ162の現在位置と最右端との中
央位置を求め(ステップS82)(なお、特に説明はし
なかったが、上記第1の実施の形態における用紙中央の
求め方も同様である)、その求めた中央位置をRAM2
0に構成した退避メモリに記憶する(ステップS8
3)。即ち、用紙26が斜行したり次の用紙がづれてい
たりすると、次の用紙の印刷時に現在位置にスキャナ1
66を戻してもその用紙を認識できないおそれがあるの
で、現在の用紙26の中央を認識位置とするようにして
いる。
If it is determined in step S75 that the paper 26 has been recognized by the scanner 166, then the center position between the current position and the rightmost end of the carriage 162 is determined (step S82) (step S82). Although not specifically described, the same applies to the method of finding the center of the sheet in the first embodiment).
0 (step S8).
3). That is, if the sheet 26 is skewed or the next sheet is misaligned, the scanner 1 is moved to the current position when printing the next sheet.
Since there is a possibility that the paper cannot be recognized even if 66 is returned, the center of the current paper 26 is set as the recognition position.

【0038】次に、RAM20に予め記憶されているス
キャナ166の上端から用紙26までの論理値(Y0)
と上記スキャナ読み取り処理においてRAM20に保存
されたスキャナ166の上端から用紙26までの実測値
(Y)との差を算出し、その結果をRAM20に補正値
(ΔY)として記憶する(ステップS84)。そして、
この補正値(ΔY)分、用紙26を紙送りする(ステッ
プS85)。その後、RAM20に記憶されているスキ
ャナ166の左右移動範囲(X)に従って左右方向にス
キャナ166を移動して、図2の(D)に示すようにX
幅の画像を読み取る(ステップS86)。そして、その
読み取った画像から、用紙26の斜行角度αを検出し、
それをRAM20に保存する(ステップS87)。
Next, the logical value (Y0) from the upper end of the scanner 166 to the sheet 26 stored in the RAM 20 in advance.
Then, the difference between the measured value (Y) from the upper end of the scanner 166 and the sheet 26 stored in the RAM 20 in the scanner reading process is calculated, and the result is stored in the RAM 20 as a correction value (ΔY) (step S84). And
The paper 26 is fed by the correction value (ΔY) (step S85). Thereafter, the scanner 166 is moved in the left-right direction according to the left-right movement range (X) of the scanner 166 stored in the RAM 20, and X is moved as shown in FIG.
The width image is read (step S86). Then, the skew angle α of the sheet 26 is detected from the read image,
It is stored in the RAM 20 (step S87).

【0039】ここで、その保存した斜行角度αが、RA
M20に予め記憶されている斜行の限度である−α0と
+α0の間にあるかどうかを判別する(ステップS8
8)。その結果、現在の用紙の斜行度が斜行限度内にあ
ると判別された場合には、頁書式等で指定されている印
刷位置まで用紙26を紙送りして(ステップS89)、
印刷を実行する(ステップS90)。これに対して、現
在の用紙の斜行度が斜行限度を越えていると判別した場
合には、用紙斜行エラーとして、RAM20の現在のセ
ット枚数(M)をエラーセット枚数エリアに記憶すると
共に、RAM20のエラー枚数(E)カウンタをインク
リメントする(ステップS91)。
Here, the stored skew angle α is RA
It is determined whether or not it is between -α0 and + α0, which is the skew limit stored in advance in M20 (step S8).
8). As a result, when it is determined that the skew degree of the current sheet is within the skew limit, the sheet 26 is fed to the printing position designated by the page format or the like (step S89).
Printing is executed (step S90). On the other hand, if it is determined that the skew degree of the current sheet exceeds the skew limit, the current set number (M) of the RAM 20 is stored in the error set number area as a sheet skew error. At the same time, the error number (E) counter of the RAM 20 is incremented (step S91).

【0040】こうして、印刷が終了したならば、あるい
は、用紙斜行エラーをセットしたならば、次に、用紙2
6の排紙を行い(ステップS92)、キャリッジ162
つまりスキャナ166を上記退避メモリに記憶した位置
へ移動して(ステップS93)(なお、特に説明はしな
かったが、上記第1の実施の形態における排紙の際の用
紙中央へキャリッジを移動する方法も同様である)、前
述したようなスキャナ読み取り処理を実行する(ステッ
プS94)。
When printing is completed in this way, or when a sheet skew error is set,
6 is performed (step S92), and the carriage 162 is discharged.
That is, the scanner 166 is moved to the position stored in the evacuation memory (step S93) (not particularly described, but the carriage is moved to the center of the sheet when the sheet is discharged in the first embodiment). The same applies to the method), and the scanner reading process as described above is executed (step S94).

【0041】そして、このスキャナ166の読み取り結
果に基づいて、用紙26の有無を判別する(ステップS
95)。ここで、用紙26が検出できない場合には、カ
ウンタnの値がRAM20に記憶されたリトライ限度数
(N)に達したかどうかを判別し(ステップS96)、
まだN回に達していないと判別した場合には、カウンタ
nの値を「+1」した後(ステップS97)、上記ステ
ップS92に戻る。
Then, based on the reading result of the scanner 166, the presence or absence of the sheet 26 is determined (step S).
95). If the sheet 26 cannot be detected, it is determined whether the value of the counter n has reached the retry limit (N) stored in the RAM 20 (step S96).
If it is determined that the count has not yet reached N times, the value of the counter n is incremented by "+1" (step S97), and the process returns to step S92.

【0042】これに対して、カウンタnの値がリトライ
限度数(N)に達したと判別した場合には、RAM20
の各種エラーメッセージデータエリアに記憶されている
「用紙詰まり」等の用紙排出エラーメッセージを表示装
置14に表示する(ステップS98)。そして、再実行
の指示がなされるのを待つ(ステップS99)。つま
り、用紙26が詰まった場合には、エラーメッセージ表
示によりオペレータに告知、オペレータが手動でその紙
詰まりを取り除いた後、再度、印刷実行を指示すること
で、以降の処理に進むことになる。
On the other hand, if it is determined that the value of the counter n has reached the retry limit (N), the RAM 20
A paper ejection error message such as "paper jam" stored in the various error message data area is displayed on the display device 14 (step S98). Then, it waits for an instruction for re-execution (step S99). In other words, when the paper 26 is jammed, an error message is displayed to notify the operator, the operator manually clears the jam, and then instructs execution of printing again to proceed to the subsequent processing.

【0043】而して、上記ステップS95においてスキ
ャナ166で用紙26の排出を検出したと判別した場
合、あるいは上記ステップS99において再実行が指示
された場合には、次に、上記カウンタnの値を「1」に
初期設定した後(ステップS100)、RAM20のセ
ット枚数(M)エリアの値を「−1」する(ステップS
101)。そして、その結果、セット枚数(M)エリア
の値が「0」になったかどうかを判別し(ステップS1
02)、まだであれば即ち印刷する枚数が残っている場
合には、給紙を行い(ステップS103)、キャリッジ
162つまりスキャナ166を上記退避メモリに記憶し
た位置へ移動して(ステップS104)、前述したよう
なスキャナ読み取り処理を実行する(ステップS10
5)。
If it is determined that the ejection of the sheet 26 has been detected by the scanner 166 in step S95, or if re-execution is instructed in step S99, the value of the counter n is then changed to the next value. After initial setting to "1" (step S100), the value of the set number (M) area of the RAM 20 is set to "-1" (step S100).
101). Then, as a result, it is determined whether or not the value of the set number (M) area has become “0” (step S1).
02) If not, that is, if the number of sheets to be printed remains, paper is fed (step S103), and the carriage 162, ie, the scanner 166, is moved to the position stored in the evacuation memory (step S104). The scanner reading process as described above is executed (step S10).
5).

【0044】そして、このスキャナ166の読み取り結
果に基づいて、用紙26の有無を判別する(ステップS
106)。ここで、用紙26が検出できた場合には、上
記カウンタnの値を「1」に初期設定した後(ステップ
S107)、上記ステップS84に戻る。
Then, based on the reading result of the scanner 166, the presence or absence of the sheet 26 is determined (step S).
106). Here, when the sheet 26 can be detected, the value of the counter n is initialized to “1” (step S107), and the process returns to step S84.

【0045】これに対して、用紙26が検出されない場
合には、カウンタnの値がRAM20に記憶されたリト
ライ限度数(N)に達したかどうかを判別し(ステップ
S108)、まだN回に達していないと判別した場合に
は、カウンタnの値を「+1」した後(ステップS10
9)、上記ステップS103に戻る。また、カウンタn
の値がリトライ限度数(N)に達したと判別した場合に
は、RAM20の各種エラーメッセージデータエリアに
記憶されている「用紙無し」のエラーメッセージを表示
装置14に表示した後(ステップS110)、再実行の
指示がなされるのを待つ(ステップS111)。そし
て、再実行指示がなされたならば、上記カウンタnの値
を「1」に初期設定した後(ステップS112)、上記
ステップS103に戻る。
On the other hand, if the paper 26 is not detected, it is determined whether or not the value of the counter n has reached the retry limit number (N) stored in the RAM 20 (step S108). If it is determined that it has not reached the value, the value of the counter n is incremented by "+1" (step S10).
9), and return to step S103. Also, the counter n
Is determined to have reached the retry limit (N), an error message of "paper out" stored in various error message data areas of the RAM 20 is displayed on the display device 14 (step S110). Then, it waits for a re-execution instruction (step S111). When the re-execution instruction is given, the value of the counter n is initialized to "1" (step S112), and the process returns to the step S103.

【0046】こうして、上記ステップS102において
セット枚数(M)エリアの値が「0」になったと判別さ
れた場合、つまり、印刷指定された全ての枚数に対する
処理が終了したならば、例えばRAM20のエラーセッ
ト枚数エリアあるいはエラー枚数エリアを参照して、用
紙斜行エラーがあったかどうかを判別する(ステップS
113)。そして、用紙斜行エラーが無かった場合に
は、直ちに、メインルーチンに戻る。これに対して、用
紙斜行エラーがあった場合には、RAM20の各種エラ
ーメッセージデータエリアに記憶されている「斜行エラ
ー」のエラーメッセージを表示装置14に表示すると共
に、その斜行エラーが何枚目の用紙において発生したか
及び全部で何枚の斜行エラーが発生したかを、上記RA
M20のエラーセット枚数エリア及びエラー枚数エリア
の記憶内容に従って表示装置14に表示した後(ステッ
プS114)、メインルーチンに戻る。
If it is determined in step S102 that the value of the set number (M) area has become "0", that is, if the processing for all the print-specified numbers has been completed, for example, an error It is determined whether or not a sheet skew error has occurred by referring to the set number area or the error number area (step S).
113). If there is no skewed sheet error, the process immediately returns to the main routine. On the other hand, when there is a paper skew error, an error message of “skew error” stored in various error message data areas of the RAM 20 is displayed on the display device 14 and the skew error is displayed. The number of sheets that have occurred and the number of skew errors that occurred in total are determined by the RA.
After displaying on the display device 14 according to the stored contents of the error set number area and the error number area of M20 (step S114), the process returns to the main routine.

【0047】以上のように、本第2の実施の形態では、
スキャナ166で用紙26の上端を検出するとき、スキ
ャナ166を左右に移動させることにより用紙26の斜
行度を検出する。そしてその結果が所定の斜行限度値以
上のとき、斜行とみなして、印刷を行わないで用紙26
を排出する。このように、スキャナ166を用紙26の
上端の検出のみでなく、用紙26の斜行の検出にも利用
し、用紙26が斜行している場合は、その用紙26を排
出してしまうことにより、印刷のミスをなくすことがで
きる。
As described above, in the second embodiment,
When the upper end of the sheet 26 is detected by the scanner 166, the skew degree of the sheet 26 is detected by moving the scanner 166 right and left. If the result is equal to or greater than a predetermined skew limit value, the sheet is regarded as skew, and printing is performed without printing.
To discharge. As described above, the scanner 166 is used not only for detecting the upper end of the sheet 26 but also for detecting the skew of the sheet 26. When the sheet 26 is skewed, the sheet 26 is discharged. In addition, printing mistakes can be eliminated.

【0048】なお、本実施の形態では、印刷しないで排
出された用紙の枚数及び何枚目かの情報を記憶してお
き、印刷終了後その内容を表示するようにしているが、
印刷しないで排出した用紙の比率が或る値以上の場合、
用紙のセット位置等の不良が考えられるため、その旨を
表示等で注意を促すようにすることが更に好ましい。
In the present embodiment, the number and number of sheets discharged without printing are stored, and the contents are displayed after printing is completed.
If the ratio of paper ejected without printing is above a certain value,
Since a defect such as a sheet setting position is considered, it is more preferable to warn the user by displaying the fact.

【0049】また、用紙の認識方法は上記第1及び第2
の実施の形態で説明したようなものに限定されるもので
はなく、例えば、動きのある画像領域を用紙と認識して
も良い。
The paper recognition method is the same as the first and second papers.
However, the present invention is not limited to the above-described embodiment. For example, a moving image area may be recognized as a sheet.

【0050】[0050]

【発明の効果】本発明によれば、ペーパエンドセンサの
代わりにスキャナを利用することで用紙の先端及び/又
は終端を検出することで、用紙の有無を判別できるよう
にしたので、ペーパエンドセンサに達しえないような狭
い幅の用紙に対しても印刷を実行できるようになる。
According to the present invention, the presence or absence of a sheet can be determined by detecting the leading edge and / or the trailing edge of a sheet by using a scanner instead of the paper end sensor. Can be executed even on a sheet having a narrow width that cannot be reached.

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

【図1】(A)は本発明の第1の実施の形態に係る印刷
制御装置の適用されたワードプロセッサの構成を示す
図、(B)は(A)中の印刷装置のプリンタ部の機械的
な構成を示す図であり、(C)はスキャナ上端から用紙
までの理論値と実測値の関係を説明するための図であ
る。
FIG. 1A is a diagram showing a configuration of a word processor to which a print control device according to a first embodiment of the present invention is applied, and FIG. 1B is a mechanical diagram of a printer unit of the printing device in FIG. FIG. 4C is a diagram for explaining a relationship between a theoretical value and a measured value from the upper end of the scanner to the sheet;

【図2】(A)は第1の実施の形態におけるRAMの記
憶構成を示す図、(B)は図4中のスキャナ読み取り処
理を説明するためのフローチャート、(C)は本発明の
第2の実施の形態に係る印刷制御装置の適用されたワー
ドプロセッサにおけるRAMの記憶構成を示す図であ
り、(D)は用紙の斜行角度と斜行の限度との関係を説
明するための図である。
FIG. 2A is a diagram showing a storage configuration of a RAM according to the first embodiment, FIG. 2B is a flowchart for explaining a scanner reading process in FIG. 4, and FIG. 2C is a second embodiment of the present invention. FIG. 9D is a diagram illustrating a storage configuration of a RAM in the word processor to which the print control apparatus according to the embodiment is applied, and FIG. .

【図3】第1の実施の形態に係る印刷制御装置の適用さ
れたワードプロセッサの動作を説明するためのメインフ
ローチャートである。
FIG. 3 is a main flowchart for explaining the operation of a word processor to which the print control device according to the first embodiment is applied;

【図4】図3中の印刷処理を説明するための一連のフロ
ーチャートの前半部分を示す図である。
FIG. 4 is a diagram illustrating a first half of a series of flowcharts for describing a printing process in FIG. 3;

【図5】図3中の印刷処理を説明するための一連のフロ
ーチャートの後半部分を示す図である。
FIG. 5 is a diagram showing the latter half of a series of flowcharts for explaining the printing process in FIG. 3;

【図6】第2の実施の形態における印刷処理を説明する
ための一連のフローチャートの第1の部分を示す図であ
る。
FIG. 6 is a diagram illustrating a first part of a series of flowcharts for describing a printing process according to the second embodiment.

【図7】第2の実施の形態における印刷処理を説明する
ための一連のフローチャートの第2の部分を示す図であ
る。
FIG. 7 is a diagram illustrating a second part of a series of flowcharts for describing print processing according to the second embodiment.

【図8】第2の実施の形態における印刷処理を説明する
ための一連のフローチャートの第3の部分を示す図であ
る。
FIG. 8 is a diagram illustrating a third part of a series of flowcharts for describing print processing according to the second embodiment.

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

10 CPU 12 入力装置 14 表示装置 16 印刷装置 18 記憶装置 20 RAM 22 記憶媒体 24 通信回線 26 用紙 161 ピックアップローラ 162 キャリッジ 163 ヘッド 164 排出ローラ 165 ペーパエンド(PE)センサ 166 スキャナ Reference Signs List 10 CPU 12 input device 14 display device 16 printing device 18 storage device 20 RAM 22 storage medium 24 communication line 26 paper 161 pickup roller 162 carriage 163 head 164 discharge roller 165 paper end (PE) sensor 166 scanner

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 用紙に印刷を行う印字部と、用紙の画像
を撮像するスキャナとを設けたキャリッジを備え、用紙
を上記印字部に供給して印刷を行う印刷装置を制御する
印刷制御装置において、 用紙供給がなされた際に、上記キャリッジを用紙が供給
されるべき位置に移動して上記スキャナで画像認識し、
その認識された画像に基づいて用紙の先端を判別するこ
とで、用紙の供給が実際になされたか否かを判別する判
別手段を具備することを特徴とする印刷制御装置。
1. A printing control apparatus comprising a carriage provided with a printing unit for printing on paper and a scanner for capturing an image of the paper, and for controlling a printing apparatus for supplying paper to the printing unit and performing printing. When the paper is supplied, the carriage is moved to a position where the paper is to be supplied, and the image is recognized by the scanner,
A print control apparatus comprising: a determination unit configured to determine whether a sheet is actually supplied by determining a leading edge of the sheet based on the recognized image.
【請求項2】 用紙に印刷を行う印字部と、用紙の画像
を撮像するスキャナとを設けたキャリッジを備え、印刷
後に用紙を排出する印刷装置を制御する印刷制御装置に
おいて、 印刷後に用紙を排出する際に、上記キャリッジを用紙の
有る位置に移動させて上記スキャナで画像認識し、その
認識された画像に基づいて用紙の有無を判別すること
で、用紙の排出がなされたか否かを判別する判別手段を
具備することを特徴とする印刷制御装置。
2. A print control device, comprising: a carriage provided with a printing unit for printing on a sheet and a scanner for picking up an image of the sheet, and controlling a printing apparatus for discharging the sheet after printing, wherein the sheet is discharged after printing. In doing so, the carriage is moved to a position where a sheet is present, the image is recognized by the scanner, and the presence or absence of the sheet is determined based on the recognized image to determine whether the sheet is discharged. A print control device comprising a determination unit.
【請求項3】 上記スキャナで撮像された画像を取り込
んで記憶する記憶手段を更に具備することを特徴とする
請求項1又は2に記載の印刷制御装置。
3. The print control device according to claim 1, further comprising a storage unit that captures and stores an image captured by the scanner.
【請求項4】 上記判別手段は、印刷後に用紙を排出す
る際に、上記キャリッジを用紙の有る位置に移動させて
上記スキャナで画像認識し、その認識された画像に基づ
いて用紙の有無を判別することで、用紙の排出がなされ
たか否かを判別することを特徴とする請求項1に記載の
印刷制御装置。
4. The method according to claim 1, wherein when the sheet is ejected after printing, the carriage is moved to a position where the sheet is present, the image is recognized by the scanner, and the presence or absence of the sheet is determined based on the recognized image. 2. The printing control apparatus according to claim 1, wherein it is determined whether or not the sheet has been discharged.
【請求項5】 上記判別手段は、印刷後に用紙を排出す
る際に、上記キャリッジを用紙の有る位置に移動させて
上記スキャナで画像認識し、その認識された画像に基づ
いて用紙の下端を判別し、用紙下端が検出できない場合
は、その旨を告知することを特徴とする請求項1に記載
の印刷制御装置。
5. The printing apparatus according to claim 1, wherein when the sheet is ejected after the printing, the carriage is moved to a position where the sheet exists, the image is recognized by the scanner, and the lower end of the sheet is determined based on the recognized image. 2. The print control apparatus according to claim 1, wherein when the lower end of the sheet cannot be detected, the fact is notified.
【請求項6】 上記判別手段は、上記スキャナを左右に
移動させることにより用紙の斜行角度を検出し、その検
出した斜行角度が所定角度以上の時には、上記印字部に
よる印刷を行わないで用紙を排出すると共に、この印刷
しないで排出された用紙の枚数あるいは何枚目かの情報
を告知することを特徴とする請求項1に記載の印刷制御
装置。
6. The discrimination means detects a skew angle of a sheet by moving the scanner left and right, and when the detected skew angle is a predetermined angle or more, the printing unit does not perform printing. 2. The print control apparatus according to claim 1, wherein the sheet is ejected, and information on the number or the number of sheets ejected without printing is notified.
【請求項7】 上記判別手段は、上記スキャナを左右に
移動させることにより用紙の斜行角度を検出し、その検
出した斜行角度が所定角度以上の時には、上記印字部に
よる印刷を行わないで用紙を排出すると共に、この印刷
しないで排出された用紙の比率が所定値以上の場合、そ
の旨を告知することを特徴とする請求項1に記載の印刷
制御装置。
7. The discrimination means detects a skew angle of a sheet by moving the scanner left and right, and when the detected skew angle is equal to or greater than a predetermined angle, the printing unit does not perform printing. 2. The print control apparatus according to claim 1, wherein the sheet is discharged, and when the ratio of the sheet discharged without printing is equal to or more than a predetermined value, the notification is made.
【請求項8】 上記印刷装置は、用紙の先端を検出する
ためのペーパエンドセンサを所定位置に備えており、 用紙の設定に応じて、上記ペーパエンドセンサを使用す
るか上記スキャナを使用して用紙の先端検出を行うか
を、自動的に切換える切換え手段を更に具備することを
特徴とする請求項1に記載の印刷制御装置。
8. The printing apparatus according to claim 1, further comprising a paper end sensor for detecting a leading edge of the paper at a predetermined position, and using the paper end sensor or the scanner according to the setting of the paper. 2. The printing control apparatus according to claim 1, further comprising a switching unit that automatically switches whether to detect the leading edge of the sheet.
JP11109207A 1999-04-16 1999-04-16 Printing control device Pending JP2000296661A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11109207A JP2000296661A (en) 1999-04-16 1999-04-16 Printing control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11109207A JP2000296661A (en) 1999-04-16 1999-04-16 Printing control device

Publications (1)

Publication Number Publication Date
JP2000296661A true JP2000296661A (en) 2000-10-24

Family

ID=14504322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11109207A Pending JP2000296661A (en) 1999-04-16 1999-04-16 Printing control device

Country Status (1)

Country Link
JP (1) JP2000296661A (en)

Similar Documents

Publication Publication Date Title
JP5101362B2 (en) Image reading apparatus, image reading apparatus control method, and image reading apparatus control program
JP2000289259A (en) Method for perfecting printing and system
CN113472963B (en) Image reading apparatus, image reading method, image reading system, and storage medium
JP2000296661A (en) Printing control device
JP2001232887A (en) PRINTING APPARATUS, PRINTING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PRINT PROGRAM
JP2021175014A (en) Image reader and image forming device
JP2003335034A (en) Printing control device and printing system
JPH0825728A (en) Printer device
JP6973295B2 (en) Image processing device and image processing method
JPH11275305A (en) Picture reader
JP4507625B2 (en) Single-sheet paper reading device, composite processing device, and single-sheet paper reading processing method
JP4622239B2 (en) Serial number reprinting system and method
JP2001121794A (en) Printing device for fixed form paper
JP3745020B2 (en) Character image recognition printing communication device
JP2005153326A (en) Image forming device
JP2009214404A (en) Apparatus and method for forming image
JPH08174957A (en) Printer
JP3817238B2 (en) Image forming apparatus
KR20000014937A (en) Method of printing on both sides of the paper of complex printer
KR19990079459A (en) Backing paper detector
JPH0563867A (en) Image forming device
JP2002192785A (en) Form handling equipment
JPH0930074A (en) Printer with scanner
JPS6156657B2 (en)
JP2003341209A (en) Stencil printing equipment