[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JPH03105657A - Data transfer device - Google Patents

Data transfer device

Info

Publication number
JPH03105657A
JPH03105657A JP1244599A JP24459989A JPH03105657A JP H03105657 A JPH03105657 A JP H03105657A JP 1244599 A JP1244599 A JP 1244599A JP 24459989 A JP24459989 A JP 24459989A JP H03105657 A JPH03105657 A JP H03105657A
Authority
JP
Japan
Prior art keywords
data
character string
string data
transfer
range
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1244599A
Other languages
Japanese (ja)
Inventor
Tatsuo Arai
達夫 新井
Hisayoshi Matsuoka
久能 松岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP1244599A priority Critical patent/JPH03105657A/en
Publication of JPH03105657A publication Critical patent/JPH03105657A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Calculators And Similar Devices (AREA)

Abstract

PURPOSE:To quickly execute the maximum data transfer by dividing and trans ferring the data by a data group unit of a range which does not exceeds the memory capacity of an external device, in the case the data quantity of a designated data train exceeds the memory capacity of the external device. CONSTITUTION:Character-string data of a delimiter unit stored in a character- string data storage part 13 of an electronic notebook 1 is transferred to a handy copy 5 within a range which does not exceed its memory capacity by a control part, and in the case the transfer remainder of the character-string data exists, a message display of 'the remaining data exists' is executed. Also, by operating a transmitting key, the transfer of the character-string data from the next partition is executed in the same way. In such a way, it does not occur that the character-string data of one clause is interrupted on the way of the transfer, and becomes immediately an error state due to shortage of the memory capacity, and by designating an arbitrary printing data range, the character-string data within its designated range can be transferred and printed surely and quickly.

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は、例えばデータ入力保持可能な本体装置からメ
モリを有する外部装置に対してデータ転送を行なう際に
使用されるデータ転送装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a data transfer device used, for example, when data is transferred from a main unit capable of holding data input to an external device having a memory.

[従来技術とその問題点] 例えば、電子手帳等のデータの人力,保存が可能な情報
機器から、小型プリンタ等のメモリを有する外部装置に
対してデータの転送を行なうのに、外部装置のメモリ容
量を越えてデータ転送を行なった場合には、転送エラー
になるか、あるいはメモリ容量相当分のデータのみが転
送される。
[Prior art and its problems] For example, when data is transferred from an information device such as an electronic notebook that can manually store data to an external device with memory such as a small printer, the memory of the external device is If data transfer exceeds the capacity, a transfer error will occur, or only data equivalent to the memory capacity will be transferred.

しかしながら、上記転送エラーになる場合には、そのデ
ータ転送範囲の指定を該転送エラーが示されなくなるま
で幾度も再設定しなければならず、また、メモリ容量相
当分のデータのみが転送される場合には、例えば転送デ
ータが予め複数に分割されていると、該分割データの途
中で転送処理が終了してしまう等の不都合が生じる。
However, if the above transfer error occurs, the data transfer range specification must be reset many times until the transfer error is no longer indicated, and if only the data equivalent to the memory capacity is transferred. For example, if the transfer data is divided into a plurality of pieces in advance, there will be problems such as the transfer process ending in the middle of the divided data.

[発明の目的1 本発明は上記のような問題点に鑑みなされたもので、デ
ータ転送範囲の再設定や、分割されたデ一夕の途中が途
切れてしまう等の不都合が生じることなく、最大限のデ
ータ転送を行なうことが可能になるデータ転送装置を提
供することを目的とする。
[Objective of the Invention 1] The present invention has been made in view of the above-mentioned problems, and is capable of transmitting data to the maximum extent possible without causing inconveniences such as resetting the data transfer range or interruptions in the middle of divided data. The object of the present invention is to provide a data transfer device that can perform limited data transfer.

[発明の要点] すなわち本発明に係わるデータ転送装置は、任意のデー
タ群に区切られたデータ列を記憶する記憶手段と、この
記憶手段に記憶されたデータ列の任意の範囲を指定する
範囲指定手段と、この範囲指定手段による指定データ列
の外部装置への転送を指示する転送指示手段と、上記外
部装置のメモリ容量と上記指定データ列のデータ量とを
比較する比較手段と、この比較手段において上記指定デ
ータ列のデータ量が外部装置のメモリ容量を越えた場合
には該外部装置のメモリ容量を越えない範囲のデータ群
単位で分割して転送する分割転送手段とを備えて構成し
たものである。
[Summary of the Invention] In other words, the data transfer device according to the present invention includes a storage means for storing a data string divided into arbitrary data groups, and a range specification for specifying an arbitrary range of the data string stored in the storage means. transfer instructing means for instructing the range specifying means to transfer the designated data string to an external device; comparison means for comparing the memory capacity of the external device with the data amount of the specified data string; and the comparing means and division transfer means for dividing and transmitting data groups within a range that does not exceed the memory capacity of the external device when the data amount of the specified data string exceeds the memory capacity of the external device. It is.

[発明の実施例] 以下図面により本発明の一実施例について説明する。[Embodiments of the invention] An embodiment of the present invention will be described below with reference to the drawings.

第1図はデータ転送装置の外観構成を示すもので、同図
において、1は電子手帳であり、この電子手帳1の前面
には、ひらがな,カタカナ,英記号,英数字等の文字入
力キーを備えたキー人力部2、及び液晶により構成され
る表示部3が設けられる。この電子手帳1は、例えば人
名,住所,行動予定等のデータを作成して整理記憶し、
適宜呼出し表示して使用するもので、この電子手帳に記
憶されたデータの印字を行なう場合に、本実施例では、
データ転送ライン4を介してハンディコビー5を接続す
る。
Figure 1 shows the external configuration of the data transfer device. In the figure, 1 is an electronic notebook, and the front of the electronic notebook 1 has character input keys for hiragana, katakana, alphanumeric characters, etc. A key input section 2 and a display section 3 composed of a liquid crystal are provided. This electronic notebook 1 creates and organizes and stores data such as people's names, addresses, and activity plans, and
It is used by recalling and displaying the data as needed, and when printing data stored in this electronic notebook, in this embodiment,
A handy covey 5 is connected via a data transfer line 4.

ここで、上記電子手帳1により複数種類の文字列データ
を入力する場合には、そのそれぞれの文字列データ入力
毎に上記キー人力部2における「停」キー28を操作し
て停止コードを入力し、異なる文字列データ間を区切る
ようにする。
Here, when inputting multiple types of character string data using the electronic notebook 1, input a stop code by operating the "stop" key 28 in the key manual section 2 each time each character string data is input. , to separate different string data.

このハンディコピー5は、そのハウジングの一端に光学
像を読取る読取り幅8■の読取り部6と、他端に内部メ
モリに記憶されたイメージデータを印字出力する印字部
7とを備えるもので、ハウジングの側面には、読取り・
通信モード(INPUT)と印字モード(PRINT)
とを切換えるモード切換えスイッチ8が設けられ、また
ハウジングの前側面には、読取りあるいは印字動作を開
始させるための動作キー9が設けられる。
This handy copy 5 is equipped with a reading section 6 having a reading width of 8 cm for reading an optical image at one end of the housing, and a printing section 7 for printing out image data stored in an internal memory at the other end. On the side of the
Communication mode (INPUT) and printing mode (PRINT)
A mode changeover switch 8 is provided for switching between the two modes, and an operation key 9 for starting a reading or printing operation is provided on the front side of the housing.

すなわち、上記ハンディコピー5のモード切換えスイッ
チ8を読取り・通信モード(INPUT)にセットし、
読取り部6を原稿の被読取り面に当接させて動作キー9
を押しながらハウジング自体を所定の方向へ移動させる
と、ハウジングの移動軌跡に対応する被読取り面の画像
情報がイメージデータとして光学的に読取られ、内部メ
モリに記憶される。
That is, the mode changeover switch 8 of the handy copy 5 is set to the reading/communication mode (INPUT),
Place the reading unit 6 in contact with the surface to be read of the document and press the operation key 9.
When the housing itself is moved in a predetermined direction while pressing , image information of the surface to be read corresponding to the locus of movement of the housing is optically read as image data and stored in the internal memory.

また、上記読取り・通信モードのセット状態において、
電子手帳1からデータ転送ライン4を介してデータ転送
が行なわれると、この転送データはイメージデータとし
て内部メモリに記憶される。
In addition, when the reading/communication mode is set above,
When data is transferred from the electronic notebook 1 via the data transfer line 4, this transferred data is stored in the internal memory as image data.

この場合、ハンディコビー5における内部メモリのメモ
リ容量に対し、上記停止コードにより区切られた個々の
文字列データの量が少ない場合には、該メモリ容量の範
囲内で転送可能な文字列データが順次転送され、また、
上記内部メモリのメモリ容量に対し、停止コードにより
区切られた文字列データの量が多い場合には、該メモリ
容量に対応させた文字列データの転送可能後尾部が表示
されると共に、これに続く転送不可能なデータ先頭部が
カーソルにより示される。
In this case, if the amount of individual character string data separated by the above stop code is small compared to the memory capacity of the internal memory of Handycobee 5, the character string data that can be transferred within the memory capacity is sequentially transferred. transferred and also
If the amount of character string data delimited by stop codes is large compared to the memory capacity of the internal memory mentioned above, the transferable tail part of the character string data corresponding to the memory capacity is displayed, and the following The beginning of data that cannot be transferred is indicated by a cursor.

そして、ハンディコピー5のモード切換えスイッチ8を
印字モード(PR I NT)にセットし、印字部7を
記録紙面に当接させて動作キー9を押しながらハウジン
グ自体を所定の方向へ移動させると、ハウジングの移動
軌跡に対応する記録紙面に、上記内部メモリに転送記憶
されたイメージデータが順次印字出力される。
Then, when the mode changeover switch 8 of the handy copy 5 is set to the print mode (PR I NT), the printing section 7 is brought into contact with the recording paper surface, and the housing itself is moved in a predetermined direction while pressing the operation key 9. The image data transferred and stored in the internal memory is sequentially printed out on a recording paper surface corresponding to the movement locus of the housing.

ここで、上記印字部7における内部メモリのメモリ容量
に対応させた最大印字長さ(Max)は180III1
であり、また、文字列データの文字数N,1文字ドット
数(基準ドット数×指定倍角)s,文字間ドット数K,
印字分解能8ドット/■とすると、その印字長さLCは
次式1により求められる。
Here, the maximum printing length (Max) corresponding to the memory capacity of the internal memory in the printing section 7 is 180III1
Also, the number of characters in the character string data N, the number of dots per character (standard number of dots x specified double-width) s, the number of dots between characters K,
Assuming that the printing resolution is 8 dots/■, the printing length LC is determined by the following equation 1.

LC−(SxN+Kx (N−1)l/8 (+u+)
=式1つまり、最大印字長さM a x m 1 8 
0 s−での印字可能文字数、すなわち、ハンディコピ
ー5の内部メモリでの記憶可能文字数Jは次式2により
求められる。
LC-(SxN+Kx (N-1)l/8 (+u+)
=Formula 1 In other words, the maximum print length M a x m 1 8
The number of characters that can be printed at 0 s-, that is, the number of characters J that can be stored in the internal memory of the handy copy 5, is determined by the following equation 2.

J−((180X8−K)/(S+K))  ・・・式
2第2図は上記構威のデータ転送装置における電子回路
の構成を示すもので、同図において、11は電子手帳1
の制御部であり、この制御部11は、キー人力部2から
のキー人力操作信号に応じて回路各部の動作制御を行な
う。
J-((180X8-K)/(S+K))...Equation 2 Figure 2 shows the configuration of the electronic circuit in the data transfer device with the above configuration, and in the figure, 11 is the electronic notebook 1.
This control unit 11 controls the operation of each part of the circuit in response to a key manual operation signal from the key manual unit 2.

上記制御部11には、キー人力部2におけるキー人力操
作に応じた演算処理、及び前期式1,式2に基づく演算
処理を行なうための演算部12を始めとして、キー人力
作成された文字列データをその区切り停止コードと共に
記憶する文字列データ記憶部13、上記停止コードの制
御部11による読出しを判断するコード判断部14、キ
ー人力された文字列データやその転送データ等をカーソ
ルと共に表示部3に表示させる表示制御部15が接続さ
れる。
The control unit 11 includes an arithmetic unit 12 for performing arithmetic processing according to the key manual operation in the key human power unit 2 and arithmetic processing based on the former formula 1 and formula 2, as well as a character string created manually by the key. A character string data storage unit 13 that stores data together with its delimiter stop code, a code determination unit 14 that determines whether or not the stop code is read by the control unit 11, a display unit that displays character string data entered manually and its transfer data together with a cursor. A display control unit 15 for displaying information on the display panel 3 is connected to the display controller 15.

一方、上記制御部11と文字列データ記憶部13との間
のアドレス及びデータパスには、並列にしてレジスタ1
6が接続される。このレジスタ16は、電子手帳1から
ハンディコピー5にデータ転送するための文字列データ
記憶部13における範囲指定先頭アドレスn及び最終ア
ドレスmを格納するレジスタ、転送開始一時ポインタT
PS及び終了一時ポインタTPEとしてのレジスタ、転
送印字指定範囲のエンドフラグEFを格納するレジスタ
、前期文字列データの印字長さLCを格納するレジスタ
、前期最大印字長さMaxを格納するレジスタ、そして
、文字列データの文字数Nをカウント格納する文字カウ
ンタとしてのレジスタがそれぞれ備えられる。
On the other hand, in the address and data path between the control section 11 and the character string data storage section 13, there is a register 1 in parallel.
6 is connected. This register 16 is a register that stores a range specified start address n and end address m in the character string data storage unit 13 for data transfer from the electronic notebook 1 to the handy copy 5, and a transfer start temporary pointer T.
A register as the PS and end temporary pointer TPE, a register that stores the end flag EF of the specified transfer printing range, a register that stores the printing length LC of the first character string data, a register that stores the maximum printing length Max of the first period, and Each register is provided as a character counter for counting and storing the number N of characters of character string data.

また、制御部11には、ハンディコピー5に対するデー
タ転送出力端子との間に、データ送受信部17が介在さ
れる。
Further, a data transmitting/receiving section 17 is interposed between the control section 11 and a data transfer output terminal for the handy copy 5.

さらに、第2図において、21はハンディコピ−5の制
御部であり、この制御部21には、印字部7を始め、前
記電子手帳1から転送される文字列データを記憶するメ
モリ22、該電子手帳1からの転送データを受信するデ
ータ送受信部23、このハンディコビー5の記録紙上に
おける走査移動量を検知するエンコーダ24が接続され
る。
Furthermore, in FIG. 2, 21 is a control section of the handy copy 5, and this control section 21 includes a printing section 7, a memory 22 for storing character string data transferred from the electronic notebook 1, and a memory 22 for storing character string data transferred from the electronic notebook 1. A data transmitting/receiving section 23 that receives transferred data from the electronic notebook 1 and an encoder 24 that detects the amount of scanning movement of the HandyCobby 5 on the recording paper are connected.

つまり、ハンディコピー5のモード切換えスイッチ8を
印字モード(PR I NT)にセットし、印字部7を
記録紙面に当接させて動作キー9を押しながらハウジン
グ自体を所定の方向へ移動゛さ2せると、ハウジングの
移動軌跡に対応する記録紙面に、エンコーダ24により
検知される走査移動量に応じて、上記メモリ22に転送
記憶された文字列データ等のイメージデータが順次読出
されて印字出力される。
In other words, set the mode changeover switch 8 of the handy copy 5 to the print mode (PRINT), bring the printing section 7 into contact with the recording paper surface, and move the housing itself in a predetermined direction while pressing the operation key 9. Then, image data such as character string data transferred and stored in the memory 22 is sequentially read out and printed out on a recording paper surface corresponding to the movement locus of the housing according to the scanning movement amount detected by the encoder 24. Ru.

次に、上記構或のデータ転送装置の動作について説明す
る。
Next, the operation of the data transfer device having the above structure will be explained.

はじめに、電子手帳1のキー人力部2を使用して複数種
類の文字列データを作成すると、その個々の文字列デー
タは順次文字列データ記憶部13に書込まれて記憶され
る。
First, when a plurality of types of character string data are created using the key manual section 2 of the electronic notebook 1, the individual character string data are sequentially written and stored in the character string data storage section 13.

ここで、文字列データ記憶部13に記憶された各文字列
データを、ハンディコピー5を使用して印字するには、
まず、印字したい所望の文字列データを電子手帳1から
ハンディコビー5に送り、メモリ22に対して記憶させ
る。
Here, in order to print each character string data stored in the character string data storage section 13 using the handy copy 5,
First, desired character string data to be printed is sent from the electronic notebook 1 to the Handycobee 5 and stored in the memory 22.

第3図は電子手帳1における文字列データの印字送信処
理を示すフローチャートであり、まず、文字列データ記
憶部13に予め記憶される文字列データを、制御部11
から表示制御部15を通して表示部3に表示させ、該文
字列データの所望の印字範囲を指定する。すると、この
印字指定範囲に対応する文字列データ記憶部13におけ
る文字列データの先頭アドレスnと最終アドレスmとが
、それぞれレジスタ16に格納される(ステップSl)
。ここで、レジスタ16におけるn及びm領域を除く他
のレジスタ領域が初期化される(ステップS2)。そし
て、レジスタ16における印字開始一時ポインタTPS
に対し上記文字列データ記憶部13の範囲指定先頭アド
レスnが格納され、また、印字終了一時ポインタTPH
に対しては、上記n−1アドレスが格納される(ステッ
プS3,S4)。
FIG. 3 is a flowchart showing the printing and transmission processing of character string data in the electronic notebook 1. First, character string data stored in advance in the character string data storage section 13 is sent to the control section
The character string data is displayed on the display section 3 through the display control section 15, and a desired printing range of the character string data is designated. Then, the start address n and the end address m of the character string data in the character string data storage unit 13 corresponding to this printing designated range are stored in the register 16, respectively (step Sl).
. Here, register areas other than the n and m areas in the register 16 are initialized (step S2). Then, the print start temporary pointer TPS in the register 16
The range specified start address n of the character string data storage section 13 is stored in , and the printing end temporary pointer TPH is stored in .
, the n-1 address is stored (steps S3, S4).

ここで、ステップS5に進み、レジスタnに記憶される
アドレス値とレジスタmに記憶される印字指定範囲の最
終アドレス値とが比較判断されるもので、このステップ
S5においてrNoJ、つまり、レジスタnに記憶され
るアドレス値は印字指定範囲の最終アドレス値mに到達
してないと判断されると、文字列データ記憶部13から
゛範■゜指定された文字列データが1文字分読出される
(ステップS6)。この時、コード判断部14において
、文字列データ記憶部13から読出されたデータが停止
コードであるか否かが判断される(ステップS7)。こ
のステップS7においてrNoJ、つまり、文字列デー
タ記憶部13から読出されたデータは停止コードではな
く、1区切り分の文字列データの最終データには到達し
ていないと判断されると、上記レジスタnに格納される
アドレス値が+1される(ステップS8)。
At step S5, the address value stored in register n is compared with the final address value of the designated print range stored in register m. In step S5, rNoJ, that is, register n is When it is determined that the stored address value has not reached the final address value m of the specified print range, one character of the specified character string data is read from the character string data storage section 13 ( Step S6). At this time, the code determination unit 14 determines whether the data read from the character string data storage unit 13 is a stop code (step S7). If it is determined in this step S7 that rNoJ, that is, the data read from the character string data storage section 13 is not a stop code, and that the final data of one section of character string data has not been reached, the register n The address value stored in is incremented by 1 (step S8).

この後、上記ステップ85〜S8における判断,処理を
繰返し、文字列データ記憶部13から順次印字指定範囲
内の文字列データが1文字ずつ読出され、例えば1区切
り分の文字列データが読出されて、コード判断部14に
おいて停止コードの読出しが判断されると、ステップS
7で「YeS」と判断され、上記1区切り分を1行とす
る文字列データの印字長さLCが、演算部12において
前期式1に基づき算出され、レジスタ16に格納される
(ステップSIO.Sll)。
Thereafter, the judgments and processes in steps 85 to S8 are repeated, and the character string data within the designated print range is read out one character at a time from the character string data storage section 13, for example, one section of character string data is read out. , when the code determination unit 14 determines that the stop code is read, step S
7 is determined to be "Yes", and the print length LC of the character string data in which one line corresponds to one line is calculated in the arithmetic unit 12 based on Equation 1 and stored in the register 16 (step SIO.7). Sll).

すると、ステップS12に進み、上記レジスタLCに格
納された文字列データの1行印字長さが、ハンディコピ
ー5の内部メモリ容量に相当する最大印字長さMaxよ
り長いか否かが判断されるもので、このステップS12
において「NO」、つまり、ハンディコビー5のメモリ
容量には、まだ、余裕があると判断されると、印字終了
一時ポインタTPHに対し上記で読出された1区切り分
文字列データの最終アドレスnが与えられ、エンドフラ
グEFが′1”であるか否かが判断される(スチップ8
12〜S14)。
Then, the process proceeds to step S12, where it is determined whether the one-line print length of the character string data stored in the register LC is longer than the maximum print length Max corresponding to the internal memory capacity of the handy copy 5. So, this step S12
If the answer is "NO", that is, if it is determined that there is still room in the memory capacity of the HandyCobby 5, the final address n of the character string data for one segment read above is set to the print end temporary pointer TPH. It is determined whether the end flag EF is '1' (step 8
12-S14).

この場合、上記文字列データの読出し処理は、印字指定
範囲の最終アドレス値mまで到達して0ないので、エン
ドフラグEFは“0“であり、ステップS14において
「NO」と判断され、上記ステップ85〜S8における
判断,処理に戻る。
In this case, the reading process of the character string data reaches the final address value m of the specified printing range and is not 0, so the end flag EF is "0", and it is determined "NO" in step S14, and the above step The process returns to the judgment and processing in steps 85 to S8.

ここで、次の文字列データが読出され、ステップS7に
おいてrYesJと判断された後、ステップS10にお
いてその1行印字長さが算出され、ステップS11にお
いて前回算出の1行削字長・さLCに加算した総印字長
さLCがレジスタ16に格納される。この時、ステップ
S12において「YeS」、つまり、上記レジスタLC
に格納された文字列データの総印字長さは、ノ\ンデイ
コピー5の内部メモリ容量に相当する最大印字長さMa
Xより長く、メモリ22には前回読出された1区切り分
の文字列データまでの転送書込みしかできないと判断さ
れると、ステップS15に進み、印字開始一時ポインタ
TPSが印字終了一時ポインタTPEより大きいか否か
が判断される。この場合、印字開始一時ポインタTPS
は、前期ステップS3での処理により、文字列データ記
憶部13における印字指定範囲の先頭アドレスnに相当
し、また、印字終了一時ポインタTPEは、前期ステッ
プ813での処理により、前回読出された1区切り分の
文字列データの最終アドレスnに相当するので、上記ス
テップS15では「NO」と判断され、上記TPS−T
PEまでの印字開始〜終了ポインタに基づく文字列デー
タが印字データとしてイメージ変換され、制御部11か
らデータ送受信部17を介し、ハンディコピー5側に送
信転送される(ステップS16,S17)。これにより
、ハンディコピー5のメモリ22には、上記電子手帳1
の文字列データ記憶部13にて記憶された区切り単位の
文字列データが、そのメモリ容量を越えない範囲で転送
され書込まれたことになり、印字部7を通しての印字出
力可能な状態になる。
Here, the next character string data is read out, and after it is determined as rYesJ in step S7, its one-line print length is calculated in step S10, and in step S11, the previously calculated one-line cut length/length LC is used. The added total print length LC is stored in the register 16. At this time, the answer in step S12 is "Yes", that is, the register LC
The total print length of the character string data stored in is the maximum print length Ma corresponding to the internal memory capacity of the day copy 5.
If it is determined that the length is longer than X, and that it is possible to transfer and write only up to one segment of character string data that was read last time into the memory 22, the process advances to step S15, and whether the print start temporary pointer TPS is larger than the print end temporary pointer TPE or not. It is determined whether or not. In this case, the print start temporary pointer TPS
corresponds to the start address n of the specified printing range in the character string data storage unit 13 through the processing in step S3 in the previous period, and the print end temporary pointer TPE corresponds to the address 1 read last time in the processing in step S3 in the previous period. Since this corresponds to the final address n of the character string data for the delimiter, it is determined "NO" in step S15, and the TPS-T
The character string data based on the printing start to end pointers up to the PE is converted into an image as print data, and transmitted and transferred from the control section 11 to the handy copy 5 side via the data transmission/reception section 17 (steps S16, S17). As a result, the above-mentioned electronic notebook 1 is stored in the memory 22 of the handy copy 5.
The character string data in delimited units stored in the character string data storage section 13 has been transferred and written within the range that does not exceed the memory capacity, and the state is now ready for printing through the printing section 7. .

こうして、電子手帳1側からハンディコピー5に対する
データ転送処理が行なわれた後に、ノ\ンディコピ−5
による上記文字列データの印字を行なうには、まず、モ
ード切換えスイッチ8により印字モード(PR I N
T)を設定し、コピー機本体をその動作午−9を押しな
がら印字部7を記録紙に当接させて移動させる。すると
、エンコーダ24から出力されるエンコーダパルスに基
づき、メモリ22からの文字列データの読出し処理及び
その記録紙に対する印字処理が実行される。
In this way, after the data transfer process from the electronic notebook 1 side to the handy copy 5 is performed, the data transfer process from the electronic notebook 1 side to the handy copy 5 is completed.
To print the above character string data, first select the print mode (PR I N
T) and move the copy machine main body while pressing -9 so that the printing section 7 comes into contact with the recording paper. Then, based on the encoder pulses output from the encoder 24, a process of reading character string data from the memory 22 and a process of printing the data on the recording paper are executed.

この後、ステップ318に進み、エンドフラグEFが“
11であるか否かが判断される。こ′の・場合、文字列
データの読出し転送処理は、前期1区切り分の文字列デ
ータに対してのみ実施されただけであり、印字指定範囲
の最終アドレス値mまでは到達していないので、上記エ
ンドフラグEFは“0“、つまりステップS18では「
NO」と判断され、制御部11は表示制御部15を通し
て表示部3に対し「残りデータあり」のメッセージ表示
を行なわせる(ステップS19)。この時、キー人力部
2において、送信キー以外のキー人力操作がなされた場
合には、制御部11はそのキー人力操作信号に応じた処
理を実行する(ステップS20〜S22)。
After this, the process advances to step 318, and the end flag EF is set to “
11 is determined. In this case, the read and transfer process of character string data has only been carried out for one segment of character string data in the previous period, and the final address value m of the specified print range has not been reached. The end flag EF is "0", that is, in step S18, "
The control unit 11 causes the display unit 3 to display a message “Remaining data” through the display control unit 15 (step S19). At this time, if a key other than the transmission key is manually operated in the key manually operated section 2, the control section 11 executes processing according to the key manually operated signal (steps S20 to S22).

一方、前期印字指定範囲における残りの文字列データの
送信転送を行なうのに、キー人力部2における送信キー
が操作されると、上記ステップ521において「Ye 
sJと判断され、現在の印字終了一時ポインタTPE,
つまり前回送信転送処理された文字列データの最終アド
レスに+1した次の文字列データの先頭アドレスがレジ
スタnに格納される(ステップS23)。そして、レジ
スタ16における印字開始一時ポインタTPSに対し上
記次の文字列データの先頭アドレスnが格納され、また
、印字終了一時ポインタTPHに対しては、上記n−1
アドレスが格納される(ステップS3,S4)。
On the other hand, when the transmission key in the key manual section 2 is operated to transmit and transfer the remaining character string data in the specified range for printing in the first period, in step 521,
sJ, and the current printing end temporary pointer TPE,
That is, the start address of the next character string data, which is added by 1 to the last address of the character string data that was transmitted and transferred last time, is stored in register n (step S23). Then, the start address n of the next character string data is stored in the print start temporary pointer TPS in the register 16, and the above n-1 is stored in the print end temporary pointer TPH.
The address is stored (steps S3, S4).

この後、ステップ85〜S8における判断,処理を繰返
し、文字列データ記憶部13から次の文字列データが順
次1文字ずつ読出され、レジスタnに記憶されるアドレ
ス値が印字指定範囲の最終アドレスg[mに到達すると
、ステップS5において「YesJと判断され、レジス
タ16におjナるエンドフラグEFに“12が立てられ
る(ステップS9)。そして、上記印字指定範囲の最終
アドレスmまで読出された文字列データの印字長さLC
が、演算部12において前期式1に基づき算出され、レ
ジスタ16に格納される(ステップ510,SIX)。
Thereafter, the judgments and processes in steps 85 to S8 are repeated, and the next character string data is sequentially read character by character from the character string data storage section 13, and the address value stored in register n is the final address g of the specified printing range. [When reaching m, "YesJ" is determined in step S5, and "12" is set in the end flag EF stored in the register 16 (step S9). Then, the print length LC of the character string data read up to the final address m of the specified print range
is calculated in the arithmetic unit 12 based on Equation 1 and stored in the register 16 (step 510, SIX).

すると、ステップS12に進み、上記レジスタLCに格
納された文字列データの1行印字長さが、ハンディコピ
ー5の内部メモリ容量に相当する最゛大印字長さMax
より゛長いか否かが判断されるもので、このステップS
12において「No」、つまり、印字長さLCの文字列
データは、ハンディコビー5のメモリ22に対し、その
容量的に充分書込み可能であると判断されると、印字終
了一時ポインタTPHに対し上記で読出された文字列デ
ータの最終アドレスnが与えられ、エンドフラグEFが
“1゜であるか否かが判断される(ステップS12〜S
14)。
Then, the process advances to step S12, and the one-line print length of the character string data stored in the register LC is determined to be the maximum print length Max corresponding to the internal memory capacity of the handy copy 5.
It is determined whether the length is longer than the
12, if it is determined that the character string data of the print length LC can be written to the memory 22 of the HandyCobby 5 sufficiently in terms of its capacity, the above-mentioned information is sent to the print end temporary pointer TPH. The final address n of the character string data read out is given, and it is determined whether the end flag EF is "1°" (steps S12 to S
14).

この場合、上記文字列データの読出し処理は、印字指定
範囲の最終アドレス値mまで到達したので、エンドフラ
グEFは上記ステップs9での処理により“1#であり
、ステップS14においてrYesJと判断される。そ
して、ステップS15に進み、印字開始一時ポインタT
PSが印字終了一時ポインタTPEより大きいか否かが
判断される。この場合、印字開始一時ポインタTPSは
、前期ステップS3での処理により、転送文字列データ
の先頭アドレスnに相当し、また、印字終了一時ポイン
タTPEは、前期ステップS13での処理により、今回
読出された文字列データの最終アドレスnに相当するの
で、上記ステップS15ではrNoJと判断され、上記
TPS〜TPEまでの印字開始〜終了ポインタに基づく
文字列データが印字データとしてイメージ変換され、制
御部l1からデータ送受信部17を介し、/Xンディコ
ビー5側に送信転送される(ステップ816,517)
。これにより、ハンディコビー5のメモリ22には、上
記前回転送の文字列データに続く区切り単位の文字列デ
ータの全てが、そのメモリ容量を越えない範囲で転送さ
れ書込まれたことになり、前回同様、印字部7を通して
の印字出力可能な状態になる。
In this case, the reading process of the character string data has reached the final address value m of the specified print range, so the end flag EF is "1#" in the process in step s9, and it is determined as rYesJ in step S14. .Then, the process advances to step S15, where the print start temporary pointer T
It is determined whether PS is larger than the printing end temporary pointer TPE. In this case, the printing start temporary pointer TPS corresponds to the start address n of the transferred character string data as a result of the processing in step S3 in the previous period, and the printing end temporary pointer TPE is read out this time as a result of the processing in step S13 in the previous period. Since this corresponds to the final address n of the character string data, it is judged as rNoJ in step S15, and the character string data based on the print start to end pointers from TPS to TPE is converted into an image as print data, and is sent from the control unit l1. The data is transmitted and transferred to the /X Ndikobee 5 side via the data transmitter/receiver 17 (steps 816, 517).
. As a result, all of the character string data in the delimiter unit following the character string data transferred last time has been transferred and written to the memory 22 of the Handycobee 5, within a range that does not exceed the memory capacity of the previous time. Similarly, the state becomes possible for printing through the printing section 7.

この後、ステップS18に進み、エンドフラグEFが″
1”であるか否かが判断される。この場合、文字列デー
タの読出し転送処理は、全文字列データに対して実施さ
れ、印字指定範囲の最終アドレス値mまで到達したので
、上記エンドフラグEFは前期ステップS9での処理に
より“12つまりステップS18では「YesJと材断
さ・れ、上記一連の文字列データ送信転送処理が終了す
る。
After that, the process advances to step S18, and the end flag EF is set to ``
1". In this case, the character string data read and transfer process is performed for all character string data, and the final address value m of the specified print range has been reached, so the above end flag is EF is determined to be "12" by the process in step S9, that is, "YesJ" is output in step S18, and the above series of character string data transmission and transfer processing is completed.

すなわち、電子手帳1の文字列データ記憶部13にて記
憶された区切り単位の文字列データが、ハンディコビー
5に対し、そのメモリ容量を越えない範囲で転送され、
文字列データの転送残りがある場合には、「残りデータ
あり」のメッセージ表示が成され、送信キーの操作によ
りさらに次の区分からの文字列データの転送が同様にし
て行なえるので、一節の文字列データが転送途中で途切
れたり、メモリ容量が足りないことにより直ちにエラー
状態になることはない。
That is, the character string data in delimited units stored in the character string data storage section 13 of the electronic notebook 1 is transferred to the Handycobee 5 within a range that does not exceed its memory capacity,
If there is any remaining character string data to be transferred, a message “Remaining data available” will be displayed, and by operating the send key, you can transfer character string data from the next category in the same way. An error state does not occur immediately due to character string data being interrupted during transfer or insufficient memory capacity.

一方、上記ステップ85〜S8の判断,処理において、
1区切り分の文字列データが読出された状態で、その印
字長さLCがハンディコピー5の内部メモリ容量に相当
する最大印字長さM a xより長く、メモリ22には
この1区切り分の文字列データの一括した転送書込みが
できないと判断されると、ステップS15に進み、印字
開始一時ポインタTPSが印字終了一時ポインタTPE
より大きいか否かが判断される。この場合、印字開始一
時ポインタTPSは、前期ステップS3での処理により
、上記1区切り分の文字列データの先頭アドレスnに相
当し、また、印字終了一時ポインタTPEは、前期ステ
ップS4での処理により、該先頭アドレスnの−1に相
当するので、上記ステップS15では「YesJと判断
され、ステップS24〜S26における、転送可能デー
タ領域と転送不可能データ領域とのカーソル指示による
表示処理が実行される。
On the other hand, in the judgment and processing of steps 85 to S8,
When the character string data for one section has been read out, the print length LC is longer than the maximum print length M a x corresponding to the internal memory capacity of the handy copy 5, and the memory 22 stores the characters for this one section. If it is determined that the column data cannot be transferred and written all at once, the process proceeds to step S15, where the print start temporary pointer TPS changes to the print end temporary pointer TPE.
It is determined whether the In this case, the print start temporary pointer TPS corresponds to the start address n of the character string data for one section, as determined by the process in step S3 of the previous period, and the print end temporary pointer TPE corresponds to the start address n of the character string data for one section, as determined by the process in step S4 of the previous period. , corresponds to -1 of the start address n, so the determination in step S15 is "YesJ", and the process of displaying the transferable data area and non-transferable data area by cursor instruction in steps S24 to S26 is executed. .

まず、ステップS24では、ハンディコビー5における
メモリ容量に対応する最大印字長さM a x相当の文
字列データ記憶部13におけるメモリアドレスが、前期
式2により算出される記憶可能文字数Jに基づき求めら
れ、このメモリアドレスに+1して転送書込み不可能な
文字列データの先頭アドレスnが算出される。そして、
この転送書込み不可能な文字列データの先頭メモリアド
レスnに対応して表示制御部15におけるカーソルポイ
ンタ15aがセットされる(ステップS25)。すると
、表示部3には、メモリ22への書込みが途切れてしま
う文字列データの先頭位置をカーソルが示す状態で、転
送可能データ領域と転送不可能データ領域とが表示出力
されるようになる(ステップS26)。
First, in step S24, the memory address in the character string data storage unit 13 corresponding to the maximum print length M a x corresponding to the memory capacity of the HandyCobby 5 is determined based on the number of storable characters J calculated by Equation 2. , the first address n of character string data that cannot be transferred or written is calculated by adding 1 to this memory address. and,
The cursor pointer 15a in the display control unit 15 is set corresponding to the first memory address n of the character string data that cannot be transferred or written (step S25). Then, the transferable data area and the non-transferable data area are displayed on the display unit 3 with the cursor indicating the beginning position of the character string data where writing to the memory 22 is interrupted ( Step S26).

したがって、上記構成のデータ転送装置によれば、電子
手帳1の文字列データ記憶部13にて記憶された区切り
単位の文字列データが、ハンディコビー5に対し、その
メモリ容量を越えない範囲で転送され、文字列データの
転送残りがある場合には、「残りデータあり」のメッセ
ージ表示が成され、送信キーの操作によりさらに次の区
分からの文字列データの転送が同様にして行なえるので
、一節の文字列データが転送途中で途切れたり、メモリ
容量が足りないことにより直ちにエラー状態になること
はなく、任意の印字データ範囲の指定により、その指定
範囲内の文字列データを確実且つ素早く転送し印字する
ことができるようになる。
Therefore, according to the data transfer device having the above configuration, the character string data in delimited units stored in the character string data storage section 13 of the electronic notebook 1 is transferred to the HandyCobby 5 within the range of the memory capacity thereof. If there is character string data remaining to be transferred, a message saying "Remaining data available" will be displayed, and character string data from the next category can be transferred in the same way by operating the send key. An error condition does not occur immediately due to a passage of character string data being interrupted during transfer or insufficient memory capacity, and by specifying an arbitrary print data range, character string data within that specified range is transferred reliably and quickly. and print it.

[発明の効果] 以上のように本発明によれば、任意のデータ群に区切ら
れたデータ列を記憶する記憶手段と、この記憶手段に記
憶されたデータ列の任意の範囲を指定する範囲指定手段
と、この範囲指定手段による指定データ列の外部装置へ
の転送を指示する転送指示手段と、上記外部装置のメモ
リ容量と上記指定データ列のデータ量とを比較する比較
手段と、この比較手段において上記指定データ列のデー
タ量が外部装置のメモリ容量を越えた場合には該外部装
置のメモリ容量を越えない範囲のデータ群単位で分割し
て転送する分割転送手段とを備えて構成したので、デー
タ転送範囲の再設定や、分割されたデータの途中が途切
れてしまう等の不都合が生じることなく、最大限のデー
タ転送を行なうことが可能になるデータ転送装置を提供
できる。
[Effects of the Invention] As described above, according to the present invention, there is a storage means for storing a data string divided into arbitrary data groups, and a range specification for specifying an arbitrary range of the data string stored in this storage means. transfer instructing means for instructing the range specifying means to transfer the designated data string to an external device; comparison means for comparing the memory capacity of the external device with the data amount of the specified data string; and the comparing means In this case, when the amount of data of the specified data string exceeds the memory capacity of the external device, the device is configured to include a division transfer means for dividing and transferring data groups within a range that does not exceed the memory capacity of the external device. Therefore, it is possible to provide a data transfer device that can perform maximum data transfer without resetting the data transfer range or causing problems such as interruptions in the middle of divided data.

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

第1図は本発明の一実施例に係わるデータ転送装置の電
子手帳とハンディコビーとを示す外観図、第2図は上記
電子手帳及びハンディコビーにおける電子回路の構成を
示すブロック図、第3図は上記電子手帳及びハンディコ
ピー間における印字送信処理を示すフローチャートであ
る。 1・・・電子手帳、2・・・キー人力部、2a・・・停
キー3・・・表示部、4・・・データ転送ライン、5・
・・ハンディコビー 6・・・読取り部、7・・・プリ
ント部、8・・・モード切換えキー 9・・・動作キー
 11・・・電子手帳制御部、12・・・演算部、13
・・・文字列データ記憶部、14・・・コード判断部、
15・・・表示制御部、15g・・・カーソルポインタ
、16・・・レジスタ、l7・・・電子手帳データ送受
信部、21・・・/Xンデイコビー制御部、22・・・
メモリ、23・・・ハンディコビーデータ送受信部、2
4・・・エンコーダ。
FIG. 1 is an external view showing an electronic notebook and Handycoby of a data transfer device according to an embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of the electronic circuit in the electronic notebook and Handycoby, and FIG. 3 is a flowchart showing print transmission processing between the electronic notebook and the handy copy. DESCRIPTION OF SYMBOLS 1...Electronic notebook, 2...Key manual section, 2a...Stop key 3...Display section, 4...Data transfer line, 5.
...Handycoby 6...Reading section, 7...Print section, 8...Mode switching key 9...Operation key 11...Electronic notebook control section, 12...Calculating section, 13
...Character string data storage unit, 14...Code judgment unit,
15...Display control unit, 15g...Cursor pointer, 16...Register, l7...Electronic notebook data transmission/reception unit, 21.../X day covey control unit, 22...
Memory, 23... Handycoby data transmission/reception section, 2
4...Encoder.

Claims (1)

【特許請求の範囲】 任意のデータ群に区切られたデータ列を記憶する記憶手
段と、 この記憶手段に記憶されたデータ列の任意の範囲を指定
する範囲指定手段と、 この範囲指定手段による指定データ列の外部装置への転
送を指示する転送指示手段と、 上記外部装置のメモリ容量と上記指定データ列のデータ
量とを比較する比較手段と、 この比較手段において上記指定データ列のデータ量が外
部装置のメモリ容量を越えた場合には該外部装置のメモ
リ容量を越えない範囲のデータ群単位で分割して転送す
る分割転送手段と、 を具備したことを特徴とするデータ転送装置。
[Scope of Claims] Storage means for storing a data string divided into arbitrary data groups; Range specification means for specifying an arbitrary range of the data string stored in the storage means; Specification by the range specification means. a transfer instruction means for instructing the transfer of the data string to an external device; a comparison means for comparing the memory capacity of the external device with the data amount of the specified data string; 1. A data transfer device comprising: division transfer means for dividing and transferring data in units of data groups within a range that does not exceed the memory capacity of the external device when the memory capacity of the external device is exceeded.
JP1244599A 1989-09-20 1989-09-20 Data transfer device Pending JPH03105657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1244599A JPH03105657A (en) 1989-09-20 1989-09-20 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1244599A JPH03105657A (en) 1989-09-20 1989-09-20 Data transfer device

Publications (1)

Publication Number Publication Date
JPH03105657A true JPH03105657A (en) 1991-05-02

Family

ID=17121122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1244599A Pending JPH03105657A (en) 1989-09-20 1989-09-20 Data transfer device

Country Status (1)

Country Link
JP (1) JPH03105657A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000172480A (en) * 1998-12-07 2000-06-23 Seiko Epson Corp Printer and control method thereof
US6985136B2 (en) 1992-11-09 2006-01-10 Adc Technology Portable communicator

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6985136B2 (en) 1992-11-09 2006-01-10 Adc Technology Portable communicator
US7057605B2 (en) 1992-11-09 2006-06-06 Toshiharu Enmei Portable communicator
US7061473B2 (en) 1992-11-09 2006-06-13 Toshiharu Enmei Portable communicator
US7064749B1 (en) 1992-11-09 2006-06-20 Adc Technology Inc. Portable communicator
US7274480B2 (en) 1992-11-09 2007-09-25 Adc Technology Inc. Portable communicator
US7567361B2 (en) 1992-11-09 2009-07-28 Adc Technology Inc. Portable communicator
US7688467B2 (en) 1992-11-09 2010-03-30 Adc Technology Inc. Portable communicator
JP2000172480A (en) * 1998-12-07 2000-06-23 Seiko Epson Corp Printer and control method thereof

Similar Documents

Publication Publication Date Title
EP0076904B1 (en) A text processor having an interacitve display terminal which alternately functions as a data processing terminal
JPH03105657A (en) Data transfer device
US5288155A (en) Printer capable of displaying selected font
US4709349A (en) Method for maintaining display/print mode in display printer
JPH0810825Y2 (en) Data transfer device
EP0076902B1 (en) System for converting data processing information to text processing format and vice versa
JPH0313987B2 (en)
US4864530A (en) Display system for a compact electronic apparatus
JPS5790741A (en) Print information producing device of price tag printer
JP3099326B2 (en) Page printer
JPS5819948A (en) Sight display device for optional designation by kanji (chinese character)
JP2823410B2 (en) Data input device
JP3005689B2 (en) Data communication device
JPS6454524A (en) Information input device
JPS6359564A (en) Dot matrix printer
JPS63122354A (en) Facsimile equipment
JP2002157347A (en) Education system
JPH0473157B2 (en)
JPS60253571A (en) Electronic machinery
JPH0190065U (en)
JPS58194578A (en) Displaying device for word processor
JPS6224806B2 (en)
JPH10187360A (en) Data transmitting device and printer
JPH03231876A (en) Plural document output apparatus
JPH02124426A (en) intelligent recorder