JPH04268918A - Document processor having curtain printing function - Google Patents

Document processor having curtain printing function

Info

Publication number
JPH04268918A
JPH04268918A JP3030424A JP3042491A JPH04268918A JP H04268918 A JPH04268918 A JP H04268918A JP 3030424 A JP3030424 A JP 3030424A JP 3042491 A JP3042491 A JP 3042491A JP H04268918 A JPH04268918 A JP H04268918A
Authority
JP
Japan
Prior art keywords
printing
character
characters
storage means
banner
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
JP3030424A
Other languages
Japanese (ja)
Inventor
Koichi Tsubouchi
坪内 浩一
Hiroki Sugimoto
博樹 杉本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP3030424A priority Critical patent/JPH04268918A/en
Publication of JPH04268918A publication Critical patent/JPH04268918A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To print out characters with proper character intervals by correcting printing patterns by a correcting means prior to printing when an interval between characters to be printed out by a printing means is wider than a reference character interval. CONSTITUTION:Various characters and format information such as the sizes of the characters and vertical/horizontal writing are inputted from an input means 102. The inputted characters and format information are respectively written in a character storing means 103 and a format information storing means 104. Printing patterns corresponding to the characters stored in the means 103 are read out from a printing pattern storing means 101 by a reading means 105. The read printing patterns are successively printed out in a line by a format stored in the means 104 so that each character is printed out in each line in the feeding direction of paper. When the interval between characters to be printed out is wider than the reference character interval, the printing patterns are corrected by the correcting means 105a prior to printing so as to be set up to the reference character interval.

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】この発明は、日本語ワードプロセ
ッサや日本語よる文書作成が可能なコンピュータなどの
文書処理装置に関し、特に、文字の拡大印字や、例えば
縦書印字のような文字の回転指示が可能な文書処理装置
に関する。 【0002】 【従来の技術】従来、この種の文書処理装置においては
、文字の拡大印字の機能を用いて、例えば、人びとの注
意を促す言葉を書いた、いわゆる“垂れ幕”を作成する
、つまり、縦長や横長のロール紙上に入力文字列を大き
な字体で一列に印字するという場合には、通常の文書入
力モードにおいて垂れ幕に印刷したい文字列を入力し、
一文字毎に拡大処理を行ってそれを印字するようにして
いる。 【0003】 【発明が解決しようとする課題】しかしながら、このよ
うな文書処理装置を用いて垂れ幕を作成する場合には、
一文字毎に拡大処理を行わなければならず、処理が煩雑
である。 【0004】さらに、このような文書処理装置を用いた
垂れ幕の作成においては、文字を一行に一文字ずつ入力
して印字するようにしており、また、縦長の垂れ幕を作
成する場合には、通常のキャラクタジェネレータに記憶
している横書用の字体で縦長の垂れ幕を作成する。 【0005】このため、例えば長音記号“ー”や括弧“
(”のような、横書用と縦書用とで印字パターンの異な
る文字についても、そのまま横書用の印字パターンで印
字が行われてしまうため、これらの長音記号や括弧を垂
れ幕の印刷文字として使用できないという問題がある。 【0006】また、縦長の垂れ幕を作成する場合には、
従来は文字の外枠(ボディフェース)と外枠の間が等間
隔になるように印刷を行っていたが、実際は文字によっ
てパターンの大きさが異なるため、図9で示されるよう
に、垂れ幕Aの文字と文字の間隔B1,B2,B3が不
均等になり、文字の間隔バランスが悪くなる。 【0007】この発明は、このような事情を考慮してな
されたもので、縦長や横長の垂れ幕に、各文字について
の拡大倍率の指定や入力手順についての煩雑な操作を行
うことなく、適正な文字間隔で印字できるようにした、
垂れ幕印字機能を有する文書処理装置を提供するもので
ある。 【0008】 【課題を解決するための手段】この発明は、各種の文字
についての印字パターンをあらかじめ記憶した印字パタ
ーン記憶手段と、文字の種類に対応する基準文字間隔を
あらかじめ記憶した基準文字間隔記憶手段と、各種の文
字及びその文字の大きさや縦書・横書等の書式情報を入
力するための入力手段と、入力された文字を記憶する文
字記憶手段と、入力された書式情報を記憶する書式情報
記憶手段と、文字記憶手段に記憶された文字に対応する
印字パターンを印字パターン記憶手段から読出す読出し
手段と、読出し手段によって読出された印字パターンを
一行につき一文字ずつ用紙の送り方向に対して一列に書
式情報記憶手段に記憶された書式で順次印字する印字手
段と、印字手段によって印字される文字の間隔が基準文
字間隔より広い場合には印字される文字の間隔が基準文
字間隔になるように印字前に印字パターンを補正する補
正手段を備えてなる垂れ幕印字機能を有する文書処装置
を提供するものである。 【0009】図1はこの発明の構成を示すブロック図で
あり、この文書処理装置は、各種の文字についての印字
パターンをあらかじめ記憶した印字パターン記憶手段1
01 と、文字の種類に対応する基準文字間隔をあらか
じめ記憶した基準文字間隔記憶手段101aと、各種の
文字及びその文字の大きさや縦書・横書等の書式情報を
入力するための入力手段102と、入力された文字を記
憶する文字記憶手段103と、入力された書式情報を記
憶する書式情報記憶手段104と、文字記憶手段103
に記憶された文字に対応する印字パターンを印字パター
ン記憶手段101から読出す読出し手段105と、読出
し手段105によって読出された印字パターンを一行に
つき一文字ずつ用紙の送り方向に対して一列に書式情報
記憶手段104に記憶された書式で順次印字する印字手
段106と、印字手段106によって印字される文字の
間隔が基準文字間隔より広い場合には印字される文字の
間隔が基準文字間隔になるように印字前に印字パターン
を補正する補正手段105aを備える。 【0010】
なお、この発明において、印字パターン記憶手段101
,基準文字間隔記憶手段101aとしては、ROMのよ
うな内部メモリや、フロッピーディスク装置、磁気ディ
スク装置等の外部記憶装置が用いられる。 【0011】入力手段102としては、かな文字やアル
ファベット、あるいは各種の書式情報などを入力するこ
とが可能なキーボード装置やポインティングデバイス等
が用いられる。 【0012】文字記憶手段103及び、書式情報記憶手
段104,としては、主としてRAMが用いられる。 【0013】読出し手段105及び補正手段105aし
ては、マイクロプロセッサからなるCPUが主として用
いられる。 【0014】印字手段106としては、インパクト式、
熱転写式等のドットプリンタが主として用いられる。 【0015】 【作用】図1に示すように、入力手段102から、各種
の文字及びその文字の大きさや縦書・横書等の書式情報
が入力されると、入力された文字は文字記憶手段103
に、書式情報は書式情報記憶手段104に、それぞれ記
憶される。 【0016】そして、読出し手段105により、文字記
憶手段103に記憶された文字に対応する印字パターン
が印字パターン記憶手段101から読出され、その読出
された印字パターンが、印字手段106により、一行に
つき一文字ずつ用紙の送り方向に対して一列に書式情報
記憶手段104に記憶された書式で順次印字される。 【0017】なお、印字される文字の間隔が基準文字間
隔より広い場合には、印字される文字の間隔が基準文字
間隔になるように印字前に印字パターンが補正手段10
5aにより補正されるので、間隔バランスの良い印字が
得られる。 【0018】 【実施例】以下、図面に示す実施例に基づいてこの発明
を詳述する。なお、これによってこの発明が限定される
ものではない。 【0019】図2はこの発明を日本語ワードプロセッサ
に適用した一実施例の構成を示すブロック図である。こ
の図において、1はかな文字キーや数値キー、変換キー
、あるいはファンクションキー等を備えたキーボードで
ある。このキーボード1からは、各種の文字列を入力す
ると共に、垂れ幕作成時には、垂れ幕に印刷するための
文字、及びその文字の大きさや、縦書及び横書の場合に
おける印字方向、つまり文字の回転方向などの書式情報
を垂れ幕情報として入力する。 【0020】2はマイクロプロセッサからなるCPUで
あり、かな漢字変換機能を有している。 【0021】3はROMであり、このROM3には、ワ
ードプロセッサ本来の文章作成・編集のためのプログラ
ムと、垂れ幕作成のためのプログラムと、文字間隔(文
字間ドット数)を演算するためのプログラムが書き込ま
れており、CPU2は、これらのプログラムにより、後
述する各種のデータ処理を行う。 【0022】ROM3には、さらに、文字の種類(漢字
、かな、英数字等)や書体(明朝体、毛筆体等)によっ
て予め定められた基準文字間隔(文字間ドット)データ
と、各種の文字についての横書用の印字パターンを発生
する横書文字用のキャラクタジェネレータ(以下CGと
略記する)と、例えば、長音記号“ー”や括弧“(”、
あるいは句点“。”及び読点“、”のように、横書用と
縦書用とで印字パターンや印字位置の異なる文字につい
ての、縦書用の印字パターンを発生する縦書文字用のC
Gが組み込まれている。 【0023】4はキーボード1から入力された文字を記
憶するRAMであり、ワードプロセッサ本来の文章作成
・編集により生成された文章データを記憶する。また、
垂れ幕作成時には、文字間隔(文字間ドット)データの
テーブルや、キーボード1から入力された文字列および
垂れ幕情報を記憶する。 【0024】5はCRTディスプレイ装置であり、各種
の入力文字列、あるいは垂れ幕情報を表示する。このC
RTディスプレイ装置は、勿論LC(液晶)ディスプレ
イ装置、あるいはELディスプレイ装置等であってもよ
い。 【0025】6は熱転写式のドットプリンタであり、ワ
ードプロセッサとしての通常文書の印字を行う。また、
文字の拡大印字の機能を用いて、例えば、人びとの注意
を促す言葉を書いた、いわゆる“垂れ幕”を作成する。 つまり、縦長や横長のロール紙がセットされた場合には
、そのロール紙上に入力文字列を大きな字体で一列に印
字する。 【0026】図3は垂れ幕を作成する場合における入力
画面の表示の一例を示す説明図であり、この図に示すよ
うに、垂れ幕作成時には、垂れ幕情報として以下のよう
な各種の書式情報が入力される。 【0027】すなわち、まず、垂れ幕に印刷するための
文字列が大括弧[……]内に入力され、文字の倍率が指
定され、縦長の用紙に縦書で印刷するのか、あるいは横
長の用紙に横書で印刷するのかという、縦書又は横書の
印刷方向が指定される。そして、拡大装飾の種類が選択
され、最後に明朝体、毛筆体などの書体が選択される。 【0028】CPU2は、これらの垂れ幕情報をRAM
4に記憶する。そして、RAM4に記憶した垂れ幕情報
における文字の印刷方向が縦書であるときには、RAM
4に記憶した入力文字の中から、横書用と縦書用とで印
字パターンの異なる文字を選択し、選択した文字に対応
する印字パターンをROM3内の縦書文字用のCGから
発生させると共に、選択しなかった文字に対応する印字
パターンをROM3内の横書文字用のCGから発生させ
る。 【0029】そして、垂れ幕作成時において、プリンタ
6に縦長のロール紙がセットされている場合には、その
ロール紙上に、発生させた印字パターンを、一行につき
一文字ずつ用紙の送り方向に対して一列に、垂れ幕情報
で指定された文字の大きさで順次印字し、縦長の垂れ幕
を作成する。 【0030】また、垂れ幕情報における文字の印字方向
が横書であるときには、RAM4に記憶した入力文字に
対応する印字パターンを横書文字用のCGから発生させ
、その発生させた印字パターンを時計方向に90度回転
させる。 【0031】そして、垂れ幕作成時において、プリンタ
6に縦長のロール紙がセットされている場合には、その
ロール紙上に、時計方向に90度回転させた印字パター
ンを、一行につき一文字ずつ用紙の送り方向に対して一
列に、垂れ幕情報で指定された文字の大きさで順次印字
し、横長の垂れ幕を作成する。 【0032】図6は、縦長の垂れ幕を作成する文字列の
一例を示し、文字L1、L2、L3について、Fは文字
の外枠(ボディフェース)、S1、S2、S3は各文字
固有の前間隔(前スペース)、T1、T2、T3は各文
字固有の後間隔(後スペース)である。図7は、予めR
OM3に格納されている文字分類(文字の種類)と書体
に対応する基準文字間隔(ドット数)のデータを示して
いる。図6に示す文字列が縦長に印字される場合には、
CGから発生させた文字パターンから、各文字固有の前
間隔と後間隔のドットデータが読出され、図8に示すテ
ーブルがRAM4に格納される。図6の文字L1、L2
、L3は、それぞれ図8の文字コード3866、306
C、3954に対応し、前間隔S1、S2、S3はそれ
ぞれ1ドット、23ドット、1ドットであり、後間隔T
1、T2、T3はそれぞれ0ドット、28ドット、0ド
ットとなっている。そして、例えば、図8に示す文字L
1と文字L2の文字間隔についていえば、文字L1の後
間隔T1と文字L2の前間隔S2の和(T1+S2)が
図7の基準文字間隔より大きい場合には文字L1と文字
L2は文字間隔が基準文字間隔に置換えられて印字され
る。 【0033】次に、このようなCPU2の処理動作の内
容を図4及び図5に示すフローチャートに従い説明する
。垂れ幕作成モード(機能)が使用者により指示される
と、CPU2は、まず、図3に示した垂れ幕作成時の入
力画面をCRTディスプレイ装置5の画面に表示する(
ステップ11)。 【0034】この画面において、使用者により、垂れ幕
に印刷する文字列が入力されると(ステップ12)、そ
の文字列をRAM4に記憶し(ステップ13)、その文
字列を印字するための垂れ幕情報が入力されると(ステ
ップ14)、その垂れ幕情報をRAM4に記憶する(ス
テップ15)。 【0035】続いて、使用者によってキーボード1から
印刷の指示が行われたか否かを調べ(ステップ16)、
印刷の指示があった場合には、RAM4から垂れ幕に印
刷するための文字列である垂れ幕文字列を読出すと共に
(ステップ17)、RAM4から垂れ幕情報を読出す(
ステップ18)。 【0036】そして、読出した垂れ幕情報の内容を調べ
、印刷方向に縦書が指定されている場合には(ステップ
19)、横書用と縦書用とで印字パターンの異なる文字
について、横書から縦書へと文字の印字パターンを変換
する、つまりそれらの文字については、縦書文字用のC
Gによって印字パターンを発生させる(ステップ20)
。 【0037】次に、図5に示すように、印字パターン(
文字パターン)を展開し、各文字について前間隔と後間
隔のドットデータを読出して図8に示すようなテーブル
を作成し、RAM4に格納する(ステップ31〜34)
。 【0038】次に、このテーブルから連続する2文字に
ついて前の文字の後間隔(ドット)と後の文字の前間隔
(ドット)を読出してその和を演算し、ROM3に格納
されている図7の基準文字間隔(ドット)と比較する。 そして、その和の方が大きい場合にはその2文字の印字
間隔を基準文字間隔に置換える(ステップ35〜39)
。なお、その和が基準文字間隔より大きくない場合には
、置換えない。このようにして文字間隔を補正する。 【0039】次に、補正された文字間隔に文字拡大率を
乗算し(ステップ40)、実際の印字用文字間隔を含む
拡大印字(文字)パターンデータを作成する(ステップ
41、42)。そして、この印字パターンデータをプリ
ンタ6に出力し、入力した全ての文字について印刷を行
う(ステップ43、44)。 【0040】また、印刷方向に縦書が指定されていない
、つまり横書が指定されている場合には(ステップ19
)、ステップ20の印字パターンの変換は行わず、各文
字について、全て横書文字用のCGによって印字パター
ンを発生させて、垂れ幕印刷のイメージデータを作成し
(ステップ21)、それら各文字のイメージデータを時
計方向に90度回転させて(ステップ22)、プリンタ
6に出力する(ステップ23)。 【0041】このようにして、指定された印刷方向によ
って、自動的に、入力された文字のパターンを変換し縦
長や横長の垂れ幕を、簡単な操作で容易に作成すること
ができる。 【0042】 【発明の効果】この発明によれば、縦長の垂れ幕に、間
隔バランスのよい文字列を印刷することができる。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] This invention relates to document processing devices such as Japanese word processors and computers capable of creating documents in Japanese, and in particular, to document processing devices such as Japanese word processors and computers capable of creating documents in Japanese, and in particular to The present invention relates to a document processing device capable of instructing character rotation such as vertical printing. [0002] Conventionally, in this type of document processing device, a so-called "banner" is created, for example, with words written to call people's attention, using a character enlargement printing function. If you want to print the input string in large font in a line on a vertically or horizontally long roll paper, enter the string you want to print on the banner in normal document input mode,
Enlargement processing is performed for each character and then printed. [0003]However, when creating a banner using such a document processing device,
Enlargement processing must be performed for each character, and the processing is complicated. Furthermore, when creating a banner using such a document processing device, characters are input and printed one by one per line, and when creating a vertically long banner, a normal Create a vertically long banner using the font for horizontal writing stored in the character generator. [0005] For this reason, for example, the long sound symbol "-" or the parentheses "
(Characters such as ", which have different printing patterns for horizontal and vertical writing, are printed using the printing pattern for horizontal writing as is, so these long symbols and parentheses are There is a problem that it cannot be used as a banner. [0006] Also, when creating a vertically long banner,
Conventionally, printing was performed so that the outer frame (body face) of the letters and the outer frame were evenly spaced, but in reality, the size of the pattern differs depending on the letter, so as shown in Figure 9, banner A The spacings B1, B2, and B3 between the characters become uneven, and the balance between the characters becomes unbalanced. [0007] The present invention was made in consideration of the above circumstances, and allows for proper printing of vertically long or horizontally long banners without having to specify the magnification factor for each character or having to perform complicated input procedures. Enabled printing with character spacing,
A document processing device having a banner printing function is provided. [Means for Solving the Problems] The present invention includes a printing pattern storage means that stores printing patterns for various characters in advance, and a standard character spacing storage that stores in advance the standard character spacing corresponding to the type of character. an input means for inputting various characters and format information such as the size of the characters and vertical/horizontal writing; a character storage means for storing input characters; and a character storage means for storing input format information. a format information storage means; a reading means for reading out a print pattern corresponding to the character stored in the character storage means from the print pattern storage means; If the interval between the characters printed by the printing means is wider than the standard character interval, the interval between the printed characters becomes the standard character interval. The present invention provides a document processing device having a banner printing function, which is equipped with a correction means for correcting a print pattern before printing. FIG. 1 is a block diagram showing the configuration of the present invention, and this document processing device includes a print pattern storage means 1 that stores print patterns for various characters in advance.
01, a standard character spacing storage means 101a that stores in advance the standard character spacing corresponding to the type of character, and an input means 102 for inputting various characters and format information such as the size of the characters and vertical or horizontal writing. , a character storage means 103 for storing input characters, a format information storage means 104 for storing input format information, and a character storage means 103 for storing input format information.
A reading unit 105 reads out a printing pattern corresponding to the characters stored in the printing pattern storage unit 101 from the printing pattern storage unit 101, and format information is stored in the printing pattern read out by the reading unit 105, one character per line in a line in the paper feeding direction. A printing means 106 sequentially prints in the format stored in the means 104, and when the interval between characters printed by the printing means 106 is wider than the standard character interval, printing is performed so that the interval between the printed characters becomes the standard character interval. A correction means 105a for correcting the print pattern is provided beforehand. 0010
In addition, in this invention, the print pattern storage means 101
, as the reference character interval storage means 101a, an internal memory such as a ROM, or an external storage device such as a floppy disk device or a magnetic disk device is used. [0011] As the input means 102, a keyboard device, a pointing device, etc., which can input kana characters, alphabets, various format information, etc., is used. A RAM is mainly used as the character storage means 103 and the format information storage means 104. A CPU consisting of a microprocessor is mainly used as the reading means 105 and the correction means 105a. The printing means 106 is of an impact type,
A dot printer such as a thermal transfer type is mainly used. [Operation] As shown in FIG. 1, when various characters and format information such as the size of the characters and vertical/horizontal writing are input from the input means 102, the input characters are stored in the character storage means. 103
Then, the format information is stored in the format information storage means 104, respectively. Then, the reading means 105 reads out the printing pattern corresponding to the character stored in the character storage means 103 from the printing pattern storage means 101, and the readout printing pattern is read out by the printing means 106, one character per line. Each sheet is sequentially printed in the format stored in the format information storage means 104 in a line in the feeding direction of the paper. Furthermore, if the spacing between the printed characters is wider than the standard character spacing, the printing pattern is corrected by the correction means 10 before printing so that the spacing between the printed characters becomes the standard character spacing.
5a, printing with well-balanced spacing can be obtained. [Embodiments] The present invention will be described in detail below based on embodiments shown in the drawings. Note that this invention is not limited to this. FIG. 2 is a block diagram showing the configuration of an embodiment in which the present invention is applied to a Japanese word processor. In this figure, 1 is a keyboard equipped with kana character keys, numerical keys, conversion keys, function keys, etc. From this keyboard 1, various character strings are input, and when creating a banner, the characters to be printed on the banner, the size of the characters, and the printing direction in the case of vertical or horizontal writing, that is, the rotation direction of the characters. Enter format information such as ``banner information'' as banner information. 2 is a CPU consisting of a microprocessor, and has a kana-kanji conversion function. [0021] 3 is a ROM, and this ROM 3 contains a program for creating and editing texts that is inherent to a word processor, a program for creating banners, and a program for calculating character spacing (the number of dots between characters). The CPU 2 uses these programs to perform various types of data processing, which will be described later. [0022] The ROM 3 further contains standard character spacing (dots between characters) data predetermined depending on the type of character (Kanji, Kana, alphanumeric characters, etc.) and typeface (Mincho font, calligraphy font, etc.), and various types of data. A character generator for horizontal writing characters (hereinafter abbreviated as CG) that generates horizontal writing printing patterns for characters, and a character generator for horizontal writing characters (hereinafter abbreviated as CG), for example, a long sound symbol “-”, parentheses “(”,
Or C for vertical writing characters that generates a printing pattern for vertical writing for characters that have different printing patterns and printing positions for horizontal writing and vertical writing, such as the period "." and the comma ",".
G is included. A RAM 4 stores characters input from the keyboard 1, and stores text data generated by text creation and editing inherent in a word processor. Also,
When creating a banner, a table of character spacing (dots between characters) data, character strings input from the keyboard 1, and banner information are stored. Reference numeral 5 denotes a CRT display device, which displays various input character strings or banner information. This C
Of course, the RT display device may be an LC (liquid crystal) display device, an EL display device, or the like. Reference numeral 6 denotes a thermal transfer type dot printer, which prints ordinary documents as a word processor. Also,
Using the text enlargement printing function, for example, a so-called "banner" with words written to call people's attention can be created. That is, when a vertically long or horizontally long roll paper is set, the input character string is printed in a line in large fonts on the roll paper. FIG. 3 is an explanatory diagram showing an example of the input screen display when creating a banner. As shown in this figure, when creating a banner, various format information such as the following is input as banner information. Ru. [0027] First, the character string to be printed on the banner is input in square brackets [...], the magnification of the character is specified, and whether it is to be printed vertically on vertical paper or horizontally long paper is specified. The printing direction (vertical or horizontal) is specified, i.e. whether to print horizontally. Then, the type of enlarged decoration is selected, and finally a typeface such as Mincho font or calligraphy font is selected. [0028] The CPU 2 stores these banner information in the RAM.
Store in 4. Then, when the printing direction of the characters in the banner information stored in RAM 4 is vertical, the RAM
From among the input characters stored in 4, characters with different printing patterns for horizontal writing and vertical writing are selected, and a printing pattern corresponding to the selected character is generated from the CG for vertical writing characters in ROM 3. , A print pattern corresponding to the unselected characters is generated from the CG for horizontal writing characters in the ROM 3. [0029] When creating a banner, if a vertically long roll paper is set in the printer 6, the generated printing pattern is printed on the roll paper, one character per line, in a line in the paper feeding direction. A vertically long banner is created by sequentially printing characters in the font size specified in the banner information. Furthermore, when the printing direction of the characters in the banner information is horizontal writing, a printing pattern corresponding to the input characters stored in the RAM 4 is generated from the CG for horizontal writing characters, and the generated printing pattern is rotated clockwise. Rotate it 90 degrees. [0031] When creating a banner, if a vertically long roll paper is set in the printer 6, a print pattern rotated 90 degrees clockwise is printed on the roll paper, one character per line as the paper is advanced. A horizontally long banner is created by sequentially printing characters in the size specified by the banner information in a line in the direction. FIG. 6 shows an example of a character string for creating a vertically long banner. For characters L1, L2, and L3, F is the outer frame (body face) of the character, and S1, S2, and S3 are the front lines unique to each character. The spacing (front space), T1, T2, and T3 are the trailing spacing (back space) specific to each character. In FIG. 7, R
It shows data of standard character spacing (number of dots) corresponding to character classifications (character types) and fonts stored in OM3. When the character string shown in Figure 6 is printed vertically,
From the character pattern generated from the CG, dot data of front and rear intervals unique to each character is read out, and a table shown in FIG. 8 is stored in the RAM 4. Characters L1 and L2 in Figure 6
, L3 are the character codes 3866 and 306 in Figure 8, respectively.
C, 3954, the front intervals S1, S2, and S3 are 1 dot, 23 dots, and 1 dot, respectively, and the rear interval T
1, T2, and T3 are 0 dot, 28 dot, and 0 dot, respectively. For example, the character L shown in FIG.
Regarding the character spacing between 1 and character L2, if the sum (T1+S2) of the rear interval T1 of character L1 and the front interval S2 of character L2 is larger than the standard character interval in FIG. 7, the character interval between character L1 and character L2 is It is replaced with the standard character spacing and printed. Next, the contents of such processing operations of the CPU 2 will be explained according to the flowcharts shown in FIGS. 4 and 5. When the banner creation mode (function) is instructed by the user, the CPU 2 first displays the input screen for banner creation shown in FIG. 3 on the screen of the CRT display device 5 (
Step 11). On this screen, when the user inputs a character string to be printed on the banner (step 12), the character string is stored in the RAM 4 (step 13), and the banner information for printing the character string is stored. When inputted (step 14), the banner information is stored in the RAM 4 (step 15). Next, it is checked whether or not the user has issued a print instruction from the keyboard 1 (step 16).
If there is a printing instruction, the banner character string, which is a character string to be printed on the banner, is read from the RAM 4 (step 17), and the banner information is read from the RAM 4 (
Step 18). Then, the content of the read banner information is checked, and if vertical writing is specified as the printing direction (step 19), characters with different printing patterns for horizontal writing and vertical writing are checked for horizontal writing. Convert the printing pattern of characters from to vertical writing, that is, for those characters, use C for vertical writing.
Generate a print pattern by G (step 20)
. Next, as shown in FIG. 5, the printing pattern (
character pattern), read out the dot data of the front interval and rear interval for each character, create a table as shown in FIG. 8, and store it in the RAM 4 (steps 31 to 34).
. Next, for two consecutive characters, the trailing interval (dots) of the previous character and the leading interval (dots) of the succeeding character are read out from this table, and the sum is calculated, and the sum is calculated. Compare with the standard character spacing (dots). If the sum is larger, the printing interval of those two characters is replaced with the standard character interval (steps 35 to 39).
. Note that if the sum is not larger than the standard character spacing, replacement cannot be performed. In this way, the character spacing is corrected. Next, the corrected character spacing is multiplied by the character enlargement rate (step 40), and enlarged print (character) pattern data including the actual printing character spacing is created (steps 41, 42). This print pattern data is then output to the printer 6, and all input characters are printed (steps 43, 44). [0040] Furthermore, if vertical writing is not specified as the printing direction, that is, horizontal writing is specified (step 19),
), without converting the printing pattern in step 20, for each character, a printing pattern is generated entirely using CG for horizontal writing characters, and image data for banner printing is created (step 21), and the image data of each character is generated. The data is rotated 90 degrees clockwise (step 22) and output to the printer 6 (step 23). [0041] In this way, it is possible to automatically convert the input character pattern according to the specified print direction, and easily create a vertically long or horizontally long banner with a simple operation. [0042] According to the present invention, character strings with well-balanced spacing can be printed on a vertically long banner.

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

【図1】この発明の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of the present invention.

【図2】この発明の一実施例の構成を示すブロック図。FIG. 2 is a block diagram showing the configuration of an embodiment of the invention.

【図3】垂れ幕作成時の入力画面の表示の一例を示す説
明図。
FIG. 3 is an explanatory diagram showing an example of a display of an input screen when creating a banner.

【図4】実施例の動作を示すフローチャート。FIG. 4 is a flowchart showing the operation of the embodiment.

【図5】実施例の動作を示すフローチャート。FIG. 5 is a flowchart showing the operation of the embodiment.

【図6】垂れ幕印字の文字間隔の説明図。FIG. 6 is an explanatory diagram of character spacing in banner printing.

【図7】文字分類および書体と基準文字間隔との関係を
示す説明図。
FIG. 7 is an explanatory diagram showing the relationship between character classification, typeface, and standard character spacing.

【図8】文字コードと文字間隔のテーブルを示す説明図
FIG. 8 is an explanatory diagram showing a table of character codes and character spacing.

【図9】従来の垂れ幕印字の文字間隔を示す説明図。FIG. 9 is an explanatory diagram showing the character spacing of conventional banner printing.

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

1  キーボード 2  CPU 3  ROM 4  RAM 5  CRTディスプレイ 6  プリンタ 1 Keyboard 2 CPU 3 ROM 4 RAM 5 CRT display 6 Printer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  各種の文字についての印字パターンを
あらかじめ記憶した印字パターン記憶手段と、文字の種
類に対応する基準文字間隔をあらかじめ記憶した基準文
字間隔記憶手段と、各種の文字及びその文字の大きさや
縦書・横書等の書式情報を入力するための入力手段と、
入力された文字を記憶する文字記憶手段と、入力された
書式情報を記憶する書式情報記憶手段と、文字記憶手段
に記憶された文字に対応する印字パターンを印字パター
ン記憶手段から読出す読出し手段と、読出し手段によっ
て読出された印字パターンを一行につき一文字ずつ用紙
の送り方向に対して一列に書式情報記憶手段に記憶され
た書式で順次印字する印字手段と、印字手段によって印
字される文字の間隔が基準文字間隔より広い場合には印
字される文字の間隔が基準文字間隔になるように印字前
に印字パターンを補正する補正手段を備えてなる垂れ幕
印字機能を有する文書処装置。
Claim 1: Printing pattern storage means that stores in advance printing patterns for various characters; standard character spacing storage means that stores in advance standard character spacings corresponding to character types; an input means for inputting format information such as vertical writing and horizontal writing;
A character storage means for storing input characters, a format information storage means for storing input format information, and a reading means for reading out a print pattern corresponding to the characters stored in the character storage means from the print pattern storage means. , a printing means for sequentially printing the printing pattern read by the reading means in a format stored in the format information storage means one character per line in a line in the feeding direction of the paper, and an interval between characters printed by the printing means; A document processing device having a banner printing function, comprising a correction means for correcting a printing pattern before printing so that the spacing between printed characters becomes the standard character spacing when the spacing is wider than the standard character spacing.
JP3030424A 1991-02-25 1991-02-25 Document processor having curtain printing function Pending JPH04268918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3030424A JPH04268918A (en) 1991-02-25 1991-02-25 Document processor having curtain printing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3030424A JPH04268918A (en) 1991-02-25 1991-02-25 Document processor having curtain printing function

Publications (1)

Publication Number Publication Date
JPH04268918A true JPH04268918A (en) 1992-09-24

Family

ID=12303573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3030424A Pending JPH04268918A (en) 1991-02-25 1991-02-25 Document processor having curtain printing function

Country Status (1)

Country Link
JP (1) JPH04268918A (en)

Similar Documents

Publication Publication Date Title
JPH04268918A (en) Document processor having curtain printing function
Parhami Evolutionary changes in Persian and Arabic scripts to accommodate the printing press, typewriting, and computerized word processing
JPS63251856A (en) Address printing device
JPH03156668A (en) Document preparing device
JP2653911B2 (en) Document processing device with banner printing function
JP2768565B2 (en) Character processor
JP2922068B2 (en) Word processor with character font correction function
JP2691871B2 (en) Comp compiling device using pseudo characters
JPH07141340A (en) Document output method and document processor
JPH07114538A (en) Document preparation device and address printing method
JPS6385593A (en) Word processor
JPS59116831A (en) Word processor
Parhami Computers and the Challenges of Writing in Persian: A Personal History Spanning Five Decades
JPH02101569A (en) Character processor
JPH0474258A (en) Word processor
JPS6049433A (en) Registration system of external character pattern
JPH04260968A (en) Method for inputting address of postal card
JPS63168374A (en) Character processor
JPS62107370A (en) Document preparing device
JPH04233659A (en) Document processor
JPH0981553A (en) Character layout device and character processing method for the device
JPH05151216A (en) Document processor with frame editing function
JPH09288664A (en) Character code conversion device
JPS61286157A (en) Document former
JPH10129045A (en) Document forming apparatus