JPH09172525A - Image reader - Google Patents

Image reader

Info

Publication number
JPH09172525A
JPH09172525A JP33050195A JP33050195A JPH09172525A JP H09172525 A JPH09172525 A JP H09172525A JP 33050195 A JP33050195 A JP 33050195A JP 33050195 A JP33050195 A JP 33050195A JP H09172525 A JPH09172525 A JP H09172525A
Authority
JP
Japan
Prior art keywords
data
scanning
image
scan
image reading
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.)
Withdrawn
Application number
JP33050195A
Other languages
Japanese (ja)
Inventor
Hisatsugu Naito
久嗣 内藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP33050195A priority Critical patent/JPH09172525A/en
Publication of JPH09172525A publication Critical patent/JPH09172525A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Exposure Or Original Feeding In Electrophotography (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

PROBLEM TO BE SOLVED: To quickly and efficiently perform a scanning operation by performing per-scanning in scanning in one direction and performing main scanning in scanning in the opposite direction in the paper feeding of one time. SOLUTION: In the paper feeding of one time, per-scanning is executed by the forward movement of a carriage and main scanning is executed by the backward movement. In this case, whether or not binarized valid dot data are present inside the respective columns of an 8-dot unit is judged from the data of the 8-dot width of a scanning butter obtained by pre-scanning, it is defined that the data are present when even one dot of the valid data is present, it is defined that the data are not present in the other cases and the map of a scanning area width part (in terms of columns) is prepares and written in a scanning image map buffer which is an area on the RAM-P 315 of a printer/ scanner part 300. Then, in main scanning, the map is retrieved the skipping operation and scanning operation of a blank area are decided and main scanning is executed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画像読取装置に関し、
特にそのスキャン動作の制御に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading device,
In particular, it relates to control of the scan operation.

【0002】[0002]

【従来の技術】従来、シリアルスキャンを行うスキャナ
においては、原稿を給紙してスキャン領域のプレスキャ
ンを行った後に、再度原稿を給紙してから、スキャン領
域の本スキャンが行われるように構成されている。
2. Description of the Related Art Conventionally, in a scanner which performs a serial scan, an original is fed and a scan area is pre-scanned, then the original is fed again, and then a main scan of the scan area is performed. It is configured.

【0003】また、ホスト側から指定されたスキャン領
域においては、領域内に有効データがあるなしにかかわ
らず、すべてスキャン動作を行うように構成されてい
る。
Further, in the scan area designated by the host side, all scan operations are performed regardless of whether or not there is valid data in the area.

【0004】この従来例のシリアルスキャン動作を図1
1および図12を用いて説明する。
FIG. 1 shows the serial scan operation of this conventional example.
1 and FIG. 12 will be described.

【0005】図11は、従来例のシリアルスキャン動作
の模式図であり、原稿上のキャリッジ(スキャナヘッ
ド)の移動と原稿送りの様子とを原稿を基準として矢印
で模式的に表している。この図(A)に示すように、ま
ず、1回目の給紙でプレスキャンを実行し、諧調設定、
明るさの設定などを行う。ここで、1回主走査方向にプ
レスキャンを行うごとにキャリッジを元の位置まで戻
し、原稿送りをしてから(この間スキャン動作は行われ
ない)、次のプレスキャンを行い、以下、全スキャン領
域についてこのような動作をくり返してプレスキャンを
終了する。その後、(B)に示すように、再度給紙して
から本スキャンを行う。
FIG. 11 is a schematic diagram of a serial scan operation of a conventional example, in which the movement of a carriage (scanner head) on a document and the state of document feeding are schematically represented by arrows with the document as a reference. As shown in this figure (A), first, the pre-scan is executed at the first feeding, and the gradation setting,
Set the brightness. Here, each time the prescan is performed in the main scanning direction once, the carriage is returned to the original position, the document is fed (the scanning operation is not performed during this time), and the next prescan is performed. This operation is repeated for the area, and the prescan is completed. After that, as shown in (B), the sheet is fed again, and then the main scan is performed.

【0006】図12は、従来例の本スキャン動作時のキ
ャリッジの速度変化を示す図であり、ここでは、2値8
ドット幅でスキャンする場合を示している。この例では
スキャン領域中央部に有効データがあり、その両側には
データなしの領域がある。途中の点線の部分は、データ
なしの領域を省略したものである。ここで、スキャナヘ
ッド(キャリッジ)の動きは、有効データのあるなしに
かかわらず、全体を同じスキャン速度でスキャンを行
う。
FIG. 12 is a diagram showing the change in the speed of the carriage during the main scan operation of the conventional example.
The case of scanning with a dot width is shown. In this example, there is valid data in the center of the scan area, and there are areas without data on both sides. The dotted line part in the middle omits the area without data. Here, the movement of the scanner head (carriage) scans the whole at the same scanning speed regardless of whether or not there is valid data.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記従
来例では、1度給紙してプレスキャンを行った後に、再
度給紙して本スキャンが行われるため、1回のスキャン
に2度の原稿給紙、スキャン動作を必要とするため、ス
キャンが完了するまでに時間がかかっていた。また、プ
レスキャンした時と本スキャンとでスキャンするべく指
定した位置がずれるなどの不具合があった。
However, in the above-described conventional example, after the paper is fed once and the prescan is performed, the paper is fed again and the main scan is performed, so that the original document is fed twice for each scan. Since it requires paper feeding and scanning operations, it took a long time to complete scanning. Further, there is a problem that the position designated for scanning is deviated between the prescan and the main scan.

【0008】さらに、スキャン領域においては、スキャ
ン領域内に有効データがあるなしにかかわらず、(スキ
ャンデータ蓄積のために、本来スキャナが移動可能な最
大の速度よりはるかに遅い速度で)一律にすべてスキャ
ン動作を行うように構成されているため、有効データが
なくてもスキャナの移動速度は遅く、スキャン原稿の読
み取りに時間がかかるという欠点があった。
Further, in the scan area, regardless of whether or not there is valid data in the scan area (at a speed far slower than the maximum speed at which the scanner originally can move due to the accumulation of scan data), all of them are uniformly distributed. Since it is configured to perform the scanning operation, there is a drawback that the moving speed of the scanner is slow even if there is no valid data, and it takes a long time to read a scanned document.

【0009】本発明は、上記従来例の欠点を解消するた
めになされたのであり、1回の給紙で、片方向のスキャ
ンの時にプレスキャンを行い、それと逆方向のスキャン
の時に本スキャンを行うことにより、迅速に無駄なくス
キャン動作ができるようにした画像読取装置を提供する
ことを目的とする。
The present invention has been made in order to solve the above-mentioned drawbacks of the prior art, and pre-scan is performed when scanning in one direction and scanning is performed in the opposite direction with one sheet feeding. It is an object of the present invention to provide an image reading apparatus that can perform a scanning operation quickly and efficiently without waste.

【0010】さらに、本発明は、本スキャン時には有効
データがない部分についてスキップ動作を行うことによ
り、より迅速なスキャンができる画像読取装置を提供す
ることを目的とする。
A further object of the present invention is to provide an image reading apparatus capable of performing a quicker scan by performing a skip operation for a portion having no valid data during a main scan.

【0011】[0011]

【課題を解決するための手段】本発明は、次のように構
成される。
The present invention is constructed as follows.

【0012】(1)画像の読み取りを行う画像読取手段
と、この画像読取手段の移動を行う移動手段と、前記画
像読取手段で読み取った画像データを記憶する記憶手段
と、前記移動手段の制御を行う第一の制御手段と、前記
画像読取手段での画像の読み取りを制御する第二の制御
手段とを備えた画像読取装置。
(1) Image reading means for reading an image, moving means for moving the image reading means, storage means for storing image data read by the image reading means, and control for the moving means. An image reading apparatus comprising: a first control unit that performs the image reading; and a second control unit that controls reading of an image by the image reading unit.

【0013】(2)第二の制御手段は、画像読取手段が
一方向に移動する時にプレスキャンを行ってその画像デ
ータを記憶手段に記憶し、この記憶されたデータに基づ
いて画像読取手段が反対方向に移動する時に本スキャン
を行うように制御するものである上記(1)に記載の画
像読取装置。
(2) The second control means performs a pre-scan when the image reading means moves in one direction, stores the image data in the storage means, and the image reading means operates based on the stored data. The image reading apparatus according to (1) above, which controls to perform a main scan when moving in the opposite direction.

【0014】(3)第一の制御手段は、プレスキャン時
に記憶手段に記憶された画像データに基づき、本スキャ
ン時には移動手段の移動速度を速くするように制御する
ものである上記(2)に記載の画像読取装置。
(3) The first control means controls the moving speed of the moving means at the time of the main scan based on the image data stored in the storage means at the time of the prescan. The image reading device described.

【0015】(4)第一の制御手段の制御モードとし
て、画像の全域についての移動手段の移動速度を制御す
る全域モード、画像の両端についての移動手段の移動速
度を制御する両端モードを有することを特徴とする上記
(3)に記載の画像読取装置。
(4) As the control mode of the first control means, there is provided a full range mode for controlling the moving speed of the moving means for the entire area of the image and a both end mode for controlling the moving speed of the moving means for both ends of the image. The image reading device described in (3) above.

【0016】(5)移動手段の移動速度を一定とする禁
止モードを設定する設定手段を設け、この設定手段の設
定内容に基づいて第一の制御手段が移動手段の移動速度
を制御するものである上記(3)または(4)に記載の
画像読取装置。
(5) The setting means for setting the prohibition mode for keeping the moving speed of the moving means constant is provided, and the first control means controls the moving speed of the moving means based on the setting contents of the setting means. The image reading device according to (3) or (4) above.

【0017】[0017]

【作用】本発明は、上記のように構成したことにより、
画像読取手段での画像の読み取り動作を制御できる。
According to the present invention having the above-described structure,
The image reading operation of the image reading means can be controlled.

【0018】また、上記(2)の構成によれば、画像読
取手段の往復の移動の間にプレスキャンおよび本スキャ
ンの両方が行われる。
Further, according to the above configuration (2), both the prescan and the main scan are performed during the reciprocating movement of the image reading means.

【0019】さらに、上記(3)の構成によれば、画像
のない領域の本スキャンの動作を早くすることができ
る。
Further, according to the configuration of (3) above, the operation of the main scan of the area having no image can be speeded up.

【0020】[0020]

【実施例】以下、図面を参照して本発明の実施例につい
て詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0021】まず、本発明の適用される装置について説
明する。なお、ここで説明する装置は後述の実施例1〜
5において用いることができるものである。
First, an apparatus to which the present invention is applied will be described. In addition, the device described here is used in Examples 1 to 1 described later.
5 can be used.

【0022】図1は、本発明の適用されるプリンタ内蔵
パーソナルコンピュータ(以下、「パソコン」という)
を示す斜視図である。
FIG. 1 is a personal computer with a built-in printer to which the present invention is applied (hereinafter referred to as "personal computer").
FIG.

【0023】パソコン1は、装置本体101,キーボー
ド102,表示部103を備える上カバー104、およ
び内蔵型プリンタ12等の各部によって構成されてい
る。上カバー104は、装置本体101に対して、その
後縁の両端に設けられたヒンジ104aを介して回動可
能に取り付けられている。これにより、本装置の使用時
には、上カバー104は、その回動によって表示部10
3が見易くなる位置まで開けられ、また、不使用時に
は、閉じられてカバーとして機能することができる。表
示部103の表示素子としては、表示部を薄く構成でき
ることから液晶表示素子が用いられる。内蔵型プリンタ
12は、操作者が開閉可能な開口部(不図示)を有し、
印字ヘッドまたはスキャナヘッドの交換が可能になって
いる。ホストコンピュータ(パソコン1の内蔵型プリン
タを除く部分)とは、内部で接続されている。通常はプ
リンタ12のキャリッジ部(図示せず)にインクジェッ
ト型印字ヘッド等を装着することにより、印字可能であ
るとともに、印字ヘッドの代わりにスキャナヘッドを装
着すれば、シリアルスキャナとして動作する。3は、内
蔵型プリンタ12をプリンタとして使用する時は、記録
用紙を、また、スキャナとして使用する時は、スキャン
原稿を表すものである。
The personal computer 1 is composed of an apparatus body 101, a keyboard 102, an upper cover 104 having a display section 103, a built-in printer 12, and the like. The upper cover 104 is rotatably attached to the apparatus main body 101 via hinges 104a provided at both ends of the rear edge. As a result, when the present apparatus is used, the upper cover 104 is rotated to cause the display unit 10 to rotate.
3 can be opened to a position where it can be easily seen, and can be closed to function as a cover when not in use. As the display element of the display section 103, a liquid crystal display element is used because the display section can be made thin. The built-in printer 12 has an opening (not shown) that can be opened and closed by the operator,
The print head or scanner head can be replaced. The host computer (the part of the personal computer 1 excluding the built-in printer) is internally connected. Normally, printing can be performed by mounting an ink jet type print head or the like on a carriage portion (not shown) of the printer 12, and if a scanner head is mounted instead of the print head, it operates as a serial scanner. Reference numeral 3 indicates a recording sheet when the built-in printer 12 is used as a printer, and a scanned document when it is used as a scanner.

【0024】図2に、ホストコンピュータとプリンタ
(プリンタ/スキャナ部)の概略ブロック図を示す。
FIG. 2 is a schematic block diagram of the host computer and the printer (printer / scanner section).

【0025】ホストコンピュータにおいては、主制御を
司っているが中央演算処理装置(CPU)201であ
り、その基本的な制御を指示するのがBIOS203で
ある。BIOS203はフロッピディスクコントローラ
213やハードディスクコントローラ215を経由して
アプリケーションプログラムを読み出し、システムメモ
リを利用してプログラムの実行を行う。この時、画面の
表示方法としてはLCDコントローラ209を使って液
晶にキャラクタの表示を行い、キーボード212からの
キー入力は、キーボードコントローラ211を経由して
行われる。
In the host computer, the central processing unit (CPU) 201 controls the main control, and the BIOS 203 instructs the basic control. The BIOS 203 reads the application program via the floppy disk controller 213 or the hard disk controller 215 and executes the program using the system memory. At this time, as a screen display method, a character is displayed on the liquid crystal by using the LCD controller 209, and key input from the keyboard 212 is performed via the keyboard controller 211.

【0026】数値演算プロセッサ202はCPUに対し
て演算処理のサポートを行うものである。また、リアル
タイムクロック204は現時点の経過時間を示すもの
で、システム全体の電源が切られた状態においても専用
バッテリー205より動作は行われる。
The numerical arithmetic processor 202 supports arithmetic processing for the CPU. The real-time clock 204 indicates the elapsed time at the present time, and the dedicated battery 205 operates even when the power of the entire system is turned off.

【0027】DMAコントローラ206は、メモリ−メ
モリ間,メモリ−入出力装置間,入出力装置−入出力装
置間において高速にデータの転送を行うために、CPU
201の介在なしでデータ転送を行う。割り込みコント
ローラ207は各入出力の割り込みを受け付け、優先順
位に従って処理を行う。
The DMA controller 206 is a CPU for high-speed data transfer between the memory and the memory, between the memory and the input / output device, and between the input / output device and the input / output device.
Data transfer is performed without the intervention of 201. The interrupt controller 207 accepts interrupts of each input / output and performs processing according to the priority order.

【0028】タイマ217は、数チャンネルのフリーラ
ンニングタイマを持ち、種々の時間管理を行う。そのほ
かに、外部につながるシリアルインターフェース,拡張
ポートや、ユーザに動作状況を伝えるLEDがある。
The timer 217 has a free running timer of several channels and manages various times. In addition, there is a serial interface that connects to the outside, an expansion port, and an LED that reports the operating status to the user.

【0029】一般のパソコンが持つ上記の各制御に加え
て、本実施例のようなノートブックパソコンにおいては
アダプタ−電池の少なくとも二電源に対応する必要があ
り、特に電池使用時の省電力が必要となり、以下の構成
を有する。
In addition to the above-mentioned controls of a general personal computer, in the notebook personal computer as in this embodiment, it is necessary to support at least two power sources of an adapter and a battery, and especially power saving when using the battery is required. And has the following configuration.

【0030】EL210bインバータ回路のon−of
f,フロッピディスクドライブ214(以下、「FD
D」という)への電源供給,ハードディスクドライブ2
16(以下、「HDD」という)への電源供給,pri
nter−off,RAM223およびVRAM224
以外のデバイスへの電源供給の各時間制御や、CPU2
01等のCLOCK制御,サスペンドレジューム時の電
源制御手順等を指示するホストパワーマネージメント部
(ホストPM)219と、RAM223およびVRAM
224にメモリされた内容をリフレッシュするためのリ
フレッシュコントローラ222と、二次電池をチャージ
しながらホスト側も駆動可能なチャージコントローラ2
25よりなる。
On-of the EL210b inverter circuit
f, floppy disk drive 214 (hereinafter, "FD
Power supply to "D"), hard disk drive 2
16 (hereinafter referred to as "HDD") power supply, pri
inter-off, RAM 223 and VRAM 224
Control of power supply to devices other than the above, and CPU2
01, etc. CLOCK control, host power management unit (host PM) 219 for instructing power supply control procedure at the time of suspend / resume, RAM 223 and VRAM
A refresh controller 222 for refreshing the contents stored in 224, and a charge controller 2 capable of driving the host side while charging the secondary battery.
It consists of 25.

【0031】プリンタ/スキャナ部300はホストコン
ピュータに対して汎用のパラレルインターフェースでつ
ながる形になり、I/Oポートのレジスタレベルでデー
タ送受信を行い、接続のイメージとしては、外部プリン
タとやりとりした時と同等となる。また、プリンタに記
録ヘッドのかわりにスキャナヘッドを装着した場合は、
同様にホストコンピュータに対して汎用の双方向のパラ
レルインターフェースでつながる形になり、I/Oポー
トのレジスタレベルでデータ送受信を行い、接続のイメ
ージとしては、外部スキャナとやりとりした時と同等と
なる。
The printer / scanner unit 300 is connected to the host computer through a general-purpose parallel interface, and data is transmitted / received at the register level of the I / O port. The image of the connection is the same as when it is exchanged with an external printer. Will be equivalent. If a scanner head is attached to the printer instead of the recording head,
Similarly, a general-purpose bidirectional parallel interface is used to connect to the host computer, data is transmitted and received at the register level of the I / O port, and the image of the connection is the same as when it is exchanged with an external scanner.

【0032】図3は、プリンタ/スキャナ部の制御系の
構成を示すブロック図であり、主な構成は以下の通りで
ある。
FIG. 3 is a block diagram showing the construction of the control system of the printer / scanner section, and the main construction is as follows.

【0033】ここで、CPU−P311はプリンタ/ス
キャナ部の主制御をなすマイクロプロセッサ形態のCP
Uであり、プリンタコントロール&ステータスポート部
402のPST/IOレジスタ351を介してホスト側
からアクセス可能なPST/IOレジスタ351との間
でプリンタのステータス情報やエミュレーション設定の
情報授受を行い、この状態設定に基づきホスト側からの
後述のパラレルIFアダプタ部401のPIO/IOレ
ジスタ350を介して得られるプリンタコマンドやデー
タに従って所望の状態処理および印字処理を後述のRO
M−P312にあらかじめマイクロコード化して格納さ
れたプログラムやデータに則りCPU−P311上のデ
バイス,レジスタ,メモリを用いて行う。
Here, the CPU-P 311 is a microprocessor type CP which is the main control of the printer / scanner section.
U and exchanges printer status information and emulation setting information with the PST / IO register 351 accessible from the host side via the PST / IO register 351 of the printer control & status port unit 402, Based on the setting, desired state processing and printing processing are performed on the RO described later according to printer commands and data obtained from the host side via the PIO / IO register 350 of the parallel IF adapter unit 401 described later.
This is performed using the devices, registers, and memories on the CPU-P311 according to the programs and data that are microcoded and stored in the M-P312 in advance.

【0034】ROM−P312はCPU−P311が実
行する記録制御手順,印字制御手順およびスキャン制御
手順等に対応したプログラム,キャラクタジェネレー
タ、その他のテーブルおよびデフォルト値の固定データ
を格納するROM(リードオンリーメモリ)である。
The ROM-P312 is a ROM (read-only memory) for storing programs corresponding to the recording control procedure, print control procedure, scan control procedure, etc. executed by the CPU-P311, a character generator, other tables, and fixed data of default values. ).

【0035】TIMER1−P313は紙送りモータ
(FM),ヒータ等の相駆動時間およびその他の時間タ
イミングを得るためのタイマで、RTC−P314は印
字ヘッド回復動作の経過時間を知るためのRTC(リア
ルタイムクロック)である。また復合制御UNIT30
1は、IF転送制御,省電力制御,RAMアクセス制御
などから構成され、このうちRAMアクセス制御,プリ
ンタコントロール&ステータス制御,省電力制御等はC
PU−P311の制御によらずCPU−P311のクロ
ック停止およびデフォルト中であっても独立した制御が
可能である。
TIMER1-P313 is a timer for obtaining the phase drive time of the paper feed motor (FM), heater, etc. and other time timings, and RTC-P314 is an RTC (real time) for knowing the elapsed time of the print head recovery operation. Clock). Also, uniting control UNIT30
1 is composed of IF transfer control, power saving control, RAM access control, etc. Of these, RAM access control, printer control & status control, power saving control, etc. are C
The CPU-P311 can be stopped independently of the control of the PU-P311 and independent control can be performed even during the default.

【0036】以上の構成がCPU−P bus360に
接続されている。RAM−P315はレジスタとして用
いるワーク領域、1ライン分の印字データ/スキャンデ
ータを格納するためのラインバッファ,ドットに再展開
されたドット展開バッファ,パラレルIFからのINP
UTバッファ,スキャナモード記録等の領域を有するR
AM(ランダムアクセスメモリ)で、複合制御UNIT
301との間をRAMバス361によって接続され、複
合制御UNIT301との間をRAMアクセス制御部4
08によりRAM−P315が後述するCPU−P31
1をはじめ、複数の制御部からのアクセスが可能となっ
ている。
The above configuration is connected to the CPU-P bus 360. The RAM-P315 is a work area used as a register, a line buffer for storing print data / scan data for one line, a dot development buffer re-developed into dots, and an INP from the parallel IF.
R with area for UT buffer, scanner mode recording, etc.
Combined control unit with AM (random access memory)
The RAM access control unit 4 is connected to the composite control unit 301 by the RAM bus 361.
08-RAM-P315 CPU-P31 to be described later
It is possible to access from a plurality of control units including the above.

【0037】複合制御UNIT301からは各プリンタ
駆動制御信号が出力され、FM駆動回路321,CM/
ASFM駆動回路322,ヘッドドライバ323,ヒー
タドライバ324ではそれぞれFM331,CM33
3,Bj−Head334,ヒータ335等の駆動レベ
ルに各制御信号を変換し、プリンタのFM(フィードモ
ータ)331,CM(キャリアモータ)333,インク
ジェットヘッド334各部が駆動される。
Each printer drive control signal is output from the composite control unit 301, and the FM drive circuit 321, CM /
In the ASFM drive circuit 322, the head driver 323, and the heater driver 324, the FM 331, the CM 33, respectively.
3, each control signal is converted into a drive level of the Bj-Head 334, the heater 335, etc., and the FM (feed motor) 331, the CM (carrier motor) 333, and the inkjet head 334 are driven.

【0038】省電力制御信号として、複合制御UNIT
301からVcc1p−off,Vcc2P−off,
Vpoffの電源コントロール信号と、入力信号として
Printer−off,プリンタセンサ類,操作パネ
ルSW,出力信号として操作パネルのLED駆動信号等
を持つ。このうち、Vcc1−Pの電源供給がなされ
て、複合制御UNIT301,CPU−P311,RA
M−P315にのみ、電源供給が可能となる。
A composite control unit is used as a power saving control signal.
301 to Vcc1p-off, Vcc2P-off,
It has a power control signal of Vpoff, Printer-off as an input signal, printer sensors, an operation panel SW, and an LED drive signal of the operation panel as an output signal. Of these, the power of Vcc1-P is supplied, and the composite control UNIT301, CPU-P311, RA
Power can be supplied only to the M-P315.

【0039】また、Vcc1P−offはPrinte
r−off信号をプリンタの駆動状況に合わせて変更し
たOFFタイミングで、Vcc1Pなる電源を切ること
が可能となっている。すなわち、ヘッドがキャップオー
プン状態で電源が切れてしまい、致命的な障害を及ぼす
ことがないのである。
Further, Vcc1P-off is Printe
It is possible to turn off the power of Vcc1P at the OFF timing when the r-off signal is changed according to the driving status of the printer. That is, the power is not cut off when the head is in the cap open state, and no fatal trouble is caused.

【0040】CM333とASFM332は、CPU2
01からの信号によってリレー336が駆動回路との接
続を切り替えるように構成されている。通常はCM33
3に接続されている。
The CM 333 and ASFM 332 are the CPU 2
The signal from 01 causes the relay 336 to switch connection with the drive circuit. Usually CM33
Connected to 3.

【0041】図4に複合制御UNIT301の構成図を
示す。
FIG. 4 shows a block diagram of the composite control unit 301.

【0042】機能ブロックとしては、主としてホスト側
からのIFアダプタ,パラレルIFアダプタ,パラレル
IFアダプタを介してRAM−P315のinput−
buffer上にパラレルデータの格納を行うパラレル
IFアダプタ部401と、主としてプリンタ(スキャ
ナ)側のスキャナ制御UNITからのシリアルデータを
パラレルデータに変換するために格納を行うIFデータ
取り込み制御部404と、主としてホスト側から直接プ
リンタの状態を確認コントロールするためのプリンタコ
ントロール&ステータスポート部402と、RAM−P
315のリフレッシュタイミングを発生するリフレッシ
ュ制御部403と、RAM−P315上の1ラインドッ
ト展開データを読み出してインクジェット(IJ)ヘッ
ドを駆動印字しつつ合わせてキャリアの相励磁も制御す
るIJ−ヘッド/スキャナヘッド&CM制御部406
と、FM331,ヒータ335,LED325等を駆動
するプリンタポート制御部405と、IFデータ取り込
み制御部404とリフレッシュ制御部403とIJ−ヘ
ッド/スキャナヘッド&CM制御部406とCPU−P
311の4つのアクセス要求に対して優先度別にアクセ
ス権を持つRAMアクセス制御部408と、省電力制御
を行うプリンタPM部407で構成される。
As functional blocks, an input adapter of RAM-P315 is mainly provided via an IF adapter, a parallel IF adapter, and a parallel IF adapter from the host side.
A parallel IF adapter unit 401 for storing parallel data on the buffer, an IF data fetching control unit 404 for storing serial data mainly from the scanner control unit on the printer (scanner) side to parallel data, and A printer control & status port unit 402 for checking and controlling the printer state directly from the host side, and a RAM-P
A refresh control unit 403 for generating refresh timing of 315, and an IJ-head / scanner for reading the 1-line dot development data on the RAM-P 315 and driving and printing the inkjet (IJ) head while also controlling the phase excitation of the carrier. Head & CM control unit 406
A printer port control unit 405 that drives the FM 331, heater 335, LED 325, etc., IF data acquisition control unit 404, refresh control unit 403, IJ-head / scanner head & CM control unit 406, and CPU-P.
A RAM access control unit 408 that has access rights according to priority for four access requests 311 and a printer PM unit 407 that performs power saving control.

【0043】省電力制御については、CPU−P311
のフォルト状態で供給クロックを停止させる低消費電力
モードからの通常処理状態への復帰は、PM制御部で集
中して管理される各種割り込みによってもたらされ、C
PU−P311を復帰させる条件が整ったのち、割込と
して出力されCPU−P311は再開して処理を行う。
For power saving control, CPU-P311
The return to the normal processing state from the low power consumption mode in which the supply clock is stopped in the fault state of is brought about by various interrupts centrally managed by the PM control unit.
After the condition for returning the PU-P311 is satisfied, the signal is output as an interrupt and the CPU-P311 restarts to perform the processing.

【0044】図5にスキャナユニット部,印字ヘッド
部、およびプリンタ部の概略ブロック図を示す。主な構
成は以下の通りである。
FIG. 5 shows a schematic block diagram of the scanner unit section, the print head section, and the printer section. The main configuration is as follows.

【0045】スキャナユニット部500において、光源
502はLED等を用い、被走査媒体(原稿)に対して
光を照射する。光源502から被走査媒体の文字あるい
は画像等に照射された光の反射光は、光電変換特性を持
つセンサ501が検出する。センサ501で検出された
信号は、増幅器503でアナログデジタル変換器504
で扱うレベルの最適なレベルまで増幅し、アナログデジ
タル変換器504に入力する。ここで、デジタルデータ
に変換したものを、画像処理IC505でシェーディン
グ補正,2値化等の補正あるいは画像処理を行い、画像
データとしてヘッド接続部520を経由して、プリンタ
部530に転送するものである。この転送は、記録時の
記録データの流れとは逆の経路を通って、最終的にホス
ト側PC550に送られることになる。
In the scanner unit 500, an LED or the like is used as the light source 502, and the medium to be scanned (original) is irradiated with light. The reflected light of the light emitted from the light source 502 to the characters or the image on the medium to be scanned is detected by the sensor 501 having a photoelectric conversion characteristic. The signal detected by the sensor 501 is converted by the amplifier 503 into the analog-digital converter 504.
The signal is amplified to the optimum level handled in (4) and input to the analog-digital converter 504. Here, the image data converted into digital data is subjected to shading correction, binarization or other correction or image processing by the image processing IC 505, and is transferred to the printer unit 530 as image data via the head connecting unit 520. is there. This transfer is finally sent to the host-side PC 550 through a route opposite to the flow of the recording data at the time of recording.

【0046】つまり、画像処理IC505からヘッド接
続部520,ヘッド接続線,複合制御UNIT532,
RAM−P539、さらには双方向インターフェース5
37を通して最終的にホスト側PC550に画像データ
を送り込むものである。このとき、複合制御UNIT5
32は画像処理IC505から受けた画像データ(ビッ
トイメージ)をインターフェースで送りやすい形、ある
いは、ホスト側PC550で扱いやすい形(バイト単
位)にして、演算制御部の制御を受けながら転送してい
くのである。画像処理IC505はスキャナユニット部
500の主制御を行い、プリンタ部530からアクセス
可能なSST/IOレジスタとの間でスキャナのモード
設定の情報授受やスタートトリガの設定を行う。スキャ
ン処理制御全体は、ROM−P540にあらかじめマイ
クロコード化して格納されたプログラムやデータに則
り、CPU−P538が、CPU−P538上のデバイ
ス,レジスタ,メモリおよび、スキャナユニット部50
0の画像処理IC505,光源502,センサ501,
増幅器503を用いて行う。
That is, from the image processing IC 505 to the head connecting section 520, the head connecting line, the composite control unit 532,
RAM-P539, and bidirectional interface 5
The image data is finally sent to the host PC 550 through 37. At this time, the composite control UNIT5
The image data 32 (bit image) received from the image processing IC 505 is in a form that can be easily sent by an interface or a form (byte unit) that can be easily handled by the host-side PC 550, and is transferred under the control of the arithmetic control unit. is there. The image processing IC 505 performs main control of the scanner unit section 500, and exchanges information on the scanner mode setting with the SST / IO register accessible from the printer section 530 and sets a start trigger. The entire scan processing control is based on the programs and data stored in the ROM-P 540 in the form of microcode in advance, and the CPU-P 538 controls the devices, registers, memory on the CPU-P 538, and the scanner unit 50.
0 image processing IC 505, light source 502, sensor 501,
This is performed using the amplifier 503.

【0047】実際は印字ヘッド510が、スキャナユニ
ット500のどちらかを接続する構成となっているの
で、CPU−P538がどちらのヘッドがついているか
判断して、切り替えブロック内で所望の回路の接続線に
切り替えを行う。
Since the print head 510 is actually configured to connect either of the scanner units 500, the CPU-P 538 determines which head is attached, and selects the connection line of the desired circuit in the switching block. Switch over.

【0048】図6は、本発明の適用される記録/スキャ
ン装置を示す斜視図である。
FIG. 6 is a perspective view showing a recording / scanning apparatus to which the present invention is applied.

【0049】同図において、キャリッジ633には、記
録手段を構成する記録ヘッド630とインクタンク63
1とが連結したヘッドカートリッジ632が搭載されて
いる。スキャン動作をさせる場合は、ヘッドカートリッ
ジ632のかわりに、スキャナヘッドを搭載する。この
キャリッジ633の記録ヘッド630側の一端部は、シ
ャーシ601に回動自在に取り付けられたリードスクリ
ュー613に、その軸方向に摺動可能に嵌入されてい
る。そして、キャリッジ633は、その姿勢が常に一定
に保たれながらリードスクリュー613の回転に伴って
その軸方向に往復移動可能な構成となっている。
In the figure, a carriage 633 has a recording head 630 and an ink tank 63 which constitute recording means.
A head cartridge 632 that is connected to 1 is mounted. When performing a scanning operation, a scanner head is mounted instead of the head cartridge 632. One end of the carriage 633 on the recording head 630 side is fitted in a lead screw 613 rotatably attached to the chassis 601 so as to be slidable in the axial direction. The carriage 633 is configured to be capable of reciprocating in its axial direction as the lead screw 613 rotates while its posture is always kept constant.

【0050】すなわち、前記リードスクリュー613
は、図6に示すようにスクリュー左端に固着されたリー
ドスクリューギア657と、キャリアモータ655の出
力軸に固着されたピニオンギア656とが嵌合し、かつ
リードスクリュー613に螺旋状に所定のピッチで形成
された案内条608に、キャリッジ633に取り付けら
れたリードピン609が嵌入している。従って、キャリ
アモータ655の正転,逆転運動に伴ってリードスクリ
ュー613が回動すると、キャリッジ633が往復移動
する。キャリッジ633の走査の詳細は後述する。
That is, the lead screw 613
6, the lead screw gear 657 fixed to the left end of the screw and the pinion gear 656 fixed to the output shaft of the carrier motor 655 are fitted to each other, and the lead screw 613 is spirally arranged at a predetermined pitch. The lead pin 609 attached to the carriage 633 is fitted in the guide strip 608 formed in (1). Therefore, when the lead screw 613 rotates with the forward rotation and the reverse rotation of the carrier motor 655, the carriage 633 reciprocates. Details of scanning of the carriage 633 will be described later.

【0051】前記キャリッジ633の往復移動に同期し
て記録ヘッド630が駆動してインクを記録信号に応じ
て吐出することにより、被記録材3に一行記録を行うも
のである。すなわち、この記録ヘッド630は微細な液
体吐出口(オリフィス)、液路およびこの液路の一部に
設けられるエネルギー作用部と、該作用部にある液体に
作用させる液滴形成エネルギーを発生させるエネルギー
発生手段を備えている。
The recording head 630 is driven in synchronization with the reciprocating movement of the carriage 633 to eject ink in accordance with a recording signal, thereby recording one line on the recording material 3. That is, the recording head 630 has a fine liquid ejection port (orifice), a liquid passage, and an energy acting portion provided in a part of the liquid passage, and energy for generating droplet forming energy that acts on the liquid in the acting portion. Equipped with generating means.

【0052】このようなエネルギーを発生するエネルギ
ー発生手段としてはピエゾ素子などの電気熱変換体を用
いた記録方法、レーザなどの電磁波を照射して発熱さ
せ、該発熱による作用で液滴を吐出させるエネルギー発
生手段を用いた記録方法、あるいは発熱抵抗を有する発
熱素子などの電気熱変換体によって液体を加熱して液体
を吐出させるエネルギー発生手段を用いた記録方法など
がある。
As the energy generating means for generating such energy, a recording method using an electrothermal converter such as a piezo element, electromagnetic waves such as laser are irradiated to generate heat, and droplets are ejected by the action of the heat generation. There are a recording method using an energy generating means, a recording method using an energy generating means for heating a liquid and discharging the liquid by an electrothermal converter such as a heating element having a heating resistance.

【0053】その中でも、熱エネルギーによって液体を
吐出させるインクジェット記録方法に用いられる記録ヘ
ッドは、記録用の液体を吐出して吐出用液滴を形成する
ための液体吐出口を高密度に配列することができるため
に高解像度の記録をすることが可能である。その中で
も、電気熱変換体をエネルギー発生手段として用いた記
録ヘッドは、コンパクト化も容易であり、かつ最近の半
導体分野における技術の進歩と信頼性の向上が著しいI
C技術やマイクロ加工技術の長所を十二分に活用でき、
高密度実装化が容易で、製造コストも安価なことから有
利である。
Among them, the recording head used in the ink jet recording method for ejecting a liquid by thermal energy has a high density of liquid ejection ports for ejecting the recording liquid to form ejection droplets. Therefore, it is possible to perform high-resolution recording. Among them, a recording head using an electrothermal transducer as an energy generating means can be easily made compact, and has a remarkable improvement in technology and reliability in recent semiconductor fields.
We can make full use of the advantages of C technology and micromachining technology,
This is advantageous because high-density mounting is easy and the manufacturing cost is low.

【0054】前記キャリッジ633のスキャンによって
一行記録を行うと、被記録材3を搬送手段によって一行
分搬送して次行記録を行うものであるが、この被記録材
3の搬送は、搬送ローラ604とこれに圧接するピンチ
ローラ608の回転対と、排出ローラ607とこれに当
接する拍車606との回転対によって行われる。
When one line is recorded by scanning the carriage 633, the recording material 3 is conveyed by one line by the conveying means and the next line is recorded. The conveyance of the recording material 3 is performed by the conveying roller 604. And a pair of rotations of the pinch roller 608 that presses against it and a pair of discharge rollers 607 and a spur 606 that contacts the discharge roller 607.

【0055】本装置が記録装置として動作するときの動
作を各ブロックの機能および構成と共に説明する。文
字、あるいは画像等の記録(あるいは印字)する記録デ
ータは、ホスト側から演算制御部の制御を受けながら転
送が行われ、コントローラが記録データを受け、記録ヘ
ッド630で被記録材3に記録すべくデータとして加工
する。さらに、コントローラは演算制御部の制御を受け
つつ、記録ヘッド630にヘッド接続線、ヘッド接続部
を通じて記録データを送り込み、かつ、キャリッジ63
3の往復移動に同期して記録ヘッド630が駆動してイ
ンクを記録信号に応じて吐出することにより、被記録材
3に一行分の文字あるいは画像等の記録を行うものであ
る。すなわち、この記録ヘッド630は微細な液体吐出
口(オリフィス)、液路およびこの液路の一部に設けら
れるエネルギー作用部と、該作用部にある液体に作用さ
せる液滴形成エネルギーを発生させるエネルギー発生手
段を備えている。
The operation when this apparatus operates as a recording apparatus will be described along with the function and configuration of each block. Recording data for recording (or printing) characters or images is transferred under the control of the arithmetic control unit from the host side, the controller receives the recording data, and the recording head 630 records it on the recording material 3. It should be processed as data. Further, the controller sends the print data to the print head 630 through the head connecting line and the head connecting section while receiving the control of the arithmetic control section, and the carriage 63.
The recording head 630 is driven in synchronization with the reciprocating movement of 3 to eject ink in accordance with a recording signal, thereby recording a line of characters or an image on the recording material 3. That is, the recording head 630 has a fine liquid ejection port (orifice), a liquid passage, and an energy acting portion provided in a part of the liquid passage, and energy for generating droplet forming energy that acts on the liquid in the acting portion. Equipped with generating means.

【0056】次に本装置が画像読み取り装置として動作
するときの説明を行う。画像読み取り装置として動作す
るときは、画像読み取り手段であるスキャナユニット
(図示せず)が原稿に対して記録ヘッド630が記録時
に動作した動きと同様な動きでスキャンを行う。スキャ
ナユニット500の中にある光源502が、光を原稿に
対して照射し、文字あるいは画像等の反射光を光電変換
特性を持つセンサ501が検出する。センサ501で検
出された信号を増幅器503でアナログデジタル変換器
504で扱うレベルの最適なレベルまで増幅し、入力す
る。ここで、デジタルデータに変換したものを、画像処
理IC505でシェーディング補正,2値化等の補正あ
るいは画像処理を行い、画像データとして本体装置に転
送するものである。この転送は、記録時の記録データの
流れとは逆の経路を通ってホスト側に送られることにな
る。つまり、画像処理IC505からヘッド接続部,ヘ
ッド接続線,コントローラ,インターフェースを通して
ホスト側PC550に画像データを送り込むものであ
る。このとき、コントローラは画像処理から受けた画像
データをインターフェースで送りやすい形、あるいは、
ホスト側PC550で扱いやすい形にして、演算制御部
の制御を受けながら転送していくのである(図5参
照)。
Next, a description will be given of how the present apparatus operates as an image reading apparatus. When operating as an image reading device, a scanner unit (not shown), which is an image reading unit, scans a document with the same movement as the movement of the recording head 630 during recording. A light source 502 in the scanner unit 500 irradiates a document with light, and a sensor 501 having photoelectric conversion characteristics detects reflected light such as characters or images. A signal detected by the sensor 501 is amplified by an amplifier 503 to an optimum level handled by an analog-digital converter 504 and input. Here, the digital data converted is subjected to shading correction, binarization and other corrections or image processing by the image processing IC 505, and is transferred to the main body device as image data. This transfer is sent to the host side through a route opposite to the flow of recording data at the time of recording. That is, the image data is sent from the image processing IC 505 to the host-side PC 550 through the head connecting portion, the head connecting line, the controller and the interface. At this time, the controller can easily send the image data received from the image processing through the interface, or
The host-side PC 550 makes the data easy to handle and transfers it under the control of the arithmetic control unit (see FIG. 5).

【0057】このときの、機構部の動作を説明する。The operation of the mechanical section at this time will be described.

【0058】記録時の機構部の動きとほとんど同様に動
作する。つまり、画像読み取り用の原稿をプラテンに添
接し、前述した記録時と同様にプラテンが駆動機構によ
り回転し、原稿を送ると共に、原稿を支持して原稿台と
なる。さらに、キャリッジ633は、スキャナユニット
を搭載して画像読み取り用の原稿の面に沿って搬送し
て、画像を読み取るのである。キャリッジ633の移動
は、記録時と同様にキャリッジ駆動機構部により行われ
る。また、センサは前述した動作と同様に動作する。
The operation is almost the same as the movement of the mechanical section during recording. That is, a document for image reading is attached to the platen, and the platen is rotated by the drive mechanism as in the above-described recording to feed the document and support the document to serve as a document table. Further, the carriage 633 is equipped with a scanner unit and is conveyed along the surface of a document for image reading to read an image. The movement of the carriage 633 is performed by the carriage drive mechanism unit as in recording. Further, the sensor operates in the same manner as the above-mentioned operation.

【0059】以上のように、画像読み取り動作のとき
も、機構部としては記録時動作と同様な動きをするもの
である。
As described above, even during the image reading operation, the mechanical section operates in the same manner as the recording operation.

【0060】次に、本発明を適用した各実施例を以下に
説明する。
Next, each embodiment to which the present invention is applied will be described below.

【0061】(実施例1)図7は、本実施例のシリアル
スキャン動作の模式図であり、原稿上のキャリッジ(ス
キャナヘッド)の移動と原稿送りの様子とを原稿を基準
として矢印で模式的に表している。
(Embodiment 1) FIG. 7 is a schematic diagram of a serial scan operation of this embodiment, in which the movement of the carriage (scanner head) on the original document and the state of the original document feed are schematically indicated by arrows with the original document as a reference. It is shown in.

【0062】この図に示すように、本実施例では、1回
の給紙で、キャリッジの往路動作でプレスキャンを実行
し、復路動作で本スキャンを実行している。そして、後
述するように、本スキャン時にはプレスキャン時に得ら
れたデータに基づいて有効データのない領域については
スキップ動作を行うものである。
As shown in this figure, in this embodiment, the pre-scan is executed by the forward movement of the carriage and the main scan is executed by the backward movement by one sheet feeding. Then, as will be described later, during the main scan, the skip operation is performed based on the data obtained during the pre-scan for an area having no valid data.

【0063】図8は、本実施例におけるスキャン動作時
のキャリッジの速度変化を示す図であり、ここでは、2
値8ドットの場合を示している。この図は、スキャン領
域中央部に有効データがあり、その両側にはデータなし
の領域がある場合の、本スキャン時のスキャナヘッド
(キャリッジ)の動作の速度変化とスキャンデータMa
pおよびスキャンデータバッファイメージを対比させた
ものである。なお、図中の点線部分は、データなしの部
分の表現を省略したものである。
FIG. 8 is a diagram showing changes in the speed of the carriage during the scanning operation in this embodiment.
The case where the value is 8 dots is shown. In this figure, when there is valid data in the central portion of the scan area and there are no data areas on both sides of the scan area, the change in speed of the operation of the scanner head (carriage) and the scan data Ma during the main scan.
p and scan data buffer image contrast. It should be noted that the dotted line portion in the figure omits the representation of the portion without data.

【0064】プレスキャンによって得られたスキャンバ
ッファの8ドット幅のデータから、8ドット単位の各コ
ラム内に2値化された有効ドットデータがあるかどうか
を判断して、有効データが1ドットでもあればデータあ
り、そうでなければデータなしとして、スキャン領域幅
分(コラム単位)のMapを作成して、RAM−P31
5上の領域であるスキャンイメージMapバッファに書
き込む。次に、本スキャン時にそのマップを検索して、
空白領域のスキップ動作およびスキャン動作を決定し、
本スキャンを実行する。
From the 8-dot width data of the scan buffer obtained by the pre-scan, it is judged whether or not there is binarized effective dot data in each 8-dot column, and even if the effective data is 1 dot, If there is data if there is, and if there is no data otherwise, create a map for the width of the scan area (column unit), and RAM-P31
5 is written in the scan image Map buffer, which is the area on the upper side. Next, search the map during the main scan,
Determine skip and scan operations for blank areas,
Perform the main scan.

【0065】ここで、スキャン動作が有効データの3ド
ット前から始まり、3ドット後までかかっているのは、
キャリッジをスキャン動作の速度まで加減速する必要が
あるからである(加減速に3ドット分必要な場合)。さ
らに、スキャン速度によっては等速動作に入ってから
も、しばらく空走させてから後に、スキャン動作を実行
させる場合もある(キャリッジの移動速度が加速終了後
安定するまで)。
Here, the scanning operation starts from 3 dots before the effective data and extends to 3 dots after the effective data.
This is because it is necessary to accelerate / decelerate the carriage to the speed of the scanning operation (when 3 dots are required for acceleration / deceleration). Further, depending on the scan speed, the scan operation may be performed after the vehicle has been idling for a while after the uniform speed operation is started (until the moving speed of the carriage stabilizes after the acceleration is completed).

【0066】また、スキャン動作の領域内に1ドットデ
ータなし領域があるが、本実施例ではスキップ動作を行
うのに加減速含めて最低6ドット分の距離が必要なため
に、この区間(1ドットデータなし領域)の移動はスキ
ャン動作で行う。なお、本実施例では、仮にスキャン動
作の領域内に7ドット以上のデータなし領域があって
も、有効データ内のスキップ動作は行わずに、この区間
の移動はスキャン動作で行う。
Further, although there is a 1-dot data-less area in the scan operation area, since a distance of at least 6 dots including acceleration / deceleration is required to perform the skip operation in this embodiment, this section (1 The scan operation is used to move the area without dot data. In this embodiment, even if there is a data-less area of 7 dots or more in the scan operation area, the skip operation in the valid data is not performed, and the movement of this section is performed by the scan operation.

【0067】図9は、本実施例のプレスキャンおよび本
スキャンの動作を詳細に説明するフローチャートであ
る。以下、この図に基づいて説明を行う。
FIG. 9 is a flow chart for explaining the operations of the prescan and the main scan in this embodiment in detail. Hereinafter, description will be given based on this figure.

【0068】まず、ステップS1で、動作終了フラグを
参照して、これから実行されるのがプレスキャン(本ス
キャン終了フラグの場合)であるか本スキャン(プレス
キャン終了フラグの場合)であるかを判断する。
First, in step S1, by referring to the operation end flag, it is determined whether it is the prescan (in the case of the main scan end flag) or the main scan (in the case of the prescan end flag) that is to be executed. to decide.

【0069】ここでプレスキャンと判断した場合は、ス
テップS2で即、現在位置よりキャリッジを指定量駆動
してプレスキャンを実行する。次にステップS3へ進
み、プレスキャンで得られたバッファ上のスキャンデー
タの解析処理を実行して、データがあるかないかのMa
pを作成し、前記バッファ上に一時的に保存する。プレ
スキャン終了後は、ステップS4で次回動作のためにプ
レスキャン終了フラグをセットする。
If it is determined that the pre-scan is performed, the carriage is driven from the current position by the designated amount and the pre-scan is immediately executed in step S2. Next, in step S3, the scan data on the buffer obtained by the prescan is analyzed to determine whether or not there is data.
Create p and temporarily store it in the buffer. After the end of the prescan, the prescan end flag is set for the next operation in step S4.

【0070】ステップS1で本スキャンであると判断し
た場合、ステップS5へ進み、データなし領域スキップ
動作の許可/不許可モードをチェックする。これは、ス
キャンする原稿によっては、原稿幅いっぱいの画像など
のようにスキップ動作をさせない方が動作がスムーズで
スキャンが速く終了する場合もあり得るので、スキップ
動作の許可/不許可を操作者に選択させる手段を設けて
いるものである。ここで不許可であれば、そのままステ
ップS6へ進み、現在位置から最終位置まで本スキャン
動作を実行する。本スキャン終了後は、ステップS7で
次回動作のために本スキャン終了フラグをセットする。
If it is determined in step S1 that the main scan is performed, the flow advances to step S5 to check the permission / non-permission mode of the no-data region skip operation. Depending on the document to be scanned, it may happen that the operation is smoother and the scan ends faster if the skip operation is not performed, such as an image with the full document width. The means for selecting is provided. If not permitted, the process directly proceeds to step S6, and the main scan operation is performed from the current position to the final position. After the main scan ends, the main scan end flag is set for the next operation in step S7.

【0071】ステップS5でスキップ動作許可モードと
判断した場合は、ステップS8でさらにデータなし領域
があるかどうかを前述のMapから算出する。データな
し領域が一定幅以上なければステップS6へ進み、現在
位置から最終位置まで本スキャン動作を実行する。
If it is determined in step S5 that the skip operation permission mode is set, it is calculated in step S8 from the above-described Map whether or not there is an area without data. If the area without data is not more than a certain width, the process proceeds to step S6, and the main scan operation is executed from the current position to the final position.

【0072】ステップS8でデータなし領域があった場
合、ステップS9でさらにデータなし領域がある一定の
幅以上あるかどうかを前述のMapから算出する。デー
タなし領域が一定の幅以上ないと、スキップ動作をする
ことによりかえって総処理時間が遅くなる可能性がある
(高速動作切り替えのための加減速等)ので、その場合
は何もせずにステップS6へ進み、現在位置から最終位
置まで本スキャン動作を実行する。
If there is no data area in step S8, it is calculated in step S9 from the aforementioned Map whether or not there is more than a certain width of the data no area. If the non-data area is not larger than a certain width, the skip processing may rather delay the total processing time (acceleration / deceleration for high-speed operation switching, etc.). In that case, do nothing and go to step S6. Then, the main scan operation is performed from the current position to the final position.

【0073】ステップS9でデータなし領域がある一定
の幅以上あった場合、ステップS10でさらにデータな
し領域が起動開始点および終了点を含むかチェックし、
含まなければステップS6へ進み、現在位置から最終位
置まで本スキャン動作を実行する。
In step S9, if the no-data area has a certain width or more, it is further checked in step S10 whether the no-data area includes the start point and end point.
If not included, the process proceeds to step S6, and the main scan operation is executed from the current position to the final position.

【0074】ステップS10でデータなし領域が起動開
始点および終了点を含めば、ステップS11においてス
キャン前移動量(スキップ動作)、本スキャン量、スキ
ャン後移動量(スキップ動作)を算出し、ここで算出し
たものに基づいてスキップ動作およびスキャン動作をス
テップS12〜S15の処理にて行う。そして、これら
の処理が終了した後は、ステップS7で次回動作のため
に本スキャン終了フラグをセットする。
If the area without data includes the start point and the end point in step S10, the movement amount before scanning (skipping operation), the main scanning amount, and the movement amount after scanning (skipping operation) are calculated in step S11. The skip operation and the scan operation are performed in the processing of steps S12 to S15 based on the calculated ones. After these processes are completed, the main scan end flag is set for the next operation in step S7.

【0075】なお、以上説明した処理においては、スキ
ャン動作モードとしてスキャン時のデータなし領域スキ
ップ禁止/許可モードの説明は必要になるが、これは通
常はホスト側のアプリケーションプログラムあるいはス
キャナドライバで設定できるように構成されている。設
定された情報は、ホスト−プリンタ間の双方向インター
フェイスを通じて、コマンド等としてプリンタ側に送信
され、受信されたコマンドによって、プリンタ/スキャ
ナ部300内部のRAM−P315の所定の領域に動作
モードが設定記憶され、実際のスキャン時に参照されて
動作を決定する。また、前述の動作終了フラグもRAM
−P315の所定の領域に設定記憶される。
In the above-described processing, it is necessary to explain the no-data-area skip prohibition / permission mode at the time of scanning as the scanning operation mode, but this can usually be set by the application program on the host side or the scanner driver. Is configured. The set information is transmitted to the printer side as a command through the bidirectional interface between the host and the printer, and the received command sets the operation mode in a predetermined area of the RAM-P315 inside the printer / scanner unit 300. It is stored and referenced during the actual scan to determine the action. Further, the operation end flag described above is also stored in the RAM.
-Set and stored in a predetermined area of P315.

【0076】(実施例2)実施例1においては、復路の
本スキャンのうち、開始点と終了点を含む領域がデータ
なしである場合につき、本スキャンの前または後あるい
は前後ともにスキップ動作が入る場合、すなわち、スキ
ャン画像が絵のように連続した固まりである場合に領域
確定(余白削除)のように動作するモードについて説明
したが、本実施例では、本スキャン領域(1行内)で一
定量のデータなし領域が連続する場合は、何度でもデー
タなし領域のスキップ動作を行うように構成している。
(Embodiment 2) In Embodiment 1, in the returning main scan, when the area including the start point and the end point has no data, the skip operation is performed before, after, or before and after the main scan. In the case, that is, the mode in which the scan image is a continuous block like a picture and operates like the area determination (margin deletion), in the present embodiment, the main scan area (within one line) has a constant amount. When the non-data area is continuous, the skip operation of the non-data area is performed any number of times.

【0077】図10は、本実施例におけるスキャン動作
時のキャリッジの速度変化を示す図であり、ここでは、
2値8ドットの場合を示している。この図は、スキャン
領域中央部に有効データがあり、その両側にはデータな
しの領域があり、さらに中央部の有効データ内にもデー
タなしの領域がある場合の本スキャン時のスキャナヘッ
ド(キャリッジ)の動作の速度変化とスキャンデータM
apおよびスキャンデータバッファイメージを対比させ
たものである。
FIG. 10 is a diagram showing changes in the speed of the carriage during the scanning operation in this embodiment.
The case of binary 8 dots is shown. This figure shows the scanner head (carriage) during the main scan when valid data is in the center of the scan area, there are no data areas on both sides, and there is no data area in the valid data in the center. ) Movement speed change and scan data M
2 is a comparison of ap and scan data buffer images.

【0078】実施例1では、スキャン動作開始位置と終
了位置のデータなしの領域をスキップ動作するものであ
ったが、本実施例では、有効データ内であってもデータ
なし動作があればスキップ動作に入るものである。これ
は、スキャン画像が文章の連続で、原稿上のあちこちに
かたまりとして存在する場合に有効で、原稿中の文章部
分のみスキャンするようにするモードである。
In the first embodiment, the skip operation is performed in the area without data at the scan operation start position and the end position, but in the present embodiment, the skip operation is performed if there is no data even in the valid data. It is something that enters. This is a mode that is effective when the scanned image is a series of sentences and exists as a block around the document, and scans only the document portion in the document.

【0079】これを実際に構成する場合には、実施例1
の場合にさらにデータなし領域スキップを左端/右端の
みとする両端モード、あるいは全域とする全域モードを
設け、モード切り替えで行うように構成してもよい。
When this is actually constructed, the first embodiment is used.
In this case, a both-ends mode in which the no-data region skip is set only to the left end / right end, or a whole-region mode in which the entire region is set may be provided and the mode switching may be performed.

【0080】本実施例では、このように構成することに
より、原稿の種類により実施例1の場合よりより迅速な
スキャン動作が可能になる。
In this embodiment, with such a structure, a faster scanning operation than in the first embodiment can be performed depending on the type of original.

【0081】(実施例3)上記の実施例においては、往
路でプレスキャン、復路で本スキャンを行うものであっ
たが、これとは逆に、復路でプレスキャン、往路で本ス
キャンを行うような構成とすることもできる。
(Third Embodiment) In the above-described embodiment, the pre-scan is performed in the forward pass and the main scan is performed in the return pass. On the contrary, the pre-scan is performed in the return pass and the main scan is performed in the forward pass. It is also possible to have a different configuration.

【0082】(実施例4)上記の実施例においては、本
スキャン時にデータがあるかないかでスキップ動作を行
うものであったが、スキップ動作を全く行わない構成
や、あるいは、原稿の種類によってスキップ動作を行わ
ない禁止モードを設定することができるようにして、往
路でプレスキャン、復路で領域全部の本スキャンを行う
ような構成とすることもできる。
(Embodiment 4) In the above embodiment, the skip operation is performed depending on whether or not there is data at the time of the main scan. However, the skip operation is not performed at all, or the skip operation is performed depending on the type of the document. It is also possible to set a prohibition mode in which no operation is performed so that a pre-scan is performed on the outward path and a main scan of the entire area is performed on the return path.

【0083】(実施例5)上記の実施例においては、ス
キップ動作から本スキャンに移る時、および本スキャン
からスキップ動作に移る時には、キャリッジの速度を0
にまで減速してそれからスキップ動作または本スキャン
の速度にまで加速していたが、スキップ動作の速度から
本スキャンの速度まで減速してそれから本スキャンを行
ったり、あるいは、本スキャンの速度からそのまま加速
するのみでスキップ動作を行うという構成とすることも
できる。
(Embodiment 5) In the above embodiment, the speed of the carriage is set to 0 at the time of shifting from the skip operation to the main scan and at the time of shifting from the main scan to the skip operation.
It was decelerated to the speed of skip operation or the speed of the main scan and then decelerated from the speed of the skip operation to the speed of the main scan and then performed the main scan, or accelerated from the speed of the main scan. It is also possible to adopt a configuration in which the skip operation is performed simply by

【0084】この場合、スキップ動作から本スキャンに
移る時、あるいは本スキャンからスキップ動作に移る時
に、キャリッジを不必要に減速する必要がなくなるの
で、より一層迅速なスキャンが可能となる。
In this case, it is not necessary to decelerate the carriage unnecessarily at the time of shifting from the skip operation to the main scan or at the time of shifting from the main scan to the skip operation, so that a more rapid scan can be performed.

【0085】(実施例6)上記の実施例においては、1
行分のプレスキャンおよび本スキャンを行うごとに原稿
送りをして、全画像領域のスキャンを行っていたが、原
稿送りをせず、スキャナを副走査方向に移動させる手段
を設け、スキャナを移動させることで全画像領域のスキ
ャンを行うようにしてもよい。
(Embodiment 6) In the above embodiment, 1
The document was fed every time the pre-scan and main scan for a line were performed, and the entire image area was scanned. However, without feeding the document, a means for moving the scanner in the sub-scanning direction was provided, and the scanner was moved. By doing so, the entire image area may be scanned.

【0086】[0086]

【発明の効果】以上説明したように、本発明によれば、
画像の読み取りの速度を速めることができる。
As described above, according to the present invention,
The image reading speed can be increased.

【0087】請求項2の発明によれば、プレスキャンと
本スキャンとを往復の動作で行うことができるので、従
来例に比べて2倍という非常に速い速度で画像を読み取
ることができる。
According to the second aspect of the present invention, since the prescan and the main scan can be performed by the reciprocating operation, the image can be read at a very high speed, which is twice as fast as the conventional example.

【0088】請求項3の発明によれば、画像のない領域
では画像読み取り手段を速く移動させるので、さらに画
像読み取りの速度が速くなる。
According to the third aspect of the invention, the image reading means is moved faster in the area where there is no image, so that the image reading speed is further increased.

【0089】また、請求項4または5の発明によれば、
画像の読み取りの方法を変えられるので、画像に応じて
迅速な読み取りが可能となり、また、操作性もよいもの
となる。
According to the invention of claim 4 or 5,
Since the method of reading the image can be changed, the image can be quickly read according to the image and the operability is also improved.

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

【図1】 本発明の適用されるプリンタ内蔵パーソナル
コンピュータの斜視図
FIG. 1 is a perspective view of a personal computer with a built-in printer to which the present invention is applied.

【図2】 ホストコンピュータとプリンタのブロック図FIG. 2 is a block diagram of a host computer and a printer.

【図3】 プリンタ/スキャナ部のブロック図FIG. 3 is a block diagram of a printer / scanner unit

【図4】 複合制御ユニットのブロック図FIG. 4 is a block diagram of a composite control unit.

【図5】 スキャナユニット部、印字ヘッド部、および
プリンタ部の概略ブロック図
FIG. 5 is a schematic block diagram of a scanner unit section, a print head section, and a printer section.

【図6】 本発明の適用される記録/スキャン装置の斜
視図
FIG. 6 is a perspective view of a recording / scanning device to which the present invention is applied.

【図7】 実施例1のシリアルスキャン動作の模式図FIG. 7 is a schematic diagram of a serial scan operation according to the first embodiment.

【図8】 実施例1の本スキャン動作時のキャリッジの
速度変化を示す図
FIG. 8 is a diagram showing a change in speed of the carriage during a main scan operation according to the first embodiment.

【図9】 実施例1のフローチャートFIG. 9 is a flowchart of the first embodiment.

【図10】 実施例2の本スキャン動作時のキャリッジ
の速度変化を示す図
FIG. 10 is a diagram showing changes in the speed of the carriage during the main scan operation of the second embodiment.

【図11】 従来例のシリアルスキャン動作の模式図FIG. 11 is a schematic diagram of a serial scan operation of a conventional example.

【図12】 従来例の本スキャン動作時のキャリッジの
速度変化を示す図
FIG. 12 is a diagram showing a change in speed of a carriage during a main scan operation of a conventional example.

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

311 CPU−P 315 RAM−P 351 複合制御UNIT 500 スキャナユニット 633 キャリッジ 311 CPU-P 315 RAM-P 351 Combined control UNIT 500 Scanner unit 633 Carriage

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 画像の読み取りを行う画像読取手段と、
この画像読取手段の移動を行う移動手段と、前記画像読
取手段で読み取った画像データを記憶する記憶手段と、
前記移動手段の制御を行う第一の制御手段と、前記画像
読取手段での画像の読み取りを制御する第二の制御手段
とを備えた画像読取装置。
1. An image reading unit for reading an image,
Moving means for moving the image reading means, storage means for storing the image data read by the image reading means,
An image reading apparatus comprising: a first control unit that controls the moving unit; and a second control unit that controls reading of an image by the image reading unit.
【請求項2】 第二の制御手段は、画像読取手段が一方
向に移動する時にプレスキャンを行ってその画像データ
を記憶手段に記憶し、この記憶されたデータに基づいて
画像読取手段が反対方向に移動する時に本スキャンを行
うように制御するものである請求項1に記載の画像読取
装置。
2. The second control means performs pre-scanning when the image reading means moves in one direction, stores the image data in the storage means, and the image reading means reverses based on the stored data. The image reading apparatus according to claim 1, wherein the image reading apparatus controls to perform a main scan when moving in a direction.
【請求項3】 第一の制御手段は、プレスキャン時に記
憶手段に記憶された画像データにより、本スキャン時に
は画像のない領域での移動手段の移動速度を速くするよ
うに制御するものである請求項2に記載の画像読取装
置。
3. The first control means controls the moving speed of the moving means in an image-free area at the time of the main scan by using the image data stored in the storage means at the time of the prescan. Item 2. The image reading device according to item 2.
【請求項4】 第一の制御手段の制御モードとして、画
像の全域についての移動手段の移動速度を制御する全域
モード、画像の両端についての移動手段の移動速度を制
御する両端モードを有することを特徴とする請求項3に
記載の画像読取装置。
4. The control mode of the first control means has a full range mode for controlling the moving speed of the moving means for the entire area of the image and a both-end mode for controlling the moving speed of the moving means for both ends of the image. The image reading device according to claim 3, wherein
【請求項5】 移動手段の移動速度を一定とする禁止モ
ードを設定する設定手段を設け、この設定手段の設定内
容に基づいて第一の制御手段が移動手段の移動速度を制
御するものである請求項3または4に記載の画像読取装
置。
5. A setting means for setting a prohibition mode for keeping the moving speed of the moving means constant is provided, and the first control means controls the moving speed of the moving means based on the setting contents of the setting means. The image reading device according to claim 3.
JP33050195A 1995-12-19 1995-12-19 Image reader Withdrawn JPH09172525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33050195A JPH09172525A (en) 1995-12-19 1995-12-19 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33050195A JPH09172525A (en) 1995-12-19 1995-12-19 Image reader

Publications (1)

Publication Number Publication Date
JPH09172525A true JPH09172525A (en) 1997-06-30

Family

ID=18233338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33050195A Withdrawn JPH09172525A (en) 1995-12-19 1995-12-19 Image reader

Country Status (1)

Country Link
JP (1) JPH09172525A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6891644B1 (en) * 1998-11-06 2005-05-10 Minolta Co., Ltd. Image processing device and image processing method
US7424255B2 (en) 2004-11-29 2008-09-09 Ricoh Company, Limited Device and method for belt speed control, and image forming apparatus
US7460808B2 (en) 2004-12-24 2008-12-02 Ricoh Company Limited Image forming apparatus and power supply control method
US7528851B2 (en) 2005-01-07 2009-05-05 Ricoh Company, Ltd. Method and apparatus for forming images capable of reducing color registration errors
US7623143B2 (en) 2005-01-07 2009-11-24 Ricoh Company, Ltd. Light quantity adjusting apparatus, color-registration-deviation amount detecting apparatus light quantity adjusting method, and color-registration-deviation amount detecting method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6891644B1 (en) * 1998-11-06 2005-05-10 Minolta Co., Ltd. Image processing device and image processing method
US7424255B2 (en) 2004-11-29 2008-09-09 Ricoh Company, Limited Device and method for belt speed control, and image forming apparatus
US7460808B2 (en) 2004-12-24 2008-12-02 Ricoh Company Limited Image forming apparatus and power supply control method
US7528851B2 (en) 2005-01-07 2009-05-05 Ricoh Company, Ltd. Method and apparatus for forming images capable of reducing color registration errors
US7623143B2 (en) 2005-01-07 2009-11-24 Ricoh Company, Ltd. Light quantity adjusting apparatus, color-registration-deviation amount detecting apparatus light quantity adjusting method, and color-registration-deviation amount detecting method

Similar Documents

Publication Publication Date Title
JPH09172525A (en) Image reader
JP2871960B2 (en) Printing method and apparatus
JPH10105295A (en) Battery built-in electronic equipment and print control method
US5696891A (en) Printing apparatus and method for storing various printing parameters
JPH06191093A (en) Recorder
JP2000127368A (en) Recording apparatus and recording operation controlling method
JPH07228016A (en) Printer
JPH0142190Y2 (en)
JPH1158891A (en) Recording system, recording method, and memory medium
JPH08314924A (en) Document processor
JP3228280B2 (en) Electronic printing apparatus, electronic printing method, and recording medium
JPH09188015A (en) Printer and printing control method
JPH07239763A (en) Print control unit and its control method
JP3011863B2 (en) Recording control device and power supply control method in the device
JPH06238991A (en) Method and apparatus for printing
JPH08197786A (en) Image forming method and apparatus
JPH0934752A (en) Method for processing memory lack at the time of print, printer system, printer and printer interface
JPH06320796A (en) Method and apparatus for image processing
JPH08108597A (en) Data output apparatus
JPH0615930A (en) Printing device
JP2000158757A (en) Imaging apparatus, control method therefor and imaging system
JP2005313616A (en) Recording device, recording system, and recording starting position adjusting method
JPH05318870A (en) Printer
JPH01290442A (en) Liquid ejection recording
JPH0927900A (en) Recorder, recording method, recorded matter and information processing system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030304