JP2953692B2 - Printing control device - Google Patents

Printing control device

Info

Publication number
JP2953692B2
JP2953692B2 JP63008981A JP898188A JP2953692B2 JP 2953692 B2 JP2953692 B2 JP 2953692B2 JP 63008981 A JP63008981 A JP 63008981A JP 898188 A JP898188 A JP 898188A JP 2953692 B2 JP2953692 B2 JP 2953692B2
Authority
JP
Japan
Prior art keywords
print
information
printing
origin
start 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.)
Expired - Lifetime
Application number
JP63008981A
Other languages
Japanese (ja)
Other versions
JPH01184181A (en
Inventor
仁一 古川
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 JP63008981A priority Critical patent/JP2953692B2/en
Publication of JPH01184181A publication Critical patent/JPH01184181A/en
Application granted granted Critical
Publication of JP2953692B2 publication Critical patent/JP2953692B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 〔概要〕 印刷機構に置かれた印刷媒体上の印刷基準たる印刷原
点を任意に設定し得るようにした印刷制御装置に関し、 オペレータの手間を低減しつつ、ずれた印刷媒体上に
正確に印刷することを目的とし、 印刷に際して、印刷媒体に対する印字ヘッドの移動操
作により当該印刷媒体上の任意の印刷原点の情報、印刷
開始位置の情報、及び印刷終了位置の情報を入力する。
前記原点の情報及び前記印刷開始位置の情報から印刷開
始位置の前記原点からの相対位置を求める。前記原点の
情報、前記印刷開始位置の情報、及び前記印刷終了位置
の情報から印刷終了位置の前記印刷開始位置からの相対
位置を求める。入力された印刷情報を前記印刷開始位置
の前記原点からの相対位置、及び前記印刷終了位置の前
記印刷開始位置からの相対位置で決まる印刷位置に印刷
するようにして本発明は構成されている。
DETAILED DESCRIPTION OF THE INVENTION [Overview] A printing control device capable of arbitrarily setting a printing origin, which is a printing reference on a printing medium placed in a printing mechanism, is disclosed. In order to print accurately on the medium, at the time of printing, the information of the arbitrary printing origin, the information of the printing start position, and the information of the printing end position on the printing medium are input by moving the print head with respect to the printing medium. I do.
A relative position of the printing start position from the origin is obtained from the information on the origin and the information on the printing start position. A relative position of the printing end position from the printing start position is obtained from the information of the origin, the information of the printing start position, and the information of the printing end position. The present invention is configured to print the input print information at a print position determined by a relative position of the print start position from the origin and a relative position of the print end position from the print start position.

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

本発明は、印刷機構に置かれた印刷媒体上の印刷基準
たる印刷原点を任意に設定し得るようにした印刷制御装
置に関する。
The present invention relates to a printing control apparatus that can arbitrarily set a printing origin as a printing reference on a printing medium placed in a printing mechanism.

〔従来の技術〕[Conventional technology]

従来のプリンタ内蔵タイプのワードプロセッサにおい
て、印刷データを希望する場所へ印刷する場合は、キー
ボードからのキー操作により希望する印刷開始位置に印
字ヘッドを移動させておいて印刷を行なっていた。
In a conventional word processor with a built-in printer, when printing print data at a desired place, printing is performed by moving a print head to a desired print start position by operating a key from a keyboard.

ところが、この方法では、印刷データごとにいちいち
印字ヘッドを移動させて印刷開始位置を指定しなくては
ならず、例えば、同じ印刷内容の用紙が複数枚ある場合
でも、印刷用紙ごとに印字ヘッドを移動させて印字開始
位置を指定していた。
However, in this method, the print head must be moved for each print data to specify the print start position.For example, even when there are a plurality of sheets of the same print content, the print head is required for each print sheet. It was moved to specify the print start position.

このようなヘッド移動に起因する煩わしさを解消する
技法として、最近では、用紙の左上端から印刷位置まで
の距離を実測して予め入力しておき、同じ印刷内容の用
紙が複数枚ある場合でも、設定したその情報に基づき、
自動的に印字ヘッドが印字開始位置まで移動し、印字を
開始するという装置が考案されている。
Recently, as a technique for eliminating the inconvenience caused by the movement of the head, recently, the distance from the upper left end of the paper to the printing position is actually measured and input in advance, and even when there are a plurality of papers of the same print content, , Based on the information you set,
A device has been devised in which a print head automatically moves to a print start position and starts printing.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

ところで、上述した従来からの逐次印字ヘッドを印字
開始位置に移動させる技法にあっては、既述のようにオ
ペレータの手間がかかるという問題点があり、その解決
方法である用紙の左上端から印刷位置までの距離を実測
して予め入力しておく技法においても、印刷用紙の厚さ
の違いや印刷機構の機械的誤差により正確な位置に印刷
できないという問題点があった。
By the way, the above-described conventional technique of sequentially moving the print head to the print start position has a problem that the operator's labor is required as described above. Even in the technique of actually measuring the distance to the position and inputting it in advance, there is a problem that printing cannot be performed at an accurate position due to a difference in thickness of printing paper or a mechanical error of a printing mechanism.

本発明は、このような点にかんがみて創作されたもの
で、オペレータの手間を低減しつつ、ずれた印刷媒体上
へ正確な印刷を行い得る印刷制御装置を提供することを
目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a print control apparatus capable of performing accurate printing on a shifted print medium while reducing the labor of an operator.

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

第1図は、本発明の原理ブロック図を示す。 FIG. 1 shows a principle block diagram of the present invention.

図において、原点入力手段115は、印刷媒体に対する
印字ヘッドの移動操作により印刷媒体上の任意の位置を
原点として指定させ、指定された原点の情報を入力し、
格納手段111に格納する。
In the figure, the origin input means 115 causes an arbitrary position on the print medium to be designated as the origin by a movement operation of the print head with respect to the print medium, and inputs information of the designated origin,
It is stored in the storage unit 111.

印刷開始位置入力手段117は、前記印刷媒体に対する
印字ヘッドの移動操作により印刷開始位置の情報を指定
させ、前記原点の情報及び前記印刷開始位置の情報を用
いて印刷開始位置の前記原点からの相対位置の情報を求
めて前記格納手段111に格納する。
The print start position input means 117 causes the print start position information to be designated by moving the print head with respect to the print medium, and uses the information on the origin and the information on the print start position to determine the relative position of the print start position from the origin. The position information is obtained and stored in the storage means 111.

印刷終了位置入力手段119は、前記印刷媒体に対する
印字ヘッドの移動操作により印刷終了位置を指定させ、
前記原点の情報、前記印刷開始位置入力手段117によっ
て入力された印刷開始位置の情報、及び前記印刷終了位
置の情報を用いて印刷終了位置の前記印刷開始位置から
の相対位置の情報を求めて前記格納手段111に格納す
る。
The print end position input means 119 allows a print end position to be designated by moving the print head with respect to the print medium,
The information on the origin, the information on the print start position input by the print start position input means 117, and the information on the relative position from the print start position of the print end position using the information on the print end position are obtained. It is stored in the storage unit 111.

印刷制御手段121は、前記格納手段111に格納された前
記印刷開始位置の前記原点からの相対位置の情報、及び
前記印刷終了位置の前記印刷開始位置からの相対位置の
情報を用いて印刷情報を前記印刷媒体に印刷させる。
The print control unit 121 uses the information on the relative position from the origin of the print start position stored in the storage unit 111 and the information on the relative position from the print start position of the print end position to print information. Printing is performed on the print medium.

前記各構成要件によって構成される本発明は、前記印
刷開始位置の前記原点からの相対位置の情報、及び前記
印刷終了位置の前記印刷開始位置からの相対位置の情報
に基づいて、印刷情報を印刷媒体上の任意の位置を基準
として印刷するように構成されている。
According to the present invention, which is constituted by the above constituent elements, the print information is printed based on information on a relative position of the print start position from the origin and information on a relative position of the print end position from the print start position. It is configured to print based on an arbitrary position on the medium.

〔作用〕[Action]

原点入力手段115は、印刷媒体に対する印字ヘッドの
移動操作により印刷媒体上の任意の位置を原点として指
定させ、その指定された原点の情報を前記格納手段111
に格納する。
The origin input means 115 allows an arbitrary position on the print medium to be designated as the origin by a movement operation of the print head with respect to the print medium, and stores the information of the designated origin in the storage means 111.
To be stored.

印刷開始位置入力手段117は、印刷媒体に対する印字
ヘッドの移動操作により印刷開始位置を指定させ、前記
原点の情報及び前記印刷開始位置の情報を用いて印刷開
始位置の前記原点からの相対位置の情報を求めてその相
対位置の情報を前記格納手段111に格納する。
The print start position input means 117 allows a print start position to be specified by moving the print head with respect to a print medium, and information on the relative position of the print start position from the origin using the information on the origin and the information on the print start position. And the information on the relative position is stored in the storage means 111.

印刷終了位置入力手段119は、印刷媒体に対する印字
ヘッドの移動操作により印刷終了位置を指定させる。前
記原点の情報、前記印刷開始位置の情報、及び前記印刷
終了位置の情報を用いて印刷終了位置の前記印刷開始位
置からの相対位置の情報を求めてその相対位置の情報を
前記格納手段111に格納する。
The print end position input means 119 causes a print end position to be designated by moving the print head with respect to the print medium. The information on the origin, the information on the print start position, and the information on the print end position are used to determine information on the relative position of the print end position from the print start position, and the information on the relative position is stored in the storage unit 111. Store.

このようにして前記格納手段111に格納された前記印
刷開始位置の前記原点からの相対位置の情報、及び前記
印刷終了位置の前記印刷開始位置からの相対位置の情報
は、印刷制御手段121において用いられることによっ
て、印刷情報を前記印刷媒体上の任意の位置を基準とし
て印刷媒体上の正確な位置に印刷することができる。
The information on the relative position of the print start position from the origin and the information on the relative position of the print end position from the print start position stored in the storage unit 111 are used in the print control unit 121. Accordingly, the print information can be printed at an accurate position on the print medium with reference to an arbitrary position on the print medium.

従って、本発明によれば、印字ヘッドを印刷媒体に対
して移動させることにより得られた印刷位置情報、即ち
印刷媒体をセットした後に印刷媒体上の印刷の原点を任
意に指定して得られた印刷位置情報に基づき、印刷制御
手段121により印刷情報の印刷を行うようにしたので、
セットした印刷媒体が適正なセット位置からずれていた
としても、そのセットした印刷媒体上の、印刷情報につ
き予め任意に指定される位置を印刷基準位置として印刷
情報を印刷することができるから、そのような印刷を行
う際のオペレータの手間が低減され、しかも印刷を正確
に行うことができる。
Therefore, according to the present invention, the print position information obtained by moving the print head with respect to the print medium, that is, the print position information obtained by arbitrarily specifying the origin of printing on the print medium after setting the print medium Based on the print position information, the print control unit 121 prints the print information.
Even if the set print medium is displaced from the proper set position, the print information can be printed with the position specified arbitrarily in advance for the print information on the set print medium as the print reference position. The labor of the operator when performing such printing is reduced, and printing can be performed accurately.

〔実施例〕 以下、図面に基づいて本発明の実施例について詳細に
説明する。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

第2図は、請求項1記載の発明の一実施例における印
刷装置付ワードプロセッサの構成を示す。第3図は、プ
ログラムROMに格納されている情報の詳細構成を示す。
第4図は、RAMに格納される情報の詳細構成を示す。
FIG. 2 shows the configuration of a word processor with a printing device according to an embodiment of the present invention. FIG. 3 shows a detailed configuration of information stored in the program ROM.
FIG. 4 shows a detailed configuration of information stored in the RAM.

I.実施例と第1図との対応関係 ここで、請求項1記載の発明の実施例と第1図との対
応関係を示しておく。
I. Correspondence Between Embodiment and FIG. 1 Here, the correspondence between the embodiment of the invention described in claim 1 and FIG. 1 will be described.

格納手段111は、RAM235に相当する。 The storage unit 111 corresponds to the RAM 235.

印刷情報入力手段113は、CPU211,キーボード213,画面
表示装置215およびプログラムROM223に相当する。
The print information input unit 113 corresponds to the CPU 211, the keyboard 213, the screen display device 215, and the program ROM 223.

印刷位置情報入力手段115は、CPU211,キーボード213,
プログラムROM223,SPモータ225,LFモータ227および印刷
ヘッド229に相当する。
The print position information input means 115 includes a CPU 211, a keyboard 213,
It corresponds to the program ROM 223, the SP motor 225, the LF motor 227, and the print head 229.

印刷制御手段117は、CPU211,プログラムROM223、SPモ
ータ225、LFモータ227および印字ヘッド229に相当す
る。
The print control unit 117 corresponds to the CPU 211, the program ROM 223, the SP motor 225, the LF motor 227, and the print head 229.

印刷機構は、印字ヘッド229に相当する。 The printing mechanism corresponds to the print head 229.

以上のような対応関係があるものとして、以下請求項
1記載の発明の実施例について説明する。
Assuming that the above-mentioned correspondence exists, an embodiment of the present invention will be described below.

II.実施例の構成 第2図において、印刷装置付ワードプロセッサ(特許
請求の範囲の文書処理装置の例)は、全体の制御を行な
うCPU211と、情報の入力が行なわれるキーボード213
と、情報の表示が行なわれる画面表示装置215と、外部
入出力装置217と、印刷のためのフォントデータが格納
されるCG−ROM221と、プログラムROM223と、印字ヘッド
をスペース方向に移動させるSPモータ225と、印刷用紙
の改行動作を行なうLFモータ227と、文字の印刷を行な
う印字ヘッド229と、印字ヘッド229のホームポジション
の位置を検出するLESセンサ231と、印刷用紙の有無を検
出するPEセンサ233と、RAM235とを具えている。
II. Configuration of Embodiment In FIG. 2, a word processor with a printing device (an example of a document processing device in the claims) includes a CPU 211 for performing overall control, and a keyboard 213 for inputting information.
, A screen display device 215 on which information is displayed, an external input / output device 217, a CG-ROM 221 storing font data for printing, a program ROM 223, and an SP motor for moving the print head in the space direction. 225, LF motor 227 for line feed operation of print paper, print head 229 for printing characters, LES sensor 231 for detecting the home position of print head 229, and PE sensor for detecting the presence or absence of print paper 233 and RAM235.

なお、上述した構成の接続は、CPU211に他のものがす
べて接続される形態となっている。
Note that the connection of the above-described configuration is such that all other components are connected to the CPU 211.

第3図において、プログラムROM223には、SPモータ22
5の制御を行なうSPモータ制御プログラム311と、LFモー
タ227の制御を行なうLFモータ制御プログラム313と、印
字ヘッド229の制御を行なう印字ヘッド制御プログラム3
15と、キーボード213の制御を行なうキーボード制御プ
ログラム317と、その他のプログラム319と、書式情報の
操作を行なう書式自在プログラム321とが格納されてい
る。また、書式自在プログラム321は、相対位置計算,SP
モータ回転量計算,LFモータ回転量計算,キーボード入
力データ判定処理,格納先判定処理およびその他の処理
のためのプログラムにより構成される。
In FIG. 3, the program ROM 223 stores the SP motor 22
5, an LF motor control program 313 for controlling the LF motor 227, and a print head control program 3 for controlling the print head 229.
15, a keyboard control program 317 for controlling the keyboard 213, other programs 319, and a free format program 321 for operating format information. In addition, the free format program 321 is used to calculate relative position, SP
It is composed of programs for motor rotation amount calculation, LF motor rotation amount calculation, keyboard input data determination processing, storage destination determination processing, and other processing.

第4図において、RAM235には、書式情報とそれに対応
した印刷データが格納される文書格納領域411と、SPモ
ータ回転量合計カウンタ413と、LFモータ回転量合計カ
ウンタ415と、原点を示す情報(X座標,Y座標)が格納
される原点用格納領域417と、複数の書式情報格納領域4
19とが確保されている。なお、書式情報格納領域419の
それぞれには、開始位置X座標格納領域(),開始位
置Y座標格納領域(),終了位置X座標格納領域
(),終了位置Y座標格納領域(),桁数格納領域
()および行数格納領域()の領域が確保されてい
る。
In FIG. 4, a RAM 235 stores a document storage area 411 in which format information and print data corresponding to the format information are stored, a SP motor rotation amount total counter 413, an LF motor rotation amount counter 415, and information indicating the origin ( An origin storage area 417 for storing X and Y coordinates) and a plurality of format information storage areas 4
19 and are secured. The format information storage area 419 includes a start position X coordinate storage area (), a start position Y coordinate storage area (), an end position X coordinate storage area (), an end position Y coordinate storage area (), and the number of digits. The storage area () and the row number storage area () are secured.

III.実施例の動作 第5図は、書式情報の指定動作の手順を示す。また、
第6図は、書式情報の指定動作の詳細手順を示す。
III. Operation of Embodiment FIG. 5 shows a procedure of an operation of designating format information. Also,
FIG. 6 shows a detailed procedure of an operation of designating format information.

以下、第2図〜第6図に基づいて実施例の動作を説明
する。
The operation of the embodiment will be described below with reference to FIGS.

(i)書式情報の指定 先ず、印刷用紙のセットを行なう(ステップ511)。
印字ヘッドの初期化を行ないホームポジションに移動さ
せ(ステップ511−1)、SPモータ回転量合計カウンタ4
13をリセットする(ステップ511−2)。用紙送りキー
により、用紙の自動吸入を行ない(ステップ511−
3)、LFモータ回転量合計カウンタ415をリセットする
(ステップ511−4)。
(I) Designation of format information First, printing paper is set (step 511).
The print head is initialized and moved to the home position (step 511-1).
13 is reset (step 511-2). Automatic suction of paper is performed by the paper feed key (step 511-).
3) The LF motor rotation amount total counter 415 is reset (step 511-4).

原点の指定を行なう(ステップ512)。カーソル上,
下キー(キーボード213上にある)によりLFモータ227を
回転させて、印刷用紙を希望する原点の上下方向の位置
まで上下移動させる。このとき、用紙排出方向を+,逆
方向を−として、用紙が自動吸入された位置からのLFモ
ータ227の回転量がLFモータ回転量合計カウンタ415に格
納される(ステップ512−1)。カーソル左,右キー
(キーボード213上にある)によりSPモータ225を回転さ
せて、印字ヘッド229を希望する原点の左右方向の位置
まで移動させる。このとき、右方向を+,左方向を−と
して、SPモータ225の回転量がSPモータ回転量合計カウ
ンタ413に格納される(ステップ512−2)。ステップ51
2−1およびステップ512−2により、印字ヘッド229が
印刷用紙上の希望する原点の位置に設定された状態で、
実行キー(キーボード213上にある)が押されると、SP
モータ回転量合計カウンタ413に格納されたSPモータ225
の回転量が原点のX座標,LFモータ回転量合計カウンタ4
15に格納されたLFモータ227の回転量が原点のY座標と
して、原点用格納領域417に格納される(ステップ512−
3)。
The origin is specified (step 512). On the cursor,
The LF motor 227 is rotated by the down key (located on the keyboard 213) to move the printing paper up and down to a position in the vertical direction of the desired origin. At this time, the rotation amount of the LF motor 227 from the position where the paper is automatically sucked is stored in the LF motor rotation amount total counter 415, with the paper discharge direction being + and the reverse direction being-(step 512-1). The SP motor 225 is rotated by the cursor left and right keys (located on the keyboard 213) to move the print head 229 to a position in the horizontal direction of the desired origin. At this time, the rotation amount of the SP motor 225 is stored in the SP motor rotation amount total counter 413, with the right direction being + and the left direction being-(step 512-2). Step 51
With 2-1 and step 512-2, with the print head 229 set at the position of the desired origin on the printing paper,
When the execute key (on the keyboard 213) is pressed, the SP
SP motor 225 stored in motor rotation total counter 413
Is the X coordinate of the origin and the LF motor rotation total counter 4
The rotation amount of the LF motor 227 stored in 15 is stored in the origin storage area 417 as the Y coordinate of the origin (step 512-).
3).

印刷開始位置の指定を行なう(ステップ513)。カー
ソル上,下キーによりLFモータ227を回転させて、印刷
用紙を希望する印刷開始位置の上下方向の位置まで上下
移動させる。このとき、ステップ512と同様に、用紙が
自動吸入された位置からのLFモータ227の回転量がLFモ
ータ回転量合計カウンタ415に格納される(ステップ513
−1)。カーソル左,右キーによりSPモータ225を回転
させて、印字ヘッド229を希望する印刷開始位置の左右
方向の位置まで移動させる。このとき、ステップ512と
同様に、SPモータ225の回転量がSPモータ回転量合計カ
ウンタ413に格納される(ステップ513−2)。ステップ
513−1およびステップ513−2により、印字ヘッド229
が印刷用紙上の希望する印刷開始位置に設定された状態
で、実行キーが押されると、書式自在プログラム321に
格納された相対位置計算プログラムにより、SPモータ回
転量合計カウンタ413に格納されたSPモータ225の回転量
およびLFモータ回転量合計カウンタ415に格納されたLF
モータ227の回転量と、原点用格納領域417に格納された
原点の位置の情報から印刷開始位置の原点からの相対位
置が算出され、そのX座標,Y座標の情報が書式情報格納
領域419の所定の領域に格納される(ステップ513−
3)。
The printing start position is specified (step 513). The LF motor 227 is rotated with the cursor up / down keys to move the printing paper up and down to a desired vertical position of the printing start position. At this time, as in step 512, the rotation amount of the LF motor 227 from the position where the paper is automatically sucked is stored in the LF motor rotation amount total counter 415 (step 513).
-1). The SP motor 225 is rotated by the cursor left and right keys, and the print head 229 is moved to the left and right position of the desired print start position. At this time, as in step 512, the rotation amount of the SP motor 225 is stored in the SP motor rotation amount total counter 413 (step 513-2). Steps
513-1 and step 513-2, print head 229
When the execution key is pressed in a state where is set to the desired printing start position on the printing paper, the SP stored in the SP motor rotation total counter 413 is calculated by the relative position calculation program stored in the freely adjustable format program 321. LF stored in motor 225 rotation amount and LF motor rotation amount total counter 415
A relative position from the origin of the printing start position is calculated from the rotation amount of the motor 227 and the information of the origin position stored in the origin storage area 417, and the information of the X coordinate and the Y coordinate is stored in the format information storage area 419. It is stored in a predetermined area (step 513-
3).

印刷終了位置の指定を行なう(ステップ514)。カー
ソル上,下キーによりLFモータ227を回転させて、印刷
用紙を希望する印刷終了位置の上下方向の位置まで上下
移動させる。このとき、ステップ512と同様に、用紙が
自動吸入された位置からのLFモータ227の回転量がLFモ
ータ回転量合計カウンタ415に格納される(ステップ514
−1)。カーソル上,下キーによりSPモータ225を回転
させて、印字ヘッド229を希望する印刷終了位置の左右
方向の位置まで移動させる。このとき、ステップ512と
同様に、SPモータ225の回転量SPモータ回転量合計カウ
ンタ413に格納される(ステップ514−2)。ステップ51
4−1およびステップ514−2により、印字ヘッド229が
印刷用紙上の希望する印刷終了位置に設定された状態
で、実行キーを押されると、書式自在プログラム321に
格納された相対位置計算プログラムにより、SPモータ回
転量合計カウンタ413に格納されたSPモータ225の回転量
およびLFモータ回転量合計カウンタ415に格納されたLF
モータ227の回転量と、原点用格納領域417に格納された
原点の位置の情報およびステップ513で算出された印刷
開始位置の情報から印刷終了位置の印刷開始位置からの
相対位置が算出され、そのX座標,Y座標の情報が書式情
報格納領域419の所定の領域に格納される(ステップ514
−3)。
The printing end position is specified (step 514). The LF motor 227 is rotated by the cursor up and down keys to move the printing paper up and down to a desired vertical position of the printing end position. At this time, similarly to step 512, the rotation amount of the LF motor 227 from the position where the paper is automatically sucked is stored in the LF motor rotation amount total counter 415 (step 514).
-1). The SP motor 225 is rotated with the cursor up / down keys to move the print head 229 to the left / right position of the desired print end position. At this time, as in step 512, the rotation amount of the SP motor 225 is stored in the SP motor rotation amount total counter 413 (step 514-2). Step 51
According to 4-1 and step 514-2, when the execution key is pressed with the print head 229 set to the desired print end position on the printing paper, the relative position calculation program stored in the format free program 321 is used. The rotation amount of the SP motor 225 stored in the SP motor rotation total counter 413 and the LF stored in the LF motor rotation total counter 415.
The rotation amount of the motor 227 and the relative position from the printing start position of the printing end position are calculated from the information on the position of the origin stored in the origin storage area 417 and the information on the printing start position calculated in step 513. The information of the X coordinate and the Y coordinate is stored in a predetermined area of the format information storage area 419 (step 514).
-3).

次に、キーボード213より桁数が入力され、実行キー
が押されると、入力された桁数が書式情報格納領域419
の所定の領域に格納される(ステップ515)。
Next, when the number of digits is input from the keyboard 213 and the execution key is pressed, the input number of digits is stored in the format information storage area 419.
(Step 515).

更に、キーボード213より行数が入力され、実行キー
が押されると、入力された行数が書式情報格納領域419
の所定の領域に格納される(ステップ516)。
Further, when the number of lines is inputted from the keyboard 213 and the execution key is pressed, the inputted number of lines is stored in the format information storage area 419.
(Step 516).

取消キー(キーボード213上にある)が押されたらス
テップ518に移行し、その他のキーが押されたら、他の
印刷データについての書式情報を指定するものとしてス
テップ513に戻る(ステップ517)。
If the cancel key (on the keyboard 213) is pressed, the process proceeds to step 518, and if another key is pressed, the process returns to step 513 as designating format information on other print data (step 517).

ステップ517において、取消キー(キーボード213上に
ある)が押された場合、それまでに格納された書式情報
格納領域419の書式情報を対応する印刷データと関連付
けて文書格納領域411の所定の領域に格納する(ステッ
プ518)。
In step 517, when the cancel key (on the keyboard 213) is pressed, the format information in the format information storage area 419 stored up to that time is associated with the corresponding print data and stored in a predetermined area of the document storage area 411. It is stored (step 518).

(ii)印刷データの書式情報に基づく印刷 キーボード213から印刷データの指定とその印刷指示
が行なわれると、その印刷データとそれに対応する書式
情報が文書格納領域411から読み出され、その書式情報
に基づいて印刷が行なわれる。
(Ii) Printing Based on Format Information of Print Data When print data is designated and its print instruction is given from the keyboard 213, the print data and the corresponding format information are read out from the document storage area 411, and Printing is performed on the basis of this.

この場合、印刷開始位置,印刷終了位置,桁数,行数
を指定しているので、文字間隔,行間隔は自動的に決定
される。
In this case, since the print start position, print end position, number of digits, and number of lines are specified, the character interval and line interval are automatically determined.

また、複数枚の印刷において、印刷用紙のセット誤差
によるずれを防止する場合は、原点は1枚ごとに指定す
る。
Also, in order to prevent deviation due to a setting error of the printing paper in printing a plurality of sheets, the origin is designated for each sheet.

IV.実施例のまとめ このように、カーソル移動キーにより、印字ヘッド22
9を実際に移動させることにより、原点,印刷開始位
置,印刷終了位置,桁数,行数を指定し、印刷データと
対応させて文書格納領域411に格納する。印刷を行なう
ときは、その書式情報に基づき印刷データの印刷を行な
う。
IV. Summary of Embodiment As described above, the print head 22
By actually moving 9, the origin, the print start position, the print end position, the number of digits, and the number of lines are designated and stored in the document storage area 411 in association with the print data. When printing, print data is printed based on the format information.

従って、オペレータの手間が低減され、正確な位置に
印刷を行なうことができる。
Therefore, the labor of the operator is reduced, and printing can be performed at an accurate position.

V.発明の変形態様 なお、上述した請求項1記載の発明の実施例にあって
は、印刷位置の情報の指定として、印刷用紙に対する上
下方向と左右方向の情報を別々に指定したが、印刷ヘッ
ドを印刷用紙に対して上下,左右方向同時に移動させて
もよい。
V. Modifications of the Invention In the above-described embodiment of the present invention, the information on the printing position is specified separately in the vertical and horizontal directions with respect to the printing paper. The head may be moved simultaneously with respect to the printing paper in the vertical and horizontal directions.

また、「I.実施例と第1図との対応関係」において、
請求項1記載の発明と実施例との対応関係を説明してお
いたが、請求項1記載の発明はこれに限られることはな
く、各種の変形態様があることは当業者であれば容易に
推考できるであろう。
In “I. Correspondence between the embodiment and FIG. 1”,
Although the correspondence between the invention described in claim 1 and the embodiment has been described, the invention described in claim 1 is not limited to this, and it is easily understood by those skilled in the art that there are various modifications. You can infer it.

〔発明の効果〕〔The invention's effect〕

上述したように請求項1記載の発明によれば、印刷媒
体の印刷機構上へのセット後に、印刷媒体上の印刷の原
点を任意に指定して得られた印刷位置情報に基づき、印
刷制御手段121により印刷情報を行うようにしたので、
セットした印刷媒体が適正なセット位置からずれていた
としても、印刷情報は、セットされた印刷媒体上の、印
刷情報につき予め任意に指定される位置を印刷基準位置
として印刷されるから、印刷媒体上の予め任意に指定さ
れる位置を印刷基準位置として印刷する際のオペレータ
の手間が低減され、しかも印刷を正確に行うことができ
る。
As described above, according to the first aspect of the present invention, after the printing medium is set on the printing mechanism, the printing control means is set based on the printing position information obtained by arbitrarily specifying the printing origin on the printing medium. Since printing information is now performed according to 121,
Even if the set print medium is displaced from the proper set position, the print information is printed using a position arbitrarily specified in advance for the print information on the set print medium as a print reference position. The operator's labor when printing the position arbitrarily designated in advance as the printing reference position is reduced, and printing can be performed accurately.

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

第1図は本発明の印刷装置付ワードプロセッサの原理ブ
ロック図、 第2図は請求項1記載の発明の一実施例における印刷装
置付ワードプロセッサの構成ブロック図、 第3図はプログラムROMに格納されている情報の詳細構
成の説明図、 第4図はRAMに格納される情報の詳細構成の説明図、 第5図は書式情報の指定動作の手順の説明図、 第6図は書式情報の指定動作の詳細手順の説明図であ
る。 図において、 111は格納手段、113は印刷情報入力手段、115は印刷位
置情報入力手段、117は印刷制御手段、211はCPU、213は
キーボード、215は画面表示装置、217は外部入出力装
置、219は辞書ROM、221はCG−ROM、223はプログラムRO
M、225はSPモータ、227はLFモータ、229は印刷ヘッド、
231はLESセンサ、233はPEセンサ、235はRAM、311はSPモ
ータ制御プログラム、313はLFモータ制御プログラム、3
15は印刷ヘッド制御プログラム、317はキーボード制御
プログラム、319はその他のプログラム、321は書式自在
プログラム、411は文書格納領域、413はSPモータ回転量
合計カウンタ、415はLFモータ回転量合計カウンタ、417
は原点用格納領域、419は書式情報格納領域である。
FIG. 1 is a block diagram showing the principle of a word processor with a printing apparatus according to the present invention, FIG. 2 is a block diagram showing the configuration of a word processor with a printing apparatus according to an embodiment of the present invention, and FIG. FIG. 4 is an explanatory diagram of a detailed configuration of information stored in a RAM, FIG. 5 is an explanatory diagram of a procedure of a specification operation of format information, and FIG. 6 is a specification operation of a format information FIG. 4 is an explanatory diagram of a detailed procedure. In the figure, 111 is storage means, 113 is print information input means, 115 is print position information input means, 117 is print control means, 211 is CPU, 213 is a keyboard, 215 is a screen display device, 217 is an external input / output device, 219 is a dictionary ROM, 221 is a CG-ROM, 223 is a program RO
M, 225 is SP motor, 227 is LF motor, 229 is print head,
231 is LES sensor, 233 is PE sensor, 235 is RAM, 311 is SP motor control program, 313 is LF motor control program, 3
15 is a print head control program, 317 is a keyboard control program, 319 is other programs, 321 is a free format program, 411 is a document storage area, 413 is a SP motor rotation total counter, 415 is an LF motor rotation total counter, 417
Is a storage area for the origin, and 419 is a storage area for format information.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】印刷媒体に対する印字ヘッドの移動操作に
より当該印刷媒体上の任意の位置を原点として指定さ
せ、指定された原点の情報を格納手段に格納する原点入
力手段と、 前記印刷媒体に対する前記印字ヘッドの移動操作により
印刷開始位置を指定させ、前記原点の情報及び前記指定
された印刷開始位置の情報を用いて印刷開始位置の前記
原点からの相対位置の情報を求めて前記格納手段に格納
する印刷開始位置入力手段と、 前記印刷媒体に対する前記印字ヘッドの移動操作により
印刷終了位置を指定させ、前記原点の情報、前記印刷開
始位置入力手段によって入力された印刷開始位置の情
報、及び前記印刷終了位置の情報を用いて印刷終了位置
の前記印刷開始位置からの相対位置を求めて前記格納手
段に格納する印刷終了位置入力手段と、 前記印刷開始位置の前記原点からの相対位置の情報、及
び前記印刷終了位置の前記印刷開始位置からの相対位置
の情報を用いて印刷情報を前記印刷媒体に印刷させる印
刷制御手段とを設けたことを特徴とする印刷制御装置。
An origin input means for designating an arbitrary position on the print medium as an origin by moving a print head with respect to the print medium and storing information of the designated origin in a storage means; A print start position is designated by a print head moving operation, and information on a relative position of the print start position from the origin is obtained using the information on the origin and the information on the designated print start position and stored in the storage unit. A print start position input means, and a print end position specified by moving the print head with respect to the print medium; information on the origin; information on a print start position input by the print start position input means; A print end position input method for obtaining a relative position of the print end position from the print start position using information on the end position and storing the position in the storage unit. And print control means for printing print information on the print medium using information on a relative position of the print start position from the origin and information on a relative position of the print end position from the print start position. A printing control device, characterized in that:
JP63008981A 1988-01-18 1988-01-18 Printing control device Expired - Lifetime JP2953692B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63008981A JP2953692B2 (en) 1988-01-18 1988-01-18 Printing control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63008981A JP2953692B2 (en) 1988-01-18 1988-01-18 Printing control device

Publications (2)

Publication Number Publication Date
JPH01184181A JPH01184181A (en) 1989-07-21
JP2953692B2 true JP2953692B2 (en) 1999-09-27

Family

ID=11707867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63008981A Expired - Lifetime JP2953692B2 (en) 1988-01-18 1988-01-18 Printing control device

Country Status (1)

Country Link
JP (1) JP2953692B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59135582A (en) * 1983-01-21 1984-08-03 Sharp Corp Idle feed control system of printer for sentence processor
JPS6118033A (en) * 1984-07-04 1986-01-25 Ricoh Co Ltd Print processor
JPS6256172A (en) * 1985-09-06 1987-03-11 Brother Ind Ltd Apparatus for controlling printing format of serial printer

Also Published As

Publication number Publication date
JPH01184181A (en) 1989-07-21

Similar Documents

Publication Publication Date Title
JPH0375896B2 (en)
JP2953692B2 (en) Printing control device
JPH0735116B2 (en) Data output device
JPH074956B2 (en) Character processor
JP2985972B2 (en) Document processing device
JPH0711799B2 (en) Typesetting system
JP3000315B2 (en) Tablet input slip and slip input method
JP2511514B2 (en) Coordinate input method
JP3056850B2 (en) Document creation device with graph creation function
JPH0350283B2 (en)
JPS63188077A (en) Sentence preparing apparatus
JPH0369313B2 (en)
JP2803492B2 (en) Character and image processing device
JPS5816880A (en) Printer
JPS61163480A (en) Hand-written information processor
JP2841236B2 (en) Paper layout method
JPS62131322A (en) Word processor
JPH0337209B2 (en)
JPS63182770A (en) Document production/output device
JPH0270472A (en) Displaying method for printing position of document forming apparatus
JPS59135180A (en) Printer
JPS63209964A (en) Word processor
JPH0738153B2 (en) Display data enlargement device
JPH01229645A (en) Control method in alphabetic outline font printing
JPH0796648A (en) Setting method for sentence format

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080716

Year of fee payment: 9