JPH0239356A - Document producing device - Google Patents

Document producing device

Info

Publication number
JPH0239356A
JPH0239356A JP63190230A JP19023088A JPH0239356A JP H0239356 A JPH0239356 A JP H0239356A JP 63190230 A JP63190230 A JP 63190230A JP 19023088 A JP19023088 A JP 19023088A JP H0239356 A JPH0239356 A JP H0239356A
Authority
JP
Japan
Prior art keywords
printing
address
font
postcard
print
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
JP63190230A
Other languages
Japanese (ja)
Inventor
Toshinori Ezaka
江坂 敏範
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63190230A priority Critical patent/JPH0239356A/en
Publication of JPH0239356A publication Critical patent/JPH0239356A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To print the addresses and the body parts of a reply-paid postcard with the fonts of them switched with each other by realizing the switch of character fonts during a printing job. CONSTITUTION:A user refers to the menu displayed at a display part 8 and designates the type HF of a postcard, the surface and rear sides PF of the postcard, the print font F1 of the body part, and the print font F2 of the address respectively via a keyboard 5. These input data are stored in a register 11. Then a CPU 6 prints the document data of both buffers 1 and 2 via a printer 7 based on said input conditions and the paper feed values stored in the registers 12 and 13.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、往復はがきの宛名及び本文の印刷機能をもつ
パーソナルワードプロセッサ等の文書作成装置に係り、
特に往復はがきの本文の印字フォントと宛名書きの文字
フォントをそれぞれに指定して、本文と宛名を互いに異
なるフォントで印刷できる往復はがきの印刷処理機能を
備えた文書作成装置に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a document creation device such as a personal word processor that has a function of printing the address and text of a return postcard.
In particular, the present invention relates to a document creation device equipped with a return postcard printing processing function capable of printing the main text and the address in different fonts by specifying the printing font for the main text of the return postcard and the character font for writing the address.

(従来の技術) 従来、日本語ワードプロセッサに於ける、はがきの宛名
印刷機能は、はがきの宛名書き部分に宛先を印刷する宛
名書き印刷と、はがきの裏書き部分に本文を印刷する裏
書き印刷とをそれぞれ別のオペレーションで行なう必要
があり、従って、例えば往復はがきの往信用及び返信用
の双方にそれぞれ宛名及び本文を印刷しようとすると、
−枚の往復はがきに対して4回の独立したはがき印刷オ
ペレーション(印刷操作)が必要となり、印刷作業に多
くの時間と労力を要していた。
(Prior art) Conventionally, the postcard address printing function in Japanese word processors has two functions: address printing, which prints the addressee on the address section of the postcard, and endorsement printing, which prints the text on the endorsement section of the postcard. It is necessary to perform each in a separate operation. Therefore, for example, if you try to print the address and text on both the sending and reply postcards of a return postcard,
- Four independent postcard printing operations were required for each double postcard, which required a lot of time and effort for printing.

又、従来では、本文の印字フォントが通常の文書印刷と
同様に印刷6式で設定したフ4−ントに従うことから、
フォントを替えて印刷しようとするときは、印刷書式に
よる印字フォントの再設定を必要とし、操作が非常に繁
雑となっていた。
In addition, in the past, the printing font for the main text follows the font set in Printing Type 6, as in normal document printing.
When attempting to print by changing the font, it is necessary to reset the print font according to the print format, making the operation extremely complicated.

(発明が解決しようとする課題) 上記したように、従来の宛名印刷機能をもつ日本語ワー
ドプロセッサに於いては、往復はがきの宛名と本文をそ
れぞれフォントを替えて印刷する際に多くの時間と労力
を要し、操作性が悪いという問題があった。
(Problem to be Solved by the Invention) As mentioned above, in conventional Japanese word processors that have an address printing function, it takes a lot of time and effort to print the address and body of a return postcard by changing the fonts respectively. There was a problem in that it required a lot of time and had poor operability.

本発明は上記実情に鑑みなされたもので、往復はがきの
宛名と本文をそれぞれフォントを替えて印刷する際の操
作負担を大幅に軽減できる文書作成装置を提供すること
を目的とする。
The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to provide a document creation device that can significantly reduce the operational burden when printing the address and body of a return postcard by changing the fonts respectively.

[発明の構成] (課題を解決するための手段及び作用)本発明は、はが
きの宛名印刷機能をもつ文書作成装置に於いて、往復は
がきの裏書き部分に印刷される本文データを格納する文
書バッファと、上記往復はがきの裏書き部分と同一面の
宛名書き部分に印刷される宛先データを格納する宛先デ
ータバッファと、上記本文データ及び宛先データの印字
位置情報を格納する印字位置テーブルと、上記本文デー
タの印字フォントを指定する本文フォント指定手段、及
び上記宛先データの印字フォントを指定する宛名フォン
ト指定手段と、上記往復はがきの裏書き部分への印刷時
に於いて上記文書バッファから本文データを1文字ずつ
読み出し、宛名書き部分への印刷時に於いて上記宛先デ
ータバッファから宛先データを1文字ずつ読み出す手段
と、少なくとも2種のフォントを記憶するフォント記憶
部を有し、上記文書バッファから取出した本文の文字デ
ータを上記本文フォント指定手段で指定したフォントに
従いパターン展開して印字出力し、上記宛先データバッ
ファから取出した宛先文字データを上記宛名フォント指
定手段で指定したフォントに従いパターン展開して印字
出力する手段とを有し、往復はがきの同一面の本文と宛
名をそれぞれに指定した固有のフォントで連続して印刷
できる構成としたもので、これにより往復はがきの宛名
と本文をそれぞれフォントを替えて印刷する際の操作負
担を大幅に軽減でき、往復はがきの本文と宛名のフォン
トを替えての印刷が能率良く円滑に実行できる。
[Structure of the Invention] (Means and Effects for Solving the Problems) The present invention provides a document that stores text data to be printed on the endorsement portion of a return postcard in a document creation device having a postcard address printing function. a buffer, a destination data buffer that stores destination data to be printed on the address writing section on the same side as the endorsement section of the double postcard, a print position table that stores print position information of the body data and destination data, and the above-mentioned printing position table. A body font specifying means for specifying a printing font for the body data, an address font specifying means for specifying a printing font for the destination data, and a body font specifying means for specifying a printing font for the above-mentioned destination data; A means for reading destination data character by character and reading destination data character by character from the destination data buffer when printing on the address writing area, and a font storage unit storing at least two types of fonts, and a body text extracted from the document buffer. The character data is pattern-developed according to the font specified by the above-mentioned body font specification means and printed out, and the destination character data extracted from the destination data buffer is pattern-developed according to the font specified by the above-mentioned address font specification means and outputted as printout. It has a structure that allows the text and address on the same side of a return postcard to be printed consecutively in a unique font specified for each, so that the address and text of the return postcard can be printed in different fonts. This greatly reduces the operational burden when printing, and enables efficient and smooth printing of double postcards by changing the font of the text and addressee.

(実施例) 以下図面を参照して本発明の一実施例を説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図に於いて、1は文字コード列等からなる文書デー
タを貯える文書バッファであり、ここでは印刷対象とな
る官製はがき又は往復はがきの本文が格納される。2は
、はがきの宛名印刷の際にリードアクセスされる宛先デ
ータバッファであり、名前・郵便番号・住所等の複数項
目からなる宛先データを1宛先データブロツクとして、
各宛先データを差出人/受取人が識別可能な状態で貯え
る。
In FIG. 1, reference numeral 1 denotes a document buffer that stores document data consisting of character code strings, etc., and stores the text of an official postcard or a return postcard to be printed. 2 is a destination data buffer that is read accessed when printing addresses on postcards, and destination data consisting of multiple items such as name, postal code, address, etc. is treated as one destination data block.
Each destination data is stored in a state where the sender/receiver can be identified.

3は宛先データバッファ2に貯えられた宛先データの各
項目毎の印字制御情報が格納される印字制御テーブルで
あり、宛先データバッファ2より宛先データが読出され
る度に、その各印字データに対応する印字制御情報が読
出される。4は宛名印刷に使用される複数柾の印字フォ
ントを貯えるフォントバッファであり、ここでは−例と
して明朝とオプションの2種のフォントを幻汝に、明朝
フォントをフォントA領域、オプション指定によるフォ
ントをフォントB領域にそれぞれ格納するものとする。
3 is a print control table in which print control information for each item of destination data stored in the destination data buffer 2 is stored; Print control information is read out. 4 is a font buffer that stores printing fonts of multiple sizes used for address printing.Here, as an example, two types of fonts, Mincho and option, are used as illusion, and Mincho font is stored in font A area, depending on option specification. Assume that each font is stored in the font B area.

5は文書作成のための文字キー、及び各種のファンクシ
ョンキーを備えたキーボード(KB)であり、ここでは
宛名印刷の指定キー、宛名印刷メニューの各項目入力キ
ー等が設けられる。
Reference numeral 5 denotes a keyboard (KB) equipped with character keys for document creation and various function keys, including a designation key for address printing, keys for inputting each item of the address printing menu, and the like.

6は装置全体の制御を司るCPUであり、ここでは上記
文書バッファ1.宛先データバッファ2゜印字位置テー
ブル3.フォントバッファ4等を選択的にアクセスして
、宛名印刷データの作成処理、更には第2図に示すよう
な宛名印刷制御を実行する。7はCPU5の制御の下に
文書を印刷するプリンタ(PRT)であり、ここでは印
刷対象となる往復はがきの用紙送り、及び宛名と本文(
差出人及び受取人)の印刷を実行する。8は文書等が表
示される表示部(DISP)であり、ここではキーボー
ド5より宛名印刷指定が入力されると、第3図に示すよ
うな宛名印刷メニューを表示する。
6 is a CPU that controls the entire device, and here the document buffer 1. Destination data buffer 2゜Print position table 3. The font buffer 4 and the like are selectively accessed to create address print data and further execute address print control as shown in FIG. 7 is a printer (PRT) that prints documents under the control of the CPU 5; here, it feeds the paper for the return postcard to be printed, and prints the address and text (
(sender and recipient). Reference numeral 8 denotes a display section (DISP) on which documents and the like are displayed, and here, when an address print designation is input from the keyboard 5, an address print menu as shown in FIG. 3 is displayed.

11乃至14はそれぞれCPU6が宛名印刷制御の際に
用いるレジスタ類である。このうち、11は第3図に示
す宛名印刷指定による宛名印刷メニューの各項目の設定
情報が貯えられる宛名印刷モードレジスタであり、ll
aは往復はがき印刷が指定された際に12となる、はが
き種(官製/往復)表示フラグ(HP) 、llbは往
復はがき印刷の[宛名往信・本文返信]印刷の際に“0
”  [宛名返信・本文往信]印刷の際に“1″となる
印刷面表示フラグ(PP) 、llcは[本文フォント
]の指定内容(明朝−“0”、オブンヨンー“1″)を
示す本文フォントフラグ(PI) 、Irdは[宛名フ
ォントコの指定内容(明朝−“0” オプション−“1
″)を示す宛名フォンントフラグ(F2)である。12
は第4図に示されるように、はがきセット位置から宛名
印刷開始位置までの予め定められた用紙送りffi (
L)を貯えるレジスタ(R1) 、13は往復はがき印
刷時の本文の印刷実行行位置(1)を貯えるレジスタ(
172) 、14は往復はがき印刷時の本文の1ブロツ
ク(返信本文、又は往信本文)印刷終了に伴って“1”
となり、宛名の1ブロツク(宛名往信、又は宛名返信)
印刷終了に伴って0”となる印刷状態フラグ(SP)で
ある。
11 to 14 are registers used by the CPU 6 to control address printing. Of these, reference numeral 11 is an address print mode register in which setting information for each item of the address print menu based on the address print designation shown in FIG. 3 is stored.
a is the postcard type (official/round trip) display flag (HP), which is 12 when double postcard printing is specified, and llb is 0 when printing [address reply/text reply] for double postcard printing.
” [Reply to address / Send text] Print side display flag (PP) that becomes “1” when printing, llc is the main text that indicates the specified content of [Body font] (Mincho - “0”, Obunyon - “1”) Font flag (PI), Ird is [Address font code specification contents (Mincho - “0” option - “1
”) is the address font flag (F2).12
As shown in Fig. 4, the paper feed ffi (
13 is a register (R1) that stores the print execution line position (1) of the main text when printing double postcards.
172), 14 is "1" when printing one block of text (reply text or correspondence text) when printing a return postcard.
1 block of address (address send or address reply)
This is a printing status flag (SP) that becomes 0'' upon completion of printing.

第2図は上記実施例に於ける宛名印刷の処理フローを示
すフローチャートである。
FIG. 2 is a flowchart showing the processing flow of address printing in the above embodiment.

第3図(a)、(b)は上記実施例に於ける宛名印刷指
定による宛名印刷メニューを示す図であり、ここでは項
目選択位置を斜線で表している。
FIGS. 3(a) and 3(b) are diagrams showing address printing menus for specifying address printing in the above embodiment, and here the item selection positions are indicated by diagonal lines.

第4図は上記実施例に於ける往復はがきの宛名印刷実行
時の初期設定位置と宛名印刷開始位置を官製はがきと対
比して示す図である。
FIG. 4 is a diagram showing the initial setting position and address printing start position when printing the address on a return postcard in the above embodiment in comparison with an official postcard.

第5図(a)は上記実施例に於ける宛先データバッファ
2に格納された宛先データの構成及び格納状態を示す図
、同図(b)は同図(a)に示す各宛先データ、及び文
書バッファlに貯えられた本文の印字位置データを格納
する印字位置テーブル3の構成を示す図である。
FIG. 5(a) is a diagram showing the structure and storage state of destination data stored in the destination data buffer 2 in the above embodiment, and FIG. 5(b) is a diagram showing each destination data shown in FIG. 3 is a diagram showing the configuration of a print position table 3 that stores print position data of the main text stored in a document buffer l. FIG.

ここで、上記第1図乃至第5図を参照して本発明の一実
施例に於ける動作を説明する。尚、この発明に於いては
、往復はがきの[宛名往信・本文返信コ印刷の際、文書
バッファ1に返信用本文を選択的に格納しておき、[宛
名返信・本文往信コ印刷の際、文書バッファ■に往信用
本文を選択的に格納しておいて、本文を印刷する際、文
書バッファ1に格納された本文を一義的に印刷する本文
印刷機能と、文書バッファ1に、返信用本文と往信用本
文とをページを違えて格納しておき、例えば[宛名往信
・本文返信]印刷の際は第1ページに格納された返信用
本文を読み出して印刷し、[宛名返信・本文往信]印刷
の際は第2ページに格納された?、1信用本文を読み出
して印刷する本文印刷機能とが共に実現uJ能であるが
、ここでは説明を簡素にするため、文書バッファ1に格
納された本文を一義的に印刷する本文印刷機能を例に動
作を説明する。
Here, the operation in one embodiment of the present invention will be explained with reference to the above-mentioned FIGS. 1 to 5. In this invention, when printing a return postcard, the reply text is selectively stored in the document buffer 1, and when printing a return postcard, the reply text is selectively stored in document buffer 1. A body printing function that selectively stores the body of the outgoing message in the document buffer ■ and uniquely prints the body of the body stored in the document buffer 1 when printing the body, and the body of the reply in the document buffer 1. For example, when printing [address reply/body reply], read and print the reply body stored on the first page, and then print [address reply/body reply]. Was it stored on the second page when printing? , and the text print function that reads and prints the 1 credit text can be realized together, but to simplify the explanation here, we will use the text print function that uniquely prints the text stored in document buffer 1 as an example. Explain the operation.

又、ここでは、印刷対象となる往復はがき又は官製はが
きを所定のはがき印刷台紙に納めて、同台紙をプリンタ
7の用紙挿入口の予め定められたガイド位置にセットし
、−枚ずつ宛名印刷する[逐次]印刷モードと、自動給
紙装置をプリンタ7にセットして複数枚のはがきに連続
して宛名印刷する[自動コ印刷モードとによる双方の印
刷を可能としており、本発明に係る動作はいずれの場合
も基本的に同じであるので、以後[自動]印刷モードと
による印刷のみを例にとる。
Also, here, the return postcards or official postcards to be printed are placed in a predetermined postcard printing mount, the mount is set in a predetermined guide position of the paper insertion slot of the printer 7, and addresses are printed one by one. Both the [sequential] printing mode and the [automatic co-printing mode] in which addresses are printed on multiple postcards consecutively by setting the automatic paper feeder in the printer 7 are possible, and the operation according to the present invention is Since both cases are basically the same, only printing in the [automatic] print mode will be taken as an example hereafter.

以下に実施例の具体的な動作を説明する。The specific operation of the embodiment will be explained below.

先ず、宛名印刷の指定に先立ち、所定のフオームで予め
作成しておいた宛名用の文書を印刷情報として例えば外
部記憶等から宛先データバッファ2に呼出しておく。
First, prior to specifying address printing, a document for the address previously created in a predetermined format is called up as print information from, for example, external storage to the address data buffer 2.

また、往復はがき印刷の際は、宛先データの種別(往信
/返信)に応じた本文(即ち、宛名が往信のときは返信
用本文、宛名が返信のときは往信用本文)を同じく文書
バッファ1に格納しておき、その印刷書式(縦書き/横
書き等)を設定しておく 。
In addition, when printing a return postcard, the text corresponding to the type of address data (reply/reply) (i.e., the reply text when the addressee is a return address, and the return text when the addressee is a reply) is also stored in the document buffer 1. , and set its print format (vertical/horizontal writing, etc.).

また、オプションフォントを使用する際は、その使用す
るオプションフォントを外部のメディア(例えばフロッ
ピィディスク等)から呼出してフォントバッファ4のフ
ォントB領域に格納しておく (尚、フォントバッファ
4のフォントA 領域には明朝フォントが予め格納され
ている)。
Furthermore, when using an optional font, the optional font to be used is called up from an external medium (for example, a floppy disk, etc.) and stored in the font B area of font buffer 4 (note that the font A area of font buffer 4 The Mincho font is stored in advance).

更に、自動給紙装置をプリンタ7にセットして、同装置
に印刷対象となる往復はがき又は官製はがきを納めて、
順次給紙できる状態にしておく。
Furthermore, the automatic paper feeding device is set in the printer 7, and the return postcard or official postcard to be printed is placed in the device.
Make sure that the paper can be fed sequentially.

尚、所定のはがき印刷台紙を用いた[逐次]印刷モード
の際は、印刷対象となる往復はがき又は官製はがきを所
定のはがき印刷台紙に納めて、同台紙をプリンタ7の用
紙挿入口の予め定められたガイド位置にセットしておく
。この際、自動給紙装置に納められたはがきは「往復は
がき」、「官製はがき」のいずれであっても、はがきの
送り方向セット位置、即ち、初期設定位置は変わらず、
第4図に示す如く、いずれも同一の設定位置である。
In addition, in the case of [sequential] printing mode using a predetermined postcard printing mount, place the return postcard or official postcard to be printed in the predetermined postcard printing mount, and insert the same mount into the paper insertion slot of the printer 7. Set it in the guide position specified. At this time, regardless of whether the postcard placed in the automatic paper feeder is a "return postcard" or "official postcard", the postcard feeding direction set position, that is, the initial setting position, remains the same.
As shown in FIG. 4, they are all at the same setting position.

上記したように、宛名用の文書と本文を印刷情報として
宛先データバッファ2と文書バッファ1に呼出しておき
、はがきを定位置にセットした後、キーボード5上の特
定のキー操作で宛名印刷を指定することにより、第2図
に示すような宛名印刷処理が実行される。
As mentioned above, after calling the address document and text as print information to the destination data buffer 2 and document buffer 1, and setting the postcard in the fixed position, specify address printing by operating a specific key on the keyboard 5. By doing so, the address printing process as shown in FIG. 2 is executed.

即ち、宛名印刷が指定されると、CPU6の制御の下に
、表示部4上に第3図に示すような宛名印刷メニューが
表示される(第2図ステップS2)。
That is, when address printing is specified, an address printing menu as shown in FIG. 3 is displayed on the display section 4 under the control of the CPU 6 (step S2 in FIG. 2).

この宛名印刷メニューから[往復はがき印刷]と、[宛
名往信・本文返信] (第3図(a)参照)と、C本文
フォント(明朝/オプション)1及び[宛名フォント(
明朝/オプション)]等が指定されると、CPU6の制
御の下に、宛名印刷モードレジスタ11内のはがき種表
示フラグllaに“1”がセットされ、印刷面表示フラ
グllbに“0”がセットされ、本文フォントフラグ(
1’l) llcに[本文フォント]の指定内容(明朝
−“0°、オプション−“1″)がセットされ、宛名フ
ォントフラグ(P2) lidに[宛名フォント]の指
定内容(明朝−“0” オプション−“1″)がセット
される。この際、宛名印刷モードレジスタ11内の印刷
状態フラグ14は未だ本文の印刷終了状態になっていな
いので“0′となっている。又、レジスタ12には第4
図に示す如く、はがきのセット位置から宛名印刷開始位
置までの予め定められた用紙送りffi (L)がセッ
トされ、レジスタ13には未だ本文の印刷が実行されな
いので初期値「0」がセットされる。
From this address printing menu, you can select [Return postcard printing], [Address return/text reply] (see Figure 3 (a)), C text font (Mincho/optional) 1, and [Address font (
When "Tomorrow/Option)" is specified, under the control of the CPU 6, the postcard type display flag lla in the address printing mode register 11 is set to "1", and the print side display flag llb is set to "0". set and the body font flag (
1'l) The specified contents of [Body font] (Mincho - "0°, option - "1'') are set in llc, and the specified contents of [Address font] (Mincho - "1") are set in the address font flag (P2) lid. "0" option - "1") is set. At this time, the printing status flag 14 in the address printing mode register 11 is set to "0" because the printing of the main text has not yet been completed. Also, the register 12 has a fourth
As shown in the figure, a predetermined paper feed ffi (L) from the postcard setting position to the address printing start position is set, and the initial value "0" is set in the register 13 since printing of the main text has not been executed yet. .

上記宛名印刷メニューの項目設定状態をレジスタ類(1
1〜14)へ設定後、CPU5はその設定内容に従う印
刷処理を実行する。ここでは、宛名印刷モードレジスタ
11内のはがき種表示フラグllaに[往復はがき印刷
]を示す“1″がセットされ、印刷面表示フラグLlb
に[宛名往信・本文返信]を示す“0”がセットされ、
印刷状態フラグ14に未だ本文の印刷終了状態になって
いないことを示す“0”がセットされていることから、
先ず文書バッファ1から印刷すべき本文を読み出し、そ
の文字コードと、本文フォントフラグ(Fl) llc
の指定内容(明朝−“0”、オプション−1″)により
、フォントバッファ4のフォントA領域又はフォントB
領域をリードアクセスして、指定フォントに従うフォン
トデータを得るとともに、その印刷すべき本文の印字位
置データを印字位置テーブル3から読み出して、これら
各情報と、印刷書式、及び印刷実行コマンドをプリンタ
7に送出する。プリンタ7はこれらの情報を受けると、
印刷すべき往復はがきの返信用裏書き面に、上記印字位
置データと予め設定された印刷書式に従う印刷フォーマ
ット(縦書き/横書き)で本文を印刷する(第2図ステ
ップS2.S3)。
The item setting status of the address printing menu above can be changed to registers (1)
1 to 14), the CPU 5 executes print processing according to the settings. Here, the postcard type display flag lla in the address printing mode register 11 is set to "1" indicating [return postcard printing], and the printing surface display flag Llb
is set to “0” indicating [address/text reply],
Since the printing status flag 14 is set to "0" indicating that the main text has not yet been printed,
First, read the main text to be printed from document buffer 1, and read its character code and main text font flag (Fl) llc
Depending on the specified contents (Mincho-“0”, option-1”), font A area or font B of font buffer 4
Read accesses the area to obtain font data according to the specified font, reads the print position data of the text to be printed from the print position table 3, and sends this information, print format, and print execution command to the printer 7. Send. When the printer 7 receives this information,
The main text is printed on the return endorsement side of the return postcard to be printed in a printing format (vertical/horizontal writing) according to the printing position data and the preset printing format (steps S2 and S3 in FIG. 2).

この本文の印刷処理に伴ってレジスタ1oの内容(印刷
実行行位置1)が更新される。
The contents of the register 1o (print execution line position 1) are updated in accordance with this printing process of the main text.

そして本文の印刷が終了すると、CPU5は、そのとき
のレジスタ13に貯えられた印刷実行行位置gと、レジ
スタ12に貯えられた往復はがきの用紙送り量りとに従
い、第4図に示す往復はがきの宛名印刷開始位置までの
用紙送り量(Li)を算出し、その用紙送り量をプリン
タ7に送出する。
When the printing of the main text is completed, the CPU 5 selects the address of the return postcard shown in FIG. The paper feed amount (Li) to the print start position is calculated, and the paper feed amount is sent to the printer 7.

プリンタ7はこの用紙送り量(L−i))を受けると、
その用紙送り量だけ、本文印刷終了後の往復はがきを用
紙送りする(第2図ステップ84〜SO)。
When the printer 7 receives this paper feed amount (L-i)),
The paper is fed for the round-trip postcard after printing the main text by the paper feed amount (step 84 to SO in FIG. 2).

これにより本文印刷終了後の往復はがきは往信用宛名書
き面の宛名印刷開始位置まで送られる。
As a result, the return postcard after printing the main text is sent to the address printing start position on the outbound address side.

この用紙送りの後、CPU6は宛先データバッファ2か
ら往信用の宛先データを読み出し、その文字コードと、
宛名フォントフラグ(P2) Ltdの指定内容(明朝
−“0”、オプション−“1゛)により、フォントバッ
ファ4のフォントA領域又はフォントB領域をリードア
クセスして、指定フォントに従うフォントデータを得る
とともに、この宛先データに対応する印字位置情報を印
字位置テーブル3から読み出して、これら各データと印
刷実行コマンドをプリンタ7に送出する。
After this paper feeding, the CPU 6 reads outgoing destination data from the destination data buffer 2, and its character code and
Address font flag (P2) Depending on the specified contents of Ltd (Mincho - "0", option - "1"), read access to the font A area or font B area of font buffer 4 to obtain font data according to the specified font. At the same time, print position information corresponding to this destination data is read from the print position table 3, and each of these data and a print execution command are sent to the printer 7.

プリンタ7はCPU6から上記各データと印刷実行コマ
ンドを受けると、上記印字位置情報に従い用紙送りを実
行し、その印刷位置より上記宛先データに従う宛名印刷
を実行する(第2図ステップS7)。
When the printer 7 receives the above-mentioned data and a print execution command from the CPU 6, it executes sheet feeding according to the above-mentioned printing position information, and executes address printing according to the above-mentioned destination data from the printing position (step S7 in FIG. 2).

このようにして、往復はがきの返信用裏書き面に本文が
印刷され、続いて往信用宛名書き面に往信光の宛名が印
刷される。
In this way, the text is printed on the return endorsement side of the return postcard, and then the recipient's address is printed on the return address side.

又、上記宛名印刷メニューで、第3図(b)に示すよう
に、[往復はがき印刷]と、[宛名返信・本文往信]が
設定された際は、印刷面表示フラグllbに[宛名返信
・本文往信コを示す“1″がセットされて、上記同様の
印刷処理により、往復はがきの往信用裏書き面に本文が
印刷され、続いて返信用宛名書き面に返信光の宛名が印
刷される。
In addition, as shown in Figure 3(b) in the address printing menu, when [Double postcard printing] and [Address reply/text reply] are set, [Address reply/text reply] is set in the print side display flag llb. "1" indicating the main text is set, and the same printing process as above is used to print the main text on the backing side of the return postcard, followed by the reply address on the return address side. .

又、上記宛名印刷メ隼ニーで、[はがき宛名印刷コが指
定された際は、宛名印刷モードレジスタll内のはがき
種表示フラグllaが、官製はがきの宛名印刷であるこ
とを示す“0“となって、官製はがきのセット位置(初
期設定位置)から印刷対象となる宛先データに対応する
印字位置情報に従う用紙送りが実行され、その印刷位置
より上記宛先データに従う宛名印刷が実行される(第2
図ステップSL、S2.S7)。
In addition, in the address printing menu above, when [postcard address printing] is specified, the postcard type display flag lla in the address printing mode register lla is set to ``0'', indicating that the address is printed on a government-made postcard. Then, the paper is fed from the set position (initial setting position) of the official postcard according to the printing position information corresponding to the destination data to be printed, and from that printing position, address printing is executed according to the above destination data (second
Figure steps SL, S2. S7).

このようにして、往復はがきの宛名と本文(即ち往信宛
先と返信本文、及び返信宛先と往診本文)をそれぞれ指
定されたフォントに従い一回の印刷動作で連続して印刷
できることから、往復はがきの本文と宛名のフォントを
変えての印刷処理を迅速かつ容易に行なうことができる
とともに、往復はがきの印刷セット位置(印刷開始位置
)が官製はがきと全く同じ位置で良いことから不良印刷
を無くして無駄のない往復はがき印刷を能率良く実行で
きる。
In this way, the address and body of the return postcard (i.e., the return address and reply body, and the return address and house call body) can be printed consecutively in a single printing operation according to the respective specified fonts, so the body of the return postcard can be printed in one printing operation. The printing process can be done quickly and easily by changing the font of the address and address, and since the print setting position (printing start position) for double postcards can be exactly the same as for official postcards, defective printing is eliminated and waste is saved. It is possible to efficiently print two-way postcards without having to do so.

尚、上記した実施例では、使用フォントを2種としてい
ることから、本文フォントフラグ11C1及び宛名フォ
ントフラグlidをそれぞれ1ビツトで構成しているが
、3種以上のフォントを使用可能とする際は、本文フォ
ントフラグllc 、及び宛名フォントフラグlldを
その使用可能なフォント種に応じて複数ビットで構成す
ればよい。
In the above embodiment, since two types of fonts are used, the text font flag 11C1 and the address font flag lid are each made up of one bit, but when three or more types of fonts can be used, , the text font flag llc, and the addressee font flag lld may be composed of a plurality of bits depending on the usable font type.

又、上記した実施例では、往復はがきの[宛名往信・本
文返信]印刷の際、文書バッファ1に返信用本文を選択
的に格納しておき、[宛名返信・本文往信]印刷の際、
文書バッファ1に往信用本文を選択的に格納しておいて
、本文を印刷する際、文書バッファlに格納された本文
を一義的に印刷する本文印刷機能を例に説明したが、文
書バッファ1に、返信用本文と往信用本文とをページを
違えて格納しておき、例えば[宛名往信・本文返信コ印
刷の際は第1ページに格納された返信用本文を読み出し
て印刷し、[宛名返信・本文往信]印刷の際は第2ペー
ジに格納された往信用本文を読み出して印刷する本文印
刷機能も実現できる。この際は、宛名印刷モードレジス
タ8内の印刷面表示フラグ(PP) flbが“0”の
とき、文書バッファ1の第1ページに格納された返信用
本文を読み出して印刷し、印刷面表示フラグ(PP) 
llbが“1”のとき、文書バッファ1の第2ページに
格納された往信用本文を読み出して印刷する。
In addition, in the above-mentioned embodiment, when printing [reply to address/reply to body] of a double postcard, the reply body is selectively stored in the document buffer 1, and when printing [reply to address/reply to body],
The description has been given using an example of a text print function that selectively stores outbound texts in document buffer 1 and, when printing the text, uniquely prints the text stored in document buffer l. Store the reply body and the reply body on different pages, and for example, when printing an address/reply text, read and print the reply body stored on the first page, and Reply/Main text sending] When printing, it is also possible to implement a text printing function that reads and prints the sent text stored on the second page. In this case, when the print side display flag (PP) flb in the address print mode register 8 is "0", the reply text stored in the first page of the document buffer 1 is read and printed, and the print side display flag is (PP)
When llb is "1", the outgoing body text stored in the second page of document buffer 1 is read out and printed.

[発明の効果コ 以上詳記したように本発明によれば、はがき印刷機能を
文書作成装置に於いて、往復はがきの裏書き部分に印刷
される本文データを格納する文書バッファと、上記往復
はがきの裏書き部分と同一面の宛名書き部分に印刷され
る宛先データを格納する宛先データバッファと、上記本
文データ及び宛先データの印字位置情報を格納する印字
位置テーブルと、上記本文データの印字フォントを指定
する本文フォント指定手段、及び上記宛先データの印字
フォントを指定する宛名フォント指定手段と、上記往復
はがきの裏書き部分への印刷時に於いて上記文書バッフ
ァから本文データを1文字ずつ読み出し、宛名書き部分
への印刷時に於いて上記宛先データバッファから宛先デ
ータを1文字ずつ読み出す手段と、少なくとも2種のフ
ォントを記憶するフォント記憶部を有し、上記文書バッ
ファから取出した本文の文字データを上記本文フォント
指定手段で指定したフォントに従いパターン展開して印
字出力し、上記宛先データバッファから取出した宛先文
字データを上記宛名フォント指定手段で指定したフォン
トに従いパターン展開して印字出力する手段とを有し、
往復はがきの同一面の本文と宛名をそれぞれに指定した
固有のフォントで連続して印刷できる構成としたことに
より、往復はがきの宛名と本文をそれぞれフォントを替
えて印刷する際の操作負担を大幅に軽減でき、往復はが
きの本文と宛名のフォントを替えての印刷が能率良く円
滑に実行できる。
[Effects of the Invention] As described in detail above, according to the present invention, a postcard printing function is provided in a document creation device by a document buffer for storing text data to be printed on the endorsement portion of a double postcard, and a document buffer for storing text data to be printed on the endorsement portion of a double postcard. A destination data buffer that stores destination data to be printed on the address writing section on the same side as the endorsement section of A body font specifying means to specify, an address font specifying means to specify a printing font for the address data, and a body data read character by character from the document buffer when printing on the endorsement part of the double postcard, and address writing. It has a means for reading out destination data one character at a time from the destination data buffer when printing a portion, and a font storage section that stores at least two types of fonts, and reads the character data of the main text extracted from the document buffer into the main text. means for developing and printing out a pattern according to the font specified by the font specifying means, and means for developing and printing out the destination character data extracted from the destination data buffer in accordance with the font specified by the destination font specifying means;
By having a structure that allows the text and address on the same side of a return postcard to be printed consecutively in a unique font specified for each, the operational burden when printing the address and text of a return postcard with different fonts is greatly reduced. It is possible to efficiently and smoothly print a return postcard by changing the font of the main text and address.

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

第1図は本発明の一実施例を示すブロック図、第2図は
上記実施例に於ける宛名印刷の処理フローを示すフロー
チャート、第3図(a)、(b)はそれぞれ上記実施例
に於ける宛名印刷指定による宛名印刷メニューを示す図
、第4図は上記実施例に於ける往復はがきの宛名印刷実
行時の初期設定位置と宛名印刷開始位置を官製はがきと
対比して示す図、第5図(a)は上記実施例に於ける宛
先データバッファに格納された宛先データの構成及び格
納状態を示す図、同図(b)は同図(a)に示す各宛先
データ、及び文書バッファに貯えられた本文の印字位置
データを格納する印字位置テーブルの構成を示す図であ
る。 1・・・文書バッファ、2・・・宛先データバッファ、
3・・・印字位置テーブル、4・・・フォントバッファ
、5・・・キーボード(KB)  6・・・CPU、7
・・・プリンタ(PRT)  8・・・表示部(DIS
P)11・・・宛名印刷モードレジスタ、ILa・・・
はがき種表示フラグ(HP)  llb・・・印刷面表
示フラグ(PP)  lie・・・本文フォントフラグ
(Fl)tta・・・宛名フォントフラグ(F2)  
12・・・往復はがきの用紙送りffi (L)を貯え
るレジスタ(R1) 、13・・・往復はがき印刷時の
本文の印刷実行行位置(Ω)を貯えるレジスタ(R2)
 、14・・・印刷状態フラグ(SF)。 第1図 出願人代理人 弁理士 鈴江武彦 (a) 往復はがき 官製はがき 名印刷 始位置 第 印字位置データ /3 (b)
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a flowchart showing the processing flow of address printing in the above embodiment, and FIGS. 3(a) and (b) are respectively in accordance with the above embodiment. FIG. 4 is a diagram showing the address printing menu by specifying address printing in the above embodiment. FIG. 5(a) is a diagram showing the configuration and storage state of destination data stored in the destination data buffer in the above embodiment, and FIG. 5(b) is a diagram showing each destination data shown in FIG. 5(a) and the document buffer. FIG. 2 is a diagram illustrating the configuration of a print position table that stores print position data of main text stored in . 1...Document buffer, 2...Destination data buffer,
3... Print position table, 4... Font buffer, 5... Keyboard (KB) 6... CPU, 7
...Printer (PRT) 8...Display section (DIS)
P)11... Address print mode register, ILa...
Postcard type display flag (HP) llb... Print side display flag (PP) lie... Body font flag (Fl) tta... Address font flag (F2)
12...Register (R1) that stores paper feed ffi (L) for reciprocating postcards, 13...Register (R2) that stores the print execution line position (Ω) of the main text when printing reciprocating postcards.
, 14... Printing status flag (SF). Figure 1 Applicant's agent Patent attorney Takehiko Suzue (a) Double postcard Government postcard name printing start position 1st printing position data/3 (b)

Claims (1)

【特許請求の範囲】[Claims] 往復はがきの裏書き部分に印刷される本文データを格納
する文書バッファと、上記往復はがきの裏書き部分と同
一面の宛名書き部分に印刷される宛先データを格納する
宛先データバッファと、上記本文データ及び宛先データ
の印字位置情報を格納する印字位置テーブルと、上記本
文データの印字フォントを指定する本文フォント指定手
段、及び上記宛先データの印字フォントを指定する宛名
フォント指定手段と、上記往復はがきの裏書き部分への
印刷時に於いて上記文書バッファから本文データを1文
字ずつ読み出し、宛名書き部分への印刷時に於いて上記
宛先データバッファから宛先データを1文字ずつ読み出
す手段と、少なくとも2種のフォントを記憶するフォン
ト記憶部を有し、上記文書バッファから取出した本文の
文字データを上記本文フォント指定手段で指定したフォ
ントに従いパターン展開して印字出力し、上記宛先デー
タバッファから取出した宛先文字データを上記宛名フォ
ント指定手段で指定したフォントに従いパターン展開し
て印字出力する手段とを具備してなることを特徴とする
文書作成装置。
A document buffer that stores the text data to be printed on the endorsement part of the return postcard, a destination data buffer that stores the destination data to be printed on the address writing part on the same side as the endorsement part of the return postcard, and the text data mentioned above. and a print position table for storing print position information of the destination data, a body font specifying means for specifying a print font for the body data, an address font specifying means for specifying a print font for the destination data, and the back of the return postcard. means for reading body data one character at a time from the document buffer when printing on the writing section and reading destination data one character at a time from the destination data buffer when printing on the address writing section; and at least two types of fonts. It has a font storage unit for storing the character data of the main text retrieved from the document buffer, develops a pattern according to the font specified by the main text font specifying means and prints out the data, and outputs the destination character data retrieved from the destination data buffer as the above. 1. A document creation device comprising means for developing a pattern according to a font specified by address font specifying means and printing it out.
JP63190230A 1988-07-29 1988-07-29 Document producing device Pending JPH0239356A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63190230A JPH0239356A (en) 1988-07-29 1988-07-29 Document producing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63190230A JPH0239356A (en) 1988-07-29 1988-07-29 Document producing device

Publications (1)

Publication Number Publication Date
JPH0239356A true JPH0239356A (en) 1990-02-08

Family

ID=16254654

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63190230A Pending JPH0239356A (en) 1988-07-29 1988-07-29 Document producing device

Country Status (1)

Country Link
JP (1) JPH0239356A (en)

Similar Documents

Publication Publication Date Title
JPS59220832A (en) Postal card printing system of word processor
JPS58121439A (en) Document insertion system of editing processor
JPH0239356A (en) Document producing device
JP2745478B2 (en) Print control device for character processing device
JP3278604B2 (en) How to create postcard sentences
JP2537184B2 (en) Document creating device having postcard address printing function
JPH0239353A (en) Document producing device
JP3525756B2 (en) Printer control device and method, and recording medium
JPH0239354A (en) Document producing device
JP2845716B2 (en) Envelope printing device
JPH0651925A (en) Image forming device
JP2500563B2 (en) Postcard printing processor
JPH07114538A (en) Document preparation device and address printing method
JPH0239355A (en) Document producing device
JP3614136B2 (en) Information transmission method and information processing apparatus with transmission function
JPH0239352A (en) Document producing device
JPS60110033A (en) Display printer
JPH01161524A (en) Document composing device
JP2500554B2 (en) Postcard printing processor
JPS6389925A (en) Word processor
JP2000318255A (en) Printing control apparatus and program recording medium
JPS60218976A (en) Data transfer facsimile equipment
JPH08258362A (en) Printer
JPH0820938B2 (en) Automatic sender address selection device
JPS6395529A (en) Document printing device