JPH06266515A - Data register and print system for information processor - Google Patents

Data register and print system for information processor

Info

Publication number
JPH06266515A
JPH06266515A JP5056617A JP5661793A JPH06266515A JP H06266515 A JPH06266515 A JP H06266515A JP 5056617 A JP5056617 A JP 5056617A JP 5661793 A JP5661793 A JP 5661793A JP H06266515 A JPH06266515 A JP H06266515A
Authority
JP
Japan
Prior art keywords
data
registration
print
printing
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5056617A
Other languages
Japanese (ja)
Other versions
JP2905660B2 (en
Inventor
Masanobu Watanabe
正信 渡辺
Junji Tanaka
田中  淳司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP5056617A priority Critical patent/JP2905660B2/en
Publication of JPH06266515A publication Critical patent/JPH06266515A/en
Application granted granted Critical
Publication of JP2905660B2 publication Critical patent/JP2905660B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To print and register data with one operation in a word processor by printing data by a printer simultaneously with registration of data in a floppy disk. CONSTITUTION:A transmission circuit 6 and a transmission port 7 transmit data from a main body to a printer/floppy disk drive(FDD) and are started by a print/register data transmission logic 9. A print/register data generating logic 8 generates data to be printed/registered from a document memory. The print/register data transmission logic 9 transmits data generated by the print/ register data generating logic 8 to a printer/FDD. Data is registered, and registered data is simultaneously transmitted to the printer and the floppy disk, and data is printed as document data by the printer simultaneously with registration of data in the floppy disk.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、コードレスプリンタ/
ファクシミリ等のコードレス出力装置全般と、コードレ
スフロッピーディスク/ハードディスク等のコードレス
記憶装置全般を採用している情報機器に関し、特に、デ
ータを編集し、その後、保管のために登録したり、清
書、確認のために印刷したりする情報機器に関する。
BACKGROUND OF THE INVENTION The present invention relates to a cordless printer /
Regarding information equipment that employs general cordless output devices such as facsimiles and general cordless storage devices such as cordless floppy disks / hard disks, especially for editing data, then registering for storage, clear copy, confirmation For information devices to print for.

【0002】[0002]

【従来の技術】従来、この種の情報処理装置において、
文書の登録処理と印刷処理は、別個の手順として扱って
おり、外部記憶装置への登録を終えた後、印刷の操作を
行ったり、印刷を終えた後、登録の操作を行っていた。
2. Description of the Related Art Conventionally, in this type of information processing apparatus,
The document registration processing and the printing processing are handled as separate procedures, and the printing operation is performed after the registration in the external storage device is completed, or the registration operation is performed after the printing is completed.

【0003】入力や編集の終わった文書を、外部記憶装
置への登録と印刷装置への印刷の両方を行おうとする
と、従来は最初に登録キーを入力し、登録名の入力画面
にする。その画面上で登録名を入力し、実行キーを入力
すると、外部記憶装置への登録処理を行う。
When it is attempted to both register an input or edited document in an external storage device and print it in a printing device, conventionally, a registration key is first input to display a registration name input screen. When the registered name is entered on the screen and the enter key is entered, registration processing to the external storage device is performed.

【0004】登録処理が終了後、印刷キーを入力して、
印刷設定の入力画面にする。その画面上で印刷設定を入
力し、実行キーを入力すると、印刷装置への印刷処理を
行う。
After completing the registration process, press the print key to
Display the print setting input screen. When the print setting is input on the screen and the enter key is input, the print processing to the printing device is performed.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
情報処理装置においては、入力や編集の終えた文書の容
量が多くなると、外部記憶装置の一つであるフロッピー
ディスク装置への登録や、プリンタ装置への印刷は時間
がかかった。
However, in the conventional information processing apparatus, when the volume of a document that has been input or edited is large, the information is registered in the floppy disk device, which is one of external storage devices, or the printer device. Printing to took time.

【0006】従来技術では、登録と印刷は別個の操作の
ため、登録の操作を行った後、印刷の操作を行ってお
り、フロッピーディスク装置へ登録する時間を待たなけ
れば、印刷の操作が出来なかった。
In the prior art, since the registration and the printing are separate operations, the printing operation is performed after the registration operation, and the printing operation can be performed without waiting for the time to register in the floppy disk device. There wasn't.

【0007】逆に印刷を先に行うと、プリンタの印刷速
度は、外部記憶装置の登録速度より遅いので、さらに長
い時間待たなければ登録出来なかった。
On the contrary, if the printing is performed first, the printing speed of the printer is slower than the registration speed of the external storage device, so that the registration cannot be done without waiting a longer time.

【0008】また、印刷を行った場合、人間のうっかり
ミスで登録を忘れることもあった。ワープロの普及とと
もに、作成済み文書を流用し、登録と印刷を同時に行う
ことが多くなり、前述の不便さが目立って来た。
Further, when printing is performed, the registration may be forgotten due to a human mistake. With the spread of word processors, the created documents are often diverted, and registration and printing are often performed at the same time, and the above-mentioned inconvenience has become noticeable.

【0009】特に従来、ワープロのコードレスプリンタ
/コードレスフロッピーディスクにおいて印刷するデー
タと登録するデータが同じであるにも拘わらず、印刷
(プリンタに制御コマンド+印刷データを送信する操
作)操作と登録(フロッピーディスクに制御コマンド+
登録データを送信する操作)操作がユーザーに対して別
々に与えられていたため、一度の操作で印刷/登録の両
方を行うことはできなかった。
Particularly, in the past, even though the data to be printed and the data to be registered are the same in a cordless printer / cordless floppy disk of a word processor, printing (control command + print data transmitting operation to the printer) operation and registration (floppy) are performed. Control command to disk +
Since the operation of transmitting the registration data) was separately given to the user, it was not possible to perform both printing and registration with one operation.

【0010】同時送信においては、一回の操作で印刷/
登録が同時に行われるので印刷のみ/登録のみを行うこ
とができなかった。
In simultaneous transmission, printing / printing is possible with a single operation.
Since registration was done at the same time, it was not possible to print / register only.

【0011】上記技術において、従来技術では印刷ロジ
ックと登録ロジックがそれぞれ起動するため、印刷デー
タと登録データが同じであるにも拘わらず、(登録用制
御コマンド+登録データ)用バッファと(印刷用制御コ
マンド+印刷データ)用バッファを別々に確保してお
り、非効率的なRAMの使い方となっていた。
In the above technique, since the print logic and the registration logic are activated respectively in the conventional technique, the (registration control command + registration data) buffer and the (printing data) are registered despite the fact that the print data and the registration data are the same. A separate buffer for control commands + print data was secured, resulting in inefficient use of RAM.

【0012】従来技術では送信口が1つの場合、印刷デ
ータ送信後登録データを送信するか、その逆、すなわち
シリアルに処理を行わなければならなかったため、印刷
/登録に時間がかかっていた(プリンタとフロッピーデ
ィスクが同時動作することはなかった)。また送信口が
2つの場合でも、データの混線によって同時に送信する
ことは困難であった(しきり等を設ける必要があっ
た)。
In the prior art, when there is only one transmission port, it is necessary to transmit the registration data after transmitting the print data, or vice versa, that is, serial processing is performed, so that it takes time to print / register (printer. And the floppy disk did not work at the same time). Further, even if there are two transmission ports, it is difficult to simultaneously transmit data due to the cross-linking of data (it is necessary to provide a threshold or the like).

【0013】この発明はこのような事情を考慮してなさ
れたもので、登録と印刷の入力操作を、同時に行うこと
により、上述の問題点を解決するものである。
The present invention has been made in view of such circumstances, and solves the above-mentioned problems by simultaneously performing registration and print input operations.

【0014】[0014]

【課題を解決するための手段】請求項1記載の発明によ
れば、データを登録し、前記登録されたデータを印刷機
及びフロッピーディスクに同時に送信し、前記フロッピ
ーディスクにデータを登録し、同時に、前記印刷機にて
文書データを印刷することを特徴とする情報処理装置の
データ登録及び印刷方式である。
According to the invention of claim 1, data is registered, the registered data is simultaneously transmitted to a printing machine and a floppy disk, and the data is registered to the floppy disk at the same time. A data registration and printing method of an information processing apparatus, wherein document data is printed by the printing machine.

【0015】請求項2記載の発明によれば、データを登
録し、前記登録されたデータ印刷機及びフロッピーディ
スクに同時に送信し、前記フロッピーディスクにデータ
を登録するか、前記印刷機にて文書データを印刷するこ
とのいずれかが選択されることを特徴とする情報処理装
置のデータ登録及び印刷方式である。
According to the second aspect of the present invention, data is registered and transmitted to the registered data printing machine and the floppy disk at the same time, and the data is registered on the floppy disk, or the document data is printed by the printing machine. Is a data registration and printing method of the information processing apparatus, characterized in that any one of printing is selected.

【0016】請求項3の記載の発明によれば、データを
登録し、前記登録されたデータを印刷機及びフロッピー
ディスクに同時に送信し、共通の登録及び印刷用制御バ
ッファを用いて、前記フロッピーディスクに文書データ
を登録し、同時に、前記印刷機にてデータを印刷するこ
とを特徴とする情報処理装置のデータ登録及び印刷方式
である。
According to the third aspect of the present invention, data is registered, the registered data is simultaneously transmitted to the printing machine and the floppy disk, and the floppy disk is controlled by using a common control buffer for registration and printing. Document data is registered at the same time, and at the same time, the data is printed by the printing machine.

【0017】請求項4記載の発明によれば、データを登
録し、共通の送信手段から、前記登録されたデータ印刷
機及びフロッピーディスクに同時に送信し、前記フロッ
ピーディスクに文書データを登録し、同時に、前記印刷
機にてデータを印刷することを特徴とする情報処理装置
のデータ登録及び印刷方式である。
According to the fourth aspect of the present invention, data is registered and simultaneously transmitted from the common transmission means to the registered data printing machine and floppy disk, and the document data is registered to the floppy disk. A data registration and printing method of an information processing device, wherein data is printed by the printing machine.

【0018】[0018]

【作用】請求項1の発明によれば、コードレスプリンタ
/コードレスフロッピーディスクを装備した例えばワー
プロにおいて印刷と登録を1回の操作で行うことができ
る。
According to the first aspect of the invention, printing and registration can be performed by a single operation in, for example, a word processor equipped with a cordless printer / cordless floppy disk.

【0019】請求項2の発明によれば、上記同時送信方
式の例えばワープロにおいて、印刷だけ、或いは登録だ
けを行うことができる。
According to the second aspect of the invention, in the simultaneous transmission system, for example, a word processor, only printing or registration can be performed.

【0020】請求項3の発明によれば、上記技術におい
て、(登録用制御コマンド+登録データ)用バッファと
(印刷用制御コマンド+印刷データ)用バッファを共用
することによってRAMの効率的な利用→コストダウン
が可能となる。
According to the third aspect of the present invention, in the above technique, the (registration control command + registration data) buffer and the (printing control command + print data) buffer are shared, so that the RAM is efficiently used. → Cost reduction is possible.

【0021】請求項4の発明によれば、1つの送信口
で、2つの送信口から同時送信した場合と同等の送信ス
ピードを確保し、かつ混線の心配がない。
[0021] According to the invention of claim 4, one transmission port can secure a transmission speed equivalent to the case of simultaneous transmission from two transmission ports, and there is no fear of crosstalk.

【0022】[0022]

【実施例】以下、図面に示す実施例に基づいてこの発明
を詳述する。なお、この発明はこれによって限定される
ものではない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the embodiments shown in the drawings. The present invention is not limited to this.

【0023】図1は本発明の構成図を表している。FIG. 1 shows a block diagram of the present invention.

【0024】表示装置1は入力された文章を表示する。
CPU12は主体の動作を制御する。文章メモリ2は入
力された文章を保持しているバッファである。キーボー
ド3はユーザーが文章を入力したり、印刷/登録の指定
を行ったりする。プリンタ4は本体から制御コマンドと
文字列を送信することによって文字列を印刷する。FD
D(フロッピーディスクドライブ)5は本体から制御コ
マンドと文字列を送信することによって文字列を登録す
る。
The display device 1 displays the input sentence.
The CPU 12 controls the operation of the subject. The text memory 2 is a buffer holding the input text. The keyboard 3 is used by the user to input a text and to specify printing / registration. The printer 4 prints a character string by transmitting a control command and a character string from the main body. FD
The D (floppy disk drive) 5 registers a character string by transmitting a control command and a character string from the main body.

【0025】送信回路6と送信口7は本体からプリンタ
/FDDに対してデータを送信する。送信回路6と送信
口7は印刷/登録データ送信ロジック9によって起動さ
れる。印刷/登録データ生成ロジック8は印刷/登録す
るデータを文書メモリより生成するロジックである。印
刷/登録データ送信ロジック9は印刷/登録データ生成
ロジック8によって生成されたデータをプリンタ/FD
Dに対して送信するロジックである。送信バッファ10
は送信データを生成/送信するためのバッファである。
印刷/登録制御フラグ(ITFLG)11は印刷/登録
のユーザー指定を表す(1:印刷/登録 2:印刷
3:登録)。
The transmission circuit 6 and the transmission port 7 transmit data from the main body to the printer / FDD. The transmission circuit 6 and the transmission port 7 are activated by the print / registration data transmission logic 9. The print / registration data generation logic 8 is a logic for generating data to be printed / registered from the document memory. The print / registration data transmission logic 9 transfers the data generated by the print / registration data generation logic 8 to the printer / FD.
This is the logic to send to D. Send buffer 10
Is a buffer for generating / transmitting transmission data.
A print / registration control flag (ITFLG) 11 represents user designation of print / registration (1: print / registration 2: print
3: Registration).

【0026】図2は例えばワープロ(ホスト)12から
プリンタ4/FDD5へのデータの送信の様子を表して
いる。
FIG. 2 shows how data is transmitted from the word processor (host) 12 to the printer 4 / FDD 5, for example.

【0027】ワープロ16の送信口13から、プリンタ
4の受信口14、FDD5の受信口15にデータが送信
される。
Data is transmitted from the transmission port 13 of the word processor 16 to the reception port 14 of the printer 4 and the reception port 15 of the FDD 5.

【0028】図3はユーザーのキーボードからの指定に
従った概略フローである。
FIG. 3 is a schematic flow according to the designation from the keyboard of the user.

【0029】ユーザーが印刷/登録の両方を選択するキ
ー操作を行った場合、ITFLGに1、印刷のみなら
2、登録のみなら3をセットした後印刷/登録データ生
成ロジック8を起動し、その後印刷/登録データ送信ロ
ジック9を起動することによって送信する。印刷/登録
データ生成ロジック8、及び、印刷/登録データ送信ロ
ジック9については後に詳述する。
When the user performs a key operation to select both print / registration, ITFLG is set to 1, print only 2 is set, and only registration is set to 3 and then the print / registration data generation logic 8 is activated, and then printing is performed. / Send by activating the registration data transmission logic 9. The print / registration data generation logic 8 and the print / registration data transmission logic 9 will be described in detail later.

【0030】図4は印刷/登録データ生成ロジック8を
説明するためのフローチャートである。まず、変数/ポ
インタ等について説明する。
FIG. 4 is a flow chart for explaining the print / registration data generation logic 8. First, variables / pointers will be described.

【0031】文書メモリには文字列が2バイトコードで
格納されておりポインタBSTARTは文章の先頭、ポ
インタBENDは文章の末尾を示す。またBPNTは文
章メモリ上を動くポインタである(図6参照)。ポイン
タSSTARTは送信バッファの先頭を示し、SPNT
は送信バッファ上を動くポインタである。また、印刷コ
マンドは印刷を指定するコマンド、登録コマンドは登録
を指定するコマンドで、2バイト長である。文字列開始
コード/文字列終了コードはそれぞれ文字列の開始と終
了を表すコマンドであり、2バイト長である(図7参
照)。
A character string is stored as a 2-byte code in the document memory, the pointer BSTART indicates the beginning of a sentence, and the pointer BEND indicates the end of the sentence. BPNT is a pointer that moves on the text memory (see FIG. 6). The pointer SSTART indicates the beginning of the transmission buffer, and SPNT
Is a pointer that moves in the send buffer. The print command is a command for specifying printing, and the registration command is a command for specifying registration and has a length of 2 bytes. The character string start code / character string end code is a command indicating the start and end of the character string, and has a length of 2 bytes (see FIG. 7).

【0032】図4のフローチャートに従って説明する。
まず、ステップS10にて、BPNT/SPNTを初期
化する。次にITFLG(印刷/登録制御フラグ)を検
出し(ステップS11)これが1(印刷/登録)の場合
は、ステップS12,S15を選択し送信バッファに印
刷/登録コマンドをセット(図5−)し、2(印刷)
の場合は送信バッファに印刷コマンドをセット(ステッ
プS13、図5−)する。また3(登録)の場合は送
信バッファに登録コマンドをセットステップS14、図
5−)する。その後、文字列開始コマンドをセット
(S16)し、文章メモリ上の先頭から末尾までのデー
タを送信バッファにセットして(ステップS17〜S1
9)、文字列終了コマンドをセットする(ステップS2
0)。ここでは送信バッファが印刷用と登録用を兼ねて
おり、結果的にはRAMエリアの有効利用を実現してい
る。
A description will be given according to the flowchart of FIG.
First, in step S10, BPNT / SPNT is initialized. Next, ITFLG (print / registration control flag) is detected (step S11). If this is 1 (print / registration), steps S12 and S15 are selected and the print / registration command is set in the transmission buffer (FIG. 5). 2 (print)
In this case, the print command is set in the transmission buffer (step S13, FIG. 5). In the case of 3 (registration), a registration command is set in the transmission buffer (step S14, FIG. 5). After that, the character string start command is set (S16), and the data from the beginning to the end on the sentence memory is set in the transmission buffer (steps S17 to S1).
9), set character string end command (step S2)
0). Here, the transmission buffer serves both for printing and for registration, and as a result, effective use of the RAM area is realized.

【0033】次に図3における印刷/登録データ送信ロ
ジックについて説明する。
Next, the print / registration data transmission logic in FIG. 3 will be described.

【0034】図8は送信時の本体側の処理を示したフロ
ーチャートである。ここでは、印刷/登録同時送信の処
理について説明する(図7参照)。
FIG. 8 is a flow chart showing the processing on the main body side during transmission. Here, the print / registration simultaneous transmission process will be described (see FIG. 7).

【0035】概要としては送信バッファの内容をNバイ
トずつに分割して送信パケットバッファ(サイズNバイ
ト)(図11−)にセットし、印刷→登録→印刷→登
録・・・の順に送出する。
As an outline, the contents of the transmission buffer are divided into N bytes each, set in a transmission packet buffer (size N bytes) (FIG. 11-), and sent in the order of print → registration → print → registration.

【0036】次に、図8のフローチャートに従って詳述
説明を行う。
Next, a detailed description will be given according to the flowchart of FIG.

【0037】S81:送信バッファ(図7)のポインタ
(SPNT)を文字列の最初に設定する。
S81: The pointer (SPNT) of the transmission buffer (FIG. 7) is set to the beginning of the character string.

【0038】S82:送信パケットバッファポインタに
送信パケットバッファの先頭をセットしBSUM(送信
バッファから送信パケットバッファへの転送制御用カウ
ンタ)を0に処理化する。
S82: The head of the transmission packet buffer is set in the transmission packet buffer pointer, and BSUM (counter for transfer control from transmission buffer to transmission packet buffer) is processed to 0.

【0039】S83:送信パケットバッファの先頭に印
刷コマンド(2バイト)をセットする送信パケットバッ
ファポインタを2UPする。BSUMを2UPする。
S83: The transmission packet buffer pointer for setting the print command (2 bytes) is set to 2UP at the head of the transmission packet buffer. 2 up BSUM.

【0040】S84/85/86:BSUM=N−2、
すなわち送信パケットバッファの空きが2バイトとなる
まで、あるいは転送データ(送信バッファ上)が文字列
終了コマンドとなるまで、送信バッファの内容を送信パ
ケットバッファに転送する。 S87:文字列終了コマンドの場合、そのまま文字列終
了コマンドを送信パケットバッファに転送(図11−
)。
S84 / 85/86: BSUM = N-2,
That is, the contents of the transmission packet buffer are transferred to the transmission packet buffer until the space of the transmission packet buffer becomes 2 bytes or the transfer data (on the transmission buffer) becomes the character string end command. S87: In the case of the character string end command, the character string end command is directly transferred to the transmission packet buffer (see FIG. 11-
).

【0041】S88:空き2バイトの場合、空きにパケ
ットENDコマンドをセット(図11−)。
S88: If there are 2 bytes in the space, set the packet END command in the space (FIG. 11-).

【0042】S89:送信パケットバッファの内容(N
バイト)(印刷パケットデータ)を送出する。ここでは
具体的な送出処理の内容については言及しない。
S89: Contents of transmission packet buffer (N
Byte) (print packet data). Here, the specific contents of the sending process will not be mentioned.

【0043】S8A:送信パケットバッファの印刷パケ
ットデータを登録パケットデータに変換する。具体的に
は、送信パケットバッファの先頭の印刷コマンドを登録
コマンドに置き換える。
S8A: The print packet data in the transmission packet buffer is converted into registration packet data. Specifically, the print command at the head of the transmission packet buffer is replaced with the registration command.

【0044】S8B:送信パケットバッファの内容(N
バイト)(登録パケットデータ)を送出する。ここでは
具体的な送出処理の内容については言及しない。
S8B: Contents of transmission packet buffer (N
Byte) (registered packet data). Here, the specific contents of the sending process will not be mentioned.

【0045】S8C:送信バッファ上ポインタ(SPN
T)の指す内容が文字列終了コマンド、すなわち全デー
タに対する印刷/登録パケット送信が終了した場合、送
信処理は終了。送信バッファ上ポインタ(SPNT)の
指す内容が文字列終了コマンドでない場合、すなわちま
だ未送信データが残っている場合、S82に戻り、残り
のデータの送信を続行する。
S8C: Pointer on transmission buffer (SPN
When the content indicated by T) is a character string end command, that is, when the print / registration packet transmission for all data ends, the transmission processing ends. If the content pointed to by the pointer on the transmission buffer (SPNT) is not a character string end command, that is, if there is still untransmitted data, the process returns to S82 and transmission of the remaining data is continued.

【0046】次にプリンタ側の受信処理について説明す
る。
Next, the receiving process on the printer side will be described.

【0047】本体側からのデータ送出は2バイトで行わ
れ、これがプリンタ4の受信口14に達すると、受信割
り込みが発生し、プリンタ側では2バイトのデータを抜
き取ることができるものとする。この処理の内容は本発
明とは直接関係しないので、ここでは詳細な説明はしな
い。図10は抜き取ったデータをJDATA(受信デー
タを保持するための2バイトのワークエリア)にセット
(ステップ81)し、データを受信したことを示すFL
AG(JINTF)をFFにセット(ステップ82)し
ている。
Data transmission from the main body side is performed in 2 bytes, and when this reaches the reception port 14 of the printer 4, a reception interrupt occurs and the printer side can extract 2 bytes of data. Since the contents of this processing are not directly related to the present invention, a detailed description will not be given here. FIG. 10 shows an FL indicating that the extracted data is set in JDATA (a 2-byte work area for holding the received data) (step 81) and the data is received.
AG (JINTF) is set to FF (step 82).

【0048】図9はプリンタ側のメイン処理を示してい
る。図12はプリンタ側のパケット受信用バッファ(プ
リンタバッファ)である。図9のフローチャートの詳細
は次の通りである。
FIG. 9 shows the main processing on the printer side. FIG. 12 shows a packet receiving buffer (printer buffer) on the printer side. The details of the flowchart in FIG. 9 are as follows.

【0049】P1:受信割り込みフラグ(JINTF)
を00に初期化 P2:印刷パケットデータ受信中フラグ(JUSINT
YU)を00に初期化プリンタバッファポインタを初期
化(プリンタバッファの先頭を指す) P3/4/5/6/7:受信がなかったら、受信を待ち
続ける。受信があった(JINTF=FF)ら、JIN
TFを00に落とす。この時点で初めての受信であれば
受信データが印刷コマンドか否かをジャッジする。印刷
コマンドでなければ(登録コマンドと予測される)、受
信待ちに戻る。印刷コマンドを受信するまで待ち続け、
印刷コマンドを受信したらステータスを印刷パケットデ
ータ受信中とする。(JUSINTYU=FF) P8/9/10/11/12/13:ここで受信データ
がパケットENDコマンドあるいは文字列終了コマンド
でないかぎり、受信データをプリンタバッファに貯めて
いき、パケットENDコマンドあるいは文字列終了コマ
ンドを受信したらその手前までのデータを出力する。プ
リンタへのデータ出力処理の詳細な内容については、本
発明とは直接関係が無いのでここでは省略する。
P1: reception interrupt flag (JINTF)
Is initialized to 00 P2: Print packet data receiving flag (JUSINT
YU) is initialized to 00. Initialize printer buffer pointer (points to the beginning of the printer buffer) P3 / 4/5/6/7: If there is no reception, keep waiting for reception. Received (JINTF = FF), JIN
Drop TF to 00. If it is the first reception at this point, it is judged whether the received data is a print command. If the command is not a print command (predicted as a registration command), the process returns to waiting for reception. Keep waiting until you receive a print command,
When the print command is received, the status is set to receive print packet data. (JUSINTYU = FF) P8 / 9/10/11/12/13: Unless the received data is a packet END command or a character string end command here, the received data is stored in the printer buffer and the packet END command or character string end is stored. When the command is received, the data up to that point is output. Detailed contents of the data output process to the printer are omitted here since they are not directly related to the present invention.

【0050】プリンタにエラー(用紙切れ/紙詰まり
等)が発生した場合は、ERROR(エラーが発生した
かどうかを示すフラグ)をONとし、その後の受信デー
タに関しては出力処理をスキップする。すなわち、エラ
ー処理に関しては出力処理のフェーズで吸収することが
でき、全体の処理の流れに影響を及ぼすことはないの
で、ここでは詳述しない。
When an error (paper out / paper jam, etc.) occurs in the printer, ERROR (a flag indicating whether or not an error has occurred) is turned on, and the output processing for the subsequent received data is skipped. In other words, the error processing can be absorbed in the output processing phase and does not affect the overall processing flow, and therefore will not be described in detail here.

【0051】FD側の処理についてはプリンタ側の処理
と同様なので説明は省略する。
Since the processing on the FD side is the same as the processing on the printer side, its explanation is omitted.

【0052】結果的には、全体の処理は図13のように
並行に動いており(本体が印刷データを送信しプリンタ
がそのデータを受信している間はFDが受信データの出
力を行っており、本体が登録データを送信しFDがその
データを受信している間はプリンタが受信データの出力
を行っている)、同時送信した場合と同等のスピードが
確保できる。また、印刷データと登録データが同時に送
信されることがないので混線の心配がない。
As a result, the entire processing is performed in parallel as shown in FIG. 13 (the FD outputs the received data while the main body transmits the print data and the printer receives the data). Therefore, while the main body transmits the registration data and the FD receives the data, the printer outputs the reception data), and the same speed as in the case of simultaneous transmission can be secured. Further, since the print data and the registration data are not transmitted at the same time, there is no concern about crosstalk.

【0053】[0053]

【発明の効果】この発明によれば、従来ワープロのコー
ドレスプリンタ/コードレスフロッピーディスクにおい
ては印刷(プリンタに制御コマンド+印刷データを送信
する操作)を行ってから登録(フロッピーディスクに制
御コマンド+登録データを送信する操作)、或いは登録
を行ってから印刷、という2回の作業を行わなければな
らなかったが、1操作にてプリンタとフロッピーディス
クに対して(制御コマンド+データ)を送出することに
よって、1回の送信操作で印刷/登録ができるようにす
る。
According to the present invention, the cordless printer / cordless floppy disk of the conventional word processor is printed (control command + print data transmission operation to the printer) and then registered (control command + registered data on floppy disk). It was necessary to perform two operations, ie, the operation of sending the data) or the printing after registration. However, by sending (control command + data) to the printer and the floppy disk in one operation, Enable printing / registration with one transmission operation.

【0054】上記技術において、ユーザーの指定によっ
て、登録のみ/印刷のみも行えるようにする。
In the above technique, only registration / printing can be performed by user's designation.

【0055】上記技術において、(登録用制御コマンド
+登録データ)用バッファと(印刷用制御コマンド+印
刷データ)用バッファを共用することによってRAMの
効率的な利用→コストダウンが可能となる。
In the above technique, by sharing the (registration control command + registration data) buffer and the (printing control command + print data) buffer, it is possible to efficiently use the RAM and reduce the cost.

【0056】印刷用データと登録用データをパケット分
割して交互に送信し、混線を防ぐと共に、同時送信の場
合と同等の処理スピードを確保する。
The print data and the registration data are divided into packets and alternately transmitted to prevent crosstalk and to secure the processing speed equivalent to that in the case of simultaneous transmission.

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

【図1】本発明の一実施例の情報処理装置の構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a configuration of an information processing apparatus according to an embodiment of the present invention.

【図2】本発明の一実施例の情報処理装置の文書データ
の送信状態を示す図である。
FIG. 2 is a diagram showing a transmission state of document data of the information processing apparatus according to the embodiment of the present invention.

【図3】本発明の一実施例の情報処理装置の動作を示す
フローチャートである。
FIG. 3 is a flowchart showing an operation of the information processing apparatus according to the exemplary embodiment of the present invention.

【図4】本発明の一実施例の情報処理装置の動作を示す
フローチャートである。
FIG. 4 is a flowchart showing an operation of the information processing apparatus according to the exemplary embodiment of the present invention.

【図5】本発明の一実施例の情報処理装置に使用される
送信バッファの状態を示す図面である。
FIG. 5 is a diagram showing a state of a transmission buffer used in the information processing apparatus according to the embodiment of the present invention.

【図6】本発明の一実施例の情報処理装置に使用される
文書メモリを示す図面である。
FIG. 6 is a diagram showing a document memory used in the information processing apparatus according to the embodiment of the present invention.

【図7】本発明の一実施例の情報処理装置に使用される
送信バッフアのポインタを示す図面である。
FIG. 7 is a diagram showing a pointer of a transmission buffer used in the information processing apparatus according to the embodiment of the present invention.

【図8】本発明の一実施例の情報処理装置の動作を示す
フローチャートである。
FIG. 8 is a flowchart showing an operation of the information processing apparatus according to the exemplary embodiment of the present invention.

【図9】本発明の一実施例の情報処理装置の動作を示す
フローチャートである。
FIG. 9 is a flowchart showing an operation of the information processing apparatus according to the exemplary embodiment of the present invention.

【図10】本発明の一実施例の情報処理装置の動作を示
すフローチャートである。
FIG. 10 is a flowchart showing an operation of the information processing apparatus according to the exemplary embodiment of the present invention.

【図11】本発明の一実施例の情報処理装置に使用され
る通信パケットバッファを示す図面である。
FIG. 11 is a diagram showing a communication packet buffer used in the information processing apparatus according to the embodiment of the present invention.

【図12】本発明の一実施例の情報処理装置に使用され
るプリントバッファを示す図面である。
FIG. 12 is a diagram showing a print buffer used in the information processing apparatus according to the embodiment of the present invention.

【図13】本発明の一実施例の情報処理装置の動作系列
を示す図面である。
FIG. 13 is a diagram showing an operation sequence of the information processing apparatus according to the embodiment of the present invention.

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

1 表示装置 2 文書メモリ 3 キーボード 4 プリンタ 5 FDD(フロッピーディスク) 6 送信回路 7 送信口 8 印刷/登録データ生成ロジック 9 印刷/登録データ送信ロジック 10 送信バッファ 11 印刷/登録制御フラグ 12 CPU 1 Display Device 2 Document Memory 3 Keyboard 4 Printer 5 FDD (Floppy Disk) 6 Transmission Circuit 7 Transmission Port 8 Printing / Registration Data Generation Logic 9 Printing / Registration Data Transmission Logic 10 Transmission Buffer 11 Printing / Registration Control Flag 12 CPU

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 データを登録し、 前記登録されたデータを印刷機及びフロッピーディスク
に同時に送信し、 前記フロッピーディスクにデータを登録し、 同時に、前記印刷機にてデータを印刷することを特徴と
する情報処理装置のデータ登録及び印刷方式。
1. A method for registering data, transmitting the registered data to a printing machine and a floppy disk at the same time, registering data to the floppy disk, and simultaneously printing the data on the printing machine. Data registration and printing method of information processing device.
【請求項2】 データを登録し、 前記登録されたデータを印刷機及びフロッピーディスク
に同時に送信し、 前記フロッピーディスクにデータを登録するか、前記印
刷機にてデータを印刷することのいずれかが選択される
ことを特徴とする情報処理装置のデータ登録及び印刷方
式。
2. Either registering data, transmitting the registered data to a printing machine and a floppy disk at the same time, registering the data on the floppy disk, or printing the data on the printing machine. A data registration and printing method of an information processing device characterized by being selected.
【請求項3】 データを登録し、 前記登録されたデータを印刷機及びフロッピーディスク
に同時に送信し、 共通の登録及び印刷用制御バッファを用いて、前記フロ
ッピーディスクにデータを登録し、 同時に、前記印刷機にてデータを印刷することを特徴と
する情報処理装置のデータ登録及び印刷方式。
3. Registering data, transmitting the registered data to a printing machine and a floppy disk at the same time, registering data to the floppy disk using a common registration and printing control buffer, and simultaneously A data registration and printing method of an information processing device, characterized in that data is printed by a printing machine.
【請求項4】 データを登録し、 共通の送信手段から、前記登録されたデータを印刷機及
びフロッピーディスクに同時に送信し、 前記フロッピーディスクにデータを登録し、 同時に、前記印刷機にてデータを印刷することを特徴と
する情報処理装置のデータ登録及び印刷方式。
4. Registering data, transmitting the registered data to a printing machine and a floppy disk at the same time from a common transmitting means, registering the data to the floppy disk, and simultaneously transmitting data to the printing machine. A data registration and printing method of an information processing device, which is characterized by printing.
JP5056617A 1993-03-17 1993-03-17 Data registration and printing method of information processing device Expired - Lifetime JP2905660B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5056617A JP2905660B2 (en) 1993-03-17 1993-03-17 Data registration and printing method of information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5056617A JP2905660B2 (en) 1993-03-17 1993-03-17 Data registration and printing method of information processing device

Publications (2)

Publication Number Publication Date
JPH06266515A true JPH06266515A (en) 1994-09-22
JP2905660B2 JP2905660B2 (en) 1999-06-14

Family

ID=13032234

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5056617A Expired - Lifetime JP2905660B2 (en) 1993-03-17 1993-03-17 Data registration and printing method of information processing device

Country Status (1)

Country Link
JP (1) JP2905660B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009238026A (en) * 2008-03-27 2009-10-15 Sato Knowledge & Intellectual Property Institute Input device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009238026A (en) * 2008-03-27 2009-10-15 Sato Knowledge & Intellectual Property Institute Input device

Also Published As

Publication number Publication date
JP2905660B2 (en) 1999-06-14

Similar Documents

Publication Publication Date Title
JP2905660B2 (en) Data registration and printing method of information processing device
JPH06286229A (en) Printer
JPH0239973A (en) Printing control system
JP3004440B2 (en) Printing method and apparatus
JP2000263881A (en) Confidential printing system
JP2833512B2 (en) Facsimile machine
KR0123720B1 (en) Data printing method
JPH01150568A (en) Printer device
JPH02281324A (en) System for simultaneously outputting several kinds of document by printer
JPH0412877A (en) Printer
JPH10136019A (en) Reception-side equipment for data transfer system, and storage medium storing operation program of the same
JPH01144781A (en) Image receiver
KR100193804B1 (en) How to Support Printer Emulation Using Computer
JPH10114127A (en) Printer
JP2859035B2 (en) Printing equipment
JP3527717B2 (en) Tandem printing system
JPH05204563A (en) Printer device
JPH0496565A (en) High performance facsimile equipment
JPH06259348A (en) Information processor provided with cordless communication function
JPH06187104A (en) Printer
JP2006056170A (en) Image forming device
JPS63127649A (en) Electronic typewriter
JPH03139754A (en) Interface circuit
JPS63299964A (en) Printer
JPH11249853A (en) Image forming device