JPS62144979A - Centering system for printing head - Google Patents

Centering system for printing head

Info

Publication number
JPS62144979A
JPS62144979A JP28622485A JP28622485A JPS62144979A JP S62144979 A JPS62144979 A JP S62144979A JP 28622485 A JP28622485 A JP 28622485A JP 28622485 A JP28622485 A JP 28622485A JP S62144979 A JPS62144979 A JP S62144979A
Authority
JP
Japan
Prior art keywords
centering
paper
printing
digit
head
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP28622485A
Other languages
Japanese (ja)
Inventor
Katsuyasu Fujii
克泰 藤井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP28622485A priority Critical patent/JPS62144979A/en
Publication of JPS62144979A publication Critical patent/JPS62144979A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To enable appropriate centering to be performed irrespective of the set position of a paper, by providing a means for calculating a centering position for a printing head based on printing column information. CONSTITUTION:A means 14 for calculating a centering position for a printing head based on printing column information and a means 15 for moving the head to the centering position when a paper is supplied. Printing setting information received is stored into a printing setting information memory 18, the centering calculating part 14 extracts the first printing column C1 and the last printing column C2, calculates (C1+C2)X1/2, and sets the calculated centering column into a spacing-controlling part 15. The part 15 centers a head 13 from the current position to the centering column. Accordingly, the centering position can be set based on the first printing column and the last printing column which correspond go the width of the paper.

Description

【発明の詳細な説明】 〔擾既要〕 用紙を印字ヘッド位置に供給するとき、印字ヘッドを用
紙の中央付近に移動せしめる(以下センタリングと称す
る)が、そのセンタリング位置は、プリンタの基準位置
(左端)からの所定桁数に固定されている。そのため、
右端を基準として用紙がセットされると、ヘッド位置が
用紙より外れる場合がある。
Detailed Description of the Invention [Required] When paper is fed to the print head position, the print head is moved to the vicinity of the center of the paper (hereinafter referred to as centering), but the centering position is located at the printer's reference position ( The number of digits is fixed from the left end). Therefore,
If the paper is set with the right edge as a reference, the head position may be out of alignment with the paper.

本発明は、印字第1桁および印字最終桁等の印字桁情報
に基いてセンタリング位置を演算するセンタリング方式
を提供する。
The present invention provides a centering method that calculates a centering position based on printed digit information such as the first printed digit and the last printed digit.

〔産業上の利用分野〕[Industrial application field]

本発明はプリンタに係わり、特に印字ヘッドのセンタリ
ング方式の改良に関する。
TECHNICAL FIELD The present invention relates to printers, and more particularly to improvements in print head centering methods.

プリンタの用紙供給機構には、連続帳票を使用する連帳
機構と、カット紙を使用するカット祇フィーダとがある
Paper feeding mechanisms for printers include a continuous form mechanism that uses continuous forms and a cut paper feeder that uses cut sheets.

これらの機構にセットされた用紙、特にカット紙は、ヘ
ッドマスクをガイドとして所定位置に供給されるため、
ヘッド位置を用紙の中央付近にセンタリングして用紙を
印字ヘッド位置に供給している。
Paper set in these mechanisms, especially cut paper, is fed to a predetermined position using the head mask as a guide.
The head position is centered near the center of the paper and the paper is fed to the print head position.

プリンタの印字桁は、左端を基準として第1桁から最大
桁まで印字位置が設定されており、用紙もそれに合わせ
て、左端を基準としてセットされる。
The printing digits of the printer are set from the first digit to the maximum digit with the left end as a reference, and the paper is also set accordingly, with the left end as a reference.

従って種々の用紙幅に対応できるように、センタリング
位置は、通常40〜50桁目に設定されている。
Therefore, in order to accommodate various paper widths, the centering position is usually set at the 40th to 50th digits.

しかし用紙が右端例えば136桁目を基準にセットされ
るカット紙フィーダもあり、また中央桁より振り分ける
場合もあって、前記固定のセンタリング位置では、ヘッ
ドが用紙から外れる場合が生じる。
However, there is also a cut paper feeder in which the paper is set based on the right end, for example, the 136th digit, and there are also cases in which the paper is sorted from the center digit, so the head may come off the paper at the fixed centering position.

そのため、用紙セットの基準位置および用紙幅にかかわ
らずセンタリングできるセンタリング方式が求められて
いる。
Therefore, there is a need for a centering method that can center the paper regardless of the reference position of the paper set and the paper width.

〔従来の技術〕[Conventional technology]

従来例を第3図を参照しつつ説明する。 A conventional example will be explained with reference to FIG.

第3図(a)はカット紙フィーダを取りつけたプリンタ
の外観図、第3図(blはカット紙供給機構説明図、第
3図(C1は従来のセンタリング方式を表すである。
FIG. 3(a) is an external view of a printer equipped with a cut paper feeder, FIG. 3 (bl is an explanatory diagram of a cut paper supply mechanism, and FIG. 3 (C1 is a conventional centering system).

第3図(a)において、1はプリンタ本体に着脱可能な
カット紙フィーダ機構であり、左用紙ガイド2、右用紙
ガイド3、ロックレバ−4,左端を1桁とした桁スケー
ル5、スタッカー6等より構成され、カット紙7は右お
よび左用紙ガイド2,3にガイドされて、ヘッド位置へ
供給される。
In FIG. 3(a), 1 is a cut paper feeder mechanism that can be attached or detached from the printer body, including a left paper guide 2, a right paper guide 3, a lock lever 4, a digit scale 5 with a single digit at the left end, a stacker 6, etc. The cut paper 7 is guided by the right and left paper guides 2 and 3 and supplied to the head position.

第3図(blはカット紙供給機構の側断面を示したもの
で、カット紙7は送りローラ8およびプラテン10によ
り、用紙ガイド9およびヘッドマスク11にガイドされ
てヘッド位置に供給される。
FIG. 3 (bl is a side cross-sectional view of the cut paper supply mechanism. The cut paper 7 is fed to the head position by the feed roller 8 and platen 10, guided by the paper guide 9 and the head mask 11.

なお、12はキャリア、13はヘッド部である。Note that 12 is a carrier and 13 is a head portion.

以上のように、カット紙供給は、ヘッドマスク11をガ
イドとして供給されているため、頁印字が終了し新しい
用紙が供給されるとき、ヘッドマスク11が用紙のガイ
ドとなるように、センタリングされる。
As described above, cut paper is supplied using the head mask 11 as a guide, so when page printing is completed and new paper is supplied, the paper is centered so that the head mask 11 serves as a guide. .

上記センタリング位置は、第3図(C1に示すように、
用紙のセットが通常左端を基準として右用紙ガイド3を
調節してセントされるため、最大136桁の用紙幅およ
び最小用紙幅でセンタリング可能なように、左端より4
0〜50桁目に固定されている。
The above centering position is as shown in Figure 3 (C1).
Normally, paper is set by adjusting the right paper guide 3 with the left edge as a reference.
It is fixed at digits 0 to 50.

[発明が解決しようとする問題点] 前述したように、用紙供給時におけるヘッドのセンタリ
ングは通常左端を基準として40〜50桁目の位置に固
定されている。
[Problems to be Solved by the Invention] As described above, the centering of the head during paper feeding is normally fixed at the 40th to 50th digit positions with respect to the left end.

しかし、右端を基準として用紙をセットするカット紙フ
ィーダもあり、このとき幅の狭い用紙(例えば80桁)
を使用すると、ヘッド位置が用紙より外れ、用紙供給に
支障をきたすという問題点があった。
However, there is also a cut paper feeder that loads paper with the right edge as a reference, and in this case, narrow paper (e.g. 80 digits)
When using this, there was a problem in that the head position was off the paper, causing trouble in paper supply.

そのため本発明は、用紙のセット位置にかかわらず、適
正にセンタリングを行うセンタリング方式を提供するこ
とを目的とするものである。
Therefore, it is an object of the present invention to provide a centering method that performs proper centering regardless of the paper set position.

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

上記目的のため、本発明のプリンタは第1図原理説明図
に示すように、 印字桁情報に基づき該印字ヘッドのセンタリング位置を
演算する手段(14)と、 用紙供給時に前記演算したセンタリング位置に印字ヘッ
ドを移動せしめる手段(15)とを備え、印字桁情報に
基づいて印字ヘッドをセンタリングせしめるものである
For the above purpose, the printer of the present invention, as shown in the principle explanatory diagram of FIG. means (15) for moving the print head, and centering the print head based on print digit information.

〔作用〕[Effect]

ホストコンピュータは、従来より設定情報として、左マ
ージン情報と右マージン情報とをプリンタに送出してい
る。
The host computer has conventionally sent left margin information and right margin information to the printer as setting information.

この左右のマージン情報は、それぞれ印字の第1桁目と
最終桁とを表すもので、連続した印字文字コードは左マ
ージン位置を基準として印字され、キャリッジリターン
信号(CR倍信号がない場合には右マージン位置でキャ
リッジリターンされるように構成されている。
This left and right margin information represents the first digit and last digit of printing, respectively.Continuous printing character codes are printed based on the left margin position, and if there is no carriage return signal (CR double signal) The carriage return is performed at the right margin position.

本発明は上記左マージン情報(以下印字第1桁C1)お
よび右マージン情報(以下印字最終桁C2)情報を参照
してセンタリング位置を演算するもので、例えば第2図
(b)に示すように、(C1+c2) ×1/2 を演算すれば、この値は用紙の左右余白を除外した印字
桁幅の略中央であるから、用紙の中央付近にセンタリン
グを行うことができる。
The present invention calculates the centering position by referring to the left margin information (hereinafter referred to as the first printing digit C1) and the right margin information (hereinafter referred to as the last printing digit C2) information, for example, as shown in FIG. 2(b). , (C1+c2)×1/2, this value is approximately the center of the print digit width excluding the left and right margins of the paper, so centering can be performed near the center of the paper.

なお、用紙供給のためのセンタリングは必ずしも用紙の
中央である必要はなく、(印字第1桁)+(一定損数)
でもよい。
Note that the centering for feeding paper does not necessarily have to be at the center of the paper, but rather (first digit of printing) + (constant loss number)
But that's fine.

〔実施例〕〔Example〕

本発明の詳細を第2図に示す実施例に従って説明する。 The details of the present invention will be explained according to the embodiment shown in FIG.

第2図(a)は実施例のプリンタ・ブロック図であって
・ 16はホストより印字設定情報、印字文字コード等を受
信するインタフェース部、 17は受信した印字文字コード等を格納する受信バッフ
ァ、 18は印字第1桁、印字最終桁等の印字設定情報を格納
する印字設定情報メモリ、 19は1行分のパターンデータを格納するラインバッフ
ァ、 21はプラテン10および送りローラ8を駆動して用紙
送りする改行制御部、 22はラインバッファ19を読取り、印字ヘッド(図示
せず)を駆動して印字せしめる印字制御部、 15はスペースモータMを駆動して、スペーシング、キ
ャリッジリターン、センタリング等ヘッド13を駆動す
るスペース制御部、 14はセンタリング演算部、 20は各部を制御する主制御部、 である。
FIG. 2(a) is a block diagram of the printer according to the embodiment; 16 is an interface unit that receives print setting information, print character codes, etc. from the host; 17 is a reception buffer that stores the received print character codes; 18 is a print setting information memory that stores print setting information such as the first digit of printing and the last digit of printing, 19 is a line buffer that stores pattern data for one line, and 21 is for driving the platen 10 and feed roller 8 to feed the paper. 22 is a print control unit that reads the line buffer 19 and drives a print head (not shown) to print; 15 is a print control unit that drives a space motor M to perform spacing, carriage return, centering, etc. on the head 13; 14 is a centering calculation section; 20 is a main control section that controls each section.

以上の構成であって、センタリング動作は以下のように
行われる。〔第2図fc)参照〕(11受信した印字設
定情報は印字設定情報メモリ18に格納され、センタリ
ング演算部14は、印字第1桁(CI)と印字最終桁(
C2)とを抽出して、 (C1+02)XI/2 を演算する。
With the above configuration, the centering operation is performed as follows. [See Figure 2 fc)] (11 The received print setting information is stored in the print setting information memory 18, and the centering calculation unit 14 calculates the first print digit (CI) and the last print digit (CI).
C2) and calculate (C1+02)XI/2.

(2)設定行数まで印字した後(頁印字終了)、センタ
リング演算部14はスペース制御部15に、前記演算し
たセンタリング桁を設定する。
(2) After printing up to the set number of lines (end of page printing), the centering calculation unit 14 sets the calculated centering digit in the space control unit 15.

スペース制御部15は、現位置より上記センタリング桁
まで、スペースモータMを駆動し、ヘッド13をセンタ
リングせしめる。
The space control unit 15 drives the space motor M from the current position to the centering digit to center the head 13.

(3)続いて改行制御部21は、改行モータ(図示せず
)を駆動し、送りローラ8およびプラテン10を回転せ
しめて用紙を所定位置に供給する。
(3) Next, the line feed control unit 21 drives a line feed motor (not shown) to rotate the feed roller 8 and platen 10 to feed the paper to a predetermined position.

以上により、用紙幅に対応した印字第1桁および印字最
終桁によりセンタリング位置を設定することができ、用
紙のセット位置に関係なく、用紙供給のためのセンタリ
ングを行うことができる。
As described above, the centering position can be set using the first printing digit and the last printing digit corresponding to the paper width, and centering for paper supply can be performed regardless of the paper set position.

なお、印字第1桁、印字桁数が指定されたときは、 (印字開始桁)+(印字桁数)XI/2を演算してセン
タリングすればよい。
Note that when the first digit to be printed and the number of digits to be printed are specified, centering can be performed by calculating (printing start digit) + (number of printing digits) XI/2.

以上の実施例におけるセンタリング位置は、ポストより
送出される印字桁幅の中央を演算するものであるから、
左右余白を考慮しても、用紙の中央付近にセンタリング
できる。
The centering position in the above embodiment is calculated by calculating the center of the print digit width sent out from the post.
Even if you take left and right margins into consideration, you can center it near the center of the paper.

また、前述したようにセンタリング位置は必ずしも印字
桁の中央である必要はなく、印字第1桁から一定の桁数
位置でもヘッド位置を用紙幅内に収めることができ、い
ずれも用紙供給の目的を達成することができる。
In addition, as mentioned above, the centering position does not necessarily have to be at the center of the printing digit, and the head position can be placed within the paper width even at a certain number of digits from the first printing digit. can be achieved.

第2図(alにおいて、センタリング演算部14は主制
御部20に含めることができる。
In FIG. 2 (al), the centering calculation section 14 can be included in the main control section 20.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明はホストより送信される印
字桁情報によってセンタリング位置を設定するもので、
用紙幅、用紙のセット位置に関係なく、用紙供給のため
のセンタリングが簡易に行える効果がある。
As explained above, the present invention sets the centering position based on the print digit information sent from the host.
The effect is that centering for paper supply can be easily performed regardless of the paper width and the paper set position.

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

第1図は本発明の原理説明図、 第2図(a)は実施例のプリンタ・ブロック図、第2図
(b)はセンタリング位置演算説明図、第2図(C)は
動作フローチャート図、第3図(a)はカット紙フィー
ダを取りつけたプリンタの外観図、 第3図(blはカット紙供給機構説明図、第3図(C1
は従来のセンタリング方式を表す図、である。図中、 1は用紙供給機構、   2は左用紙ガイド、3は右用
紙ガイド、   7はカット紙、8は送りローラ、  
  9は用紙ガイド、lOはプラテン、    11は
ヘッドマスク、13はヘッド、 14はセンタリング演算部、 15はスペース制御部、 16はインタフェース部、 17は受信バッファ、 18は印字設定情報メモリ、 19はラインバッファ、 20は主制御部、    21は改行制御部、CIは印
字第1桁(左マージン)、 C2は印字最終桁(右マージン)、 Mはスペースモータ、 である。
FIG. 1 is a diagram explaining the principle of the present invention, FIG. 2 (a) is a printer block diagram of an embodiment, FIG. 2 (b) is a diagram explaining centering position calculation, and FIG. 2 (C) is an operation flow chart diagram. Figure 3 (a) is an external view of the printer with a cut paper feeder attached, Figure 3 (bl is an illustration of the cut paper supply mechanism, Figure 3 (C1
is a diagram showing a conventional centering method. In the figure, 1 is a paper supply mechanism, 2 is a left paper guide, 3 is a right paper guide, 7 is a cut paper, 8 is a feed roller,
9 is a paper guide, IO is a platen, 11 is a head mask, 13 is a head, 14 is a centering calculation section, 15 is a space control section, 16 is an interface section, 17 is a receiving buffer, 18 is a print setting information memory, 19 is a line 20 is the main control unit, 21 is the line feed control unit, CI is the first printing digit (left margin), C2 is the last printing digit (right margin), and M is the space motor.

Claims (1)

【特許請求の範囲】 ヘッドマスクをガイドとして用紙を供給するプリンタに
おける印字ヘッドのセンタリング方式であって、 印字桁情報に基づき該印字ヘッドのセンタリング位置を
演算する手段(14)と、 用紙供給時に前記演算したセンタリング位置に印字ヘッ
ドを移動せしめる手段(15)と を備えることを特徴とする印字ヘッドのセンタリング方
式。
[Scope of Claims] A method for centering a print head in a printer that supplies paper using a head mask as a guide, comprising means (14) for calculating the centering position of the print head based on print digit information; A method for centering a print head, comprising means (15) for moving the print head to a calculated centering position.
JP28622485A 1985-12-19 1985-12-19 Centering system for printing head Pending JPS62144979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28622485A JPS62144979A (en) 1985-12-19 1985-12-19 Centering system for printing head

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28622485A JPS62144979A (en) 1985-12-19 1985-12-19 Centering system for printing head

Publications (1)

Publication Number Publication Date
JPS62144979A true JPS62144979A (en) 1987-06-29

Family

ID=17701572

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28622485A Pending JPS62144979A (en) 1985-12-19 1985-12-19 Centering system for printing head

Country Status (1)

Country Link
JP (1) JPS62144979A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03293182A (en) * 1990-04-12 1991-12-24 Fujitsu Ltd Centering apparatus of printing head

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03293182A (en) * 1990-04-12 1991-12-24 Fujitsu Ltd Centering apparatus of printing head

Similar Documents

Publication Publication Date Title
JPS6144074B2 (en)
JPH07319868A (en) Text editing processor
JPS6117668B2 (en)
JPS604088A (en) Slip printer
JPS62144979A (en) Centering system for printing head
JPH0356549B2 (en)
JP2750215B2 (en) Label printer
JPH08230266A (en) Printer
JP3050469B2 (en) Tape printer
JPS60115470A (en) Automatic paper supply controlling system for printer
US4772145A (en) Document preparing apparatus which automatically capitalizes characters at the head of a sentence
JP3029067B2 (en) Label printer
JPS62246773A (en) Printer
JPS6149120B2 (en)
JPS6029633B2 (en) printer
JP3003411B2 (en) Ticket transfer control method in ticket issuing device
JPH01101174A (en) Dot matrix printer
EP0268470B1 (en) Character erasable printing apparatus
JPS58145478A (en) Paper feed controller for printer
EP0143995A2 (en) Dot-matrix printer
JPH0225361A (en) Serial printer
JP2000326532A (en) Apparatus for printing recording material
JPH0550395B2 (en)
JPH01320174A (en) Paper feed controller in printer
JPH05169729A (en) Printing device