JP2556861B2 - Manual scanning recorder - Google Patents

Manual scanning recorder

Info

Publication number
JP2556861B2
JP2556861B2 JP62156630A JP15663087A JP2556861B2 JP 2556861 B2 JP2556861 B2 JP 2556861B2 JP 62156630 A JP62156630 A JP 62156630A JP 15663087 A JP15663087 A JP 15663087A JP 2556861 B2 JP2556861 B2 JP 2556861B2
Authority
JP
Japan
Prior art keywords
recording
scanning
data
printing
trigger pulse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP62156630A
Other languages
Japanese (ja)
Other versions
JPS641565A (en
JPH011565A (en
Inventor
貴 吉田
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 JP62156630A priority Critical patent/JP2556861B2/en
Publication of JPS641565A publication Critical patent/JPS641565A/en
Publication of JPH011565A publication Critical patent/JPH011565A/en
Application granted granted Critical
Publication of JP2556861B2 publication Critical patent/JP2556861B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、記録部材を書籍,書類あるいは図面等の
記録材上に接触しながら手動走査して直接文字,記号を
記録する手動走査型記録装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of use] The present invention relates to a manual scanning type recording in which a recording member is manually scanned while contacting it with a recording material such as a book, a document or a drawing to directly record characters and symbols. It relates to the device.

〔従来の技術〕[Conventional technology]

近年、ワークステーション等の各種のOA機器がオフィ
スに導入され、各情報端末装置として大量の情報を処理
している。これらのOA機器で処理されたデータ(文書デ
ータ,統計データ,数値データ,画像データ等)は記録
媒体となる外部の磁気記憶装置にファイリングされた
り、プリンタから給紙される記録紙にプリンティングさ
れ、ハードコピーとしてイメージ出力されている。
In recent years, various kinds of OA equipment such as workstations have been introduced into offices and process a large amount of information as each information terminal device. Data processed by these OA devices (document data, statistical data, numerical data, image data, etc.) are filed in an external magnetic storage device that is a recording medium, or printed on recording paper fed from a printer. The image is output as a hard copy.

このうち、プリンタは情報出力装置として、数多くの
機種、例えばワイヤドット,熱転写,インクジェット,
静電転写等の各形式のプリンタが実用化されている。
Of these, printers are used as information output devices for many models, such as wire dots, thermal transfer, inkjet,
Printers of various types such as electrostatic transfer have been put to practical use.

ところが、上記各プリンタにおいては、出力される用
紙が平面シートに限定されるため、製本された書籍や書
類あるいは大寸法の図面(平面であるがプリンタ装置の
給紙可能用紙サイズを越える平面シート)には印字する
には不向きであり、記録部材を直接記録材上を手動によ
り記録走査作成された情報を出力する手動走査型の記録
装置が数多く提案されている。
However, in each of the above printers, the output paper is limited to a flat sheet, and therefore, a bound book or document or a large-sized drawing (a flat sheet that is larger than the sheet size that can be fed by the printer) There are many proposals for a manual scanning type recording apparatus that is not suitable for printing and that outputs information created by manually recording and scanning a recording member directly on the recording material.

このような、手動走査型記録装置は、印字データを記
録材に出力するハンディ記録装置(例えばインクを吐出
する記録ヘッド),記録データと記録動作との同期をと
る記録同期信号発生部,記録データの読み出しを制御す
る記録データ制御部,記録部材を駆動する記録部材駆動
部等から構成されている。
Such a manual scanning type recording apparatus includes a handy recording apparatus (for example, a recording head that ejects ink) that outputs print data, a recording synchronization signal generator that synchronizes the recording data with the recording operation, and a recording data. It is composed of a recording data control unit for controlling the reading of data, a recording member drive unit for driving the recording member, and the like.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

特に、従来の手動走査型記録装置の走査移動状態検出
機構は、通常記録ヘッドとともに連動して回転する回転
円板の周上に等間隔で配設されるスリットを光学的に検
出し、その検出されたスリットに応じて出力されるパル
ス信号をカウントすることにより検出していた。
In particular, the scanning movement state detection mechanism of the conventional manual scanning type recording apparatus optically detects slits arranged at equal intervals on the circumference of a rotating disk that normally rotates together with the recording head, and detects the slits. This is detected by counting the pulse signals output according to the slits formed.

このため、記録ヘッドの走査方向が右から左または左
から右に走査した場合であっても、同様のパルス信号が
出力され、このパルス信号に基づいて記録ヘッドの駆動
が制御されてしまい、左から右へ走査記録した場合と右
から左に走査記録した場合との印字文字は印字する文字
フォントの読み出し方向が固定されるため同一とはなら
ない。
Therefore, even when the recording head scans from right to left or from left to right, the same pulse signal is output, and the drive of the recording head is controlled based on this pulse signal. From the right to left and from the right to the left, the print characters are not the same because the reading direction of the character font to be printed is fixed.

すなわち、例えば文字列を印字する場合を考えると、
通常英語や日本語の文字列を印字する場合記録ヘッドを
左から右へ走査させて印字する場合が多く、左から右へ
の走査により正常な印字文字が得られるように、1方向
記録データ処理を実行するヘッド駆動方式が採用されて
いる。
That is, for example, considering the case of printing a character string,
Normally, when printing a character string in English or Japanese, the recording head is often scanned by scanning from left to right, and one-way recording data processing is performed so that normal printed characters can be obtained by scanning from left to right. The head drive method is used to execute the.

このため、被記録材の制約のために右から左に向って
走査しなければならない状態、例えば綴じ込み条件,あ
らかじめフォーマットされた伝票等においては右から左
に向って走査しなければならない状態が発生する。これ
を上記のように左から右に印字する記録装置(縦1列に
並んだドットで文字フォントを構成する記録ヘッドの場
合)で、手動走査記録を実行すると、印字文字は正常印
字とは逆の裏文字(印鑑文字)として印字され、印字文
字として正常に機能しない。また、記録ヘッドが複数の
列に分割されたドットで構成される場合には、文字が原
稿を逸し判別できない形で印字されてしまう。
For this reason, there is a situation in which scanning must be performed from right to left due to the limitation of the recording material, for example, binding conditions, pre-formatted slips, etc. must be scanned from right to left. To do. When a manual scanning recording is executed with a recording device that prints this from left to right as described above (in the case of a recording head that forms a character font with dots arranged in one vertical column), the printed characters are the reverse of normal printing. It is printed as the back letter (seal stamp letter) of and does not function properly as a print letter. Further, when the recording head is composed of dots divided into a plurality of rows, characters are printed in a form in which the original is missed and cannot be discriminated.

さらに、上記のように縦1列に並んだドットで文字フ
ォントを構成するインクジェット記録ヘッドの場合、製
造の都合上厳密にはノズルが1列に並んでいない場合が
多く、ノズルの印字方向のずれに対してはインク噴射の
タイミングを補正することにより対応するのが通例であ
る。従って、全く同じ補正タイミングでインク噴射の制
御を行っている記録ヘッドを逆方向に走査した場合、見
かえ上ではちょうど正常文字とは逆に裏返った形の文字
が印字されるように見えるが、実際には記録ヘッドの方
向に対して逆位相の補正がかかっているため、充分な品
位が保証されないこととなる。
Further, as described above, in the case of an ink jet recording head in which a character font is composed of dots arranged in a line in the vertical direction, the nozzles are often not arranged in a line for the sake of manufacturing. It is customary to deal with the above by correcting the ink ejection timing. Therefore, when the recording head that controls ink ejection at exactly the same correction timing is scanned in the opposite direction, it seems that the characters in the reversed shape are printed on the contrary to the normal characters. Actually, since the opposite phase is corrected with respect to the direction of the recording head, sufficient quality cannot be guaranteed.

ところが、ユーザ側の立場としては、こうした制約に
縛られてしまうと、例えば小さな紙片の左端には文字を
印字した場合等に使用することができなくなる。そこで
その用途に応じた印字処理が実行できる手動走査型記録
装置が提案されている。
However, from the standpoint of the user, if restricted by such restrictions, it cannot be used, for example, when characters are printed on the left end of a small piece of paper. Therefore, there has been proposed a manual scanning type recording apparatus capable of executing a printing process according to its use.

しかし、このような用途を満たすためには、記録ヘッ
ドの移動検出器として、円周に沿って等間隔で配列され
たスリットを有する円板を高価な光学センサ2つ設け
て、その位相差から記録ヘッドの走査方向を判別しなけ
ればならず、装置の価格上昇を誘引するばかりでなく、
光学センサを設ける追加スペースを装置に確保しなけれ
ばならず、装置を大型化して操作性を著しく損ねてしま
う等の幾多の問題点があった。
However, in order to meet such an application, two expensive optical sensors provided with disks having slits arranged at equal intervals along the circumference as a movement detector of the recording head, It is necessary to determine the scanning direction of the recording head, which not only invites an increase in the price of the device, but also
An additional space for installing the optical sensor has to be secured in the device, which causes a number of problems such that the device becomes large and the operability is significantly impaired.

この発明は、上記の問題点を解消するためになされた
もので、走査体の移動に連動して回動する単一スリット
円板の回転に応じて発生する異なる幅のパルス信号列を
検出して回転方向を判別し、該判別結果から走査体の走
査方向を捉えて印字を制御することにより、走査体の移
動に連動して回転する単一スリット円板に配列された複
数のスリットを検知して回転方向を判別して、該判別さ
れた回転方向から走査方向に最適な印字を双方向に行う
ことができる手動走査型記録装置を提供することを目的
とする。
The present invention has been made to solve the above problems, and detects pulse signal trains of different widths generated according to the rotation of a single slit disk that rotates in conjunction with the movement of a scanning body. By detecting the scanning direction of the scanning body from the discrimination result and controlling printing by detecting the direction of rotation, multiple slits arranged on a single slit disk that rotates in conjunction with the movement of the scanning body are detected. It is an object of the present invention to provide a manual scanning type recording apparatus capable of bidirectionally performing optimum printing in the scanning direction from the determined rotation direction by discriminating the rotation direction.

〔問題点を解決するための手段〕[Means for solving problems]

本発明に係る手動走査型記録装置は、手動走査を検知
してデータ供給源から供給される記録データを印字する
記録ヘッドを収容する走査体と、前記走査体の移動に連
動して回転する異なる幅のスリットが配列された単一ス
リット円板と、前記単一スリット円板の回転に応じて異
なる幅のパルス信号列を発生する信号発生手段と、前記
信号発生手段から発生される前記パルス信号列の変化を
検出して前記単一スリット円板の回転方向を判別する判
別手段と、前記判別手段の判別結果に基づいて前記走査
体の走査方向を判別して、前記記録データの印字を制御
する制御手段とを有するものである。
The manual scanning type recording apparatus according to the present invention is different from a scanning body that accommodates a recording head that detects a manual scanning and prints recording data supplied from a data supply source and a scanning body that rotates in conjunction with the movement of the scanning body. A single slit disk in which slits of different widths are arranged, signal generating means for generating pulse signal trains of different widths according to rotation of the single slit disk, and the pulse signal generated from the signal generating means A discriminating means for discriminating the rotation direction of the single slit disc by detecting a change in the row, and discriminating the scanning direction of the scanning body on the basis of the discrimination result of the discriminating means to control the printing of the recording data. It has a control means for controlling.

〔作用〕[Action]

この発明においては、前記信号発生手段から発生され
る前記パルス信号列の変化を検出して判別手段が前記単
一スリット円板の回転方向を判別し、該判別結果に基づ
いて前記走査体の走査方向を判別して、制御手段が前記
記録データの印字を制御して、走査体の移動に連動して
回転する単一スリット円板に配列された複数のスリット
を検知して回転方向を判別して、該判別された回転方向
から走査方向に最適な印字を双方向に行うことを可能と
する。
In the present invention, the discriminating means discriminates the rotation direction of the single slit disk by detecting the change in the pulse signal train generated from the signal generating means, and the scanning body is scanned based on the discriminating result. The direction is discriminated and the control means controls the printing of the recording data to detect the plural slits arranged on the single slit disk which rotates in association with the movement of the scanning body to discriminate the rotational direction. Thus, it is possible to bidirectionally perform optimal printing in the scanning direction from the determined rotation direction.

〔実施例〕〔Example〕

第1図はこの発明の一実施例を示す手動走査型記録装
置の構成を説明する内部構造斜視図である。
FIG. 1 is a perspective view of the internal structure for explaining the configuration of a manual scanning type recording apparatus showing an embodiment of the present invention.

これらの図において、1は装置本体(以下本体と呼
ぶ)で、信号ライン2から転送される記録データを本体
1の走査状態に基づいて処理する。3は検出ローラで、
本体1の走査移動(図示しない記録材上を摺動しながら
の移動)に伴ない駆動する。検出ローラ3には歯車3aが
一体となって固着されており、検出ローラ3の回転駆動
に応じて歯車3aが回転駆動し、この歯車3aに歯合する中
間歯車4が駆動する。5は例えばステインレススティー
ルの薄板で構成されるエンコーダ円板(スリット円板)
で、光同期信号を発生させるためのスリット幅の異なる
複数のスリットを有する。5aは歯車で、スリット円板5
の中心に固着され、かつ中間歯車4に歯合しており、本
体1の走査移動に伴い回転駆動する。6はこの発明のパ
ルス信号発生手段となるフォトセンサで、発光部(例え
ばLED発光素子)と受光部(例えばフォトダイオード,
フォトトランジスタ等)とから構成され、スリット円板
5(詳細は第5図,第6図で詳細に説明する)の回転に
伴い記録動作の基準となる同期信号を発生する。7は例
えばインクジェット型の記録ヘッドで、インク吐出部は
記録材に対向する位置に設けられ、記録剤となるインク
を収容するインクタンクを保有している。8はプリント
基板で、信号ライン2を介して入力される記録データを
受け取りフォトセンサ6から出力される同期信号に従っ
て授受した記録データを記録ヘッド7の駆動信号に変換
して記録ドライブ信号をインターフェースケーブル9を
介して出力する。10は補助ローラで、記録ヘッド7のイ
ンク吐出口と記録材との間隔を一定に保持する。
In these figures, reference numeral 1 denotes a main body of the apparatus (hereinafter referred to as a main body), which processes print data transferred from a signal line 2 based on a scanning state of the main body 1. 3 is a detection roller,
It is driven in accordance with the scanning movement of the main body 1 (movement while sliding on a recording material (not shown)). A gear 3a is integrally fixed to the detection roller 3, and the gear 3a is rotationally driven according to the rotational drive of the detection roller 3, and an intermediate gear 4 meshing with the gear 3a is driven. 5 is an encoder disc (slit disc) composed of a thin plate of stainless steel
Thus, it has a plurality of slits having different slit widths for generating the optical synchronization signal. 5a is a gear, a slit disk 5
Is fixed to the center of the gear and meshes with the intermediate gear 4, and is rotationally driven as the main body 1 scans. Reference numeral 6 denotes a photosensor which is pulse signal generating means of the present invention, and includes a light emitting portion (for example, an LED light emitting element) and a light receiving portion (for example, a photodiode
And a phototransistor, etc.) and generates a synchronizing signal as a reference of the recording operation with the rotation of the slit disk 5 (details will be described in detail in FIGS. 5 and 6). Reference numeral 7 denotes, for example, an ink jet type recording head, the ink ejection portion of which is provided at a position facing the recording material and has an ink tank which stores ink serving as a recording material. Reference numeral 8 denotes a printed circuit board, which receives recording data input through the signal line 2 and converts the recording data transmitted / received according to the synchronization signal output from the photosensor 6 into a driving signal for the recording head 7 to convert a recording drive signal into an interface cable. Output via 9. Reference numeral 10 denotes an auxiliary roller, which keeps the distance between the ink ejection port of the recording head 7 and the recording material constant.

第2図は、第1図に示したプリント基板8の構成を説
明する制御ブロック図である。
FIG. 2 is a control block diagram for explaining the configuration of the printed circuit board 8 shown in FIG.

この図において、11はこの発明の印字制御手段を兼ね
るCPUでROM15のプログラムエリアPAに格納された制御プ
ログラム(後述する第7図に示すフローチャートに基づ
くを含む)に基づいて各種演算・論理判断等を行う。な
お、ROM15に印字すべき文字・記号に対応するフォント
を発生させるキャラクタジェネレータCGを有している。
12は印字ヘッド部(HEAD)で記録ヘッド7でCPU11から
出力される記録データ(記号・文字等)を図示しない記
録材上に印字する。13はヘッド移動検出器(DET)で、
検出ローラ3,中間歯車4,歯車3a,歯車5a,エンコーダ円板
5等から構成され被記録材上における移動距離を検出す
る。14はトリガパルス発生器(TRG)で、エンコーダ円
板5の回転に伴いフォトセンサ6の受光部が検知した透
過光検出信号(ただしオン時間が異なる)、すなわち印
字ヘッド部12に出力する基準同期信号を発生させてCPU1
1に出力する。16はRAMで、印字すべき文字・記号等を示
す印字情報を格納するテキストエリアTXT,このテキスト
エリアTXT内に格納されている印字情報のうち、印字す
べき印字情報が格納されている開始アドレスを格納する
スタートアドレスレジスタST,テキストエリアTXT内に格
納されている印字情報のうち、印字すべき印字情報が格
納されている終了アドレスを格納するエンドアドレスレ
ジスタEN,現在印字中の文字フォントを格納するフォン
トエリアFA,フォントエリアFA内の現在印字待機中のド
ット列のフォントデータを格納するアドレスを格納する
ドット列カウンタDC,上記トリガパルス発生器14より発
生された最新のトリガパルスの時間幅データを格納する
最新パルス幅レジスタT1,最新のトリガパルスの直前に
発生されたトリガパルスの時間幅データを格納するパル
ス幅レジスタT0,最新パルス幅レジスタT1に格納されて
いるデータで示される時間幅からパルス幅レジスタT0
格納されているデータで示される時間幅を減じた時間幅
データを格納する最新時間差レジスタl1,最新のトリガ
パルスが発生される直前まで最新時間差レジスタl1に格
納された時間幅データを格納する時間差レジスタl0等を
有している。なお、TPはテキストポインタである。
In this figure, reference numeral 11 denotes a CPU which also serves as the print control means of the present invention, and various arithmetic / logical judgments based on a control program (including a flow chart shown in FIG. 7 described later) stored in a program area PA of the ROM 15. I do. The ROM 15 has a character generator CG for generating fonts corresponding to the characters and symbols to be printed.
A print head unit (HEAD) 12 prints print data (symbols, characters, etc.) output from the CPU 11 by the print head 7 on a print material (not shown). 13 is a head movement detector (DET),
It is composed of a detection roller 3, an intermediate gear 4, a gear 3a, a gear 5a, an encoder disc 5 and the like, and detects a moving distance on a recording material. Reference numeral 14 is a trigger pulse generator (TRG), which is a transmitted light detection signal (provided that the ON time is different) detected by the light receiving section of the photo sensor 6 as the encoder disk 5 rotates, that is, the reference synchronization output to the print head section 12. Generate a signal to CPU1
Output to 1. 16 is a RAM, which is a text area TXT for storing print information indicating characters / symbols to be printed, and a start address where print information to be printed is stored among print information stored in this text area TXT The start address register ST that stores the end address register EN that stores the end address that stores the print information that should be printed among the print information that is stored in the text area TXT, and the character font that is currently printing Font area FA, dot row counter DC that stores the address that stores the font data of the dot row currently waiting to be printed in font area FA, the latest trigger pulse time width data generated by the trigger pulse generator 14 above Recently pulse width register T 1 for storing, to store the time width data of the trigger pulses generated immediately before the latest trigger pulse Pulse width register T 0, the latest for storing the time width data obtained by subtracting the time width indicated by the data stored from the time width indicated by the data stored in the latest pulse width register T 1 to the pulse width register T 0 It has a time difference register l 1 and a time difference register l 0 for storing the time width data stored in the latest time difference register l 1 until just before the latest trigger pulse is generated. Note that TP is a text pointer.

第3図は、第2図に示したRAM16のテキストエリアTXT
のメモリ空間を説明する模式図であり、第2図と同一の
ものには同じ符号を付してある。
FIG. 3 shows the text area TXT of the RAM 16 shown in FIG.
2 is a schematic diagram for explaining the memory space of FIG. 2, and the same components as those in FIG. 2 are designated by the same reference numerals.

この図において、21はキャラクタコード(CAR)で、R
OM15のキャラクタジェネレータCGの印字すべき文字フォ
ントが格納されているアドレスが格納される。22は文字
間コード(INT)で、キャラクタコード21で指示された
文字フォントの印字間隔を指示する。
In this figure, 21 is a character code (CAR), R
The address where the character font to be printed by the character generator CG of OM15 is stored is stored. Reference numeral 22 is an inter-character code (INT), which indicates the printing interval of the character font designated by the character code 21.

第4図は、第2図に示したRAM16のフォントエリアFA
に格納される文字フォントを説明する模式図であり、FA
(0)は先頭番地であり、先頭番地FA(0)から、例え
ば文字「艶」が最終番地FA(n−1)までのn×nドッ
トに展開された状態を示す。
FIG. 4 shows the font area FA of the RAM 16 shown in FIG.
FIG. 3 is a schematic diagram illustrating a character font stored in
(0) is the head address, and indicates a state in which, for example, the character “gloss” is developed into n × n dots from the head address FA (0) to the last address FA (n−1).

第5図は、第1図に示したスリット円板5の構造を説
明する平面図であり、SL1〜SL3はスリットで、スリット
SL1のスリット間隔はW1で、スリットSL2のスリット間隔
はW2で、スリットSL3のスリット間隔はW3であり、スリ
ット間隔W1〜W3の関係は、W1<W2<W3となっている。な
お、Fは正回転方向で、第1図に示した本体1が第1図
に示した矢印方向に走査される場合にスリット円板5が
回転する方向を示し、Bは逆回転方向で、第1図に示し
た本体1が第1図に示した矢印方向と反対方向に走査さ
れる場合にスリット円板5が回転する方向を示す。な
お、正回転方向Fに対する各スリットSL1〜SL3のスリッ
ト間隔W1〜W3のエッジ間距離は全て等しくなるようにス
リットSL1〜SL3がスリット円板5上に設けられている。
FIG. 5 is a plan view for explaining the structure of the slit disk 5 shown in FIG. 1, where SL1 to SL3 are slits,
In the slit interval W 1 of SL1, a slit interval of the slit SL2 is W 2, the slit interval of the slit SL3 is W 3, the relationship of the slit interval W 1 to W-3 has a W 1 <W 2 <W 3 Has become. Note that F is a forward rotation direction, a direction in which the slit disk 5 rotates when the main body 1 shown in FIG. 1 is scanned in the arrow direction shown in FIG. 1, and B is a reverse rotation direction. 1 shows the direction in which the slit disk 5 rotates when the body 1 shown in FIG. 1 is scanned in the direction opposite to the arrow direction shown in FIG. The slit SL1~SL3 as distance between the edges of the slit interval W 1 to W-3 of each slit SL1~SL3 against the forward rotational direction F is equal all provided on the slit disk 5.

第6図は、第5図に示したスリット円板5の回転によ
り発生するトリガパルス列を説明するタイミングチャー
トであり、同図(a)は正回転トリガパルス列を示し、
本体1が第1図に示した矢印方向に走査された場合にフ
ォトセンサ6に検出された光受光信号に基づいてトリガ
パルス発生器14から出力され、順次出力されるトリガパ
ルスP1〜P3の立ち上りに同期してCPU11が記録データの
印字処理を実行する。
FIG. 6 is a timing chart explaining a trigger pulse train generated by the rotation of the slit disk 5 shown in FIG. 5, and FIG. 6A shows a forward rotation trigger pulse train,
Rise of trigger pulses P1 to P3 that are sequentially output from the trigger pulse generator 14 based on the light reception signal detected by the photosensor 6 when the main body 1 is scanned in the direction of the arrow shown in FIG. The CPU 11 executes the print processing of the recording data in synchronization with the.

(b)は逆回転トリガパルス列を示し、本体1が第1
図に示した矢印方向と反対方向に走査された場合にフォ
トセンサ6に検出された光受光信号に基づいてトリガパ
ルス発生器14から出力され、順次出力されるトリガパル
スPP1〜PP3の立ち下りに同期してCPU11が記録データの
印字処理を実行する。
(B) shows a reverse rotation trigger pulse train, in which the main body 1 is the first
At the trailing edge of the trigger pulses PP1 to PP3, which are output from the trigger pulse generator 14 based on the light reception signal detected by the photosensor 6 when scanned in the direction opposite to the arrow shown in the figure, and are sequentially output. The CPU 11 synchronously executes the print processing of the recording data.

次に第7図を参照しながらこの発明による印字制御動
作について説明する。
Next, the print control operation according to the present invention will be described with reference to FIG.

第7図はこの発明による印字開始制御手順を説明する
フローチャートである。なお、(1)〜(41)は各ステ
ップを示す。
FIG. 7 is a flow chart for explaining the print start control procedure according to the present invention. Note that (1) to (41) indicate each step.

まず、RAM16内のテキストエリアTXT,スタートアドレ
スレジスタST,エンドアドレスレジスタENにデータが格
納された状態で、あらかじめ決定された回数Pだけトリ
ガパルス発生器14から発生するのを待機し(1)、これ
により、本体1の移動速度が安定するのを待機する。次
いで、発生したP回のトリガパルス以後、トリガパルス
発生器14から出力される初のトリガパルスについてパル
ス幅を測定し、パルス幅レジスタT0に格納する(2)。
これにより、本体1の移動速度が安定する。なお、スリ
ットSL1〜SL3に対応するトリガパルスP1〜P3の時間幅は
15/20,16/19,17/18とあらかじめ決定されており、RAM16
の所定エリアに確保されている。次いで、トリガパルス
発生器14からトリガパルスが出力されるのを待機し
(3)、トリガパルスが出力されたら、発生したトリガ
パルスのパルス幅を最新パルス幅レジスタT1に格納する
(4)。次いで、最新パルス幅レジスタT1に格納された
トリガパルスのパルス幅データt1がパルス幅レジスタT0
に格納されたトリガパルス幅データt0よりも小かどうか
を判断し(5)、YESならば時間差レジスタl0に「1」
をセットし(6)、ステップ(8)以降に進み、NOなら
ば時間差レジスタl0に「0」をセットする(7)。
First, with the data stored in the text area TXT, the start address register ST, and the end address register EN in the RAM 16, the trigger pulse generator 14 waits for a predetermined number of times P (1), This waits until the moving speed of the main body 1 stabilizes. Next, the pulse width of the first trigger pulse output from the trigger pulse generator 14 after the P number of generated trigger pulses is measured and stored in the pulse width register T 0 (2).
This stabilizes the moving speed of the main body 1. The time width of the trigger pulses P1 to P3 corresponding to the slits SL1 to SL3 is
Pre-determined as 15 / 20,16 / 19,17 / 18, RAM16
It is secured in a predetermined area. Next, it waits for the trigger pulse to be output from the trigger pulse generator 14 (3), and when the trigger pulse is output, the pulse width of the generated trigger pulse is stored in the latest pulse width register T 1 (4). Then, the pulse width data t 1 of the trigger pulse stored in the latest pulse width register T 1 is stored in the pulse width register T 0.
It is judged whether it is smaller than the trigger pulse width data t 0 stored in (5). If YES, “1” is set in the time difference register l 0.
Is set (6), and the process proceeds to step (8) and thereafter. If NO, "0" is set in the time difference register 10 (7).

次いで、次のトリガパルスがトリガパルス発生器14か
ら出力されるのを待機し(8)、トリガパルスが出力さ
れたら、最新パルス幅レジスタT1に格納されるパルス幅
データt1をパルス幅レジスタT0にトリガパルス幅データ
t0として格納した後(9)、発生したトリガパルスのパ
ルス幅データを最新パルス幅レジスタT1に格納する(1
0)。次いで、最新パルス幅レジスタT1に格納されたト
リガパルスのパルス幅データt1がパルス幅レジスタT0
格納されたトリガパルス幅データt0よりも小かどうかを
判断し(11)、YESならば最新時間差レジスタl1
「1」をセットし(12)、ステップ(14)以降に進み、
NOならば最新時間差レジスタl1に「0」をセットする
(13)。
Next, it waits for the next trigger pulse to be output from the trigger pulse generator 14 (8). When the trigger pulse is output, the pulse width data t 1 stored in the latest pulse width register T 1 is added to the pulse width register. Trigger pulse width data at T 0
After storing as t 0 (9), the pulse width data of the generated trigger pulse is stored in the latest pulse width register T 1 (1
0). Next, it is determined whether the pulse width data t 1 of the trigger pulse stored in the latest pulse width register T 1 is smaller than the trigger pulse width data t 0 stored in the pulse width register T 0 (11), and if YES For example, set "1" to the latest time difference register l 1 (12), and proceed to step (14) and thereafter.
If NO, the latest time difference register l 1 is set to “0” (13).

次いで、最新時間差レジスタl1の内容と時間差レジス
タl0の内容とが一致するかどうかを判断し(14)、NOな
らば時間差レジスタl0に最新時間差レジスタl1の内容を
退避させた後(15)、ステップ(8)に戻る。
Then, it is determined whether the contents of the latest time difference register l 1 and the contents of the time difference register l 0 match (14), and if NO, the contents of the latest time difference register l 1 are saved in the time difference register l 0 ( 15) Return to step (8).

次いで、最新時間差レジスタl1の内容が「1」である
かどうかを判断し(16)、NOならば通常印字(正方向印
字)と判断しステップ(17)以降に進み、YESならば逆
方向印字と判断し、ステップ(30)以降に進む。
Next, it is judged whether or not the content of the latest time difference register l 1 is "1" (16), if NO, it is judged as normal printing (normal direction printing), and the process proceeds to step (17) and thereafter, and if YES, reverse direction. Judge as printing, and proceed to step (30) and thereafter.

通常印字の場合は、まずスタートアドレスレジスタST
の内容をテキストポインタTPにセットする(17)。次い
で、テキストポインタTPの内容がエンドアドレスレジス
タENの内容に「1」加算した値に一致するかどうかを判
断し(18)、YESならば印字処理を終了し、NOならばテ
キストエリアTXT内のテキストポインタTPで示されるア
ドレスが文字コード(CAR)21であるかどうかを判断し
(TXT(TP)=CAR)(19)、NOならばテキストエリアTX
T内のテキストポインタTPで示されるアドレスが文字間
コード(INT)22であるかどうかを判断し(TXT(TP)=
INT)(20)、NOならばエラー処理を実行し(21)、印
字処理を終了し、YESならば文字間パルス数として決め
られた回数m分トリガパルスが発生するのを待機し、す
なわち回数m分トリガパルスが発生するまで本体1を空
送し(22)、ステップ(29)以降に進む。
For normal printing, first start address register ST
The content of is set in the text pointer TP (17). Next, it is determined whether the content of the text pointer TP matches the value obtained by adding "1" to the content of the end address register EN (18). If YES, the printing process ends, and if NO, the text area TXT Judge whether the address indicated by the text pointer TP is the character code (CAR) 21 (TXT (TP) = CAR) (19), and if NO, the text area TX
Determine whether the address indicated by the text pointer TP in T is the inter-character code (INT) 22 (TXT (TP) =
(INT) (20), if NO, execute error processing (21), terminate printing processing, and if YES, wait for the trigger pulse to occur for the number of times m, which is the number of inter-character pulses, that is, the number of times. The main body 1 is idly fed until a trigger pulse of m minutes is generated (22), and the process proceeds to step (29) and thereafter.

一方、ステップ(19)の判断で、YESの場合は文字コ
ード21に対応するフォントデータをROM15のキャラクタ
ジェネレータCGからRAM16のフォントエリアFAに格納(F
ACG(TXT(TP)))し(23)、ドット列カウンタDCを
初期化する(24)。次いで、トリガパルスP1〜P3が立ち
上がるのを順次待機し(25)、トリガパルスP1〜P3が立
ち上がる毎にフォントエリアFAのドット列カウンタDCで
示されるドット列(FA(DC))を印字し(26)、ドット
列カウンタDCを「1」更新する(27)。
On the other hand, if the result of the determination in step (19) is YES, the font data corresponding to the character code 21 is stored from the character generator CG of ROM15 to the font area FA of RAM16 (F
ACG (TXT (TP))) (23), and the dot row counter DC is initialized (24). Next, it waits for the trigger pulses P1 to P3 to rise sequentially (25), and every time the trigger pulses P1 to P3 rise, the dot row (FA (DC)) indicated by the dot row counter DC in the font area FA is printed ( 26), the dot row counter DC is updated by "1" (27).

次いで、ドット列カウンタDCが1文字のドット列数n
に一致したかどうか判断し(28)、NOならばステップ
(25)に戻り、YESならばテキストポインタTPを「1」
更新し(29)、ステップ(18)に戻る。
Next, the dot row counter DC displays the number of dot rows n for one character.
If it is NO, the process returns to step (25). If YES, the text pointer TP is set to "1".
Update (29) and return to step (18).

一方、ステップ(16)の判断でYESの場合、すなわち
逆方向印字の場合は、まずエンドアドレスレジスタENの
内容をテキストポインタTPにセット(TPEN)する(3
0)。次いで、テキストポインタTPの内容がスタートア
ドレスアドレスレジスタSTの内容から「1」減じた値に
一致(TP=ST−1)するかどうかを判断し(31)、YES
ならば印字処理を終了し、NOならばテキストエリアTXT
内のテキストポインタTPで示されるアドレス文字コード
(CAR)21であるかどうかを判断し(TXT(TP)=CAR)
(32)、NOならばテキストエリアTXT内のテキストポイ
ンタTPで示されるアドレスが文字間コード(INT)22で
あるかどうかを判断し(TXT(TP)=INT)(33)、NOな
らばエラー処理を実行し、印字処理を終了し、YESなら
ば文字間パルス数として決められた回数m分トリガパル
スが発生するのを待機し、すなわち回数m分トリガパル
スが発生するまで本体1を空送し(34)、ステップ(4
1)以降に進む。
On the other hand, if the result of the determination in step (16) is YES, that is, in the case of reverse printing, first, the content of the end address register EN is set to the text pointer TP (TPEN) (3
0). Next, it is determined whether the content of the text pointer TP matches the value obtained by subtracting "1" from the content of the start address address register ST (TP = ST-1) (31), YES.
If so, end the printing process. If NO, text area TXT.
It is judged whether it is the address character code (CAR) 21 indicated by the text pointer TP in (TXT (TP) = CAR).
(32) If NO, determine whether the address indicated by the text pointer TP in the text area TXT is the inter-character code (INT) 22 (TXT (TP) = INT) (33). If NO, error After executing the process and ending the printing process, if YES, wait for the trigger pulse to be generated for the number of times m determined as the inter-character pulse number, that is, to feed the main body 1 by idle until the trigger pulse is generated for the number of times m. Step (34), Step (4
1) Proceed to the following.

一方、ステップ(32)の判断で、YESの場合は文字コ
ード21に対応するフォントデータをROM15のキャラクタ
ジェネレータCGからRAM16のフォントエリアFAに格納し
(35)、ドット列カウンタDCに1文字分のドット列数n
をセットする(36)。次いで、トリガパルスPP1〜PP3が
立ち下がるのを順次待機し(37)、トリガパルスPP1〜P
P3が立ち下がる毎にフォントエリアFAのドット列カウン
タDCで示されるドット列(FA(DC))を印字し(38)、
ドット列カウンタDCを「−1」更新(DCDC−1)する
(39)。
On the other hand, if the result of the determination in step (32) is YES, the font data corresponding to the character code 21 is stored in the font area FA of the RAM 16 from the character generator CG of ROM 15 (35), and the dot string counter DC for one character is stored. Number of dot rows n
Set (36). Next, it waits for the trigger pulses PP1 to PP3 to fall (37) in sequence, and the trigger pulses PP1 to PP3.
Each time P3 falls, the dot row (FA (DC)) indicated by the dot row counter DC in the font area FA is printed (38),
The dot row counter DC is updated by "-1" (DCDC-1) (39).

次いで、ドット列カウンタDCが「−1」に一致したか
どうか判断し(40)、NOならばステップ(37)に戻り、
YESならばテキストポインタTPを「−1」更新(TPTP
−1)し(41)、ステップ(31)に戻る。
Next, it is judged whether or not the dot string counter DC matches "-1" (40), and if NO, the process returns to step (37),
If YES, update text pointer TP to "-1" (TPTP
-1) and then (41) and returns to step (31).

これにより、正逆印字方向判定フローに基づいて印字
データの処理順序を逆転し、かつ印字タイミングを通常
印字の場合トリガパルスの立ち上りにに設定するととも
に、逆方向印字の際には、トリガパルスの立ち下りに設
定して印字処理を実行でき、本体1の走査方向に左右さ
れずに記録データに印字処理を実行できる。
As a result, the print data processing sequence is reversed based on the forward / reverse print direction determination flow, and the print timing is set to the rising edge of the trigger pulse in the case of normal printing, and in the case of reverse printing, the trigger pulse The printing process can be executed by setting to the trailing edge, and the printing process can be executed on the recording data regardless of the scanning direction of the main body 1.

また、従来のようなフォトセンサを2個設けて各々の
位相差から判定していた移動方向検出を単一のフォトセ
ンサで精度よく移動方向検出を実行でき、フォトセンサ
追加に伴なう本体1の外形寸法の設計制約を軽減して装
置を小型化できる。
Further, it is possible to accurately detect the moving direction, which is determined by the phase difference between each of the two photo sensors as in the conventional art, by using a single photo sensor. It is possible to reduce the size of the device by reducing the design constraint of the outer dimensions of the device.

以上説明したように、上記実施例によれば、記録走査
体の移動方向に左右されずに手動走査記録を実行でき、
記録材上での印字方向の制限から解放され、任意の走査
方向に所望とする記録データを効率よく印字できる。
As described above, according to the above-described embodiment, the manual scanning recording can be executed without being influenced by the moving direction of the recording scanning body,
It is possible to efficiently print desired recording data in any scanning direction without being restricted by the printing direction on the recording material.

また、記録走査体の走査方向判定を2つのフォトセン
サによる走査方向判定に比べてコストを大幅に削減でき
るとともに、フォトセンサを設けるスペースを解放で
き、記録走査体の形状を操作性に優れて、かつ小型にで
きる等の優れた利点を有する。
Further, the scanning direction determination of the recording scanning body can be significantly reduced compared to the scanning direction determination by the two photosensors, the space for providing the photosensor can be released, and the shape of the recording scanning body is excellent in operability. Moreover, it has an excellent advantage that it can be made compact.

〔発明の効果〕〔The invention's effect〕

以上説明したように、この発明によれば、前記信号発
生手段から発生される前記パルス信号列の変化を検出し
て判別手段が前記単一スリット円板の回転方向を判別
し、該判別結果に基づいて前記走査体の走査方向を判断
して、制御手段が前記記録データの印字を制御するの
で、走査体の移動に連動して回転する単一スリット円板
に配列された複数のスリットを検知して回転方向を判別
して、該判別された回転方向から走査方向に最適な印字
を双方向に行うことができる効果を奏する。
As described above, according to the present invention, the discriminating means discriminates the rotation direction of the single slit disc by detecting the change in the pulse signal train generated from the signal generating means, and the discriminating result is obtained. The control means controls the printing of the recording data based on the judgment of the scanning direction of the scanning body based on the above, so that a plurality of slits arranged in a single slit disk rotating in association with the movement of the scanning body are detected. Thus, the rotation direction is determined, and the optimum printing can be bidirectionally performed in the scanning direction from the determined rotation direction.

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

第1図はこの発明の一実施例を示す手動走査型記録装置
の構成を説明する内部構造斜視図およびその要部断面
図、第2図は、第1図に示したプリンタ基板の構成を説
明する制御ブロック図、第3図は、第2図に示したRAM
のテキストエリアTXTのメモリ空間を説明する模式図、
第4図は、第2図に示したRAMのフォントエリアFAに格
納される文字フォントを説明する模式図、第5図は、第
1図に示したスリット円板の構造を説明する平面図、第
6図は、第5図に示したスリット円板の回転により発生
するトリガパルス列を説明するタイミングチャート、第
7図はこの発明による印字開始制御手順を説明するフロ
ーチャートである。 図中、1は本体、2は信号ライン、3は検出ローラ、5
はスリット円板、6はフォトセンサ、7は記録ヘッド、
8はプリント基板、10は補助ローラ、11はCPU、12は印
字ヘッド部、13はヘッド移動検出部、14はトリガパルス
発生器、15はROM、16はRAMである。
FIG. 1 is a perspective view of the internal structure for explaining the structure of a manual scanning type recording apparatus showing an embodiment of the present invention and a sectional view of the main part thereof, and FIG. 2 is a view for explaining the structure of the printer substrate shown in FIG. FIG. 3 is a control block diagram of the RAM shown in FIG.
Schematic diagram explaining the memory space of the text area TXT,
FIG. 4 is a schematic diagram for explaining the character fonts stored in the font area FA of the RAM shown in FIG. 2, and FIG. 5 is a plan view for explaining the structure of the slit disk shown in FIG. FIG. 6 is a timing chart for explaining a trigger pulse train generated by the rotation of the slit disk shown in FIG. 5, and FIG. 7 is a flowchart for explaining a print start control procedure according to the present invention. In the figure, 1 is a main body, 2 is a signal line, 3 is a detection roller, and 5
Is a slit disk, 6 is a photo sensor, 7 is a recording head,
Reference numeral 8 is a printed circuit board, 10 is an auxiliary roller, 11 is a CPU, 12 is a print head unit, 13 is a head movement detection unit, 14 is a trigger pulse generator, 15 is ROM, and 16 is RAM.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】手動走査を検知してデータ供給源から供給
される記録データを印字する記録ヘッドを収容する走査
体と、 前記走査体の移動に連動して回転する異なる幅のスリッ
トが配列された単一スリット円板と、 前記単一スリット円板の回転に応じて異なる幅のパルス
信号列を発生する信号発生手段と、 前記信号発生手段から発生される前記パルス信号列の変
化を検出して前記単一スリット円板の回転方向を判別す
る判別手段と、 前記判別手段の判別結果に基づいて前記走査体の走査方
向を判別して、前記記録データの印字を制御する制御手
段と、 を有することを特徴とする手動走査型記録装置。
1. A scanning body that accommodates a recording head that prints recording data supplied from a data supply source by detecting manual scanning, and slits of different widths that rotate in conjunction with the movement of the scanning body are arranged. A single slit disk, a signal generating means for generating a pulse signal train having a different width according to the rotation of the single slit disk, and detecting a change in the pulse signal train generated from the signal generating means. A discriminating means for discriminating the rotation direction of the single slit disc, and a control means for discriminating the scanning direction of the scanning body on the basis of the discrimination result of the discriminating means and controlling the printing of the recording data. A manual scanning type recording apparatus having.
JP62156630A 1987-06-25 1987-06-25 Manual scanning recorder Expired - Fee Related JP2556861B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62156630A JP2556861B2 (en) 1987-06-25 1987-06-25 Manual scanning recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62156630A JP2556861B2 (en) 1987-06-25 1987-06-25 Manual scanning recorder

Publications (3)

Publication Number Publication Date
JPS641565A JPS641565A (en) 1989-01-05
JPH011565A JPH011565A (en) 1989-01-05
JP2556861B2 true JP2556861B2 (en) 1996-11-27

Family

ID=15631890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62156630A Expired - Fee Related JP2556861B2 (en) 1987-06-25 1987-06-25 Manual scanning recorder

Country Status (1)

Country Link
JP (1) JP2556861B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103193364B (en) * 2013-04-19 2014-06-25 南京大学 Resource utilization method of ion exchange resin desorption solution

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57114915U (en) * 1981-01-10 1982-07-16
JPS61199369A (en) * 1985-02-28 1986-09-03 Konishiroku Photo Ind Co Ltd Simple image copying machine

Also Published As

Publication number Publication date
JPS641565A (en) 1989-01-05

Similar Documents

Publication Publication Date Title
US6624903B1 (en) Techniques for over-life encoding of media type and roll length
JP4470737B2 (en) Printing apparatus, program, and printing method
US7086714B2 (en) Method for finding recording-start position
JP2556860B2 (en) Manual scanning recorder
JP2556861B2 (en) Manual scanning recorder
CA1266710A (en) Device for printing quality control
JPH0230564A (en) Printer
JPH011564A (en) Manual scanning recording device
JP3149174B2 (en) Printer
JPH09109425A (en) Printer and recording paper used therein
US6648233B2 (en) Code reading method and device for recording material roll
JPH1110853A (en) Printer and printing medium used therefor
JPH011565A (en) Manual scanning recording device
JP2515339B2 (en) Manual scanning recorder
US20060169161A1 (en) Printer, printing method, program, computer system
JPH085226B2 (en) Manual scanning recorder
JP2678282B2 (en) Printing device
JP2515338B2 (en) Manual scanning recorder
JPH0930686A (en) Sheet sensing device
JPH07309039A (en) Printer
JP2003145858A (en) Recording apparatus
JP2010005906A (en) Printing apparatus
JPH11129495A (en) Method and mechanism for detecting residual quantity of ink in ink jet printer
JPH0129096Y2 (en)
KR0171544B1 (en) Ink ribbon and color patch sensing method of color printer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees