JPS62255175A - Standardized format printer - Google Patents

Standardized format printer

Info

Publication number
JPS62255175A
JPS62255175A JP61097845A JP9784586A JPS62255175A JP S62255175 A JPS62255175 A JP S62255175A JP 61097845 A JP61097845 A JP 61097845A JP 9784586 A JP9784586 A JP 9784586A JP S62255175 A JPS62255175 A JP S62255175A
Authority
JP
Japan
Prior art keywords
format
area
data
printing
memory
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
JP61097845A
Other languages
Japanese (ja)
Other versions
JPH0735116B2 (en
Inventor
Eisaku Nakatani
中谷 栄作
Takao Yoshimitsu
吉満 隆雄
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 JP61097845A priority Critical patent/JPH0735116B2/en
Publication of JPS62255175A publication Critical patent/JPS62255175A/en
Publication of JPH0735116B2 publication Critical patent/JPH0735116B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To contrive an efficient printing on a recording paper of complex printing format, by a method wherein a plurality of printable areas are made to be set corresponding to the printing format of the recording paper as well as format data are made to be set corresponding to each of the printable areas. CONSTITUTION:A key input signal outputted from an input part 11 is sent to an input control part 12 and therein converted to a corresponding key code, thereafter stored in a CPU 13. To the CPU 13, a coordinate memory 14, a data memory 15, a format memory, a work RAM 17, and a RAM for transfer 18 are connected bidirectionally. By using the coordinate memory 14 consisting of RAM, a data writing/reading operation is controlled under the control of the CPU 13. When a plurality of printable areas are set corresponding to a printing format of a recording paper, the coordinate memory 14 stores coordinate position data etc. indicating a head position of each of the printable areas and format data is set corresponding to each of the printable areas.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、ワードプロセッサ、電子タイプライタ−等
に用いられる定型フォーマット印字装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a fixed format printing device used in word processors, electronic typewriters, and the like.

[発明の概要] この発明は、ワードプロセッサ、電子タイプライタ−等
において、記録紙の印字フォーマットに対応して複数の
印字可能領域を設定可能とすると共に各印字可能領域に
対応して各種の書式情報を夫々設定可能とすることによ
り、設定された各印字可能領域の範囲内で、かつ設定さ
れた書式に基づいた印字を行われるようにし、連絡書や
履歴書の如く印字フォーマットが定められている複数の
印字範囲に対する印字を印字フォーマ−/ )に対応し
て効率良く行うことができると共に、1ページの記録紙
に複数の書式に基づいた印字を行うことができるように
したものである。
[Summary of the Invention] The present invention makes it possible to set a plurality of printable areas corresponding to the printing format of recording paper in word processors, electronic typewriters, etc., and to set various format information corresponding to each printable area. By making it possible to set each, printing is performed within the range of each set printable area and based on the set format, and the print format is determined like a correspondence or resume. Printing in a plurality of printing ranges can be performed efficiently in correspondence with a printing former (/), and printing can be performed on one page of recording paper based on a plurality of formats.

[従来の技術] 従来、ワードプロセッサにおいて、例えば記録紙の左右
両側に余白を形成したい場合には、所定のキー操作手順
にしたがって左マージン、右マージンを設定する。する
と、印字可能領域は左右内マージン位置の内側の範囲内
となり、その範囲内において文章データが印字される為
、左マージン、右マージン位置の外側には夫々余白が形
成される。また、このようにして確保された印字「+(
能領域に対しては予め設定された古式情報(桁ピッチ、
行ピッチ、禁則処理の有無、縦書きあるいは横書き指定
等)に基づいた古式で印字が行われる。
[Prior Art] Conventionally, in a word processor, for example, when it is desired to form margins on both the left and right sides of a recording sheet, a left margin and a right margin are set according to a predetermined key operation procedure. Then, the printable area falls within the range inside the left and right inner margin positions, and the text data is printed within that range, so margins are formed outside the left and right margin positions, respectively. In addition, the print “+(
For the Noh domain, preset classical information (digit pitch,
Printing is performed in the old style based on line pitch, whether or not prohibition processing is used, vertical writing or horizontal writing designation, etc.

[発明が解決しようとする問題点] このように従来のワードプロセッサにおいては、記録紙
に所望する大きさの印字可能領域を任意の位置に設定す
ることができるが、1ページに設定可能な印字可能領域
はl領域である為、例えば、右余白部分に印字を行う場
合には、新たにマージン設定を行って右余白部分に印字
ri(能領域を確保しなければならない。したがって、
複雑なフォーマットの印字を行う場合には極めて煩雑な
ものとなる。また、1ページ」―に設定可能な書式も1
つである為、複雑な書式フォーマットの印字を効率良く
行うことができないという問題があった。
[Problems to be Solved by the Invention] As described above, in conventional word processors, it is possible to set a printable area of a desired size on recording paper at any position; Since the area is l area, for example, if you want to print on the right margin, you must set a new margin and secure the printing area on the right margin. Therefore,
This becomes extremely complicated when printing in a complicated format. Also, the format that can be set for 1 page is 1.
Therefore, there was a problem in that it was not possible to print complicated formats efficiently.

この発明は、上述した411情を背景になされたもので
、その目的とするところは、#i雑なフォーマットの印
字であっても効率良く行うことができる定型フォーマッ
ト印字装置を提供することにある。
This invention was made against the background of the above-mentioned 411 situation, and its purpose is to provide a fixed format printing device that can efficiently print even #i rough formats. .

[問題点を解決するためのf段] 第1図はこの発明の構成を示す機能ブロック図である。[F step to solve problems] FIG. 1 is a functional block diagram showing the configuration of the present invention.

図中1は、記録紙と印字ヘッドとの相対的な移動によっ
て印字を行う印字手段、2は記録紙の印字フォーマット
に対応して複数の印字可能領域を設定する第1の設定手
段、3はこの第1の設定手段2で設定された各印字可能
領域に対応して書式情報を夫々設定する第2の設定手段
、4は第1の設定手段2で設定された各印字可能領域の
範囲内で、かつ第2の設定手段3に設定されている書式
情報の書式に基づいた印字を順次行わせる印字制御手段
である。
In the figure, 1 is a printing unit that performs printing by relative movement between the recording paper and the print head, 2 is a first setting unit that sets a plurality of printable areas in accordance with the printing format of the recording paper, and 3 is a A second setting means sets format information corresponding to each printable area set by the first setting means 2, and 4 is within the range of each printable area set by the first setting means 2. This is a printing control means that sequentially performs printing based on the format of the format information set in the second setting means 3.

[作 用] この発明の作用について説明すると、第1および第2の
設定手段2.3により記録紙の印字フォーマットに対応
して複数の印字可能領域を設定すると共に、各印字n(
能領域に対応して書式情報を設定すると、印字制御手段
4は各印字可能領域の範囲内でかつその書式に基づいた
印字を順次行[実施例] 以下、この発明を図面に示す一実施例に基づいて具体的
に説明する。なお本実施例は[1木語ワードプロセッサ
に適用した例を示している。
[Function] To explain the function of the present invention, the first and second setting means 2.3 set a plurality of printable areas corresponding to the print format of the recording paper, and each print n(
When the format information is set corresponding to each printable area, the print control means 4 sequentially prints within each printable area and based on the format [Embodiment] Hereinafter, an embodiment of the present invention is shown in the drawings. This will be explained in detail based on. Note that this embodiment shows an example applied to a [1] wooden word processor.

構成 第2図はこの日本語ワードプロセッサの基本的な回路構
成図である。図中11はこのワードプロセッサの入力部
で、このキーボード」−には各種の文字キー等の他、上
下左右のカーソルキーKA、変更キーKB、印字キーK
C1実行キーKI)、終了キーKEが設けられている。
Configuration FIG. 2 is a basic circuit configuration diagram of this Japanese word processor. Reference numeral 11 in the figure is the input section of this word processor, and the keyboard includes various character keys, cursor keys KA for up and down, left and right, change key KB, and print key K.
A C1 execution key KI) and an end key KE are provided.

しかして、入力部llから操作キーに対応して出力され
るキー人力信号は、入力制御部12に送られて対応する
キーコードに変換されたのちCPU(中央演算処理回路
)13に取り込まれる。
Thus, the key human input signal outputted from the input section 11 corresponding to the operation key is sent to the input control section 12, converted into a corresponding key code, and then taken into the CPU (central processing circuit) 13.

CPU13は予め記憶されているマイクロプログラムに
したがって各種の動作、即ち、入力処理、かな漢字変換
処理、書式設定処理、印字処理等を制御する。モしてC
PU13には座標メモリ14、データメモリ15および
書式メモリ16、ワークRAM17、転送用RAM18
が双方向に接続されている。
The CPU 13 controls various operations, ie, input processing, kana-kanji conversion processing, formatting processing, printing processing, etc., according to microprograms stored in advance. C
The PU 13 includes a coordinate memory 14, a data memory 15, a format memory 16, a work RAM 17, and a transfer RAM 18.
are connected in both directions.

座標メモリ14はRAMによって構成され、CPU13
の制御下でデータの書き込み、読み出し動作が制御され
る。そして、座標メモリ14は記録紙の印字フォーマッ
トに対応して複数の印字可能領域を設定する場合に、各
印字可能領域の先頭位置を示す座標位置データ等および
各印字11f能領域に対応して設定される古式データを
記憶するもので、本実施例にあっては行アドレス「0」
〜「99」に対応して100ケの座標位置データが記憶
可能となっている。したがって、本実施例では座標メモ
リ14に最大lOOケの印字i+7能領域が設定可能で
ある。しかして、座標メモリ14にはXY座標系の座標
位置データ(x、y)が記憶される他、この座標位置デ
ータに対応して文字数が記憶される。ここで、文字数は
印字ii7能領域内の1行当たりの文字数で、座標位置
データに対応して設定され、これによって、印字II丁
能領域の先頭位置(左上端位置)を示す座標位置データ
に対して設定文字数および設定桁ピンチ分だけ離れた位
置が右上端位置となる。この結果、右1一端位置に対応
する座標位置データに代わって文字数が座標メモリ14
に設定される。なお、本実施例では印字可能領域の設定
において行方向(縦方向)の設定は行わず、その左1一
端位置に対応する上記座標位置データと文字数とによっ
て領域設定が行われる。また座標メモリ14には書式デ
ータが各行アドレスに対応して設定される。ここで、書
式データとしては桁ピッチ、行ピッチ、禁則処理の有無
、縦書きあるいは横書き指定で、各印字可能領域の設定
データに対応して記憶される。
The coordinate memory 14 is composed of a RAM, and the CPU 13
Data write and read operations are controlled under the control of When setting a plurality of printable areas in accordance with the printing format of the recording paper, the coordinate memory 14 stores coordinate position data indicating the start position of each printable area and settings corresponding to each printing 11f function area. This is used to store old-style data, and in this embodiment, the row address is "0".
100 coordinate position data can be stored corresponding to "99". Therefore, in this embodiment, a maximum of 100 printing areas can be set in the coordinate memory 14. Thus, the coordinate memory 14 stores coordinate position data (x, y) of the XY coordinate system, and also stores the number of characters corresponding to this coordinate position data. Here, the number of characters is the number of characters per line in the printing area, and is set corresponding to the coordinate position data. On the other hand, the position that is separated by the set number of characters and set digit pinch is the upper right end position. As a result, the number of characters is changed to the coordinate memory 14 instead of the coordinate position data corresponding to the right 1 end position.
is set to In this embodiment, when setting the printable area, the line direction (vertical direction) is not set, but the area is set based on the coordinate position data and the number of characters corresponding to the left one end position. Further, format data is set in the coordinate memory 14 corresponding to each row address. Here, the format data includes column pitch, line pitch, presence or absence of prohibition processing, vertical writing or horizontal writing designation, and is stored corresponding to the setting data of each printable area.

データメモリ15は座標メモリ14に対応して行アドレ
ス「0」〜「99」のアドレス領域を有する構成で、各
行アドレス領域には座標メモリ14に記憶された座標位
置データ等によって特定された印字可能領域内に印字さ
れるべき文章データが夫々記憶されるものである。
The data memory 15 has an address area of row addresses "0" to "99" corresponding to the coordinate memory 14, and each row address area can be used for printing specified by the coordinate position data etc. stored in the coordinate memory 14. Text data to be printed within each area is stored.

書式メモリ16は書式データを設定する際あるいは設定
された書式データの書式に基づいた印字を行う際に、現
在の書式データを記憶するもので、その書き込み、読み
出しはCPU13によって制御される。
The format memory 16 stores current format data when setting format data or printing based on the format of the set format data, and its writing and reading are controlled by the CPU 13.

ワークRAM17は座標位置データのX座標成分を記憶
するXレジスタとY座標成分を記憶するYレジスタとを
有する構成で、文字数算出時に利用される。
The work RAM 17 has an X register for storing an X coordinate component of coordinate position data and a Y register for storing a Y coordinate component, and is used when calculating the number of characters.

転送用RAM18は領域設定を行う際あるいは印字を行
う際に転送すべきデータを一時記憶するもので、領域設
定時には座標位置データ(X、y)、文字数を座標メモ
リ14に転送し、座標メモリ14の指定行アドレスに対
17て設定登録を行う。この場合、領域カウンタ19は
座標メモリ14およびデータメモリ15の行アドレス領
域を指定するカウンタで、この計数値データはCPUl
3の制御下で座標メモリ14、データメモリ15に夫々
書込アドレスデータとして送られる。
The transfer RAM 18 temporarily stores data to be transferred when setting an area or printing. When setting an area, the transfer RAM 18 transfers the coordinate position data (X, y) and the number of characters to the coordinate memory 14. Setting registration is performed for the designated line address 17. In this case, the area counter 19 is a counter that specifies the row address area of the coordinate memory 14 and data memory 15, and this count value data is
3 is sent to the coordinate memory 14 and data memory 15 as write address data, respectively.

読出カウンタ20は領域カウンタ19と同様に座標メモ
リ14、データメモリ15の行アドレス領域を指定する
カウンタで、この計数値データはデータメモリ15内の
文章データを座標メモリ14の設定内容に応じたフォー
マットで夫々印字させる場合に読出アドレスデータとし
て座標メモリ14、データメモリ15に夫々送られる。
Like the area counter 19, the read counter 20 is a counter that specifies the row address area of the coordinate memory 14 and data memory 15, and this count value data converts the text data in the data memory 15 into a format according to the settings of the coordinate memory 14. When printing is performed, the read address data is sent to the coordinate memory 14 and data memory 15, respectively.

またCPU13には表示制御部21を介して表示部22
が接続され、CPUIIから出力される表示データが表
示制御部21で表示駆動信号に変換されたのち表示部2
2に送られて表示される。
The CPU 13 also has a display unit 22 via a display control unit 21.
is connected, and the display data output from the CPU II is converted into a display drive signal by the display control unit 21, and then the display unit 2
2 and displayed.

また、CPU13には印字制御部23を介してプリンタ
24が接続され、CPUIIから出力される印字データ
がプリンタ24にセットされた記録紙に印字される。プ
リンタ24は24木のサーマル印字素子からなる印字ヘ
ッド24−1を有するサーマルプリンタによって構成さ
れ、24X24ドツトの文字サイズで1行当たり最大5
0桁印字可能なものである。また、印字制御部23は書
式メモリ16からの書式データに応じた印字制御を行う
Further, a printer 24 is connected to the CPU 13 via a print control unit 23, and print data output from the CPU II is printed on recording paper set in the printer 24. The printer 24 is constituted by a thermal printer having a print head 24-1 consisting of 24 thermal printing elements, and has a character size of 24 x 24 dots and a maximum of 5 characters per line.
It is possible to print 0 digits. Further, the print control section 23 performs print control according to the format data from the format memory 16.

動作 先ず、設定モードにおいて連絡書や履歴書のように印字
フォーマットが定められている定型用紙をプリンタ24
にセットする。しかして、この設定モードにおいては第
3図に示すフローチャートにしたがった動作が実行され
る。即ち、このフローに入ると、書式メモリ16、領域
カウンタ19の内容を夫々クリアするイニシャライズ処
理が実行される(ステップSt)。次に、ステップS2
〜S4では定型用紙の印字フォーマットに対応して印字
範囲の設定を行う。
Operation First, in the setting mode, print a standard sheet of paper with a predetermined printing format, such as a correspondence or resume, on the printer 24.
Set to . In this setting mode, operations according to the flowchart shown in FIG. 3 are executed. That is, when entering this flow, initialization processing is executed to clear the contents of the format memory 16 and the area counter 19, respectively (step St). Next, step S2
- In S4, the printing range is set in accordance with the printing format of the standard paper.

即ち、定型用紙に記入されている罫線や枠に対応する印
字フォーマットに合せてその印字フォーマット通りに印
字Ell領領域設定を行うが、この場合、上下左右カー
ソルキーKAを操作してプリンタ24の印字ヘッド24
−1を所望の位置にセットする。ここで、例えば、第5
図に示すような印字フォーマットに対応して複数の印字
可能領域(図中斜線を付して示す)FA−1,PA−2
、PA−3を設定するものとする。いま、最初の領域P
A−1の設定を行う場合には、カーソルキーKAを操作
して印字ヘッド24−1を領域FA−1の先頭位置(左
端位置)[]へ移動させる。
That is, the printing Ell area is set according to the printing format corresponding to the ruled lines and frames written on the standard paper. head 24
-1 to the desired position. Here, for example, the fifth
Multiple printable areas (shown with diagonal lines in the figure) FA-1, PA-2 corresponding to the print format shown in the figure
, PA-3 shall be set. Now, the first area P
When setting A-1, operate the cursor key KA to move the print head 24-1 to the beginning position (left end position) [] of the area FA-1.

この場合、印字ヘッド24−1はカーソルキーKAが操
作される毎に、1文字の文字サイズ分、例えば印字サイ
ズが24X24ドツトであれば24ドツト分ずつ操作キ
ーの種類に対応して上下、左右のいずれかの方向に移動
される。このようにして領域FA−1の左端位置「qに
印字へラド24−1をセットしたら、実行キーKDを操
作すると、その座標位置データはワークRAMl7から
転送用RAM18に送られて記憶される。
In this case, each time the cursor key KA is operated, the print head 24-1 prints 24 dots each time the cursor key KA is operated. is moved in either direction. After setting the print dial 24-1 to the left end position "q" of the area FA-1 in this way, when the execution key KD is operated, the coordinate position data is sent from the work RAM 17 to the transfer RAM 18 and stored therein.

ステップS2は上述のような操作手順によって領域の左
端座標を指定入力した場合の処理である。
Step S2 is a process performed when the left end coordinates of the area are specified and input using the operating procedure as described above.

このようにして領域の左端座標を入力したら、次に文字
数の指定入力処理(ステップS3)が行われる。この処
理は指定領域内においてその幅方向に入力される文字数
を置数入力するもので、これによって入力された文字数
は転送用RAM18に記憶される。そして、実行キーK
Dが操作されると、次のステップS4に進み、転送用R
AM18内の座標位置データ(x、y)および文字数が
領域カウンタ19の値でアドレス指定される座標メモリ
14のエリアに転送されてその設定登録が行われる。い
ま、最初の領域に対する設定が行われた場合であるから
、領域カウンタ19の値はrOJ、したがって座標メモ
リ14の行アドレス「0」に対応するエリアに領域FA
−1の左端座標並びに文字数が設定される。
After inputting the left end coordinates of the area in this manner, a process for specifying the number of characters (step S3) is then performed. In this process, the number of characters to be input in the width direction within the designated area is entered, and the number of characters thus input is stored in the transfer RAM 18. And execute key K
When D is operated, the process advances to the next step S4, and the transfer R
The coordinate position data (x, y) and the number of characters in the AM 18 are transferred to the area of the coordinate memory 14 addressed by the value of the area counter 19, and the settings are registered. Now, since the setting for the first area has been performed, the value of the area counter 19 is rOJ, so the area FA is placed in the area corresponding to the row address "0" of the coordinate memory 14.
The leftmost coordinate of -1 and the number of characters are set.

このような領域設定が終ると、次に書式メモリ16の内
容が読み出されてそこにデータが有るかが調べられる(
ステップS5、S6)。最初は書式データの入力を行っ
ていないので、次のステップS7、S8では書式データ
の設定が行われる。
Once such area setting is completed, the contents of the format memory 16 are then read out and checked to see if there is data there (
Steps S5, S6). Since no format data is entered at first, format data is set in the next steps S7 and S8.

即ち、ステップS7で通常のキー操作手順にしたがって
桁ピッチの指定、行ピッチの指定、禁則処理の有無、タ
テ/ヨコ印字指定が行われると、指定入力された書式デ
ータは座標メモリ14および書式メモリ16に古き込ま
れる(ステップS8)。この場合座標メモリ14は領域
カウンタ19の値でアドレス指定されるので、最初は座
標メモリ14の行アドレスrOJに対応するエリアに書
式データが設定される。
That is, when the digit pitch, line pitch, prohibition processing, and vertical/horizontal printing are specified according to the normal key operation procedure in step S7, the specified format data is stored in the coordinate memory 14 and the format memory. 16 (step S8). In this case, since the coordinate memory 14 is addressed by the value of the area counter 19, format data is initially set in the area of the coordinate memory 14 corresponding to the row address rOJ.

このようにして最初の領域設定とこれに対応する書式デ
ータの設定が終ると、次の領域に対する設定可能状態へ
移すために領域カウンタ19の値を+1するインクリメ
ント処理(ステップS9)が実行される。そして、キー
人力待ち状態となる(ステップS 10)。ここで、終
了キーKE(ステップ5ll)、カーソルキーKA(ス
テップ512)の操作有無が調べられ、いずれのキーが
操作されるまでキー待ちとなる。いま、カーソルキーK
Aが操作された場合にはステップS2に戻り、次の領域
(第5図の領域FA−2)に対する設定処理(ステー2
プS2〜S4)が行われる。これによって、領域FA−
2の左端位置1目の座標と文字数が座標メモリ14の行
アドレスrlJに対応するエリアに設定される。そして
、書式メモリ16の内容が読み出され、データの有無が
調べられるが(ステップS5、S6)、いま書式メモリ
16には最初の領域FA−1に対する書式データが記憶
保持されているので、ステップS6でそのことが検出さ
れてステップS13〜520の実行に移る。
When the initial area setting and the corresponding format data setting are completed in this way, an increment process (step S9) is executed to increment the value of the area counter 19 by 1 in order to move to a setting ready state for the next area. . Then, the system enters a state of waiting for key human power (step S10). Here, it is checked whether the end key KE (step 511) and the cursor key KA (step 512) have been operated, and the process waits until any key is operated. Now, cursor key K
If A is operated, the process returns to step S2 and the setting process (step 2) for the next area (area FA-2 in FIG. 5) is performed.
Steps S2 to S4) are performed. As a result, the area FA-
The coordinates and number of characters of the first left end position of 2 are set in the area corresponding to the row address rlJ of the coordinate memory 14. Then, the contents of the format memory 16 are read out and the presence or absence of data is checked (steps S5, S6). However, since the format memory 16 currently stores the format data for the first area FA-1, step This is detected in S6 and the process moves to steps S13 to S520.

これらの処理は、前回設定した書式データに変更がなけ
ればこの書式データを今回の領域に対する書式データと
して使用するための処理である。
These processes are for using the previously set format data as the format data for the current area if there is no change.

即ち、先ず、書式メモリ16から桁ピッチ、行ピッチが
読み出されて一定時間表示される(ステップ513)。
That is, first, the digit pitch and line pitch are read out from the format memory 16 and displayed for a certain period of time (step 513).

ここで、変更があるときには変更キーKBが操作される
が変更キーKBが一定時間内に操作されなければ、その
ことがステップS14で検出され、書式メモリ16から
禁則処理力/無のデータが読み出され、一定時間表示さ
れる(ステップS l 6)。そして、この場合におい
ても変更キーKBが一定時間内に操作されなければステ
ップS17からステップS19へ進み、書式メモリ16
からタテ/ヨコ印字のデータが読み出され一定時間表示
される。この場合、タテ/ヨコ印字も変更がなければ一
定時間経過しても変更キーKBは操作されないので、そ
のことがステップS20で検出され、ステップS8に進
み、書式メモリ16内の書式データが全て読み出され、
座標メモリ14の指定エリアに設定される。したがって
、前回の領域に対応して設定された書式に変更がなけれ
ば、その書式をそのまま今回の書式データとして設定す
ることができるので、設定操作の簡略化が可能となる。
Here, when there is a change, the change key KB is operated, but if the change key KB is not operated within a certain period of time, this is detected in step S14, and the data of Kinoku Processing Power/None is read from the format memory 16. and displayed for a certain period of time (step S l 6). Even in this case, if the change key KB is not operated within a certain period of time, the process advances from step S17 to step S19, and the format memory 16
Vertical/horizontal printing data is read out from and displayed for a certain period of time. In this case, if there is no change in vertical/horizontal printing, the change key KB will not be operated even after a certain period of time has elapsed, so this is detected in step S20, and the process proceeds to step S8, in which all format data in the format memory 16 is read. served,
It is set in the specified area of the coordinate memory 14. Therefore, if there is no change in the format set corresponding to the previous area, that format can be set as the current format data as is, thereby simplifying the setting operation.

また、各書式項目のうちその一部のみを変更する場合に
は、変更しようとする書式データが表示されている期間
に変更キーKBを操作すれば、それに対応して桁ピッチ
、行ピッチの指定(ステップ515)、禁則処理有無の
変更(ステップ518)、タテ/ヨコ印字の変更(ステ
ップ521)が行われる。なお、書式項目の全てを変更
する場合にはその書式項目が表示されている各期間に夫
々変更キーKBを操作すればよい。
If you want to change only a part of each format item, you can specify the digit pitch and line pitch by operating the change key KB while the format data you want to change is displayed. (Step 515), the presence or absence of prohibition processing is changed (Step 518), and the vertical/horizontal printing is changed (Step 521). In addition, if all format items are to be changed, the change key KB may be operated for each period in which the format item is displayed.

しかして、2番目の書式データの設定が終ると、領域カ
ウンタ19の値が+1されるので(ステップS9)、次
の領域(第5図の領域FA−3)に対する設定可能とな
り、上述のようにして領域設定および書式設定が行われ
る。そして、全ての領域に対しての設定が終ったら、終
了キーKEを操作する。すると、そのことがステップS
llで検出され、この設定モードが解除される。
When the setting of the second format data is completed, the value of the area counter 19 is incremented by 1 (step S9), so that the next area (area FA-3 in FIG. 5) can be set, and as described above. Area settings and formatting are performed using When the settings for all areas are completed, the end key KE is operated. Then, that is step S
ll is detected and this setting mode is canceled.

上述の如く各領域に夫々対応してその領域設定および書
式設定が終了したら、各領域内に印字すべき文章データ
の入力を行う。この場合、文章データの入力は領域毎に
行われ、所定の領域指定操作で先ず、最初の領域を指定
すると、文章データはデータメモリ15の行アドレス「
0」に対応するエリアに書き込まれる。そして、次の領
域を指定すると、行アドレスrlJに対応するエリアに
文章データが書き込まれる。以下、同様に文章データは
指定領域に順次書き込まれる。
After completing the area setting and formatting for each area as described above, text data to be printed in each area is input. In this case, text data is input for each area, and when the first area is specified in a predetermined area designation operation, the text data is input to the data memory 15 at the line address "
0" is written in the area corresponding to "0". Then, when the next area is specified, text data is written in the area corresponding to the line address rlJ. Thereafter, the text data is sequentially written into the designated area in the same way.

次に、データメモリ15の内容を定型用紙に印字する場
合の動作について説明する。先ず、定型用紙のセットを
行うが、この場合、定型用紙の各印字可能領域のうち最
初に設定した領域、即ち、第5図の領域FA−1の先頭
位置「qを確認しながら、その位置「qを通り用紙の左
端と交わる位置に印字ヘッド24−1が来るようにセッ
トする。この状態において印字キーKCを操作すると、
第4図のフローが実行開始される。先ず、読出カウンタ
20の内容がクリアされる(ステップ531)。したが
って、最初は読出カウンタ20の値は「0」となり、こ
の値で座標メモリ14がアドレス指定される結果、座標
メモリ14の行アドレス「0」に対応するエリアから座
標位置データおよび文字数が読み出され、転送用RAM
18にセットされる(ステップ532)。また、座標メ
モリ14の指定エリアからは書式データが読み出されて
書式メモリ16にセットされる(ステップ533)。そ
して、転送用RAM18の内容が印字制御部23に送ら
れ、その結果、印字ヘッド24−1が座標位置へ移動さ
れる(ステップ524)。したがって、最初は領域FA
−1の位置1弓に印字ヘッド24−1がセットされる。
Next, the operation when printing the contents of the data memory 15 on standard paper will be explained. First, set the standard paper. In this case, check the first set area of each printable area of the standard paper, that is, the first position "q" of area FA-1 in Figure 5, and set the position. "Set the print head 24-1 so that it passes through q and intersects with the left edge of the paper. In this state, if you operate the print key KC,
Execution of the flow shown in FIG. 4 is started. First, the contents of the read counter 20 are cleared (step 531). Therefore, the value of the read counter 20 is initially "0", and as a result of the coordinate memory 14 being addressed with this value, the coordinate position data and the number of characters are read from the area corresponding to the row address "0" of the coordinate memory 14. and transfer RAM
18 (step 532). Further, format data is read from the specified area of the coordinate memory 14 and set in the format memory 16 (step 533). Then, the contents of the transfer RAM 18 are sent to the print control section 23, and as a result, the print head 24-1 is moved to the coordinate position (step 524). Therefore, initially the area FA
The print head 24-1 is set at position 1 of -1.

次に、指定文字数分のデータがデータメモリ15の指定
エリアから読み出され、書式メモリ16の内容に応じた
書式で印字される(ステップ535)。このようにして
最初の領域PA−1の1行目に対する印字が終ると、次
のステップ336に進み、改行処理が行われる。即ち、
座標位置データyに24ドツトC文字サイズ)および行
間ドツトが夫々加算され、これが新たなY座標のデータ
となる。このようにしてY座標の変更(改行)処理が終
ると、データメモリ15の指定エリア、いまの場合には
行アドレス「0」に対応するエリアにデータが残ってい
るかの判断が行われ(ステップ537)、全てのデータ
の印字が終了していなければステップS34に戻る。そ
の結果、領域PA−1の2行目の位置に印字ヘッド24
−1が移動され、この2行IIに設定文字数分のデータ
が設定書式に応じて印字される。そして、改行され、次
の3行目にデータがあれば1りびステップS34に戻る
。このようにして領域FA−1に対する印字が行われる
が、この場合、印字ヘッド24−1は領域FA−1の範
囲内で移動するので、データはその範囲内に印字される
ことになる。
Next, data for the specified number of characters is read from the specified area of the data memory 15 and printed in a format according to the contents of the format memory 16 (step 535). When the printing for the first line of the first area PA-1 is completed in this way, the process proceeds to the next step 336, where a line feed process is performed. That is,
24 dots (C character size) and line spacing dots are added to the coordinate position data y, and this becomes new Y coordinate data. When the Y coordinate change (line feed) process is completed in this way, it is determined whether data remains in the designated area of the data memory 15, in this case the area corresponding to line address "0" (step 537), if all data has not been printed, the process returns to step S34. As a result, the print head 24 is located at the second line position of area PA-1.
-1 is moved, and data for the set number of characters is printed on these two lines II according to the set format. Then, a new line is inserted, and if there is data in the next third line, the process returns to step S34. In this way, printing is performed on the area FA-1, but in this case, the print head 24-1 moves within the range of the area FA-1, so the data is printed within that range.

しかして、領域FA−1に対するデータが全て印字され
ると、ステップ338、S39に進み、領域カウンタ1
9と読出カウンタ20の値が一致するかが調べられる。
When all the data for area FA-1 has been printed, the process advances to steps 338 and S39, and area counter 1 is printed.
9 and the value of the read counter 20 are checked.

いま、領域カウンタ19には領域設定数に応じた値がセ
ットされているので、最初の領域FA−1に対する印字
終了時点ではステップS39に進み、読出カウンタ20
の値が+1されて「1」となる。そして、ステップS3
2に戻り、次の行アドレス「1」に対応する座標メモリ
14のエリアから座標位置データおよび文字数が読み出
されて転送用RAM18にセットされる。このため、印
字へラド24−1はステップS34の処理で領域PA−
2の先頭位置1目に移動される。即ち、印字ヘッド24
−1は領域FA−1に対する印字が終ると、直ちに次の
領域FA−2の先頭位置計理へ移動され、この領域FA
−2に対する印字処理(ステップS34〜537)が実
行される。このようにして領域FA−2に対する印字が
終ると、読出カウンタ20の値が+1されたのち、再び
ステップS32に戻るため、領域PA−3に対する印字
処理に移る。そして、この領域PA−3の印字が終ると
、第4図の印字動作は終了する。
Now, since the area counter 19 is set to a value corresponding to the number of areas set, when printing is completed for the first area FA-1, the process advances to step S39, and the reading counter 20 is set to a value corresponding to the number of areas set.
The value of is increased by +1 to become "1". And step S3
2, the coordinate position data and the number of characters are read from the area of the coordinate memory 14 corresponding to the next row address "1" and set in the transfer RAM 18. Therefore, the print head 24-1 is moved to the area PA- in the process of step S34.
2 is moved to the first position. That is, the print head 24
-1 is immediately moved to the start position of the next area FA-2 when printing for area FA-1 is completed, and this area FA-1
The printing process for -2 (steps S34 to S537) is executed. When the printing on the area FA-2 is completed in this way, the value of the read counter 20 is incremented by 1, and then the process returns to step S32, thereby moving on to the printing process on the area PA-3. When the printing in this area PA-3 is completed, the printing operation shown in FIG. 4 is completed.

なお、」−記実施例は印字可能領域の設定に際してその
幅方向の設定のみを行い縦(行)方向の設定は行わない
が、第6図に示すように、領域のスタート位置(左上端
)[1とエンド位置(右下端)[Dの座標位置を設定す
るようにすれば、横方向および縦方向の設定が0f能と
なる。
In addition, in the embodiment described in "-", when setting the printable area, only the width direction is set, and the vertical (line) direction is not set, but as shown in FIG. If the coordinate position of [1 and end position (lower right end)][D is set, the settings in the horizontal and vertical directions become 0f function.

また、書式データとしては上記実施例に限らず、倍角指
定有無等であってもよい。
Further, the format data is not limited to the above embodiment, and may include information such as whether double-angle is specified or not.

[発明の効果] この発明は以上詳細に説明したように、記録紙の印字フ
ォーマットに対応して複数の印字可能領域を設定可能と
すると共に各印字可能領域に対応して書式データを設定
可能とし、設定された各印字可能領域の範囲内でかつ設
定された。11式に基づいた印字を行うようにしたから
、連絡書や履歴書の如く、複雑な印字フォーマットの記
録紙に対する印字であっても効率良く行うことができる
等の効果を有する。
[Effects of the Invention] As described in detail above, the present invention enables setting of a plurality of printable areas corresponding to the printing format of recording paper, and also allows format data to be set corresponding to each printable area. , and within the range of each set printable area. Since printing is performed based on Type 11, it is possible to efficiently print even on recording paper with a complicated printing format, such as a correspondence or a resume.

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

第1図はこの発明の構成を示す機能ブロック図、第2図
〜第5図はこの発明の一実施例を示し、第2図はこの発
明を適用したワードプロセッサの基本的なブロック回路
図、第3vlJは設定動作を示したフローチャート、第
4図は印字動作を示したフローチャート、第5図は領域
設定の具体例を示した図、第6図はこの発明の変形例で
、領域設定の他の例を示した図である。 11・・・・・・入力部、13・・・・・・CPU、1
4・・・・・・座標メモリ、15・・・・・・データメ
モリ、23・・・・・・印字制御部、24・・・・・・
プリンタ。
FIG. 1 is a functional block diagram showing the configuration of this invention, FIGS. 2 to 5 show an embodiment of this invention, and FIG. 2 is a basic block circuit diagram of a word processor to which this invention is applied. 3vlJ is a flowchart showing the setting operation, FIG. 4 is a flowchart showing the printing operation, FIG. 5 is a diagram showing a specific example of area setting, and FIG. 6 is a modification of the present invention. It is a figure showing an example. 11...Input section, 13...CPU, 1
4...Coordinate memory, 15...Data memory, 23...Print control unit, 24...
printer.

Claims (1)

【特許請求の範囲】[Claims] 記録紙と印字ヘッドとの相対的な移動によって印字を行
う印字手段と、記録紙の印字フォーマットに対応して複
数の印字可能領域を設定する第1の設定手段と、この第
1の設定手段で設定された各印字可能領域に対応して書
式情報を夫々設定する第2の設定手段と、前記第1の設
定手段で設定された各印字可能領域の範囲内で、かつ前
記第2の設定手段に設定されている書式情報の書式に基
づいた印字を行わせる印字制御手段とを具備したことを
特徴とする定型フォーマット印字装置。
a printing means that performs printing by relative movement of the recording paper and the print head; a first setting means that sets a plurality of printable areas in accordance with the printing format of the recording paper; a second setting means for respectively setting format information corresponding to each set printable area, and within the range of each printable area set by the first setting means, and the second setting means 1. A fixed format printing device, comprising: printing control means for printing based on a format of format information set in .
JP61097845A 1986-04-30 1986-04-30 Data output device Expired - Lifetime JPH0735116B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61097845A JPH0735116B2 (en) 1986-04-30 1986-04-30 Data output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61097845A JPH0735116B2 (en) 1986-04-30 1986-04-30 Data output device

Related Child Applications (3)

Application Number Title Priority Date Filing Date
JP5224985A Division JPH0796648A (en) 1993-08-19 1993-08-19 Setting method for sentence format
JP5224986A Division JPH06318196A (en) 1993-08-19 1993-08-19 Method for outputting data
JP5224987A Division JPH07108588B2 (en) 1993-08-19 1993-08-19 Document data output device

Publications (2)

Publication Number Publication Date
JPS62255175A true JPS62255175A (en) 1987-11-06
JPH0735116B2 JPH0735116B2 (en) 1995-04-19

Family

ID=14203061

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61097845A Expired - Lifetime JPH0735116B2 (en) 1986-04-30 1986-04-30 Data output device

Country Status (1)

Country Link
JP (1) JPH0735116B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0352061A (en) * 1989-07-14 1991-03-06 Internatl Business Mach Corp <Ibm> Method and apparatus of form finish
JPH0524298A (en) * 1991-07-23 1993-02-02 Nec Corp Format control method
JPH06318196A (en) * 1993-08-19 1994-11-15 Casio Comput Co Ltd Method for outputting data
US6226094B1 (en) 1996-01-05 2001-05-01 King Jim Co., Ltd. Apparatus and method for processing character information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5892077A (en) * 1981-11-25 1983-06-01 オムロン株式会社 Ticket printing system
JPS60262677A (en) * 1984-06-11 1985-12-26 Toshiba Corp Document printer
JPS6151289A (en) * 1984-08-20 1986-03-13 株式会社東芝 Ticket surface format generator

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5892077A (en) * 1981-11-25 1983-06-01 オムロン株式会社 Ticket printing system
JPS60262677A (en) * 1984-06-11 1985-12-26 Toshiba Corp Document printer
JPS6151289A (en) * 1984-08-20 1986-03-13 株式会社東芝 Ticket surface format generator

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0352061A (en) * 1989-07-14 1991-03-06 Internatl Business Mach Corp <Ibm> Method and apparatus of form finish
JPH0524298A (en) * 1991-07-23 1993-02-02 Nec Corp Format control method
JPH06318196A (en) * 1993-08-19 1994-11-15 Casio Comput Co Ltd Method for outputting data
US6226094B1 (en) 1996-01-05 2001-05-01 King Jim Co., Ltd. Apparatus and method for processing character information

Also Published As

Publication number Publication date
JPH0735116B2 (en) 1995-04-19

Similar Documents

Publication Publication Date Title
JPS62255175A (en) Standardized format printer
JP3016515B2 (en) Character processing apparatus and method
JPH0522932B2 (en)
JPS6338735B2 (en)
JPH0796648A (en) Setting method for sentence format
JPS62286780A (en) Format data setting apparatus
JPH06318196A (en) Method for outputting data
JP2555558B2 (en) Character processor
JPH0123192Y2 (en)
JPH06316131A (en) Composition data output device
JP2555557B2 (en) Character processor
JP2555556B2 (en) Character processor
JPH0521159Y2 (en)
JPS62131322A (en) Word processor
JPH06231126A (en) Document processor
JPH0720770Y2 (en) Document creation device
JPS62118382A (en) Document format alteration system
JP2610405B2 (en) Document creation device
JPH10161827A (en) Method for outputting output-unable character information
JPS6411985B2 (en)
JPS6367211B2 (en)
JPH0122943B2 (en)
JPS60254274A (en) Document processor
JPS6219475A (en) Printer
JPS62256029A (en) Fixed format printing device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term