JPH07164718A - Printing position controller - Google Patents

Printing position controller

Info

Publication number
JPH07164718A
JPH07164718A JP31241393A JP31241393A JPH07164718A JP H07164718 A JPH07164718 A JP H07164718A JP 31241393 A JP31241393 A JP 31241393A JP 31241393 A JP31241393 A JP 31241393A JP H07164718 A JPH07164718 A JP H07164718A
Authority
JP
Japan
Prior art keywords
printing
signal
left end
paper
circuit
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
JP31241393A
Other languages
Japanese (ja)
Inventor
Chieko Kobayashi
千恵子 小林
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.)
NEC Data Terminal Ltd
Original Assignee
NEC Data Terminal 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 NEC Data Terminal Ltd filed Critical NEC Data Terminal Ltd
Priority to JP31241393A priority Critical patent/JPH07164718A/en
Publication of JPH07164718A publication Critical patent/JPH07164718A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To eliminate the possibility that a shift of a printing paper set position may cause a printed result to be shifted or lie out of paper by providing a control part for controlling a printing start position and the number of printing characters by receiving a signal from a reference position operating circuit or the like. CONSTITUTION:An output signal from a reference detection sensor 3 is inputted to a reference detection circuit 15. The reference detection circuit 15 detects thereby a left end position when printing paper is normally set, i.e., a reference position, and transmits it to a reference position operating circuit 16. The reference position operating circuit 16 receives output signals from the reference detection circuit 15 and an encoder 5, calculates the reference position, and transmits the result to a control part 17. The control part 17 calculates a difference between the reference position from the reference position operating circuit 15 and a left end position from a left end position operating circuit 12 to find a printing paper set position. A printing position for the first character is corrected by using the position as a reference. In this manner, a shift in printing caused by a shift of a printing paper set position can be eliminated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、印刷装置に使用する印
字位置制御装置に関し、特に、印刷装置に装着された印
字用紙の装着位置および印字用紙の幅に応じて印字開始
位置および印字数の制御を行うための印字位置制御装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print position control device used in a printing device, and more particularly, to a print start position and a print number depending on a mounting position of a printing paper mounted on the printing device and a width of the printing paper. The present invention relates to a print position control device for performing control.

【0002】[0002]

【従来の技術】従来の印刷装置は、装着された印字用紙
の装着位置や印字用紙の幅に無関係に、上位装置から送
られてきた印字データを、あらかじめ決められている印
字開始位置および印字数で印刷している。
2. Description of the Related Art In a conventional printing device, print data sent from a host device is used to determine a predetermined print start position and print number regardless of the mounting position of the mounted print paper and the width of the print paper. Is printed in.

【0003】[0003]

【発明が解決しようとする課題】上述したように、従来
の印刷装置は、装着された印字用紙の装着位置や印字用
紙の幅に対応した制御がなされていないため、印字用紙
の装着位置が横方向にずれていると、印字用紙に印字し
た文字が所定の位置がからずれ、また、印字用紙の幅が
狭い場合は、印字用紙からはみ出しての印字されてしま
い、これらは、印字が終了してから判明するという欠点
がある。
As described above, in the conventional printing apparatus, since the mounting position of the mounted printing paper and the width of the printing paper are not controlled, the mounting position of the printing paper is changed horizontally. If it is misaligned in the direction, the characters printed on the printing paper will be misaligned from the predetermined position, and if the width of the printing paper is narrow, it will be printed out of the printing paper. There is a drawback that it will be revealed afterwards.

【0004】[0004]

【課題を解決するための手段】本発明の印字位置制御装
置は、印刷装置に装着された印字用紙の装着位置を検出
する用紙検出センサと、前記用紙検出センサからの信号
によって前記印字用紙の左端位置を検出する左端検出回
路と、前記用紙検出センサからの信号によって前記印字
用紙の右端位置を検出する右端検出回路と、印字用紙の
基準位置に関する信号を送出する基準検出センサと、前
記基準検出センサからの信号によって基準位置を検出す
る基準検出回路と、用紙抑え部の移動量を検出するエン
コーダと、前記左端検出回路からの信号および前記エン
コーダからの信号を入力して印字の左端位置を演算する
左端位置演算回路と、前記右端検出回路からの信号およ
び前記エンコーダからの信号を入力して印字の右端位置
を演算する右端位置演算回路と、前記基準検出回路から
の信号および前記エンコーダからの信号を入力して印字
用紙の基準位置を演算する基準位置演算回路と、前記左
端位置演算回路および前記右端位置演算回路および前記
基準位置演算回路からの信号を入力して印字開始位置お
よび印字数の制御を行う制御部とを備えている。
A print position control device of the present invention comprises a paper detection sensor for detecting a mounting position of a print paper mounted on the printing device, and a left end of the print paper according to a signal from the paper detection sensor. A left end detection circuit for detecting a position, a right end detection circuit for detecting a right end position of the printing paper by a signal from the paper detection sensor, a reference detection sensor for sending a signal related to a reference position of the printing paper, and the reference detection sensor A reference detection circuit that detects the reference position by a signal from the encoder, an encoder that detects the amount of movement of the paper pressing unit, a signal from the left end detection circuit, and a signal from the encoder are input to calculate the left end position of printing. Right edge position calculation circuit and right edge position for calculating the right edge position of printing by inputting the signal from the right edge detection circuit and the signal from the encoder An arithmetic circuit, a reference position arithmetic circuit that inputs a signal from the reference detection circuit and a signal from the encoder to calculate the reference position of the print sheet, the left end position arithmetic circuit, the right end position arithmetic circuit, and the reference position. And a control unit for controlling a print start position and the number of prints by inputting a signal from the arithmetic circuit.

【0005】[0005]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0006】図1は本発明の一実施例を示すブロク図、
図2は図1の実施例を適用する印刷装置の一例の主要部
を示す斜視図である。
FIG. 1 is a block diagram showing an embodiment of the present invention.
FIG. 2 is a perspective view showing a main part of an example of a printing apparatus to which the embodiment of FIG. 1 is applied.

【0007】図2において、印字用紙が装着されると、
モータ4が動作し、タイミングベルト6を介して用紙抑
え部2が一旦基準位置まで戻る。これによって基準検出
センサ3が遮蔽板7を検出し、用紙抑え部2は、用紙検
出センサ1が印字用紙の左端および右端を検出するまで
動き、検出した時点で用紙抑え部2は停止する。これに
よって用紙検出センサ1は、印字用紙の左端および右端
を検出する。このときエンコーダ5は、用紙抑え部2の
移動量を検出する。
In FIG. 2, when the printing paper is loaded,
The motor 4 operates and the paper restraining unit 2 returns to the reference position once via the timing belt 6. As a result, the reference detection sensor 3 detects the shield plate 7, the paper holding unit 2 moves until the paper detection sensor 1 detects the left end and the right end of the printing paper, and the paper holding unit 2 stops at the time of detection. As a result, the sheet detection sensor 1 detects the left edge and the right edge of the print sheet. At this time, the encoder 5 detects the amount of movement of the paper pressing unit 2.

【0008】用紙検出センサ1からの出力信号は、図1
に示すように、左端検出回路11および右端検出回路1
3に入力し、左端検出回路11および右端検出回路13
は、用紙検出センサ1からの出力信号が遮断されたと
き、それぞれが検出した印字用紙の左端および右端をそ
れぞれ左端位置演算回路12および右端位置演算回路1
4に出力する。一方、エンコーダ5からの出力信号も、
左端位置演算回路12および右端位置演算回路14に入
力される。
The output signal from the paper detection sensor 1 is shown in FIG.
As shown in, the left end detection circuit 11 and the right end detection circuit 1
3 into the left end detection circuit 11 and the right end detection circuit 13
When the output signal from the paper detection sensor 1 is cut off, the left end and the right end of the printing paper detected by the paper detection sensor 1 are detected as the left end position calculation circuit 12 and the right end position calculation circuit 1, respectively.
Output to 4. On the other hand, the output signal from the encoder 5 is also
It is input to the left end position calculation circuit 12 and the right end position calculation circuit 14.

【0009】左端位置演算回路12は、左端検出回路1
1およびエンコーダ5からの出力信号を入力して印字用
紙の左端位置を計算し、その結果を制御部17に出力す
る。同様に、右端位置演算回路14は、右端検出回路1
3およびエンコーダ5からの出力信号を入力して印字用
紙の右端位置を計算し、その結果を制御部17に出力す
る。
The left end position calculation circuit 12 is a left end detection circuit 1.
1 and the output signal from the encoder 5 are input to calculate the left end position of the printing paper, and the result is output to the control unit 17. Similarly, the right end position calculation circuit 14 is
3 outputs the output signals from the encoder 5 and the encoder 5, calculates the right end position of the print sheet, and outputs the result to the control unit 17.

【0010】基準検出センサ3からの出力信号は基準検
出回路15に入力し、基準検出回路15は、これによっ
て印字用紙のが正しく装着された場合の左端位置、すな
わち基準位置を検出して基準位置演算回路16に出力す
る。基準位置演算回路16は、基準検出回路15および
エンコーダ5からの出力信号を入力して基準位置を計算
し、その結果を制御部17に出力する。
The output signal from the reference detection sensor 3 is input to the reference detection circuit 15, which detects the left end position when the print paper is correctly mounted, that is, the reference position and detects the reference position. Output to the arithmetic circuit 16. The reference position calculation circuit 16 inputs the output signals from the reference detection circuit 15 and the encoder 5, calculates the reference position, and outputs the result to the control unit 17.

【0011】制御部17は、基準位置演算回路14から
の基準位置と左端位置演算回路12からの左端位置との
差を計算して印字用紙の装着位置を求め、この位置を基
準として第一番目の文字の印字位置を補正する。これに
より、印字用紙の装着位置のずれに伴う印字のずれをな
くすことが可能となる。
The control unit 17 calculates the difference between the reference position from the reference position calculation circuit 14 and the left end position from the left end position calculation circuit 12 to obtain the mounting position of the printing paper, and the first position is based on this position. Correct the print position of the character. As a result, it is possible to eliminate the printing deviation due to the deviation of the mounting position of the printing paper.

【0012】制御部17はまた、左端位置演算回路12
からの左端位置と右端位置演算回路14からの右端位置
との差を計算して印字用紙の幅を求め、これにより装着
されている印字用紙に対する1行の印字数を求める。こ
れにより、1行に印字可能な文字数を超える印字データ
が上位装置から送られてきたとき、超えた分の文字を次
の行に印字するか、または1行に印字不可能であること
を上位装置に対して通知することにより、印字用紙から
はみ出した印字を行なわないようにする。次の行に印字
するか上位装置に対して通知するかの判断は、上位装置
から送られてくる制御データによって行う。
The control unit 17 also includes a left end position calculation circuit 12
From the right end position from the right end position calculation circuit 14 is calculated to obtain the width of the print paper, and the number of prints of one line for the attached print paper is obtained. As a result, when print data that exceeds the number of characters that can be printed on one line is sent from a higher-level device, the excess characters are printed on the next line, or the upper line indicates that printing cannot be performed on one line. By notifying the device, the printing outside the printing paper is prevented. Whether to print on the next line or to notify the higher-level device is determined based on the control data sent from the higher-level device.

【0013】[0013]

【発明の効果】以上説明したように、本発明の印字位置
制御装置は、装着された印字用紙の左端位置および右端
位置を検出し、左端位置と基準位置との差から印字用紙
の装着位置のずれを求めて第一番目の文字の印字位置を
補正し、左端位置と右端位置の差から印字用紙の幅を求
めて装着された印字用紙の1行に印字できる文字数を計
算し、印字可能な文字数を超える印字データの印字を行
わないように処理することにより、印字用紙の装着位置
のずれに伴う印字のずれをなくすことが可能となり、ま
た印字用紙からはみ出した印字を防止することが可能に
なるいう効果がある。
As described above, the printing position control device of the present invention detects the left end position and the right end position of the mounted printing paper and detects the mounting position of the printing paper from the difference between the left end position and the reference position. The print position of the first character is corrected by obtaining the deviation, the width of the printing paper is calculated from the difference between the left end position and the right end position, the number of characters that can be printed on one line of the attached printing paper is calculated, and printing is possible. By performing processing so that the print data that exceeds the number of characters is not printed, it is possible to eliminate the print misalignment due to the misalignment of the mounting position of the print paper, and it is also possible to prevent the print that exceeds the print paper. There is an effect.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1の実施例を適用する印刷装置の一例の主要
部を示す斜視図である。
FIG. 2 is a perspective view showing a main part of an example of a printing apparatus to which the embodiment of FIG. 1 is applied.

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

1 用紙検出センサ 2 用紙抑え部 3 基準検出センサ 4 モータ 5 エンコーダ 6 タイミングベルト 7 遮蔽板 11 左端検出回路 12 左端位置演算回路 13 右端検出回路 14 右端位置演算回路 15 基準検出回路 16 基準位置演算回路 17 制御部 1 Paper Detection Sensor 2 Paper Suppression Section 3 Reference Detection Sensor 4 Motor 5 Encoder 6 Timing Belt 7 Shielding Plate 11 Left Edge Detection Circuit 12 Left Edge Position Calculation Circuit 13 Right Edge Detection Circuit 14 Right Edge Position Calculation Circuit 15 Reference Detection Circuit 16 Reference Position Calculation Circuit 17 Control unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 印刷装置に装着された印字用紙の装着位
置を検出する用紙検出センサと、前記用紙検出センサか
らの信号によって前記印字用紙の左端位置を検出する左
端検出回路と、前記用紙検出センサからの信号によって
前記印字用紙の右端位置を検出する右端検出回路と、印
字用紙の基準位置に関する信号を送出する基準検出セン
サと、前記基準検出センサからの信号によって基準位置
を検出する基準検出回路と、用紙抑え部の移動量を検出
するエンコーダと、前記左端検出回路からの信号および
前記エンコーダからの信号を入力して印字の左端位置を
演算する左端位置演算回路と、前記右端検出回路からの
信号および前記エンコーダからの信号を入力して印字の
右端位置を演算する右端位置演算回路と、前記基準検出
回路からの信号および前記エンコーダからの信号を入力
して印字用紙の基準位置を演算する基準位置演算回路
と、前記左端位置演算回路および前記右端位置演算回路
および前記基準位置演算回路からの信号を入力して印字
開始位置および印字数の制御を行う制御部とを備えるこ
とを特徴とする印字位置制御装置。
1. A paper detection sensor for detecting a mounting position of a printing paper mounted on a printing device, a left end detection circuit for detecting a left end position of the printing paper by a signal from the paper detection sensor, and the paper detection sensor. A right edge detection circuit for detecting the right edge position of the print sheet by a signal from the reference sheet, a reference detection sensor for transmitting a signal related to the reference position of the print sheet, and a reference detection circuit for detecting the reference position by the signal from the reference detection sensor. An encoder for detecting the amount of movement of the paper holding unit, a signal from the left end detection circuit and a left end position calculation circuit for calculating a left end position of printing by inputting a signal from the encoder, and a signal from the right end detection circuit And a signal from the right end position calculation circuit for calculating the right end position of printing by inputting a signal from the encoder and a signal from the reference detection circuit and And a signal from the encoder to calculate the reference position of the print sheet, and a signal from the left end position calculation circuit, the right end position calculation circuit and the reference position calculation circuit to start printing. A print position control device comprising: a control unit that controls the position and the number of prints.
JP31241393A 1993-12-14 1993-12-14 Printing position controller Pending JPH07164718A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31241393A JPH07164718A (en) 1993-12-14 1993-12-14 Printing position controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31241393A JPH07164718A (en) 1993-12-14 1993-12-14 Printing position controller

Publications (1)

Publication Number Publication Date
JPH07164718A true JPH07164718A (en) 1995-06-27

Family

ID=18028938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31241393A Pending JPH07164718A (en) 1993-12-14 1993-12-14 Printing position controller

Country Status (1)

Country Link
JP (1) JPH07164718A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1329207C (en) * 2002-01-11 2007-08-01 兄弟工业株式会社 Image formation apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1329207C (en) * 2002-01-11 2007-08-01 兄弟工业株式会社 Image formation apparatus

Similar Documents

Publication Publication Date Title
EP0072709B1 (en) Printer control system
JPH0569625A (en) Serial printer
JP3149168B2 (en) Printing device
JPH07164718A (en) Printing position controller
EP0533400B1 (en) Paper width detecting device in a printing
JPS63112186A (en) Control of printing by detection of printing paper
US5530790A (en) Print control device for a printer or similar equipment
JPH09113230A (en) Device for regulating generated light quantity of medium detecting sensor of printer
JPH04363277A (en) Serial printer
JPH03264372A (en) Printer device
JP3642070B2 (en) Printing apparatus, printing system using the same, and method for controlling the printing apparatus
JPH1179472A (en) Undefined paper sheet sizing system and printing device using it
JPS5744136A (en) Original deviation correction device of copying machine
JPH032072A (en) Video printer
JPH10264461A (en) Printing apparatus
JPH04364979A (en) Printer
JPH04364980A (en) Printer
JPH02172782A (en) Printing device
JPS5791293A (en) System of positioning recording paper
JPH0499677A (en) Automatic print shift correcting circuit
JPH04191073A (en) Printing control apparatus
JPS61220878A (en) Carriage drive controller for printer
JPS581585A (en) Reference position adjusting system for printer
JPS6158773A (en) Paper feed apparatus
JPH0836330A (en) Sheet size detector

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19990223