JPH0822455A - Information processing method and device - Google Patents
Information processing method and deviceInfo
- Publication number
- JPH0822455A JPH0822455A JP6155621A JP15562194A JPH0822455A JP H0822455 A JPH0822455 A JP H0822455A JP 6155621 A JP6155621 A JP 6155621A JP 15562194 A JP15562194 A JP 15562194A JP H0822455 A JPH0822455 A JP H0822455A
- Authority
- JP
- Japan
- Prior art keywords
- pattern
- record
- item
- characters
- 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
Links
Landscapes
- Record Information Processing For Printing (AREA)
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】
【目的】データベースのレコードを、各レコード毎に自
動的またはオペレータ指定により印刷パタンを変更しな
がら印刷でき、また、最適印刷パタンがない場合や印刷
パタンの印刷制限範囲内を印刷対象項目の印字文字数が
超える場合は、警告メッセージを表示し、対処処理を行
う情報処理方法及び装置を提供する。
【構成】データベースの各レコードを印刷する際、最適
印刷パタンを印刷書式情報テーブル105に予め記憶し
てある印刷パタンの中から各レコード毎に自動選択する
データ判定部205と、最適印刷パタンが印刷書式情報
テーブル105にない場合や印刷パタンの印刷制限範囲
内を印刷対象項目の印字文字数が超えてしまいレコード
内の各印刷項目を全て印刷できない場合は、警告メッセ
ージを表示し、対処処理を行う印刷書式設定部202か
ら構成される。
(57) [Summary] [Purpose] You can print the records of the database automatically for each record or while changing the print pattern by the operator's specification. Also, when there is no optimum print pattern or within the print limit range of the print pattern. Provided is an information processing method and apparatus for displaying a warning message and performing a coping process when the number of print characters of a print target item exceeds. [Structure] When printing each record of a database, a data determination unit 205 that automatically selects an optimum print pattern for each record from print patterns stored in advance in a print format information table 105, and an optimum print pattern is printed. If the print information does not exist in the format information table 105 or if the number of print characters of the print target item exceeds the print limit range of the print pattern and all the print items in the record cannot be printed, a warning message is displayed and the coping process is performed. It is composed of the format setting unit 202.
Description
【0001】[0001]
【産業上の利用分野】本発明は、情報処理方法及び装置
に関し、特にデータベース上の印刷対象項目の文字数,
文字種を認識することで、自動的に各レコード毎に印刷
パタンを変更して印刷を行う情報処理方法及び装置に関
するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing method and apparatus, and particularly to the number of characters of print target items on a database,
The present invention relates to an information processing method and apparatus for automatically changing a print pattern for each record by recognizing a character type for printing.
【0002】[0002]
【従来の技術】従来技術として、ワードプロセッサやパ
ーソナルコンピュータを用いた情報処理において、一つ
のまとまった情報(関係先の住所、氏名、郵便番号、電
話番号等の)を一つのレコードとし、これらいくつかの
レコードを纏めデータベース化したものを記憶してお
き、後ではがきの宛名印刷等に利用する場合がある。2. Description of the Related Art As prior art, in information processing using a word processor or personal computer, one set of information (address, name, postal code, telephone number, etc. of the related party) is treated as one record, and some of these There is a case where a record obtained by collecting the above records is stored in a database and used later for printing the address of a postcard.
【0003】このはがき等の定形用紙に、一定の配置で
データベース上のレコードを印刷する印刷方式は、特開
平5−89129号公報に記載された文書作成装置の様
に、任意の印刷領域を設定して、その領域位置に差出人
受取人の住所,氏名,郵便番号等の任意の項目を対応づ
け、縦書きまたは横書き等の印刷パタンも同時に設定し
て印刷を行うことにより実現している。また、レコード
内の各印刷項目の印字位置や縦書きまたは横書きなどの
印刷書式を、レコード内の各印刷項目単位に設定でき
る。A printing method for printing records in a database on a regular paper such as a postcard with a fixed arrangement is to set an arbitrary printing area as in the document creating apparatus described in Japanese Patent Laid-Open No. 89129/1993. This is realized by associating arbitrary items such as the sender's address, name, and zip code with the area position, and setting the printing pattern such as vertical writing or horizontal writing at the same time for printing. Further, the print position of each print item in the record and the print format such as vertical writing or horizontal writing can be set for each print item in the record.
【0004】[0004]
【発明が解決しようとする課題】データベース中の住所
は、国内のみならず国外の住所が格納されている場合
や、氏名がアルファベット等の表記となる場合もある。
このために、宛名の印刷パタンの縦書き/横書き等は一
概に決められるものではない。このように縦書きで印刷
するべきレコードと、横書きで印刷するべきレコードが
混在しているようなデータベースを参照して、はがきの
宛名等を印刷する場合には、従来技術では、縦書きで印
刷するレコードと、横書きで印刷するレコードを分類
し、各々印刷パタンを設定して印刷する必要があり、オ
ペレータ操作に手間がかかる。また、印刷パタンを変更
せずに印刷すると、アルファベットの氏名などが縦書き
で印刷されてしまい、はがき等の無駄が発生してしまう
場合もあり、さらに、アルファベットの項目を横書きに
変換せず、縦書き書式のまま印刷した場合は、意味不明
の表記とはならないが、読みづらさや不自然さが残って
しまう。The addresses in the database may be stored not only in Japan but also in foreign countries, or the names may be written in alphabets or the like.
For this reason, the vertical writing / horizontal writing of the printing pattern of the address cannot be decided unconditionally. When printing a postcard address, etc. by referring to a database in which records that should be printed vertically are mixed with records that should be printed horizontally, the conventional technique is to print vertically. It is necessary to classify the records to be printed and the records to be printed in horizontal writing and set the print patterns for printing respectively, which makes the operator operation troublesome. Also, if you print without changing the print pattern, the name of the alphabet etc. will be printed vertically, and waste such as postcards may occur, and further, the items of the alphabet will not be converted to horizontal writing, If it is printed in vertical writing format, it will not be incomprehensible, but it remains unreadable and unnatural.
【0005】また、各々のレコードでは、同一印刷項目
であっても、項目内の文字数はまちまちであり、住所項
目などは、項目内の文字数から印字行数を求める場合、
レコードによって印字する文字が2行になったり、3行
になったりする。これを無視し、印字パタンを変更せず
に印刷を行うと、印字範囲からはみ出し印刷されなかっ
たり、オペレータの希望する位置に印刷することができ
なかったりする。In each record, the number of characters in each item varies even if they are the same print item. For address items, etc., when the number of print lines is obtained from the number of characters in the item,
Depending on the record, the characters printed may be two lines or three lines. If this is ignored and printing is performed without changing the printing pattern, printing may not be performed outside the printing range, or printing may not be possible at the position desired by the operator.
【0006】本発明の目的は、データベースのレコード
をはがき等の定形用紙に印刷する際、レコード内の印刷
対象項目の文字種や文字数を認識し制御することによ
り、自動的に、縦書きまたは横書きといった印刷方向と
印刷レイアウトを決め最も適切な印刷パタンを各レコー
ド毎に変更して印刷する情報処理方法及び装置を提供す
ることにある。An object of the present invention is to automatically write vertical or horizontal writing when a record of a database is printed on a standard paper such as a postcard by recognizing and controlling the character type and the number of characters of the print target item in the record. An object of the present invention is to provide an information processing method and apparatus for determining a print direction and a print layout, changing the most suitable print pattern for each record, and printing.
【0007】また、印刷項目内の文字数より算出した行
数が、オペレータ操作により選択された印刷パタンの印
刷範囲内を超える場合や、自動的に印刷パタンを選択す
る際どの印刷パタンの印刷範囲内も超えてしまう場合
は、対処処理内容を表示し、指示された対応処理を行う
情報処理方法及び装置を提供することにある。Further, when the number of lines calculated from the number of characters in the print item exceeds the print range of the print pattern selected by the operator operation, or within the print range of which print pattern when the print pattern is automatically selected. In the case where it exceeds the limit, it is to provide an information processing method and apparatus for displaying the handling process content and performing the instructed handling process.
【0008】[0008]
【課題を解決するための手段】上記目的を達成するため
に、本発明は、住所,氏名,郵便番号等の一連の情報を
データベースとして記憶し、前記レコードを印刷すると
きに必要な印刷パタンを記憶し、前記レコード内の各印
刷項目と前記印刷パタンの各パタン項目とを対応付ける
情報を記憶する記憶ステップからの情報を基に、前記レ
コード内の各印刷項目と前記印刷パタンの各パタン項目
を対応付け、該対応付けられた各パタン項目からなる印
刷パタンに従い、前記データベース上のレコードを印刷
する全体制御ステップを備える情報処理方法において、
前記全体制御ステップは、前記レコード内の各印刷項目
のうち、文字種がすべてアルファベットの印刷項目があ
るかどうか判定し、前記アルファベットの印刷項目があ
るときは印刷方向が横書きの印刷パタン、ないときは印
刷方向が縦書きの印刷パタンを、前記記憶ステップに予
め記憶してある印刷パタンの中から各レコード毎に自動
選択するデータ判定ステップを有することを特徴とした
情報処理方法を提供する。In order to achieve the above object, the present invention stores a series of information such as an address, a name, and a zip code as a database, and prints a printing pattern required when printing the record. The print items in the record and the pattern items in the print pattern are stored based on the information from the storage step of storing information that associates each print item in the record with each pattern item in the print pattern. In an information processing method, which includes an overall control step of printing a record on the database in accordance with a print pattern consisting of the associated pattern items.
The overall control step determines whether or not there is a print item in which all the character types are alphabets among the print items in the record, and when there is a print item in the alphabet, a print pattern in which the printing direction is horizontal, and when there is no print item. There is provided an information processing method characterized by comprising a data determination step of automatically selecting a print pattern with a vertical writing direction from print patterns stored in advance in the storage step for each record.
【0009】また、上記目的の他の達成手段として、住
所,氏名,郵便番号等の一連の情報をデータベースとし
て記憶し、前記レコードを印刷するときに必要な印刷パ
タンを記憶し、前記レコード内の各印刷項目と前記印刷
パタンの各パタン項目とを対応付ける情報を記憶する記
憶装置からの情報を基に、前記レコード内の各印刷項目
と前記印刷パタンの各パタン項目を対応付け、該対応付
けられた各パタン項目からなる印刷パタンに従い、前記
データベース上のレコードを印刷する全体制御装置を備
える情報処理装置において、前記全体制御装置は、前記
レコード内の各印刷項目のうち、文字種がすべてアルフ
ァベットの印刷項目があるかどうか判定し、前記アルフ
ァベットの印刷項目があるときは印刷方向が横書きの印
刷パタン、ないときは印刷方向が縦書きの印刷パタン
を、前記記憶装置に予め記憶してある印刷パタンの中か
ら各レコード毎に自動選択するデータ判定部を有するこ
とを特徴とした情報処理装置を提供する。As another means for achieving the above-mentioned object, a series of information such as an address, a name, a postal code, etc. is stored as a database, and a print pattern necessary for printing the record is stored, and the record pattern in the record is stored. Based on information from a storage device that stores information that associates each print item with each pattern item of the print pattern, each print item in the record and each pattern item of the print pattern are associated with each other. In an information processing apparatus including an overall control device that prints a record on the database according to a print pattern consisting of each pattern item, the overall control device prints all the print items in the record in alphabetical character types. If there is an item, it is judged that there is a print pattern with the horizontal writing direction when there is a print item of the alphabet. Printing direction to print patterns of vertical, to provide an information processing apparatus characterized by having a data judging unit for automatically selecting for each record from among the printing patterns is previously stored in the storage device.
【0010】[0010]
【作用】本発明によれば、データ判定部は、レコード内
の各印刷項目のうち、文字種の印刷項目に複数のアルフ
ァベットが存在する印刷項目があるかどうかチェック
し、印刷項目があるときは、印刷方向が横書きの印刷パ
タン、印刷項目がないときは、印刷方向が縦書きの印刷
パタンを、記憶装置に予め格納してある印刷パタンの中
から各レコード毎に自動選択する。また、データ判定部
は、レコード内の各印刷項目の印字文字数を取得し、印
字文字数と記憶装置に予め格納してある印刷パタンを比
較し、印刷パタンの中から、各項目の内容が全て印刷可
能で、各印刷パタンの複数行指定されているパタン項目
に印刷対象項目の文字をあてはめたとき、印刷設定行数
が最も少なく、パタン項目に占める文字数の占有率の一
番高い印刷パタンを最適印刷パタンとして各レコード毎
に自動選択する。これにより、はがきなどの定形用紙に
データベース上の各レコードを印刷する際、レコード毎
に最適な印刷パタンが自動的に選択され印刷することが
できる。According to the present invention, the data determination section checks whether or not there is a print item in which plural alphabets are present in the print items of the character type among the print items in the record. When there is no print pattern in the horizontal writing direction and no print item, the print pattern in the vertical writing direction is automatically selected for each record from the print patterns stored in advance in the storage device. In addition, the data determination unit obtains the number of print characters of each print item in the record, compares the number of print characters with the print pattern stored in the storage device in advance, and prints all the contents of each item from the print pattern. It is possible to optimize the print pattern with the smallest number of print setting lines and the highest occupancy of the number of characters in the pattern item when the characters of the print target item are applied to the pattern item specified in multiple lines of each print pattern. The print pattern is automatically selected for each record. As a result, when printing each record in the database on a standard paper such as a postcard, the optimum print pattern can be automatically selected and printed for each record.
【0011】印刷書式設定部は、データ判定ステップで
レコード内の各印刷項目の印字文字数や印刷行数を認識
し印刷パタンを選択する際、記憶装置に予め格納してあ
る印刷パタンでは各印刷項目の印字文字数や印字行数を
超えてしまいレコード内の各印刷項目を全て印刷できな
い場合、対応処理内容を表示し、指示された対応処理を
行う。これにより、そのレコードの印刷処理をやめた
り、印刷パタンを変更するなどの対応処理が行えること
から、印刷ミスをなくすことができる。When the print format setting unit recognizes the number of print characters and the number of print lines of each print item in the record in the data determination step and selects a print pattern, the print pattern stored in the storage device in advance has each print item. If all the print items in the record cannot be printed because the number of print characters and the number of print lines of are exceeded, the corresponding process content is displayed and the instructed corresponding process is performed. As a result, the print processing of the record can be stopped, and the corresponding processing such as changing the print pattern can be performed, so that a printing error can be eliminated.
【0012】[0012]
【実施例】以下、本発明の一実施例に係る情報処理方法
及び装置について説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS An information processing method and device according to an embodiment of the present invention will be described below.
【0013】図1は、本発明の一実施例に係る情報処理
装置の構成を示す。FIG. 1 shows the configuration of an information processing apparatus according to an embodiment of the present invention.
【0014】記憶装置104は、半導体メモリや磁気デ
ィスクメモリ等によって構成され、住所,氏名,郵便番
号,電話番号等の各関係先の情報を一つのレコードと
し、これらいくつかのレコードを纏めデータベース化し
たものを記憶するレコード情報テーブル105と、各レ
コードを印刷する場合に、印刷する位置情報や縦書き/
横書きなどの印刷パタンを記憶する印刷書式情報テーブ
ル106と、印刷パタンの各パタン項目に対し、レコー
ドの中のどの印刷項目を対応付けするかという情報を記
憶する印刷項目情報テーブル107とを備えている。The storage device 104 is composed of a semiconductor memory, a magnetic disk memory or the like, and information of each related party such as an address, a name, a postal code and a telephone number is made into one record, and these several records are collected and made into a database. The record information table 105 that stores the recorded information, and the position information and vertical writing / printing when printing each record.
A print format information table 106 that stores print patterns such as horizontal writing, and a print item information table 107 that stores information about which print item in a record is associated with each pattern item of the print pattern are provided. There is.
【0015】入力装置101は、オペレータの指示に従
い、記憶装置104に記憶されているデータベース中の
各レコードの印刷項目と印刷パタンのパタン項目とを関
連づけるために必要な各種の情報信号や、印刷などの各
種の制御処理信号を入力する。The input device 101, according to an operator's instruction, various information signals necessary for associating the print item of each record in the database stored in the storage device 104 with the pattern item of the print pattern, printing, etc. Input various control processing signals.
【0016】全体制御装置102は、入力装置101よ
り印刷が指示された場合に、印刷するレコード範囲の指
定と印刷するレコードの各印刷項目と印刷パタンのパタ
ン項目とを対応付ける印刷範囲・印刷項目設定部201
と、印刷するレコードの印刷パタンを設定する印刷書式
設定部202と、印刷するレコードの印刷パタンを基に
印字データを作成する印刷制御部203と、記憶装置1
04に記憶されているレコード情報テーブル105よ
り、レコードの構成や、一つのレコードのデータを取得
するレコード制御部204と、各レコードの各印刷項目
の内容を認識し、印刷パタンを決定するデータ判定部2
05と、記憶装置104に記憶されている印刷書式情報
テーブル106より印刷パタンを取得する印刷書式制御
部206より構成されている。When the printing is instructed by the input device 101, the overall control device 102 sets the print range / print item that associates the print record range designation with each print item of the print record and the print pattern pattern item. Part 201
A print format setting unit 202 that sets a print pattern of a record to be printed, a print control unit 203 that creates print data based on the print pattern of a record to be printed, and the storage device 1
04, the record information table 105 stored in the record information table 105, the record control unit 204 that acquires the data of one record, the contents of each print item of each record, and the data determination that determines the print pattern Part 2
05, and a print format control unit 206 that obtains a print pattern from the print format information table 106 stored in the storage device 104.
【0017】表示装置103は、全体制御装置102に
制御されて各種情報を表示する。The display device 103 is controlled by the overall control device 102 to display various information.
【0018】印刷装置109は、全体制御装置102に
制御されて、実際の印字を行う。The printing device 109 is controlled by the overall control device 102 to perform actual printing.
【0019】このように構成された情報処理装置による
各レコードごとの印刷方法について説明する。A printing method for each record by the information processing apparatus thus configured will be described.
【0020】図2は、前記全体制御装置102が行う各
レコード毎の印刷の為の処理フローチャートを示す。FIG. 2 shows a processing flowchart for printing by each record performed by the overall control device 102.
【0021】データベースを参照しての印刷が指示され
ると、まず、処理301で、レコードの印刷範囲を指定
する。印刷範囲・印刷項目設定部201は、レコード制
御部204へ印刷するレコード情報の取得を指示する。
レコード制御部204では、記憶装置104のレコード
情報テーブル105を参照し、レコード情報を印刷範囲
・印刷項目設定部201へ出力する。印刷範囲・印刷項
目設定部201では、レコード情報から図4の印刷範囲
指定画面501を表示装置103に表示する。図4の印
刷範囲指定画面501では、カーソルキー,スクロール
キーを入力装置101より指示することで、全てのレコ
ード情報を表示装置103に表示することができ、前記
操作をしながら表示画面より印刷するレコードの開始と
終了を指定すると、レコード制御部204によって表示
装置103に送られ画面表示される。その後、入力装置
101より選択終了が指示されると、印刷開始終了レコ
ード情報が印刷書式設定部202、データ判定部205
へ送られる。When printing is instructed by referring to the database, first, in step 301, the print range of the record is designated. The print range / print item setting unit 201 instructs the record control unit 204 to acquire record information to be printed.
The record control unit 204 refers to the record information table 105 of the storage device 104 and outputs the record information to the print range / print item setting unit 201. The print range / print item setting unit 201 displays the print range designation screen 501 of FIG. 4 on the display device 103 from the record information. In the print range designation screen 501 of FIG. 4, all the record information can be displayed on the display device 103 by instructing the cursor key and the scroll key from the input device 101, and printing is performed on the display screen while performing the above operation. When the start and end of the record are designated, the record control unit 204 sends the record to the display device 103 and displays it on the screen. After that, when the selection end is instructed from the input device 101, the print start / end record information indicates the print format setting unit 202 and the data determination unit 205.
Sent to.
【0022】次に、処理302でレコード中の各印刷項
目と印刷パタンの各パタン項目との対応付けが行われ
る。印刷範囲・印刷項目設定部201は、レコード制御
部204へ印刷するレコード構成情報の取得を指示す
る。レコード制御部204では、記憶装置104のレコ
ード情報テーブル105を参照し、レコードの構成情報
を印刷範囲・印刷項目設定部201へ出力する。印刷範
囲・印刷項目設定部201では、印刷項目とレコードの
構成情報からなる図5の印刷項目情報設定画面502を
表示装置103に表示する。図5の印刷項目情報設定画
面502は、郵便番号,住所1行目,住所2行目,肩
書,氏名1行目,氏名2行目等のパタン項目と、レコー
ド情報テーブル105に記憶してあるレコードの各印刷
項目を表示する。印刷項目情報設定画面502を表示
後、対応するパタン項目を入力装置101で表示画面よ
り選択指示し印刷項目を割り付ける。これらの選択され
たパタン項目は、表示制御部204によって表示装置1
03に送られ画面表示される。その後、入力装置101
より選択終了が指示されると、対応づけたパタン項目は
記憶装置104の印刷項目情報テーブル107に記憶さ
れる。Next, in process 302, each print item in the record is associated with each pattern item of the print pattern. The print range / print item setting unit 201 instructs the record control unit 204 to acquire the record configuration information to be printed. The record control unit 204 refers to the record information table 105 of the storage device 104 and outputs the record configuration information to the print range / print item setting unit 201. The print range / print item setting unit 201 displays the print item information setting screen 502 of FIG. 5 including print items and record configuration information on the display device 103. The print item information setting screen 502 of FIG. 5 is stored in the record information table 105 and pattern items such as a postal code, an address first line, an address second line, a title, a first name line, a second name line, and the like. Display each print item of a record. After the print item information setting screen 502 is displayed, the corresponding pattern item is selected and instructed from the display screen by the input device 101, and the print item is allocated. These selected pattern items are displayed on the display device 1 by the display control unit 204.
It is sent to 03 and is displayed on the screen. After that, the input device 101
When the selection end is instructed, the associated pattern item is stored in the print item information table 107 of the storage device 104.
【0023】処理303では、印刷パタンの取得を行
う。印刷書式設定部202は、記憶装置104にある印
刷書式情報テーブル106の印刷パタンの取得を印刷書
式制御部206へ指示する。印刷書式制御部206は、
記憶装置104の印刷書式情報テーブル106から印刷
パタンを取得し、印刷書式設定部202へ送る。In process 303, a print pattern is acquired. The print format setting unit 202 instructs the print format control unit 206 to acquire the print pattern of the print format information table 106 in the storage device 104. The print format control unit 206
The print pattern is acquired from the print format information table 106 of the storage device 104 and sent to the print format setting unit 202.
【0024】処理303が終了すると、印刷書式設定部
202は、表示装置103に図6の印刷方法選択画面5
03の表示指示をする。印刷方法選択画面503から、
入力装置101によって各種印刷方法を指示することに
より、その印刷処理に分岐する(処理304、処理30
5)。When the process 303 is completed, the print format setting unit 202 causes the display device 103 to display the print method selection screen 5 shown in FIG.
03 is displayed. From the print method selection screen 503,
By instructing various printing methods by the input device 101, the process branches to the printing process (process 304, process 30).
5).
【0025】次に、図6の印刷方法選択画面503から
入力装置101によって各々の印刷方法が選ばれた時の
各印刷処理について説明する。Next, each printing process when each printing method is selected by the input device 101 from the printing method selection screen 503 of FIG. 6 will be described.
【0026】印刷方法選択画面503から入力装置10
1によって「1:自動印刷書式設定印刷」が選択される
と処理308において、印刷する一つのレコードデータ
を記憶装置104のレコード情報テーブル105より読
み込む。ここでは、印刷書式設定部202より、印刷範
囲・印刷項目設定部201から送られてきた印刷開始終
了レコード情報と印刷する一つのレコードデータの読み
込み指示がレコード制御部204へ送られ、レコード制
御部204で記憶装置104のレコード情報テーブル1
05を参照し、印刷する一つのレコードデータを読み込
む。From the printing method selection screen 503 to the input device 10
When "1: automatic print format setting print" is selected by 1, in step 308, one record data to be printed is read from the record information table 105 of the storage device 104. Here, the print format setting unit 202 sends the print start / end record information sent from the print range / print item setting unit 201 and an instruction to read one record data to be printed, to the record control unit 204, and the record control unit 204. Record information table 1 of the storage device 104 at 204
05, one record data to be printed is read.
【0027】印刷する一つのレコードデータを読み込む
と、印刷方向を決めるため読み込んだレコード内の項目
データ判定処理(処理309)を行う。まず、印刷書式
設定部202より印刷書式判定指示と、レコード制御部
204より読み込んだレコードデータと、前記取得した
印刷パタンとがデータ判定部205へ送られる。データ
判定部205では、記憶装置104の印刷項目情報テー
ブル107を参照し、送られてきたレコードデータ中の
各印刷項目のうち、文字種が全てアルファベットの項目
があるかどうか判定する(処理310)。もし、各印刷
項目の内で文字種が全てアルファベットである項目が1
項目でもある場合、データ判定部205は印刷方向を横
書きと判定し、前記印刷書式設定部202より送られて
きた印刷パタンの中より、横書き書式印刷パタンを抽出
する(処理311)。When one record data to be printed is read, item data determination processing (processing 309) in the read record is performed to determine the printing direction. First, the print format determination instruction from the print format setting unit 202, the record data read from the record control unit 204, and the acquired print pattern are sent to the data determination unit 205. The data determination unit 205 refers to the print item information table 107 of the storage device 104 and determines whether or not there is an item whose character type is all alphabets among the print items in the sent record data (process 310). If all the print items are alphabetic, the item is 1
If it is also an item, the data determination unit 205 determines that the printing direction is horizontal writing, and extracts the horizontal writing format print pattern from the print patterns sent from the print format setting unit 202 (process 311).
【0028】また、各印刷項目の内で文字種が全てアル
ファベットである項目が全くない場合、データ判定部2
05は印刷方向を縦書きと判定し、前記印刷書式設定部
202より送られてきた印刷パタンの中より、縦書き書
式印刷パタンを抽出する(処理312)。If none of the print items have all alphabetic characters, the data determination unit 2
Reference numeral 05 determines that the printing direction is vertical writing, and extracts the vertical writing format printing pattern from the printing patterns sent from the printing format setting unit 202 (process 312).
【0029】印刷書式情報テーブル106は、図7に示
すように印刷方向,各項目の印刷可能文字数,各項目の
印字位置情報,印字行数等の情報からなり、各情報の違
いにより数種類の印刷パタンを持つ。この情報を基に印
刷イメージを図示したのが図10の印刷パタン選択画面
506である。As shown in FIG. 7, the print format information table 106 includes information such as the print direction, the number of printable characters of each item, the print position information of each item, the number of print lines, and the like. Have a pattern. A print pattern selection screen 506 in FIG. 10 shows a print image based on this information.
【0030】次に、前記処理311、312で求めた印
刷方向とレコードデータを基に印刷パタンを選択する最
適書式選択(処理313)の処理を行う。Next, an optimum format selection process (process 313) for selecting a print pattern based on the print direction and record data obtained in the processes 311, 312 is performed.
【0031】ここで、最適書式選択(処理313)の具
体的な処理のフローチャートを図3に示す。まず、デー
タ判定部205は、前記処理307で読み込んだ一つの
コードデータより印刷対象項目内容を取得する(処理4
01)。次に、各項目の文字数が全て印字できる印刷パ
タンを抽出するために、各印刷項目データの文字数と前
記取得した全ての印刷パタンを比較し、チェックする。
まず始めに、前記抽出した印刷パタンを1つ取得し(処
理402)、印刷パタンの各印刷可能文字数情報とそれ
に対応する印刷対象文字数を比較する(処理403)。
比較して印刷対象文字数のはみ出し項目があるかどうか
をチェックし(処理404)、はみ出し項目がなく各印
刷対象項目の文字数が全て印字できるときは、印刷可能
印刷パタンとする(406)。はみ出し項目があり各印
刷対象項目の文字数が全て印字できないときは、印刷不
可印刷パタンとし(処理405)、これを前記抽出した
印刷パタンの数の分だけ行い(処理407)、印刷可能
パタンを抽出する。次に、前記処理で抽出された印刷可
能パタンがあるかどうかをチェックし(処理408)、
印刷パタンがなかった場合は、最適印刷パタンがないこ
とを表す情報を印刷書式設定部202へ返す(処理41
8)。印刷可能パタンがある場合は、抽出個数をチェッ
クし(処理409)、抽出された印刷パタンが一つの場
合は、その印刷パタンを最適印刷パタンとし印刷書式設
定部202へ返す(処理417)。複数の場合は、抽出
された印刷パタン中で、印刷行数が最小行になる印刷パ
タンを抽出する(処理410)。次に、処理410で抽
出された印刷パタン数をチェックし(処理411)、抽
出された印刷パタンが一つの場合は、それを最適印刷パ
タンとし印刷書式設定部(202)へ返す(処理41
7)。複数の場合は、前記処理で抽出された各印刷パタ
ンの項目と住所印刷対象項目の文字数を比較し、項目に
占める文字数の占有率が一番大きい印刷パタンを取得す
る。(ここでの項目に占める文字数の占有率とは、印刷
パタンの印字可能文字数と実際に印字する文字数とを比
較したとき、実際に印字する文字数が印刷パタンの印字
可能文字数に対しどれぐらいの割合にあるかを示す。)
まず、前記抽出された印刷パタンの1つを取得し(処理
412)、印刷パタンの住所項目の印刷可能文字数と住
所項目に対応する印刷項目データの文字数から住所項目
の占有率を求め(処理413)、格納する(処理41
4)。これを前記抽出された印刷パタンの数の分だけ行
うことにより(処理415)、各印刷パタンの占有率を
求めることができる。前記求めた項目占有率より最も項
目占有率の高い印刷パタンを求め(処理416)、その
印刷パタンを最適印刷パタンとし、印刷書式設定部20
2へ返す(処理417)。FIG. 3 shows a flow chart of a concrete process of the optimum format selection (process 313). First, the data determination unit 205 acquires the print target item content from one code data read in the process 307 (process 4).
01). Next, in order to extract a print pattern in which all the character numbers of each item can be printed, the number of characters of each print item data and all the acquired print patterns are compared and checked.
First, one of the extracted print patterns is acquired (process 402), and each printable character number information of the print pattern is compared with the corresponding number of print target characters (process 403).
By comparison, it is checked whether or not there is a protruding item having the number of characters to be printed (process 404). When there is no protruding item and all the characters of each item to be printed can be printed, a printable print pattern is set (406). When there are overhanging items and all the characters of each print target item cannot be printed, it is set as a non-printable print pattern (process 405), and this is performed by the number of the extracted print patterns (process 407) to extract printable patterns. To do. Next, it is checked whether or not there is a printable pattern extracted in the above processing (processing 408),
If there is no print pattern, the information indicating that there is no optimum print pattern is returned to the print format setting unit 202 (process 41).
8). If there is a printable pattern, the number of extractions is checked (process 409), and if there is only one extracted print pattern, that print pattern is returned to the print format setting unit 202 as the optimum print pattern (process 417). When there are a plurality of print patterns, the print pattern having the smallest number of print lines is extracted from the extracted print patterns (process 410). Next, the number of print patterns extracted in process 410 is checked (process 411), and if there is only one print pattern extracted, it is returned to the print format setting unit (202) as the optimum print pattern (process 41).
7). If there are a plurality of items, the number of characters in each print pattern item extracted in the above process is compared with the number of characters in the address printing target item, and the print pattern having the largest occupation ratio of the number of characters in the item is acquired. (The occupancy ratio of the number of characters in the item here is the ratio of the number of characters that can be actually printed to the number of characters that can be printed when the number of printable characters of the print pattern is compared with the number of characters that are actually printed. It is shown in.)
First, one of the extracted print patterns is acquired (process 412), and the occupation rate of the address item is obtained from the number of printable characters of the address item of the print pattern and the number of characters of the print item data corresponding to the address item (process 413). ), Store (process 41)
4). By performing this for the number of the extracted print patterns (process 415), the occupation rate of each print pattern can be obtained. The print pattern having the highest item occupancy rate than the obtained item occupancy rate is obtained (step 416), and the print pattern is set as the optimum print pattern, and the print format setting unit 20
It returns to 2 (process 417).
【0032】ふたたび、図2にもどり、次に、印字文字
のはみ出しがあるかどうか、すなわち、最適印刷パタン
が見つからなかったかどうかをチェックし(処理31
5)、最適印刷パタンが見つからなかった場合、図13
の印刷パターン不一致画面508の警告メッセージを表
示装置103に表示し(処理318)、入力装置101
により、対処指示が印刷書式設定部202へ送られる
と、それに従い対処処理を行う(処理319)。対処処
理には、「処理を終了する」「次のレコードから印刷す
る」「印刷パタンを修正する」の3つがあり、印刷パタ
ンの修正については、任意の位置に設定してある領域
(矩形)を修正するレイアウト編集機能を使って各項目
の印字位置を指定し印刷を行うという機能を使用するこ
とにより、図10の印刷パタン選択画面506を修正す
る(処理320)。処理315のチェックで最適印刷パ
タンが見つかった場合は、印刷する一つのレコードのデ
ータとそのレコードデータの印刷項目情報と印刷パタン
情報を基に印刷処理を行う(処理316)。処理316
では、印刷制御部203で、印刷書式設定部202より
送られてきた印刷するレコードデータ,そのレコードの
該当印刷パタンポインタおよび印刷項目情報と、印刷書
式制御部206より送られてきた印刷パタン情報とを基
に、一つのレコードのデータを印字情報へ展開し、その
印字情報を印刷装置108へ送り印刷する。Returning to FIG. 2 again, it is next checked whether or not there is a print character protrusion, that is, whether or not the optimum print pattern is found (process 31).
5) If the optimum printing pattern is not found,
A warning message of the print pattern mismatch screen 508 is displayed on the display device 103 (process 318), and the input device 101
Thus, when the coping instruction is sent to the print format setting unit 202, the coping process is performed in accordance therewith (process 319). There are three handling processes: "end the process", "print from the next record", and "correct the print pattern", and the correction of the print pattern is an area (rectangle) set at an arbitrary position. The print pattern selection screen 506 of FIG. 10 is corrected by using the function of designating the print position of each item and performing printing by using the layout editing function for correcting (step 320). If the optimum print pattern is found by the check in the process 315, the print process is performed based on the data of one record to be printed, the print item information of the record data, and the print pattern information (process 316). Process 316
Then, in the print control unit 203, the record data to be printed sent from the print format setting unit 202, the corresponding print pattern pointer and print item information of the record, and the print pattern information sent from the print format control unit 206. Based on the above, the data of one record is developed into print information, and the print information is sent to the printing device 108 and printed.
【0033】一つのレコードの印刷終了後、次の印刷デ
ータが存在する場合には、一つのレコードの読込み(処
理308)へもどり、処理を繰り返す。全レコードの印
刷が終了した場合には、印刷処理を終了する。(処理3
17) 以上の印刷結果の一具体例を図12の印字結果130
1,印字結果1302に示す。図11のようなデータベ
ース507より、自動はがき書式設定印刷をした場合に
は、レコード1201は印字結果1301、レコード1
202は印字結果1302のようになる。After the printing of one record is completed, if the next print data exists, the process returns to the reading of one record (process 308) and the process is repeated. When the printing of all records is completed, the printing process is ended. (Process 3
17) A specific example of the above print result is the print result 130 of FIG.
1, the print result 1302 is shown. From the database 507 as shown in FIG. 11, when automatic postcard format setting printing is performed, the record 1201 is the print result 1301 and the record 1
The print result 202 is like a print result 1302.
【0034】図6の印刷方法選択画面503から入力装
置101によって「2:縦/横印刷書式指定印刷」が選
択されると、処理306ではがき横書き印刷を行うレコ
ードの指定を行う。ここで印刷書式設定部202は、印
刷範囲・印刷項目設定部201から送られてきた印刷開
始終了レコード情報とレコード情報の取得指示をレコー
ド制御部204へ送る。レコード制御部204では、記
憶装置104のレコード情報テーブル105を参照し、
レコード情報を印刷書式設定部202へ出力する。印刷
書式設定部202では、レコード情報からなる図8の印
刷方向指定画面504を表示装置103に表示する。印
刷方向指定画面504では、カーソルキー,スクロール
キーを入力装置101より指示することで、全てのレコ
ード情報を表示装置103に表示することができる。入
力装置101で前記操作をしながら表示画面より横書き
印刷するレコードの選択指示を行うと、表示制御部20
4によって表示装置103に送られ画面表示される。そ
の後、入力装置101より選択終了が指示されると、選
択されたレコードを横書き印刷、それ以外を縦書き印刷
とし、データ判定部205へ送られる。データ判定部2
05はこの情報を基にレコード毎の印刷方向パタンの取
得を印刷書式制御部206に指示する。印刷書式制御部
206は、記憶装置104の印刷書式情報テーブル10
6より、レコード毎の印刷方向パタンを取得しデータ判
定部205へ送る。When "2: vertical / horizontal printing format designation printing" is selected from the printing method selection screen 503 of FIG. 6 by the input device 101, in step 306, a record for postcard horizontal writing printing is designated. Here, the print format setting unit 202 sends the print start / end record information and the record information acquisition instruction sent from the print range / print item setting unit 201 to the record control unit 204. The record control unit 204 refers to the record information table 105 of the storage device 104,
The record information is output to the print format setting unit 202. The print format setting unit 202 displays the print direction designation screen 504 of FIG. 8 including the record information on the display device 103. In the print direction designation screen 504, all the record information can be displayed on the display device 103 by instructing a cursor key and a scroll key from the input device 101. When the user inputs an instruction to select a record to be printed horizontally from the display screen while operating the input device 101, the display control unit 20
4 is sent to the display device 103 and displayed on the screen. After that, when the selection end is instructed from the input device 101, the selected record is printed horizontally and the other records are printed vertically and sent to the data determination unit 205. Data determination unit 2
Based on this information, 05 instructs the print format control unit 206 to acquire the print direction pattern for each record. The print format control unit 206 uses the print format information table 10 of the storage device 104.
The print direction pattern for each record is acquired from 6 and sent to the data determination unit 205.
【0035】次に、前記説明した処理308において、
印刷する一つのレコードデータを記憶装置104のレコ
ード情報テーブル105より読み込む。Next, in the process 308 described above,
One record data to be printed is read from the record information table 105 of the storage device 104.
【0036】このレコードデータとレコード毎の印刷方
向パタンを基にデータ判定部205では、前記説明した
処理313の最適な印刷書式選択を行い、印字文字のは
み出しがあるかどうか、すなわち、最適印刷パタンが見
つからなかったかどうかをチェックする(処理31
5)。最適印刷パタンが見つからない場合は前記説明し
た処理318、処理319、処理320の警告メッセー
ジと対処処理を行い、最適印刷パタンが見つかったとき
は印刷処理を行う(処理316)。On the basis of this record data and the print direction pattern for each record, the data judgment unit 205 selects the optimum print format in the above-described processing 313, and determines whether or not there is a print character protrusion, that is, the optimum print pattern. Check whether or not was found (Process 31)
5). When the optimum print pattern is not found, the warning message and the coping process of the above-described process 318, process 319, and process 320 are performed, and when the optimum print pattern is found, the print process is performed (process 316).
【0037】一つのレコードの印刷終了後、次の印刷デ
ータが存在する場合には、一つのレコードの読込み(処
理308)へ戻り、処理を繰り返す。全レコードの印刷
が終了した場合には、印刷処理を終了する(処理31
7)。After the printing of one record is completed, if the next print data exists, the process returns to the reading of one record (process 308) and the process is repeated. When the printing of all records is completed, the printing process is ended (process 31).
7).
【0038】以上の印刷結果の一具体例を図12の印字
結果1302,印字結果1303に示す。図11のよう
なデータベース507より、印刷書式指定はがき印刷を
行い、レコード1202,レコード1203を横書き印
刷に指定した場合、レコード1202は印字結果130
2、レコード1203は印字結果1303のようにな
る。A specific example of the above print result is shown as a print result 1302 and a print result 1303 in FIG. When a postcard print with print format designation is performed from the database 507 as shown in FIG. 11 and records 1202 and 1203 are designated as horizontal print, the record 1202 is the print result 130.
2. The record 1203 becomes the print result 1303.
【0039】図6の印刷方法選択画面503から入力装
置101によって「3:印刷書式指定印刷」が選択され
ると、処理307で各印刷対象レコードの印刷パタンを
指定する処理を行う。印刷書式設定部202は、印刷範
囲・印刷項目設定部201から送られてきた印刷開始終
了レコード情報とレコード情報の取得指示をレコード制
御部204へ指示する。レコード制御部204では、印
刷開始終了レコード情報を基に記憶装置104のレコー
ド情報テーブル105を参照し、レコード情報を印刷書
式設定部202へ出力する。印刷書式設定部202で
は、レコード情報を基に図9の印刷パタン変更行指定画
面505を表示装置103に表示する。印刷パタン変更
行指定画面505では、カーソルキー,スクロールキー
を入力装置101より指示することで、全てのレコード
情報を表示装置103に表示することができる。入力装
置101で前記操作をしながら表示画面より印刷パタン
変更対象レコードの選択指示を行うと、表示制御部20
4によって表示装置103に送られ画面表示される。When "3: print format designation printing" is selected by the input device 101 from the printing method selection screen 503 of FIG. 6, processing 307 designates the printing pattern of each print target record. The print format setting unit 202 instructs the record control unit 204 to acquire the print start / end record information and the record information sent from the print range / print item setting unit 201. The record control unit 204 refers to the record information table 105 of the storage device 104 based on the print start / end record information, and outputs the record information to the print format setting unit 202. The print format setting unit 202 displays the print pattern change line designation screen 505 of FIG. 9 on the display device 103 based on the record information. In the print pattern change line designation screen 505, all the record information can be displayed on the display device 103 by instructing the cursor key and the scroll key from the input device 101. When an instruction to select a print pattern change target record is issued from the display screen while the input device 101 is performing the above operation, the display control unit 20
4 is sent to the display device 103 and displayed on the screen.
【0040】印刷パタン変更対象レコードが指定される
と、印刷書式設定部202は、図10の印刷パタン選択
画面506を表示装置103に表示する。印刷パタン選
択画面506で入力装置101より印刷パタン決定指示
がされると、印刷パタン変更対象レコードは、選択され
た印刷パタンに変更される。その後、入力装置101よ
り変更終了が指示されると変更したレコードは変更後の
印刷パタン、それ以外のレコードは印刷パタン選択画面
506の選択番号(2)の印刷パタンになる。When the print pattern change target record is designated, the print format setting unit 202 displays the print pattern selection screen 506 of FIG. 10 on the display device 103. When a print pattern determination instruction is issued from the input device 101 on the print pattern selection screen 506, the print pattern change target record is changed to the selected print pattern. Thereafter, when the end of change is instructed from the input device 101, the changed record becomes the changed print pattern, and the other records become the print pattern of the selection number (2) on the print pattern selection screen 506.
【0041】前記印刷パタン情報とレコード情報をデー
タ判定部205へ送り、印刷項目の文字数,行数チェッ
クを指示する。データ判定部205は、レコード情報よ
り各印刷項目の文字数を算出し、そのレコードの印刷パ
タンの印字可能文字数を参照し、比較する。また、住所
項目においては、算出した文字数より印刷行数を求め印
刷パタンと比較する。各項目の文字数または行数が印字
可能文字数または印字可能行数を超えた場合は、印刷書
式設定部202へNG(印刷パタン不一致)を通知す
る。印刷書式設定部202は、前記説明した処理31
8,処理319,処理320で印刷パタン不一致画面5
08の警告メッセージを表示装置103へ表示し、入力
装置101より対処指示がなされるとそれにしたがって
対処処理を行う。The print pattern information and the record information are sent to the data judging section 205 to instruct the check of the number of characters and the number of lines of the print item. The data determination unit 205 calculates the number of characters of each print item from the record information, refers to the number of printable characters of the print pattern of the record, and compares them. Further, in the address item, the number of print lines is obtained from the calculated number of characters and compared with the print pattern. When the number of characters or lines of each item exceeds the number of printable characters or the number of printable lines, the print format setting unit 202 is notified of NG (print pattern mismatch). The print format setting unit 202 uses the process 31 described above.
8, print pattern mismatch screen 5 in process 319 and process 320
A warning message 08 is displayed on the display device 103, and when a coping instruction is given from the input device 101, coping processing is performed according to the instruction.
【0042】各印刷対象項目の文字数または行数が印刷
パタンの印字可能文字数または印字可能行数を超えない
場合は、印刷書式設定部202は、前記印刷レコード番
号と印刷パタン番号を、印刷制御部203へ送る。印刷
制御部203は、印刷書式設定部202より送られてき
た印刷するレコードデータ,そのレコードの該当印刷パ
タンポインタ,印刷項目情報および印刷対象レコード番
号と印刷書式制御部206より送られてきた印刷パタン
情報を基に、一つのレコードのデータを印字情報へ展開
し、その印字情報を印刷装置108へ送り印刷する(処
理316)。これをレコードの数の分だけ繰り返し、全
レコードの印刷が終了した場合には、印刷処理を終了す
る(処理317)。When the number of characters or the number of lines of each item to be printed does not exceed the number of printable characters or the number of printable lines of the print pattern, the print format setting unit 202 sets the print record number and the print pattern number to the print control unit. Send to 203. The print control unit 203 prints record data sent from the print format setting unit 202, a corresponding print pattern pointer of the record, print item information, a print target record number, and a print pattern sent from the print format control unit 206. Based on the information, the data of one record is developed into print information, and the print information is sent to the printing device 108 and printed (process 316). This is repeated for the number of records, and when the printing of all records is completed, the printing process is ended (process 317).
【0043】以上の印刷結果の一具体例を図12の印字
結果1302,印字結果1303に示す。図11のよう
なデータベース507より、指定行はがき印刷で横書き
印刷パタンを選択し、はがき印刷をした場合、レコード
1202は印字結果1302、レコード1203は印字
結果1303のようになる。A specific example of the above print result is shown as a print result 1302 and a print result 1303 in FIG. From the database 507 as shown in FIG. 11, when the horizontal print pattern is selected by the specified line postcard printing and postcard printing is performed, the record 1202 becomes the print result 1302 and the record 1203 becomes the print result 1303.
【0044】[0044]
【発明の効果】本発明によれば、データベースのレコー
ド中の印刷項目を認識することで、自動的に、または、
オペレータ操作により印刷パタンを各レコード毎に変更
し印刷することできるので、オペレータが各印刷パタン
毎に複数回の印刷操作を行うわずらわしさをなくすこと
ができる。また、該当印刷パタンがない場合やオペレー
タ指定により選択された印刷パタンの制限範囲内を印刷
対象項目の印字文字数または印字行数が超えてしまう場
合は、対処処理を要求する警告メッセージを表示し、そ
の対処指示に従って、印刷処理をやめるとか印刷パタン
を変更するとかの対処をすることにより印刷ミスをなく
すことができる。According to the present invention, by recognizing the print item in the record of the database, automatically or
Since the print pattern can be changed and printed for each record by the operator's operation, it is possible to eliminate the trouble of the operator performing the print operation a plurality of times for each print pattern. Also, if there is no corresponding print pattern or if the number of print characters or print lines of the print target item exceeds the limit range of the print pattern selected by operator specification, a warning message requesting corrective action is displayed, According to the handling instruction, a printing error can be eliminated by taking a countermeasure such as stopping the printing process or changing the printing pattern.
【図1】本発明の一実施例に係る情報処理装置の構成を
示すブロック図である。FIG. 1 is a block diagram showing the configuration of an information processing apparatus according to an embodiment of the present invention.
【図2】図1の全体制御装置が行う印刷のための処理フ
ローチャート図である。FIG. 2 is a flowchart of a process for printing performed by the overall control device of FIG.
【図3】図2の最適書式選択の具体的な処理フローチャ
ート図である。FIG. 3 is a specific processing flowchart of the optimum format selection shown in FIG.
【図4】図1の情報テーブルからの印刷行範囲指定画面
を示す図である。FIG. 4 is a diagram showing a print line range designation screen from the information table of FIG.
【図5】図1の情報テーブルからの印刷項目条件設定画
面を示す図である。5 is a diagram showing a print item condition setting screen from the information table of FIG.
【図6】図1の印刷書式制御部で表示指示する印刷方法
選択画面を示す図である。6 is a diagram showing a printing method selection screen for instructing a display by the printing format control unit of FIG.
【図7】図1の印刷書式情報テーブルを示す図である。FIG. 7 is a diagram showing a print format information table of FIG. 1.
【図8】印刷書式指定はがき印刷の指定画面を示す図で
ある。FIG. 8 is a diagram showing a print format designation postcard printing designation screen.
【図9】指定行はがき印刷の指定画面を示す図である。FIG. 9 is a diagram showing a designation screen for designated line postcard printing.
【図10】指定行はがき印刷のパターン選択画面を示す
図である。FIG. 10 is a diagram showing a pattern selection screen for designated line postcard printing.
【図11】住所、氏名等を格納したデータベースの一例
を示す図である。FIG. 11 is a diagram showing an example of a database storing addresses, names, etc.
【図12】本発明により印刷を行ったときの印刷結果を
示す。FIG. 12 shows a printing result when printing is performed according to the present invention.
【図13】警告メッセージの印刷パタン不一致画面を示
す図である。FIG. 13 is a diagram showing a print pattern mismatch screen of a warning message.
101…入力装置、2…全体制御装置、201…印刷範
囲・印刷項目設定部、202…印刷書式設定部、203
…印刷制御部、204…レコード制御部、205…デー
タ判定部、206…印刷書式制御部、103…表示装
置、104…記憶装置、105…レコード情報テーブ
ル、106…印刷書式情報テーブル、107…印刷項目
情報テーブル、108…印刷装置Reference numeral 101 ... Input device, 2 ... Overall control device, 201 ... Print range / print item setting unit, 202 ... Print format setting unit, 203
... print control unit, 204 ... record control unit, 205 ... data determination unit, 206 ... print format control unit, 103 ... display device, 104 ... storage device, 105 ... record information table, 106 ... print format information table, 107 ... printing Item information table, 108 ... Printing device
Claims (6)
コードをデータベースとして記憶し、前記レコードを印
刷するときに必要な印刷パタンを記憶し、前記レコード
内の各印刷項目と前記印刷パタンの各パタン項目とを対
応付ける情報を記憶する記憶ステップからの情報を基
に、前記レコード内の各印刷項目と前記印刷パタンの各
パタン項目を対応付け、該対応付けられた各パタン項目
からなる印刷パタンに従い、前記データベース上のレコ
ードを印刷する全体制御ステップを備える情報処理方法
において、 前記全体制御ステップは、前記レコード内の各印刷項目
のうち、文字種がすべてアルファベットの印刷項目があ
るかどうか判定し、前記アルファベットの印刷項目があ
るときは印刷方向が横書きの印刷パタン、ないときは印
刷方向が縦書きの印刷パタンを、前記記憶ステップに予
め記憶してある印刷パタンの中から各レコード毎に自動
選択するデータ判定ステップを有することを特徴とした
情報処理方法。1. A record of a series of information such as an address, a name, and a zip code is stored as a database, print patterns necessary for printing the record are stored, and each print item in the record and the print pattern are stored. Of each print item in the record and each pattern item of the print pattern are associated with each other based on the information from the storage step of storing information associating each pattern item of According to a pattern, in an information processing method including an overall control step of printing records on the database, the overall control step determines whether or not there is a print item in which all the character types are alphabetic among the print items in the record. , If there is a print item of the alphabet, the print direction is horizontal print pattern, if there is no print item, the print direction is An information processing method, comprising: a data determination step of automatically selecting a vertical writing print pattern for each record from print patterns stored in advance in the storage step.
ータ判定ステップは、前記レコード内の各印刷項目の印
字文字数を取得し、前記印字文字数と前記記憶ステップ
に予め記憶してある印刷パタンを比較し、前記印刷パタ
ンの中から、各項目の内容が全て印刷可能で、各印刷パ
タンの複数行指定されているパタン項目に印刷対象項目
の文字をあてはめたとき、印刷設定行数が最も少なく、
前記パタン項目に占める文字数の占有率の一番高い印刷
パタンを最適印刷パタンとして各レコード毎に自動選択
することを特徴とした情報処理方法。2. The information processing method according to claim 1, wherein in the data determining step, the number of print characters of each print item in the record is acquired, and the print character number and the print pattern previously stored in the storing step are obtained. By comparing, from the print pattern, all the contents of each item can be printed, and when the characters of the item to be printed are applied to the pattern item specified in multiple lines of each print pattern, the number of print setting lines is the smallest ,
An information processing method characterized in that a print pattern having the highest occupation rate of the number of characters in the pattern item is automatically selected as an optimum print pattern for each record.
おいて、前記全体制御ステップは、前記データ判定ステ
ップで前記レコード内の各印刷項目の印字文字数や印刷
行数を認識し印刷パタンを選択する際、前記記憶ステッ
プに予め記憶してある印刷パタンでは前記各印刷項目の
印字文字数や前記印字行数を超えてしまいレコード内の
各印刷項目を全て印刷できない場合、対応処理内容を表
示し、指示された対応処理を行う印刷書式設定ステップ
を有することを特徴とした情報処理方法。3. The information processing method according to claim 1, wherein the overall control step recognizes the number of print characters and the number of print lines of each print item in the record in the data determination step, and selects a print pattern. At the time of printing, if the print pattern stored in advance in the storage step exceeds the number of print characters or the number of print lines of each print item and all print items in the record cannot be printed, the corresponding processing content is displayed, An information processing method comprising a print format setting step for performing a designated corresponding process.
ータベースとして記憶し、前記レコードを印刷するとき
に必要な印刷パタンを記憶し、前記レコード内の各印刷
項目と前記印刷パタンの各パタン項目とを対応付ける情
報を記憶する記憶装置からの情報を基に、前記レコード
内の各印刷項目と前記印刷パタンの各パタン項目を対応
付け、該対応付けられた各パタン項目からなる印刷パタ
ンに従い、前記データベース上のレコードを印刷する全
体制御装置を備える情報処理装置において、 前記全体制御装置は、前記レコード内の各印刷項目のう
ち、文字種がすべてアルファベットの印刷項目があるか
どうか判定し、前記アルファベットの印刷項目があると
きは印刷方向が横書きの印刷パタン、ないときは印刷方
向が縦書きの印刷パタンを、前記記憶装置に予め記憶し
てある印刷パタンの中から各レコード毎に自動選択する
データ判定部を有することを特徴とした情報処理装置。4. A series of information such as an address, a name, and a zip code is stored as a database, print patterns necessary for printing the record are stored, and each print item in the record and each print pattern are stored. Based on information from a storage device that stores information that associates pattern items with each other, each print item in the record is associated with each pattern item of the print pattern, and according to the print pattern including the associated pattern items. In the information processing apparatus including an overall control device that prints a record on the database, the overall control device determines whether or not there is a print item in which all the character types are alphabetic among the print items in the record, and If there is a print item in the alphabet, the print pattern with the horizontal writing direction is used.If there is no print item, the print pattern with the vertical writing direction is used. An information processing apparatus comprising a data determination unit for automatically selecting each record from print patterns stored in advance in the storage device.
ータ判定部は、前記レコード内の各印刷項目の印字文字
数を取得し、前記印字文字数と前記記憶装置に予め記憶
してある印刷パタンを比較し、前記印刷パタンの中か
ら、各項目の内容が全て印刷可能で、各印刷パタンの複
数行指定されているパタン項目に印刷対象項目の文字を
あてはめたとき、印刷設定行数が最も少なく、前記パタ
ン項目に占める文字数の占有率の一番高い印刷パタンを
最適印刷パタンとして各レコード毎に自動選択すること
を特徴とした情報処理装置5. The information processing apparatus according to claim 4, wherein the data determination unit acquires the number of print characters of each print item in the record, and determines the number of print characters and the print pattern stored in advance in the storage device. By comparing, from the print pattern, all the contents of each item can be printed, and when the characters of the item to be printed are applied to the pattern item specified in multiple lines of each print pattern, the number of print setting lines is the smallest An information processing apparatus characterized in that a print pattern having the highest occupation rate of the number of characters in the pattern item is automatically selected as an optimum print pattern for each record.
おいて、前記全体制御装置は、前記データ判定ステップ
で前記レコード内の各印刷項目の印字文字数や印刷行数
を認識し印刷パタンを選択する際、前記記憶装置に予め
記憶してある印刷パタンでは前記各印刷項目の印字文字
数や前記印字行数を超えてしまいレコード内の各印刷項
目を全て印刷できない場合、対応処理内容を表示し、指
示された対応処理を行う印刷書式設定部を有することを
特徴とした情報処理方法。6. The information processing apparatus according to claim 4 or 5, wherein the overall control device recognizes the number of print characters and the number of print lines of each print item in the record in the data determination step and selects a print pattern. At the time of printing, if the print pattern stored in advance in the storage device exceeds the number of print characters or the number of print lines of each print item and all print items in the record cannot be printed, the corresponding processing contents are displayed, An information processing method, comprising: a print format setting unit that performs an instructed response process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6155621A JPH0822455A (en) | 1994-07-07 | 1994-07-07 | Information processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6155621A JPH0822455A (en) | 1994-07-07 | 1994-07-07 | Information processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0822455A true JPH0822455A (en) | 1996-01-23 |
Family
ID=15610014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6155621A Pending JPH0822455A (en) | 1994-07-07 | 1994-07-07 | Information processing method and device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0822455A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006107442A (en) * | 2004-09-30 | 2006-04-20 | Microsoft Corp | Method, apparatus and computer-readable medium for managing specific type of content in electronic document |
JP2010198483A (en) * | 2009-02-26 | 2010-09-09 | Nec Infrontia Corp | Electronic journal data browsing system, electronic journal data browsing method, program therefor, and recording medium |
JP2011222116A (en) * | 2011-06-27 | 2011-11-04 | Rohm Co Ltd | Recorder |
-
1994
- 1994-07-07 JP JP6155621A patent/JPH0822455A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006107442A (en) * | 2004-09-30 | 2006-04-20 | Microsoft Corp | Method, apparatus and computer-readable medium for managing specific type of content in electronic document |
JP2010198483A (en) * | 2009-02-26 | 2010-09-09 | Nec Infrontia Corp | Electronic journal data browsing system, electronic journal data browsing method, program therefor, and recording medium |
JP2011222116A (en) * | 2011-06-27 | 2011-11-04 | Rohm Co Ltd | Recorder |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5302969A (en) | Document format setting method and apparatus | |
JPH03161873A (en) | Electronic filing device having data base constructing function | |
JPS63205257A (en) | Printing control system | |
US5878198A (en) | Information processing apparatus and method and memory medium storing information processing program | |
JPH113386A (en) | Method and device for displaying information on computer-controlled display device | |
JP3001065B2 (en) | How to create a program | |
JPH0520274A (en) | Electronic information equipment | |
US6504540B1 (en) | Method and apparatus for altering one or more attributes of one or more blocks of image data in a document | |
JP2740335B2 (en) | Table reader with automatic cell attribute determination function | |
JPH0822455A (en) | Information processing method and device | |
JP3157956B2 (en) | Document processing device with list display function of format setting | |
JP2000132542A (en) | Information processor, and storage medium storing processing program of the processor | |
JP2595399B2 (en) | Document processing method | |
JPH0776905B2 (en) | Document management device | |
JP2500554B2 (en) | Postcard printing processor | |
JPH07225810A (en) | Picture processor | |
JPH03188556A (en) | Automatic document preparing system | |
JP2500563B2 (en) | Postcard printing processor | |
JP2931485B2 (en) | Character extraction device and method | |
JPH1091719A (en) | How to manage character recognition status | |
JPS6336671A (en) | Electronic file system | |
JPH02136269A (en) | Document processing apparatus | |
JPH09319735A (en) | Document preparing device and recording medium | |
JPS60150190A (en) | Character recognizing method | |
JPH1055405A (en) | Device and method for reading directory |