[go: up one dir, main page]

JP2843705B2 - Printing control device - Google Patents

Printing control device

Info

Publication number
JP2843705B2
JP2843705B2 JP4972992A JP4972992A JP2843705B2 JP 2843705 B2 JP2843705 B2 JP 2843705B2 JP 4972992 A JP4972992 A JP 4972992A JP 4972992 A JP4972992 A JP 4972992A JP 2843705 B2 JP2843705 B2 JP 2843705B2
Authority
JP
Japan
Prior art keywords
printing
thermal head
head
groove cam
platen
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
JP4972992A
Other languages
Japanese (ja)
Other versions
JPH05246055A (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.)
Consejo Superior de Investigaciones Cientificas CSIC
Original Assignee
Consejo Superior de Investigaciones Cientificas CSIC
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 Consejo Superior de Investigaciones Cientificas CSIC filed Critical Consejo Superior de Investigaciones Cientificas CSIC
Priority to JP4972992A priority Critical patent/JP2843705B2/en
Publication of JPH05246055A publication Critical patent/JPH05246055A/en
Application granted granted Critical
Publication of JP2843705B2 publication Critical patent/JP2843705B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Common Mechanisms (AREA)
  • Electronic Switches (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、サーマルプリンタを
印刷装置として用いるパーソナルワードプロセッサやパ
ーソナルコンピュータ等に適用する印刷制御装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing control device applied to a personal word processor or a personal computer using a thermal printer as a printing device.

【0002】[0002]

【従来の技術】従来よりパーソナルワードプロセッサや
パーソナルコンピュータにおいて、内蔵プリンタとし
て、また外部接続用のプリンタとして小型軽量で印字品
位の高いサーマルプリンタが専ら用いられている。
2. Description of the Related Art Conventionally, in personal word processors and personal computers, thermal printers of small size, light weight and high print quality have been exclusively used as built-in printers and as printers for external connection.

【0003】このようなサーマルプリンタを用いる従来
のパーソナルワードプロセッサ等においては、印刷条件
として、印刷速度(低速/高速)および用紙(感熱紙/
普通紙)の選択を可能とし、印刷速度および用紙の選択
に応じてサーマルヘッドの発熱量を切り換えるようにし
ている。
[0003] In a conventional personal word processor or the like using such a thermal printer, printing conditions (low speed / high speed) and paper (thermal paper /
(Plain paper) can be selected, and the amount of heat generated by the thermal head is switched according to the printing speed and paper selection.

【0004】[0004]

【発明が解決しようとする課題】ところが、このような
従来の印刷制御装置では、サーマルヘッドのプラテンに
対するアップダウン制御については感熱紙を用いる感熱
印刷モードとインクリボンを用いる熱転写印刷モードに
拘らず、同様に行われていた。しかし、感熱紙に対する
サーマルヘッドの押圧力が高すぎれば、サーマルヘッド
の摺動により感熱紙表面に光沢のある条痕(いわゆるゴ
ースト)が生じる。また、普通紙に対する熱転写印刷の
際に、サーマルヘッドの押圧力が低すぎれば、インクリ
ボンに対する加熱が十分になされないとともに、用紙に
対する転写が確実に行われず、印字品位の極めて低い結
果しか得られない。このように印刷モードに応じて最適
なヘッド押圧力があり、通常は「感熱紙モードにおける
ヘッド押圧力<熱転写印刷モードにおけるヘッド押圧
力」の関係にある。また、インクリボンカセットはサー
マルヘッドが設けられているキャリッジに装着される
が、インクリボンカセットのリボンがサーマルヘッドと
プラテン間でスムーズに挿抜されるように、サーマルヘ
ッドのアップ状態でサーマルヘッドとプラテン間の間隙
を十分広くとっている。しかし、インクリボンカセット
を用いない印刷モードでは、サーマルヘッドのダウン状
態からアップ状態までの行程が長いため、時間的ロスが
大きく、高速印字ができないという問題があった。
However, in such a conventional printing control apparatus, the up-down control of the thermal head with respect to the platen is performed irrespective of the thermal printing mode using thermal paper and the thermal transfer printing mode using ink ribbon. Was done as well. However, if the pressing force of the thermal head against the thermal paper is too high, glossy streaks (so-called ghosts) are generated on the surface of the thermal paper due to sliding of the thermal head. Also, if the pressing force of the thermal head is too low during thermal transfer printing on plain paper, the ink ribbon will not be sufficiently heated and the transfer to the paper will not be performed reliably, resulting in very poor print quality. Absent. As described above, there is an optimum head pressing force according to the printing mode, and usually, there is a relation of “head pressing force in thermal paper mode <head pressing force in thermal transfer printing mode”. The ink ribbon cassette is mounted on the carriage provided with the thermal head.However, the ink ribbon cassette is inserted between the thermal head and the platen so that the ribbon of the ink ribbon cassette can be smoothly inserted and removed between the thermal head and the platen. The gap is wide enough. However, in the print mode in which the ink ribbon cassette is not used, the process from the down state to the up state of the thermal head is long, so that there is a problem that time loss is large and high-speed printing cannot be performed.

【0005】この発明の目的は、印刷モードに応じてサ
ーマルヘッドを異なった高さにアップダウン制御して印
刷を行う場合に、印刷中に何らかのエラーが生じても、
エラー解除後に、サーマルヘッドのアップダウン制御を
印刷モードに応じて適正に行えるようにした印刷制御装
置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a method for performing printing by controlling the thermal head up and down to different heights according to the printing mode, even if an error occurs during printing.
It is an object of the present invention to provide a print control device that can perform up / down control of a thermal head properly after an error is released, according to a print mode.

【0006】[0006]

【0007】[0007]

【0008】[0008]

【課題を解決するための手段】請求項1に係る印刷制御
装置は、プラテンに対し押圧/離間自在に支持したサー
マルヘッドと、ステッピングモータと、このステッピン
グモータにより回転する溝カムと、前記溝カムに係合し
て回動するとともに前記サーマルヘッドをプラテンに対
し押圧/離間方向に移動させる連結部材とを設けたヘッ
ド駆動部と、前記サーマルヘッドがプラテンから最も離
間した位置を基準として、前記ステッピングモータの回
転量によって、前記サーマルヘッドの位置を定めるモー
タ制御手段と、前記サーマルヘッドを用いた印刷中に印
刷異常エラーが生じたことを検出する印刷エラー検出手
段と、印刷エラー検出時に、前記ヘッド駆動部を制御し
て、前記サーマルヘッドをプラテンから最も離間した位
置へ移動させるヘッド駆動制御手段、からなる。
According to a first aspect of the present invention, there is provided a printing control apparatus comprising: a thermal head supported on a platen so as to be capable of being pressed / separated; a stepping motor; a groove cam rotated by the stepping motor; A head driving unit provided with a connecting member for rotating the thermal head in the pressing / separating direction with respect to the platen while rotating by engaging with the platen; and the stepping based on a position where the thermal head is most separated from the platen. Motor control means for determining the position of the thermal head according to the amount of rotation of the motor; printing error detection means for detecting that a printing error has occurred during printing using the thermal head; and Controlling the driving unit to move the thermal head to a position furthest away from the platen; De drive control means, composed of a.

【0009】[0009]

【0010】[0010]

【0011】[0011]

【作用】請求項1に係る印刷制御装置はヘッド駆動部と
印刷エラー検出手段とヘッド駆動制御手段とからなり、
ヘッド駆動部は、プラテンに対し押圧/離間自在に支持
したサーマルヘッドと、ステッピングモータと、ステッ
ピングモータにより回転する溝カムと、溝カムに係合し
て回動するとともにサーマルヘッドをプラテンに対し押
圧/離間方向に移動させる連結部材が設けられている。
したがって前記モータの回転によって溝カムが回転しこ
れに係合して連結部材が回動しサーマルヘッドがプラテ
ンに対し押圧/離間方向に移動する。印刷エラー検出手
段は印刷中に印刷異常エラーが生じれば、これを検出
し、ヘッド駆動制御手段は前記ヘッド駆動部を制御し
て、サーマルヘッドをプラテンから最も離間した位置へ
移動させる。プラテンに対してサーマルヘッドが最も離
間した位置が基準となるため、その後エラーが解除され
た後は、ステッピングモータの回転量によって、サーマ
ルヘッドを適正な位置へ誤りなく移動できるようにな
る。
According to a first aspect of the present invention, there is provided a print control apparatus including a head drive unit, a print error detection unit, and a head drive control unit.
The head drive unit is a thermal head supported so as to be pressed / separated from / to the platen, a stepping motor, a groove cam rotated by the stepping motor, and is engaged with the groove cam to rotate and press the thermal head against the platen. / A connecting member for moving in the separating direction is provided.
Accordingly, the rotation of the motor causes the groove cam to rotate and engage with the groove cam to rotate the connecting member, so that the thermal head moves in the pressing / separating direction with respect to the platen. If a printing error occurs during printing, the printing error detecting means detects this, and the head drive control means controls the head driving section to move the thermal head to a position furthest away from the platen. Since the position where the thermal head is farthest from the platen is used as a reference, after the error is removed, the thermal head can be moved to an appropriate position without error by the rotation amount of the stepping motor.

【0012】[0012]

【0013】[0013]

【0014】[0014]

【実施例】この発明の実施例であるパーソナルワードプ
ロセッサの印刷部におけるキャリッジの収容部の構造を
図1〜図4に示す。図1〜図4はサーマルヘッドの位置
の異なる4つの状態を示す。図1において1はサーマル
ヘッド、2はプラテンである。サーマルヘッド1は図1
に示すプラテン2に平行なC−Cを回転軸としてプラテ
ン2に対し押圧/離間自在に支持している。3はステッ
ピングモータ、4はモータギアである。また5は溝カム
であり、上面に図に示すような溝カムを設けるととも
に、周囲にモータギア4と噛合するギアを設けている。
6は溝カム5に係合し、Bを中心として回動する第1連
結部材、7は第1連結部材6に係合して回動する第2連
結部材である。この第2連結部材7は第1連結部材6に
対し引っ張りコイルバネ8で連結している。サーマルヘ
ッド1と第2連結部材7との間は引っ張りコイルバネ
(不図示)で連結していて、サーマルヘッド1は第2連
結部材7の回動に応じてアップダウンを行う。さらに、
この第2連結部材7はねじりバネ9によって、Bを中心
として時計方向に常に付勢している。したがって溝カム
5が回転し、第1連結部材6の溝カム係合部6aと溝カ
ム5の中心Aとの距離に応じてサーマルヘッド1の位置
が定まる。いま、モータ3がCCW(反時計方向)に回
転して、図2に示すように、第1連結部材6の溝カム係
合部6aと溝カム5の中心Aとの距離が最も近くなった
時、第2連結部材7によってサーマルヘッド1はプラテ
ン2に押圧される。その際、図1に示したコイルバネ8
がわずかに伸び、その張力およびねじりバネ9の復元力
に応じた押圧力でサーマルヘッド1はプラテン2に当接
する。図2に示す状態からモータ3がさらにCCW方向
に回転して図3に示す位置にまで溝カム5が回転した場
合、第1連結部材6および第2連結部材7がわずかに引
き戻され、これに連動してサーマルヘッド1がプラテン
2からわすがに離間する。その後、たとえばモータ3を
CW(時計方向)に回転して、図4に示す位置にまで溝
カム5が回転すれば、第1連結部材6および第2連結部
材7によってサーマルヘッド1がプラテン2に押圧され
る。ただし、図2に示した状態とは異なり、第1連結部
材6の溝カム係合部6aと溝カム5の中心Aとの距離は
図2に示した状態より長い。このため、サーマルヘッド
1のプラテン2に対する押圧力は低い。
1 to 4 show the structure of a storage section of a carriage in a printing section of a personal word processor according to an embodiment of the present invention. 1 to 4 show four states in which the position of the thermal head is different. In FIG. 1, 1 is a thermal head, and 2 is a platen. The thermal head 1 is shown in FIG.
Are supported on the platen 2 so as to be freely pressed / separated with respect to the platen 2 using a CC parallel to the platen 2 as a rotation axis. 3 is a stepping motor, and 4 is a motor gear. Reference numeral 5 denotes a groove cam, which is provided with a groove cam as shown in the figure on the upper surface and a gear that meshes with the motor gear 4 around the groove cam.
Reference numeral 6 denotes a first connection member that engages with the groove cam 5 and rotates about B, and reference numeral 7 denotes a second connection member that engages with the first connection member 6 and rotates. The second connecting member 7 is connected to the first connecting member 6 by a tension coil spring 8. The thermal head 1 and the second connecting member 7 are connected by a tension coil spring (not shown), and the thermal head 1 moves up and down according to the rotation of the second connecting member 7. further,
The second connecting member 7 is constantly urged clockwise about B by a torsion spring 9. Therefore, the groove cam 5 rotates, and the position of the thermal head 1 is determined according to the distance between the groove cam engaging portion 6a of the first connecting member 6 and the center A of the groove cam 5. Now, the motor 3 rotates CCW (counterclockwise), and as shown in FIG. 2, the distance between the groove cam engaging portion 6a of the first connecting member 6 and the center A of the groove cam 5 becomes closest. At this time, the thermal head 1 is pressed against the platen 2 by the second connecting member 7. At this time, the coil spring 8 shown in FIG.
The thermal head 1 contacts the platen 2 with a pressing force corresponding to the tension and the restoring force of the torsion spring 9. When the motor 3 further rotates in the CCW direction from the state shown in FIG. 2 and the groove cam 5 rotates to the position shown in FIG. 3, the first connecting member 6 and the second connecting member 7 are slightly pulled back, and In conjunction with this, the thermal head 1 is separated from the platen 2 as expected. Thereafter, for example, when the motor 3 is rotated clockwise (CW) and the groove cam 5 is rotated to the position shown in FIG. 4, the thermal head 1 is attached to the platen 2 by the first connecting member 6 and the second connecting member 7. Pressed. However, unlike the state shown in FIG. 2, the distance between the groove cam engaging portion 6a of the first connecting member 6 and the center A of the groove cam 5 is longer than the state shown in FIG. Therefore, the pressing force of the thermal head 1 on the platen 2 is low.

【0015】なお、図1および図2において10は溝カ
ム5の裏面側に設けているカム(端面カム)(不図示)
に係合してDを中心として回動する連結部材であり、通
常バネ11により連結部材11をカム側に当接させてい
る。この連結部材10には12で示すローラを設けてい
る。また、14は固定されているラック、13はこれに
係合回転するローラである。溝カム5が回転して図2に
示すように連結部材10が回動してローラ12がローラ
13に当接し、キャリッジが図において右方向に移動す
ればローラ12はCW方向、ローラ13はCCW方向に
回転し、これによりインクリボンカセットの巻き取りリ
ールを回転させる。
In FIGS. 1 and 2, reference numeral 10 denotes a cam (end face cam) provided on the back side of the groove cam 5 (not shown).
, And rotates around D, and the spring 11 normally brings the connecting member 11 into contact with the cam side. The connecting member 10 is provided with rollers indicated by 12. Reference numeral 14 denotes a fixed rack, and reference numeral 13 denotes a roller that engages and rotates with the rack. When the groove cam 5 rotates and the connecting member 10 rotates as shown in FIG. 2 and the roller 12 comes into contact with the roller 13 and the carriage moves rightward in the drawing, the roller 12 is in the CW direction and the roller 13 is in the CCW direction. , Thereby rotating the take-up reel of the ink ribbon cassette.

【0016】図1〜図4に示したように、サーマルヘッ
ド1のプラテン2に対する位置関係は溝カム5の回転位
置と対応して定まるが、溝カム5の位置とサーマルヘッ
ド1の状態との対応関係は次の通りである。
As shown in FIGS. 1 to 4, the positional relationship of the thermal head 1 with respect to the platen 2 is determined in accordance with the rotational position of the groove cam 5, and the position of the groove cam 5 and the state of the thermal head 1 are determined. The correspondence is as follows.

【0017】0P−熱転写モードにおけるヘッドアップ
位置(遊びを考慮した位置) 4P−熱転写モードにおけるヘッドアップ位置(図1の
状態) 90P−熱転写印刷モードにおけるヘッドダウン位置
(図2の状態) 124P−感熱印刷モードにおけるヘッドダウン位置
(図4の状態) 171P−感熱印刷モードにおけるヘッドアップ位置
(図3の状態) 173P−感熱印刷モードにおけるヘッドアップ位置
(遊びを考慮した位置) ここで、各数値はステッピングモータに対するパルス数
に相当し、“P”はパルスまたはポジョンの意味であ
る。
0P-Head-up position in thermal transfer mode (position considering play) 4P-Head-up position in thermal transfer mode (state in FIG. 1) 90P-Head down position in thermal transfer print mode (state in FIG. 2) 124P-thermosensitive 171P-Head-up position in thermal printing mode (state in FIG. 3) 173P-Head-up position in thermal printing mode (position considering play) Here, each numerical value is stepping This corresponds to the number of pulses to the motor, and “P” means a pulse or a position.

【0018】次に、図1〜図4に示したキャリッジを備
えた印刷部を内蔵するパーソナルワードプロセッサの制
御部の構成をブロック図として図5に示す。図5におい
てCPU30はROM31にあらかじめ書き込んだプロ
グラムを実行して後述する印刷用紙切断供給制御を行
う。RAM32は各種ワーキングエリアとして用いる。
Next, FIG. 5 is a block diagram showing the configuration of a control unit of a personal word processor incorporating a printing unit having the carriage shown in FIGS. In FIG. 5, the CPU 30 executes a program written in the ROM 31 in advance to perform printing paper cutting / supply control described later. The RAM 32 is used as various working areas.

【0019】キー制御部33はキーボード34の制御を
行い、CPU30はキー制御部33を介してキー操作内
容を読み取る。表示制御部35はLCDパネル36の表
示制御を行う。CPU30は表示制御部35に対し表示
データを書き込むことによって表示を行う。発熱体通電
回路37はサーマルヘッド部に設けられている発熱体3
8を駆動する。CPU30は発熱体通電回路37に対し
印刷データを出力することによって通電制御を行う。モ
ータ駆動回路39は各部のモータ40を駆動する。CP
U30はモータ駆動回路39に対し各相信号を出力する
ことによってモータ制御を行う。センサ読取回路41は
各部に設けらている各部センサ(キャリッジが最左端に
達したことを検出するセンサおよびインクリボンカセッ
ト検出センサを含む)42の読み取り制御を行い、CP
U30はセンサ読取回路41を介して各部センサの状態
を読み取る。
The key control unit 33 controls the keyboard 34, and the CPU 30 reads the key operation contents via the key control unit 33. The display control unit 35 controls display of the LCD panel 36. The CPU 30 performs display by writing display data to the display control unit 35. The heating element energizing circuit 37 includes a heating element 3 provided in the thermal head section.
8 is driven. The CPU 30 controls the energization by outputting print data to the heating element energizing circuit 37. The motor drive circuit 39 drives the motor 40 of each unit. CP
U30 controls the motor by outputting each phase signal to the motor drive circuit 39. The sensor reading circuit 41 controls reading of sensors (including a sensor for detecting that the carriage has reached the left end and an ink ribbon cassette detection sensor) 42 provided in each unit, and a CP.
U30 reads the state of each sensor via the sensor reading circuit 41.

【0020】次に、図5に示したCPU30の処理手順
をフローチャートとして図6〜図9に示す。印刷処理を
行う場合、図6に示すように、まずモータ3を173P
分正転させる(n1)。これにより、図1〜図4に示し
た溝カム5がどの位置にあっても図に示す状態にまで
回転する(溝カム5が図に示した状態からさらにモー
タ3に駆動パルスが加えられても脱調するだけであ
る)。その後、173P分逆転させる(n2)(この際
脱調は生じない。)。さらに、その後4P分正転させ、
溝カムの現在位置を「4」として記憶する(n3→n
4)。この位置は前述したように熱転写印刷モードにお
けるヘッドアップ状態であり、図1に示した状態とな
る。その後、キャリッジが最左端に達するまでキャリッ
ジをリターン方向へ移動させる(n5→n6)。キャリ
ッジが最左端に達したことを検出した後、その最も左端
から一定距離離れたホームポジションへキャリッジを移
動させる(n7)。続いてインクリボンカセットの有無
を検出する(n8)。その後、インクリボンカセットが
装着されていれば熱転写モードによる印刷処理、装着さ
れていなければ感熱印刷モードによる印刷処理を行う。
熱転写印刷モードでは、まず溝カムを90Pの位置まで
回転させてヘッドダウンを行い、キャリッジを駆動する
とともにサーマルヘッドの発熱体に対する通電制御を行
う(n9→n10→n11)。その後1行分の印刷を終
了すれば、溝カムを4Pの位置に戻すことによってヘッ
ドアップを行う(n12)。ステップn10〜n12の
処理を順次繰り返すことによって複数行にわたる印刷処
理を行う。一連の印刷処理を終了すれば、ヘッドアップ
の状態のまま処理を終了する(n12→n13→RET
URN)。感熱印刷モードでは、まず溝カムを124P
の位置に回転させてヘッドダウンを行い、キャリッジを
移動させるとともにサーマルヘッドの発熱体の通電制御
を行う(n14→n15)。1行分の印刷を終了すれば
溝カム171Pの位置まで回転させることによってヘ
ッドアップを行う(n16)。ステップn14〜n16
の処理を繰り返すことによって一連の印刷を行い、これ
を終了すれば、溝カムを4Pの位置に回転させて熱転写
印刷モードにおけるヘッドアップ状態と同一位置にヘッ
ドアップを行う(n17→n18)。もしステップn1
1またはステップn15の処理中に、たとえばキャリッ
ジが最左端にまで達するような異常が発生すれば、次に
述べるエラー処理を行う。なお、このような異常状態
は、印刷処理中にキャリッジに触れた場合や、静電気等
によるマイクロコンピュータの異常動作によって生じ
る。
Next, the processing procedure of the CPU 30 shown in FIG. 5 is shown as a flowchart in FIGS. When performing the printing process, first, as shown in FIG.
Rotate forward (n1). This further drive pulse applied to the motor 3 from the state be at any position grooved cam 5 shown in FIGS. 1 to 4 is rotated to the state shown in FIG. 3 which is (grooved cam 5 shown in FIG. 3 If they do, they will just step out). Thereafter, the rotation is reversed by 173P (n2) (step-out does not occur at this time). Furthermore, after that, rotate forward by 4P,
The current position of the groove cam is stored as “4” (n3 → n
4). This position is the head-up state in the thermal transfer printing mode as described above, and is in the state shown in FIG. Thereafter, the carriage is moved in the return direction until the carriage reaches the leftmost end (n5 → n6). After detecting that the carriage has reached the leftmost end, the carriage is moved to a home position that is a fixed distance away from the leftmost end (n7). Subsequently, the presence or absence of the ink ribbon cassette is detected (n8). Thereafter, if the ink ribbon cassette is mounted, the printing process in the thermal transfer mode is performed, and if not, the printing process in the thermal printing mode is performed.
In the thermal transfer printing mode, first, the groove cam is rotated to the position 90P to perform head down, drive the carriage, and control the energization of the heating element of the thermal head (n9 → n10 → n11). Thereafter, when printing for one line is completed, the head is raised by returning the groove cam to the position 4P (n12). Printing processing over a plurality of lines is performed by sequentially repeating the processing of steps n10 to n12. When a series of printing processes is completed, the process is terminated with the heads up (n12 → n13 → RET).
URN). In the thermal printing mode, first set the groove cam to 124P.
To move the carriage, and control the energization of the heating elements of the thermal head (n14 → n15). When printing of one line is completed, the head is raised by rotating the groove cam to the position of 171P (n16). Steps n14 to n16
A series of printings is performed by repeating the above processing, and when this is completed, the groove cam is rotated to the position 4P to perform head-up at the same position as the head-up state in the thermal transfer printing mode (n17 → n18). If step n1
If, for example, an abnormality occurs such that the carriage reaches the leftmost end during the processing of step 1 or step n15, the following error processing is performed. Note that such an abnormal state occurs when the carriage is touched during the printing process, or due to abnormal operation of the microcomputer due to static electricity or the like.

【0021】印刷異常エラーが生じた場合、図8に示す
ように、まずキャリッジを停止させ、サーマルヘッドの
発熱体の通電を停止する(n20)。その後、溝カムを
一旦173Pの位置へ移動させ、その後0Pの位置へ戻
す(n21→n22)。これによりたとえ溝カムがどの
ような位置にあっても、一旦173Pの位置にまで移動
し、その後0Pの位置まで復帰する。続いて印刷異常が
生じたことを表示する(n23)。
When a printing error occurs, as shown in FIG. 8, first, the carriage is stopped, and the energization of the heating element of the thermal head is stopped (n20). Thereafter, the groove cam is once moved to the position of 173P, and thereafter returned to the position of 0P (n21 → n22). Thus, regardless of the position of the groove cam, the groove cam temporarily moves to the position of 173P and thereafter returns to the position of 0P. Subsequently, it is displayed that a printing error has occurred (n23).

【0022】図9は図7においてステップn10,n1
2,n14,n16の処理手順を示すフローチャートで
ある。ヘッドダウンをすべき状態で、かつインクリボン
カセットが装着されている場合(熱転写印刷モードの場
合)、溝カムの現在位置と90Pとの差を計算する(n
30→n31→n32)。続いて現在位置を「90P」
として記憶し、ステップn32で求めた差分だけモータ
を駆動する(n34)。これにより溝カムは実際に90
Pの位置にまで回転する。もしヘッドダウンすべき状態
で、かつインクリボンカセットがない場合(感熱印刷モ
ード)の場合、溝カムの現在位置と124Pとの差を計
算し、現在位置を124Pとして記憶する(n35→n
36)。その後、ステップn35で求めた差分だけモー
タを駆動し、溝カムを実際に124Pの位置にまで回転
させる(n34)。ヘッドアップすべき状態でかつイン
クリボンカセットが装着されている場合、溝カムの現在
位置と4Pとの差を計算し、現在位置を4Pとして記憶
する(n37→n38→n39)。その後、ステップn
38で求めた差分だけモータを駆動し、これによって溝
カムを実際に4Pの位置にまで回転させる(n34)。
ヘッドアップすべき状態で、かつインクリボンカセット
が装着されていない場合には、溝カムの現在位置と17
1Pとの差を計算し、現在位置を171Pとして記憶す
る(n40→n41)。その後、ステップn40で求め
た差分だけモータは駆動し、これによって溝カムを実際
に171Pの位置にまで回転させる(n34)。
FIG. 9 shows steps n10 and n1 in FIG.
It is a flowchart which shows the processing procedure of 2, n14, n16. When the head is to be lowered and the ink ribbon cassette is mounted (in the case of the thermal transfer printing mode), the difference between the current position of the groove cam and 90P is calculated (n
30 → n31 → n32). Next, set the current position to “90P”
And the motor is driven by the difference obtained in step n32 (n34). As a result, the groove cam is actually 90
Rotate to position P. If the head should be moved down and there is no ink ribbon cassette (thermal printing mode), the difference between the current position of the groove cam and 124P is calculated and the current position is stored as 124P (n35 → n).
36). Thereafter, the motor is driven by the difference obtained in step n35, and the groove cam is actually rotated to the position 124P (n34). When the head is to be raised and the ink ribbon cassette is mounted, the difference between the current position of the groove cam and 4P is calculated, and the current position is stored as 4P (n37 → n38 → n39). Then, step n
The motor is driven by the difference obtained in step 38, whereby the groove cam is actually rotated to the position 4P (n34).
When the head is to be raised and the ink ribbon cassette is not mounted, the current position of the groove cam
The difference from 1P is calculated, and the current position is stored as 171P (n40 → n41). Thereafter, the motor is driven by the difference obtained in step n40, whereby the groove cam is actually rotated to the position of 171P (n34).

【0023】以上のようにして、印刷中に印刷異常エラ
ーが生じた場合に、印刷モードに拘らずサーマルヘッド
をプラテンから最も離れる状態にまでヘッドアップさせ
る。
As described above, when a printing error occurs during printing, the thermal head is raised up to the state farthest from the platen regardless of the printing mode.

【0024】また、一連の印刷処理が終了した時にもサ
ーマルヘッドがプラテンから最も離れる位置にヘッドア
ップさせる。さらに、サーマルヘッドの位置制御を、現
在位置から目的位置までの差分を求め、それに応じて溝
カムが回転するようにし、サーマルヘッドを任意の位置
から他の任意の位置へ正しく移動させる。
Also, when a series of printing processes is completed, the thermal head is raised to a position farthest from the platen. Further, the position of the thermal head is determined by calculating the difference between the current position and the target position, and the groove cam is rotated accordingly, so that the thermal head is correctly moved from any position to any other position.

【0025】[0025]

【発明の効果】請求項1に係る印刷制御装置によれば、
印刷中に印刷異常エラーが生じた場合に、印刷モードに
拘らず、サーマルヘッドがプラテンから最も離間した位
置すなわち基準位置に移動するため、その後のヘッド位
置にズレが生じることがなく、正しくヘッドの位置制御
を行うことができる。
According to the printing control apparatus of the first aspect,
If a printing error occurs during printing, the thermal head moves to the position furthest away from the platen, that is, the reference position, regardless of the printing mode. Position control can be performed.

【0026】[0026]

【0027】[0027]

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

【図1】この発明の実施例であるパーソナルワードプロ
セッサの印刷部におけるキャリッジの構造を示す図であ
り、溝カムが4Pの位置に相当する状態を示す。
FIG. 1 is a view showing a structure of a carriage in a printing unit of a personal word processor according to an embodiment of the present invention, showing a state where a groove cam corresponds to a position 4P.

【図2】この発明の実施例であるパーソナルワードプロ
セッサの印刷部におけるキャリッジの構造を示す図であ
り、溝カムが90Pの位置に相当する状態を示す。
FIG. 2 is a view showing a structure of a carriage in a printing unit of the personal word processor according to the embodiment of the present invention, showing a state where a groove cam corresponds to a position of 90P.

【図3】この発明の実施例であるパーソナルワードプロ
セッサの印刷部におけるキャリッジの構造を示す図であ
り、溝カムが171Pの位置に相当する状態を示す。
FIG. 3 is a view showing a structure of a carriage in a printing unit of the personal word processor according to the embodiment of the present invention, showing a state where a groove cam corresponds to a position of 171P.

【図4】この発明の実施例であるパーソナルワードプロ
セッサの印刷部におけるキャリッジの構造を示す図であ
り、溝カムが124Pの位置に相当する状態を示す。
FIG. 4 is a view showing a structure of a carriage in a printing unit of the personal word processor according to the embodiment of the present invention, and shows a state where a groove cam corresponds to a position of 124P.

【図5】この発明の実施例であるパーソナルワードプロ
セッサの制御部の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of a control unit of the personal word processor according to the embodiment of the present invention.

【図6】図5に示すCPUの処理手順を示すフローチャ
ートである。
6 is a flowchart showing a processing procedure of a CPU shown in FIG.

【図7】図5に示すCPUの処理手順を示すフローチャ
ートである。
FIG. 7 is a flowchart showing a processing procedure of a CPU shown in FIG. 5;

【図8】図5に示すCPUの処理手順を示すフローチャ
ートである。
8 is a flowchart showing a processing procedure of a CPU shown in FIG.

【図9】図5に示すCPUの処理手順を示すフローチャ
ートである。
FIG. 9 is a flowchart illustrating a processing procedure of a CPU illustrated in FIG. 5;

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

1−サーマルヘッド 2−プラテン 3−ステッピングモータ 4−モータギア 5−溝カム 6−第1連結部材 6a−第1連結部材の溝カム係合部 7−第2連結部材 8−引っ張りコイルバネ 9−ねじりバネ Reference Signs List 1-Thermal head 2-Platen 3-Stepping motor 4-Motor gear 5-Groove cam 6-First connection member 6A-Groove cam engaging portion of first connection member 7-Second connection member 8-Tension coil spring 9-Torsion spring

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平2−206577(JP,A) 特開 昭63−92469(JP,A) 特開 平3−221464(JP,A) 特開 平2−261683(JP,A) 実開 平3−126651(JP,U) (58)調査した分野(Int.Cl.6,DB名) B41J 2/32 B41J 25/304──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-2-206577 (JP, A) JP-A-63-92469 (JP, A) JP-A-3-221644 (JP, A) JP-A-2-206 261683 (JP, A) Hikaru Hei 3-126651 (JP, U) (58) Field surveyed (Int. Cl. 6 , DB name) B41J 2/32 B41J 25/304

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】プラテンに対し押圧/離間自在に支持たサ
ーマルヘッドと、ステッピングモータと、このステッピ
ングモータにより回転する溝カムと、前記溝カムに係合
して回動するとともに前記サーマルヘッドをプラテンに
対し押圧/離間方向に移動させる連結部材とを設けたヘ
ッド駆動部と、 前記サーマルヘッドがプラテンから最も離間した位置を
基準として、前記ステッピングモータの回転量によっ
て、前記サーマルヘッドの位置を定めるモータ制御手段
と、 前記サーマルヘッドを用いた印刷中に印刷異常エラーが
生じたことを検出する印刷エラー検出手段と、 印刷エラー検出時に、前記ヘッド駆動部を制御して、前
記サーマルヘッドをプラテンから最も離間した位置へ移
動させるヘッド駆動制御手段、 からなる印刷制御装置。
A stepping motor, a groove cam rotated by the stepping motor, a rotary cam engaged with the groove cam and rotating the thermal head by the platen. A motor for determining a position of the thermal head by a rotation amount of the stepping motor based on a position where the thermal head is most distant from a platen; Control means, printing error detecting means for detecting that a printing abnormality error has occurred during printing using the thermal head, and when detecting a printing error, controlling the head drive unit to move the thermal head most from the platen. A print control device comprising: a head drive control means for moving the print head to a separated position;
JP4972992A 1992-03-06 1992-03-06 Printing control device Expired - Fee Related JP2843705B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4972992A JP2843705B2 (en) 1992-03-06 1992-03-06 Printing control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4972992A JP2843705B2 (en) 1992-03-06 1992-03-06 Printing control device

Publications (2)

Publication Number Publication Date
JPH05246055A JPH05246055A (en) 1993-09-24
JP2843705B2 true JP2843705B2 (en) 1999-01-06

Family

ID=12839279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4972992A Expired - Fee Related JP2843705B2 (en) 1992-03-06 1992-03-06 Printing control device

Country Status (1)

Country Link
JP (1) JP2843705B2 (en)

Also Published As

Publication number Publication date
JPH05246055A (en) 1993-09-24

Similar Documents

Publication Publication Date Title
US5232297A (en) Printing device with margin setting for cut tape
JP2018122504A (en) Printer, printing method and printing program
US5318369A (en) Processing system with printer using exchangeable ink ribbon
JP2843705B2 (en) Printing control device
JP2567941B2 (en) Carriage controller
JPS6411468B2 (en)
JPH0421482A (en) Printer with paper width detector
US5540509A (en) Color printer with exchangeable ribbon cassettes
JP3260832B2 (en) Recording device
JP2972734B1 (en) Printer with print correction printhead
JP2000108390A (en) Thermal transfer printer
JP2582429B2 (en) Recording device
JP2694376B2 (en) Impact printer
JP3049458B2 (en) Thermal transfer recording device
JPH084298Y2 (en) Small printer
JP2815168B2 (en) Line feed control method for printer
JP3021863B2 (en) Dot matrix printer
JPH0664286A (en) Document processing apparatus
JPS60107376A (en) Printer
JPH01101174A (en) dot matrix printer
JPH0345366A (en) Recorder
JPH04323067A (en) Print gap adjustment device in printer
JPH0315783B2 (en)
JPH06155855A (en) Printer
JPS62242559A (en) Recorder

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071023

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081023

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081023

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20091023

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091023

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20101023

LAPS Cancellation because of no payment of annual fees