JPH05193232A - Printer operation control system - Google Patents

Printer operation control system

Info

Publication number
JPH05193232A
JPH05193232A JP800292A JP800292A JPH05193232A JP H05193232 A JPH05193232 A JP H05193232A JP 800292 A JP800292 A JP 800292A JP 800292 A JP800292 A JP 800292A JP H05193232 A JPH05193232 A JP H05193232A
Authority
JP
Japan
Prior art keywords
head
paper
line feed
line
control unit
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.)
Granted
Application number
JP800292A
Other languages
Japanese (ja)
Other versions
JP2697986B2 (en
Inventor
Yoshiharu Ikeda
義治 池田
Yutaka Hashimoto
裕 橋本
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.)
PFU Ltd
Original Assignee
PFU Ltd
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 PFU Ltd filed Critical PFU Ltd
Priority to JP4008002A priority Critical patent/JP2697986B2/en
Publication of JPH05193232A publication Critical patent/JPH05193232A/en
Application granted granted Critical
Publication of JP2697986B2 publication Critical patent/JP2697986B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

(57)【要約】 【目的】 本発明は、プリンタ動作制御方式に関し、用
紙の横ミシン目の左右端での用紙ジャムを防止すること
を目的とする。 【構成】 ヘッド5が用紙6の端部にある状態で用紙6
の横ミシン目を越える改行を行う場合に、ヘッド制御部
3がヘッド5を端部の左又は右へ所定の量だけ移動させ
た後に、改行制御部2が用紙6を所定の方向に移動させ
ることにより改行を行う。
(57) [Summary] [Object] The present invention relates to a printer operation control system, and an object thereof is to prevent a paper jam at the left and right edges of a horizontal perforation of a paper. [Structure] When the head 5 is at the edge of the paper 6, the paper 6
When performing a line feed beyond the horizontal perforations, the head control unit 3 moves the head 5 to the left or right of the end portion by a predetermined amount, and then the line feed control unit 2 moves the paper 6 in a predetermined direction. By doing this, a line break is performed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プリンタ動作制御方式
に関し、特に、印字ヘッドが用紙折り畳み用横ミシン目
の左右端にある状態で改行する場合におけるプリンタ動
作制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer operation control system, and more particularly to a printer operation control system in the case where a line feed is performed while the print head is at the left and right ends of the horizontal folding perforation for paper folding.

【0002】シリアルプリンタでは、印字ヘッドが用紙
の左端又は右端まで移動する場合がある。また、シリア
ルプリンタでは、用紙として折り畳み用の横ミシン目の
入ったものを用いることがある。
In a serial printer, the print head may move to the left edge or right edge of the paper. Further, in a serial printer, a sheet having a horizontal perforation for folding may be used as a sheet.

【0003】[0003]

【従来の技術】図9は従来技術説明図であり、印字ヘッ
ドが用紙折り畳み用横ミシン目の左右端に在る状態で改
行を行う場合の従来のプリンタ動作制御について示す。
2. Description of the Related Art FIG. 9 is an explanatory view of a conventional technique, showing a conventional printer operation control when a line feed is performed in a state where the print head is located at the left and right ends of the horizontal folding perforation for paper folding.

【0004】用紙6は連続帳票として用いられる用紙で
あって、用紙の折り畳みのため及び切り離して各帳票と
する等のため、横ミシン目61が各帳票毎に入ってい
る。用紙6は、図示矢印方向に、改行動作のために移動
される。このために、送り孔64が用いられる。
The sheet 6 is a sheet used as a continuous form, and a horizontal perforation 61 is provided for each form in order to fold the sheet and separate it into individual forms. The sheet 6 is moved in the direction of the arrow in the figure for the line feed operation. For this purpose, the feed hole 64 is used.

【0005】ヘッドは用紙6上を左右方向に移動して印
字62を行う。ヘッドの左右の移動と用紙6の矢印方向
への移動とにより、ヘッドの用紙6に対する相対的な移
動の経路63は、図示の如くになる。
The head moves left and right on the paper 6 to perform printing 62. The path 63 of the relative movement of the head with respect to the paper 6 is as shown in the figure by the left and right movement of the head and the movement of the paper 6 in the arrow direction.

【0006】この経路63において、図中a、bで示す
如き状態が生じる場合がある。例えば、aの場合は以下
の如き状態である。即ち、ヘッドが右から左へ移動して
“2DCBA”の順で印字した後、ある距離だけオーバ
ーランして停止する。この時、ヘッドは用紙6の左端に
在る。この状態で、“ABCD2”の行が当該ページ又
は帳票の最後の行であるので、改行動作が行われる。従
って、経路63は、aの部分において、ヘッドが横ミシ
ン目61の左端を通過するような経路となる。この後、
ヘッドは左から右へ移動してある距離だけ助走して“A
BCD3”の順で印字する。
In this route 63, there are cases where the states shown by a and b in the figure occur. For example, in the case of a, the state is as follows. That is, the head moves from right to left to print in the order of "2DCBA", and then overruns for a certain distance and stops. At this time, the head is at the left end of the paper 6. In this state, since the line "ABCD2" is the last line of the page or form, the line feed operation is performed. Therefore, the route 63 is a route in which the head passes the left end of the horizontal perforation 61 in the portion a. After this,
The head moves from left to right and runs for a certain distance,
Print in order of BCD3 ".

【0007】同様に、経路63は、bの部分において、
ヘッドが横ミシン目61の右端を通過するような経路と
なる。
Similarly, the path 63 has
The route is such that the head passes through the right end of the horizontal perforation 61.

【0008】[0008]

【発明が解決しようとする課題】図10及び図11は、
前述の従来技術の問題点を示す。用紙6は、図11に示
す如く、プラテン4に沿って図中矢印方向に改行動作の
ために移動する。用紙6と(印字)ヘッド5との間には
インクリボン7が介在し、更に、インクリボン7と用紙
6との間にはリボンマスク8が介在する。リボンマスク
8は、ヘッド5のピンでインクリボン7を用紙6に押し
当てた時に、その周囲のインクリボン7の非所望な部分
が用紙6に触れないようにするためのものであり、ヘッ
ド5と共に移動する。
10 and 11 show the following.
The problems of the above-mentioned prior art will be described. As shown in FIG. 11, the sheet 6 moves along the platen 4 in the direction of the arrow in the figure for a line feed operation. An ink ribbon 7 is interposed between the paper 6 and the (printing) head 5, and a ribbon mask 8 is interposed between the ink ribbon 7 and the paper 6. The ribbon mask 8 is for preventing an undesired portion of the ink ribbon 7 around the ribbon mask 8 from touching the paper 6 when the ink ribbon 7 is pressed against the paper 6 by the pin of the head 5. Move with.

【0009】リボンマスク8の中央には図10に示す如
き形状のマスク穴81が設けられており、このマスク穴
81を通してインクリボン7が用紙6に押し当てられ
る。なお、図示の如き四角形のマスク穴81の対角線の
交点をヘッド5の位置と見なして、図9におけるヘッド
5の経路63を示している(以下においても同様であ
る)。
A mask hole 81 having a shape as shown in FIG. 10 is provided at the center of the ribbon mask 8, and the ink ribbon 7 is pressed against the paper 6 through the mask hole 81. The path 63 of the head 5 in FIG. 9 is shown by regarding the intersection of the diagonal lines of the rectangular mask hole 81 as shown in the drawing as the position of the head 5 (the same applies below).

【0010】前述の経路63のaの部分において、リボ
ンマスク8と用紙6との関係は、図10に示す如くにな
る。この時、横ミシン目61での用紙6端部のふくらみ
量が大きいと、用紙6がマスク穴81の角に引っかか
り、用紙が図11の如くジャムを起こしてしまうという
問題があった。横ミシン目61での用紙6のふくらみ
は、用紙6をホッパ内に折り畳んで供給するため、横ミ
シン目61が必ず“山”と“谷”のくり返しとなるので
避けられない。
The relationship between the ribbon mask 8 and the paper 6 in the portion a of the path 63 is as shown in FIG. At this time, if the amount of bulging of the edge of the sheet 6 at the horizontal perforations 61 is large, the sheet 6 will be caught at the corner of the mask hole 81, and the sheet will jam as shown in FIG. The swelling of the paper 6 at the horizontal perforations 61 is unavoidable because the paper 6 is folded and fed into the hopper, and the horizontal perforations 61 always repeat "peaks" and "valleys".

【0011】本発明は、横ミシン目での用紙ジャムを防
止したプリンタ動作制御方式を提供することを目的とす
る。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a printer operation control system which prevents a paper jam at a horizontal perforation.

【0012】[0012]

【課題を解決するための手段】図1は本発明の原理構成
図であり、本発明によるプリンタの概略を示す。このプ
リンタは中央処理装置(CPU)及びメモリからなる処
理装置1を備える。処理装置1に、改行制御部2及びヘ
ッド制御部3が設けられる。
FIG. 1 is a block diagram of the principle of the present invention, showing the outline of a printer according to the present invention. This printer includes a processing unit 1 including a central processing unit (CPU) and a memory. A line feed control unit 2 and a head control unit 3 are provided in the processing device 1.

【0013】また、このプリンタにおいて、図11に示
したと同様に、用紙6と(印字)ヘッド6との間にはイ
ンクリボン7が介在し、更に、インクリボン7と用紙6
との間にはリボンマスク8が介在する。リボンマスク8
は、図10に示したと同様の形状であり、四角形のマス
ク穴81を有する。リボンマスク8(のマスク穴81)
はヘッド5と対応し、ヘッド5と共に移動する。
Further, in this printer, as in the case shown in FIG. 11, an ink ribbon 7 is interposed between the paper 6 and the (printing) head 6, and further the ink ribbon 7 and the paper 6 are provided.
Ribbon mask 8 is interposed between and. Ribbon mask 8
Has the same shape as that shown in FIG. 10 and has a rectangular mask hole 81. Ribbon mask 8 (the mask hole 81)
Corresponds to the head 5 and moves with the head 5.

【0014】改行制御部2は、モータ及びその駆動回路
等からなる用紙駆動部(図示せず)を介して用紙6を所
定方向(図示矢印方向)に移動させることにより、印刷
における改行を行う。ヘッド制御部3は、モータ及びそ
の駆動回路等からなるヘッド駆動部(図示せず)を介し
て用紙6上を所定の距離だけ移動する様にヘッド5を制
御して印字を行う。用紙6には、例えば当該用紙6を連
続帳票として用いるために、横ミシン目(61)が入っ
ている。
The line feed control section 2 moves the sheet 6 in a predetermined direction (arrow direction in the drawing) via a sheet drive section (not shown) including a motor and a drive circuit thereof, thereby performing a line feed in printing. The head controller 3 controls the head 5 so as to move on the paper 6 by a predetermined distance via a head driver (not shown) including a motor and a drive circuit thereof and performs printing. The paper 6 has horizontal perforations (61) for using the paper 6 as a continuous form, for example.

【0015】特に、ヘッド5が用紙6の端部にある状態
で横ミシン目(61)を越える改行を行う場合、まず、
ヘッド制御部3がヘッド5を用紙6の当該端部の左又は
右へ移動させる。この後、改行制御部2が横ミシン目
(61)を越える改行を行う。
In particular, when performing a line feed beyond the horizontal perforations (61) with the head 5 at the end of the paper 6, first,
The head controller 3 moves the head 5 to the left or right of the edge of the paper 6. After that, the line feed control unit 2 makes a line feed beyond the horizontal perforations (61).

【0016】[0016]

【作用】横ミシン目(61)を越える改行を行う場合、
これに先立ってヘッド5は用紙6の端部(左端又は右
端)からその左又は右へ移動させられる。これにより、
ヘッド5が改行の際に横ミシン目(61)の端部を通る
こと(図9のa、bで示す状態)は無くなる。
[Operation] When making a line break beyond the horizontal perforations (61),
Prior to this, the head 5 is moved to the left or right from the edge (left edge or right edge) of the paper 6. This allows
The head 5 does not pass through the end of the horizontal perforation (61) (line a and b in FIG. 9) at the time of line feed.

【0017】従って、リボンマスク8はヘッド5と共に
移動するので、図10及び図11に示した如く、横ミシ
ン目(61)での用紙6のふくらみがリボンマスク8の
マスク穴81に引っかかることも無くなる。以上によ
り、ヘッド5が横ミシン目(61)の端部にある状態で
の改行を無くすことができ、従来このような改行が原因
となって発生していた用紙のジャムを防止することがで
きる。
Therefore, since the ribbon mask 8 moves together with the head 5, the bulge of the paper 6 at the horizontal perforation (61) may be caught in the mask hole 81 of the ribbon mask 8 as shown in FIGS. Lost. As described above, it is possible to eliminate a line break when the head 5 is located at the end of the horizontal perforation (61), and it is possible to prevent a paper jam that has conventionally been caused by such a line break. ..

【0018】[0018]

【実施例】図2及び図3は実施例説明図である。図2に
おいて、印字指令を受けたヘッド制御部3がこれに応じ
てヘッド5を用紙6の左から右へ移動させて“ABCD
E”の印字62を行い(l行とする)、オーバーランの
後停止させる。同様に、“FGHIJ”(l+1行とす
る)及び“KLMNO”(m行とする)を印字する。
FIG. 2 and FIG. 3 are explanatory views of an embodiment. In FIG. 2, the head control unit 3 which receives the print command moves the head 5 from the left side to the right side of the paper 6 in response to the command, and then outputs "ABCD".
E 62 is printed (1 line) and stopped after overrun. Similarly, “FGHIJ” (1 + 1 line) and “KLMNO” (m line) are printed.

【0019】ヘッド5が停止した状態で改行指令を受け
た改行制御部2は、これに応じて、以下の処理を行う。
即ち、改行指令に基づいて改行量dを計算により求め、
改行量dが所定の値N(インチ)より大きいか否かを判
定する。
The line feed control unit 2, which receives the line feed command with the head 5 stopped, responds to this and performs the following processing.
That is, the line feed amount d is calculated based on the line feed command,
It is determined whether the line feed amount d is larger than a predetermined value N (inch).

【0020】ここで、所定の値Nとしては、印字保証外
領域(又は印字禁止領域)65の幅(インチ)が用いら
れる。印字保証外領域65は、図2及び図3に示す如
く、横ミシン目(中間ミシン目及びカットミシン目)6
1毎に設けられ、その上下の一定幅が当該領域とされ、
用紙6に対する印刷品質非保証範囲を示す。なお、改行
量dは、図2に示す如く、ある行の中心から次行の中心
までとされる。
Here, as the predetermined value N, the width (inch) of the print non-guaranteed area (or print prohibition area) 65 is used. As shown in FIGS. 2 and 3, the print non-guaranteed area 65 has horizontal perforations (intermediate perforations and cut perforations) 6
It is provided for each one, and a certain width above and below that is the area,
The print quality non-guaranteed range for the paper 6 is shown. The line feed amount d is from the center of one line to the center of the next line, as shown in FIG.

【0021】改行制御部2は、d<Nの場合、改行量d
だけ用紙6を所定方向へ移動させることにより、改行を
行う。この改行は、通常の改行であり、図2におけるl
行からl+1行への改行、図3における横ミシン目61
を越えない各改行に相当する。
When d <N, the line feed control unit 2 sets the line feed amount d.
Only by moving the paper 6 in a predetermined direction, a line feed is performed. This line break is a normal line break, and
Line to line l + 1, horizontal perforation 61 in FIG.
Corresponds to each line break that does not exceed.

【0022】改行制御部2は、d≧Nの場合、改行量が
大きく横ミシン目61を越える改行である可能性がある
ので、ヘッド制御部3にこれを通知する。この通知を受
けたヘッド制御部3は、ヘッド5を左又は右へ移動させ
る。ヘッド制御部3は、この移動が終了した場合に、こ
れを改行制御部2に通知する。
If d ≧ N, the line feed control unit 2 notifies the head control unit 3 that the line feed amount is large and the line feed may exceed the horizontal perforations 61. Upon receiving this notification, the head control unit 3 moves the head 5 to the left or right. The head control unit 3 notifies the line feed control unit 2 of the completion of this movement.

【0023】ここで、このヘッド5の移動は、ヘッド5
が直前に印字した位置(桁)まで行われる。このため、
ヘッド制御部3は直前の印字位置を記憶する。この移動
は、ヘッド5が用紙6の左端にある場合は図2に示す如
く右方向へ行われ、直前の印字“J”の位置(位置P1
とする)にヘッド5が位置するように行われる。また、
この移動は、ヘッド5が用紙6の右端にある場合は図3
に示す如く左方向へ行われる(直前の印字“8”の位置
まで行われる)。
Here, the movement of the head 5 depends on the movement of the head 5.
Is performed up to the position (digit) printed immediately before. For this reason,
The head controller 3 stores the immediately preceding print position. This movement is performed rightward as shown in FIG. 2 when the head 5 is at the left end of the paper 6, and the position of the immediately preceding print "J" (position P1
It is performed so that the head 5 is located at Also,
This movement is shown in FIG. 3 when the head 5 is at the right end of the paper 6.
As shown in (4), the printing is performed to the left (up to the position of the immediately preceding print "8").

【0024】ヘッド制御部3からの通知を受けた改行制
御部2は、改行量dだけ用紙6を所定方向へ移動させる
ことにより、改行を行う。この改行は、図2におけるl
+1行からm行への改行、図3における横ミシン目61
を越える各改行に相当する。
The line feed control unit 2, which has received the notification from the head control unit 3, moves the paper 6 in the predetermined direction by the line feed amount d to make a line feed. This line feed is l in FIG.
Line feed from line +1 to line m, horizontal perforation 61 in FIG.
Corresponds to each line break beyond.

【0025】この改行において、ヘッド5は用紙6の端
部には存在せず、必ず用紙6上(の印刷可能領域内)に
存在する。従って、改行の過程で、用紙6とリボンマス
ク8との位置が図10に示す如き関係となることは無
く、図11に示す如き用紙ジャムの発生を防止できる。
At this line feed, the head 5 does not exist at the end of the paper 6 but always exists on (in the printable area of) the paper 6. Therefore, in the process of line feed, the positions of the paper 6 and the ribbon mask 8 are not in the relationship as shown in FIG. 10, and the occurrence of paper jam as shown in FIG. 11 can be prevented.

【0026】この改行の後、例えば図2におけるm行の
印字を行う。この印字における先頭の文字“K”又は
“O”の印字の際のヘッド5の位置をP2(又はP3)
とすると、このP2(又はP3)からの印字開始のため
の助走距離が必要となる。
After this line feed, for example, m lines in FIG. 2 are printed. The position of the head 5 at the time of printing the first character "K" or "O" in this printing is P2 (or P3).
Then, the run-up distance for starting printing from P2 (or P3) is required.

【0027】この助走距離の確保について、図4及び図
5により説明する。図4に示す如く、m行において文字
“KLMNO”を印字する場合、その印字前及び印字後
に各々所定長さの助走距離及びオーバーラン(距離)が
必要となる。助走距離はヘッド5が印字可能速度に達す
るまでの走行距離である。オーバーランはヘッド5が停
止するまでの走行距離である。助走距離とオーバーラン
とは等しいと考えてよい。
The securing of this approach distance will be described with reference to FIGS. 4 and 5. As shown in FIG. 4, when the character "KLMNO" is printed on the m-th line, the run-up distance and overrun (distance) of a predetermined length are required before and after the printing. The run-up distance is the running distance until the head 5 reaches the printable speed. Overrun is a traveling distance until the head 5 stops. You can think that the run-up distance and the overrun are equal.

【0028】直前の印字の位置P1と次行の印字開始時
の位置P2(又はP3)との関係は、図4に示す(a)
乃至(d)のいずれかになる。(a)は印字行左端(文
字“K”即ち位置P2)に対する助走距離よりヘッド5
(位置P1)が更に左にある場合である。(b)は印字
行左端に対する助走距離又は印字行(“KLMNO”)
の左半分の中にヘッド5がある場合である。(c)は印
字行右端(文字“O”即ち位置P3)に対する助走距離
(オーバーランに等しい)又は印字行の右半分の中にヘ
ッド5がある場合である。(d)は印字行右端に対する
助走距離よりヘッド5が更に右にある場合である。
The relationship between the immediately preceding print position P1 and the print start position P2 (or P3) of the next line is shown in FIG. 4 (a).
Any one of (d) to (d). (A) shows the head 5 from the run-up distance to the left end of the print line (character "K", that is, position P2).
This is the case where (position P1) is further left. (B) is the run-up distance to the left end of the print line or the print line (“KLMNO”)
This is the case when the head 5 is in the left half of the. (C) is the case where the head 5 is located in the run-up distance (equal to overrun) to the right end of the print line (character "O", that is, position P3) or in the right half of the print line. (D) is a case where the head 5 is further to the right of the approach distance to the right end of the print line.

【0029】(a)の場合、図5(a)に示す如く、改
行後ヘッド5を右へ移動し印字する。(b)の場合、図
5(b)に示す如く、改行後ヘッド5を一旦左へ移動し
て助走距離を確保した上で、ヘッド5を右へ移動し印字
する。(c)の場合、図5(c)に示す如く、改行後ヘ
ッド5を一旦右へ移動して助走距離を確保した上で、ヘ
ッド5を左へ移動し印字する。(d)の場合、図5
(d)に示す如く、改行後ヘッド5を左へ移動し印字す
る。
In the case of (a), as shown in FIG. 5 (a), after the line feed, the head 5 is moved to the right for printing. In the case of (b), as shown in FIG. 5B, after the line feed, the head 5 is once moved to the left to secure an approach distance, and then the head 5 is moved to the right for printing. In the case of (c), as shown in FIG. 5C, after the line feed, the head 5 is once moved to the right to secure an approach distance, and then the head 5 is moved to the left to print. In the case of (d), FIG.
As shown in (d), after the line feed, the head 5 is moved to the left to print.

【0030】ヘッド制御部3は、位置P1と位置P2又
はP3との関係が前述の(a)乃至(d)のいずれであ
るかを判断してヘッド5を移動させて印字を行う。図2
において、m行の印字は(b)の場合に相当するので、
ヘッド制御部3は位置P1にあるヘッド5を助走距離を
確保できる位置Q1まで移動した上で、位置P2からP
3まで印字を行い、位置Q2でヘッド5を停止させる。
図3において、“9GFE”の印字は(c)の場合に相
当するので、図示の如くヘッド5を移動させて印字を行
う。
The head controller 3 determines whether the relationship between the position P1 and the position P2 or P3 is any one of the above (a) to (d), and moves the head 5 to perform printing. Figure 2
In, the printing of m lines corresponds to the case of (b), so
The head control unit 3 moves the head 5 located at the position P1 to the position Q1 where the approach distance can be secured, and then moves from the position P2 to the position P2.
Printing is performed up to 3, and the head 5 is stopped at the position Q2.
In FIG. 3, the printing of “9GFE” corresponds to the case of (c), and therefore the head 5 is moved to print as shown.

【0031】図6は、プリンタ動作制御処理フローであ
る。改行制御部2は、改行指令を受信すると、改行量d
を計算し(ステップ61)、この改行量dが所定の値N
(インチ)以上(d≧N)かを調べる(ステップ6
2)。
FIG. 6 is a printer operation control processing flow. When the line feed control unit 2 receives the line feed command, the line feed amount d
Is calculated (step 61), and the line feed amount d is a predetermined value N
It is checked whether (inch) or more (d ≧ N) (step 6)
2).

【0032】d≧Nである場合、ヘッド制御部3がヘッ
ド5を直前に印字した行の最終印字した位置(桁)P1
まで移動させる(ステップ63)。即ち、ヘッド5を直
前にオーバーランした量だけ戻す。d≧Nでない場合、
ステップ63は実行されない。
If d ≧ N, the head controller 3 prints the head 5 at the last position (digit) P1 of the last printed line.
(Step 63). That is, the head 5 is returned by the amount overrun immediately before. If d ≧ N,
Step 63 is not executed.

【0033】改行制御部2が改行量d分だけ改行動作を
実行する(ステップ64)。ヘッド制御部3が、ヘッド
5の現在の桁位置P1と次に印字を開始する桁位置P2
又はP3との距離を計算し、この結果に基づいてヘッド
5を移動させる(ステップ65)。
The line feed control unit 2 executes the line feed operation by the line feed amount d (step 64). The head control unit 3 controls the current digit position P1 of the head 5 and the digit position P2 at which printing is started next.
Alternatively, the distance from P3 is calculated, and the head 5 is moved based on this result (step 65).

【0034】なお、従来は、ステップ61の後ステップ
64及び65を実行していた。従って、ステップ65は
従前のステップを利用すればよく、ステップ63におい
てヘッド5を移動させたことによる次行の印字を開始す
る際の負担の増加はない。
Conventionally, steps 64 and 65 are executed after step 61. Therefore, step 65 may use the previous step, and there is no increase in the load for starting the printing of the next line due to the movement of the head 5 in step 63.

【0035】図7及び図8は本発明の他の実施例の説明
図である。図7と図3の対比から判るように、この実施
例では、横ミシン目61を越える改行を行う場合、用紙
6の端部にあるヘッド5を所定距離だけ当該端部の左又
は右へ移動させる。これにより、ヘッド5が、用紙6の
端部ではなく、用紙6上又は用紙6外の端部から離れた
位置にあるようにしている。
7 and 8 are explanatory views of other embodiments of the present invention. As can be seen from the comparison between FIG. 7 and FIG. 3, in this embodiment, when performing a line feed beyond the horizontal perforations 61, the head 5 at the end of the paper 6 is moved to the left or right of the end by a predetermined distance. Let As a result, the head 5 is located not at the end of the paper 6 but at a position away from the end on the paper 6 or outside the paper 6.

【0036】なお、図7においては、ヘッド5を常に右
へ移動させている。即ち、ヘッド5が用紙6の左端にあ
る場合にこれを右へ移動して用紙6上にあるようにす
る。また、ヘッド5が用紙6の右端にある場合にもこれ
を右へ移動して用紙6の端部から離れた位置にあるよう
にする。ここで、端部から離れた位置とは、例えば、リ
ボンマスク8のマスク穴81が用紙61に重ならないよ
うなヘッド5の位置をいう。
Incidentally, in FIG. 7, the head 5 is always moved to the right. That is, when the head 5 is at the left end of the sheet 6, it is moved to the right so that it is on the sheet 6. Further, even when the head 5 is at the right end of the paper 6, the head 5 is moved to the right so that the head 5 is located away from the end of the paper 6. Here, the position away from the end means, for example, the position of the head 5 where the mask hole 81 of the ribbon mask 8 does not overlap the paper 61.

【0037】図7の実施例では、用紙6の端部を検出す
るために設けられているセンサ9を用いて、ヘッド5が
用紙6の端部(端部の特にどのような位置)にあるかを
検出するようにしている。即ち、センサ9により用紙6
の端部及びヘッド5の位置が位置座標として求まる。
In the embodiment shown in FIG. 7, the sensor 5 is provided to detect the edge of the sheet 6, and the head 5 is located at the edge of the sheet 6 (particularly at any position of the edge). It is trying to detect. That is, the sensor 6 causes the paper 6
The position of the end of the head and the position of the head 5 are obtained as position coordinates.

【0038】図8は図7に示す動作を行う場合のプリン
タ動作制御処理フローである。ヘッド制御部3は、ペー
ジ(帳票)の最後であることを改行制御部2から通知さ
れると、ヘッド5の位置(P1)と用紙6の端部の位置
との差を求め、この差が所定の値Xより小さいかを判定
する(ステップ81)。ここで、値Xはヘッド5(実際
はリボンマスク8)が用紙6の端部に引っかからないた
めのマージン(距離)である。
FIG. 8 is a printer operation control processing flow when the operation shown in FIG. 7 is performed. When the head control unit 3 is notified from the line feed control unit 2 that it is the end of the page (form), the head control unit 3 obtains the difference between the position of the head 5 (P1) and the position of the edge of the paper 6, and this difference is calculated. It is determined whether it is smaller than a predetermined value X (step 81). Here, the value X is a margin (distance) for preventing the head 5 (actually, the ribbon mask 8) from being caught on the edge of the paper 6.

【0039】前記差が値Xより大きい場合、ヘッド制御
部3からの通知を受けた改行制御部2が改行(改ペー
ジ、即ち、横ミシン目61を越える改行)を行う(以下
のステップは実行されない)。
When the difference is larger than the value X, the line feed control unit 2 which has received the notification from the head control unit 3 performs a line feed (a page break, that is, a line feed beyond the horizontal perforations 61) (the following steps are executed). Not).

【0040】前記差が値Xより小さい(又は等しい)場
合、ヘッド制御部3が改行後のヘッド5の走行方向が+
方向(左から右へ移動する方向)かを調べる(ステップ
82)。
When the difference is smaller than (or equal to) the value X, the head controller 3 causes the traveling direction of the head 5 after the line feed to be +.
It is checked whether it is the direction (direction moving from left to right) (step 82).

【0041】+方向でない場合、ヘッド制御部3はヘッ
ド5の位置(P1)と改ページ後の最初の印字位置(P
2)との差を求め、この差が所定の値−L−2X(=−
(L+2X))より小さい(絶対値が大きい)かを判定
する(ステップ83)。ここで、値Lはヘッド5が停止
状態から印字可能速度状態になるまでに必要な距離(即
ち助走距離)である。
If not in the + direction, the head control section 3 determines the position of the head 5 (P1) and the first print position (P1) after the page break.
2), and the difference is a predetermined value −L−2X (= −
It is determined whether (L + 2X)) is smaller (the absolute value is larger) (step 83). Here, the value L is a distance (that is, an approach distance) required for the head 5 to reach the printable speed state from the stopped state.

【0042】小さくない場合(P1とP2との差の絶対
値がL+2Xより小さい場合)、ヘッド制御部3はヘッ
ド5の位置を(P1)から−2Xだけ(即ち左へ2Xだ
け)移動する(ステップ84)。これにより、助走距離
Lを確保しつつ(又はP1とP2との差を助走距離Lに
近づけつつ)、用紙6の端部から少なくとも値X以上ヘ
ッド5を離すことができる。
If it is not small (the absolute value of the difference between P1 and P2 is smaller than L + 2X), the head control unit 3 moves the position of the head 5 from (P1) by -2X (that is, by 2X to the left) ( Step 84). As a result, the head 5 can be separated from the edge of the sheet 6 by at least the value X or more while securing the run-up distance L (or bringing the difference between P1 and P2 close to the run-up distance L).

【0043】小さい場合(P1とP2との差の絶対値が
L+2Xより大きい場合)、ヘッド制御部3はヘッド5
の位置を(P1から)+2Xだけ(即ち右へ2Xだけ)
移動する(ステップ85)。これにより、助走距離Lを
確保しつつ、用紙6の端部から少なくともX以上ヘッド
5を離すことができる。
If the difference is small (the absolute value of the difference between P1 and P2 is larger than L + 2X), the head controller 3 causes the head 5
Position (from P1) + 2X (ie 2X to the right)
Move (step 85). As a result, the head 5 can be separated from the edge of the paper 6 by at least X or more while securing the run-up distance L.

【0044】ステップ82において+方向である場合、
ヘッド制御部3はヘッド5の位置(P1)と改ページ後
の最初の印字位置(P3)との差を求め、この差が所定
の値L+2Xより大きいかを判定する(ステップ8
6)。
If the direction is + in step 82,
The head controller 3 obtains the difference between the position (P1) of the head 5 and the first print position (P3) after the page break, and determines whether this difference is larger than a predetermined value L + 2X (step 8).
6).

【0045】大きくない場合(P1とP2との差がL+
2Xより小さい場合)、ヘッド制御部3はヘッド5の位
置を(P1から)+2Xだけ(即ち右へ2Xだけ)移動
する(ステップ87)。これにより、助走距離Lを確保
しつつ(又はP1とP2との差を助走距離Lに近づけつ
つ)、用紙6の端部から少なくとも値X以上ヘッド5を
離すことができる。
When not large (the difference between P1 and P2 is L +
If it is smaller than 2X), the head controller 3 moves the position of the head 5 by + 2X (from P1) (that is, 2X to the right) (step 87). As a result, the head 5 can be separated from the edge of the sheet 6 by at least the value X or more while securing the run-up distance L (or bringing the difference between P1 and P2 close to the run-up distance L).

【0046】大きい場合(P1とP2との差がL+2X
より大きい場合)、ヘッド制御部3はヘッド5の位置を
(P1から)−2Xだけ(即ち左へ2Xだけ)移動する
(ステップ88)。これにより、助走距離Lを確保しつ
つ、用紙6の端部から少なくとも値X以上ヘッド5を離
すことができる。
When it is large (the difference between P1 and P2 is L + 2X
If so, the head controller 3 moves the position of the head 5 by -2X (from P1) (that is, 2X to the left) (step 88). As a result, the head 5 can be separated from the edge of the paper 6 by at least the value X or more while ensuring the approach distance L.

【0047】ステップ84、85、87又は88の後、
ヘッド制御部3からの通知を受けた改行制御部2が改行
(改ページ)を行う。
After steps 84, 85, 87 or 88,
The line feed control unit 2 which has received the notification from the head control unit 3 performs a line feed (page break).

【0048】[0048]

【発明の効果】以上説明したように、本発明によれば、
プリンタ動作制御において、用紙の端部に位置するヘッ
ドを移動した後に横ミシン目を越える改行を行うことに
より、ヘッドに対応するリボンマスクのマスク穴に横ミ
シン目での用紙のふくらみが引っかかることを無くすこ
とができるので、これによる用紙ジャムの発生を防止で
きる。
As described above, according to the present invention,
In printer operation control, by moving the head located at the edge of the paper and then performing a line feed beyond the horizontal perforation, it is possible to prevent the bulge of the paper at the horizontal perforation from being caught in the mask hole of the ribbon mask corresponding to the head. Since it can be eliminated, it is possible to prevent the occurrence of paper jam due to this.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】実施例説明図である。FIG. 2 is an explanatory diagram of an example.

【図3】実施例説明図である。FIG. 3 is an explanatory diagram of an example.

【図4】ヘッド移動説明図である。FIG. 4 is an explanatory diagram of head movement.

【図5】ヘッド移動説明図である。FIG. 5 is an explanatory diagram of head movement.

【図6】プリンタ動作制御処理フローである。FIG. 6 is a printer operation control processing flow.

【図7】他の実施例説明図である。FIG. 7 is an explanatory view of another embodiment.

【図8】他の実施例説明図である。FIG. 8 is an explanatory view of another embodiment.

【図9】従来技術説明図である。FIG. 9 is a diagram illustrating a conventional technique.

【図10】従来技術の問題点説明図である。FIG. 10 is a diagram illustrating a problem of the conventional technique.

【図11】従来技術の問題点説明図である。FIG. 11 is a diagram illustrating a problem of the conventional technique.

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

1 処理装置 2 改行制御部 3 ヘッド制御部 4 プラテン 5 ヘッド 6 用紙 7 インクリボン 8 リボンマスク 9 センサ 1 Processing Device 2 Line Feed Control Section 3 Head Control Section 4 Platen 5 Head 6 Paper 7 Ink Ribbon 8 Ribbon Mask 9 Sensor

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 横ミシン目(61)の入った用紙
(6)を所定方向に移動させることにより改行を行う改
行制御部(2)と、 前記用紙(6)上を移動するヘッド(5)を制御するヘ
ッド制御部(3)とを備えたプリンタにおいて、 前記ヘッド(5)が前記用紙(6)の端部にある状態で
前記横ミシン目(61)を越える改行を行う場合に、前
記ヘッド制御部(3)が前記ヘッド(5)を当該端部の
左又は右へ移動させた後に、前記改行制御部(2)が当
該改行を行うことを特徴とするプリンタ動作制御方式。
1. A line feed control unit (2) for performing line feed by moving a paper (6) having a horizontal perforation (61) in a predetermined direction, and a head (5) moving on the paper (6). And a head control section (3) for controlling the above, in the case where a line feed over the horizontal perforation (61) is made while the head (5) is at the end of the paper (6), A printer operation control method, wherein the line feed control unit (2) performs the line feed after the head control unit (3) moves the head (5) to the left or right of the end.
【請求項2】 前記ヘッド(5)の当該端部の左又は右
への移動は直前に印字した位置まで行うことを特徴とす
る請求項1に記載のプリンタ動作制御方式。
2. The printer operation control system according to claim 1, wherein the movement of the end portion of the head (5) to the left or right is performed to a position immediately before printing.
JP4008002A 1992-01-21 1992-01-21 Printer Expired - Fee Related JP2697986B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4008002A JP2697986B2 (en) 1992-01-21 1992-01-21 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4008002A JP2697986B2 (en) 1992-01-21 1992-01-21 Printer

Publications (2)

Publication Number Publication Date
JPH05193232A true JPH05193232A (en) 1993-08-03
JP2697986B2 JP2697986B2 (en) 1998-01-19

Family

ID=11681170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4008002A Expired - Fee Related JP2697986B2 (en) 1992-01-21 1992-01-21 Printer

Country Status (1)

Country Link
JP (1) JP2697986B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01222983A (en) * 1988-03-03 1989-09-06 Alps Electric Co Ltd Printing head gap adjusting method in printer
JPH01146964U (en) * 1988-03-31 1989-10-11
JPH03106675A (en) * 1989-09-21 1991-05-07 Oki Electric Ind Co Ltd Refuge control method for printing head

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01222983A (en) * 1988-03-03 1989-09-06 Alps Electric Co Ltd Printing head gap adjusting method in printer
JPH01146964U (en) * 1988-03-31 1989-10-11
JPH03106675A (en) * 1989-09-21 1991-05-07 Oki Electric Ind Co Ltd Refuge control method for printing head

Also Published As

Publication number Publication date
JP2697986B2 (en) 1998-01-19

Similar Documents

Publication Publication Date Title
US20150178602A1 (en) Control apparatus, control method, and non-transitory computer-readable storage medium
WO2019098065A1 (en) Printing device and printing method
JP6786980B2 (en) Image formation system, image formation device, and image formation control program
JPH05193232A (en) Printer operation control system
JP6812809B2 (en) Image formation system, image formation device, and image formation control program
JPH0640128A (en) Printer device
JP3713955B2 (en) Printing device
JP3027468B2 (en) Printing error recovery processing method
JP7013159B2 (en) Inkjet printing equipment and inkjet printing method
US10536597B2 (en) Printing apparatus and control method
JPH106583A (en) Printer paper feed speed control method
JPH06155851A (en) Printer
JPH0386576A (en) Printing apparatus
JPH03254971A (en) Page printer
JPH068544A (en) Printer
JP2005125536A (en) Printer
JPS61286182A (en) Printing-controlling system
JP2808688B2 (en) Printer
JP2003114771A (en) Printer driver program
JP4355131B2 (en) N-up printing control method in printing device
JP3993284B2 (en) Printing device
JPH0631984A (en) Control method of serial printer
JP3785269B2 (en) Printing apparatus and printing control method
JP3174461B2 (en) Printer reception control method
KR20230172400A (en) Printing control apparatus, printing control method, printing control program)

Legal Events

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