JPS62116177A - Printing-controlling system - Google Patents

Printing-controlling system

Info

Publication number
JPS62116177A
JPS62116177A JP25599685A JP25599685A JPS62116177A JP S62116177 A JPS62116177 A JP S62116177A JP 25599685 A JP25599685 A JP 25599685A JP 25599685 A JP25599685 A JP 25599685A JP S62116177 A JPS62116177 A JP S62116177A
Authority
JP
Japan
Prior art keywords
register
movement
platen
pitch
minimum
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
JP25599685A
Other languages
Japanese (ja)
Inventor
Jiyunichi Haneto
潤一 羽斗
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP25599685A priority Critical patent/JPS62116177A/en
Priority to EP86830345A priority patent/EP0227609A3/en
Publication of JPS62116177A publication Critical patent/JPS62116177A/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
    • B41J19/00Character- or line-spacing mechanisms
    • B41J19/18Character-spacing or back-spacing mechanisms; Carriage return or release devices therefor
    • B41J19/20Positive-feed character-spacing mechanisms
    • B41J19/202Drive control means for carriage movement

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To minimize errors in practical use, by a system wherein when a non-integer-fold movement quantity is designated, errors not more than the minimum movement unit of a printer are summed up, and when the sum exceeds the minimum operational unit, error correction is performed. CONSTITUTION:When a 5mm pitch line feeding is designated through a key input part 12, the information is inputted into an n-register 14. The content of the n-register 14 is outputted to a platen-controlling part 22, and is divided by m0 (=0.42333...) by a divider 221, and the quotient (11.81102...) thus obtained is inputted into an a-register 222. Then, a b-register 223 is cleared, whereby initial setting of the registers 14, 222, 223 is completed. When an output request (c) is given from a printing-controlling part 18 to the platen-controlling part 22, the part 22 causes an adder 224 to add to content of the a-register 222 to the content of the b-register 223, and input the decimal part (0.81102...) (h) of the sum into the b-register 223. The integral part (11) (f) of the sum is multiplied by m1 (11X3=33) by a mutiplier 225, and the product is outputted to a stepping motor 24 to thereby drive a platen 26.

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は、特に印字ヘッドをその最小移動ピッチの整数
倍から成る移動量にて記録紙に対して相対的に移動させ
る印字装置に於いて、非整数倍の移動量が指定された際
のヘッド移動量を制御する印字制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention particularly relates to a printing device in which a print head is moved relative to recording paper by an amount of movement that is an integral multiple of its minimum movement pitch. The present invention relates to a printing control method for controlling the amount of head movement when a movement amount that is a non-integer multiple is specified.

[従来技術とその問題点] 従来よりプリンタには、桁送り(キャリッジ移動)2行
送り(プラテン・フィード)の移動量を設定できるもの
が多いが、この移動量の設定は、例えば1/3インチ、
1/4インチ、・・・等のように、通常はインチ単位を
基準にしている。
[Prior art and its problems] Conventionally, many printers allow setting of the amount of movement for column feed (carriage movement) and two-line feed (platen feed). inch,
It is usually based on inches, such as 1/4 inch, etc.

従って、このようなプリンタに於いて、例えば5 tu
ts、 5.5 era、 6 m、−・・等のミリ・
メートル単位の移動を設定することは、かなり困難であ
った。
Therefore, in such a printer, for example, 5 tu
mm, such as ts, 5.5 era, 6 m, --...
Setting the movement in meters was quite difficult.

例えば、最小移動ピッチが1/ 180インチ(−0,
14111−am)のプリンタで、5a単位の移動を行
なわせたい場合、理想的な移動量は、5/ 0.141
11・・・−35,4333・・・ピッチ(ステップ)
である。しかし、プリンタは最小移動ピッチの整数倍の
移動しか行なえないため、35ピツチ又は36ビツチの
何れかの移動ピッチを指定するほかない。
For example, if the minimum movement pitch is 1/180 inch (-0,
14111-am), if you want to move in units of 5a, the ideal amount of movement is 5/0.141
11...-35,4333...Pitch (step)
It is. However, since the printer can only move by an integral multiple of the minimum movement pitch, there is no choice but to specify a movement pitch of either 35 pitches or 36 bits.

よって、移動回数が増加するにつれて誤差が大ぎくなっ
てしまう。
Therefore, as the number of movements increases, the error becomes larger.

[発明の目的] 本発明は上記の点に鑑みて成されたもので、特に印字ヘ
ッドをその最小移動ピッチの整数倍から成る移動量にて
記録紙に対して相対的に移動させる印字装置に於いて、
非整数倍の移動量が指定された際にも、実用上誤差を最
小にすることを可能とする印字制御方式を提供すること
を目的とする。
[Object of the Invention] The present invention has been made in view of the above points, and is particularly applicable to a printing device that moves a print head relative to recording paper by a movement amount that is an integral multiple of its minimum movement pitch. In the
It is an object of the present invention to provide a printing control method that can practically minimize errors even when a movement amount that is a non-integral multiple is specified.

[発明の要点] 本発明は上記のような目的を達成するために、プリンタ
の最小移動単位以下の誤差を累積加算し、その累積加算
されへ誤差が上記最小動作単位を越えた時に、その誤差
の補正を行なうようにしたことを特徴とする。
[Summary of the Invention] In order to achieve the above-mentioned object, the present invention cumulatively adds errors that are less than the minimum movement unit of the printer, and when the cumulatively added error exceeds the above-mentioned minimum movement unit, the error is calculated. The present invention is characterized in that the following corrections are made.

[発明の実施例] 以下図面を参照して本発明の一実施例を説明する。[Embodiments of the invention] An embodiment of the present invention will be described below with reference to the drawings.

第1図は例えば、ワード・プロセッサに用いた場合の構
成を示すもので、10は中央処理装置(CPU)であり
、12は桁送り及び行送りピッチ指定を行なうためのキ
ー人力部である。この場合、上記ピッチ指定は、1単位
で指定でき、0.5a単位に5乃至15 mの指定が可
能である。
FIG. 1 shows the configuration when used in a word processor, for example, where 10 is a central processing unit (CPU) and 12 is a key manual unit for specifying shift and line pitch. In this case, the pitch can be specified in units of 1, and can be specified in units of 5 to 15 m in units of 0.5a.

14及び16は上記キー人力部12によって指定された
桁送り及び行送りピッチがそれぞれ入れられるn及びN
レジスタである。18は、印字するデータを格納する印
字バッファ20を含む印字制御部である。22はプラテ
ン制御部、24はステップ・モータであり、26はプラ
テンである。この場合、プラテン駆動は1/60インチ
(3ピツチ)の分解能を有している。また、28はキャ
リッジ制御部、30はステップ・モータであり、32は
キャリッジである。この場合、キャリッジ駆動は171
80インチ(最小移動量、1ピツチ)の分解能を有して
いる。また、34は印字ヘッドである。そして、36は
文書メモリであり、38は表示部である。
14 and 16 are n and N into which the shift and line pitch specified by the key manual section 12 are entered, respectively.
It is a register. 18 is a print control unit including a print buffer 20 that stores data to be printed. 22 is a platen control section, 24 is a step motor, and 26 is a platen. In this case, the platen drive has a resolution of 1/60 inch (3 pitches). Further, 28 is a carriage control section, 30 is a step motor, and 32 is a carriage. In this case, the carriage drive is 171
It has a resolution of 80 inches (minimum movement, 1 pitch). Further, 34 is a print head. Further, 36 is a document memory, and 38 is a display section.

このようなものでは、まず上記キー人力部12にて行送
りピッチ、桁送りピッチの設定を行なうと、そのピッチ
lが上記n、Nレジスタ14゜16に設定される。そし
て、プリント指令により、上記文書メモリ36より読出
された印字データが、1行単位で上記印字バッファ20
に蓄えられ、キャリッジ32移動による桁送り及び印字
が行なわれる。上記印字バッファ20内の1行印字が終
了すると、上記プラテン26の回転駆動が行なわれ、行
送りが行なわれ、次の1行分のデータが上記文書メモリ
36より読出されて印字が繰返される。
In such a device, first, the line feed pitch and shift pitch are set in the key manual section 12, and then the pitch l is set in the n and N registers 14 and 16. Then, in response to a print command, the print data read out from the document memory 36 is transferred line by line to the print buffer 20.
The data is stored in , and shifting and printing are performed by moving the carriage 32. When printing of one line in the print buffer 20 is completed, the platen 26 is driven to rotate, the line is fed, data for the next line is read from the document memory 36, and printing is repeated.

この場合、行送り1桁送りのピッチはそれぞれ、上記プ
ラテン制御部22及びキャリッジ制御部28にて行なわ
れるものである。
In this case, the pitch of one-digit line feed is determined by the platen control section 22 and carriage control section 28, respectively.

第2図は上記プラテン制御部22の構成を示すもので、
221は上記nレジスタ14の内容をmoで割る割算器
である。このmlは、横方向の最低移動単位(単位線)
である。222は上記割算の結果を入れるaレジスタで
あり、223は後述する加算器による加算結果の小数部
が入れられるbレジスタである。224は、上記aレジ
スタ222の内容とbレジスタ223の内容を加算する
加算器であり、225は上記加算結果の整数部にmlを
掛ける掛算器である。このmlは、最低移動単位(単位
ドツト)である。即ちこの場合、m O−0,4233
3・・・−1/60インチ= 3ドツト ml−3 である。
FIG. 2 shows the configuration of the platen control section 22.
221 is a divider that divides the contents of the n register 14 by mo. This ml is the minimum horizontal movement unit (unit line)
It is. 222 is an a register into which the result of the above-mentioned division is stored, and 223 is a b register into which the decimal part of the addition result by an adder, which will be described later, is stored. 224 is an adder that adds the contents of the a register 222 and the b register 223, and 225 is a multiplier that multiplies the integer part of the addition result by ml. This ml is the minimum movement unit (unit dot). That is, in this case, m O-0,4233
3...-1/60 inch=3 dots ml-3.

なお、上記キャリッジ制御部28は、上記プラテン駆動
部22と同様の構成のものであり、よって特に図示はし
ない。但しこの場合、 ml −0,14111・・・−1/ 180  イン
チ= 1ドツト ml−i である。
The carriage control section 28 has the same configuration as the platen drive section 22, and therefore is not particularly illustrated. However, in this case, ml-0,14111...-1/180 inch=1 dot ml-i.

このようなものに於いて、例えば5mピッチの行送りが
上記キー人力部12によって指定されたならば、その情
報は上記nレジスタ14に入れられる。そして、このn
レジスタ14の内容が、上記プラテン制御部22に出力
され、上記割算器221にてm口 (−0,42333
・・・)で割られる。その結果(即ち、11.8110
2・・・)が上記aレジスタ222に入れられる。そし
て、上記bレジスタ223がクリアされ、これによって
各レジスタ14.222,223の初期設定が完了する
In such a system, if a line feed of, for example, 5 m pitch is specified by the key operator 12, that information is entered into the n register 14. And this n
The contents of the register 14 are output to the platen control section 22, and the divider 221 divides the contents into m (-0,42333
...). The result (i.e. 11.8110
2...) is placed in the a register 222. Then, the b register 223 is cleared, thereby completing the initial setting of each register 14, 222, 223.

ここで、上記印字制御部1日から上記プラテン制御部2
2に出力要求があると、上記プラテン制御部22ではま
ず、上記加算器224にて上記a及びbレジスタ222
及び223の内容を加算しく  11.81102・・
・十〇−11,81102・・・)、その内の小数部(
0,81102・・・)を上記bレジスタ223に入れ
る。また、その整数部(11)は、上記掛算器225に
てmlが掛けられ(11x 3−33 )、その結果が
上記ステップ・モータ24に出力されて、上記プラテン
26が駆動される。
Here, from the print control unit 1st to the platen control unit 2
2, the platen control unit 22 first sends the a and b registers 222 to the adder 224.
And add the contents of 223 11.81102...
・10-11,81102...), the decimal part (
0, 81102...) into the b register 223. Further, the integer part (11) is multiplied by ml (11x 3-33 ) in the multiplier 225, and the result is output to the step motor 24 to drive the platen 26.

以下同様の動作を繰返すことによって、上記プラテン制
御部22から、5aIIピツチの場合の印字ドツト数が
、補正を含んで順次出力される。第3図(a)に、その
加算結果、bレジスタ223に入れられる小数部及び出
力を順次に示す。
By repeating the same operation, the platen control section 22 sequentially outputs the number of printed dots for the 5aII pitch including correction. FIG. 3(a) sequentially shows the addition result, the decimal part stored in the b register 223, and the output.

同様に、5日mピッチの桁送りの場合の上記キャリッジ
制御部28の加算結果、bレジスタに入れられる小数部
及び出力を第3図(b)に示す。
Similarly, FIG. 3(b) shows the addition result of the carriage control unit 28, the decimal part stored in the b register, and the output in the case of 5-day m-pitch shift.

なお、行方向の出力要求があった場合、上記キャリッジ
制御部28のbレジスタをrOJにクリアするようにし
ておけば、改行を行なうごとに上記キャリッジ制御部2
8の初期化を行なう必要はなくなる。
If there is an output request in the line direction, if the b register of the carriage control unit 28 is cleared to rOJ, the carriage control unit 2
There is no need to initialize 8.

また上記実施例では、小数点以下の累計を行なったもの
であるが(移動量は、小数部の切捨て)、切上げにより
小数部のマイナス量を累計し、このマイナス量が最小ピ
ッチよりも大きい時に、マイナス補正するようにしても
良い。
In addition, in the above embodiment, the sum after the decimal point is carried out (the moving amount is rounded down to the decimal part), but by rounding up, the minus quantity of the decimal part is accumulated, and when this minus quantity is larger than the minimum pitch, Negative correction may also be performed.

さらに上記実施例では、移動毎に順次に計算を行なうよ
うになっているが、移動桁0行数に応じたピッチ数を予
め計算したメモリを持たせ、移動時にその内容を読出さ
せるようにしても良い。
Furthermore, in the above embodiment, calculations are performed sequentially for each movement, but a memory is provided in which the number of pitches is calculated in advance according to the number of zero rows of movement digits, and the contents are read out at the time of movement. Also good.

[発明の効果] 以上詳述したように本発明によれば、特に印字ヘッドを
その最小移動ピッチの整数倍から成る移動量にて記録紙
に対して相対的に移動させる印字装置に於いて、非整数
倍の移動量が指定された際にも、実用上誤差を最小にす
ることを可能とする印字制御方式を提供することができ
る。
[Effects of the Invention] As detailed above, according to the present invention, particularly in a printing device that moves the print head relative to the recording paper by an amount of movement that is an integral multiple of the minimum movement pitch, It is possible to provide a printing control method that can practically minimize errors even when a movement amount that is a non-integral multiple is specified.

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

第1図は本発明の一実施例に係る印字制御方式をワード
・プロセッサに用いた場合の構成を示す図、第2図はプ
ラテン制御部のより詳細な構成を示す図、第3図(a)
及び(b)はそれぞれプラテン制御部及びキャリッジ制
御部の出力を順次に表の形でそれぞれ示す図である。 10・・・CPU、12・・・キー人力部、14・・・
nレジスタ、16・・・Nレジスタ、18・・・印字制
御部、20・・・印字バッファ、22・・・プラテン制
御部、24.30・・・ステップ・モータ、26・・・
プラテン、28・・・キャリッジ制御部、32・・・キ
ャリッジ、34・・・印字ヘッド、36・・・文書メモ
リ、38・・・表示部、221・・・割算器、222・
・・aレジスタ、223・・・bレジスタ、224・・
・加算器、225・・・掛算器。
FIG. 1 is a diagram showing a configuration when a print control system according to an embodiment of the present invention is used in a word processor, FIG. 2 is a diagram showing a more detailed configuration of a platen control section, and FIG. )
and (b) are diagrams respectively showing the outputs of the platen control section and the carriage control section sequentially in the form of a table. 10...CPU, 12...Key personnel department, 14...
n register, 16...N register, 18...print control section, 20...print buffer, 22...platen control section, 24.30...step motor, 26...
Platen, 28... Carriage control unit, 32... Carriage, 34... Print head, 36... Document memory, 38... Display unit, 221... Divider, 222...
...a register, 223...b register, 224...
・Adder, 225... Multiplier.

Claims (1)

【特許請求の範囲】[Claims] 印字ヘッドをその最小移動ピッチの整数倍から成る移動
量にて記録紙に対して相対的に移動させる印字装置に於
いて、非整数倍の移動量が指定された時に、上記印字ヘ
ッドを整数倍にて移動させ、その移動量の累計と上記指
定された移動量の累計との差が上記最小移動ピッチを越
えた際に、上記整数倍の移動量に上記最小移動ピッチの
補正を加えて上記印字ヘッドを移動させるように制御す
る手段を具備して成ることを特徴とする印字制御方式。
In a printing device that moves the print head relative to the recording paper by an amount of movement that is an integral multiple of its minimum movement pitch, when a movement amount that is a non-integer multiple is specified, the above-mentioned print head is moved by an integral multiple of the minimum movement pitch. When the difference between the total amount of movement and the total amount of movement specified above exceeds the above minimum movement pitch, the above integer times the movement amount plus the correction of the above minimum movement pitch and the above 1. A print control system comprising means for controlling the movement of a print head.
JP25599685A 1985-11-15 1985-11-15 Printing-controlling system Pending JPS62116177A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP25599685A JPS62116177A (en) 1985-11-15 1985-11-15 Printing-controlling system
EP86830345A EP0227609A3 (en) 1985-11-15 1986-11-14 Print head pitch control for an electronic printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25599685A JPS62116177A (en) 1985-11-15 1985-11-15 Printing-controlling system

Publications (1)

Publication Number Publication Date
JPS62116177A true JPS62116177A (en) 1987-05-27

Family

ID=17286451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25599685A Pending JPS62116177A (en) 1985-11-15 1985-11-15 Printing-controlling system

Country Status (1)

Country Link
JP (1) JPS62116177A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62181169A (en) * 1986-02-06 1987-08-08 Fujitsu Ltd Line feed controller for printer
CN110795049A (en) * 2018-08-01 2020-02-14 佳能株式会社 Information processing apparatus and method for controlling information processing apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62181169A (en) * 1986-02-06 1987-08-08 Fujitsu Ltd Line feed controller for printer
CN110795049A (en) * 2018-08-01 2020-02-14 佳能株式会社 Information processing apparatus and method for controlling information processing apparatus
US11789670B2 (en) 2018-08-01 2023-10-17 Canon Kabushiki Kaisha Information processing apparatus and method for controlling the same
CN110795049B (en) * 2018-08-01 2023-11-10 佳能株式会社 Information processing apparatus and method for controlling the same

Similar Documents

Publication Publication Date Title
US4679153A (en) Printing systems for typesetter emulation
JPS6118033A (en) Print processor
JPH10147028A (en) Printing control method for printing device and printing device
JPS62116177A (en) Printing-controlling system
EP0351870B1 (en) Information processing device having a function of designating a printing-start position
US3809865A (en) Computer terminal plotting apparatus and method
JPS612586A (en) Method of resetting typewriter or printing mechanism of similar machine under initial state
JPS62119075A (en) Paper feed controller of printer
JP7347126B2 (en) Printing methods, printing systems, printing devices, programs
JPH0661970B2 (en) output method
JPS634981A (en) Paper-feeding mechanism for printer
JPH0263762A (en) Output apparatus
JPS59136281A (en) Printer
EP0227609A2 (en) Print head pitch control for an electronic printer
JP3040236B2 (en) Image forming device
JPS6122973A (en) Correcting method of new-paragraph starting cumulative error
JP2604355B2 (en) Document processing device
JP2637858B2 (en) Method and apparatus for controlling character arrangement position
JPS62253477A (en) Line feed controlling system for serial printer
JPH0592854A (en) Printer
KR930007670A (en) Compensation method of paper feed error of dot matrix printer
JP2651013B2 (en) Recording device
JP2836026B2 (en) Printing control device
JPH0720712B2 (en) Label printer
JPH0773931B2 (en) How to print graphic data