JPH0550987B2 - - Google Patents
Info
- Publication number
- JPH0550987B2 JPH0550987B2 JP12072387A JP12072387A JPH0550987B2 JP H0550987 B2 JPH0550987 B2 JP H0550987B2 JP 12072387 A JP12072387 A JP 12072387A JP 12072387 A JP12072387 A JP 12072387A JP H0550987 B2 JPH0550987 B2 JP H0550987B2
- Authority
- JP
- Japan
- Prior art keywords
- print format
- touch panel
- coordinate
- input
- 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
Links
- 238000000034 method Methods 0.000 claims description 17
- 238000003825 pressing Methods 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Landscapes
- Record Information Processing For Printing (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はプリンタへの印字フオーマツトデータ
の入力方法に関するもので、特に座標入力可能な
透明のタツチパネルを利用して定型書式用紙の印
字フオーマツトの印字開始位置をフオーマツトデ
ータとして入力する方法に関するものである。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a method for inputting print format data to a printer, and in particular, a method for inputting print format data on standard format paper using a transparent touch panel that allows coordinate input. This invention relates to a method of inputting a print start position as format data.
例えば、金融機関で用いられるプリンタは、通
常の用紙への印字の他、予じめ印字すべき位置に
枠取りを行つたつまり印字枠と称する印字フオー
マツトを印刷した伝票等のような定型書式用紙へ
の印字を行うことが多く、そのためこのような定
型書式用紙に印字を行う際、その印字枠内に自動
的に印字を行えるようにするための印字フオーマ
ツト入力装置が提案されている。
For example, in addition to printing on regular paper, printers used in financial institutions print on standard format paper, such as slips, on which a printing format called a printing frame is printed in advance, with a frame at the position to be printed. Therefore, when printing on such standard format paper, a print format input device has been proposed to automatically print within the print frame.
以下にその装置と印字フオーマツトデータ入力
方法について説明する。 The device and print format data input method will be explained below.
第3図は従来より提案されている印字フオーマ
ツト入力装置をプリンタ等と共に示した斜視図
で、図において1はタツチパネルタブレツトと呼
ばれる印字フオーマツト入力装置であり、この印
字フオーマツト入力装置1からの入力データはイ
ンタフエースケーブル2を介してプリンタ3に送
られるようになつている。 FIG. 3 is a perspective view showing a conventionally proposed print format input device together with a printer, etc. In the figure, 1 is a print format input device called a touch panel tablet, and input from this print format input device 1 is shown in FIG. Data is sent to a printer 3 via an interface cable 2.
4はホストコンピユータで、このホストコンピ
ユータ4からセンタインタフエースケーブル5を
介してプリンタ3へ印字データが送られるように
なつている。 4 is a host computer, and print data is sent from the host computer 4 to the printer 3 via a center interface cable 5.
6は定型書式用紙で、予じめ印字フオーマツト
すなわち印字枠が印刷されており、印字の際これ
と同一のものがプリンタ3にセツトされる。 Reference numeral 6 denotes a standard format paper on which a printing format, that is, a printing frame is printed in advance, and the same paper is set in the printer 3 when printing.
第4図は第3図における各装置のブロツク図
で、この図に見られるように印字フオーマツト入
力装置1は、マトリクス状に電極を配して後述す
るタツチペンの押下により座標入力を可能とした
透明なタツチパネル7と、操作スイツチ部8と、
装置制御プログラム等を格納したリードオンリメ
モリ(以下ROM)9と、前記タツチパネル7か
ら入力される印字フオーマツトデータを記憶する
ランダムアクセスメモリ(以下RAM)10と、
これらを制御するCPUすなわち印字フオーマツ
ト入力装置1の制御部11とを備えており、この
制御部11はプリンタ3の制御部12にインタフ
エースケーブル2を介して接続されている。 Figure 4 is a block diagram of each device in Figure 3. As seen in this figure, the print format input device 1 is a transparent printer with electrodes arranged in a matrix and coordinate input possible by pressing a stylus pen, which will be described later. a touch panel 7, an operation switch section 8,
a read-only memory (hereinafter referred to as ROM) 9 that stores device control programs, etc.; a random access memory (hereinafter referred to as RAM) 10 that stores print format data input from the touch panel 7;
It is provided with a CPU for controlling these, that is, a control section 11 of the print format input device 1, and this control section 11 is connected to a control section 12 of the printer 3 via an interface cable 2.
また、プリンタ3は前記制御部12にスペース
モータドライバ13を介して接続されたスペース
モータ14と、同じく制御部12にヘツドドライ
バ15を介して接続された印字ヘツド16と、同
じく制御部12に改行モータドライバ17を介し
て接続された改行モータ18と、プリンタ3の制
御プログラムを格納したリードオンリメモリ(以
下ROM)19と、印字データ等を記憶するラン
ダムアクセスメモリ(以下RAM)20と、バツ
テリ21にバツクアツプされた印字開始位置記憶
用のランダムアクセスメモリ(以下BBRAM)
22を備えており、更にホストコンピユータ4は
プリンタ3の制御部12にセンタインタフエース
ケーブル5を介して接続した制御部23を備えて
いる。 The printer 3 also has a space motor 14 connected to the control section 12 via a space motor driver 13, a print head 16 also connected to the control section 12 via a head driver 15, and a line feed to the control section 12. A line feed motor 18 connected via a motor driver 17, a read-only memory (hereinafter referred to as ROM) 19 that stores a control program for the printer 3, a random access memory (hereinafter referred to as RAM) 20 that stores print data, etc., and a battery 21. Random access memory (hereinafter referred to as BBRAM) for storing print start positions backed up in
22, and the host computer 4 further includes a control section 23 connected to the control section 12 of the printer 3 via a center interface cable 5.
尚、前記プリンタ3におけるスペースモータ1
4は印字の際、制御部12の指令に基づいてスペ
ースモータドライバ13により駆動され、印字ヘ
ツド16を図示しないキヤリツジと共に図示しな
いプラテンに沿つて往復移動させる役目をする。 Note that the space motor 1 in the printer 3
4 is driven by a space motor driver 13 based on a command from the control section 12 during printing, and serves to reciprocate the print head 16 along with a not-shown carriage along a not-shown platen.
また、ヘツドドライバ15は、制御部12から
送られてくる印字データに基づいて印字ヘツド1
6を駆動し、前記プラテンにセツトされている並
通紙あるいは定型書式用紙に印字を行わせる働き
をするもので、更に改行モータ18は制御部12
からの指令に基づいて改行モータドライバ17に
より駆動され、前記プラテンを介して並通紙ある
いは定型書式用紙を駆動する働きをする。 The head driver 15 also controls the print head 1 based on print data sent from the control unit 12.
6 to print on parallel paper or standard format paper set on the platen, and the line feed motor 18 is controlled by the controller 12.
It is driven by the line feed motor driver 17 based on a command from the platen, and functions to drive parallel paper or standard format paper through the platen.
次に、第5図は印字フオーマツト入力装置1に
よる印字フオーマツトデータ入力時の状態を示す
正面図で、図中8aと8bは図示しないスイツチ
回路と共に第4図における操作スイツチ部8を成
すスイツチキーであり、ここでは8aを入力開始
キー、8bを入力終了キーとしている。 Next, FIG. 5 is a front view showing the state at the time of inputting print format data using the print format input device 1. In the figure, 8a and 8b are switch keys forming the operation switch part 8 in FIG. 4 together with a switch circuit (not shown). Here, 8a is used as an input start key, and 8b is used as an input end key.
また、6a〜6eは定型書式用紙6に印刷され
た印字フオーマツトつまり印字枠であり、24は
タツチパネル7を押下して座標入力するためのタ
ツチペンである。 Further, 6a to 6e are print formats, that is, print frames printed on the fixed form paper 6, and 24 is a touch pen for inputting coordinates by pressing down on the touch panel 7.
以上の構成において、印字フオーマツトデータ
の入力は次のように行われる。 In the above configuration, input of print format data is performed as follows.
まず、印字フオーマツト入力装置1の入力開始
キー8aを指等で押下すると、その押下信号を
ROM9の制御プログラムに従つてタツチパネル
7及び操作スイツチ部8を監視している制御部1
1が検知し、これに基づいて制御部11はインタ
フエースケーブル2を介してプリンタ3の制御部
12へ入力開始信号を送信する。 First, when the input start key 8a of the print format input device 1 is pressed with a finger or the like, the pressing signal is transmitted.
A control unit 1 monitors the touch panel 7 and the operation switch unit 8 according to the control program in the ROM 9.
1 detects this, and based on this, the control section 11 transmits an input start signal to the control section 12 of the printer 3 via the interface cable 2.
プリンタ3の制御部12は前記入力開始信号を
受けると、ROM19の制御プログラムに従つて
プリンタ3のモードを通常の印字データ受信/印
字モードから印字フオーマツトデータ入力モード
へ切替えを行う。 When the controller 12 of the printer 3 receives the input start signal, it switches the mode of the printer 3 from the normal print data reception/print mode to the print format data input mode according to the control program in the ROM 19.
そこで、次に机上等に置いた定型書式用紙6の
上に印字フオーマツト入力装置を重ね、第5図に
示すようにタツチパネル7の左上隅を定型書式用
紙6の左上隅つまり基準点に一致させる。 Next, the print format input device is placed on top of the standard form paper 6 placed on a desk or the like, and the upper left corner of the touch panel 7 is aligned with the upper left corner of the standard form paper 6, that is, the reference point, as shown in FIG.
このタツチパネル7上の座標はプリンタ3の印
字領域と1対1で対応しているので、定型書式用
紙6に印刷されている印字枠6a〜6e内の各々
の印字開始位置をタツチパネル7上からタツチペ
ン24により押下して座標入力すると、その座標
値が制御部11により順次読取られ、読取られた
座標値が印字フオーマツトデータとしてインタフ
エースケーブル2を介してプリンタ3の制御部1
2へ送られる。 Since the coordinates on the touch panel 7 have a one-to-one correspondence with the print area of the printer 3, the printing start position of each of the print frames 6a to 6e printed on the standard form paper 6 can be determined from the touch panel 7 using the touch pen. 24 to input coordinates, the coordinate values are sequentially read by the control unit 11, and the read coordinate values are sent to the control unit 1 of the printer 3 via the interface cable 2 as print format data.
Sent to 2.
但し、このとき制御部12が受信不可能の状態
にある場合は、前記の印字フオーマツトデータは
印字フオーマツト入力装置1のRAM10内に一
時的に記憶され、前記制御部12が受信可能な状
態になつたとき、RAM10から制御部11によ
り取出されて制御部12へ送られる。 However, if the control unit 12 is in a state where it cannot receive data at this time, the print format data is temporarily stored in the RAM 10 of the print format input device 1, and the control unit 12 is in a state where it can receive data. When the data is exhausted, it is taken out from the RAM 10 by the control section 11 and sent to the control section 12.
こうしてプリンタ3の制御部12に印字フオー
マツトデータが送られると、この制御部12は受
信した印字フオーマツトデータを印字領域の印字
位置に変換して、これを印字開始位置データとし
てBBRAM22に記憶させ、このデータ変換記
憶処理が前記タツチペン24によるタツチパネル
7の入力回数だけ繰返えされることにより、入力
した順番に印字開始位置データが記憶されて行
く。つまり、印字フオーマツト入力装置1により
プリンタ3に定型書式用紙6の印字フオーマツト
データが入力され、これによりプリンタ3内で印
字フオーマツトが設定される。 When the print format data is thus sent to the control unit 12 of the printer 3, the control unit 12 converts the received print format data into a print position in the print area, and stores this in the BBRAM 22 as print start position data. By repeating this data conversion and storage process by the number of inputs on the touch panel 7 using the touch pen 24, the print start position data are stored in the order in which they were input. That is, the print format data of the fixed form paper 6 is inputted to the printer 3 by the print format input device 1, and the print format is thereby set within the printer 3.
タツチパネル7の入力が終了した後、入力終了
キー8bを指等で押下すると、その押下信号は印
字フオーマツト入力装置1の制御部11により検
知されて、該制御部11からプリンタ3の制御部
12へ入力終了信号が送られ、これによりプリン
タ3のモードが制御部12によつて前記の印字フ
オーマツトデータ入力モードから通常のデータ受
信/印字モードに戻される。 After the input on the touch panel 7 is completed, when the input end key 8b is pressed with a finger or the like, the pressing signal is detected by the control section 11 of the print format input device 1, and is sent from the control section 11 to the control section 12 of the printer 3. An input end signal is sent, and the control section 12 returns the mode of the printer 3 from the print format data input mode to the normal data reception/print mode.
以上で印字フオーマツトデータ入力の処理は終
了するが、このようにして一旦印字フオーマツト
が設定された後は、印字フオーマツト入力装置1
がプリンタ3から切離されたり、あるいはプリン
タ3の電源が切断されても、設定された印字フオ
ーマツトはバツテリ21によりBBRAM22に
保持されているので、プリンタ3の電源さえ投入
すれば使用することが可能である。 The process of inputting the print format data is completed above, but once the print format is set in this way, the print format input device 1
Even if the printer 3 is disconnected from the printer 3 or the printer 3 is powered off, the set print format is retained in the BBRAM 22 by the battery 21, so it can be used as long as the printer 3 is powered on. It is.
第6図は定型書式用紙6への印字例を示す図
で、同図Aは設定印字フオーマツトであり、印字
枠6a〜6c内の数字は印字開始位置の指定の順
番を示している。また、同図Bはホストコンピユ
ータ4からプリンタ3へ送られてくる印字データ
の例を示す図、同図Cは印字結果である。 FIG. 6 is a diagram showing an example of printing on standard format paper 6. A in the figure shows the set printing format, and the numbers in the printing frames 6a to 6c indicate the order of designation of the printing start position. Further, B in the same figure shows an example of print data sent from the host computer 4 to the printer 3, and C in the same figure shows the printing results.
この図に見られるように、今第6図Aの印字フ
オーマツトが設定されているとき、ホストコンピ
ユータ4の制御部23からセンタインタフエース
ケーブル5を介してプリンタ3の制御部12へ第
6図Bに示す印字データが送られてくると、制御
部12はBBRAM22に記憶された印字フオー
マツトすなわち各印字枠6a〜6eに対応する印
字開始位置データを参照して図示しないプラテン
に予じめセツトされている定型書式用紙6に印字
ヘツド16により印字を開始させ、更にLFコー
ド(OHA)受信毎に印字開始位置を移行しなが
ら順次印字を遂行させる。 As seen in this figure, when the print format shown in FIG. 6A is currently set, the print format shown in FIG. When the print data shown in is sent, the control unit 12 refers to the print format stored in the BBRAM 22, that is, the print start position data corresponding to each print frame 6a to 6e, and sets the print data in advance on a platen (not shown). The printing head 16 starts printing on the standard format paper 6, and further prints sequentially while shifting the printing start position every time an LF code (OHA) is received.
これにより、定型書式用紙6には第6図Cの如
く、各印字枠6a〜6eに対応して印字データが
印字される。 As a result, print data is printed on the standard format paper 6 in correspondence with each of the print frames 6a to 6e, as shown in FIG. 6C.
以上従来の技術について説明したが、これによ
ると以下の問題がある。
Although the conventional technology has been described above, it has the following problems.
すなわち、前述したプリンタにおいては大きさ
の異なる複数種類の定型書式用紙に印字可能であ
るが、従来の印字フオーマツト入力装置はタツチ
パネルの大きさ以下の定型書式用紙の印字フオー
マツトデータしか入力することができず、そのた
め大型の定型書式用紙の印字フオーマツトデータ
を入力する場合は、それに応じた大きさのタツチ
パネルを備えた印字フオーマツト入力装置が必要
となり、高価になるという問題がある。 In other words, while the aforementioned printers can print on multiple types of standard format paper of different sizes, conventional print format input devices can only input print format data for standard format paper that is smaller than the size of the touch panel. Therefore, when inputting print format data for large format paper, a print format input device equipped with a touch panel of a corresponding size is required, resulting in an expensive problem.
本発明はこのような問題を解決するためになさ
れたもので、タツチパネルの大きさ以上の定型書
式用紙の印字フオーマツトをも入力可能とするプ
リンタの印字フオーマツトデータ入力方法を実現
することを目的とするものである。 The present invention has been made to solve these problems, and an object of the present invention is to realize a printer print format data input method that allows input of print formats for standard format paper larger than the size of a touch panel. It is something to do.
上述した目的を達成するため、本発明は印字フ
オーマツト入力装置におけるタツチパネルの四隅
をそれぞれ位置決め点とし、かつそのうちの1つ
を座標基準点として設定すると共に、前記位置決
め点を指定するための位置決め点対応の操作キー
と、タツチパネルの移動に伴う座標基準点の位置
を算出するための演算手段を印字フオーマツト入
力装置に具備したものである。
In order to achieve the above-mentioned object, the present invention sets each of the four corners of the touch panel in a print format input device as a positioning point, sets one of them as a coordinate reference point, and also sets a positioning point correspondence for specifying the positioning point. The print format input device is equipped with operation keys and arithmetic means for calculating the position of the coordinate reference point as the touch panel moves.
上述した構成を有する本発明は、まず印字フオ
ーマツト入力装置のタツチパネルよりサイズの大
きい定型書式用紙における印字フオーマツトデー
タの入力に際して、この定型書式用紙の印字フオ
ーマツトを複数の領域に区分すると共に、区分さ
れた各領域内に隣接する領域の位置決め用基準点
を記入しておく。
The present invention having the above-mentioned configuration first divides the print format of the standard form paper into a plurality of areas when inputting print format data on a standard form paper larger in size than the touch panel of the print format input device. In each area, write reference points for positioning the adjacent area.
そして、タツチパネルの座標基準点を予じめ定
められた定型書式用紙の基準点に一致させて、最
初の領域の印字フオーマツトの印字開始位置を座
標入力した後、操作キーにより位置決め点を指定
すると共に、次の領域の位置決め用基準点を座標
入力することにより、その座標値を基に前記座標
基準点が移動すべき位置の座標値を演算手段によ
り算出し、更に前記操作キーにより指定された位
置決め点が次の領域の位置決め用基準点と一致す
るように印字フオーマツト入力装置を移動させ
る。 Then, align the coordinate reference point of the touch panel with the reference point of the predetermined standard form paper, enter the coordinates of the print start position of the print format of the first area, and then specify the positioning point using the operation keys. By inputting the coordinates of the positioning reference point of the next area, the calculation means calculates the coordinate value of the position to which the coordinate reference point should move based on the coordinate value, and further the positioning specified by the operation key is performed. Move the print format input device so that the point coincides with the positioning reference point of the next area.
その後、前記と同様に操作キーによる位置決め
点の指定からの処理を必要に応じて繰返し、その
間各領域の印字フオーマツトにおける印字開始位
置の座標入力を行うことで、前記定型書式用紙の
印字フオーマツトデータを入力することができ
る。 After that, the process from specifying the positioning point using the operation keys is repeated as necessary in the same way as above, and during this time the coordinates of the print start position in the print format of each area are input, thereby printing the print format data of the standard form paper. can be entered.
従つて、これによればタツチパネルのサイズよ
り大きい定型書式用紙の印字フオーマツトデータ
の入力が可能となり、従来のように大きなタツチ
パネルを備えた印字フオーマツト入力装置を揃え
る必要がないので、安価な装置を実現できる。 Therefore, this makes it possible to input print format data for standard format paper that is larger than the size of the touch panel, and it is not necessary to have a print format input device equipped with a large touch panel as in the past, so an inexpensive device can be used. realizable.
以下図面を参照して実施例を説明する。 Examples will be described below with reference to the drawings.
第1図は本発明によるプリンタの印字フオーマ
ツトデータ入力方法の一実施例を示す説明図、第
2図は第1図の実施例で用いる印字フオーマツト
入力装置の正面図である。 FIG. 1 is an explanatory view showing an embodiment of a print format data input method for a printer according to the present invention, and FIG. 2 is a front view of a print format input device used in the embodiment of FIG.
まず、装置構成について説明すると、第2図に
示した印字フオーマツト装置25は、第4図に示
したタツチパネル7、操作スイツチ部8、ROM
9、RAM10、及び制御部11を備え、前記操
作スイツチ部8が第5図に示す入力開始キー8
a、入力終了キー8bを含むことは従来のものと
同じであるが、以下の点で構成を異にしている。 First, to explain the device configuration, the print format device 25 shown in FIG.
9, a RAM 10, and a control section 11, and the operation switch section 8 is an input start key 8 shown in FIG.
Although it is the same as the conventional one in that it includes the input end key 8b, the configuration is different in the following points.
すなわち、この印字フオーマツト装置25はタ
ツチパネル7の横方向をX座標、縦方向をY座標
として、X座標の座標値は左端で“0”、右端で
“99”とし、Y座標の座標値は上端で“0”、下端
で“99”としている。 That is, this print formatting device 25 sets the horizontal direction of the touch panel 7 as the X coordinate and the vertical direction as the Y coordinate, and the coordinate value of the X coordinate is "0" at the left end, "99" at the right end, and the coordinate value of the Y coordinate is at the top end. The value is “0” at the lower end, and “99” at the lower end.
そして、タツチパネル7の四隅をそれぞれ位置
決め点とし、かつそのうちの1つである左上隅の
位置決め点を座標基準点として定めると共に、印
字フオーマツトデータ入力に際して使用する位置
決め点を指定するための操作キー8c〜8fを備
え、ここで操作キー8cはタツチパネル7の左上
隅の位置決め点に、操作キー8dは右上隅の位置
決め点に、操作キー8eは左下隅の位置決め点
に、更に操作キー8fは右下隅の位置決め点にそ
れぞれ対応しており、従つて操作スイツチ部8は
従来からの入力開始キー8a、及び入力終了キー
8bとそのスイツチ回路に加えて、操作キー8c
〜8fとそのスイツチ回路を有する構造となつて
いる。 Then, each of the four corners of the touch panel 7 is set as a positioning point, and one of them, the positioning point in the upper left corner, is set as a coordinate reference point, and an operation key 8c is used to specify the positioning point to be used when inputting print format data. ~8f, where the operation key 8c is located at the positioning point in the upper left corner of the touch panel 7, the operation key 8d is located at the positioning point in the upper right corner, the operation key 8e is located at the positioning point in the lower left corner, and the operation key 8f is located at the lower right corner. Therefore, in addition to the conventional input start key 8a and input end key 8b and their switch circuits, the operation switch section 8 includes the operation key 8c.
~8f and its switch circuit.
また、制御部11は本実施例において後述する
座標基準点の移動位置の座標値を算出する演算手
段としても機能するようになつており、従つて
ROM9内にはこの制御部11の機能に対応する
制御プログラムが格納されている。 Furthermore, in this embodiment, the control unit 11 also functions as a calculation means for calculating the coordinate values of the movement position of the coordinate reference point, which will be described later.
A control program corresponding to the functions of this control section 11 is stored in the ROM 9.
尚、プリンタ3及びホストコンピユータ4は第
3図のものと同一である。 Note that the printer 3 and host computer 4 are the same as those shown in FIG.
次に、第1図の印字フオーマツトデータ入力方
法について説明すると、図中の26は印字フオー
マツト入力装置25のタツチパネル7よりサイズ
の大きい定型書式用紙を示し、この定型書式用紙
26には印字フオーマツトとして印字枠26a〜
26kが印刷されている。 Next, to explain the print format data input method shown in FIG. Printing frame 26a~
26k is printed.
この場合、印字枠26a〜26kがタツチパネ
ル7内に入る領域は,,の3領域に分割で
きるので、定型書式用紙26の領域内に領域
の位置決め用基準点Pをペン等で記入し、同様に
領域内に領域の位置決め用基準点Qを記入し
ておく。 In this case, the area where the printing frames 26a to 26k fit into the touch panel 7 can be divided into three areas, so write the reference point P for positioning the area in the area of the standard form paper 26 with a pen, etc., and do the same in the same way. A reference point Q for positioning the area is written in the area.
次に、印字フオーマツト入力装置25の入力開
始キー8aを指等で押下すると、その押下信号が
制御部11により検知され、これに基づいて制御
部11からインタフエースケーブル2を介してプ
リンタ3の制御部12へ入力開始信号が送信され
る。 Next, when the input start key 8a of the print format input device 25 is pressed with a finger or the like, the pressing signal is detected by the control unit 11, and based on this, the control unit 11 controls the printer 3 via the interface cable 2. An input start signal is transmitted to section 12.
プリンタ3の制御部12は前記入力開始信号を
受けると、ROM19の制御プログラムに従つて
プリンタ3のモードを印字データ受信/印字モー
ドから印字フオーマツトデータ入力モードに切替
える。 When the controller 12 of the printer 3 receives the input start signal, it switches the mode of the printer 3 from the print data reception/print mode to the print format data input mode according to the control program in the ROM 19.
また、このとき印字フオーマツト入力装置25
の制御部11はタツチパネル7の左上隅の位置決
め点つまり座標基準点の位置を示すための2個レ
ジスタOFX,OFYをRAM10内に確保し、両
レジスタOFX,OFYに座標値としてそれぞれ
“0”を書込む。 Also, at this time, the print format input device 25
The control unit 11 secures two registers OFX and OFY in the RAM 10 for indicating the position of the positioning point at the upper left corner of the touch panel 7, that is, the position of the coordinate reference point, and sets "0" as the coordinate value to both registers OFX and OFY, respectively. Write.
その後、印字フオーマツト入力装置25を前記
定型書式用紙26上に重ねて、タツチパネル7を
領域に位置合わせする。この場合の位置合わせ
は、タツチパネル7の左上隅の座標基準点を定型
書式用紙26の左上隅の位置つまり予じめ定めら
れた基準点に一致させることにより行う。 Thereafter, the print format input device 25 is placed on the standard form paper 26, and the touch panel 7 is aligned with the area. In this case, alignment is performed by aligning the coordinate reference point of the upper left corner of the touch panel 7 with the position of the upper left corner of the fixed form paper 26, that is, a predetermined reference point.
この状態で領域における印字枠26a,26
b,26c内の各々の印字開始位置をタツチパネ
ル7上からタツチペン(第5図参照)により順次
押下して座標入力すると、その入力点のX座標と
Y座標の座標値を制御部11が読取り、それぞれ
の座標値に前記レジスタOFX,OFYの値を加算
した後、その加算結果の座標値を印字フオーマツ
トデータとしてプリンタ3の制御部12へインタ
フエースケーブル2を介して遂次送信し、そして
プリンタ3の制御部12はこの印字フオーマツト
データを印字領域の印字位置に変換して、これを
印字開始位置データとしてBBRAM22へ順次
記憶させる。 In this state, the printing frames 26a, 26 in the area
When the coordinates of each of the printing start positions in b and 26c are input by sequentially pressing down on the touch panel 7 with the touch pen (see FIG. 5), the control unit 11 reads the coordinate values of the X and Y coordinates of the input point. After adding the values of the registers OFX and OFY to each coordinate value, the coordinate values resulting from the addition are successively transmitted as print format data to the control unit 12 of the printer 3 via the interface cable 2, and then the printer The control unit 12 of No. 3 converts this print format data into a print position in the print area, and sequentially stores this in the BBRAM 22 as print start position data.
こうして、領域の印字フオーマツトデータの
入力を終ると、続いて領域へタツチパネル7を
移動させるが、その前に移動準備の操作として、
まず操作キー8cを押下し、位置決め点を指定す
る。 After inputting the print format data for the area in this way, the touch panel 7 is then moved to the area, but before that, as a movement preparation operation,
First, the operation key 8c is pressed to specify a positioning point.
このキー押下による押下信号は制御部11によ
り検知され、これにより制御部11は位置決め点
を認識してタツチパネル7の座標基準点の移動す
べき位置を算出するためのモードに入るので、従
つて続いてタツチペン24によりタツチパネル7
上から領域に記入されている位置決め用基準点
Pを押下して座標入力すると、制御部11はその
入力点のX座標値Xpと、Y座標値Ypを読取つ
て、これを前記RAM10内のレジスタOFX,
OFYの値に加算する。 A press signal caused by pressing this key is detected by the control unit 11, and the control unit 11 thereby recognizes the positioning point and enters a mode for calculating the position to which the coordinate reference point of the touch panel 7 should be moved. Press the touch panel 7 using the touch pen 24.
When the positioning reference point P written in the area from above is pressed to input the coordinates, the control unit 11 reads the X coordinate value Xp and Y coordinate value Yp of the input point, and stores these in the register in the RAM 10. OFX,
Add to OFY value.
つまり、ここでの処理は次の領域の印字フオ
ーマツトデータを入力するに際して、タツチパネ
ル7の座標基準点が移動すべき位置の座標値を算
出するためのもので、前記操作キー8cにより指
定された位置決め点がタツチパネル7の左上隅で
ある座標基準点であることから、位置決め用基準
点点Pがタツチパネル7を領域に位置合わせし
たときの座標基準点の移動位置に当ることにな
り、そのためこの位置決め用基準点Pの座標値
Xp,Ypを読取つて前記レジスタOFX,OFYの
値に加算することで、座標基準点の移動すべき位
置の座標値が算出されることになる。 In other words, the process here is to calculate the coordinate values of the position to which the coordinate reference point of the touch panel 7 should be moved when inputting the print format data for the next area. Since the positioning point is the coordinate reference point at the upper left corner of the touch panel 7, the positioning reference point P corresponds to the movement position of the coordinate reference point when the touch panel 7 is aligned with the area, and therefore this positioning Coordinate values of reference point P
By reading Xp and Yp and adding them to the values of the registers OFX and OFY, the coordinate values of the position to which the coordinate reference point is to be moved are calculated.
これによりタツチパネル7の移動準備が完了し
たことになるので、次にタツチパネル7の左上隅
の位置決め点が前記位置決め用基準点Pと一致す
るように印字フオーマツト入力装置25を移動さ
せて、タツチパネル7を領域に位置合わせし、
この状態でタツチペン24により印字枠26d,
26e,26f内の印字開始位置をタツチパネル
7上から押下して領域の場合と同様にプリンタ
3に印字フオーマツトデータの入力を行う。 This completes the preparation for moving the touch panel 7. Next, move the print format input device 25 so that the positioning point at the upper left corner of the touch panel 7 matches the positioning reference point P, and move the touch panel 7. Align to the area,
In this state, use the touch pen 24 to print the print frame 26d,
The print start position within 26e and 26f is pressed down on the touch panel 7 to input print format data to the printer 3 in the same manner as in the area.
領域の印字フオーマツトデータの入力を終る
と、次に領域の印字フオーマツトデータの入力
を行うために、この領域の左上隅の点Rすなわ
ち次に座標基準点が移動すべき位置の座標値を算
出する必要があるが、この点Rは領域内にない
ので、座標入力することはできないことになる。 After inputting the print format data for the area, in order to input the print format data for the area next, enter the coordinate values of the point R at the upper left corner of this area, that is, the position to which the coordinate reference point should move next. Although it is necessary to calculate this point, since this point R is not within the area, the coordinates cannot be input.
そこで、この場合、タツチパネル7の移動準備
として、まず操作キー8eを押下してタツチパネ
ル7の左下隅の位置決め点を指定する。 Therefore, in this case, in preparation for moving the touch panel 7, the user first depresses the operation key 8e to specify the positioning point at the lower left corner of the touch panel 7.
このキー押下による押下信号は制御部11によ
り検知され、位置決め点が認識されるので、続い
て領域内にある点Qつまり領域の左下隅の位
置をタツチペン24によりタツチパネル7上から
押下して座標入力すると、その入力点のX座標値
XQ,Y座標値YQを制御部11が読取る。 A press signal caused by pressing this key is detected by the control unit 11, and the positioning point is recognized, so the coordinates are then input by pressing the point Q within the area, that is, the lower left corner of the area, from above the touch panel 7 using the touch pen 24. Then, the X coordinate value of that input point
The control unit 11 reads the X Q and Y coordinate values Y Q.
ここで、タツチパネル7の左上隅と左下隅のそ
れぞれの位置決め点の位置関係から、点Rの座標
値は、X座標でXQ,Y座標でYQ−99であること
が判り、またこれらは点Pに対する相対座標であ
るので、レジスタOFXの値に座標値XQを、レジ
スタOFYの値に座標値YQ−99をそれぞれ加算す
ることで、レジスタOFX,OFYの値が点Rの座
標値となる。 Here, from the positional relationship of the positioning points at the upper left corner and lower left corner of the touch panel 7, it is found that the coordinate values of point R are X Q in the X coordinate and Y Q -99 in the Y coordinate, and these are Since the coordinates are relative to point P, by adding the coordinate value X Q to the value of register OFX and the coordinate value Y Q -99 to the value of register OFY, the values of registers OFX and OFY become the coordinate value of point R. becomes.
以上の処理によつてタツチパネル7の移動準備
が完了したことになるので、次にタツチパネル7
の左下隅が前記点Qと一致するように印字フオー
マツト入力装置25を移動させて、タツチパネル
7を領域に位置合わせし、この状態でタツチペ
ン24により印字枠26g〜26k内の印字開始
位置をタツチパネル7上から押下して領域,
の場合と同様にプリンタ3への印字フオーマツト
データの入力を行う。 The above process completes the preparation for moving the touch panel 7. Next, move the touch panel 7.
move the print format input device 25 so that the lower left corner of Press down from above to select the area,
Print format data is input to the printer 3 in the same way as in the case of .
尚、印字フオーマツト入力装置25の制御部1
1からプリンタ3の制御部12へ座標値を印字フ
オーマツトデータとして送信するとき、プリンタ
3の制御部12が受信不可の状態にある場合は、
前記の印字フオーマツトデータは印字フオーマツ
ト入力装置25のRAM10内に一時的に記憶さ
れ、前記制御部12が受信可能となつたとき、
RAM10から制御部11により取出されて制御
部12へ送られる。 Furthermore, the control section 1 of the print format input device 25
1 to the control unit 12 of the printer 3 as print format data, if the control unit 12 of the printer 3 is in a state where it cannot receive data,
The print format data is temporarily stored in the RAM 10 of the print format input device 25, and when the control section 12 becomes ready to receive it,
The data is extracted from the RAM 10 by the control unit 11 and sent to the control unit 12.
このようにして、定型書式用紙26の領域,
,の印字フオーマツトデータの入力をすべて
終了した後、入力終了キー8bを押下すると、そ
の押下信号が制御部11により検知されて、該制
御部11からプリンタ3の制御部12へ入力終了
信号が送られ、これによりプリンタ3のモードが
制御部12により通常のデータ受信/印字モード
に戻される。 In this way, the area of the standard form paper 26,
When the input end key 8b is pressed after inputting all the print format data of As a result, the mode of the printer 3 is returned to the normal data reception/printing mode by the control unit 12.
その後、ホストコンピユータ4の制御部23か
ら印字データ及びLFコードが送られることによ
り、プリンタ3のプラテンに予じめセツトした定
型書式用紙26の印字枠26a〜26k内に印字
ヘツド16により印字データが印字される。 Thereafter, the print data and LF code are sent from the control unit 23 of the host computer 4, and the print head 16 prints the print data into the print frames 26a to 26k of the fixed form paper 26 set in advance on the platen of the printer 3. It will be printed.
以上の説明から明らかなように、本実施例は印
字フオーマツト入力装置25のタツチパネル7の
四隅を位置決め点とし、かつそのうちの左上隅を
タツチパネル7上の座標基準点として設定すると
共に、操作キー8c〜8fにより使用する位置決
め点を指定するものとして、タツチパネル7の定
型書式用紙26上での移動に伴う前記座標基準点
の相対的移動量を前記操作キー8c〜8fの押下
と、それに続いて行うタツチパネル7での座標入
力に基づいて算出した後、その算出された値にそ
の後の入力座標値を加えて、これをプリンタ3に
印字フオーマツトデータとして入力させるように
している。 As is clear from the above description, in this embodiment, the four corners of the touch panel 7 of the print format input device 25 are used as positioning points, and the upper left corner of the four corners is set as the coordinate reference point on the touch panel 7. 8f specifies the positioning point to be used, and the relative movement amount of the coordinate reference point as the touch panel 7 moves on the fixed form paper 26 is determined by pressing the operation keys 8c to 8f and subsequently using the touch panel. After the calculation is performed based on the coordinate input at step 7, the subsequently input coordinate value is added to the calculated value, and this is input to the printer 3 as print format data.
この場合の座標基準点の座標値算出におけるタ
ツチパネル7での座標入力時の入力点のX座標を
XA,Y座標をYAとしたとき、座標基準点の座標
値OFX,OFYの変化は次のようにまとめられ
る。 In this case, the X coordinate of the input point when inputting coordinates on the touch panel 7 in calculating the coordinate values of the coordinate reference point is
When the X A and Y coordinates are Y A , changes in the coordinate values OFX and OFY of the coordinate reference point can be summarized as follows.
(1) 操作キー8cの押下+座標入力では、 OFX=OFX+XA,OFY=OFY+YA (2) 操作キー8dの押下+座標入力では、 OFX=OFX+XA−99,OFY=OFY+YA (3) 操作キー8eの押下+座標入力では、 OFX=OFX+XA,OFY=OFY+YA−99 (4) 操作キー8fの押下+座標入力では、 OFX=OFX+XA−99,OFY=OFY+YA−99 となる。(1) When operation key 8c is pressed + coordinate input, OFX=OFX+X A , OFY=OFY+Y A (2) When operation key 8d is pressed + coordinate input, OFX=OFX+X A -99, OFY=OFY+Y A (3) Operation When key 8e is pressed and coordinates are input, OFX=OFX+X A , OFY=OFY+Y A -99 (4) When operation key 8f is pressed and coordinates are input, OFX=OFX+X A -99, OFY=OFY+Y A -99.
従つて、操作キー8c〜8fの操作とタツチパ
ネル7の座標入力操作を組合わせることで入力面
積を拡大させることができ、如何なる大きさの定
型書式用紙であつても、その印字フオーマツトデ
ータの入力が可能となる。 Therefore, by combining the operation of the operation keys 8c to 8f and the coordinate input operation of the touch panel 7, the input area can be expanded, and even if the paper is of any size, the print format data can be input. becomes possible.
無論タツチパネル7のサイズより小さい定型書
式用紙であれば、従来と同様に入力可能である。 Of course, any fixed format paper smaller than the size of the touch panel 7 can be input in the same way as before.
以上説明したように本発明は印字フオーマツト
入力装置のタツチパネルの四隅を位置決め点と
し、かつそのうちの1つを座標基準点として設定
すると共に、前記各位置決め点を指定する操作キ
ーと、座標基準点の移動に伴うその座標値算出の
ための演算手段とを印字フオーマツト入力装置に
具備させ、前記タツチパネルのサイズより大きい
定型書式用紙の印字フオーマツトの入力に際し
て、該定型書式用紙の印字フオーマツトを複数の
領域に区分すると共に、区分された領域内に隣接
する領域の位置決め用基準点を記入しておき、前
記操作キーによるタツチパネルの位置決め点の指
定と、座標パネルによる座標入力の組合わせに基
づいて各領域における座標基準点の位置の座標値
を算出しつつ、各領域にタツチパネルを重ねて、
印字フオーマツトデータの入力を行うようにして
いる。
As explained above, the present invention sets the four corners of the touch panel of the print format input device as positioning points, sets one of them as the coordinate reference point, and also uses operation keys to specify each of the positioning points and the coordinate reference point. The print format input device is equipped with arithmetic means for calculating the coordinate values associated with the movement, and when inputting the print format of a fixed form paper larger than the size of the touch panel, the print format of the fixed form paper is divided into a plurality of areas. At the same time, the reference points for positioning of the adjacent areas are written in the divided areas, and the positions in each area are determined based on the combination of specifying the positioning point on the touch panel using the operation keys and inputting coordinates on the coordinate panel. While calculating the coordinate values of the position of the coordinate reference point, overlap each area with the touch panel,
I am trying to input the print format data.
従つて、これによればタツチパネルにより入力
される印字フオーマツトの入力面積を拡大するこ
とができ、如何なる大きさの定型書式用紙におい
ても、その印字フオーマツトデータの入力が可能
となり、そのため従来のように定型書式用紙の大
きさに応じたタツチパネルを具備する必要がな
く、大きなタツチパネルを有する装置を揃える必
要がなくなるので、従来に比べて安価な印字フオ
ーマツト入力装置を実現できる効果が得られると
同時に、従来の大型のタツチパネルを備えた装置
よりも更に大きな入力面積をとることができると
いう利点もある。 Therefore, according to this, the input area for the print format input using the touch panel can be expanded, and it is possible to input the print format data on standard format paper of any size. There is no need to provide a touch panel that corresponds to the size of the standard format paper, and there is no need to prepare a device with a large touch panel, so it is possible to realize a print format input device that is cheaper than the conventional one. Another advantage is that it can take up a larger input area than a device with a large touch panel.
第1図は本発明によるプリンタの印字フオーマ
ツトデータ入力方法を示す説明図、第2図は第1
図の実施例で用いる印字フオーマツト入力装置の
正面図、第3図は従来の入力方法に用いられる印
字フオーマツト入力装置等の斜視図、第4図は第
3図の装置の機能ブロツク図、第5図は従来の印
字フオーマツト入力データ入力時の正面図、第6
図は従来の入力方法に基づく定型書式用紙への印
字例を示す図である。
1,25:印字フオーマツト入力装置、3:プ
リンタ、6,26:定型書式用紙、26a〜26
k:印字枠、7:タツチパネル、8c〜8d:操
作キー、11:制御部。
FIG. 1 is an explanatory diagram showing a method of inputting print format data for a printer according to the present invention, and FIG.
3 is a perspective view of the print format input device used in the conventional input method, FIG. 4 is a functional block diagram of the device shown in FIG. 3, and FIG. The figure is a front view of the conventional print format when inputting data.
The figure shows an example of printing on standard format paper based on a conventional input method. 1, 25: Print format input device, 3: Printer, 6, 26: Standard format paper, 26a to 26
k: print frame, 7: touch panel, 8c to 8d: operation keys, 11: control unit.
Claims (1)
ネルを備えた印字フオーマツト入力装置のそのタ
ツチパネルを、予じめ印字フオーマツトが印刷さ
れた定型書式用紙上に重ね、 印字フオーマツトの印字開始位置を前記タツチ
パネルで座標入力してその座標値を印字フオーマ
ツトデータとしてプリンタに入力するプリンタの
印字フオーマツトデータ入力方法において、 前記タツチパネルの四隅をそれぞれ位置決め点
とし、かつそのうちの1つを座標基準点として設
定すると共に、 前記位置決め点を指定するための位置決め点対
応の操作キーと、 座標値の算出を行うための演算手段とを印字フ
オーマツト入力装置に具備し、 前記タツチパネルのサイズより大きい定型書式
用紙における印字フオーマツトデータの入力に際
して、該定型書式用紙の印字フオーマツトを複数
の領域に区分すると共に、区分された各領域内に
隣接する領域の位置決め用基準点を記入してお
き、 タツチパネルの座標基準点を予じめ定められた
定型書式用紙の基準点に一致させた後、 操作キーにより位置決め点を指定すると共に、
次の領域の位置決め用基準点を座標入力すること
により、その座標値を基に前記座標基準点が移動
すべき位置の座標値を前記演算手段により算出し
て、更に前記操作キーにより指定された位置決め
点が次の領域の位置決め用基準点と一致するよう
に印字フオーマツト入力装置を移動させてから、
この領域における印字フオーマツトの印字開始位
置を座標入力して、その座標値を前記演算手段に
より算出する処理を必要回数行うと共に、各領域
の印字フオーマツトにおける印字開始位置を座標
入力することを特徴とするプリンタの印字フオー
マツトデータ入力方法。[Scope of Claims] 1. Lay the touch panel of a print format input device equipped with a transparent touch panel that allows coordinate input by pressing the touch panel on a standard form paper on which a print format is printed in advance, and start printing the print format. In a printer print format data input method of inputting a position using the touch panel and inputting the coordinate values to the printer as print format data, each of the four corners of the touch panel is used as a positioning point, and one of them is used as a coordinate reference. The print format input device is equipped with an operation key corresponding to the positioning point for setting the positioning point as a point, and a calculation means for calculating the coordinate value, and a fixed format larger than the size of the touch panel. When inputting print format data on paper, divide the print format of the standard form into multiple areas, write the reference point for positioning the adjacent area in each divided area, and set the coordinates of the touch panel. After aligning the reference point with the reference point of the predetermined standard form paper, specify the positioning point using the operation keys, and
By inputting the coordinates of the positioning reference point of the next area, the calculation means calculates the coordinate values of the position to which the coordinate reference point should move based on the coordinate values, and further calculates the coordinate values of the position to which the coordinate reference point is to be moved. Move the print format input device so that the positioning point matches the positioning reference point of the next area, and then
A process of inputting the coordinates of the print start position of the print format in this area and calculating the coordinate values by the calculation means is performed a necessary number of times, and at the same time inputting the coordinates of the print start position of the print format of each area. How to input printer print format data.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62120723A JPS63283972A (en) | 1987-05-18 | 1987-05-18 | Printing format data inputting method for printer |
| GB8804931A GB2202353B (en) | 1987-03-11 | 1988-03-02 | Inputting format into a printer |
| DE3807562A DE3807562A1 (en) | 1987-03-11 | 1988-03-08 | METHOD FOR ENTERING A PRINT FORMAT |
| US07/166,478 US4930089A (en) | 1987-03-11 | 1988-03-10 | Method for identifying coordinate data for selected locations on preprinted paper and supplying the data to a printer for printing at corresponding locations |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62120723A JPS63283972A (en) | 1987-05-18 | 1987-05-18 | Printing format data inputting method for printer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63283972A JPS63283972A (en) | 1988-11-21 |
| JPH0550987B2 true JPH0550987B2 (en) | 1993-07-30 |
Family
ID=14793406
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62120723A Granted JPS63283972A (en) | 1987-03-11 | 1987-05-18 | Printing format data inputting method for printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS63283972A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0991083A (en) * | 1995-09-22 | 1997-04-04 | Casio Comput Co Ltd | Writing data input device |
-
1987
- 1987-05-18 JP JP62120723A patent/JPS63283972A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63283972A (en) | 1988-11-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH03281268A (en) | label printer | |
| JPH0411901B2 (en) | ||
| JPH0550987B2 (en) | ||
| JPS62140867A (en) | electronic typewriter | |
| US4930089A (en) | Method for identifying coordinate data for selected locations on preprinted paper and supplying the data to a printer for printing at corresponding locations | |
| JP2511514B2 (en) | Coordinate input method | |
| JPS63286370A (en) | Printing format data input method of printer | |
| JP2578747B2 (en) | Handwritten information processing method | |
| JPH0753465B2 (en) | Printer | |
| JPS62255175A (en) | Standard format printing device | |
| JPH01150568A (en) | Printer device | |
| JP3047980B2 (en) | Data output device | |
| JP2721969B2 (en) | Printer device | |
| JPS62286780A (en) | character processing device | |
| JPS6030376A (en) | Electronic typewriter | |
| JPH03254970A (en) | Printer | |
| JPS62256029A (en) | Standard format printing device | |
| JPH0796648A (en) | How to set the text format | |
| JP2562481B2 (en) | Setting method of unique data for terminals | |
| JPS61139472A (en) | printer | |
| JPH07108588B2 (en) | Document data output device | |
| JPS62131322A (en) | word processor | |
| JPH06318196A (en) | Data output method | |
| JPH07104762B2 (en) | Print format input device | |
| JPS5866149A (en) | Word processor |