JPH01200969A - image recording device - Google Patents
image recording deviceInfo
- Publication number
- JPH01200969A JPH01200969A JP2403488A JP2403488A JPH01200969A JP H01200969 A JPH01200969 A JP H01200969A JP 2403488 A JP2403488 A JP 2403488A JP 2403488 A JP2403488 A JP 2403488A JP H01200969 A JPH01200969 A JP H01200969A
- Authority
- JP
- Japan
- Prior art keywords
- recording
- recording paper
- data
- paper
- size
- 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
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J2/00—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
- B41J2/485—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes
- B41J2/505—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes from an assembly of identical printing elements
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は複写機やファクシミリ装置9交書編集装置(ワ
ードプロセッサ)、コンピュータ端末装置等の画像記録
装置に関し、特にドツト印字機能を有するプリンタ部を
有する画像記録装置に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to image recording devices such as copying machines, facsimile machines, correspondence editing devices (word processors), computer terminal devices, etc., and particularly relates to image recording devices such as copying machines, facsimile machines, correspondence editing devices (word processors), and computer terminal devices. The present invention relates to an image recording device having the present invention.
[従来の技術]
従来、この種の装置では、装置で選択されている記録紙
の種類と記録紙幅検出装置の検出した紙幅が異っている
と、エラー状態にしたり、もしくは送信されたきたイメ
ージデータ(印字データ)を記録紙の幅分だけにカット
する印字データ削減のみしか行っていなかった。[Prior Art] Conventionally, in this type of device, if the type of recording paper selected by the device and the paper width detected by the recording paper width detection device are different, an error state occurs or the transmitted image Previously, only the print data was reduced by cutting the data (print data) to the width of the recording paper.
[発明が解決しようとする課題]
このような従来例においては、画像記録装置に付属の記
録紙選択手段で選択できる規定のサイズの記録用紙しか
使用できず、この記録紙選択手段で選択できないサイズ
の記録用紙を使用して画像記録したい時には上述のよう
にエラーになってしまったり、記録紙幅分のみしか記録
されないという欠点があった。[Problem to be Solved by the Invention] In such a conventional example, only a prescribed size of recording paper that can be selected by the recording paper selection means attached to the image recording device can be used, and the paper size that cannot be selected by the recording paper selection means can be used. When it is desired to record an image using recording paper, there are disadvantages in that an error occurs as described above, and only the width of the recording paper is recorded.
そこで、本発明は、上述の問題点を解決し、記録紙選択
手段で設定されていないサイズの記録用紙を使用しても
、その記録用紙幅に応じた画像記録を行うことができる
画像記録装置を提供することを目的とする。SUMMARY OF THE INVENTION Therefore, the present invention solves the above-mentioned problems and provides an image recording apparatus that is capable of recording an image according to the width of the recording paper even if a recording paper of a size not set by the recording paper selection means is used. The purpose is to provide
[課題を解決するための手段]
かかる目的を達成するため、本発明は規定の記録紙のサ
イズを選択指定する記録紙選択手段と、記録紙選択手段
で選択指定されたサイズに対応の一定量のイメージデー
タを受信する受信手段と、給紙される実際にセットされ
た記録紙の幅サイズを検出する記録紙幅検出手段と、記
録紙幅検出手段で検出した幅サイズのデータと記録紙選
択手段で選択指定されたサイズが表わす幅サイズのデー
タとの比を算出する演算手段と、演算手段で算出された
比に基いて、一定量のイメージデータに対してデータの
補完・削減による拡大・縮小、もしくは記録密度の変更
、あるいは受信クロックレートの変更のいずれかを行う
ことにより実際にセットされた記録紙のサイズに対応し
た出力データを生成する変倍手段と、変倍手段から出力
する出力データを基に画像記録を行う記録手段とを具備
したことを特徴とする。[Means for Solving the Problems] In order to achieve the above object, the present invention provides recording paper selection means for selecting and specifying a prescribed recording paper size, and a fixed amount corresponding to the size selected and designated by the recording paper selection means. a receiving means for receiving image data; a recording paper width detecting means for detecting the width size of the actually set recording paper to be fed; and a recording paper selection means that uses the width size data detected by the recording paper width detecting means and A calculation means that calculates the ratio of the width size data represented by the selected and specified size, and based on the ratio calculated by the calculation means, enlargement/reduction of a certain amount of image data by data complementation/reduction; Alternatively, there is a scaling means that generates output data corresponding to the size of the recording paper actually set by changing either the recording density or the receiving clock rate, and the output data output from the scaling means. It is characterized by comprising a recording means for recording an image based on the image.
[作 用]
本発明は、かかる構成により、記録紙選択手段で選択指
定された記録用紙サイズに対応の一定量のイメージデー
タを受信手段で受信し、記録紙幅検出手段により検出し
た実際の記録紙幅と指定サイズとに応じて変倍手段によ
り上記一定量送信されるイメージデータの拡大や縮小、
もしくは印字、記録密度の変更、あるいは受信クロック
レートの変更を行って記録紙幅に応じた画像記録するよ
うにしたので、紙幅に無駄なく画像記録することが可能
となる。また、そのため、本発明によれば記録紙以外の
場所に印刷したり、エラー警告を行ったり、記録紙幅の
データしか印刷できないなどの従来の欠点を全て解消し
たイメージ記録を行うことができる。また、その結果、
ホストコンピュータで作成したイメージデータを、紙サ
イズの違う用紙を使用することだけで自動拡大や自動縮
小することができる。[Function] With this configuration, the present invention allows the receiving means to receive a certain amount of image data corresponding to the recording paper size selected and designated by the recording paper selection means, and the actual recording paper width detected by the recording paper width detection means. Enlarging or reducing the above-mentioned fixed amount of image data transmitted by the scaling means according to the specified size and
Alternatively, it is possible to record an image according to the width of the recording paper by changing the printing or recording density or the reception clock rate, so that it is possible to record the image without wasting the width of the paper. Therefore, according to the present invention, it is possible to perform image recording that eliminates all of the conventional drawbacks such as printing on a location other than the recording paper, giving an error warning, and being able to print data only as wide as the recording paper. Also, as a result,
Image data created on a host computer can be automatically enlarged or reduced simply by using paper of a different size.
[実施例]
以下、図面を参照して本発明の実施例を詳細に説明する
。[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.
第1図は本発明実施例の基本構成を示す。本図において
、aは規定の記録紙のサイズを選択指定する記録紙選択
手段である。bは記録紙選択手段aで選択指定されたサ
イズに対応の一定量のイメージデータを受信する受信手
段である。Cは給紙される実際にセットされた記録紙の
幅サイズを検出する記録紙幅検出手段である。dは記録
紙幅検出手段、Cで検出した幅サイズのデータと記録紙
選択手段aで選択指定されたサイズが表わす幅サイズの
データとの比を算出する演算手段である。eは演算手段
dで算出された上記比に基いて、受信手段すで受信する
上記一定量のイメージデータに対してデータの補完・削
減による拡大・縮小、もくしは記録密度の変更、あるい
は受信クロックレートの変更のいずれかを行うことによ
り、実際にセットされた記録紙のサイズに対応した出力
データを生成する変倍手段である。fは変倍手段eから
出力する出力データを基に画像記録を行う記録手段であ
る。FIG. 1 shows the basic configuration of an embodiment of the present invention. In the figure, reference numeral a denotes a recording paper selection means for selecting and specifying a prescribed recording paper size. Reference numeral b denotes a receiving means for receiving a certain amount of image data corresponding to the size selected and designated by the recording paper selection means a. C is a recording paper width detecting means for detecting the width size of the actually set recording paper to be fed. Reference numeral d denotes a recording paper width detection means, and a calculation means for calculating the ratio between the width size data detected by the recording paper width detection means C and the width size data represented by the size selected and designated by the recording paper selection means a. e is based on the ratio calculated by the calculating means d, and the receiving means enlarges or reduces the fixed amount of image data already received by supplementing or reducing the data, or changes the recording density or receives the image data. This is a scaling means that generates output data corresponding to the size of the recording paper actually set by changing one of the clock rates. f is a recording means that records an image based on the output data output from the variable magnification means e.
第2図は本発明実施例の制御系の概略回路構成を示す。FIG. 2 shows a schematic circuit configuration of a control system according to an embodiment of the present invention.
本図において1は記録情報を発生するホストコンピュー
タまたはデータ転送装置(以下、ホストと称する)であ
り、記録情報であるプリントイメージデータを水平方向
(プリント方向)の1ライン毎に送出する。ホスト1か
ら出力する各ライン毎のイメージデータは、制御部2か
ら発生するトリガ信号15により所定の周波数のクロッ
クレートで受信回路4に転送される。制御部2はプリン
タ全体の制御を行うもので、例えばMPtl (マイク
ロプロセッサ) 、 MPtlの第4図に示すような制
御プログラムやデータ等をあらかじめ格納しているRO
M (リードオンリメモリ)、ワークエリアとして使用
されて紙幅や、紙幅に応じたデータ数を記憶する領域等
を含むRAM (ランダムアクセスメモリ) 、 MP
tlの指示に対応して計時を行い、かつ指示された時間
を計時するとMPtlに割込信号を出力するタイマ、お
よび各種データおよび制御信号の人出力を行う工10(
入出力)ポート等を備えている。In the figure, reference numeral 1 denotes a host computer or data transfer device (hereinafter referred to as host) that generates recording information, and transmits print image data, which is recording information, line by line in the horizontal direction (printing direction). Image data for each line output from the host 1 is transferred to the receiving circuit 4 at a clock rate of a predetermined frequency by a trigger signal 15 generated from the control section 2. The control unit 2 controls the entire printer, and includes, for example, an MPtl (microprocessor), an RO as shown in FIG. 4 of the MPtl, which stores control programs and data in advance.
M (read-only memory), RAM (random access memory), which is used as a work area and includes an area for storing the paper width and the number of data according to the paper width, etc.
A timer that measures time in response to instructions from the tl and outputs an interrupt signal to the MPtl when the instructed time is counted, and a device 10 that performs human output of various data and control signals.
It is equipped with input/output) ports, etc.
3は受信回路4を通じてホスト1から送出されたイメー
ジデータを少なくとも印字ヘッド6の記録素子数に対応
するライン分(本実施例では64ライン分とする)格納
するイメージバッファメモリである。ホスト1からのイ
メージデータは制御部2の制御によりイメージバッファ
メモリ3に順次格納される。受信回路4は受信する1ラ
イン分のイメージデータ数を設定できるカウンタ41を
内部に備え、制御部2が設定したデータ数だけ受信する
と検出信号42を制御部2に出力する。An image buffer memory 3 stores image data sent from the host 1 through the receiving circuit 4 for at least lines corresponding to the number of recording elements of the print head 6 (64 lines in this embodiment). Image data from the host 1 is sequentially stored in the image buffer memory 3 under the control of the control section 2. The receiving circuit 4 includes a counter 41 that can set the number of image data for one line to be received, and outputs a detection signal 42 to the control section 2 when the number of data set by the control section 2 is received.
5はデータコンバータであり、イメージバッファメモリ
3から印字ヘッド6の記録素子数に対応するライン分く
本実施例では64ライン分)のデータを垂直方向に、1
列(64ドツト)ずつ読み出し、プリントデータとして
印字ヘッド6の印字位置に対応して出力する。印字ヘッ
ド6は縦方向に64ドツトの記録素子を1列に配置し、
水平方向に走査して印字記録を行うもので、例えばサー
マルヘッドやインクジェットヘッド等の記録用ヘッドで
ある。7はデータコンバータ5からのプリントデータに
基いて、印字ヘッド6の各記録素子を駆動するドライバ
である。Reference numeral 5 denotes a data converter, which vertically converts data from the image buffer memory 3 into lines corresponding to the number of recording elements of the print head 6 (64 lines in this embodiment).
Each row (64 dots) is read out and output as print data corresponding to the printing position of the print head 6. The print head 6 has recording elements of 64 dots arranged in a row in the vertical direction.
It performs print recording by scanning in the horizontal direction, and is, for example, a recording head such as a thermal head or an inkjet head. A driver 7 drives each recording element of the print head 6 based on print data from the data converter 5.
8は印字へラド6を搭載したキャリッジ(第3図の符号
17を参照)を水平方向に走査するキャリッジモータ、
9は制御部2の制御データを基にキャリッジモータ8の
駆動を行うキャリッジドライバである。10は印字ヘッ
ド6の記録素子のピッチ分の単位で紙送りを実行できる
紙送りモータであり、11は制御部2の制御データを基
に紙送りモータ10を駆動するドライバである。キャリ
ッジモータ8と紙送りモータ9は共に本実施例ではステ
ッピングモータで構成されている。8 is a carriage motor that horizontally scans the carriage (see reference numeral 17 in FIG. 3) on which the printing pad 6 is mounted;
A carriage driver 9 drives the carriage motor 8 based on control data from the control section 2. Reference numeral 10 denotes a paper feed motor capable of executing paper feed in units corresponding to the pitch of the recording elements of the print head 6, and 11 a driver that drives the paper feed motor 10 based on control data from the control section 2. Both the carriage motor 8 and the paper feed motor 9 are constituted by stepping motors in this embodiment.
また、12は、プリンタにセットされた用紙の紙幅を検
出する紙幅検出装置であり、本実施例では第3図に示す
ようにキャリッジ17上に搭載されている。この紙幅検
出装置12から得られる検出信号13は制御部2に出力
される。14はセットする用紙のサイズを指示すること
が可能な、例えばキーパネル(表示ランプ付印)のよう
な情報入力部であり、例えばA4やB5などの紙サイズ
が指定できるものとする。16はホストlから指示され
る紙サイズなどのコマンドの信号であり、紙サイズの指
定は情報人力部14からだけではなくホスト1からも直
接できる。Reference numeral 12 denotes a paper width detection device for detecting the paper width of paper set in the printer, and in this embodiment, it is mounted on a carriage 17 as shown in FIG. A detection signal 13 obtained from this paper width detection device 12 is output to the control section 2. Reference numeral 14 denotes an information input unit, such as a key panel (marked with a display lamp), which can specify the size of the paper to be set, and can specify a paper size such as A4 or B5. Reference numeral 16 denotes a command signal such as a paper size specified by the host 1, and the paper size can be specified not only from the information manpower section 14 but also directly from the host 1.
第3図は本発明に適用可能なプリンタの外観を示す。上
述のようにキャリッジ17には紙幅検出装置12や印字
記録ヘッド6が搭載されている。18は印字記録媒体で
ある用紙、19は用紙18を搬送するプラテンであり、
プラテン19は上述の紙送りモータlOに連結されて本
図の矢印方向へ用紙18を搬送することができる。FIG. 3 shows the appearance of a printer applicable to the present invention. As described above, the paper width detection device 12 and the print recording head 6 are mounted on the carriage 17. 18 is paper that is a print recording medium; 19 is a platen that conveys the paper 18;
The platen 19 is connected to the above-mentioned paper feed motor IO and can transport the paper 18 in the direction of the arrow in the figure.
第4図は本発明の一実施例の制御動作例を示すフローチ
ャートである。第5図(A) 、 (B) は指定され
た紙サイズよりも幅が広い時のデータ拡大処理における
データ補間の方法を示し、第6図(八)。FIG. 4 is a flowchart showing an example of control operation according to an embodiment of the present invention. 5(A) and 5(B) show a data interpolation method in data enlargement processing when the width is wider than the specified paper size, and FIG. 6(8).
(8)は指定された紙サイズよりも幅が狭い時のデータ
幅縮小処理におけるデータ削減の方法を示す。第5図お
よび第6図共に(A)が元のデータ、(B)が拡大また
は縮小の操作を行った時の記録ドツトである。(8) shows a data reduction method in data width reduction processing when the width is narrower than the specified paper size. In both FIGS. 5 and 6, (A) shows the original data, and (B) shows the recorded dots after the enlargement or reduction operation is performed.
次に、第4図〜第6図を参照して、第2図の本発明実施
例の動作手順について説明する。Next, the operating procedure of the embodiment of the present invention shown in FIG. 2 will be explained with reference to FIGS. 4 to 6.
まず第4図のステップSOにおいて、第2図のホスト1
からのコマンド信号16により印字開始命令を受は取る
。次のステップStでデータの拡大や縮小(変倍)を行
うか否かの判別に用いるRAM21上のフラグF、F’
を零にクリアする。次に、ステップS2において、
ホスト1または情報人力部14 カ)らそれまでに入力
指定された規定の紙サイズによる用紙18の印字記録幅
に相当するドツト数を受信回路4内のカウンタ41に設
定する。First, in step SO in FIG. 4, host 1 in FIG.
A print start command is received by a command signal 16 from the printer. Flags F and F' on the RAM 21 used to determine whether or not to enlarge or reduce data (variable magnification) in the next step St.
Clear to zero. Next, in step S2,
The number of dots corresponding to the print recording width of the paper 18 according to the prescribed paper size input and specified by the host 1 or the information processing unit 14 f) is set in the counter 41 in the receiving circuit 4.
次に、ステップS3でドライバ11を介して紙送りモー
タlOを駆動することにより印字記録用紙18を給紙す
る。なお、連続紙がプラテン19に設定されている時に
はステップS3の処理は行われない。Next, in step S3, the print recording paper 18 is fed by driving the paper feed motor IO via the driver 11. Note that when continuous paper is set on the platen 19, the process of step S3 is not performed.
次に、ステップS4で印字記録装置内に給紙された用紙
18の紙幅検出を紙幅検出装置12の検出信号13によ
り行う。本実施例では、キャリッジ17上に紙幅検出装
置12が搭載されているので、キャリッジ17の水平方
向の移動により紙幅を検出する。Next, in step S4, the paper width of the paper 18 fed into the printing and recording apparatus is detected using the detection signal 13 of the paper width detection device 12. In this embodiment, since the paper width detection device 12 is mounted on the carriage 17, the paper width is detected by horizontal movement of the carriage 17.
次のステップS5で検出された紙幅と指定された紙サイ
ズの紙幅とが同じか否か判断し、同じ場合には、後述の
ステップSIOへ飛ぶ。同じでない場合には次のステッ
プ56で広い紙幅か否かの判断を行い、検出された紙幅
が指定された紙サイズの幅よりも広い場合にはステップ
S7でデータの拡大処理フラグFをオンにし、また検出
された紙幅が指定された紙サイズの幅よりも狭い場合に
はデータの縮小処理フラグF′をオンにして次のステッ
プS9へ進む。In the next step S5, it is determined whether the detected paper width and the paper width of the designated paper size are the same, and if they are the same, the process jumps to step SIO, which will be described later. If they are not the same, it is determined whether the paper width is wide in the next step 56, and if the detected paper width is wider than the width of the specified paper size, the data enlargement processing flag F is turned on in step S7. If the detected paper width is narrower than the specified paper size width, the data reduction processing flag F' is turned on and the process proceeds to the next step S9.
ステップS9で指定された用紙の印字幅のドツト数(M
) と紙幅検出動作により検出した紙幅のドツト数(
N)の比VANを設定する。The number of dots (M
) and the number of paper width dots detected by the paper width detection operation (
Set the ratio VAN of N).
次にステップ510に進み、印字ヘット6の動作ノズル
数をカウントするRAM21内に含まれるカウンタを;
にクリアする。ステップSllでプリントイメージデー
タを1から1走査分送信するためのトリガ信号15をホ
スト1へ出力し、ステップ512でプリントイメージデ
ータの受信を行いイメージバッファがメモリ3に格納し
てRAM21内のカウンタの値を1だけ増やす。このカ
ウンタが印字ヘッドのノズル数分になるまで、上述のス
テップSll〜S13の処理動作を繰り返す。例えば、
印字ヘッド6が64ノズルの印字ヘッドであれば、カウ
ンタが64になるまで、即ち64ラスタ分プリントイメ
ージデータを受信するまでステップ5ll−513の動
作を繰り返す。Next, proceeding to step 510, a counter included in the RAM 21 that counts the number of operating nozzles of the print head 6;
Clear to. In step Sll, a trigger signal 15 for transmitting print image data from 1 to 1 scan is output to the host 1, and in step 512, the print image data is received, and the image buffer stores it in the memory 3 and stores it in the counter in the RAM 21. Increase the value by 1. The processing operations of steps S11 to S13 described above are repeated until this counter reaches the number of nozzles of the print head. for example,
If the print head 6 has 64 nozzles, steps 511-513 are repeated until the counter reaches 64, that is, until print image data for 64 rasters is received.
次に、ステップ515に進み、データ拡大処理フラグF
がオンになフているか否かの判断を行い、否の否定判定
の場合には、ステップS17へ進み、オンの肯定判定の
場合にはステップ516へ進んで第5図(A) 、 (
B)に示すようにM数ドツトの間に(N−M)数のドツ
トの補間を行い、印字記録を行う。例えば、上述の比が
M:N=1:2の時には、第5図(A)のイメージデー
タ(ドツト)を同図(B)のドツトデータのように印字
しない白ドツトデータを1ドツト毎に加えることにより
、2倍に拡大して印字記録を行う。印字記録が終了した
時には後述のステップS20へ進む。Next, the process proceeds to step 515, where the data enlargement processing flag F
It is determined whether or not the switch is turned on and off, and if the negative determination is negative, the process advances to step S17, and if the positive determination is on, the process advances to step 516, as shown in FIG. 5(A), (
As shown in B), (NM) number of dots are interpolated between M number of dots and printing is performed. For example, when the above-mentioned ratio is M:N=1:2, the image data (dots) in FIG. By adding the image, the image is enlarged twice and printed and recorded. When the print recording is completed, the process advances to step S20, which will be described later.
一方、ステップ517ではデータ縮小IA埋フラグF′
がオンになっているか否かを識別して、否の否定判定
の場合にはステップ519で通常の印字記#3動作を行
ってステップS20へ進む。ステップ517でフラグF
′がオンの場合には第6図(A)。On the other hand, in step 517, the data reduction IA filling flag F'
If the determination is negative, the normal printing operation #3 is performed in step 519, and the process proceeds to step S20. At step 517, the flag F
6(A) when ' is on.
CB) に示すようにM数ドツトの間に(M−N)数の
ドツトの削減を行い、印字記録を行う。例えば、M :
N=8 : 7の時では8ドツト毎に1ドツトデータ
を削除する。As shown in CB), (MN) number of dots are reduced between M number of dots and printing is performed. For example, M:
When N=8:7, one dot data is deleted every eight dots.
ステップS20では指定の紙サイズによる規定のライン
数分、印字が終了したか否かの判断を行い、否の場合に
はステップ510へ戻り、上記の動作を繰り返す。ステ
ップS20で印字終了した場合には、次処理へ進む。な
お、ステップS18.ステップ518での補間や削除に
よるデータの縮小・拡大の処理方法は上記した方法に限
定されない。例えは、上述のデータの縮小・拡大の変倍
率(M:N)に応じて、紙送りモータlOによりプラテ
ン19による行方向の送り幅を可変にして、水平方向と
垂直方向のデータの縮小・拡大率を等しくする等がある
。In step S20, it is determined whether printing has been completed for a specified number of lines based on the specified paper size, and if not, the process returns to step 510 and the above-described operations are repeated. If printing is completed in step S20, the process advances to the next process. Note that step S18. The method of processing data reduction/enlargement by interpolation or deletion in step 518 is not limited to the above method. For example, the feed width of the platen 19 in the row direction is made variable by the paper feed motor lO in accordance with the scaling ratio (M:N) for data reduction/enlargement mentioned above, and the data is reduced/enlarged in the horizontal and vertical directions. For example, the magnification ratio should be made equal.
本発明の他の実施例として、第4図のフローチャートの
ステップS16やS18でのデータ補間や削除により印
字記録を行うのではなく、印字記録密度を変えて印字記
録する方法が考えられる。第7図(A) 、 (B)は
この考えによる他の実施例を説明する為のタイミングチ
ャートである。As another embodiment of the present invention, instead of performing print recording by data interpolation or deletion in steps S16 and S18 of the flowchart of FIG. 4, a method may be considered in which print recording is performed by changing the print recording density. FIGS. 7(A) and 7(B) are timing charts for explaining another embodiment based on this idea.
第7図(A)は印字記録密度を変更しない通常の印字記
録の場合のモータ相の切り換えタイミングと印字ヘッド
6のタイミングを表しており、αはキャリッジモータ8
の1モータ相の切り換え時間であり、βは印字ヘッド6
の1ドツトの形成時間である。第7図(A)では1モー
タ相に対して1ドツトになっていたとする。第7図(A
) に対して第7図(B)のタイミングチャートはプラ
テン19にセットされた用紙18の紙幅が指定されたサ
イズよりも広い場合や、あるいは狭い場合を示し、この
場合にキャリッジモータ8の1モータ相に対しての印字
ヘッド6の1ドツトの形成時間をN7M倍して印字記録
を行えば、データの補間や削除を行うことなく印字する
ことができる。FIG. 7(A) shows the switching timing of the motor phase and the timing of the print head 6 in the case of normal print recording without changing the print recording density, and α is the timing of the carriage motor 8.
is the switching time of one motor phase, and β is the switching time of one motor phase of the print head 6.
This is the formation time of one dot. In FIG. 7(A), it is assumed that there is one dot for one motor phase. Figure 7 (A
), the timing chart in FIG. 7(B) shows a case where the paper width of the paper 18 set on the platen 19 is wider or narrower than the specified size, and in this case, one motor of the carriage motor 8 If printing is performed by multiplying the time for forming one dot by the print head 6 for each phase by N7M, printing can be performed without interpolating or deleting data.
また逆に、第8図に示すように、印字ヘッド6の1ドツ
ト形成時間βは変えずに、キャリッジモータ8のlモー
タ相の切り換え時間をM/N倍することにより印字記録
を行うことも考えられる。Conversely, as shown in FIG. 8, printing can be performed by multiplying the switching time of the l motor phase of the carriage motor 8 by M/N without changing the one-dot forming time β of the print head 6. Conceivable.
また、イメージデータを受信するときにプラテン19に
セットされた用紙18の紙幅が指定されたサイズよりも
広い場合や狭い場合には、通常の受信回路のサンプリン
グ周波数を変化させて、受信データの数を紙幅に対応し
てN7M倍に変化させ、通常の印字記録タイミングで印
字することも考えられる。この場合のタイミングを第9
図(A) 、 (B)に示したが、本図(A)は指定さ
れたサイズの紙と検出した紙幅が一致した場合のトリガ
信号15とホストlからのイメージデータの送出タイミ
ングと、受信回路4のサンプリングクロックのタイミン
グを示す。ホスト1からのイメージデータがγの周期で
送出されて°いる時に、紙幅一致のときは受信回路4の
サンプリング周波数もγである。そして、この受信回路
4のサンプリング周波数を紙幅比により変調する。すな
わちMγ/Nのクロック周波数にすることにより、受信
回路4でイメージデータを指定サイズの紙幅分受信し、
印字する時のタイミングを示したものが本図(B)であ
る。In addition, if the paper width of the paper 18 set on the platen 19 is wider or narrower than the specified size when receiving image data, the sampling frequency of the normal receiving circuit is changed to increase the number of received data. It is also conceivable to change the value by N7M times in accordance with the paper width and print at the normal print recording timing. The timing in this case is
Although shown in Figures (A) and (B), Figure (A) shows the trigger signal 15, the timing of transmitting image data from the host l, and the reception when the specified paper size and the detected paper width match. The timing of the sampling clock of circuit 4 is shown. When the image data from the host 1 is transmitted at a period of γ, the sampling frequency of the receiving circuit 4 is also γ when the paper widths match. Then, the sampling frequency of this receiving circuit 4 is modulated by the paper width ratio. That is, by setting the clock frequency to Mγ/N, the receiving circuit 4 receives the image data for the paper width of the specified size, and
This figure (B) shows the timing when printing.
また、上述の本実施例では紙幅検出装置12がキャリッ
ジ17上に搭載されていたものを考えているが(第3図
参照)、このキャリッジ17上ではなく第3図のプラテ
ン19の上方等のさまざまな紙サイズに対応した特定の
位置に配設してもよいことば勿論である。Furthermore, in this embodiment described above, the paper width detection device 12 is mounted on the carriage 17 (see FIG. 3), but it is not mounted on the carriage 17 but above the platen 19 in FIG. Of course, it may be arranged at specific positions corresponding to various paper sizes.
[発明の効果]
以上説明したように、本発明によれば、紙幅検出手段に
より検出した紙幅データに応じて、変倍手段により受信
イメージデータの拡大や縮小、もしくは記録密度の変更
や受信クロックレートの変更を行い、それにより記録手
段で記録紙幅に応じたイメージ記録をすることができる
ようにしたので、記録紙以外の場所に印刷したり、エラ
ー警告を行ったり、記録紙幅のデータしか印刷できない
などの従来の欠点を全て解消したイメージ記録を行うこ
とができる。また、その結果、ホストコンピュータで作
成したイメージデータを、紙サイズの違う用紙を使用す
ることだけで自動拡大や自動縮小することができるとい
う効果もある。[Effects of the Invention] As explained above, according to the present invention, the scaling means enlarges or reduces the received image data, changes the recording density, or changes the reception clock rate according to the paper width data detected by the paper width detection means. As a result, the recording method can record images according to the width of the recording paper, so it is possible to print on a location other than the recording paper, issue an error warning, and print only data that fits the width of the recording paper. It is possible to perform image recording that eliminates all of the conventional drawbacks such as. As a result, there is also the effect that image data created by a host computer can be automatically enlarged or reduced simply by using paper of a different paper size.
第1図は本発明実施例の基本構成を示すブロック図、
第2図は本発明の一実施例の制御系の回路構成を示すブ
ロック図、
第3図は第2図の要部の外観の一例を示す斜視図、
第4図は第2図の制御部の動作手順を示すフローチャー
ト、
第5図(A) 、 (B)は本発明実施例におけるイメ
ージデータの拡大時のドツト構成の一例を示す゛説明図
、
第6図(A) 、 (B)は本発明実施例におけるイメ
ージデータの縮小時のドツト構成の一例を示す説明図、
第7図(A) 、 (B)および第8図は本発明の他の
実施例における記録タイミングを示すタイミングチャー
ト、
第9図(A) 、 (B)は本発明の更に他の実施例に
おけるイメージデータ受信時のタイミングを示すタイミ
ングチャートである。
1・・・ホスト(ホストコンピュータまたはデータ転送
装置)、
2・・・制御部、
3・・・イメージバッファメモリ、
4・・・受信回路、
5・・・データコンバータ、
6・・・印字ヘッド、
8・・・キャリッジモータ、
lO・・・紙送りモータ、
12・・・紙幅検出装置、
14・・・情報入力部、
18・・・記録紙、
19・・・プラテン。
第1図
・−tp客するド・・ノド
・・○・○・・・O・−−一
キイリ1.2ジ走葦方向
・O・○○o@ooo・○・0@000・〇−〜−第
5 図(Bン
・−仔lキするド・ソト
o −ip客112デ1゛・ンド5.ト・・0@0・・
・O・
a←卆−)へソジAミぐ1う)h
・・O・○・・○・Figure 1 is a block diagram showing the basic configuration of an embodiment of the present invention, Figure 2 is a block diagram showing the circuit configuration of a control system in an embodiment of the present invention, and Figure 3 is an external view of the main parts of Figure 2. FIG. 4 is a flowchart showing the operation procedure of the control section in FIG. 2; FIGS. 5(A) and (B) show an example of the dot configuration when image data is enlarged in the embodiment of the present invention. 6(A) and (B) are explanatory diagrams showing an example of the dot configuration when image data is reduced in the embodiment of the present invention, FIG. 7(A), (B), and FIG. 8. 9 is a timing chart showing the recording timing in another embodiment of the present invention, and FIGS. 9(A) and 9(B) are timing charts showing the timing at the time of image data reception in still another embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Host (host computer or data transfer device), 2... Control unit, 3... Image buffer memory, 4... Receiving circuit, 5... Data converter, 6... Print head, 8... Carriage motor, lO... Paper feed motor, 12... Paper width detection device, 14... Information input unit, 18... Recording paper, 19... Platen. Figure 1 - tp customer do... throat... ○ ○... O - - 1 key 1.2 jig running reed direction ・ O ○○o@ooo ○ 0 @ 000 ○ - ~-th
5 Fig.
・O.
Claims (1)
段と、 該記録紙選択手段で選択指定された前記サイズに対応の
一定量のイメージデータを受信する受信手段と、 給紙される実際にセットされた記録紙の幅サイズを検出
する記録紙幅検出手段と、 該記録紙幅検出手段で検出した前記幅サイズのデータと
前記記録紙選択手段で選択指定されたサイズが表わす幅
サイズのデータとの比を算出する演算手段と、 該演算手段で算出された前記比に基いて、前記一定量の
イメージデータに対してデータの補完・削減による拡大
・縮小、もしくは記録密度の変更、あるいは受信クロッ
クレートの変更のいずれかを行うことにより前記実際に
セットされた記録紙のサイズに対応した出力データを生
成する変倍手段と、 該変倍手段から出力する前記出力データを基に画像記録
を行う記録手段と、 を具備したことを特徴とする画像記録装置。[Scope of Claims] 1) Recording paper selection means for selecting and specifying a prescribed recording paper size; Receiving means for receiving a certain amount of image data corresponding to the size selected and specified by the recording paper selection means; , recording paper width detection means for detecting the width size of the recording paper actually set to be fed; and data on the width size detected by the recording paper width detection means and the size selected and specified by the recording paper selection means. a calculation means for calculating the ratio of the width size to the data represented by the data; and based on the ratio calculated by the calculation means, the certain amount of image data is enlarged or reduced by data complementation or reduction, or the recording density is or a reception clock rate to generate output data corresponding to the size of the recording paper actually set, and the output data output from the scaling means. 1. An image recording device comprising: a recording means for recording an image based on the image data;
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2403488A JPH01200969A (en) | 1988-02-05 | 1988-02-05 | image recording device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2403488A JPH01200969A (en) | 1988-02-05 | 1988-02-05 | image recording device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01200969A true JPH01200969A (en) | 1989-08-14 |
Family
ID=12127227
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2403488A Pending JPH01200969A (en) | 1988-02-05 | 1988-02-05 | image recording device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01200969A (en) |
-
1988
- 1988-02-05 JP JP2403488A patent/JPH01200969A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0640080A (en) | Printer | |
| US5557707A (en) | Image forming apparatus with a scanner and method of controlling the same | |
| JP2647534B2 (en) | Output device | |
| JPH10147028A (en) | Printing control method in printing apparatus and printing apparatus | |
| JPH07319868A (en) | Document editing processor | |
| JPH01200969A (en) | image recording device | |
| JPH078589B2 (en) | Recording control device | |
| US4914621A (en) | Document processing system | |
| JP2650982B2 (en) | Printer control device | |
| JPS63250727A (en) | Printer controller | |
| US5408592A (en) | Printer having a data output time controller | |
| JPS61123263A (en) | Serial printer possible for reading image | |
| JP3158726B2 (en) | Data processing device | |
| JP3262367B2 (en) | Image processing method | |
| JP3282083B2 (en) | Printing method of recording device | |
| JP2958029B2 (en) | Output control device and method | |
| JP2791716B2 (en) | Character printing method | |
| JP2564355B2 (en) | Print recording device | |
| JP3292514B2 (en) | Printing device with reduction function | |
| JP2833423B2 (en) | Printing method in thermal printer | |
| JP3117694B2 (en) | Image recording device | |
| JPH0325115B2 (en) | ||
| JPH0711799B2 (en) | Typesetting system | |
| JPH05316328A (en) | Image forming apparatus and area designation method for read image thereof | |
| JPH03272270A (en) | Reduced print method for picture element data |