JPH0425872B2 - - Google Patents
Info
- Publication number
- JPH0425872B2 JPH0425872B2 JP60154855A JP15485585A JPH0425872B2 JP H0425872 B2 JPH0425872 B2 JP H0425872B2 JP 60154855 A JP60154855 A JP 60154855A JP 15485585 A JP15485585 A JP 15485585A JP H0425872 B2 JPH0425872 B2 JP H0425872B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- paper
- control data
- printer
- 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
Landscapes
- Record Information Processing For Printing (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Description
本発明は、シリアルプリンタを使用して、所定
位置への印字を容易にすることにより、文書作成
を簡便、迅速化した印字フオーマツト制御装置に
関する。
The present invention relates to a print format control device that uses a serial printer to facilitate printing in a predetermined position, thereby simplifying and speeding up document creation.
従来、シリアルプリンタをホストコンピユータ
で制御して印字する場合、所望の印字形式を得る
為には、動作位置指定コマンド等の印字ヘツドの
位置(以下「受信位置」ともいう)を変化させる
コマンドを用いて複残なプログラムを組む必要が
あつた。このため、使用者に於いて特別形式の文
書を印字するには、そのための、専用プログラム
を開発する必要があり、極めて不便であつた。ま
た、汎用の文書作成装置である所謂ワードプロセ
ツサーにしても、一定範囲でのみ選択的に書式設
定ができるに過ぎず、印字形式を全く自由に設
定、修正することは、困難である。
Conventionally, when printing by controlling a serial printer with a host computer, in order to obtain the desired print format, a command that changes the position of the print head (hereinafter also referred to as "receiving position"), such as an operation position specification command, is used. Therefore, it was necessary to create a complex program. Therefore, in order for a user to print a special format document, it is necessary to develop a special program for that purpose, which is extremely inconvenient. Furthermore, even with a so-called word processor, which is a general-purpose document creation device, formatting can only be selectively set within a certain range, and it is difficult to set or modify the printing format completely freely.
上記いづれの方法であつても、印刷用紙と印字
位置との関係を使用者の側で厳密に設計しなけれ
ば、用紙上の所望の位置に印字することはできな
い。特に、予め印刷された所定の用紙の所定の印
字箇所に所定のデータのみを印字する場合には、
何度も用紙をプリンタにセツトして、試行錯誤を
繰り返して、所定の位置にデータが印字されるよ
うに印字の書式を設定する必要があつた。
又、複数の印字位置を設定するにしても、プリ
ンタにセツトされる印刷用紙の印字形式が異なる
毎に、印字位置を設定し直す必要があり、各種の
印刷用紙にデータのみ印字するという作業が極め
て困難であつた。
本発明は、このような問題点を解決するもので
ある。
In any of the above methods, it is not possible to print at a desired position on the paper unless the user carefully designs the relationship between the printing paper and the printing position. In particular, when printing only predetermined data at a predetermined printing location on a pre-printed predetermined paper,
It was necessary to set the paper in the printer many times and through trial and error to set the printing format so that the data would be printed in the predetermined position. Furthermore, even if multiple print positions are set, the print positions must be reset each time the print format of the print paper set in the printer changes, making it difficult to print only the data on each type of print paper. It was extremely difficult. The present invention solves these problems.
本発明は、上記の欠点を改良するために成され
たものであり、用紙の所定位置におけるデータの
印字を容易にすることを目的とする。
特に、予め印刷された用紙の所定箇所に所定の
データのみを印字することを容易にする書式設定
方法及びその装置を提供するものである。
The present invention has been made to improve the above-mentioned drawbacks, and an object of the present invention is to facilitate printing of data at a predetermined position on a sheet of paper. In particular, the present invention provides a formatting method and device that facilitates printing only predetermined data at predetermined locations on preprinted paper.
本発明は、使用者の操作に応じて用紙を送る信
号と、プリンタの印字ヘツドを水平方向に移動さ
せる信号とを出力して、前記印字ヘツドを前記プ
リンタにセツトされた用紙の印字すべき所定の位
置まで移動し、その印字ヘツドの位置に関する情
報を記憶する操作を繰り返して、前記用紙の全て
の印字箇所について前記印字ヘツドの位置に関す
る情報を記憶して印字フオーマツト制御データを
作成する処理を行うことにより、
前記印字フオーマツト制御データを印字フオー
マツトの異なる用紙毎に複数記憶し、
前記プリンタの印字駆動時には、記憶されてい
る複数の印字フオーマツト制御データの中から、
前記プリンタにセツトされた用紙に対応した印字
フオーマツト制御データを選択的に指定し、
ホストから前記プリンタにセツトされた用紙の
前記各印字箇所に印字すべき単位データの集合か
ら成る印字データを受信し、各単位データの印字
開始時に選択的に指定された前記印字フオーマツ
ト制御データに基づいて前記印字ヘツド及び前記
用紙の送りを制御して、前記印字ヘツドを用紙に
対して所定の位置まで順次移動させて、その箇所
に対応した前記単位データを印字することを特徴
とするシリアルプリンタの印字フオーマツト制御
方法である。
本発明方法は、第1に、操作盤のキー操作によ
り、プリンタの印字ヘツドの受信位置を用紙の所
望する印字箇所まで実際に移動させ、その時の印
字ヘツドの受信位置を順次記憶して、印字フオー
マツト制御データを作成する操作を印字フオーマ
ツトの異なる用紙毎に実行して、印字フオーマツ
トの異なる用紙毎にそれぞれの印字フオーマツト
制御データを記憶する。第2に、実際に印字する
場合には、ホストには、プリンタにセツトされて
いる用紙の印字フオーマツトに対応して、所望の
各印字箇所に印字する単位データの集合体から成
る印字データを設定し、この印字データを受信し
て、単位データ毎に、記憶されている複数の印字
フオーマツト制御データの中から、プリンタにセ
ツトされている用紙に対応して選択的に指定され
た印字フオーマツト制御データに基づいて、印字
ヘツドの受信位置を予め設定された、位置に移動
して、その位置で単位データを印字することを特
徴としている。
又本第2発明は、上記方法を実施するための装
置に関するものであり、第1図はその構成を示し
たブロツクダイヤグラムである。
即ち、本第2発明は、各種のマニユアル操作を
入力するための操作盤10と、
プリンタの用紙を送る信号S1と印字ヘツドを
水平方向に移動させる信号S2とを出力して、前
記印字ヘツド92を前記用紙に対して移動制御す
るヘツド位置制御部12と、
前記印字ヘツド92により前記用紙上に印字す
るための信号S3を出力する印字制御部18と、
前記操作盤10のキー操作に基づいた前記ヘツ
ド位置制御部12の制御により移動した前記印字
ヘツド92の位置に対応する情報の群S4を印字
フオーマツト制御データとして、印字フオーマツ
トの異なる用紙毎に記憶する印字フオーマツト制
御データ記憶部16と、
印刷時に前記プリンタにセツトされた用紙に対
応した印字フオーマツト制御データを印字フオー
マツト制御データ記憶部16に記憶された複数の
印字フオーマツト制御データより選択する印字フ
オーマツト制御データ指定部17と、
ホスト50から前記プリンタにセツトされた用
紙に対応し、前記各印字箇所に印字すべき単位デ
ータの集合から成る印字データS5を入力して、
前記単位データの印字開始時に前記印字フオーマ
ツト制御データ指定部17により選択された制御
データの各位置の情報S6を順次前記ヘツド位置
制御部12へ出力S7し該ヘツド位置制御部12
を駆動して前記印字ヘツド92を設定された印字
箇所へ順次移動させ、前記単位データを前記印字
制御部18へ出力S8して該印字制御部18を駆
動して前記単位データを順次印字させる入力制御
部14と、
から成る印字フオーマツト制御装置である。
前記操作盤はプリンタ本体に設けられていて
も、プリンタ本体と別体に構成しても良い。ヘツ
ド位置制御部12は、操作盤10からの制御信号
S9及び入力制御部14からの制御信号S7を入
力して、ドライバー74,78を駆動して印字ヘ
ツドを所定の位置に移動させるものである。
入力制御部14は、実際の印刷時にホストコン
ピユータ50から印字データを入力してヘツド位
置制御部を駆動して、印字ヘツドを印字フオーマ
ツト制御データ指定部17により選択的に指定さ
れた制御データに基づいて予め設定された位置に
移動させる機能を有すると共に、印字制御部18
を駆動して単位印字データをその箇所から印字制
御する機能を有している。
印字フオーマツト制御データ記憶部16は、操
作盤10の操作によつて、印字フオーマツトの異
なる用紙毎に、印字ヘツドを単位データの印字開
始位置まで移動させその時の印字ヘツドの位置
を、印字フオーマツトの異なる用紙毎に、記憶す
るものである。このとき同時に印字ピツチを記憶
するようにしても良い。
ホストコンピユータ50は、単位データの集合
から成る印字データを入力制御部14へ出力する
機能を有しており、各単位データは例えば、デー
タの終端を示すターミネートコード、データ番
号、又は文字数等で特定されそれぞれが区別され
るように設定されている。又ホストコンピユータ
から出力される印字データは、印字されるべき単
位データの他、印刷時にそのデータの印字を無視
する注釈文字データが含まれていても良い。入力
制御部14はホストコンピユータから入力された
一連の印字データから特定箇所に印字する単位デ
ータを選別処理する。印字制御部18は入力制御
部14から単位データを受信しドライバー74,
78,82を駆動して、そのデータを印字処理す
る機能を有する。
The present invention outputs a signal to feed the paper and a signal to move the print head of the printer in the horizontal direction in response to a user's operation, and moves the print head to a predetermined position to be printed on the paper set in the printer. , and repeats the operation of storing information regarding the position of the print head, thereby performing a process of storing information regarding the position of the print head for all printing locations on the paper and creating print format control data. By this, a plurality of pieces of the print format control data are stored for each paper with a different print format, and when the printer is driven to print, the print format control data is selected from among the plural pieces of stored print format control data.
selectively specifying print format control data corresponding to the paper set in the printer, and receiving print data consisting of a set of unit data to be printed at each print location on the paper set in the printer from the host; , controlling the feed of the print head and the paper based on the print format control data selectively specified at the time of starting printing of each unit data, and sequentially moving the print head to a predetermined position with respect to the paper. This is a printing format control method for a serial printer, characterized in that the unit data corresponding to the location is printed. In the method of the present invention, first, the receiving position of the print head of the printer is actually moved to the desired printing position on the paper by key operation on the operation panel, and the receiving position of the print head at that time is sequentially memorized to print. An operation for creating format control data is executed for each sheet of paper with a different print format, and each print format control data is stored for each sheet of paper with a different print format. Second, when actually printing, the host sets print data consisting of a collection of unit data to be printed at each desired print location, corresponding to the print format of the paper set in the printer. Then, upon receiving this print data, print format control data selectively specified corresponding to the paper set in the printer is selected from a plurality of stored print format control data for each unit data. The method is characterized in that the receiving position of the print head is moved to a preset position based on the information, and the unit data is printed at that position. The second invention also relates to an apparatus for carrying out the above method, and FIG. 1 is a block diagram showing its construction. That is, the second invention has an operation panel 10 for inputting various manual operations, and outputs a signal S1 for sending the paper of the printer and a signal S2 for moving the print head in the horizontal direction, and controls the print head 92. a head position control unit 12 that controls the movement of the print head 92 relative to the paper; a print control unit 18 that outputs a signal S3 for printing on the paper by the print head 92; a print format control data storage unit 16 that stores a group of information S4 corresponding to the position of the print head 92 moved under the control of the head position control unit 12 as print format control data for each sheet of paper with a different print format; a print format control data specifying unit 17 that selects print format control data corresponding to paper set in the printer from a plurality of print format control data stored in a print format control data storage unit 16; Inputting print data S5 consisting of a set of unit data to be printed at each of the printing locations corresponding to the paper set in
At the start of printing of the unit data, information S6 on each position of the control data selected by the print format control data specifying section 17 is sequentially output S7 to the head position control section 12.
input to drive the print head 92 to sequentially move the print head 92 to the set printing location, output S8 the unit data to the print control section 18, and drive the print control section 18 to sequentially print the unit data. This is a print format control device consisting of a control section 14; The operation panel may be provided in the printer main body or may be configured separately from the printer main body. The head position control section 12 receives the control signal S9 from the operation panel 10 and the control signal S7 from the input control section 14, and drives the drivers 74 and 78 to move the print head to a predetermined position. . The input control section 14 inputs print data from the host computer 50 during actual printing, drives the head position control section, and controls the print head based on the control data selectively designated by the print format control data designation section 17. The print control unit 18
It has a function to control printing of unit print data from that location by driving the unit print data. The print format control data storage unit 16 moves the print head to the print start position of unit data for each sheet of paper with a different print format by operating the operation panel 10, and changes the position of the print head at that time to the print start position of the unit data for each sheet of paper with a different print format. It is stored for each paper. At this time, the print pitch may be stored at the same time. The host computer 50 has a function of outputting print data consisting of a set of unit data to the input control unit 14, and each unit data is identified by, for example, a termination code indicating the end of the data, a data number, or the number of characters. and are set to be distinct from each other. In addition to the unit data to be printed, the print data output from the host computer may also include annotation character data that ignores printing of the data during printing. The input control unit 14 selects unit data to be printed at a specific location from a series of print data input from the host computer. The print control unit 18 receives unit data from the input control unit 14 and sends the unit data to the driver 74,
It has a function of driving 78 and 82 and printing the data.
印刷すべき所定の用紙をプリンタにセツトし、
操作盤を操作して、印字ヘツドをデータを印字す
べき所定の位置まで順次移動して、そのヘツドの
受信位置を記憶する。そして、実際の印刷時に
は、その受信位置に関する制御データに基づい
て、印字ヘツドを予め設定された位置まで、順次
移動してその位置から、ホストコンピユータから
受信した印字データから選別された単位データを
順次印字する。
印字フオーマツト制御データ記憶部16は、操
作盤10のキー操作に応じて、ヘツド位置制御部
12を駆動して実際に印字ヘツド92の受信位置
を移動させ、単位データを印字すべき箇所で、ヘ
ツドを停止させ、その受信位置を順次記憶して、
印字フオーマツト制御データを作成する。このよ
うな印字フオーマツト制御データは、印字フオー
マツトの異なる用紙毎に作成される。そして、こ
れらの複数の印字フオーマツト制御データが印字
フオーマツト制御データ記憶部16に記憶され
る。ホストコンピユータ50からは、印字データ
が入力制御部14に送信され、入力制御部14
は、単位データを選別して印字フオーマツト制御
データ記憶部16に記憶されている制御データの
中から、プリンタに設定されている用紙に対応し
た選択された制御データをヘツド位置制御部12
へ出力して予め設定された印字開始箇所に印字ヘ
ツド92を移動させ、印字制御部18へ単位デー
タを出力して、その箇所にそのデータを印字す
る。
この結果、予め印刷された複数の形式の文書用
紙の所望の形式の文書用紙における所定の欄にデ
ータのみを印字処理する操作が極めて容易に行わ
れる。
Load the specified paper to be printed on the printer,
By operating the operation panel, the print head is sequentially moved to a predetermined position where data should be printed, and the reception position of that head is memorized. During actual printing, the print head is sequentially moved to a preset position based on the control data regarding the reception position, and from that position, the unit data selected from the print data received from the host computer is sequentially printed. Print. The print format control data storage unit 16 drives the head position control unit 12 in response to key operations on the operation panel 10 to actually move the reception position of the print head 92, and moves the head to the location where unit data is to be printed. , and sequentially memorize the receiving positions.
Create print format control data. Such print format control data is created for each sheet of paper with a different print format. Then, these plural pieces of print format control data are stored in the print format control data storage section 16. The print data is sent from the host computer 50 to the input control section 14 .
selects the unit data and selects the selected control data corresponding to the paper set in the printer from among the control data stored in the print format control data storage unit 16 and sends the selected control data to the head position control unit 12.
The print head 92 is moved to a preset printing start position, and the unit data is output to the print control section 18 to print the data at that position. As a result, it is extremely easy to print only data in a predetermined field on a desired format of document paper of a plurality of preprinted formats.
以下本発明を具体的な実施例に基づいて説明す
る。第2図は、実施例装置の構成を示したブロツ
クダイヤグラムである。本装置は、プリンタ本体
とは別体のハンデイーな操作装置30とプリンタ
本体に組み込まれた主にコンピユータシステムか
ら成る主装置とから成る。
操作装置30は各種の操作入力を行うキーボー
ド34と、印字フオーマツト制御データの作成処
理を行うCPU32と、印字フオーマツト制御デ
ータ等を記憶するRAM38と、その記憶内容を
プリンタ本体から給電されていない時にも保持す
るバツテリー40と、プリンタ本体側の主装置を
構成するCPU68とデータの送受信を行う入出
力インタフエース36とから成る。
プリンタは、ホストコンピユータ50から印字
データを入力するバツフアレジスタ62と、その
状態をホストコンピユータに知らせるステータス
レジスタ64と、印字処理を行うためのCPU6
8、この処理プログラム及び、各種のパラメータ
を記憶したROM70と、印字フオーマツト制御
データ、印字データ等を記憶するためのRAM6
6とを有している。CPU68には、出力インタ
フエース72が接続され、それには紙送りのため
のモータ(LFモータ)を駆動するドライバー7
4が接続され、そのドライバーにはLFモータ7
6が接続されている。又、印字ヘツドを横方向に
移動させるためのドライバー78が出力インタフ
エース72に接続され、ドライバー78は印字ヘ
ツドを移動させるCRモータ80を駆動する。又、
出力インタフエース72には印字ソレノイド84
を駆動させるためのドライバー82が接続されて
いる。
第3図は、操作装置30の外形を示した平面図
である。キーボード34は、モード1キーとモー
ド2キーとカーソルキーとを有している。モード
1キーは、印字フオーマツト制御データを作成登
録する登録キー341、登録されている印字フオ
ーマツト制御データを修正又は、削除するための
修正キー342と削除キー343、印字フオーマ
ツト制御データを主装置のRAM66へ転送し印
字制御するための呼出キー344とから成る。モ
ード2キーは、登録番号、印字ヘツドの受信位置
の設定を行う決定キー345、モード2の状態を
終了させる終了キー346、登録された印字フオ
ーマツト制御データの受信位置、印字ピツチ等を
正式印刷の前に印字して確認する確認キー34
7、印字ピツチを設定するスペースキー348、
印字フオーマツト制御データの挿入、削除等を行
うデータ挿入キー349、データ削除キー350
から成る。
操作装置30は、その他、印字フオーマツト制
御データ群の番号を表す登録番号、1登録群中の
印字データの印字箇所の番号を表すデータ番号、
その他エラー等のメツセージを表示する液晶表示
盤300を有している。さらに、その枠体の内部
に、CPU32、RAM38、入出力インタフエー
ス36、バツテリ40等が配設されている。
第4図は操作装置30とプリンタ本体側との接
続関係を示した電気回路図であり、第5図はその
信号の論理を示した説明図である。スイツチSW
0,SW1,SW2,SW3はそれぞれカーソルキ
ー353,352,354,351に対応してい
る。ゲート回路361,362の出力信号線L
1,L2はプリンタ側の主装置に接続されてい
る。又信号線L1,L2は、ゲート回路363に
入力しその出力線L3はマイクロコンピユータ4
5に接続されている。さらに、スイツチSW3の
出力信号線L4がマイクロコンピユータ45に接
続されている。信号線L3とL4のうちいづれか
が低レベルの間は、カーソルキーのいづれかが操
作されたことを示しているので、CPU32は信
号線L5を介して主装置に低レベル信号を出力し
て、主装置は、その信号線L5が低レベルの間、
信号線L1,L2の論理レベルを解析して、どの
カーソルキーが操作されたかを判定することが出
来る。主装置は、この信号によつて、印字ヘツド
と紙送りの制御をすることが出来る。又、マイク
ロコンピユータ45と主装置はデータ線L6,L
7によつて接続されており、制御信号の送受信、
印字フオーマツト制御データの送信が行われる。
マイクロコンピユータ45のCPU32は、信号
線L3,L4の論理レベルを判定して、登録番号
のインクリメントのためのカーソルキーSW3
(351)とデイクリメントのためのカーソルキ
ーSW1(352)のいづれが操作されたかを判
定することが出来る。
次に印字フオーマツト制御データの登録につい
て述べる。第6図は、操作装置30のCPU32
の処理をメインプログラムを示したフローチヤー
ト、第11図は、プリンタ本体の主装置のCPU
68の処理のメインプログラムを示したフローチ
ヤートである。操作装置30の電源スイツチが投
入されると、ステツプ100で、主装置とのインタ
フエースの調整中の表示を行う。ステツプ102で
カウンタCを0にセツトし、ステツプ104で、
SOH信号を主装置側に応答信号があるまで送信
し、ステツプ106、108で、主装置からのDC1信号
を受信し、ステツプ110でカウンタCを更新しス
テツプ112でDC1信号を5つ受信したと判定され
た時ACK信号を送信しステツプ116で残された登
録可能データ数を表示する。一方、主装置は、そ
の間第11図に於いてステツプ600〜610の処理に
より、操作装置30からSOH信号を50コ受信し
た後DC1信号を5バイト送信して、操作装置30
とプリンタ本体の主装置との接続を完了する。そ
の後、操作装置30はステツプ118で登録番号選
択プログラムを実行する。
第7図は登録番号選択プログラムの処理手順を
示したフローチヤートである。ステツプ200でキ
ーボード34からキー入力があつた時は、ステツ
プ202でモード1のモード選択キーが打鍵された
かを判定し、ステツプ204で登録キーが打鍵され
た場合にはステツプ206で次のキー入力を持ちス
テツプ208でインクリメントキーSW3(351)
が操作された場合にはRAM38に登録されてい
る登録番号を除いて、昇順にデータを検索して、
ステツプ212で未設定の登録番号を表示盤300
に表示する。又、ステツプ214でデイクリメント
キーSW1(352)が操作されたと判定された
場合には、ステツプ216で未登録番号を降順に検
索して、ステツプ212で表示盤300に、未登録
番号を降順に表示する。希望する登録番号が上記
のキー操作によつて表示された場合には、決定キ
ー345を打鍵すれば、ステツプ218でそのキー
入力が判定されて、ステツプ220で表示された登
録番号がRAM38へ設定され、以降ステツプ
222でその登録番号に属するグループの印字フオ
ーマツト制御データの登録プログラムが実行され
る。
一度RAM38に登録された印字フオーマツト
制御データの修正、削除、及びプリンタ本体の主
装置のRAM66への印字フオーマツト制御デー
タの転送のための呼出を行うため、その登録番号
を表示するには、ステツプ230〜ステツプ246のブ
ロツクBの処理が行われる。その処理は既登録番
号のみを検索して、インクリメントキー、デイク
リメントキーの操作に応じて、昇順又は降順に登
録番号を表示し決定キーを操作してその表示され
た登録番号を選択することによつて行われる。
次に登録プログラムの処理について説明する。
第8図はその処理を説明したフローチヤートであ
る。ステツプ300で登録番号が表示され、ステツ
プ302でSOH信号を主装置に送信し、主装置はス
テツプ612、614、616(第11図)により、SOH
信号を受信するとDC1信号を送信する。操作装置
30はステツプ304でDC1信号が受信された場合
にはステツプ306でACK信号を出力してステツプ
308、310に移行して、データ番号を表示する。デ
ータ番号0は、印字ヘツドの用紙に対するセンタ
リングの制御に使用する。ステツプ314で、DC1
信号を送信して、主装置をカーソルによる受信位
置制御モードにする。次にステツプ316で、第1
4図に示す受信位置制御プログラムAが実行され
る。主装置はDC1信号を解読してステツプ622の
受信位置制御プログラムB(第15図)を実行す
る。
次に受信位置の制御手段を第14図、第15図
に示されているプログラムに従つて説明する。第
14図は操作装置の処理手順を第15図は主装置
の処理手順を示したものである。ステツプ800で
決定キーの判定が行われ、ステツプ802とステツ
プ804に於いてカーソルキーの操作の有無が判定
される。即ち、第4図の信号線L3又はL4のい
づれかが低レベルになるかを検出することによつ
て判定できる。カーソルキーの操作が検出された
時はステツプ806に移行して、信号線L5を低レ
ベルにしてその旨を主装置に知らせる。又、ステ
ツプ808、810で両信号線L3,L4が共に高レベ
ルになつた時はカーソルキーの打鍵が停止された
ことを意味しているのでステツプ812で信号線L
5を高レベルにして、その旨の情報を主装置に知
らせる。
一方、主装置ではステツプ850で決定キーの打
鍵によるヘツド位置の応答要求信号があるかが判
定され、ステツプ852で、信号線L5の信号レベ
ルを検出してそれが低レベルにあるとカーソルキ
ーの打鍵があると判定して、ステツプ854で信号
線L1とL2の論理レベルに応じて(第5図)
CRモータ80を駆動して印字ヘツドを1ドツト
移動するか又はLFモータ76を駆動して最小単
位量の紙送りを行う。ステツプ856で0.5秒待機し
た後ステツプ858で信号線L5が尚低レベルにあ
るとカーソルキーが打鍵され続けているので、ス
テツプ860とステツプ862とで信号線L5が高レベ
ルになるまでヘツド又は紙送りの制御を連続して
行う。このため、カーソルキーが打鍵され続けて
いる間、連続して印字ヘツドの受信位置が変化す
ることになる。
このようにして、カーソルキーを操作して、印
字ヘツドを所望の位置に移動させ、次に決定キー
345を打鍵すると、操作装置はステツプ814で
受信位置の応答要求信号ENQを送信する。主装
置はステツプ850でこの信号の受信を判定してス
テツプ864で印字ヘツドの受信位置を操作装置に
送信する。操作装置は、ステツプ816、818で受信
位置の座標データを受信してそれをRAM38に
格納する。
上記の操作を順次繰り返して実行し第16図に
示す用紙の全ての単位データの印字開始箇所〜
の座標を設定して、印字フオーマツト制御デー
タの登録が完成する。上記の処理に於いてステツ
プ326(第8図)でスペースキーが打鍵されると、
ステツプ328でカーソルキーの操作によつて印字
ピツチの大きさを表示盤にインクリメント又はデ
クリメント的に表示し決定キーでその値を選定し
ステツプ332で印字ピツチをフオーマツト制御デ
ータの一部として作成する。
印字フオーマツト制御データの登録はステツプ
334で終了キー346の打鍵を検出し、ステツプ
336でSOH信号を送信することによつて終了
する。この時主装置はSOH信号を受信してステ
ツプ620でDC1信号を出力して、次の制御データ
の受信待ち状態となる。
23は、一度登録されたフオーマツト制御デー
タの修正の処理手順を第9図に示すフローチヤー
トに従つて説明する。第7図に示す手順により既
設定の登録番号が選択され、修正キーの打鍵によ
りステツプ248を経てステツプ250で第9図の修正
プログラムが起動される。ステツプ400〜ステツ
プ408は、第8図のステツプ300〜308と同様の機
能である。ステツプ410〜ステツプ414はフオーマ
ツト制御データのデータ番号を順次表示するステ
ツプである。所定のデータ番号が選択された後、
ステツプ416で確認キー347が打鍵されるとス
テツプ418で、そのデータ番号に対応した設定さ
れた受信位置へヘツドを移動させる信号DC3と
フオーマツト制御データが送信され、主装置はス
テツプ630〜634で、そのデータ番号のデータの印
字開始位置にヘツドの受信位置を移動させる。こ
の動作により、既設定の印字フオーマツト制御デ
ータがどのように設定されていたかを調べること
が出来る。ステツプ422で決定キーが打鍵される
とそのデータ番号が選択されると共にステツプ
424〜426で、登録モードと同様にカーソルの操作
によつて直接印字ヘツドの受信位置を移動させる
受信位置制御プログラムA(第14図)が起動さ
れる。この時手装置はステツプ618でDC1信号を
検出するので、登録モードになつている。決定キ
ーの打鍵があると、第15図ステツプ864により
現在の受信位置が操作装置に送信され、印字フオ
ーマツト制御データの修正が完了する。次にステ
ツプ428で次のデータ番号の表示パラメータIが
更新される。ステツプ430で終了キーの打鍵を検
出して修正プログラムを終了する。
次に、このようにして作成されたフオーマツト
制御データに基づいてホストコンピユータから印
字データを受信してそのデータを印字する処理手
順について述べる。
印字データは第17図に示すようにデータ番号
順に下線の引かれた印字を行わない注釈文とそれ
に続く単位印字データと単位データを区切るコー
ドのCR、LFコードで構成している。単位データ
の印刷においては、印字ヘツドが第16図に示す
ように登録された各受信位置〜に自動的に移
動してその箇所に対応した〜の単位データが
印字される。
第7図に於ける処理により印字フオーマツト制
御データの登録番号が選択され、ステツプ248で
呼出キー344の打鍵が判定されるとステツプ
252で、第10図に示す呼出プログラムが実行さ
れる。ステツプ500〜506は第8図のステツプ300
〜306と同一である。ステツプ508で制御信号DC
2が送信されると主装置はステツプ628を介して
第12図のプログラムを実行する。ステツプ510
でデータ数がステツプ512で印字フオーマツト制
御データがそれぞれ送信される。主装置はステツ
プ650でデータ数を受信し、ステツプ652、654で
印字フオーマツト制御データを受信する。この段
階で指定された登録番号の印字フオーマツト制御
データが一括してRAM38からRAM66へ転
送されたことになる。
次にステツプ514で確認キーの打鍵が検出され
るとステツプ516でテスト印字のための制御信号
ENQが送信され、主装置はステツプ656でこの制
御信号を判読し、ステツプ658で全ての印字箇所
のデータの印字開始位置に1文字分の枠を印刷し
て文字間隔を表示し、その枠内にデータ番号を印
字する。テスト印字が終了するとステツプ660で
DC1信号を出力して、テスト印字の終了を知らせ
る。
又、ステツプ520で終了キーの打鍵が検出され
ると、ステツプ522でデータ印字指令の制御信号
EOTが送信される。この時手装置はステツプ662
へ移行してホストコンピユータから送信される印
字データを印刷する印字プログラム(第13図)
が実行される。ステツプ700でステータスレジス
タ64のBUSYビツトをオフにして、ホストコ
ンピユータから印字データを入力出来る状態にす
る。ステツプ702、704は用紙の給紙に関する処理
である。ステツプ706はデータの受信の有無の判
定をステツプ708、710はコマンド処理を示す。ス
テツプ740〜742は注釈文の場合のデータの読み飛
ばし処理を行うステツプである。ステツプ712〜
718はLFコードを検出したときは単位データの区
切りと見做して、印字フオーマツト制御データに
基づいて所定の位置に印字処理するステツプであ
る。ステツプ706〜718の繰り返しにより全ての印
字箇所にデータが印字される。ステツプ720は用
紙の自動排出、ステツプ722は操作装置からSOH
信号を受信した時は第11図のステツプ612へ復
帰して、ホストコンピユータから操作装置30へ
と接続の切り換えを行うステツプである。ステツ
プ724〜734はプリンタ本体の操作卓によるキー操
作に基づく処理をするステツプである。
本実施例は以上の構成及び作用により予め印刷
された用紙の印字所定箇所に必要なデータのみを
印字することが出来、特にデータベースシステム
のデータの印字に効果を発揮する。
The present invention will be explained below based on specific examples. FIG. 2 is a block diagram showing the configuration of the embodiment device. This device consists of a handy operating device 30 separate from the printer body and a main device mainly consisting of a computer system built into the printer body. The operating device 30 includes a keyboard 34 for inputting various operations, a CPU 32 for creating print format control data, a RAM 38 for storing print format control data, etc., and a RAM 38 for storing the stored contents even when power is not being supplied from the printer main body. It consists of a battery 40 for holding, and an input/output interface 36 for transmitting and receiving data with a CPU 68 constituting the main device on the printer main body side. The printer includes a buffer register 62 for inputting print data from the host computer 50, a status register 64 for informing the host computer of its status, and a CPU 6 for performing print processing.
8. ROM 70 that stores this processing program and various parameters, and RAM 6 that stores print format control data, print data, etc.
6. An output interface 72 is connected to the CPU 68, and includes a driver 7 that drives a paper feeding motor (LF motor).
4 is connected, and its driver has LF motor 7.
6 is connected. Also connected to output interface 72 is a driver 78 for laterally moving the print head, which drives a CR motor 80 for moving the print head. or,
The output interface 72 has a printing solenoid 84.
A driver 82 for driving is connected. FIG. 3 is a plan view showing the outer shape of the operating device 30. The keyboard 34 has a mode 1 key, a mode 2 key, and a cursor key. The mode 1 key is a registration key 341 for creating and registering print format control data, a modification key 342 and a deletion key 343 for modifying or deleting registered print format control data, and a key for storing print format control data in the RAM 66 of the main device. and a call key 344 for transferring data to and controlling printing. The mode 2 keys are the enter key 345 for setting the registration number and print head reception position, the end key 346 for ending the mode 2 state, and the reception position of registered print format control data, print pitch, etc. for formal printing. Confirmation key 34 to print and confirm beforehand
7. Space key 348 to set the print pitch;
Data insertion key 349 and data deletion key 350 for inserting and deleting print format control data, etc.
Consists of. In addition, the operating device 30 has a registration number representing the number of the print format control data group, a data number representing the number of the print position of the print data in one registration group,
It also has a liquid crystal display panel 300 for displaying messages such as errors. Furthermore, a CPU 32, a RAM 38, an input/output interface 36, a battery 40, etc. are arranged inside the frame. FIG. 4 is an electric circuit diagram showing the connection relationship between the operating device 30 and the printer main body, and FIG. 5 is an explanatory diagram showing the logic of the signals. Switch SW
0, SW1, SW2, and SW3 correspond to cursor keys 353, 352, 354, and 351, respectively. Output signal line L of gate circuits 361 and 362
1 and L2 are connected to the main device on the printer side. Further, the signal lines L1 and L2 are input to the gate circuit 363, and the output line L3 is input to the microcomputer 4.
5. Furthermore, the output signal line L4 of the switch SW3 is connected to the microcomputer 45. When one of the signal lines L3 and L4 is at a low level, it indicates that one of the cursor keys has been operated, so the CPU 32 outputs a low level signal to the main unit via the signal line L5 to While the signal line L5 is at a low level, the device
By analyzing the logic levels of the signal lines L1 and L2, it is possible to determine which cursor key has been operated. The main device can control the print head and paper feed based on this signal. In addition, the microcomputer 45 and the main device are connected to data lines L6 and L.
7 for sending and receiving control signals,
Print format control data is transmitted.
The CPU 32 of the microcomputer 45 determines the logic levels of the signal lines L3 and L4 and presses the cursor key SW3 for incrementing the registration number.
It is possible to determine which of the cursor key SW1 (351) and the cursor key SW1 (352) for decrementing has been operated. Next, registration of print format control data will be described. FIG. 6 shows the CPU 32 of the operating device 30.
Figure 11 is a flowchart showing the main program for processing the CPU of the main unit of the printer.
68 is a flowchart showing the main program of processing. When the power switch of the operating device 30 is turned on, in step 100, a message indicating that the interface with the main device is being adjusted is displayed. In step 102, counter C is set to 0, and in step 104,
The SOH signal is transmitted until a response signal is received from the main device, the DC1 signal from the main device is received in steps 106 and 108, the counter C is updated in step 110, and five DC1 signals are received in step 112. When it is determined, an ACK signal is transmitted and the number of remaining registrable data is displayed in step 116. Meanwhile, the main device receives 50 SOH signals from the operating device 30 through the processing in steps 600 to 610 in FIG.
Complete the connection between the printer and the main device. Thereafter, the operating device 30 executes the registration number selection program in step 118. FIG. 7 is a flowchart showing the processing procedure of the registration number selection program. When a key input is received from the keyboard 34 in step 200, it is determined in step 202 whether the mode selection key for mode 1 has been pressed, and if the registration key has been pressed in step 204, the next key input is determined in step 206. and press increment key SW3 (351) at step 208.
is operated, search the data in ascending order excluding the registration number registered in RAM38,
In step 212, the unset registration number is displayed on the display panel 300.
to be displayed. If it is determined in step 214 that the decrement key SW1 (352) has been operated, unregistered numbers are searched in descending order in step 216, and unregistered numbers are displayed on the display panel 300 in step 212 in descending order. indicate. If the desired registration number is displayed by the above key operation, press the enter key 345, the key input is judged in step 218, and the displayed registration number is set in the RAM 38 in step 220. and the subsequent steps
At 222, a program for registering print format control data of the group belonging to the registration number is executed. To display the registration number for modifying or deleting the print format control data once registered in the RAM 38 and for calling to transfer the print format control data to the RAM 66 of the main unit of the printer, proceed to step 230. ~The processing of block B in step 246 is performed. The process is to search only for registered numbers, display the registration numbers in ascending or descending order according to the operation of the increment key or decrement key, and select the displayed registration number by operating the enter key. It is done by folding. Next, the processing of the registration program will be explained.
FIG. 8 is a flowchart explaining the process. The registration number is displayed in step 300, the SOH signal is sent to the master device in step 302, and the master device sends the SOH signal in steps 612, 614, and 616 (Figure 11).
When it receives a signal, it sends a DC1 signal. If the DC1 signal is received in step 304, the operating device 30 outputs an ACK signal in step 306 and executes the step.
Move to 308 and 310 and display the data number. Data number 0 is used to control the centering of the print head relative to the paper. At step 314, DC1
Send a signal to put the main device into cursor reception position control mode. Next, in step 316, the first
The reception position control program A shown in FIG. 4 is executed. The main device decodes the DC1 signal and executes the reception position control program B (FIG. 15) in step 622. Next, the receiving position control means will be explained according to the programs shown in FIGS. 14 and 15. FIG. 14 shows the processing procedure of the operating device, and FIG. 15 shows the processing procedure of the main device. At step 800, a decision key is determined, and at steps 802 and 804, it is determined whether or not a cursor key has been operated. That is, the determination can be made by detecting whether either the signal line L3 or L4 in FIG. 4 is at a low level. When the operation of the cursor key is detected, the process moves to step 806, and the signal line L5 is set to a low level to notify the main device of this fact. Also, when both signal lines L3 and L4 become high level in steps 808 and 810, it means that the cursor key presses have been stopped, so in step 812 the signal line L
5 to a high level and informs the main device of this information. On the other hand, in the main device, it is determined in step 850 whether there is a response request signal for the head position caused by pressing the enter key, and in step 852, the signal level of the signal line L5 is detected, and if it is at a low level, the cursor key is pressed. It is determined that there is a keystroke, and in step 854, the signal is input according to the logic level of signal lines L1 and L2 (Fig. 5).
The CR motor 80 is driven to move the print head one dot, or the LF motor 76 is driven to feed the paper by the minimum unit amount. After waiting for 0.5 seconds in step 856, in step 858, if the signal line L5 is still at a low level, the cursor key continues to be pressed, so in steps 860 and 862, the head or paper is pressed until the signal line L5 becomes high level. Feed control is performed continuously. Therefore, while the cursor key continues to be pressed, the receiving position of the print head changes continuously. In this manner, when the print head is moved to a desired position by operating the cursor keys and the enter key 345 is then pressed, the operating device transmits a reception position response request signal ENQ in step 814. The main unit determines reception of this signal in step 850 and transmits the receiving position of the print head to the operating device in step 864. The operating device receives the coordinate data of the received position in steps 816 and 818 and stores it in the RAM 38. Repeat the above operations in order and start printing all the unit data on the paper shown in Figure 16.
By setting the coordinates of , the registration of print format control data is completed. When the space key is pressed in step 326 (Figure 8) in the above process,
In step 328, the print pitch size is displayed in increments or decrements on the display panel by operating the cursor keys, the value is selected with the enter key, and in step 332 the print pitch is created as part of the format control data. Steps to register print format control data
At step 334, pressing of the end key 346 is detected, and at step 336, an SOH signal is transmitted, thereby ending the process. At this time, the main device receives the SOH signal, outputs the DC1 signal in step 620, and enters a state of waiting for reception of the next control data. 23 will explain the processing procedure for modifying the format control data once registered, according to the flowchart shown in FIG. A previously set registration number is selected according to the procedure shown in FIG. 7, and the correction program shown in FIG. 9 is started in step 250 via step 248 by pressing the correction key. Steps 400 to 408 have similar functions to steps 300 to 308 in FIG. Steps 410 to 414 are steps for sequentially displaying data numbers of format control data. After a given data number is selected,
When the confirmation key 347 is pressed in step 416, the signal DC3 and format control data for moving the head to the set reception position corresponding to the data number are transmitted in step 418, and the main device performs the following steps in steps 630 to 634. The receiving position of the head is moved to the printing start position of the data of that data number. Through this operation, it is possible to check how the previously set print format control data has been set. When the enter key is pressed in step 422, the data number is selected and the step
In steps 424 to 426, the receiving position control program A (FIG. 14) is started, which moves the receiving position of the print head directly by operating the cursor, as in the registration mode. At this time, the hand device detects the DC1 signal in step 618, so it is in registration mode. When the enter key is pressed, the current receiving position is transmitted to the operating device at step 864 in FIG. 15, and the correction of the print format control data is completed. Next, in step 428, the display parameter I of the next data number is updated. At step 430, pressing of the end key is detected and the correction program is ended. Next, a processing procedure for receiving print data from the host computer and printing the data based on the format control data created in this way will be described. As shown in FIG. 17, the print data consists of a comment text that is not printed and is underlined in order of data number, followed by CR and LF codes that separate unit print data and unit data. In printing unit data, the print head automatically moves to each registered receiving position as shown in FIG. 16, and the unit data corresponding to that location is printed. The registration number of the print format control data is selected through the process shown in FIG.
At 252, the calling program shown in FIG. 10 is executed. Steps 500 to 506 are step 300 in Figure 8.
~306 is the same. Control signal DC in step 508
2 is transmitted, the main device executes the program shown in FIG. 12 via step 628. step 510
At step 512, print format control data is transmitted. The main device receives the data number in step 650 and print format control data in steps 652 and 654. At this stage, the print format control data of the specified registration number has been transferred from RAM 38 to RAM 66 all at once. Next, when the pressing of the confirmation key is detected in step 514, a control signal for test printing is sent in step 516.
ENQ is sent, the main device reads this control signal in step 656, and in step 658 prints a frame for one character at the print start position of the data in all print locations, displays the character spacing, and prints a frame within that frame. Print the data number. When the test printing is completed, step 660 is executed.
Outputs the DC1 signal to notify the end of test printing. Furthermore, when the pressing of the end key is detected in step 520, a control signal for data printing command is output in step 522.
EOT is sent. At this time, the hand device is in step 662.
A printing program that moves to and prints the print data sent from the host computer (Figure 13)
is executed. At step 700, the BUSY bit of the status register 64 is turned off, making it possible to input print data from the host computer. Steps 702 and 704 are processes related to paper feeding. Step 706 indicates whether or not data has been received, and steps 708 and 710 indicate command processing. Steps 740 to 742 are steps for skipping data in the case of annotation sentences. Step 712~
Step 718 is a step in which when an LF code is detected, it is regarded as a delimiter of unit data and is printed at a predetermined position based on the print format control data. By repeating steps 706 to 718, data is printed at all printing locations. Step 720 is automatic paper ejection, step 722 is SOH from the operating device.
When the signal is received, the process returns to step 612 in FIG. 11, and the connection is switched from the host computer to the operating device 30. Steps 724 to 734 are steps for performing processing based on key operations on the console of the printer body. With the above-described configuration and operation, this embodiment can print only necessary data at predetermined printing locations on preprinted paper, and is particularly effective in printing data from a database system.
本発明方法は、操作盤のキー操作により、プリ
ンタの印字ヘツドの受信位置を用紙の所望する印
字箇所まで実際に移動させ、その時の印字ヘツド
の受信位置を順次記憶して、印字フオーマツト制
御データを、印字フオーマツトの異なる用紙毎に
作成し、実際に印字する場合には、ホストコンピ
ユータには、所望の各印字箇所に印字する単位デ
ータの集合体から成る印字データを設定し、この
印字データを受信して、単位データ毎に、プリン
タにセツトされている用紙に対応して、選択的に
指定された印字フオーマツト制御データに基づい
て、印字ヘツドの受信位置を予め設定された、位
置に移動して、その位置で単位データを印字する
ことを特徴としている。
又本第2発明は、印字ヘツドの受信位置を実際
に移動させて単位データの印字開始位置を、印字
フオーマツトの異なる用紙毎に記憶して複数の印
字フオーマツト制御データを作成する印字フオー
マツト制御データ記憶部とホストコンピユータか
ら印字データを入力して、プリンタにセツトされ
ている用紙に対応して選択的に指定されたフオー
マツト制御データに基づいて印字制御する入力制
御部とを主に有している。
従つて、本発明によれば、実際に印字ヘツドの
受信位置を移動させているので、書式データの作
成が極めて容易となり、所望する印字箇所にデー
タを正確に印字することが出来る。特に、予め所
定の印刷のされた用紙の所定欄に、データを印字
する場合に特に有効であり、文書作成の作業効率
が向上する。印字フオーマツト制御データは所定
形式の用紙毎に記憶しておくことが出来るので一
度作成しておけば、実際の印刷時にそのデータを
再度利用出来、極めて便利である。
The method of the present invention involves actually moving the receiving position of the print head of the printer to the desired printing position on the paper by operating keys on the operation panel, sequentially storing the receiving position of the print head at that time, and transmitting print format control data. , is created for each sheet of paper with a different print format, and when actually printing, the host computer is set with print data consisting of a collection of unit data to be printed at each desired print location, and this print data is received. Then, for each unit data, the receiving position of the print head is moved to a preset position based on selectively specified print format control data corresponding to the paper set in the printer. , the unit data is printed at that position. The second invention also provides a print format control data storage system that creates a plurality of print format control data by actually moving the receiving position of the print head and storing the print start position of unit data for each sheet of paper with a different print format. It mainly has an input control section which inputs print data from a host computer and performs printing control based on format control data selectively designated corresponding to the paper set in the printer. Therefore, according to the present invention, since the receiving position of the printing head is actually moved, it is extremely easy to create format data, and the data can be printed accurately at the desired printing location. This is particularly effective when printing data in a predetermined column of a sheet of paper that has been printed in a predetermined manner, and improves the work efficiency of document creation. Since print format control data can be stored for each paper of a predetermined format, once created, the data can be used again during actual printing, which is extremely convenient.
第1図は本発明装置の概念を示したブロツクダ
イヤグラム、第2図は本発明の具体的な一実施例
装置の構成を示したブロツクダイヤグラム、第3
図は同実施例装置に於いて使用された操作装置の
外観を示した平面図、第4図は操作装置とプリン
タの主装置との電気的接続関係を示した電気回路
図、第5図はカーソルキーとヘツド移動信号との
関係を示した説明図である。第6図は操作装置に
使用されたCPUの処理手順のうちその主プログ
ラムを示したフローチヤート、第7図は登録番号
選択プログラムを、第8図はフオーマツト制御デ
ータの登録処理を行う登録プログラムを、第9図
はそのデータの修正を行う修正プログラムを、第
10図は作成された印字フオーマツト制御データ
をプリンタの主装置へ転送する呼出プログラムを
それぞれ示したフローチヤートである。又、第1
1図及び第12図はプリンタ本体に配設された主
装置のCPUの処理手順の主プログラムを、第1
3図はホストコンピユータから印字データを受信
してそれを印字処理する印字プログラムを示した
フローチヤートである。第14図は印字ヘツドの
受信位置をカーソル制御する為の操作装置の受信
位置制御プログラムを、第15図は同じく受信位
置のカーソル制御をするための主装置の受信位置
制御プログラムとそれぞれ示したフローチヤート
である。第16図は単位データの印字開始位置の
設定を説明する為の予め所定形式に印刷された用
紙の平面図、第17図はホストコンピユータに印
字データを設定する方法を説明するための印字デ
ータの一例を示した説明図である。
300……表示盤、351〜354……カーソ
ルキー、351……インクリメントキー、352
……デイクリメントキー。
FIG. 1 is a block diagram showing the concept of the device of the present invention, FIG. 2 is a block diagram showing the configuration of a specific embodiment of the device of the present invention, and FIG.
The figure is a plan view showing the external appearance of the operating device used in the device of the same embodiment, FIG. 4 is an electric circuit diagram showing the electrical connection relationship between the operating device and the main device of the printer, and FIG. FIG. 3 is an explanatory diagram showing the relationship between cursor keys and head movement signals. Figure 6 is a flowchart showing the main program of the processing steps of the CPU used in the operating device, Figure 7 is a registration number selection program, and Figure 8 is a registration program for registering format control data. 9 is a flowchart showing a correction program for correcting the data, and FIG. 10 is a flowchart showing a calling program for transferring the created print format control data to the main device of the printer. Also, the first
Figures 1 and 12 show the main program of the processing procedure of the CPU of the main unit installed in the printer body.
FIG. 3 is a flowchart showing a print program that receives print data from a host computer and processes the print data. Figure 14 shows the flowchart of a reception position control program for the operating device for cursor control of the reception position of the print head, and Figure 15 shows a reception position control program for the main unit for controlling the reception position of the printhead with a cursor. It's a chat. Figure 16 is a plan view of a sheet of paper printed in a predetermined format to explain how to set the print start position of unit data, and Figure 17 is a plan view of a sheet of paper printed in a predetermined format to explain how to set the print data to a host computer. It is an explanatory diagram showing an example. 300...Display panel, 351-354...Cursor key, 351...Increment key, 352
... Decrement key.
Claims (1)
リンタの印字ヘツドを水平方向に移動させる信号
とを出力して、前記印字ヘツドを前記プリンタに
セツトされた用紙の印字すべき所定の位置まで移
動し、その印字ヘツドの位置に関する情報を記憶
する操作を繰り返して、前記用紙の全ての印字箇
所について前記印字ヘツドの位置に関する情報を
記憶して印字フオーマツト制御データを作成する
処理を行うことにより、 前記印字フオーマツト制御データを印字フオー
マツトの異なる用紙毎に複数記憶し、 前記プリンタの印字駆動時には、記憶されてい
る複数の印字フオーマツト制御データの中から、
前記プリンタにセツトされた用紙に対応した印字
フオーマツト制御データを選択的に指定し、 ホストから前記プリンタにセツトされた用紙の
前記各印字箇所に印字すべき単位データの集合か
ら成る印字データを受信し、各単位データの印字
開始時に選択的に指定された前記印字フオーマツ
ト制御データに基づいて前記印字ヘツド及び前記
用紙の送りを制御して、前記印字ヘツドを用紙に
対して所定の位置まで順次移動させて、その箇所
に対応した前記単位データを印字することを特徴
とするシリアルプリンタの印字フオーマツト制御
方法。 2 各種のマニユアル操作を入力するための操作
盤と、 プリンタの用紙を送る信号と印字ヘツドを水平
方向に移動させる信号とを出力して、前記印字ヘ
ツドを前記用紙に対して移動制御するヘツド位置
制御部と、 前記印字ヘツドにより前記用紙上に印字するた
めの信号を出力する印字制御部と、 前記操作盤のキー操作に基づいた前記ヘツド位
置制御部の制御により移動した前記印字ヘツドの
位置に対応する情報の群を印字フオーマツト制御
データとして、印字フオーマツトの異なる用紙毎
に記憶する印字フオーマツト制御データ記憶部
と、 印刷時に前記プリンタにセツトされた用紙に対
応した印字フオーマツト制御データを印字フオー
マツト制御データ記憶部に記憶された複数の印字
フオーマツト制御データより選択する印字フオー
マツト制御データ指定部と、 ホストから前記プリンタにセツトされた用紙に
対応し、前記各印字箇所に印字すべき単位データ
の集合から成る印字データを入力して、前記単位
データの印字開始時に前記印字フオーマツト制御
データ指定部により選択された制御データの各位
置の情報を順次前記ヘツド位置制御部へ出力し該
ヘツド位置制御部を駆動して前記印字ヘツドを設
定された印字箇所へ順次移動させ、前記単位デー
タを前記印字制御部へ出力して該印字制御部を駆
動して前記単位データを順次印字させる入力制御
部と、 から成る印字フオーマツト制御装置。[Scope of Claims] 1. A signal for feeding the paper and a signal for moving the print head of the printer in the horizontal direction according to the user's operation, so that the print head can print on the paper set in the printer. The printer moves to a predetermined position to be printed, repeats the operation of storing information regarding the position of the print head, stores information regarding the position of the print head for all printing locations on the paper, and creates print format control data. By performing the processing, a plurality of pieces of the print format control data are stored for each paper with a different print format, and when the printer is driven to print, the print format control data is selected from among the plurality of stored print format control data.
selectively specifying print format control data corresponding to the paper set in the printer, and receiving print data consisting of a set of unit data to be printed at each print location on the paper set in the printer from the host; , controlling the feed of the print head and the paper based on the print format control data selectively specified at the time of starting printing of each unit data, and sequentially moving the print head to a predetermined position with respect to the paper. A printing format control method for a serial printer, characterized in that the unit data corresponding to the location is printed. 2. An operation panel for inputting various manual operations, and a head position for controlling the movement of the print head relative to the paper by outputting a signal to send the printer's paper and a signal to move the print head in the horizontal direction. a control unit; a print control unit that outputs a signal for printing on the paper by the print head; and a position of the print head moved under control of the head position control unit based on key operations on the operation panel. a print format control data storage unit that stores a group of corresponding information as print format control data for each paper with a different print format; and print format control data that stores print format control data corresponding to the paper set in the printer at the time of printing. a print format control data specifying section for selecting from a plurality of print format control data stored in a storage section; and a set of unit data to be printed at each of the printing locations corresponding to the paper set in the printer from the host. inputting print data, and sequentially outputting information on each position of the control data selected by the print format control data specifying section to the head position control section at the time of starting printing of the unit data to drive the head position control section; an input control section that sequentially moves the print head to a set printing location, outputs the unit data to the print control section, and drives the print control section to sequentially print the unit data. Format control device.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60154855A JPS6216172A (en) | 1985-07-13 | 1985-07-13 | Method and apparatus for controlling printing format in serial printer |
| US07/185,314 US4861175A (en) | 1985-07-13 | 1988-04-20 | Serial printer control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60154855A JPS6216172A (en) | 1985-07-13 | 1985-07-13 | Method and apparatus for controlling printing format in serial printer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6216172A JPS6216172A (en) | 1987-01-24 |
| JPH0425872B2 true JPH0425872B2 (en) | 1992-05-01 |
Family
ID=15593378
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60154855A Granted JPS6216172A (en) | 1985-07-13 | 1985-07-13 | Method and apparatus for controlling printing format in serial printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6216172A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04235075A (en) * | 1991-01-08 | 1992-08-24 | Shimadzu Corp | printer |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5738178A (en) * | 1980-08-19 | 1982-03-02 | Canon Inc | Printer |
| JPS5938082A (en) * | 1982-08-26 | 1984-03-01 | Tokyo Juki Ind Co Ltd | Carriage controller for printer |
| JPS60190376A (en) * | 1984-03-13 | 1985-09-27 | Tokyo Electric Co Ltd | Electronic equipment with printing device |
| JPS6118033A (en) * | 1984-07-04 | 1986-01-25 | Ricoh Co Ltd | print processing device |
-
1985
- 1985-07-13 JP JP60154855A patent/JPS6216172A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6216172A (en) | 1987-01-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH07125374A (en) | Layout display device | |
| US4858171A (en) | Word processor with selective placement of printhead for printing of newly input print data after interruption of printing | |
| US4861175A (en) | Serial printer control system | |
| JPH0411901B2 (en) | ||
| JPH02289046A (en) | document creation device | |
| JPH05309920A (en) | Printer operating environment setting device | |
| JPH0425872B2 (en) | ||
| JPH0586353B2 (en) | ||
| JPS6241073A (en) | Receiving position setting device for serial printer | |
| JPH0586354B2 (en) | ||
| JPH0586352B2 (en) | ||
| JPS6167125A (en) | word processor | |
| JPH06143690A (en) | Tape printing apparatus | |
| JPH0546935Y2 (en) | ||
| JPH063574B2 (en) | Data setting device | |
| JP2882793B2 (en) | Document editing device | |
| JPH0226777A (en) | recording device | |
| JPS6256175A (en) | serial printer | |
| JPS61279924A (en) | Word processor | |
| JP2721969B2 (en) | Printer device | |
| JPS62131322A (en) | word processor | |
| JPH05307626A (en) | Bar code printer | |
| JPS6297877A (en) | Serial printer operation control data setting device | |
| JPS63131259A (en) | data processing equipment | |
| JPH09128378A (en) | Document display controller |