JP2768565B2 - Character processor - Google Patents

Character processor

Info

Publication number
JP2768565B2
JP2768565B2 JP3115050A JP11505091A JP2768565B2 JP 2768565 B2 JP2768565 B2 JP 2768565B2 JP 3115050 A JP3115050 A JP 3115050A JP 11505091 A JP11505091 A JP 11505091A JP 2768565 B2 JP2768565 B2 JP 2768565B2
Authority
JP
Japan
Prior art keywords
character
printing
paper
character information
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.)
Expired - Lifetime
Application number
JP3115050A
Other languages
Japanese (ja)
Other versions
JPH04343127A (en
Inventor
博士 川本
浩一 坪内
博樹 杉本
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 JP3115050A priority Critical patent/JP2768565B2/en
Publication of JPH04343127A publication Critical patent/JPH04343127A/en
Application granted granted Critical
Publication of JP2768565B2 publication Critical patent/JP2768565B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Document Processing Apparatus (AREA)
  • Handling Of Sheets (AREA)
  • Handling Of Cut Paper (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、日本語ワードプロセ
ッサや日本語による文書作成が可能なコンピュータなど
の文書処理装置に関し、特に、印刷機能を有する文書処
理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus such as a Japanese word processor or a computer capable of creating a document in Japanese, and more particularly to a document processing apparatus having a printing function.

【0002】[0002]

【従来の技術】従来、この種の文書処理装置において、
例えば、“のし紙”に印刷するような場合には、のし紙
の表書き部分(お祝いや、お悔みの言葉を書く部分)で
ある用紙の中央に、「内祝」であるとか、「祝御結
婚」、「結婚祝」等の各種の文字を印刷する必要があ
る。このように、プリンタを用いて用紙の中央に印刷す
るには、従来は、用紙の中心位置から印刷幅を計算し
て、手操作にて用紙をプリンタにセットし、文字を縦書
き用に回転させて印刷するようにしていた。
2. Description of the Related Art Conventionally, in this type of document processing apparatus,
For example, in the case of printing on “noshi paper”, the center of the paper that is the writing part of the noshi paper (the part where you write congratulations or condolences) is “inside congratulation”, “congratulation marriage” It is necessary to print various characters such as "marriage celebration". Conventionally, to print on the center of the paper using a printer, conventionally, the print width is calculated from the center position of the paper, the paper is manually set on the printer, and the characters are rotated for vertical writing. And print it.

【0003】また、のし紙に慶事の表書きを印刷する場
合には、4文字の熟語(例、祝御結婚)は「死文体」と
して嫌われているため、一般には先頭文字を少し大きめ
に書くか、やや離して書くようにしているが、このよう
なときには、文字を入力する段階で先頭文字の拡大率を
変えるようにしていた。
[0003] In addition, when printing a memoir of Keiji on a piece of paper, four-character idioms (eg, congratulations and marriage) are hated as "death style". In such a case, the enlargement ratio of the first character was changed at the stage of inputting the character.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記の
ように、用紙の中心と印刷幅を計算してプリンタに用紙
をセットするのは非常に困難である。しかも、印刷文字
中に拡大文字などがあると印刷幅が非常に求めにくい。
したがって、のし紙への印刷には熟練を要し、誰にでも
簡単にできるというものではなかった。
However, as described above, it is very difficult to calculate the center and print width of a sheet and set the sheet in a printer. In addition, if there are enlarged characters in the printed characters, it is very difficult to obtain the print width.
Therefore, printing on a piece of paper requires skill and cannot be easily performed by anyone.

【0005】また、「死文体」における先頭文字の拡大
については、使用者が「死文体」の知識を持っていれば
拡大率を変えて入力するなど対応は可能であるが、「死
文体」について全く知らない場合には、4文字を同じ大
きさで印刷することも多くあった。
[0005] For the expansion of the first character in "death style", if the user has knowledge of "death style", it is possible to cope with the input by changing the enlargement ratio. In many cases, when the user did not know about, four characters were printed in the same size.

【0006】さらに、お悔み文は薄墨で記入するのが習
わしであるが、あたかも薄墨で記入したように印刷する
ことは不可能であるため、のし紙への印刷においては、
お祝い文のみしか印刷することができなかった。
[0006] Furthermore, it is customary to write condolences in light black ink, but it is impossible to print as if written in light black ink.
Only the congratulatory text could be printed.

【0007】この発明はこのような事情を考慮してなさ
れたもので、その第1の目的は、のし紙に印刷するよう
な場合には、のし紙のサイズを入力するだけで自動的に
用紙を空送りして、その用紙の中心位置に入力文字を印
刷するようにした文字処理装置を提供することにある。
The present invention has been made in view of such circumstances. A first object of the present invention is to automatically empty a sheet only by inputting the size of the sheet when printing on the sheet. An object of the present invention is to provide a character processing device which feeds and prints input characters at the center position of the sheet.

【0008】また、第2の目的は、入力された表書き文
字が慶事に関する文字で、かつ4文字であるときには、
自動的に先頭文字の拡大率を他の文字の拡大率よりも大
きくして印刷するようにした文字処理装置を提供するこ
とにある。
[0008] A second object is that when the input writing character is a character relating to Keiji and four characters,
It is an object of the present invention to provide a character processing apparatus which automatically prints the enlargement ratio of the first character larger than the enlargement ratio of other characters.

【0009】さらに、第3の目的は、入力された表書き
文字がお悔みに関する文字であるときには、文字をメッ
シュ処理してあたかも薄墨で記入したように印刷する文
字処理装置を提供することにある。
It is a third object of the present invention to provide a character processing device which, when an input writing character is a character relating to condolence, performs a mesh process on the character and prints it as if it were written in light black.

【0010】[0010]

【課題を解決するための手段】図1は請求項1の発明の
構成を示すブロック図であり、図に示すように、請求項
1の発明は、文字情報を入力する入力手段201と、入
力手段201から入力された文字情報を記憶する記憶手
段202と、記憶手段202に記憶された文字情報が慶
事に用いられる文字であるのか否かを識別する識別手段
203と、識別手段203による識別が慶事に用いられ
る文字であるときには、記憶手段202に記憶された文
字情報の文字数をカウントし、その文字数が4文字であ
るのか否かを判定する判定手段204と、判定手段20
4による判定文字数が4文字であるときには、記憶手段
202に記憶された文字情報を印刷イメージに変換する
変換手段205と、変換手段205によって変換された
印刷イメージの内の先頭文字に対応する印刷イメージを
他の文字に対応する印刷イメージよりも大きく拡大する
拡大手段206と、拡大手段206によって先頭文字の
拡大された印刷イメージを印刷用紙に印刷する印刷手段
207と、を備えてなる文字処理装置である。
FIG. 1 is a block diagram showing the structure of the first aspect of the present invention. As shown in the figure, the first aspect of the present invention comprises an input means 201 for inputting character information and an input means.
Memory device for storing character information input from the force means 201
The stage 202 and the character information stored in the storage unit 202 are
Identification means to identify whether or not it is a character used for things
203 and the identification by the identification means 203 are used for a special occasion.
If the character is
The number of characters in the character information is counted, and the number of characters is four.
Determining means 204 for determining whether or not
When the number of characters determined by 4 is four, the storage means
Converts the character information stored in 202 into a print image
Conversion means 205 and the conversion means 205
The print image corresponding to the first character in the print image
Larger than the print image corresponding to other characters
Enlargement means 206 and the first character
Printing means for printing the enlarged print image on printing paper
207, and 207.

【0011】また、図2は請求項2の発明の構成を示す
ブロック図であり、図に示すように、請求項2の発明
は、のし紙に印刷される表書き文字情報を識別コードと
共に記憶した記憶手段301と、記憶手段301に記憶
された表書き文字情報を選択する選択手段302と、選
択手段302によって選択された表書き文字情報を印刷
ドットパターンに変換する変換手段303と、選択手段
302によって選択された表書き文字情報に対応する識
別コードを判別する判別手段304と、判別手段304
によって判別された識別コードが特定のコードであれば
変換手段303によって変換された印刷ドットパターン
から所定間隔でドットを間引くメッシュ処理手段305
と、メッシュ処理手段305によってドットの間引かれ
印刷ドットパターンを印刷出力する印刷手段306
を備えてなる文字処理装置である。
[0011] FIG. 2 is a block diagram showing the configuration of the invention of claim 2, as shown in FIG., The invention of claim 2 is the identification code Inscription character information to be printed on gift wrapping paper
The storage means 301 and the storage means 301 which are stored together.
Selecting means 302 for selecting the selected written character information;
Prints the writing character information selected by the selecting means 302
Conversion means 303 for converting to a dot pattern, selection means
302 corresponding to the tabulated character information selected by the user.
Determining means 304 for determining another code; determining means 304
If the identification code determined by is a specific code
Mesh processing means 305 for thinning out dots at predetermined intervals from the print dot pattern converted by the conversion means 303
And a printing means 306 for printing out a print dot pattern thinned out by the mesh processing means 305 .

【0012】[0012]

【0013】なお、この発明における入力手段201及
び選択手段302としては、キーボード装置やタブレッ
ト装置、あるいはポインティングデバイス、タッチパネ
ル等の入力装置が用いられる。
The input means 201 and the input means 201 in the present invention
As the selection unit 302 , a keyboard device, a tablet device, or an input device such as a pointing device or a touch panel is used.

【0014】また、変換手段205,303、識別手段
203、判定手段204、拡大手段206、判別手段3
04、及びメッシュ処理手段305としては、CPU,
ROM,RAM,I/Oポートからなるマイクロコンピ
ュータを用いるのが便利であり、記憶手段202,30
としては、通常、その中のRAMが用いられる。
Further, conversion means 205 and 303 , identification means 203, determination means 204, enlargement means 206, and determination means 3
04 and the mesh processing means 305 include a CPU,
ROM, RAM, it is convenient to use a microcomputer comprised of an I / O port, memory means 202,30
As 1 , the RAM therein is usually used.

【0015】印刷手段207,306としては、熱転写
プリンタ、レーザプリンタ、ドットインパクトプリン
タ、インクジェットプリンタ等の各種のプリンタが用い
られる。
As the printing means 207 and 306 , various printers such as a thermal transfer printer, a laser printer, a dot impact printer and an ink jet printer are used.

【0016】[0016]

【作用】請求項1の発明によれば、入力手段201から
入力された文字情報は、記憶手段202に記憶され、識
別手段203により、慶事に用いられる文字であるのか
否かが識別され、慶事に用いられる文字であるときに
は、判定手段204により、記憶手段202に記憶され
た文字情報の文字数がカウントされ、その文字数が4文
字であるのか否かが判定される。この判定において、4
文字であるときには、変換手段205により、記憶手段
202に記憶された文字情報は印刷イメージに変換さ
れ、拡大手段206により、その印刷イメージの内の先
頭文字に対応する印刷イメージが他の文字に対応する印
刷イメージよりも大きく拡大され、印刷手段207によ
り、先頭文字の拡大された印刷イメージが印刷用紙に印
刷される。したがって、のし紙に印刷する場合には、慶
事で、かつ4文字の時には自動的に先頭文字を大きく印
刷できるので、使用者が意識して先頭文字を拡大する必
要がなくなり、操作が簡単となる。
According to the first aspect of the present invention, from the input means 201
The input character information is stored in the storage unit 202,
Is it a character used for special occasions by another means 203
Or not, and when the character is used for a special occasion
Is stored in the storage unit 202 by the determination unit 204.
The number of characters in the text information is counted, and the number of characters is 4
It is determined whether the character is a character. In this judgment, 4
If it is a character, the converting means 205
The character information stored in 202 is converted into a print image.
The enlargement means 206 causes the
The print image corresponding to the first letter is the mark corresponding to the other letters.
The printing unit 207 enlarges the image to be larger than the printing image.
The print image with the first character enlarged on the print paper.
Is printed. Therefore, when printing on a piece of paper,
Automatically prints the first character large when it is 4 characters
Can be printed, so it is necessary for the user to
It is unnecessary and the operation becomes simple.

【0017】また、請求項2の発明によれば、表書き文
字情報が選択手段302によって選択されると、選択さ
れた表書き文字情報は変換手段303により印刷ドット
パターンに変換されるとともに、判別手段304によっ
て表書き文字情報に対応する識別コードが判別される。
そして、判別手段304で判別された識別コードが特定
のコードであれば、メッシュ処理手段305により、変
換された印刷ドットパターンから所定間隔でドットが間
引かれ、ドットの間引かれた印刷ドットパターンが印刷
手段306により印刷出力される。したがって、表書き
文字の印刷の際には、選択された表書き文字に対応する
識別コードが自動判別され、その識別コードが特定のコ
ードであれば、その表書き文字は薄墨で書かれたように
のし紙に印刷されるので、たとえば、表書き文字が「御
仏前」「御香典」等のお悔み文である場合には、自動的
にその表書き文字を薄墨で書かれたようにのし紙に印刷
することができる。
According to the second aspect of the present invention, a table writing sentence
When the character information is selected by the selection means 302, the selected
The converted writing character information is printed dot
Is converted to a pattern, and
The identification code corresponding to the written character information is determined.
Then, the identification code determined by the determination means 304 is specified.
If the code, the mesh processing unit 305, dots are thinned out at predetermined intervals from the converted print dot pattern, printing the dot pattern decimated dot Ru it is printed out by the printing unit 306. Therefore, writing
When printing characters, it corresponds to the selected tabular character.
The identification code is automatically determined, and the identification code is
If it is a card, its written characters are written in light ink.
Since it is printed on a piece of paper, for example, if
If it is a condolence sentence such as "French Buddha" or "Mikanori",
And print it on paper as if it were written in light ink
can do.

【0018】[0018]

【0019】[0019]

【実施例】以下、図面に示す実施例に基づいてこの発明
を詳述する。なお、この発明はこれによって限定される
ものではない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the embodiments shown in the drawings. The present invention is not limited by this.

【0020】図はこの発明を日本語ワードプロセッサ
に適用した一実施例の構成を示すブロック図である。こ
の図において、1は仮名文字キーや数値キー、変換キ
ー、ファンクションキー等を備えたキーボードであり、
このキーボード1から、“のし紙”印刷のための各種の
表書き用の仮名文字列が入力されるとともに、印刷用紙
(のし紙)のサイズや文字の拡大率が指定される。拡大
率の指定は、縦と横の倍率が以下のようにして指定され
る。 N(縦倍率)×M(横倍率) (但し、N,M=1,2,3,……)
FIG. 3 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, reference numeral 1 denotes a keyboard provided with kana character keys, numeric keys, conversion keys, function keys, and the like.
From the keyboard 1, various kana character strings for table writing for printing "paper" are input, and the size of the printing paper (paper) and the character enlargement ratio are specified. The enlargement ratio is specified by the vertical and horizontal magnifications as follows. N (vertical magnification) x M (horizontal magnification) (however, N, M = 1, 2, 3, ...)

【0021】2はCPU、3は日本語ワードプロセッサ
本来の文書作成/編集のためのプログラムと本発明の
“のし紙”印刷のプログラムが格納されたROMであ
る。CPU2は、ROM3に書き込まれているこれらの
プログラムにより、後述する各種のデータ処理を行う。
Reference numeral 2 denotes a CPU, and reference numeral 3 denotes a ROM in which a program for document creation / editing inherent in a Japanese word processor and a program for printing "paper" according to the present invention are stored. The CPU 2 performs various types of data processing, which will be described later, by using these programs written in the ROM 3.

【0022】4はRAMであり、キーボード1から入力
された“のし紙”印刷のための各種の表書き用の仮名文
字列を記憶するともにともに、その仮名文字列から変換
された漢字仮名交じり文、つまり日本語ワードプロセッ
サ本来の文書作成/編集により生成された文書データを
記憶する。また、キーボード1から指定された“のし
紙”のサイズや文字の拡大率を記憶する。
Reference numeral 4 denotes a RAM which stores various kana character strings for table writing input from the keyboard 1 for "nosashi paper" printing, and a kanji kana mixed sentence converted from the kana character string, that is, The document data generated by the original document creation / editing of the Japanese word processor is stored. Also, the size of the "paperwork" specified by the keyboard 1 and the enlargement ratio of the character are stored.

【0023】5は各種の文字データを表示するLCD
(液晶ディスプレイ装置)である。LCD5は、表示画
面を回転させることにより、表示画面の向きを縦方向及
び横方向に変更することが可能である。このLCD5と
しては勿論CRTディスプレイ装置やELディスプレイ
装置等の他の表示装置を用いてもよい。6は各種の文字
データを印刷する熱転写型のプリンタである。
5 is an LCD for displaying various character data
(Liquid crystal display device). The LCD 5 can change the orientation of the display screen in a vertical direction and a horizontal direction by rotating the display screen. As the LCD 5, other display devices such as a CRT display device and an EL display device may be used. Reference numeral 6 denotes a thermal transfer printer that prints various character data.

【0024】CPU2は、キーボード1から入力された
仮名文字列をRAM4に格納した後、その仮名文字列を
「内祝」、「祝御結婚」、「結婚祝」、「御仏前」、
「御香典」などの、のし紙の表書き文字としての各種の
漢字に変換する。そして、その文字データを多数のドッ
トから構成されたドットパターンからなる印刷イメージ
に変換する。この変換は、キャラクタゼネレータ(図示
しない)から文字パターンを読出すことにより行う。
The CPU 2 stores the kana character string input from the keyboard 1 in the RAM 4 and then stores the kana character string in “National congratulation”, “festival marriage”, “marriage congratulation”,
Convert to various kanji characters such as "Mikanori" as writing characters on the paper. Then, the character data is converted into a print image composed of a dot pattern composed of a large number of dots. This conversion is performed by reading a character pattern from a character generator (not shown).

【0025】その後、オペレータにより、のし紙印刷の
指示が行われると、ROM3から、のし紙印刷プログラ
ムの1つである印刷開始位置決定プログラムを読出し
て、次のような処理を行う。すなわち、RAM4に記憶
しているのし紙のサイズと文字の拡大率を読出し、文字
の拡大率に応じて印刷イメージを拡大した後、のし紙の
サイズと拡大した印刷イメージの文字サイズに基づい
て、のし紙の中央部に文字が印刷されるように、のし紙
の用紙送り量を算出し、算出した送り量だけのし紙を空
送りする。そして、その後、拡大した印刷イメージを左
回りに90度回転させて、のし紙に印刷する。
After that, when the operator instructs the printing of the insert paper, the printing start position determination program which is one of the insert paper printing programs is read out from the ROM 3 and the following processing is performed. That is, the size of the paper sheet and the enlargement rate of the characters stored in the RAM 4 are read out, and the print image is enlarged according to the enlargement rate of the character. The paper feed amount of the paper is calculated so that the characters are printed at the center, and the paper is fed by the calculated feed amount. Then, the enlarged print image is rotated counterclockwise by 90 degrees and printed on a piece of paper.

【0026】図はプリンタ6における用紙合わせ位置
と印刷開始位置との相関関係を示す説明図である。この
図に示すように、のし紙7をプリンタ6にセットすると
きには、のし紙7のサイズに関係なく、のし紙7の先頭
である用紙合わせ位置8に印字ヘッドの位置を合わせて
おく。このようにしておけば、印刷開始の指示により、
RAM4に記憶したのし紙のサイズに基づいて、自動的
にのし紙の空送りが行われて、印字開始位置9から印字
が開始され、のし紙の中心部である用紙中心線9上に、
例えば「内祝」という文字が印字される。
FIG. 4 is an explanatory diagram showing the correlation between the paper alignment position and the printing start position in the printer 6. As shown in this figure, when setting the paper sheet 7 in the printer 6, the position of the print head is adjusted to the paper alignment position 8, which is the head of the paper sheet 7, regardless of the size of the paper sheet 7. In this way, the print start instruction causes
Based on the size of the sashimi paper stored in the RAM 4, the sashimi paper is automatically fed and the printing is started from the print start position 9, and is placed on the center line 9 of the sashimi paper.
For example, the character "inside congratulation" is printed.

【0027】図は用紙送り量の算出例を示す説明図で
あり、この図に示すように、Aを用紙長/2、Bを印字
文字幅とすると、用紙送り量CはA−B/2となる。こ
のように、用紙送り量Cだけ、のし紙の空送りを行う。
FIG. 5 is an explanatory diagram showing an example of calculating the paper feed amount. As shown in FIG. 5 , when A is the paper length / 2 and B is the print character width, the paper feed amount C is AB / 2. Become. In this manner, the blank paper is fed by the paper feed amount C.

【0028】また、CPU2は、オペレータにより、の
し紙印刷の指示が行われると、ROM3から、のし紙印
刷プログラムの1つである先頭文字拡大プログラムを読
出して、次のような処理を行う。すなわち、RAM4に
格納したのし紙の表書きが、慶事に用いられる、例えば
「祝御結婚」、「結婚祝」などの文字であるのか否かを
識別し、慶事に用いられる文字であるときには、その文
字数をカウントし、文字数が4文字であるのか否かを判
定する。この判定において、4文字であるときには、R
AM4に格納しているのし紙の表書き文字を印刷イメー
ジに変換し、変換した印刷イメージの内の先頭文字に対
応する印刷イメージを他の文字に対応する印刷イメージ
よりも大きく拡大する。そして、先頭文字の拡大した印
刷イメージを左回りに90度回転させて、のし紙に印刷
する。
Further, when the operator instructs the printing of the insert paper, the CPU 2 reads the leading character enlargement program, which is one of the insert paper printing programs, from the ROM 3 and performs the following processing. That is, it is determined whether or not the writing on the sashimi paper stored in the RAM 4 is a character used for a special occasion, such as “celebration marriage” or “marriage congratulation”. Is counted, and it is determined whether or not the number of characters is four. In this determination, when there are four characters, R
The characters written on the sashimi paper stored in AM4 are converted into print images, and the print image corresponding to the first character in the converted print image is enlarged to a greater extent than the print images corresponding to other characters. Then, the enlarged print image of the first character is rotated counterclockwise by 90 degrees, and printed on a piece of paper.

【0029】図(a)は入力文字が3文字である場合
の印刷例を示し、図(b)は入力文字が4文字である
場合の印刷例を示している。これらの図に示すように、
入力文字3が文字の場合には、指定された拡大率で印刷
を行い、入力文字が4文字の場合には、先頭文字を指定
された拡大率よりも大きく拡大して印刷を行う。
[0029] FIG. 6 (a) shows a print example of a case where the input character is three characters, FIG. 6 (b) shows a print example of a case where the input character is four characters. As shown in these figures,
If the input character 3 is a character, printing is performed at the specified enlargement ratio. If the input character 3 is four characters, printing is performed with the first character enlarged to be larger than the specified expansion ratio.

【0030】さらに、CPU2は、オペレータにより、
のし紙印刷の指示が行われると、ROM3から、のし紙
印刷プログラムの1つであるメッシュ処理プログラムを
読出して、次のような処理を行う。すなわち、RAM4
から、あらかじめ記憶している「内祝」、「祝御結
婚」、「結婚祝」、「御仏前」、「御香典」などの、の
し紙の表書き用の文字列を読出し、多数のドットから構
成されたドットパターンからなる印刷イメージに変換
し、次に、表書き用の文字列が、お悔み文に属するの
か、お祝い文に属するのかの識別コードを読出す。読出
した識別コードがお悔みの識別コードであれば、先に作
成した表書きの印刷イメージデータについてメッシュ処
理(ドットを等間隔に間引く等の処理)を行う。その
後、メッシュ処理した表書きの印刷用イメージデータを
左回りに90度回転させてプリンタ6に出力し、お悔み
文をのし紙に薄墨印刷する。
Further, the CPU 2 allows the operator to
When an instruction for printing a worksheet is issued, a mesh processing program, which is one of the worksheet printing programs, is read from the ROM 3 and the following processing is performed. That is, RAM4
Reads the pre-stored character strings for writing on the side of the paper such as "Uchi congratulation", "Celebration marriage", "Marriage celebration", "God before Buddha", "Mikanori", etc., and consists of many dots. Then, the identification code is read to determine whether the character string for table writing belongs to a condolence message or a congratulation message. If the read identification code is a condolence identification code, mesh processing (processing such as thinning out dots at equal intervals) is performed on the tabular print image data created earlier. Thereafter, the mesh-processed tabular printing image data is rotated counterclockwise by 90 degrees and output to the printer 6, and the condolence message is printed on the paper in light ink.

【0031】図は表書き文字列と識別コードのデータ
構造を示す説明図である。図に示すように、表書き文字
列11は文字コードで記憶されており、その表書き文字
列11の先頭には、お悔み文か、お祝い文かの表書き識
別コード12が付加されている。識別コードとしては、
お祝い文字列は“1”に、お悔み文字列は“2”に、そ
れぞれ設定されている。
FIG. 7 is an explanatory diagram showing the data structure of the table writing character string and the identification code. As shown in the figure, the table writing character string 11 is stored in a character code, and at the head of the table writing character string 11, a table writing identification code 12 of a condolence sentence or a congratulatory sentence is added. As the identification code,
The congratulation character string is set to “1” and the condolence character string is set to “2”.

【0032】図はメッシュ処理における間引きの一例
を示す説明図であり、図に示すように、メッシュ処理に
おいては、4×4ドットごとに“×”で示した部分を間
引くようにする。
FIG. 8 is an explanatory diagram showing an example of thinning out in the mesh processing. As shown in the figure, in the mesh processing, the portion indicated by “x” is thinned out every 4 × 4 dots.

【0033】図はメッシュ処理の一例を示す説明図で
あり、図(a)はメッシュ処理を施していない状態を
示し、図(b)はメッシュ処理を施した状態を示して
いる。これらの図に示すように、表書きの印刷イメージ
データについてメッシュ処理を施すことにより、のし紙
にお悔み文を薄墨印刷することができる。
FIG. 9 is an explanatory view showing an example of a mesh processing, FIG. 9 (a) shows a state not subjected to mesh processing, FIG. 9 (b) shows a state subjected to mesh processing. As shown in these figures, by performing mesh processing on the print image data of the front writing, the condolence sentence can be printed in black ink on a piece of paper.

【0034】次に、CPU2の処理動作の内容を図
、図11及び図12に示すフローチャートに従い説明
する。
[0034] Next, as shown in FIG. 1 the contents of the CPU2 of the processing operation
0 be described with reference to a flow chart shown in FIGS. 11 and 12.

【0035】図10はのし紙印刷の処理内容を示すフロ
ーチャートである。のし紙印刷においては、用紙サイズ
が入力されると(ステップ21)、CPU2は、まず、
用紙長を2で割ってこれをAとし(ステップ22)、印
字文字幅を算出してこれをBとし(ステップ23)、用
紙の送り量をA−B/2から算出する(ステップ2
4)。次に、用紙がセットされているのか否かを調べ
(ステップ25)、用紙がセットされていなければ用紙
無しのエラー処理を行い(ステップ26)、用紙がセッ
トされていれば、ステップ24で求めた用紙送り量だけ
用紙を空送りし(ステップ27)、入力文字の印刷処理
を行う(ステップ28)。このようにして、用紙サイズ
を入力するだけで、プリンタ6を自動的に空送りして、
のし紙の中心に文字を印刷することができる。
FIG. 10 is a flow chart showing the contents of the printing process for the printing on the paper. In the paper printing, when the paper size is input (step 21), the CPU 2 firstly executes
The sheet length is divided by 2 to obtain A (step 22), the print character width is calculated and set to B (step 23), and the paper feed amount is calculated from AB / 2 (step 2).
4). Next, it is checked whether or not the paper is set (step 25). If the paper is not set, an error process for the absence of the paper is performed (step 26). The empty paper is fed by the amount of paper fed (step 27), and the input character is printed (step 28). In this way, simply by inputting the paper size, the printer 6 automatically feeds the sheet automatically,
Characters can be printed in the center of the work paper.

【0036】図11は先頭文字拡大印刷の処理内容を示
すフローチャートである。先頭文字拡大印刷において
は、文字が入力されると(ステップ31)、CPU2
は、まず、入力文字が慶事に関する文字であるのか否か
を調べ(ステップ32)、慶事に関する文字であるとき
には、その入力文字数をカウントする(ステップ3
3)。そして、入力文字数が4文字であるのか否かを調
べ(ステップ34)、4文字であれば先頭文字拡大処理
を行う。この先頭文字拡大処理においては、 先頭文字拡大率=拡大率×α として、先頭文字の拡大率を入力された拡大率よりも大
きくする。ここで、αは拡大率の比であり、あらかじめ
1.2とか1.5などに設定しておく。このように、先
頭文字の拡大率を拡大率×αとし(ステップ35)、先
頭文字拡大率の丸め処理を行い(ステップ36)、拡大
文字を含む入力文字の印刷処理を行う(ステップ3
7)。ステップ32において、入力文字が慶事に関する
文字でない場合、及びステップ34において、入力文字
数が4文字でない場合には、文字の拡大処理は行わず、
そのまま入力文字の印刷処理を行う。このようにして、
のし紙に印刷するときには、慶事で4文字の表書きが入
力された場合には、自動的に先頭文字の拡大率を他の文
字の拡大率よりも大きくして印刷する。
FIG. 11 is a flowchart showing the processing contents of the leading character enlarged printing. In the first character enlarged printing, when a character is input (step 31), the CPU 2
First, it is checked whether or not the input character is a character related to Keiji (step 32). If the character is a character related to Keiji, the number of input characters is counted (step 3).
3). Then, it is checked whether or not the number of input characters is four (step 34), and if it is four, the leading character enlargement process is performed. In the first character enlargement process, the enlargement ratio of the first character is set to be larger than the inputted enlargement ratio by setting the first character enlargement ratio = the enlargement ratio × α. Here, α is the ratio of the enlargement ratio, and is set in advance to 1.2 or 1.5. As described above, the enlargement ratio of the first character is set to the enlargement ratio × α (step 35), the rounding process of the first character enlargement ratio is performed (step 36), and the input character including the enlarged character is printed (step 3).
7). In step 32, if the input character is not a character relating to a special occasion, or if in step 34 the number of input characters is not four, the character enlargement process is not performed.
The print processing of the input character is performed as it is. In this way,
When printing on a piece of paper, if a four-character table is input during Keiji, the enlargement ratio of the first character is automatically made larger than the enlargement ratio of the other characters.

【0037】図12はメッシュ印刷の処理内容を示すフ
ローチャートである。メッシュ印刷においては、CPU
2は、まず、RAM4から表書きの文字列データをリー
ドし(ステップ41)、印刷する表書きのイメージデー
タを作成する(ステップ42)。次に、お悔み、お祝い
等を識別する表書き識別データをリードして(ステップ
43)、表書き識別データがお悔みに関する文字列であ
るのか否かを調べる(ステップ44)。ここで、識別デ
ータがお悔みに関する文字列を示すコードであれば、先
に作成した、表書きの印刷イメージデータについてメッ
シュ処理を行い(ステップ45)、表書き用の印刷イメ
ージデータをプリンタ6に出力(プリント)する(ステ
ップ46)。ステップ44において、識別データがお悔
みに関する文字列を示すコードでない場合には、印刷イ
メージデータについてのメッシュ処理は行わない。この
ようにして、のし紙にお悔み文の薄墨印刷を行う。
FIG. 12 is a flowchart showing the contents of the mesh printing process. In mesh printing, CPU
2 first reads the table-written character string data from the RAM 4 (step 41) and creates table-written image data to be printed (step 42). Next, tabulation identification data for identifying condolences, congratulations, etc. is read (step 43), and it is checked whether or not the tabulation identification data is a character string relating to condolences (step 44). Here, if the identification data is a code indicating a character string relating to condolence, the mesh processing is performed on the tabulated print image data created earlier (step 45), and the tabulated print image data is output to the printer 6 (step 45). Print) (step 46). In step 44, if the identification data is not a code indicating a character string relating to condolence, the mesh processing is not performed on the print image data. In this way, the ink print of the condolence is printed on the work paper.

【0038】[0038]

【発明の効果】請求項1の発明によれば、入力された文
字列が慶事に用いられる文字列であり、かつその文字数
が4文字であるときには、先頭文字を他の文字よりも大
きく拡大して印刷するようにしたので、使用者が意識し
て拡大率を変えて入力する必要がなくなり、操作が簡単
となる。また、従来では、冠婚葬祭についての知識がな
いと、忌み嫌われている慣習に触れることが多くあった
が、これらのうち、「死文体」については、入力された
文字の拡大率を自動的に変更することにより解決でき
る。
According to the first aspect of the present invention, the input sentence
The character string is a character string used for special occasions, and the number of characters
Is four characters, the first character is larger than the other characters.
The print is enlarged so that the user can be aware of it.
It is not necessary to change the magnification and input, and operation is easy.
Becomes In the past, there was no knowledge about ceremonial occasions.
I often touched the hated customs
However, among these, "death style" was input
The problem can be solved by automatically changing the character magnification.
You.

【0039】また、請求項2の発明によれば、表書き文
字の印刷の際には、選択された表書き文字に対応する識
別コードを自動判別し、その識別コードが特定のコード
であれば、その表書き文字を薄墨で書かれたように“の
し紙”に印刷するようにしたので、たとえば、表書き文
字が「御仏前」「御香典」等のお悔み文である場合に
は、自動的にその表書き文字を薄墨で書かれたように
“のし紙”に印刷することができる。
According to the second aspect of the present invention, a table writing sentence
When printing characters, the characters corresponding to the selected table
Another code is automatically determined, and the identification code is a specific code
Then, write the tabular character as "
Because it is printed on "paper", for example,
If the character is a condolence such as "God before Buddha" or "Gohan"
Automatically write the tabular letters as light ink
It can be printed on “paper”.

【0040】[0040]

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

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

【図2】請求項2の発明の構成を示すブロック図。FIG. 2 is a block diagram showing the configuration of the invention of claim 2;

【図3】この発明を日本語ワードプロセッサに適用した
一実施例の構成を示すブロック図。
FIG. 3 is a block diagram showing a configuration of an embodiment in which the present invention is applied to a Japanese word processor.

【図4】プリンタにおける用紙合わせ位置と印刷開始位
置との相関関係を示す説明図。
FIG. 4 is an explanatory diagram showing a correlation between a paper alignment position and a printing start position in the printer.

【図5】用紙送り量の算出例を示す説明図。FIG. 5 is an explanatory diagram showing an example of calculating a paper feed amount.

【図6】入力文字が3文字である場合の印刷例と入力文
字が4文字である場合の印刷例を示す説明図。
FIG. 6 is an explanatory diagram showing a print example when three input characters are used and a print example when four input characters are used.

【図7】表書き文字列と識別コードのデータ構造を示す
説明図。
FIG. 7 is an explanatory view showing a data structure of a table writing character string and an identification code.

【図8】メッシュ処理における間引きの一例を示す説明
図。
FIG. 8 is an explanatory diagram showing an example of thinning in mesh processing.

【図9】メッシュ処理の一例を示す説明図。FIG. 9 is an explanatory diagram showing an example of a mesh process.

【図10】のし紙印刷の処理内容を示すフローチャー
ト。
FIG. 10 is a flowchart illustrating processing contents of a work paper printing.

【図11】先頭文字拡大印刷の処理内容を示すフローチ
ャート。
FIG. 11 is a flowchart illustrating processing contents of a leading character enlarged print.

【図12】メッシュ印刷の処理内容を示すフローチャー
ト。
FIG. 12 is a flowchart illustrating processing contents of mesh printing.

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

1 キーボード 2 CPU 3 ROM 4 RAM 5 LCD(液晶ディスプレイ装置) 6 プリンタ Reference Signs List 1 keyboard 2 CPU 3 ROM 4 RAM 5 LCD (liquid crystal display device) 6 printer

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−114851(JP,A) 特開 昭63−179748(JP,A) 特開 平2−110657(JP,A) 特開 昭63−120668(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 3/12──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-3-114851 (JP, A) JP-A-63-179748 (JP, A) JP-A-2-110657 (JP, A) JP-A 63-179649 120668 (JP, A) (58) Field surveyed (Int. Cl. 6 , DB name) G06F 3/12

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文字情報を入力する入力手段と、 入力手段から入力された文字情報を記憶する記憶手段
と、 記憶手段に記憶された文字情報が慶事に用いられる文字
であるのか否かを識別する識別手段と、 識別手段による識別が慶事に用いられる文字であるとき
には、記憶手段に記憶された文字情報の文字数をカウン
トし、その文字数が4文字であるのか否かを判定する判
定手段と、 判定手段による判定文字数が4文字であるときには、記
憶手段に記憶された文字情報を印刷イメージに変換する
変換手段と、 変換手段によって変換された印刷イメージの内の先頭文
字に対応する印刷イメージを他の文字に対応する印刷イ
メージよりも大きく拡大する拡大手段と、 拡大手段によって先頭文字の拡大された印刷イメージを
印刷用紙に印刷する印刷手段と、を備えてなる文字処理
装置。
1. Input means for inputting character information, and storage means for storing character information input from the input means
And the character information stored in the storage means is used for special occasions
When the identification means for identifying whether or not is a character used for special occasions
Counts the number of characters of the character information stored in the storage means.
To determine whether the number of characters is four or not.
When the number of characters determined by the determination means and the determination means is four,
Convert character information stored in storage device to print image
Conversion means and the first sentence in the print image converted by the conversion means
The print image corresponding to the character is replaced with the print image corresponding to the other character.
Enlarging means that enlarges the image larger than the image, and a print image with the first character enlarged by the enlarging means.
Character processing comprising printing means for printing on printing paper
apparatus.
【請求項2】 のし紙に印刷される表書き文字情報を識
別コードと共に記憶した記憶手段と、 記憶手段に記憶された表書き文字情報を選択する選択手
段と、 選択手段によって選択された表書き文字情報を印刷ドッ
トパターンに変換する変換手段と、 選択手段によって選択された表書き文字情報に対応する
識別コードを判別する判別手段と、 判別手段によって判別された識別コードが特定のコード
であれば変換手段によって変換された印刷 ドットパター
ンから所定間隔でドットを間引くメッシュ処理手段と、 メッシュ処理手段によってドットの間引かれた印刷ドッ
トパターンを印刷出力する印刷手段とを備えてなる文字
処理装置。
2. The method according to claim 1, wherein the writing character information printed on the work paper is recognized.
A storage means stored together with another code, and a selecting means for selecting the written character information stored in the storage means
Column and the table writing character information selected by the selecting means.
Conversion means for converting to a text pattern, and corresponding to the written character information selected by the selection means.
Determining means for determining the identification code; and the identification code determined by the determining means is a specific code.
Mesh processing means for thinning out dots at predetermined intervals from the printing dot patterns converted by the conversion means if the printing dots thinned out dot by a mesh processing means
And a printing means for printing out a print pattern .
JP3115050A 1991-05-20 1991-05-20 Character processor Expired - Lifetime JP2768565B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3115050A JP2768565B2 (en) 1991-05-20 1991-05-20 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3115050A JP2768565B2 (en) 1991-05-20 1991-05-20 Character processor

Publications (2)

Publication Number Publication Date
JPH04343127A JPH04343127A (en) 1992-11-30
JP2768565B2 true JP2768565B2 (en) 1998-06-25

Family

ID=14652944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3115050A Expired - Lifetime JP2768565B2 (en) 1991-05-20 1991-05-20 Character processor

Country Status (1)

Country Link
JP (1) JP2768565B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3026636U (en) * 1995-12-29 1996-07-16 株式会社石井文庫 Hanging printer

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63120668A (en) * 1986-11-11 1988-05-25 Brother Ind Ltd Word processor for japanese characters
JPS63179748A (en) * 1987-01-22 1988-07-23 Canon Inc Gradation recording system
JPH02110657A (en) * 1988-10-19 1990-04-23 Hitachi Ltd Document preparing device
JPH03114851A (en) * 1989-09-29 1991-05-16 Canon Inc Data unfolding device

Also Published As

Publication number Publication date
JPH04343127A (en) 1992-11-30

Similar Documents

Publication Publication Date Title
JPH03129397A (en) Document processor
JP2741800B2 (en) Document processing device
JP2768565B2 (en) Character processor
JPH04343167A (en) Document processor
JP3077777B2 (en) Document processing device
JP2550562B2 (en) Character display device
JPH05101058A (en) Word processor
JP3026992B2 (en) Display control method and device
JPS612583A (en) Layout-displaying system for electronic japanese character typewriter
JPH0330049A (en) Document generation device
JPH04343166A (en) Document processor
JP2653911B2 (en) Document processing device with banner printing function
JPH06222895A (en) Print format preparing device
JPH05151216A (en) Document processor with frame editing function
JPS605470B2 (en) typesetting system
JPH02258377A (en) Printing processor
JPS637963A (en) Printing apparatus
JPS63291089A (en) Character processor
JPH01189691A (en) Image processor
JPH04268918A (en) Document processor having curtain printing function
JPH0737111A (en) Document processing method
JPH05151215A (en) Document processor with frame editing function
JPH01229646A (en) Control method in alphabetic outline font printing
JPH09138796A (en) Document processor
JPH06274150A (en) Document display method