JPS639988B2 - - Google Patents

Info

Publication number
JPS639988B2
JPS639988B2 JP54084276A JP8427679A JPS639988B2 JP S639988 B2 JPS639988 B2 JP S639988B2 JP 54084276 A JP54084276 A JP 54084276A JP 8427679 A JP8427679 A JP 8427679A JP S639988 B2 JPS639988 B2 JP S639988B2
Authority
JP
Japan
Prior art keywords
character
printing
dot
pica
elite
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
Application number
JP54084276A
Other languages
Japanese (ja)
Other versions
JPS568275A (en
Inventor
Tadashi Ueno
Nobuhisa Yamazaki
Yutaka Nakajima
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.)
PII EFU YUU KK
Original Assignee
PII EFU YUU KK
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 PII EFU YUU KK filed Critical PII EFU YUU KK
Priority to JP8427679A priority Critical patent/JPS568275A/en
Publication of JPS568275A publication Critical patent/JPS568275A/en
Publication of JPS639988B2 publication Critical patent/JPS639988B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/485Typewriters 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

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 本発明は、1種類のドツト・パルスおよび1種
類のブロツク・パルスを使用して、パイカ/エリ
ート切換え印字および最適印字を行い得るように
したドツト・プリンタ装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a dot printer device capable of performing pica/elite switching printing and optimum printing using one type of dot pulse and one type of block pulse. be.

第1図はパイカ/エリート切換印字を行い得る
従来のドツト・プリンタ制御方式を示すものであ
つて、1はプリンタ制御部、2は1行分の文字バ
ツフア、3はマイクロプロセツサ、4はキヤラク
タ・ジエネレータ、5は印字駆動回路、6はニー
ドル印字ヘツド、7はパイカ用タイミングフエン
ス、8はエリート用タイミングフエンス、9と1
0はホトセンサをそれぞれ示している。
Figure 1 shows a conventional dot printer control system capable of Pica/Elite switching printing, in which 1 is a printer control unit, 2 is a character buffer for one line, 3 is a microprocessor, and 4 is a character controller.・Generator, 5 is print drive circuit, 6 is needle print head, 7 is timing fence for pica, 8 is timing fence for elite, 9 and 1
0 indicates a photo sensor.

ホスト計算機などから送られて来る文字コード
やフアンクシヨン・コードなどのデータは一旦プ
リンタ制御部1内の受信バツフアに格納され、マ
イクロプロセツサ3は送られて来たコードが文字
コードであるか、或はフアンクシヨン・コードで
あるかを解読する。文字コードであれば文字バツ
フア2内に格納され、フアンクシヨン・コードで
あれば所定の制御動作が行われる。文字バツフア
2内の文字コードはキヤラクタ・ジエネレータ4
によつてドツト・パターンに変換される。キヤラ
クタ・ジエネレータ4から取出されたドツト・パ
ターンは印字駆動回路5内のイメージ・バツフア
(図示せず)に格納される。ニードル印字ヘツド
6が印字用紙上を走行すると、ホトセンサ9又は
10からドツト・パルスが生ずるが、上記イメー
ジ・バツフア内のドツト・パターンはドツト・パ
ルスと同期して1列エレメントずつニードル印字
ヘツド6に送られ、これにより印字が実行され
る。
Data such as character codes and function codes sent from the host computer etc. are temporarily stored in the reception buffer in the printer control unit 1, and the microprocessor 3 determines whether the sent codes are character codes or not. is a function code. If it is a character code, it is stored in the character buffer 2, and if it is a function code, a predetermined control operation is performed. The character code in character buffer 2 is character generator 4.
is converted into a dot pattern by The dot pattern extracted from the character generator 4 is stored in an image buffer (not shown) within the print drive circuit 5. When the needle print head 6 travels over the printing paper, a dot pulse is generated from the photosensor 9 or 10, and the dot pattern in the image buffer is transferred to the needle print head 6 one row element at a time in synchronization with the dot pulse. Then, printing is executed.

ところで、印字文字の大きさにはパイカとエリ
ートとが存在する。パイカ文字の大きさは1/10イ
ンチ以内であり、エリート文字の大きさは1/12イ
ンチ以内である。第1図に示した従来のドツト・
プリンタ制御方式は、パイカ文字もエリート文字
も9×7ドツトで構成されている。
By the way, there are two sizes of printed characters: pica and elite. The size of pica letters is within 1/10 inch, and the size of elite letters is within 1/12 inch. The conventional dot shown in Figure 1
In the printer control system, both pica characters and elite characters are composed of 9x7 dots.

第2図はホトセンサ9,10から出力されるド
ツト・パルスを示すものであつて、パイカ用ドツ
ト・パルスの有意点間距離は1/60インチであり、
エリート用ドツト・パルスの有意点間距離1/72イ
ンチである。パイカ用文字印字の場合を説明する
と、#1ドツト・パルスの立上りでドツト・パタ
ーンの第1列目の列エレメントがニードル印字ヘ
ツド6に印加され、#1ドツト・パルスの立下り
で第2列目の列エレメントがニードル印字ヘツド
6に印加される。以下、同様にして#5ドツト・
パルスの立上りで第9列目の列エレメントがニー
ドル印字ヘツド6に印加される。#5ドツト・パ
ルスの立下り、#6ドツト・パルスの立上り及び
#6ドツト・パルスの立下り時点ではニードル印
字ヘツドにはデータが供給されない。#7ドツ
ト・パルスの立上りでは、次の文字のドツト・パ
ターンにおける第1列目の列エレメントがニード
ル印字ヘツド6に印加され、このあと同様な動作
が繰返される。エリート文字の印字もパイカ文字
の印字と同様にして行われる。
FIG. 2 shows the dot pulses output from the photosensors 9 and 10, and the distance between the significant points of the pica dot pulses is 1/60 inch.
The distance between the significant points of the elite dot pulse is 1/72 inch. To explain the case of pica character printing, the column element of the first column of the dot pattern is applied to the needle printing head 6 at the rising edge of the #1 dot pulse, and the column element of the second column is applied at the falling edge of the #1 dot pulse. A row element is applied to the needle print head 6. Hereafter, do the #5 dots in the same way.
The column element of the ninth column is applied to the needle print head 6 at the rising edge of the pulse. No data is supplied to the needle print head at the falling edge of the #5 dot pulse, the rising edge of the #6 dot pulse, and the falling edge of the #6 dot pulse. At the rising edge of the #7 dot pulse, the first column element in the dot pattern of the next character is applied to the needle print head 6, and the same operation is then repeated. Elite characters are printed in the same way as pica characters.

第1図に示したドツト・プリンタ制御方式は最
適印字を行つていない。最適印字とは、ニードル
印字ヘツドの印字前の停止位置、文字バツフアに
おける最初の印字データ位置および文字バツフア
内の最後の印字データ位置を参照して無駄なニー
ドル印字ヘツドの移動を行うことなく、印字を行
うことを意味している。第1図に示す如き形式の
ドツト・プリンタ制御方式に最適印字を適用しよ
うとすると、パイカ印字の最適印字用タイミング
フエンスと、エリート印字の最適印字用タイミン
グフエンスと、これにともなうホト・センサとを
必要とし、構成が著しく複雑となる。
The dot printer control system shown in FIG. 1 does not provide optimal printing. Optimal printing refers to the stop position of the needle print head before printing, the first print data position in the character buffer, and the last print data position in the character buffer, and prints without unnecessary movement of the needle print head. It means to do. When trying to apply optimal printing to the type of dot printer control system shown in Figure 1, it is necessary to use a timing fence for optimal printing for pica printing, a timing fence for optimal printing for elite printing, and a photo sensor that accompanies these. This makes the configuration significantly more complex.

本発明は、上記の考察に基づくものであつて、
簡単な構成で以てパイカ/エリート切換および最
適印字を行い得るようになつたドツト・プリンタ
制御方式を提供することを目的としている。そし
てそのため、本発明のドツト・プリンタ装置は、 ニードル印字ヘツド6と、 ニードル印字ヘツド6を支持する印字キヤリア
11と、 印字キヤリア11を左又は右に走行するキヤリ
ア用モータ44と、 1行分の印字情報を格納する文字バツフア48
と、 パイカ用キヤラクタ・ジエネレータ45と、 エリート用キヤラクタ・ジエネレータ46と、 パイカ印字か或いはエリート印字かを指定する
印字モード指示手段50と、 印字キヤリア11が単位距離移動する毎に、ド
ツト・パルスを生成するドツト・パルス生成手段
17,29,31と、 パイカ文字の文字枠の幅をmドツト、エリート
文字の文字枠の幅をnドツトとするとき、印字キ
ヤリア11が数mとnの公倍数に等しいドツト距
離移動する毎にキヤリア停止用の1個のブロツ
ク・パルスを生成するブロツク・パルス生成手段
18,30,32と、 各種の印字制御を行う制御装置34,35と、 を具備し、 制御装置34,35は、印字を行う際、ブロツ
ク・パルスの計数値で表現される印字キヤリア1
1の現在位置、文字バツフア48の内容、印字モ
ード指示手段50の内容を参照して次に最も短い
時間で処理を行う最適印字のための制御を行い、 パイカ印字の場合には、文字バツフア48に格
納されている文字コードをパイカ用キヤラクタ・
ジエネレータ45を使用して文字ドツト・パター
ンに変換し、パイカ用の文字ドツト・パターンを
1列ずつ上記ドツト・パルスと同期して上記印字
ヘツド6に送り、 エリート印字の場合には、文字バツフア48に
格納されている文字コードをエリート用キヤラク
タ・ジエネレータ46を使用して文字ドツト・パ
ターンに変換し、エリート用の文字ドツト・パタ
ーンを1列ずつ上記ドツト・パルスと同期して上
記印字ヘツド6に送る ことを特徴とするものである。以下、本発明を
図面を参照しつつ説明する。
The present invention is based on the above considerations, and includes:
It is an object of the present invention to provide a dot printer control system that can perform pica/elite switching and optimal printing with a simple configuration. Therefore, the dot printer device of the present invention includes the needle print head 6, the print carrier 11 that supports the needle print head 6, the carrier motor 44 that drives the print carrier 11 to the left or right, and a dot printer for one line. Character buffer 48 that stores print information
, a character generator 45 for pica, a character generator 46 for elite, a print mode instruction means 50 for specifying pica printing or elite printing, and a dot pulse every time the print carrier 11 moves a unit distance. The dot/pulse generating means 17, 29, 31 and the printing carrier 11 are set to be a common multiple of the numbers m and n, when the width of the character frame of pica characters is m dots and the width of the character frame of elite characters is n dots. It is equipped with block pulse generation means 18, 30, 32 that generates one block pulse for stopping the carrier every time the dot moves an equal distance, and control devices 34, 35 that perform various printing controls. When printing, the devices 34 and 35 use a print carrier 1 expressed by a count value of block pulses.
1, the contents of the character buffer 48, and the contents of the print mode instruction means 50, and performs control for optimal printing that performs processing in the shortest time.In the case of pica printing, the character buffer 48 The character code stored in the Pica character
The generator 45 is used to convert the character dot pattern into a character dot pattern, and the character dot pattern for pica is sent one row at a time to the print head 6 in synchronization with the dot pulse, and in the case of elite printing, the character buffer 48 The character code stored in the elite character generator 46 is used to convert the character code stored in the character dot pattern into a character dot pattern, and the elite character dot pattern is sent one row at a time to the print head 6 in synchronization with the dot pulse. It is characterized by sending. Hereinafter, the present invention will be explained with reference to the drawings.

第3図は本発明におけるプリンタ機構部の1例
の正面図、第4図は本発明におけるタイミングフ
エンスの1例の正面図、第5図はタイミングフエ
ンス・センサの斜視図、第6図は本発明の1実施
例の電気回路図、第7図はパイカ/エリート最短
距離印字制御の処理を示すフローチヤート、第8
図はパイカ/エリート印字切換制御の処理を示す
フローチヤート、第9図は最適印字処理で使用さ
れる各種の位置情報を説明するための図、第10
図はタイミング出力信号TH1とTH2の関係を
示す図、第11図はタイミング出力信号とドツト
位置関係を示す図である。
3 is a front view of an example of a printer mechanism according to the present invention, FIG. 4 is a front view of an example of a timing fence according to the present invention, FIG. 5 is a perspective view of a timing fence sensor, and FIG. 6 is a front view of an example of a timing fence according to the present invention. FIG. 7 is an electric circuit diagram of one embodiment of the invention, and FIG. 8 is a flowchart showing processing of Pica/Elite shortest distance printing control.
The figure is a flowchart showing the Pica/Elite print switching control process.
The figure shows the relationship between timing output signals TH1 and TH2, and FIG. 11 shows the relationship between timing output signals and dot positions.

第3図ないし第5図において、11はキヤリ
ア、12はインクリボン・カセツト、13と14
は機枠、15は上部キヤリア支持軸、16は下部
キヤリア支持軸、17はドツト・パルス用タミン
グフエンス、18はブロツク・パルス用タイミン
グフエンス、19はベルト、20と21はプリ
ー、22はタイミングフエンス・センサ、23は
右端センサ、24は左端センサ、25は印字用
紙、26はインクリボン、27はタイミングフエ
ンス板、28はセンサ支持枠、29と30は発光
素子、31と32は受光素子をそれぞれ示してい
る。
In Figures 3 to 5, 11 is a carrier, 12 is an ink ribbon cassette, 13 and 14
15 is the machine frame, 15 is the upper carrier support shaft, 16 is the lower carrier support shaft, 17 is the timing fence for dot/pulse, 18 is the timing fence for block/pulse, 19 is the belt, 20 and 21 are the pulleys, and 22 is the timing fence.・Sensors, 23 is a right end sensor, 24 is a left end sensor, 25 is a printing paper, 26 is an ink ribbon, 27 is a timing fence board, 28 is a sensor support frame, 29 and 30 are light emitting elements, 31 and 32 are light receiving elements, respectively. It shows.

ニードル印字ヘツド6は縦に並んだ7本の印字
ピン(図示せず)と、7本の印字ピンに対応して
設けられた7個の励磁線輪(図示せず)を有して
いるものであり、励磁線輪が励磁されると、対応
する印字ピンが突出し、インクリボン26によつ
て印字用紙25にドツトが印字される。キヤリア
11はニードル印字ヘツド6およびインクリボ
ン・カセツト12を支持している。キヤリア11
はベルト19によつて左右に走行する。キヤリア
11が右又は左へ走行すると、インクリボン・カ
セツト12はインクリボン26を回動する。キヤ
リア11が左端に達すると、左端センサ24は論
理「1」信号を出力し、キヤリア11が右端に達
すると、右端センサ23が論理「1」信号を出力
する。また、キヤリア11が右又は左へ走行する
と、タイミングフエンス・センサ22がドツト・
パルスおよびブロツク・パルスを出力する。
The needle printing head 6 has seven printing pins (not shown) arranged vertically and seven excitation wire rings (not shown) provided corresponding to the seven printing pins. When the excitation coil is excited, the corresponding printing pin protrudes, and a dot is printed on the printing paper 25 by the ink ribbon 26. Carrier 11 supports needle print head 6 and ink ribbon cassette 12. carrier 11
is run left and right by a belt 19. When the carrier 11 travels to the right or left, the ink ribbon cassette 12 rotates the ink ribbon 26. When the carrier 11 reaches the left end, the left end sensor 24 outputs a logic "1" signal, and when the carrier 11 reaches the right end, the right end sensor 23 outputs a logic "1" signal. Also, when the carrier 11 moves to the right or left, the timing fence sensor 22
Outputs pulse and block pulses.

第4図は、ドツト・パルス用タイミングフエン
ス17およびブロツク・パルス用タイミングフエ
ンス18が設けられたタイミングフエンス板27
を示すものである。タイミングフエンス板27
は、例えば透明なプラスチツク板から作られてい
る。ドツト・パルス用タイミングフエンス17
は、幅1/120インチの黒線を1/120インチの透明間
隔をおいて透明プラスチツク板の上半分に印刷す
ることによつて作られ、プロツク・パルス用タイ
ミングフエンス18は1/12インチの黒線を1.5イ
ンチ毎に透明プラスチツク板の下半部に印刷する
ことによつて作られる。即ち、ドツト・パルス用
タイミングフエンス17においては黒線の左端と
次の黒線の左端までの距離は1/60インチであり、
ブロツク・パルス用タイミングフエンスでは黒線
の左端と次の黒線の左端までの距離は1.5インチ
である。
FIG. 4 shows a timing fence plate 27 on which a timing fence 17 for dot pulses and a timing fence 18 for block pulses are provided.
This shows that. Timing fence board 27
is made, for example, from a transparent plastic board. Timing fence 17 for dot pulse
is made by printing 1/120 inch wide black lines on the top half of a transparent plastic plate with 1/120 inch clear spacing; It is created by printing black lines every 1.5 inches on the bottom half of a clear plastic board. That is, in the timing fence 17 for dot pulses, the distance between the left end of a black line and the left end of the next black line is 1/60 inch.
For block pulse timing fences, the distance from the left edge of one black line to the left edge of the next black line is 1.5 inches.

第5図はタイミングフエンス・センサ22の斜
視図である。タイミングフエンス・センサ22
は、コ字形のセンサ支持枠28と、発光素子2
9,30と、受光素子31,32を有している。
コ字形支持枠28は、タイミングフエンス板27
にまたがつており、コ字形支持枠28が移動する
と、受光素子31からドツト・パルスTH1が出
力され、受光素子32からブロツク・パルスTH
2が出力される。
FIG. 5 is a perspective view of the timing fence sensor 22. Timing fence sensor 22
is a U-shaped sensor support frame 28 and a light emitting element 2.
9 and 30, and light receiving elements 31 and 32.
The U-shaped support frame 28 is a timing fence plate 27
When the U-shaped support frame 28 moves, the light receiving element 31 outputs a dot pulse TH1, and the light receiving element 32 outputs a block pulse TH.
2 is output.

第6図は本発明の1実施例の電気回路図であつ
て、33は制御回路、34はマイクロプロセツ
サ、35はROM、36は共有RAM、37はIO
ポート、38と39はドライバ、40ないし43
はアンプ、44はキヤリア用モータ、45はパイ
カ用キヤラクタ・ジエネレータ、46はエリート
用キヤラクタ・ジエネレータ、47はコマンド・
レジスタ、48は文字バツフア、49―1ないし
49―9はイメージ・バツフアレジスタ、50は
モード・レジスタをそれぞれ示している。
FIG. 6 is an electrical circuit diagram of one embodiment of the present invention, in which 33 is a control circuit, 34 is a microprocessor, 35 is a ROM, 36 is a shared RAM, and 37 is an IO
Ports, 38 and 39 are drivers, 40 to 43
is the amplifier, 44 is the carrier motor, 45 is the Pica character generator, 46 is the Elite character generator, and 47 is the command generator.
48 is a character buffer, 49-1 to 49-9 are image buffer registers, and 50 is a mode register.

制御回路33はホスト計算機からの制御信号な
どを受信し、各種のクロツク信号および各種の制
御信号を生成し、これらの各種クロツク信号およ
び制御信号はマイクロプロセツサ34に印加され
る。ROM35には制御プログラム、パイカ用キ
ヤラクタ・ジエネータ45およびエリート用キヤ
ラクタジエネレータ46が設けられている。パイ
カ用キヤラクタ・ジエネレータ45には、9×7
ドツト構成の文字ドツト・パターンが複数個書込
まれ、エリート用キヤラクタ・ジエネレータ46
には、7×7ドツト構成の文字ドツト・パターン
が複数個格納されている。共有RAM36には、
コマンド・レジスタ47や文字バツフア48、イ
メージ・バツフア・レジスタ49―1ないし49
―9が設けられている。ホスト計算機は、共有
RAM36に印字データを書込む場合、マイクロ
プロセツサ34によるアクセスを禁止し、コマン
ド・レジスタ47に印字コマンドを書込み、次に
文字バツフア48に印字データを書込み、さらに
モード・レジスタ50にパイカかエリートかを示
す情報を書込む。所望の情報を書込んだ後、ホス
ト計算機はマイクロプロセツサ34に割込をかけ
る。マイクロプロセツサ34は、割込みを受ける
と、コマンド・レジスタ47の印字コマンドを読
取り、印字処理の実行を開始する。文字バツフア
48内の文字コードはパイカ用キヤラクタ・ジエ
ネレータ45又はエリート用キヤラクタ・ジエネ
レータ46によつてドツト・パターンに変換さ
れ、このドツト・パターンがイメージ・バツフ
ア・レジスタ49―1,49―2、……49―9
に逐次書込まれる。パイカ用キヤラクタ・ジエネ
レータ45を使用するか、或はエリート用キヤラ
クタ・ジエネレータ46を使用するかは、モー
ド・レジスタ50の内容によつて決定される。イ
メージ・バツフア・レジスタ49―1,49―
2,……49―9内のドツト・パターンはドツ
ト・パルスの立上りおよび立下りと同期してIO
ポート37およびドライバ38を通して逐次ニー
ドル印字ヘツド6に与えられる。印字を行うに際
し、キヤリア用モータ44によつて印字キヤリア
11が左又は右走行されることは当然である。印
字キヤリア11が左端に到達すると、左端センサ
24が論理「1」を出力し、右端に到達すると右
端センサ23が論理「1」を出力する。受光素子
31からの出力信号は、スライサ、アンプ42に
よつて2値化信号に変換される。IOポート37
は、アンプ42からの2値化信号の立上りおよび
立下りで割込みをマイクロプロセツサ34にかけ
る。これをドツト・パルス割込みと称する。受光
素子32の出力信号はスライサ・アンプ43で2
値化信号に変換される。マイクロプロセツサ34
は、印字を行う場合ドツト・パルス割込みが生ず
ると、イメージ・バツフア・レジスタ49―1,
49―2,……49―9の内容をニードル印字ヘ
ツド6へ転送するための処理を行う。
The control circuit 33 receives control signals etc. from the host computer, generates various clock signals and various control signals, and these various clock signals and control signals are applied to the microprocessor 34. The ROM 35 is provided with a control program, a pica character generator 45, and an elite character generator 46. The character generator 45 for Pica has 9×7
A plurality of dot-configured character dot patterns are written in the elite character generator 46.
A plurality of character dot patterns each having a 7×7 dot structure are stored in the . In the shared RAM 36,
Command register 47, character buffer 48, image buffer register 49-1 to 49
-9 is provided. Host computer is shared
When writing print data to the RAM 36, access by the microprocessor 34 is prohibited, a print command is written to the command register 47, then the print data is written to the character buffer 48, and the mode register 50 is set to either Pica or Elite. Write information indicating. After writing the desired information, the host computer interrupts the microprocessor 34. When the microprocessor 34 receives the interrupt, it reads the print command from the command register 47 and starts executing the print process. The character code in the character buffer 48 is converted into a dot pattern by the pica character generator 45 or the elite character generator 46, and this dot pattern is sent to the image buffer registers 49-1, 49-2, . . . …49-9
are written sequentially. Whether the pica character generator 45 or the elite character generator 46 is used is determined by the contents of the mode register 50. Image buffer register 49-1, 49-
2,...The dot pattern in 49-9 is IO in synchronization with the rising and falling of the dot pulse.
It is applied sequentially to needle print head 6 through port 37 and driver 38. When printing, it is a matter of course that the printing carrier 11 is moved to the left or right by the carrier motor 44. When the print carrier 11 reaches the left end, the left end sensor 24 outputs a logic "1", and when it reaches the right end, the right end sensor 23 outputs a logic "1". The output signal from the light receiving element 31 is converted into a binary signal by a slicer and an amplifier 42. IO port 37
interrupts the microprocessor 34 at the rise and fall of the binary signal from the amplifier 42. This is called a dot pulse interrupt. The output signal of the light-receiving element 32 is divided into two by a slicer amplifier 43.
It is converted into a digitized signal. Microprocessor 34
When printing, when a dot pulse interrupt occurs, the image buffer register 49-1,
Processing for transferring the contents of 49-2, . . . 49-9 to the needle print head 6 is performed.

第7図はパイカ/エリート最適印字制御の処理
を示すフローチヤートである。第7図における
DSA,DEA,BVHP,MCH,NCH,FVHPお
よびRVHPは次のような意味を有している。
FIG. 7 is a flowchart showing the process of Pica/Elite optimum printing control. In Figure 7
DSA, DEA, BVHP, MCH, NCH, FVHP and RVHP have the following meanings:

(イ) DSA DATA START CHARACTER NOの略で
あつて、印字データの最初の桁を意味している。
(b) DSA DATA START CHARACTER NO, which means the first digit of print data.

DSAは DSA=(DATA START ADDRESS)―31で
ある。
DSA is DSA = (DATA START ADDRESS) - 31.

(ロ) DEA DATA END CHARACTER NOの略であつ
て、印字データの最後の桁を意味している。
DEAは DEA=(DATA STOP ADDRESS)+31であ
る。
(b) Abbreviation for DEA DATA END CHARACTER NO, meaning the last digit of print data.
DEA is DEA = (DATA STOP ADDRESS) + 31.

(ハ) BVHP BEFORE VIRTUAL HOME POSITIONの
略であつて、印字動作前のキヤリアがあるブロツ
クを意味している。
(c) BVHP is an abbreviation for BEFORE VIRTUAL HOME POSITION, meaning a block with a carrier before printing.

(ニ) MCH BVHPの最初の桁番号であつて、パイカの場
合は、 MCH=(BVHP−1)×15+1 であり、エリートの場合は、 MCH=(BVHP―1)×18+1 である。
(d) MCH This is the first digit number of BVHP. For picas, MCH = (BVHP-1) x 15 + 1, and for elites, MCH = (BVHP - 1) x 18 + 1.

(ホ) NCH BVHPの最後の桁番号であつて、パイカの場
合は、 NCH=BVHP×15 であり、エリートの場合は NCH=BVHP×18 である。
(e) NCH This is the last digit number of BVHP. For picas, NCH = BVHP x 15, and for elites, NCH = BVHP x 18.

(ヘ) FVHP FRONT VIRTUAL HOME POSITIONの
略であつて、DSAのあるブロツクの1つ前のブ
ロツク番号を意味している。パイカであつて且つ
DSA≦15のとき FVHP=0 であり、また、エリートであつて且つ DSA≦18のとき FVHP=0 である。
(f) FVHP is an abbreviation for FRONT VIRTUAL HOME POSITION, which means the block number immediately before a certain block in DSA. Pica and
When DSA≦15, FVHP=0, and when the player is an elite and DSA≦18, FVHP=0.

(ト) RVHP REAR VIRTUAL HOME POSITIONの略
であつて、DEAのあるブロツクの1つ後のブロ
ツク番号を意味している。パイカであつて且つ
DEA≧121のとき RVAP=10 であり、エリートであつて且つDEA≧145のとき PVHP=10 である。
(G) RVHP is an abbreviation for REAR VIRTUAL HOME POSITION and means the block number after the block with DEA. Pica and
When DEA≧121, RVAP=10, and when you are an elite and DEA≧145, PVHP=10.

第9図はDSA,DEA,BVHP,MCH,
FVHPおよびRVHPを説明する図である。パイ
カの場合には1行に136文字印字することが出来、
エリートの場合には1行に163文字印字すること
が出来る。ブロツク用、パルス用タイミングフエ
ンス18は、10個のブロツクを有している。1つの
ブロツクの幅は1.5インチである。文字バツフア
48の「スペース」と書いてある部分にはスペー
ス・コードが格納され、「印字データ」と書いて
ある部分には文字コードが格納されている。
Figure 9 shows DSA, DEA, BVHP, MCH,
FIG. 3 is a diagram illustrating FVHP and RVHP. In the case of Pica, 136 characters can be printed on one line,
In the case of Elite, 163 characters can be printed on one line. The timing fence 18 for blocks and pulses has 10 blocks. The width of one block is 1.5 inches. character battle
48, the space code is stored in the part labeled "Space", and the character code is stored in the part labeled "Print data".

第7図は最適印字制御の処理を示すフローチヤ
ートである。マイクロプロセツサ34は印字コマ
ンドを読取ると、最適印字制御ルーチンの実行を
開始する。先ず、文字バツフア48の内容がセン
され、DSAとDEAが求められ、次いでBVHPか
らMCHとNCHとが求められる。MCHとNCHが
求められた後、キヤリア位置が検出される。信号
LSNSが論理「1」の場合には、右走行印字が行
われ、印字が終了すると、FVHPをBVHPとし
次の行に対する最短距離印字制御を最初から行
う。信号RSNSが論理「1」の場合には左走行印
字が行われ、印字が終了すると、RVHPが
BVHPとされ、次の行に対する最短距離印字制
御が最初から行われる。BVHPが数値0のとき
は右走行印字が行われ、BVHPが数値10のとき
は左走行印字が行われる。MCHがDEAと等しい
か又はDEAより大きいとき左走行印字が行われ
る。NCHがDEAより小さいときは、右走行印字
が行われる。MCAとDSAの差が、DEAとNCH
の差より大きいか又は等しい場合、キヤリア11
を右走行させる。そして、パルスTH1とTH2
が共にLレベルになるか否かをチエツクし、パル
スTH1とTH2が共にLレベルになると、次に
現在のブロツクがRVHPであるか否かをチエツ
クし、現在のブロツクがRVHPであつた場合に
は、キヤリア11をストツプすると共にRVHP
をBVHPとし、しかる後に左走行印字を行う。
MCHとDSAの差が、DEAとNCHの差より小さ
い場合、キヤリア11を左走行させる。そして、
パルスTH1とTH2が共にLレベルであるか否
かを常にチエツクし、パルスTH1とTH2が共
にLレベルになると、次に現在のブロツクが
FVHPであるか否かをチエツクし、現在のブロ
ツクがFVHPの場合には、キヤリア11をスト
ツプすると共にFVHPをBVHPとし、しかる後
に右走行印字を行う。ドツト・パルスTH1とブ
ロツク・パルスTH2の関係は第10図に示され
る。
FIG. 7 is a flowchart showing the process of optimal printing control. Upon reading the print command, microprocessor 34 begins executing an optimal print control routine. First, the contents of the character buffer 48 are read, DSA and DEA are obtained, and then MCH and NCH are obtained from BVHP. After the MCH and NCH are determined, the carrier position is detected. signal
When LSNS is logic "1", right-travel printing is performed, and when printing is completed, FVHP is set to BVHP and shortest distance printing control for the next line is performed from the beginning. When the signal RSNS is logic "1", left running printing is performed, and when printing is completed, RVHP is
BVHP, and shortest distance printing control for the next line is performed from the beginning. When BVHP has a value of 0, right-hand printing is performed, and when BVHP has a value of 10, left-hand printing is performed. Left-hand printing is performed when MCH is equal to or greater than DEA. When NCH is smaller than DEA, right-hand printing is performed. The difference between MCA and DSA is DEA and NCH
If the difference is greater than or equal to the carrier 11
drive to the right. And pulse TH1 and TH2
When both pulses TH1 and TH2 become L level, it next checks whether the current block is RVHP, and if the current block is RVHP. will stop Carrier 11 and RVHP.
is set as BVHP, and then left-hand printing is performed.
If the difference between MCH and DSA is smaller than the difference between DEA and NCH, the carrier 11 is caused to run to the left. and,
It constantly checks whether both pulses TH1 and TH2 are at L level, and when both pulses TH1 and TH2 become L level, the current block is
It is checked whether it is FVHP or not, and if the current block is FVHP, the carrier 11 is stopped and FVHP is set to BVHP, and then right-hand printing is performed. The relationship between dot pulse TH1 and block pulse TH2 is shown in FIG.

第8図はパイカ/エリート印字切換制御処理を
示すフローチヤートである。このフローチヤート
は、第7図の右走行印字および左走行印字の部分
を詳細に示すものである。右走行印字の場合には
キヤリア11を右走行させ、左走行の場合にはキ
ヤリアを左走行させる。しかる後に、パルスTH
1とTH2が共にLレベルであるか否かをチエツ
クし、パルスTH1とTH2が共にLレベルとな
ると、モード・レジスタ50の内容に基づきパイ
カであるか、或はエリートであるかをチエツクす
る。モード・レジスタ50の内容が「00」のとき
はパイカであり、「01」のときはエリートである。
パイカ印字のとき、文字バツフア48内の文字コ
ードをパイカ用キヤラクタ・ジエネレータ45に
よつてドツト・パターンに変換し、このドツト・
パターンがイメージ・バツフア・レジスタ49―
1ないし49―9にセツトする。なお、DTPIN
1ないし9とは、イメージ・バツフア・レジスタ
49―1ないし49―9のことである。1文字の
ドツト・パターンをイメージ・バツフア・レジス
タ49―1ないし49―9にセツトした後、ドツ
ト・パルスTH1の変化点をとらえて、イメー
ジ・バツフア・レジスタ49―1ないし49―9
の内容を出力ポードHEADに順次セツトする。
「出力ポートHEAD」とは、IOポート37におけ
るドライバ38に至る信号線が接続される端子を
意味している。文字バツフア48内の印字データ
が全て印字された後、パルスTH、とTH2が共
にLレベルとなるとキヤリア11をストツプす
る。
FIG. 8 is a flowchart showing the pica/elite print switching control process. This flowchart shows in detail the right-hand travel printing and left-hand travel printing portions in FIG. In the case of right-hand printing, the carrier 11 is made to run to the right, and in the case of left-hand printing, the carrier 11 is made to run to the left. After that, pulse TH
It is checked whether both pulses TH1 and TH2 are at L level, and when both pulses TH1 and TH2 are at L level, it is checked based on the contents of the mode register 50 whether it is a pica or an elite. When the content of the mode register 50 is "00", it is pica, and when it is "01", it is elite.
During pica printing, the character code in the character buffer 48 is converted into a dot pattern by the pica character generator 45, and this dot pattern is
The pattern is image buffer register 49-
Set from 1 to 49-9. In addition, DTPIN
1 to 9 refer to image buffer registers 49-1 to 49-9. After setting the dot pattern of one character in the image buffer registers 49-1 to 49-9, the change point of the dot pulse TH1 is captured and the dot pattern is set in the image buffer registers 49-1 to 49-9.
The contents of are set sequentially to the output port HEAD.
"Output port HEAD" means a terminal to which a signal line leading to the driver 38 in the IO port 37 is connected. After all the print data in the character buffer 48 has been printed, the carrier 11 is stopped when both the pulses TH and TH2 become L level.

モード・レジスタ50の内容がエリート印字を
指定している場合には、文字バツフア48の文字
コードを、エリート用キヤラクタ・ジエネレータ
46によつてドツト・パターンに変換し、このド
ツト・パターンをイメージ・バツフア・レジスタ
49―1ないし49―7にセツトする。1文字の
ドツト・パターンをイメージ・バツフア・レジス
タ49―1ないし49―7にセツトした後、ドツ
ト・パルスTH1の変化点をとらえてイメージ・
バツフア・レジスタ49―1ないし49―7の内
容を出力ポートHEADに順次セツトする。以後
の処理はパイカ印字の場合と同様である。
When the contents of the mode register 50 specify elite printing, the character code in the character buffer 48 is converted into a dot pattern by the elite character generator 46, and this dot pattern is converted into an image buffer. - Set in registers 49-1 to 49-7. After setting the dot pattern of one character in the image buffer registers 49-1 to 49-7, the image data is created by capturing the change point of the dot pulse TH1.
The contents of buffer registers 49-1 to 49-7 are sequentially set to output port HEAD. The subsequent processing is the same as in the case of pica printing.

第11図はタイミングフエンス出力TH1,
TH2とドツト位置の関係を示すものである。第
11図から判るように、パイカ文字は9個の列エ
レメントを有しており、エリート文字は7個の列
エレメントを有している。パイカの場合もエリー
トの場合もドツト・パルスTH1の立上りおよび
立下りで列エレメントの印字が行われる。パイカ
文字の文字枠の幅は12ドツトであり、エリート文
字の文字枠の幅は10ドツトである。
Figure 11 shows the timing fence output TH1,
This shows the relationship between TH2 and dot position. As can be seen in Figure 11, the pica character has nine column elements and the elite character has seven column elements. In both the pica and elite cases, row elements are printed at the rising and falling edges of the dot pulse TH1. The width of the character frame for pica characters is 12 dots, and the width of the character frame for elite characters is 10 dots.

以上の説明から明らかなように、本発明によれ
ば、1個のドツト・パルス用タイミングフエンス
と1個のブロツク・パルス用タイミングフエンス
を使用して、パイカ/エリート切替印字および最
適印字を行い得るので、高性能のドツト・プリン
タを安価に提供することが出来る。
As is clear from the above description, according to the present invention, Pica/Elite switching printing and optimal printing can be performed using one timing fence for dot pulses and one timing fence for block pulses. Therefore, a high-performance dot printer can be provided at low cost.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はパイカ/エリート切替印字を行い得る
従来のドツト・プリンタ制御方式を示す図、第2
図はホト・センサ9,10から出力されるドツ
ト・パルスを示す図、第3図は本発明におけるプ
リンタ機構部の1例の正面図、第4図は本発明に
おけるタイミングフエンスの1例の正面図、第5
図はタイミングフエンス・センサの斜視図、第6
図は本発明の1実施例の電気回路図、第7図はパ
イカ/エリート最短距離印字制御の処理を示すフ
ローチヤート、第8図はパイカ/エリート印字切
換制御の処理を示すフローチヤート、第9図は最
適印字処理で使用される各種の位置情報を説明す
るための図、第10図はタイミング出力信号TH
1とTH2の関係を示す図、第11図はタイミン
出力信号とドツト位置関係を示す図である。 11…印字キヤリア、12…インクリボン・カ
セツト,13と14…機枠、15…上部キヤリア
支持軸、16…下部キヤリア支持軸、17…ドツ
ト・パルス用タイミングフエンス、18…ブロツ
ク・パルス用タイミングフエンス、19…ベル
ト、20と21…プリー、22…タイミングフエ
ンス・センサ・23…右端センサ、24…左端セ
ンサ、25…印字用紙、26…インクリボン、2
7…タイミングフエンス板、28…センサ支持
枠、29と30…発光素子、31と32…受光素
子、33…制御回路、34…マイクロプロセツ
サ、35…ROM、36…共有RAM、37…IO
ポート、38と39…ドライバ、40ないし43
…アンプ、44…キヤリア用モータ、45…パイ
カ用キヤラクタ・ジエネレータ、46…エリート
用キヤラクタ・ジエネレータ、47…コマンド・
レジスタ、48…文字バツフア、49―1ないし
49―9…イメージ・バツフアレジスタ、50…
モード・レジスタ。
Figure 1 is a diagram showing a conventional dot printer control system that can perform pica/elite switching printing;
The figure shows dot pulses output from the photo sensors 9 and 10, FIG. 3 is a front view of an example of a printer mechanism according to the present invention, and FIG. 4 is a front view of an example of a timing fence according to the present invention. Figure, 5th
The figure is a perspective view of the timing fence sensor, No. 6.
The figure is an electric circuit diagram of one embodiment of the present invention, FIG. 7 is a flowchart showing the Pica/Elite shortest distance printing control process, FIG. 8 is a flowchart showing the Pica/Elite print switching control process, and FIG. The figure is a diagram to explain various position information used in optimal printing processing, and Figure 10 is a timing output signal TH.
FIG. 11 is a diagram showing the relationship between timing output signal and dot position. 11...Print carrier, 12...Ink ribbon cassette, 13 and 14...Machine frame, 15...Upper carrier support shaft, 16...Lower carrier support shaft, 17...Dot/pulse timing fence, 18...Block/pulse timing fence , 19... Belt, 20 and 21... Pulley, 22... Timing fence sensor, 23... Right end sensor, 24... Left end sensor, 25... Print paper, 26... Ink ribbon, 2
7... Timing fence board, 28... Sensor support frame, 29 and 30... Light emitting elements, 31 and 32... Light receiving elements, 33... Control circuit, 34... Microprocessor, 35... ROM, 36... Shared RAM, 37... IO
Ports, 38 and 39... Drivers, 40 to 43
...Amplifier, 44...Carrier motor, 45...Character generator for Pica, 46...Character generator for Elite, 47...Command
Register, 48...Character buffer, 49-1 to 49-9...Image buffer register, 50...
Mode register.

Claims (1)

【特許請求の範囲】 1 ニードル印字ヘツド6と、 ニードル印字ヘツド6を支持する印字キヤリア
11と、 印字キヤリア11を左又は右に走行するキヤリ
ア用モータ44と、 1行分の印字情報を格納する文字バツフア48
と、 パイカ用キヤラクタ・ジエネレータ45と、エ
リート用キヤラクタ・ジエネレータ46と、パイ
カ印字か或いはエリート印字かを指定する印字モ
ード指示手段50と、 印字キヤリア11が単位距離移動する毎に、ド
ツト・パルスを生成するドツト・パルス生成手段
17,29,31と、 パイカ文字の文字枠の幅をmドツト、エリート
文字の文字枠の幅をnドツトとするとき、印字キ
ヤリア11が数mとnの公倍数に等しいドツト距
離移動する毎にキヤリア停止用の1個のブロツ
ク・パルスを生成するブロツク・パルス生成手段
18,30,32と、 各種の印字制御を行う制御装置34,35と、 を具備し、 制御装置34,35は、印字を行う際、ブロツ
ク・パルスの計数値で表現される印字キヤリア1
1の現在位置、文字バツフア48の内容、印字モ
ード指示手段50の内容を参照して次に最も短い
時間で処理を行う最適印字のための制御を行い、 パイカ印字の場合には、文字バツフア48に格
納されている文字コードをパイカ用キヤラクタ・
ジエネレータ45を使用して文字ドツト・パター
ンに変換し、パイカ用の文字ドツト・パターンを
1列ずつ上記ドツト・パルスと同期して上記印字
ヘツド6に送り、 エリート印字の場合には、文字バツフア48に
格納されている文字コードをエリート用キヤラク
タ・ジエネレータ46を使用して文字ドツト・パ
ターンに変換し、エリート用の文字ドツト・パタ
ーンを1列ずつ上記ドツト・パルスと同期して上
記印字ヘツド6に送る。 ことを特徴とするドツト・プリンタ装置。
[Scope of Claims] 1. A needle print head 6, a print carrier 11 that supports the needle print head 6, a carrier motor 44 that drives the print carrier 11 to the left or right, and stores print information for one line. character battle 48
, a character generator 45 for pica, a character generator 46 for elite, a print mode instruction means 50 for specifying pica printing or elite printing, and a dot pulse every time the print carrier 11 moves a unit distance. The dot/pulse generating means 17, 29, 31 and the printing carrier 11 are set to be a common multiple of the numbers m and n, when the width of the character frame of pica characters is m dots and the width of the character frame of elite characters is n dots. It is equipped with block pulse generation means 18, 30, 32 that generates one block pulse for stopping the carrier every time the dot moves an equal distance, and control devices 34, 35 that perform various printing controls. When printing, the devices 34 and 35 use a print carrier 1 expressed by a count value of block pulses.
1, the contents of the character buffer 48, and the contents of the print mode instruction means 50, and performs control for optimal printing that performs processing in the shortest time.In the case of pica printing, the character buffer 48 The character code stored in the Pica character
The generator 45 is used to convert the character dot pattern into a character dot pattern, and the character dot pattern for pica is sent one row at a time to the print head 6 in synchronization with the dot pulse, and in the case of elite printing, the character buffer 48 The character code stored in the elite character generator 46 is used to convert the character code stored in the character dot pattern into a character dot pattern, and the elite character dot pattern is sent one row at a time to the print head 6 in synchronization with the dot pulse. send. A dot printer device characterized by:
JP8427679A 1979-07-02 1979-07-02 Dot printer control system Granted JPS568275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8427679A JPS568275A (en) 1979-07-02 1979-07-02 Dot printer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8427679A JPS568275A (en) 1979-07-02 1979-07-02 Dot printer control system

Publications (2)

Publication Number Publication Date
JPS568275A JPS568275A (en) 1981-01-28
JPS639988B2 true JPS639988B2 (en) 1988-03-03

Family

ID=13825922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8427679A Granted JPS568275A (en) 1979-07-02 1979-07-02 Dot printer control system

Country Status (1)

Country Link
JP (1) JPS568275A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6056576A (en) * 1983-09-07 1985-04-02 Fuji Xerox Co Ltd Character printer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5118542A (en) * 1974-08-03 1976-02-14 Sharp Kk Purintaano injihoshiki
JPS52155017A (en) * 1976-06-18 1977-12-23 Nippon Telegr & Teleph Corp <Ntt> Picture element type recording system
JPS5440525A (en) * 1977-09-07 1979-03-30 Hitachi Ltd Terminal device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5118542A (en) * 1974-08-03 1976-02-14 Sharp Kk Purintaano injihoshiki
JPS52155017A (en) * 1976-06-18 1977-12-23 Nippon Telegr & Teleph Corp <Ntt> Picture element type recording system
JPS5440525A (en) * 1977-09-07 1979-03-30 Hitachi Ltd Terminal device

Also Published As

Publication number Publication date
JPS568275A (en) 1981-01-28

Similar Documents

Publication Publication Date Title
JPS639988B2 (en)
JPS63128972A (en) Recorder
JPH0356549B2 (en)
JP2552830B2 (en) Printer device with bar code printing function
JP2706839B2 (en) Impact printer
JP2694376B2 (en) Impact printer
JP2746879B2 (en) Printer
JP3021863B2 (en) Dot matrix printer
JP2832984B2 (en) Printer
JP2582429B2 (en) Recording device
JPH0312733B2 (en)
JPH07220024A (en) Control method for optical reader
JPS63134276A (en) Printer
JPS6277753A (en) Printer device
JPS58124670A (en) Recording type desk-top calculator
JP3003266B2 (en) Serial printer
JP2690759B2 (en) Recording device
KR900000259B1 (en) Method for printing in a printer with daisy wheel
JPH0755566B2 (en) Serial printer with bar code printing function
JPS6354556B2 (en)
JPH0588675B2 (en)
JPH04263964A (en) Printer
JPS61262165A (en) Printing control apparatus
JPH0772902B2 (en) Bar code printing control method
JPS6111262A (en) Electronic typewriter