JPS6227169A - Printing position determining system for serial printer - Google Patents

Printing position determining system for serial printer

Info

Publication number
JPS6227169A
JPS6227169A JP16601685A JP16601685A JPS6227169A JP S6227169 A JPS6227169 A JP S6227169A JP 16601685 A JP16601685 A JP 16601685A JP 16601685 A JP16601685 A JP 16601685A JP S6227169 A JPS6227169 A JP S6227169A
Authority
JP
Japan
Prior art keywords
paper
printing
character
width
printing position
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
JP16601685A
Other languages
Japanese (ja)
Inventor
Katsuyoshi Murase
村瀬 克良
Kotaro Yoshimura
吉村 幸太郎
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP16601685A priority Critical patent/JPS6227169A/en
Publication of JPS6227169A publication Critical patent/JPS6227169A/en
Pending 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
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/42Scales and indicators, e.g. for determining side margins

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To enable to print at the optimum position irrespective of the set position of a paper while using the left end of the paper as an original point position, by detecting the left end position and the width of a paper, and preliminarily storing a plurality of pieces of information on the distance from the left end of the paper to the printing position for the first character. CONSTITUTION:A paper sensor 9 is immovably mounted on a carriage 2, and is moved leftward and rightward as the carriage 2 is moved leftward and rightward. The sensor 9 detects the width and the left end position of the printing paper 8. Each time a controlling circuit 10 outputs a phase exciting signal, it rotates a motor 3 one step in a forward or reverse direction through a phase switching circuit 1 and a motor-driving circuit 12. A RAM 13 stores the number of steps from the left end of the paper to the printing position for the first character, and a ROM 14 stores a fixed number of steps to said position which corresponds to the paper width. According to a count on a step counter, the controlling part 10 reads the first character printing position information from the ROM 14, stores it into the RAM 13 as a printing position E, and the subsequent printing is conducted sequentially from the first character printing position stored in the RAM 13.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、シリアルプリンタにおける印字位置決め方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a print positioning system in a serial printer.

〔従来の技術〕[Conventional technology]

印字位置決めには、印字用紙の送り方向の位置決め、例
えば特開昭58−220774号に開示された印字位置
決めと、印字用紙の送シ方向と直角方向つまり印字方向
の位置決めがある。
Print positioning includes positioning in the feeding direction of printing paper, such as printing positioning disclosed in Japanese Patent Laid-Open No. 58-220774, and positioning in a direction perpendicular to the feeding direction of printing paper, that is, in the printing direction.

この印字方向の位置決め方式全第2図に示す従来例に基
づいて説明する。第2図において、1は印字ヘッドであ
り、移動可能なキャリッジ2上に固着搭載する。3はモ
ータであり、プーリ4及びスペースベルト5を介してキ
ャリッジ2を左右方向に移動する。6はホームセンサで
あシ、印字ヘッド1の原点位置を検出する。7はプラテ
ン、8は印字用紙であシ、図示せぬモータによりプラテ
ン7が回転して繰出される。
This positioning system in the printing direction will be explained based on the conventional example shown in FIG. In FIG. 2, 1 is a print head, which is fixedly mounted on a movable carriage 2. In FIG. Reference numeral 3 denotes a motor, which moves the carriage 2 in the left-right direction via a pulley 4 and a space belt 5. A home sensor 6 detects the origin position of the print head 1. 7 is a platen, 8 is a printing paper, and the platen 7 is rotated and fed out by a motor (not shown).

このような構成のシリアルプリンタは、電源が投入する
とモータ3が回転して印字ヘッド1が左方向へ移動し、
原点位置A点に達するとモータ3が停止して印字ヘッド
1が停止する。
In a serial printer with such a configuration, when the power is turned on, the motor 3 rotates and the print head 1 moves to the left.
When the origin position A is reached, the motor 3 stops and the print head 1 stops.

ここで、前記原点位置A点を基準として固定距離りだけ
離れた位置B、ae第1字第1印目位置とし、また、第
n半日を印字する場合にはモータ3を回転して印字ヘッ
ド1を移動し、第n半日の印字位置に達すると印字ヘッ
ド1を駆動して印字を行う。
Here, a position B, which is a fixed distance away from the origin position A as a reference, is set as the ae first character first mark position, and when printing the nth half day, the motor 3 is rotated to head the print head. 1, and when it reaches the n-th half-day printing position, the print head 1 is driven to perform printing.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、この↓うな従来例は、ホームセンサによ
る原点位置全基準として印字位置全決定するため、印字
用紙のセット位置によって印字用紙左端からの印字位置
が変わるという問題がある。
However, in this prior art example, since the entire printing position is determined using the home sensor as a reference for the origin position, there is a problem that the printing position from the left end of the printing paper changes depending on the setting position of the printing paper.

例えば、印字フォーマットが予め印刷されている伝票な
どの場合、印字用紙のセット位置がずれていると、印字
位置が指定する枠からずれて印字がされる問題がある。
For example, in the case of a slip on which a printing format is pre-printed, if the setting position of the printing paper is shifted, there is a problem that the printing position may be printed out of the specified frame.

本発明は、前記問題を解決するためになされたものであ
り、その目的は、印字用紙のセット位置にかかわらずに
、印字用紙左端からの印字位置が変わらないようにする
と共に、用紙幅に応じた最適位置に印字を行うシリアル
プリンタを提供することにある。
The present invention has been made to solve the above problem, and its purpose is to prevent the printing position from the left edge of the printing paper from changing regardless of the setting position of the printing paper, and to adjust the printing position according to the paper width. An object of the present invention is to provide a serial printer that prints at an optimal position.

〔問題点全解決するための手段〕[Means to solve all problems]

前記した目的全達成するため、本発明は、移動可能なキ
ャリッジに搭載して用紙左端位置及び用紙幅を検出する
検出手段と、予め用紙左端から第1半月の印字位置まで
の距離情報を複数個記憶する記憶回路と全備えたことを
特徴とする。
In order to achieve all of the above objects, the present invention includes a detection means mounted on a movable carriage to detect the left edge position and width of the paper, and a plurality of pieces of distance information from the left edge of the paper to the printing position of the first half moon in advance. It is characterized by being fully equipped with a memory circuit for storing data.

〔作用〕[Effect]

前記特徴を有する本発明は、先ず最初のキャリッジのス
ペーシング動作により、その移動全カウンタでカウント
しながら、セットした印字用紙の用紙左端及び用紙幅全
用紙センサで検出する。この検出した用紙幅に応じて制
御部が、記憶回路から第1半月の印字位置情報を読出し
、この印字位置情報に基づいて所定のスペーシング動作
った後、第1半月から順次印字を行う。これにょシ、印
字位置のセット位置にかかわらずに、用紙左端を原点位
置にし、用紙幅に応じて用紙左端から第1半月の印字位
置までの距離金変え、最適位置に印字を行うようにする
In the present invention having the above-mentioned characteristics, first, by the first spacing operation of the carriage, the left end of the set printing paper and the entire width of the paper are detected by the paper sensor while counting with the total movement counter. According to the detected paper width, the control section reads the printing position information of the first half-moon from the memory circuit, performs a predetermined spacing operation based on this printing position information, and then sequentially prints from the first half-moon. In this case, regardless of the print position set position, the left edge of the paper is set as the origin position, and the distance from the left edge of the paper to the first half-moon printing position is changed according to the paper width to print at the optimal position. .

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図、第3図及び第4図に
基づいて説明する。尚、従来例と同一部分には同一番号
を付して説明を省略する。
Hereinafter, one embodiment of the present invention will be described based on FIGS. 1, 3, and 4. It should be noted that the same parts as in the conventional example are given the same numbers and their explanation will be omitted.

第1図は本発明に係るシリアルプリンタの印字位置決め
方式の一実施例全庁すブロック図、第3図は本発明の一
実施例を示す概略構成図である。
FIG. 1 is a block diagram showing an embodiment of a print positioning method for a serial printer according to the present invention, and FIG. 3 is a schematic block diagram showing an embodiment of the present invention.

第2図において、用紙センサ9は、例えば光反射型、圧
力型または磁気型のセンサを用いるが、本実施例では圧
力型のセンナについて説明する。
In FIG. 2, the paper sensor 9 uses, for example, a light reflection type sensor, a pressure type sensor, or a magnetic type sensor, but in this embodiment, a pressure type sensor will be described.

この用紙センサ9はキャリッジ2に固着搭載されておυ
、キャリッジ2の左右方向の移動に伴って左右に移動す
る。このとき用紙センサ9の出力は、印字用紙8がある
場所では圧力が大きいので論理“1″となり、また印字
用紙8がない場所では、プラテン7と用紙センサ9との
間に間隙が生じて圧力が減少するため論理“OHとなる
。これによシ用紙七ンサ9は用紙幅と用紙左端位置全検
出する。
This paper sensor 9 is fixedly mounted on the carriage 2.
, moves left and right as the carriage 2 moves in the left and right direction. At this time, the output of the paper sensor 9 becomes logic "1" in a place where there is printing paper 8 because the pressure is large, and in a place where there is no printing paper 8, there is a gap between the platen 7 and the paper sensor 9 and the pressure is high. decreases, resulting in the logic "OH". As a result, the paper seventer 9 detects the paper width and the left edge position of the paper.

また、モータ3はスペースモータを使用しており、プー
リ4及びスペースベルト5を介してキャリッジ2全左右
方向に移動する。
Further, the motor 3 is a space motor, and the carriage 2 is moved in all left and right directions via a pulley 4 and a space belt 5.

第1図において、制御部10は、相励磁信号を出力する
毎に相切替回路11及びモータ駆動回路12全介してモ
ータ3を正/逆いずれかの方向に1ステツプ回転させる
。13は用紙左端から第1半月の印字位置までのステッ
プ数記憶回路であシ、例えば本実施例では読書き可能な
ランダム アクセス メモリ(以下RAMと記す。)が
使用される。14は用紙幅に対応した用紙左端から第1
半月の印字位置までの固定ステップ数記憶回路であシ、
例えば本実施例ではリード オンリ メモリ(以下RO
Mと記す。)が使用される。
In FIG. 1, the control unit 10 rotates the motor 3 one step in either the forward or reverse direction via the phase switching circuit 11 and motor drive circuit 12 every time it outputs a phase excitation signal. 13 is a step number storage circuit from the left edge of the paper to the printing position of the first half moon; for example, in this embodiment, a read/write random access memory (hereinafter referred to as RAM) is used. 14 is the first from the left edge of the paper corresponding to the paper width.
Has a fixed step number memory circuit up to the half-moon printing position,
For example, in this embodiment, read only memory (hereinafter referred to as RO
It is written as M. ) is used.

第4図は本発明に係るシリアルプリンタの印字位置決め
方式の一実施例を示すフローチャートである。この第4
図に基づいて前記構成の作用を説明する。尚、説明を簡
単にするために電源投入前の用紙センサ9の位置は、印
字用紙8がセットされている範囲内にあるものとする。
FIG. 4 is a flowchart showing an embodiment of a print positioning method for a serial printer according to the present invention. This fourth
The operation of the above configuration will be explained based on the drawings. In order to simplify the explanation, it is assumed that the position of the paper sensor 9 before the power is turned on is within the range where the printing paper 8 is set.

先ず電源が投入されると制御部10は、相切替回路11
及びモータ駆動回路12を介してモータ3を正方向に1
ステツプずつ回転し、キャリツジ2全図中左方向へ移動
させながら用紙センサ9の出力全監視する。この用紙セ
ンサ9の出力がオンからオフに切替わった位置(すなわ
ち、用紙左端位置C点)全原点として、前記制御部10
はモータ3全停止する。
First, when the power is turned on, the control unit 10 switches the phase switching circuit 11
and the motor 3 in the forward direction via the motor drive circuit 12.
The paper sensor 9 is rotated step by step and the entire output of the paper sensor 9 is monitored while the carriage 2 is moved to the left in the entire figure. The control unit 1
motor 3 is completely stopped.

それから、図示せぬステップ数カウンタ(以下、カウン
タと記す。)全クリヤした後、モータ3が1ステツプず
つ逆回転してキャリッジ2全右方向へ移動すると共に、
カウンタが1ずつ増加しながら制御部10が用紙センサ
9の出力全監視する。
Then, after completely clearing the step number counter (hereinafter referred to as counter) (not shown), the motor 3 reversely rotates one step at a time, and the carriage 2 moves completely to the right.
The control unit 10 monitors all outputs of the paper sensor 9 while the counter increases by one.

この用紙センサ9の出力がオンからオフに切替わった位
置(すなわち、用紙右端位置り点)で、制御部10はモ
ータ3を停止する。
The control unit 10 stops the motor 3 at the position where the output of the paper sensor 9 is switched from on to off (ie, the right edge position of the paper).

この時のカウンタ値をα、用紙幅k a %モータ3の
1ステップ当りのキャリツ・ン2の移動距離全dとすれ
ば、α= a/aが成立し、カウンタ値αが用紙幅全表
すことになる。
If the counter value at this time is α, the paper width k a %, and the total moving distance of the carrier 2 per step of the motor 3 is d, then α = a/a holds true, and the counter value α represents the entire paper width. It turns out.

次に、前記カウンタ値αに応じて制御部10は、ROM
14から第1半月の印字位置情報を読出し、RAM13
に第1半月の印字位置E点として格納し、以後の印字は
RAM13に格納されている第1字目印字位置から順に
印字される。ところで、前記ROMI 4に書込まれて
いる第1半月の印字位置情報は、モータ3の1ステップ
当りのキャリッジ2移動距離全1膿とした時、例えば下
表のよ冗す6・       表 また、外部装置から第1半回位置情報全受信した場合に
は、RAM13に第1半月の印字位置として格納する。
Next, the control unit 10 controls the ROM according to the counter value α.
14, the printing position information of the first half moon is read out from RAM13.
is stored as the printing position point E of the first half-moon, and subsequent printing is performed in order from the first printing position stored in the RAM 13. By the way, the printing position information of the first half moon written in the ROMI 4 is as shown in the table below, for example, when the carriage 2 travel distance per one step of the motor 3 is 1. When all the first half-moon position information is received from the external device, it is stored in the RAM 13 as the first half-moon printing position.

つま、p、RAM13の所定番地へ外部装置から入力し
たスペーシング量を格納する。
The spacing amount input from the external device is stored in a predetermined location of the RAM 13.

この時、第1半月の位置情報がモータステップ数で指定
される場合には、そのままRAM13に格納し、また距
離すとして指定される場合にはb/aの計算結果iRA
M13に格納する。すなわち、インダイレクト指定の場
合には、スペーシング情報全直接入れずに、その情報の
格納されているアドレスの先頭全所定のアドレスに格納
する。
At this time, if the position information of the first half moon is specified by the number of motor steps, it is stored as is in the RAM 13, and if it is specified as a distance, the b/a calculation result iRA
Store in M13. That is, in the case of indirect designation, the entire spacing information is not directly inserted, but is stored at the entire beginning of the address where the information is stored.

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

前記した如く、本発明に係るシリアルプリンタの印字位
置決め方式によれば、最初のキャリッジのスペーシング
動作によりセットした印字用紙の用紙左端及び用紙幅全
前記検出手段で検出し、この検出した用紙幅に応じて記
憶回路から所望の第1半月の印字位置情報全読出し、該
印字位置情報に基づいて所定のスペーシングを行った後
、第1半月から印字をすることによって、以下に示す効
果全発揮する。
As described above, according to the printing positioning method of the serial printer according to the present invention, the left edge and the paper width of the set printing paper are detected by the detection means by the first spacing operation of the carriage, and the detected paper width is Accordingly, all of the printing position information of the desired first half-moon is read out from the memory circuit, a predetermined spacing is performed based on the printing position information, and printing is performed from the first half-moon, thereby achieving the full effect shown below. .

すなわち、用紙左端からの第1半月の印字位置が、用紙
セット位置に関係なく所望の位置に設定できるため、操
作員が用紙セット位置に印字用紙金合わせる必要がなく
なると共に、印字用紙毎の印字位置のばらつきがなくな
る効果がある。また、用紙幅に応じた最適位置に印字を
行うようにしたため、印字結果が見易すくかつ均衡がと
れた印字ができる効果がある。
In other words, the printing position of the first half-moon from the left edge of the paper can be set to a desired position regardless of the paper setting position, so the operator does not need to adjust the printing paper height to the paper setting position, and the printing position for each printing paper can be set at a desired position. This has the effect of eliminating variations in Furthermore, since printing is performed at the optimum position according to the width of the paper, the printing result is easy to see and the printing is well-balanced.

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

第1図は本発明の一実施例全庁すブロック図、第2図は
従来例の構成図、第3図は本発明の一実施例全庁す概略
構成図、第4図は本発明の一実施例を示すフローチャー
トである。 1・・・印字ヘッド 2・・・キャリッジ 3・・・モ
ータ8・・・印字用紙 9・・・用紙センサ 10・・
・制御部11・・・相切替回路 12・・・モータ駆動
回路 13・・・RAM14・・・ROM
Fig. 1 is a block diagram of an embodiment of the present invention, Fig. 2 is a block diagram of a conventional example, Fig. 3 is a schematic block diagram of an embodiment of the present invention, and Fig. 4 is a block diagram of an embodiment of the present invention. It is a flowchart which shows one example. 1... Print head 2... Carriage 3... Motor 8... Print paper 9... Paper sensor 10...
・Control unit 11...Phase switching circuit 12...Motor drive circuit 13...RAM14...ROM

Claims (1)

【特許請求の範囲】 1、移動可能なキャリッジに搭載して用紙左端位置及び
用紙幅を検出する検出手段と、 予め用紙左端から第1字目の印字位置までの距離情報を
複数個記憶する記憶回路とを備え、最初のキャリッジの
スペーシング動作により、セットした印字用紙の用紙左
端及び用紙幅を前記検出手段で検出し、 この検出した用紙幅に応じて前記記憶回路から所望の第
1字目の印字位置情報を読出し、この読出した印字位置
情報に基づいて所定のスペーシングを行った後、第1字
目から印字情報を用紙に印字することを特徴とするシリ
アルプリンタの印字位置決め方式。
[Scope of Claims] 1. Detection means mounted on a movable carriage to detect the left edge position and width of the paper, and a memory that stores in advance a plurality of pieces of distance information from the left edge of the paper to the printing position of the first character. The detection means detects the paper left edge and paper width of the set printing paper by the first spacing operation of the carriage, and according to the detected paper width, the desired first character is selected from the memory circuit. A print positioning method for a serial printer, characterized in that the print position information of the serial printer is read, and after predetermined spacing is performed based on the read print position information, the print information is printed on paper from the first character.
JP16601685A 1985-07-29 1985-07-29 Printing position determining system for serial printer Pending JPS6227169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16601685A JPS6227169A (en) 1985-07-29 1985-07-29 Printing position determining system for serial printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16601685A JPS6227169A (en) 1985-07-29 1985-07-29 Printing position determining system for serial printer

Publications (1)

Publication Number Publication Date
JPS6227169A true JPS6227169A (en) 1987-02-05

Family

ID=15823345

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16601685A Pending JPS6227169A (en) 1985-07-29 1985-07-29 Printing position determining system for serial printer

Country Status (1)

Country Link
JP (1) JPS6227169A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS643455U (en) * 1987-06-25 1989-01-10
JPH029665A (en) * 1988-06-29 1990-01-12 Oki Electric Ind Co Ltd Printing position setting mechanism of printer
US5076719A (en) * 1989-05-31 1991-12-31 Fujitsu Limited Printing apparatus having automatic loading function to avoid print medium corner snagging
EP0713780A3 (en) * 1990-02-02 1996-08-07 Canon Kk Serial recording apparatus for bidirectional recording
EP0875392A1 (en) * 1993-11-01 1998-11-04 Hewlett-Packard Company Shuttle-Type Printers and Methods for Operating Same
US6184266B1 (en) 1996-07-11 2001-02-06 Scimed Life Systems, Inc. Medical devices comprising cross-linked hydrogels having improved mechanical properties

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS643455U (en) * 1987-06-25 1989-01-10
JPH029665A (en) * 1988-06-29 1990-01-12 Oki Electric Ind Co Ltd Printing position setting mechanism of printer
US5076719A (en) * 1989-05-31 1991-12-31 Fujitsu Limited Printing apparatus having automatic loading function to avoid print medium corner snagging
US5167461A (en) * 1989-05-31 1992-12-01 Fujitsu Limited Printing apparatus having automatic loading function to avoid print medium corner snagging
EP0713780A3 (en) * 1990-02-02 1996-08-07 Canon Kk Serial recording apparatus for bidirectional recording
EP0875392A1 (en) * 1993-11-01 1998-11-04 Hewlett-Packard Company Shuttle-Type Printers and Methods for Operating Same
US6184266B1 (en) 1996-07-11 2001-02-06 Scimed Life Systems, Inc. Medical devices comprising cross-linked hydrogels having improved mechanical properties

Similar Documents

Publication Publication Date Title
JPS6227169A (en) Printing position determining system for serial printer
EP0291099B1 (en) Apparatus for indexing an origin of a moving member
JP3053144B2 (en) Printer carriage motor controller
JPS63112182A (en) Printer device
JPS63107576A (en) serial printer
EP0341671B1 (en) Bidirectional printing device
US5087134A (en) Method of and device for printer control
JPS59155072A (en) Printer
JPH0156916B2 (en)
JPS5976197A (en) Drive device for carriage
JPS6258317B2 (en)
JPH03169665A (en) Platen gap adjustment device
JP2553036B2 (en) Print position controller
JPS59149796A (en) Control system for stepping motor
JP2003191531A (en) Dot line printer
JPH0970199A (en) Printer
JP3415258B2 (en) Dot printer shuttle controller
JP3050259B2 (en) Printing control device
JP3733267B2 (en) Step motor drive control circuit
JPS6255170A (en) printing device
JPH06305216A (en) Device and method for controlling power source of printer
JPS63114682A (en) printing device
JPH04221658A (en) Drive of serial printer
JP2806688B2 (en) Printing equipment
JP2522232B2 (en) Printer