JPH04319462A - Method for correcting printing position of ruled preprinting paper in printer - Google Patents

Method for correcting printing position of ruled preprinting paper in printer

Info

Publication number
JPH04319462A
JPH04319462A JP3088827A JP8882791A JPH04319462A JP H04319462 A JPH04319462 A JP H04319462A JP 3088827 A JP3088827 A JP 3088827A JP 8882791 A JP8882791 A JP 8882791A JP H04319462 A JPH04319462 A JP H04319462A
Authority
JP
Japan
Prior art keywords
paper
printing
line
distance
carriage
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
JP3088827A
Other languages
Japanese (ja)
Other versions
JP2695532B2 (en
Inventor
Akihiko Inamoto
稲本 彰彦
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 JP3088827A priority Critical patent/JP2695532B2/en
Publication of JPH04319462A publication Critical patent/JPH04319462A/en
Application granted granted Critical
Publication of JP2695532B2 publication Critical patent/JP2695532B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To make it possible to print without print deviation not requiring fine adjustment for alignment of ruled line at printing by calculating a difference between a paper feed quantity and a proper heading distance to be stored in a non-volatile memory so as to use as a correction value for a line feed position thereafter. CONSTITUTION:When a printer is started, a DELTAX is given to a carriage feed controller 19 as a controlled variable. A carriage motor 18 is started and a carriage 13 is positioned till a distance of the DELTAX from the left edge of a paper. A paper feeding is started at this carriage position. A counter 10 measures a paper feed quantity DELTAY' from a detection of the top edge of the paper by an optical sensor 14 till a detection of a first ruled line. Also, a proper heading distance DELTAY is read out from a non-volatile memory 7 and DELTAY-DELTAY' is calculated by a comparator 17 so as to obtain a line feed position correction quantity E. Thus, a printing position can be corrected automatically regardless of different makers who performed preprinting and different manufacturing lots.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は,シリアルプリンタなど
のプリンタによるけい線プレ印刷用紙への印刷処理の際
の印字位置補正方法に関する。けい線が予め印刷されて
いるプレ印刷用紙や伝票等に文字データを印字する場合
,用紙によりけい線位置と印字位置との間にずれが生じ
やすい。本発明は,このようなけい線プレ印刷用紙に対
して印字ずれのない印刷を行わせるための印字位置補正
方法を提供する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for correcting print positions during printing processing on pre-printed paper by a printer such as a serial printer. When character data is printed on pre-printed paper, slips, etc. on which cross-line lines have been printed in advance, a misalignment between the cross-line position and the printing position is likely to occur depending on the paper. The present invention provides a printing position correction method for printing on such pre-printed paper with no printing deviation.

【0002】0002

【従来の技術】図3により,従来のシリアルプリンタに
おけるけい線プレ印刷用紙への印刷制御方法を説明する
。図3の(a)はシリアルプリンタの印刷機構の概要図
であり,図中1はプラテン,2は印字ヘッド,3,4は
送りローラ,5はけい線プレ印刷用紙,6は用紙の上端
を検出する光学センサ,7は不揮発性メモリ,8は用紙
の上端から印字を開始する最初のけい線位置までの距離
を用紙種別ごとに規定する適正頭出し距離△Y,9は印
字ヘッド2と光学センサ6の間の送り距離△A,10は
光学センサ6が用紙上端を検出したときクロック計数を
開始するカウンタ,11はカウンタ10のカウント値C
と△Y+△Aとを比較して,一致したときに印字開始の
制御信号を出力する演算器である。
2. Description of the Related Art A method of controlling printing on pre-printed paper in a conventional serial printer will be explained with reference to FIG. Figure 3(a) is a schematic diagram of the printing mechanism of a serial printer. In the figure, 1 is a platen, 2 is a print head, 3 and 4 are feed rollers, 5 is a marked line pre-print paper, and 6 is a top edge of the paper. 7 is a nonvolatile memory, 8 is an appropriate cueing distance △Y that defines the distance from the top edge of the paper to the first marking line position where printing starts for each paper type, and 9 is the print head 2 and optical sensor. The feeding distance ΔA between the sensors 6, 10 is a counter that starts clock counting when the optical sensor 6 detects the top edge of the paper, and 11 is the count value C of the counter 10.
This is an arithmetic unit that compares ΔY+ΔA and outputs a control signal to start printing when they match.

【0003】次に図3の(b)は,けい線プレ印刷用紙
5の例であり,12はけい線を示す。このけい線プレ印
刷用紙5の上端5aと最初のけい線12aとの間の実際
の頭出し距離が△Y′である。印刷動作開始とともに,
けい線プレ印刷用紙5は送りローラ3,4によりプラテ
ン1と印字ヘッド2へ向けて給送され,光学センサ6が
用紙上端5aを検出するとカウンタ10を起動する。
Next, FIG. 3(b) shows an example of a score line pre-printed paper 5, in which reference numeral 12 indicates a score line. The actual cueing distance between the upper end 5a of the pre-printed score line 5 and the first score line 12a is ΔY'. As the printing operation starts,
The preprinted paper 5 is fed toward the platen 1 and the print head 2 by the feed rollers 3 and 4, and when the optical sensor 6 detects the top edge 5a of the paper, a counter 10 is activated.

【0004】用紙の給送はその後も続けられ,演算器1
1がカウンタ10のカウント値Cと△Y+△Aとの一致
を検出したとき,最初のけい線の印字位置が印字ヘッド
2の真下にきているものと判定して印字開始制御信号を
出力する。ところで,一般にけい線などのフォーマット
がプレ印刷された用紙や伝票の印刷精度は印刷メーカー
や製造ロットによってばらつきがあり,コスト上の問題
からもあまり厳しくできないのが現状である。そのため
,規格値として予め設定されている適正頭出し距離△Y
と,実際の用紙における頭出し距離△Y′との間誤差に
よって印字文字とけい線との間に重なりが生じ,見にく
くなるなど印刷品質上問題が出るので,印刷開始時にオ
ペレータがけい線位置合わせの微小調整を行う必要があ
った。
[0004] Paper feeding continues thereafter, and the computing unit 1
1 detects a match between the count value C of the counter 10 and △Y+△A, it determines that the printing position of the first marked line is directly below the print head 2, and outputs a printing start control signal. . By the way, the printing accuracy of paper and slips on which formats such as contour lines are pre-printed generally varies depending on the printing manufacturer and production lot, and the current situation is that it cannot be made too strict due to cost considerations. Therefore, the appropriate cueing distance △Y that is preset as a standard value
Errors between the starting distance △Y' on the actual paper and the printed characters overlap the marked line, making it difficult to see and causing print quality problems. Minor adjustments had to be made.

【0005】[0005]

【発明が解決しようとする課題】本発明は,けい線プレ
印刷用紙への印刷時にけい線位置合わせの微小調整を必
要とせずに印字ずれのない印刷を可能にすることを目的
としている。
SUMMARY OF THE INVENTION It is an object of the present invention to enable printing without misalignment of markings without requiring fine adjustment of marking line positioning when printing on marking line pre-printing paper.

【0006】[0006]

【課題を解決するための手段】本発明は,けい線プレ印
刷用紙ごとに用紙上端から最初のけい線までの頭出し距
離(用紙送り量)を実際に測定することによって設定さ
れている適正頭出し距離の補正を行い,印字位置ずれの
解消を図るものである。
[Means for Solving the Problems] The present invention provides an appropriate cueing distance that is set by actually measuring the cueing distance (paper feed amount) from the top edge of the paper to the first crease line for each pre-printed paper. The distance is corrected to eliminate printing position misalignment.

【0007】図1は,本発明の原理的構成図である。図
1において,1はプラテン,2は印字ヘッド,5はけい
線プレ印刷用紙,5aは用紙上端,7は不揮発性メモリ
,8は規格値の適正頭出し距離△Y,10はカウンタ,
13はキャリッジ,14は光学センサ,15は用紙上端
検出回路,16はけい線検出回路,17は比較器である
FIG. 1 is a diagram showing the basic configuration of the present invention. In FIG. 1, 1 is a platen, 2 is a print head, 5 is a marked line pre-print paper, 5a is the upper edge of the paper, 7 is a non-volatile memory, 8 is a standard value of appropriate cueing distance ΔY, 10 is a counter,
13 is a carriage, 14 is an optical sensor, 15 is a paper top edge detection circuit, 16 is a marking line detection circuit, and 17 is a comparator.

【0008】光学センサ14は,印字ヘッド2とともに
キャリッジ13に一体に設けられているもので,通常,
印刷用紙に予め印刷されているバーコードやIDコード
などの印刷制御情報を読み取るために設けられているも
のが利用できる。用紙上端検出回路15は,けい線プレ
印刷用紙5が印字ヘッド2の方向に給送されて用紙上端
5aが光学センサ14の下にきたときに生じる出力信号
変化からカウンタ起動信号を生成し,カウンタ10のク
ロックカウント動作を開始させる。
The optical sensor 14 is provided integrally with the print head 2 on the carriage 13, and is usually
It is possible to use a device that is provided for reading print control information such as a bar code or ID code that is printed in advance on printing paper. The paper top edge detection circuit 15 generates a counter activation signal from an output signal change that occurs when the paper top edge 5a comes under the optical sensor 14 as the score line pre-print paper 5 is fed in the direction of the print head 2, and the counter activation signal is activated. Start a 10 clock count operation.

【0009】けい線検出回路16は,光学センサ14が
最初のけい線12を検出して生じる信号変化からカウン
タ停止信号を生成し,カウンタ10のクロックカウント
動作を停止させる。またこのカウンタ停止信号は,印字
実行を開始させるための印字開始制御信号としても出力
される。
The marker line detection circuit 16 generates a counter stop signal from a signal change generated when the optical sensor 14 detects the first marker line 12, and stops the clock counting operation of the counter 10. This counter stop signal is also output as a print start control signal for starting printing execution.

【0010】カウンタ10はカウンタ起動信号とカウン
タ停止信号との間のクロック数,つまり用紙送り量を測
定し,△Y′として比較器17の一方の入力に与える。 比較器17の他方の入力には不揮発性メモリ7から読み
出された適正頭出し距離△Yが与えられており,比較器
17はこれらの差をとり,改行位置補正信号△Eを生成
する。この改行位置補正信号△Eは,適正頭出し距離△
Yを補正するために用いられ,以後の各けい線位置で行
われる改行を適切な位置で実行させる。
The counter 10 measures the number of clocks between the counter start signal and the counter stop signal, that is, the paper feed amount, and supplies it to one input of the comparator 17 as ΔY'. The other input of the comparator 17 is given the proper cueing distance ΔY read from the non-volatile memory 7, and the comparator 17 takes the difference between these and generates a line feed position correction signal ΔE. This line feed position correction signal △E is the appropriate cueing distance △
It is used to correct Y, and causes line breaks to occur at each subsequent ruler line position to be executed at the appropriate position.

【0011】[0011]

【作用】一般にプレ印刷用紙における印刷誤差は,主に
用紙とプレ印刷パターンとの間の相対位置関係に存在し
,プレ印刷パターン内の誤差は印刷原版に依存してきま
るため,通常は無視できる大きさである。本発明は,用
紙とプレ印刷パターンとの間の相対的位置関係に生じる
誤差を,用紙上端と最初のけい線との間の距離を実測す
ることにより補正するものであり,その印刷誤差△Y−
△Y′の大きさには無関係に印字位置の自動補正が行わ
れる。
[Operation] In general, printing errors on pre-printed paper mainly exist in the relative positional relationship between the paper and the pre-printed pattern, and errors in the pre-printed pattern depend on the printing original plate, so they are usually negligible. It is. The present invention corrects errors occurring in the relative positional relationship between the paper and the pre-printed pattern by actually measuring the distance between the top edge of the paper and the first marked line, and corrects the printing error △Y. −
The printing position is automatically corrected regardless of the magnitude of ΔY'.

【0012】なお図1には,等間隔のけい線配列をもつ
プレ印刷用紙が示されているが,これは例示的なもので
あり,本発明は,任意のフォーマットをもつプレ印刷パ
ターンに適用可能である。
Although FIG. 1 shows a pre-printed paper having an array of equally spaced lines, this is merely an example, and the present invention can be applied to a pre-printed pattern having any format. It is possible.

【0013】[0013]

【実施例】図2は,本発明実施例によるシリアルプリン
タの構成図である。図2において,参照番号1ないし1
7で示されている要素は,図1の原理的構成中に示され
ている同一番号の要素と同じものであるので,重複する
説明は省略し,図2に新たに付加された要素を中心に実
施例を説明する。
Embodiment FIG. 2 is a block diagram of a serial printer according to an embodiment of the present invention. In Figure 2, reference numbers 1 to 1
The elements indicated by 7 are the same as the elements with the same numbers shown in the basic configuration of Figure 1, so duplicate explanations will be omitted and we will focus on the newly added elements in Figure 2. An example will be explained below.

【0014】18はキャリッジモータであり,キャリッ
ジ13の横方向送りを行う。19はキャリッジ送り制御
部であり,印字開始時には用紙の頭出し距離測定を行う
ためのキャリッジ位置を設定し,印字開始後は,印字あ
るいはキャリッジ復帰のための送り制御を行う。
A carriage motor 18 moves the carriage 13 in the lateral direction. Reference numeral 19 denotes a carriage feed control unit, which sets the carriage position for measuring the starting distance of the paper at the start of printing, and performs feed control for printing or return of the carriage after the start of printing.

【0015】20は用紙左端から用紙の頭出し距離測定
を行うキャリッジ位置までの距離データ△Xであり,予
め不揮発性メモリ7に格納されている。△Xはけい線が
検出可能な任意の位置に基づいて定められる。21は印
字制御部であり,けい線検出回路16が用紙の頭出し制
御で最初のけい線を検出し,印字開始制御信号を出力し
たのを受けて印字行ごとの印字データについて印字ヘッ
ド2の駆動制御を行う。
Reference numeral 20 indicates distance data ΔX from the left edge of the paper to the carriage position at which the beginning distance of the paper is measured, and is stored in the nonvolatile memory 7 in advance. ΔX is determined based on any position where the crease line can be detected. Reference numeral 21 denotes a print control unit, which controls the print head 2 for printing data for each print line in response to the marker line detection circuit 16 detecting the first marker line in the paper cue control and outputting a print start control signal. Performs drive control.

【0016】22は改行制御部であり,用紙の改行送り
制御を行う。改行位置は,適正頭出し距離△Yを改行位
置補正量△Eで補正した位置を基点に,定められた改行
間隔を加算したものとなる。印字位置補正のための動作
は次のように行われる。
Reference numeral 22 denotes a line feed control section, which performs line feed control for paper. The line feed position is determined by adding a predetermined line feed interval to a position obtained by correcting the appropriate cue distance ΔY by the line feed position correction amount ΔE. The operation for correcting the print position is performed as follows.

【0017】プリンタが起動されると,キャリッジ送り
制御部19に制御量として△Xが与えられ,キャリッジ
モータ18が駆動されて,キャリッジ13は用紙左端か
ら△Xの距離のところに位置づけられる。このキャリッ
ジ位置で用紙送りが開始され前述したように光学センサ
14が用紙上端を検出してから最初のけい線を検出する
までの間の用紙送り量△Y′がカウンタ10によって測
定され,さらに比較器17によって,△Y−△Y′が演
算され,改行位置補正量△Eが求められる。
When the printer is started, ΔX is given as a control amount to the carriage feed control section 19, the carriage motor 18 is driven, and the carriage 13 is positioned at a distance of ΔX from the left edge of the paper. Paper feeding is started at this carriage position, and as described above, the paper feeding amount ΔY' is measured by the counter 10 from when the optical sensor 14 detects the top edge of the paper to when the first marking line is detected, and the comparator 17 △Y - △Y' is calculated, and the line feed position correction amount △E is determined.

【0018】[0018]

【発明の効果】本発明によれば,けい線がプレ印刷され
ている用紙への印刷処理において,プレ印刷を行ったメ
ーカーの相違や製造ロットの相違に関係なく,印字位置
が自動補正され,オペレータによる印字位置合わせの調
整作業は不要となるので,印刷処理の能率化とオペレー
タ負担の軽減化とを図ることができる。
[Effects of the Invention] According to the present invention, in the printing process on paper with pre-printed marking lines, the printing position is automatically corrected regardless of the difference in the manufacturer who performed the pre-printing or the difference in the manufacturing lot. Since there is no need for the operator to adjust the print positioning, it is possible to improve the efficiency of the printing process and reduce the burden on the operator.

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

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

【図2】本発明実施例によるシリアルプリンタの構成図
である。
FIG. 2 is a configuration diagram of a serial printer according to an embodiment of the present invention.

【図3】従来のシリアルプリンタにおけるけい線プレ印
刷用紙への印刷制御方法の説明図である。
FIG. 3 is an explanatory diagram of a method of controlling printing on pre-printed paper in a conventional serial printer.

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

1  プラテン 2  印字ヘッド 5  けい線プレ印刷用紙 5a  用紙上端 7  不揮発性メモリ 8  適正頭出し距離△Y 10  カウンタ 12  けい線 13  キャリッジ 14  光学センサ 15  用紙上端検出回路 16  けい線検出回路 17  比較器 1 Platen 2 Print head 5 Scale line pre-printed paper 5a Top edge of paper 7. Non-volatile memory 8 Appropriate cueing distance △Y 10 Counter 12 Geographic line 13 Carriage 14 Optical sensor 15 Paper top edge detection circuit 16. Traction wire detection circuit 17 Comparator

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  用紙面の印刷制御情報を検出するため
の光学センサと印字ヘッドとをキャリッジに一体にそな
えているプリンタにおける,予めけい線が印刷されてい
るけい線プレ印刷用紙に文字データを印刷する際の印字
位置補正方法において,前記けい線プレ印刷用紙の印刷
開始位置を規定する用紙上端から最初のけい線までの適
正頭出し距離を予め不揮発性メモリに記憶しておき,印
刷実行開始時に前記光学センサによりけい線プレ印刷用
紙の上端を検出してから最初のけい線を検出するまでの
用紙送り量を測定し,測定された用紙送り量と前記不揮
発性メモリに記憶されている適正頭出し距離との差を算
出して,算出された差の値を,以後に行われる改行送り
の改行位置の補正値として使用することを特徴とするプ
リンタにおけるけい線プレ印刷用紙の印字位置補正方法
[Claim 1] In a printer in which a carriage is integrally equipped with an optical sensor and a print head for detecting printing control information on the paper surface, character data is written on pre-printed paper on which the crease lines are printed in advance. In the printing position correction method when printing, an appropriate cueing distance from the top edge of the paper to the first marking line that defines the printing start position of the marking line pre-printing paper is stored in advance in a non-volatile memory, and printing is started. At the same time, the optical sensor measures the paper feed amount from when the top edge of the pre-printed paper is detected until the first crease line is detected, and the measured paper feed amount and the appropriate cue stored in the non-volatile memory are calculated. A method for correcting a printing position of a pre-printed line paper in a printer, characterized in that the difference between the distance and the distance is calculated, and the calculated difference value is used as a correction value for a line feed position in subsequent line feed feed.
JP3088827A 1991-04-19 1991-04-19 Method for correcting print position of pre-printed paper for ruled line in printer Expired - Fee Related JP2695532B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3088827A JP2695532B2 (en) 1991-04-19 1991-04-19 Method for correcting print position of pre-printed paper for ruled line in printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3088827A JP2695532B2 (en) 1991-04-19 1991-04-19 Method for correcting print position of pre-printed paper for ruled line in printer

Publications (2)

Publication Number Publication Date
JPH04319462A true JPH04319462A (en) 1992-11-10
JP2695532B2 JP2695532B2 (en) 1997-12-24

Family

ID=13953771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3088827A Expired - Fee Related JP2695532B2 (en) 1991-04-19 1991-04-19 Method for correcting print position of pre-printed paper for ruled line in printer

Country Status (1)

Country Link
JP (1) JP2695532B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63231960A (en) * 1987-03-20 1988-09-28 Fujitsu Ltd Paper feed error automatic correction system of printer
JP3004054U (en) * 1994-05-10 1994-11-08 杏枝 ▲しょう▼李 Vibration drill function switching and adjustment dial

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63231960A (en) * 1987-03-20 1988-09-28 Fujitsu Ltd Paper feed error automatic correction system of printer
JP3004054U (en) * 1994-05-10 1994-11-08 杏枝 ▲しょう▼李 Vibration drill function switching and adjustment dial

Also Published As

Publication number Publication date
JP2695532B2 (en) 1997-12-24

Similar Documents

Publication Publication Date Title
JP2867073B2 (en) Printer calibration method
JP2002240377A (en) Stitching and color position adjustment control in multiscan printing
JP3182802B2 (en) Paper edge detection device for printer
US11718101B2 (en) Thermal printer and method for correcting printing positions
CN100528585C (en) Imaging device of correcting longitudinal alignment, and its correction method
WO2005077658A1 (en) Method for the detection of marks and printing machine
JPH04319462A (en) Method for correcting printing position of ruled preprinting paper in printer
JPH04118260A (en) Label printer
JPH04363277A (en) Serial printer
JP3001318B2 (en) Printing device
KR100514747B1 (en) Calibrating method of bottom margin paper feeding of inkjet printer
JP2008034950A (en) Method for calculating print position of pattern on medium
JP4473682B2 (en) Printing device
JPH10202979A (en) Printing equipment
JP3274355B2 (en) Control method of image processing device
JPS5920685A (en) Paper feed correction mechanism
JPS63165723A (en) Electronic price balance equipped with label printer
JPH08187916A (en) Ink jet recording system
JP3040446B2 (en) Recording apparatus and control method thereof
JPH05309925A (en) Printer
JPH07304219A (en) Portable terminal with function of automatically adjusting printing position
JPS58220774A (en) Printing position correcting device for printer
JPS6158769A (en) Automatic typewriter
JPH0230567A (en) Printer
JP2003063114A (en) Printer and method for correcting heading position

Legal Events

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