JPH06297803A - Printer - Google Patents

Printer

Info

Publication number
JPH06297803A
JPH06297803A JP5086001A JP8600193A JPH06297803A JP H06297803 A JPH06297803 A JP H06297803A JP 5086001 A JP5086001 A JP 5086001A JP 8600193 A JP8600193 A JP 8600193A JP H06297803 A JPH06297803 A JP H06297803A
Authority
JP
Japan
Prior art keywords
text
information
printing
text information
expression
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
JP5086001A
Other languages
Japanese (ja)
Inventor
Akio Watanabe
明男 渡邉
Toshihiko Tamada
利彦 玉田
Masahiko Yajima
正彦 谷島
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP5086001A priority Critical patent/JPH06297803A/en
Publication of JPH06297803A publication Critical patent/JPH06297803A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To obtain a printer capable of outputting text in an expression mode in accordance with a form without newly assigning expression mode instruction information related to an expression mode, such as enlargement or reduction, together with text information. CONSTITUTION:A form memory 18 is provided for previously storing form information composed of information related to the shape of a form and information of an instruction of a text expression mode at every position of the form. At the printing of the text, in accordance with the expression mode instruction information of the form information, the expression mode of the text is changed, and lap printing of the form is made. The form information is given to a printer 10 by communication.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は印刷装置に係わり、たと
えば、コンピュータの出力装置として用いられ、フォー
ムとテキストのオーバーレイ印刷を行う印刷装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus, for example, a printing apparatus which is used as an output device of a computer and performs overlay printing of forms and texts.

【0002】[0002]

【従来の技術】コンピュータの周辺機器として用いられ
る印刷装置には、定まったフォーム上にテキストを印刷
することや、テキストをフォームとともに印刷すること
が必要とされる。この場合、フォームの所定の位置に印
字されるテキストの文字の表現形態を位置により変えて
印刷することが望まれることが多い。このときに用いら
れる文字の表現形態としては、たとえば、強調や拡大、
縮小による表現や、フォントの指定や印字色の指定によ
る表現などが挙げられる。また、近年では、数字や文字
列を対応するバーコードに変換して表現する機能も望ま
れている。
2. Description of the Related Art A printer used as a peripheral device of a computer is required to print text on a fixed form or print the text together with the form. In this case, it is often desired to change the expression form of the character of the text printed at a predetermined position of the form depending on the position. Examples of the expression form of characters used at this time include emphasis and enlargement,
Expressions by reduction, expressions by font specification and print color specification, etc. can be mentioned. Further, in recent years, a function of converting numbers and character strings into corresponding bar codes and expressing them has been desired.

【0003】従来の印刷装置は、たとえば、罫線の描画
や所定位置への網掛け処理やフォームとしての文字の印
字などのフォームの形に関する情報を、保持しており、
そのフォームをテキストとともに印刷するものであっ
た。このような装置において、テキストの一部分の表現
形態を変更して印字する場合には、テキストの文字情報
とその文字の表現形態の指示情報とを含むテキスト情報
を作成し、そのテキスト情報を装置に与えることにより
印刷を行っていた。
A conventional printing apparatus holds information about the shape of a form such as drawing a ruled line, shading at a predetermined position, and printing characters as a form.
The form was printed with the text. In such a device, when printing is performed by changing the expression form of a part of text, text information including character information of text and instruction information of the expression form of the character is created, and the text information is sent to the device. Printing was done by giving.

【0004】また、バーコード印刷を行う印刷装置とし
ては、バーコードのイメージ情報を受け取り印刷する装
置と、変換対象とされる数字や文字列を受け取りこれを
バーコードのイメージ情報に変換し印刷を行う装置の2
種の装置が知られている。前者は、ホストコンピュータ
より送られてきたイメージ情報を単に印刷しているにす
ぎず、この場合には、数字や文字列をバーコードに変換
する処理は、ホストコンピュータが行っていた。後者
は、バーコードに変換する処理を印刷装置が行っている
ものである。なお、バーコードへの変換処理の一部を印
刷装置に行わせるものとして、特開昭64−56572
号公報がある。この装置では、黒バーと白バーから構成
されるバーコードのパターンを一列のビットパターンで
表わしたデータを受け取り、印刷装置がそのビットパタ
ーンを繰り返し出力することにより、バーコードを印刷
していいる。
Further, as a printing device for printing a bar code, a device for receiving and printing image information of a bar code, and a device for receiving a number or character string to be converted and converting this into image information of a bar code and printing it. 2 of the equipment to do
A variety of devices are known. The former merely prints the image information sent from the host computer, and in this case, the host computer performed the process of converting numbers and character strings into bar codes. In the latter case, the printing device performs the process of converting the barcode. In addition, Japanese Patent Application Laid-Open No. 64-56572 discloses that the printing apparatus is caused to perform a part of the conversion processing into the barcode.
There is a gazette. In this apparatus, a printer prints a bar code by receiving data in which a bar code pattern composed of black bars and white bars is represented by a row of bit patterns, and the printer repeatedly outputs the bit patterns.

【0005】さらに、フォームオーバーレイ印刷時に多
色印刷を行う印刷装置としては、特開平3−19337
8号公報に開示されているものがある。これは、フォー
ムとテキストをオーバーレイ印刷する際に、両者を異な
る色で重ね合わせて印刷するものであり、テキストの一
部の印字色を変更するものではない。
Further, as a printing apparatus for performing multicolor printing at the time of form overlay printing, Japanese Patent Application Laid-Open No. 3-19337 is known.
There is one disclosed in Japanese Patent No. This is to overlay and print the form and the text in different colors, and not to change the print color of a part of the text.

【0006】[0006]

【発明が解決しようとする課題】このように、従来の印
刷装置では、いずれも、テキストの表現形態の変更を行
うときには、印字する文字を指定するとともに、その文
字に対して用いる表現形態をテキストとともに指定する
ことが必要であった。たとえば、テキスト中の一行を拡
大して印字する場合には、印刷装置に、そのテキストを
一行送信する前に拡大印字を指示する表現形態指示情報
を送信する必要があった。バーコード印刷や色指定印刷
においても同様のことがいえる。
As described above, in any of the conventional printing apparatuses, when the expression form of text is changed, the character to be printed is specified and the expression form used for the character is changed to the text form. It was necessary to specify with. For example, in the case of enlarging and printing one line in the text, it is necessary to transmit the expression form instruction information for instructing the enlarging printing to the printing device before transmitting the one line of the text. The same applies to barcode printing and color designation printing.

【0007】フォームとテキストの重ね合わせ印刷で
は、印字されるテキストの表現形態はフォームの各位置
に対して定まっているものであり、また、一つのフォー
ムは、複数のテキストと組み合わせて用いられるもので
ある。このようにフォームと対応させることができる表
現形態を各々のテキストとともにそれぞれ指定すること
は、テキスト情報の容量を大きくするものであることに
加え、以下のような問題をも発生させていた。
In overlay printing of a form and a text, the expression form of the printed text is fixed for each position of the form, and one form is used in combination with a plurality of texts. Is. In this way, specifying the expression form that can be associated with the form together with each text not only increases the capacity of the text information, but also causes the following problems.

【0008】たとえば、ワードプロセッサを用いて作成
したテキストを大型計算機上でフォームオーバーレイ印
刷を行う場合を考える。この場合は、磁気ディスク等の
記憶媒体を介してテキスト情報を大型計算機へ渡すこと
が多いが、テキスト情報の格納形態は用いたシステムに
より異なり、また、ワードプロセッサにおいて拡大を指
示する表現形態指示情報が大型計算機に接続された印刷
装置ではそれとは異なる動作を指示することもある。な
お、この格納形態としては、表現形態指示情報を含む一
つのテキストファイルとして、もしくは、文字情報だけ
を含むテキストファイルとその表現情報を指定する表現
情報ファイルとの二つのファイルとして格納するものが
ある。このため、この場合のような印刷においては、使
用者は、両システムの表現形態指示情報、格納形態に関
する知識を熟知し、各表現形態指示情報を印刷を行う印
刷装置に適合するように変更する必要がある。この作業
は非常な労力を必要とする。
For example, consider the case where form overlay printing is performed on a text created using a word processor on a large computer. In this case, text information is often passed to a large-scale computer via a storage medium such as a magnetic disk, but the storage form of the text information differs depending on the system used, and there is also expression form instruction information for instructing expansion in a word processor. A printing device connected to the large-scale computer may instruct a different operation. As this storage form, there is one that is stored as one text file containing expression form instruction information, or as two files, a text file containing only character information and an expression information file that specifies that expression information. . Therefore, in printing such as this case, the user is familiar with the knowledge about the expression form instruction information and the storage form of both systems, and changes each expression form instruction information so as to be compatible with the printing apparatus that prints. There is a need. This work is very labor intensive.

【0009】そこで本発明の目的は、テキスト情報とと
もに表現形態指示情報を指定することなく、テキストを
フォームの各位置に対応させた、拡大、縮小、フォント
の選択、バーコード化等の表現形態で出力することがで
きる印刷装置を提供することにある。
Therefore, an object of the present invention is to provide an expression form such as enlargement, reduction, font selection, bar code conversion, etc., in which the text is associated with each position of the form without designating the expression form instruction information together with the text information. It is to provide a printing device capable of outputting.

【0010】本発明の他の目的は、表現形態指示情報が
既に挿入されているテキスト情報を用いた場合にも、そ
の表現形態指示情報に限ることなく、フォームの各位置
に対応させた、拡大、縮小、フォントの選択、バーコー
ド化等の所望の表現形態でテキストを出力することがで
きる印刷装置を提供することにある。
Another object of the present invention is to expand even if the text information in which the expression form instruction information has already been inserted is used, without limiting to the expression form instruction information, and corresponding to each position of the form. Another object of the present invention is to provide a printing device capable of outputting text in a desired expression form such as, reduction, font selection, and bar code conversion.

【0011】[0011]

【課題を解決するための手段】請求項1記載の発明で
は、印刷するページのテキスト情報を格納するテキスト
情報格納手段と、このページにテキスト情報と重ねて印
刷を行うフォームとこのフォームの各位置におけるテキ
ストの表現形態とをフォーム情報として格納するフォー
ム情報格納手段と、フォーム情報の表現形態に従ってテ
キスト情報を展開するテキスト情報展開手段と、展開さ
れたテキスト情報と表現形態に対応するフォームとを重
ね合わせて印刷を行う印刷手段とを具備する。
According to a first aspect of the present invention, there is provided a text information storage means for storing text information of a page to be printed, a form for printing text information on the page and a position of the form. Form information storage means for storing the expression form of the text in the form as form information, text information expansion means for expanding the text information according to the expression form of the form information, and the expanded text information and the form corresponding to the expression form are overlapped. And a printing unit for printing together.

【0012】すなわち請求項1記載の発明では、テキス
トと重ね合わせるフォームとフォームの各位置における
テキストの表現形態とを予め印刷装置内に格納してお
き、このフォーム上へのテキスト印刷を行うときには、
そのフォームとともに格納されているフォームの各位置
における表現形態になるように、テキストに処理を施し
て展開し、印刷を行う。これにより、テキスト情報とと
もに表現形態指示情報を指定することなく、フォームに
対応した表現形態でテキストの印刷を行うという目的が
達成される。ここで、テキストの表現形態とは、たとえ
ば、テキスト文字の大きさ、フォントタイプ、印刷する
色、バーコード化等の表現形態をいう。
That is, according to the first aspect of the invention, the form to be superimposed on the text and the expression form of the text at each position of the form are stored in advance in the printing device, and when the text is printed on this form,
The text is processed, developed, and printed so that the form of expression stored at the position of the form is represented at each position. This achieves the purpose of printing the text in the expression form corresponding to the form without designating the expression form instruction information together with the text information. Here, the expression form of text means, for example, an expression form such as a size of a text character, a font type, a color to be printed, and bar coding.

【0013】請求項2記載の発明では、印刷するページ
のテキスト情報を格納するテキスト情報格納手段と、こ
のページにテキスト情報と重ねて印刷を行うフォームと
このフォームの各位置におけるテキストの表現形態とを
フォーム情報として格納するフォーム情報格納手段と、
テキスト情報の出力時にフォーム情報格納手段に格納さ
れた表現形態に従った表現形態の変換を行うか否かを選
択するテキスト出力様式選択手段と、選択されたテキス
ト出力様式に従ってテキスト情報を展開するテキスト展
開手段と、展開されたテキスト情報と表現形態に対応す
るフォームとを重ね合わせて印刷を行う印刷手段とを具
備する。
According to the second aspect of the present invention, there is provided a text information storage means for storing text information of a page to be printed, a form for printing the text information on the page in a superimposed manner, and a text expression form at each position of the form. Form information storage means for storing as form information,
Text output format selecting means for selecting whether to convert the expression form according to the expression form stored in the form information storing means at the time of outputting the text information, and text for expanding the text information according to the selected text output form It is provided with a developing means and a printing means for printing by superimposing the developed text information and the form corresponding to the expression form.

【0014】すなわち請求項2記載の発明では、テキス
トと重ね合わせるフォームとフォームの各位置における
テキストの表現形態とを予め印刷装置内に格納してお
き、このフォーム上へのテキスト印刷を行うときには、
テキスト出力様式選択手段により選択された出力様式に
従い、テキストをフォーム情報で示された表現形態に変
更し展開、または、デフォルトの表現形態で展開し、印
刷を行う。これにより、テキスト情報とともに表現形態
指示情報を指定することなく、フォームに対応した表現
形態にテキストを変換して印刷するという目的を達成す
るとともに、フォームの表現形態によらないテキスト出
力を可能にしている。
That is, according to the second aspect of the invention, the form to be superimposed on the text and the expression form of the text at each position of the form are stored in advance in the printing device, and when the text is printed on this form,
In accordance with the output style selected by the text output style selecting means, the text is changed to the expression form indicated by the form information and expanded, or expanded in the default expression form and printed. This achieves the purpose of converting text to an expression form corresponding to the form and printing without specifying the expression form instruction information together with the text information, and enables text output that does not depend on the expression form of the form. There is.

【0015】請求項3記載の発明では、印刷するページ
のテキスト情報を格納するテキスト情報格納手段と、こ
のページにテキスト情報と重ね合わせて印刷可能なフォ
ームとこのフォームの各位置におけるテキストの表現形
態とをフォーム情報として格納するフォーム情報格納手
段と、フォーム情報の表現形態に従ってテキスト情報を
展開するテキスト情報展開手段と、フォーム情報におけ
るフォームを印刷するか否かの選択を行うフォーム印刷
採否選択手段と、このフォーム印刷採否選択手段によっ
てフォームの印刷が選択されたときそのフォームをテキ
スト情報展開手段によって展開されたテキスト情報と重
ね合わせて印刷を行い、これ以外のときには展開された
テキスト情報のみについて印刷を行う印刷手段とを具備
する。
According to the third aspect of the present invention, a text information storage means for storing text information of a page to be printed, a form printable on the page by superimposing the text information on the page, and an expression form of the text at each position of the form. And form information storing means for storing the following as form information, text information expanding means for expanding the text information according to the expression form of the form information, and form printing acceptance / rejection selecting means for selecting whether or not to print the form in the form information. , When the printing of the form is selected by this form printing acceptance / rejection selecting means, the form is printed by being superimposed on the text information expanded by the text information expanding means, and in other cases, only the expanded text information is printed. And a printing means for performing.

【0016】すなわち請求項3記載の発明では、テキス
トと重ね合わせるフォームとフォームの各位置における
テキストの表現形態とを予め印刷装置内に格納してお
き、このフォーム上へのテキスト印刷を行うときには、
そのフォームとともに格納されているフォームの各位置
における表現形態に従い、テキストの表現形態を変換し
て展開し、印刷を行う。このとき、フォームのテキスト
へのオーバーレイを行うか否かは、印刷採否選択手段に
より選択される。これらにより、テキスト情報とともに
表現形態指示情報を指定することなく、フォームに対応
した表現形態でテキストの印刷を行うという目的を達成
することができ、また、既にフォームが印刷された用紙
上への印刷や本印刷装置を文字の表現形態を変換する装
置として用いることができる。
That is, according to the third aspect of the invention, the form to be superimposed on the text and the expression form of the text at each position of the form are stored in advance in the printing device, and when the text is printed on this form,
According to the expression form at each position of the form stored together with the form, the expression form of the text is converted, expanded, and printed. At this time, whether or not to overlay the text on the form is selected by the print acceptance / rejection selection means. With these, it is possible to achieve the purpose of printing text in the expression form corresponding to the form without specifying the expression form instruction information together with the text information, and to print on the paper on which the form has already been printed. The present printing device can be used as a device for converting the expression form of characters.

【0017】請求項4記載の発明では、印刷するページ
のテキスト情報を格納するテキスト情報格納手段と、こ
のページにテキスト情報と重ねて印刷を行うフォームと
このフォームの各位置におけるテキストの表現形態とを
フォーム情報として格納するフォーム情報格納手段と、
テキスト情報に関して外部から送られてくる表現形態情
報を格納する表現形態格納手段と、外部より送られてく
る表現形態によるテキスト情報の出力とフォーム情報と
して格納された表現形態によるテキスト情報の出力とを
選択するテキスト出力様式選択手段と、選択されたテキ
スト出力様式に従ってテキスト情報を展開するテキスト
情報展開手段と、展開されたテキスト情報と表現形態に
対応するフォームとを重ね合わせて印刷を行う印刷手段
とを具備する。
According to another aspect of the invention, there is provided a text information storage means for storing text information of a page to be printed, a form for printing the text information on the page and a form of expressing the text at each position of the form. Form information storage means for storing as form information,
An expression form storage means for storing expression form information sent from the outside with respect to the text information, an output of the text information in the expression form sent from the outside, and an output of the text information in the expression form stored as the form information. A text output style selecting means for selecting, a text information expanding means for expanding the text information according to the selected text output style, and a printing means for printing by superimposing the expanded text information and a form corresponding to the expression form. It is equipped with.

【0018】すなわち請求項4記載の発明では、テキス
トと重ね合わせるフォームとフォームの各位置における
テキストの表現形態とを予め印刷装置内に格納してお
き、テキスト情報とともに表現形態情報が送られてきた
場合には、表現選択手段により、これらからテキストの
展開に用いる表現形態を選択し、フォーム上へのテキス
ト印刷を行うときには、表現選択手段により選択された
表現形態となるように、テキストを変換して展開し、印
刷を行う。これにより、テキスト情報に表現形態指示情
報が挿入されていても、これを利用して、もしくは、こ
れを利用することなく、フォームに対応した表現形態で
テキストを印刷するという目的を達成することができ
る。
That is, according to the fourth aspect of the present invention, the form to be superimposed on the text and the expression form of the text at each position of the form are stored in advance in the printing apparatus, and the expression form information is sent together with the text information. In this case, the expression selecting unit selects an expression form to be used for expanding the text, and when printing the text on the form, the text is converted so that the expression form selected by the expression selecting unit is obtained. Unfold and print. As a result, even if the expression form instruction information is inserted in the text information, it is possible to achieve the purpose of printing the text in the expression form corresponding to the form with or without using the expression form instruction information. it can.

【0019】[0019]

【実施例】以下実施例につき本発明を詳細に説明する。EXAMPLES The present invention will be described in detail below with reference to examples.

【0020】図1に本発明の一実施例である印刷装置の
回路構成の概要を示す。本印刷装置10は中央処理装置
11を有しており、バス12により、以下に記す各部に
接続されている。インターフェイス制御部13は、ケー
ブル14により、図示していないコンピュータ等の機器
と接続されている。フォントメモリ15には、各種のフ
ォントタイプのビットパターンデータが記憶されてい
る。テキストメモリ16は、インターフェイス制御部1
3を介して入力されるテキスト情報を記憶するメモリで
あり、フォームメモリ18は、フォーム情報を記憶する
メモリである。ページメモリ19は、展開後のビットパ
ターンを記憶するメモリであり、動作環境メモリ20
は、印刷様式を記憶するメモリである。これらのメモリ
を使用する本印刷装置の動作プログラムは、プログラム
メモリ21に記憶される。実際の印字は、印字部22で
行われる。
FIG. 1 shows an outline of a circuit configuration of a printing apparatus which is an embodiment of the present invention. The printing apparatus 10 has a central processing unit 11 and is connected to each unit described below by a bus 12. The interface controller 13 is connected to a device such as a computer (not shown) by a cable 14. The font memory 15 stores bit pattern data of various font types. The text memory 16 is the interface control unit 1.
3 is a memory for storing text information input via 3, and the form memory 18 is a memory for storing form information. The page memory 19 is a memory that stores the bit pattern after expansion, and the operating environment memory 20.
Is a memory for storing the printing style. The operation program of the printing apparatus using these memories is stored in the program memory 21. The actual printing is performed by the printing unit 22.

【0021】本実施例における印刷装置の動作は、
(1)印刷モードの設定、(2)フォーム情報の登録、
(3)印刷の実行、に大別される。
The operation of the printing apparatus in this embodiment is as follows.
(1) Print mode setting, (2) Form information registration,
(3) Execution of printing.

【0022】先ず、(1)印刷モードの設定について説
明を行う。印刷装置10は、フォームとテキストを重ね
て印刷する機能、すなわち、オーバーレイ印刷機能と、
テキストの表現形態を変換する機能を有する。このた
め、オーバーレイ印刷機能を用いるか否か、テキストの
表現形態を変換する機能を用いるか否か、という両者の
組合せで4つの印刷モードが選択できることになる。こ
のモード選択情報を印刷装置に与える方法には様々なも
のが存在するが、ここでは、テキスト情報の送信に先駆
け、オーバーレイ印刷を行なうかどうかを指示するフラ
グデータ(オーバーレイフラグ)とテキストの表現形態
を変換するかどうかを指示するフラグデータ(変換モー
ドフラグ)をコンピュータ側から送信している。印刷装
置は、印刷時にこれらのフラグの状態を確認することに
より、処理過程の選択を行う。
First, (1) setting of the print mode will be described. The printing device 10 has a function of printing a form and text in an overlapping manner, that is, an overlay printing function,
It has the function of converting the expression form of text. Therefore, four print modes can be selected depending on whether the overlay print function is used or not, and the function of converting the text expression form is used. There are various methods of giving this mode selection information to the printing apparatus. Here, flag data (overlay flag) for instructing whether or not overlay printing is performed prior to transmission of text information and a text expression form are used. The computer transmits the flag data (conversion mode flag) instructing whether or not to convert the. The printing apparatus selects a processing step by checking the states of these flags during printing.

【0023】本実施例においては、オーバーレイフラグ
が”1”のときにオーバーレイ印刷を行い、他の値のと
きは、テキスト印刷のみを実行する。また、変換モード
フラグが”1”のときにテキストの表現形態の変換を行
い、他の値のときは、変換を行わずにテキストを印刷す
る。なお、これら状態フラグは、動作環境メモリに記憶
され、新たに状態フラグが送信されてこなければ以前の
状態が保持される。
In this embodiment, when the overlay flag is "1", overlay printing is performed, and when the overlay flag is any other value, only text printing is performed. When the conversion mode flag is "1", the text expression form is converted, and when the conversion mode flag is any other value, the text is printed without conversion. It should be noted that these state flags are stored in the operating environment memory, and the previous state is retained unless a new state flag is transmitted.

【0024】次に、(2)のフォーム情報の登録を説明
する。図2に、本実施例におけるフォーム情報の構成の
一例を示す。フォーム情報は、フォーム識別子31とフ
ォームの形を定めるフォーム描画指示情報32、33と
テキストの表現形態を定めるテキスト表現形態指示情報
34、35から構成される。
Next, the registration of form information (2) will be described. FIG. 2 shows an example of the configuration of the form information in this embodiment. The form information is composed of a form identifier 31, form drawing instruction information 32 and 33 that determines the form of the form, and text expression form instruction information 34 and 35 that determines the expression form of the text.

【0025】ここでは、区切り記号としてスペースを用
いており、フォーム情報中の、スペースにより区切られ
た文字列は、描画の種類やその描画に必要な情報や表現
形態を示す情報になっている。始点と大きさの指定が必
要な描画や表現形態、たとえば、枠を表示する描画や文
字の拡大を指示する表現形態指示情報では、印字の始点
の位置を示す行番号と桁番号の後に描画や表現形態の種
類を示す情報を置き、次に、大きさを行と桁単位で表示
している。描画や表現形態を行うのに必要な情報(以
下、オペランドと表記)の有無と数は、その描画や表現
形態の種類に依存する。
Here, a space is used as a delimiter, and the character string delimited by the space in the form information is information indicating the type of drawing, the information necessary for the drawing, and the expression form. For drawing and expression forms that require specification of the start point and size, such as expression form instruction information for instructing drawing to display a frame or enlarging characters, draw or write after the line number and column number that indicate the position of the printing start point. Information indicating the type of expression form is placed, and then the size is displayed in rows and columns. The presence or absence and the number of information (hereinafter, referred to as an operand) necessary for performing drawing or expression form depends on the type of the drawing or expression form.

【0026】たとえば、フォーム描画指示情報32で
は、“TEXT;”が文字列を表示することを示し、
“TEST FORM”が表示すべき文字列を示し、
“1 CEN”が文字列表示位置を示している。なお、
“1 CEN”は、出力ページの1行目のセンターに文
字列の中央が位置するように表示するという指示であ
る。また、フォーム描画指示情報33は、始点が2行、
1桁であり、大きさが5行、20桁である枠を描画する
ことを指示している。
For example, in the form drawing instruction information 32, "TEXT;" indicates that a character string is displayed,
"TEST FORM" indicates the character string to be displayed,
"1 CEN" indicates the character string display position. In addition,
"1 CEN" is an instruction to display such that the center of the character string is located at the center of the first line of the output page. In the form drawing instruction information 33, the starting point is 2 lines,
It is instructed to draw a frame having one digit and a size of 5 lines and 20 digits.

【0027】同様に、テキスト表現形態指示情報34
は、3行目のテキストを、3行、1桁位置から1行、1
5桁分の領域内に表記(“KAKUDAIBOX”)
し、その際に文字フォントとしてクーリエを用いる
(“FONT Courier”)ことを指示するもの
となっている。ここで、“KAKUDAIBOX”指示
のオペランドとして、テキスト文字列の長さや高さより
小さな値を設定すれば、本指示により縮小が行える。な
お、フォントとしては、クーリエ、パイカ、イタリッ
ク、明朝、ゴシックを選択できるものとしている。テキ
スト表現形態指示情報35は、テキストの5行目を、5
行、10桁位置から2行、10桁分の領域内にジャン規
格(“JAN”)のバーコードとして表記(“BARB
OX”)を行うことを指示している。なお、バーコード
規格としては、この他に、コード39とアイティエフ
(ITF)規格を指定できるものとしている。
Similarly, the text representation form instruction information 34
Is the 3rd line text, 3 lines, 1 line from the 1st digit position, 1
Indicated in the 5-digit area ("KAKUDAIBOX")
However, at that time, it is instructed to use courier as the character font (“FONT Courier”). Here, if a value smaller than the length or height of the text character string is set as the operand of the "KAKUDAIBOX" instruction, reduction can be performed by this instruction. The fonts available are Courier, Pica, Italic, Mincho, and Gothic. The text representation form instruction information 35 includes the fifth line of the text as 5
Indicated as a bar code of the Jean standard (“JAN”) within the area of 2 lines and 10 digits from the line and 10 digit position (“BARB
OX ″) is performed. In addition to this, the code 39 and ITF (ITF) standard can be specified.

【0028】図3にフォーム情報登録の流れを示す。フ
ォーム情報が入力(ステップS101)されると、中央
処理装置は、そのフォーム情報をフォームメモリに格納
(ステップS102)する。次に、フォーム情報中のフ
ォーム描画指示情報の内容に従い、描画処理を選択し、
フォーム描画指示情報をビットパターンに展開(ステッ
プS103)する。このビットパターンは、フォームメ
モリのフォーム情報領域とは異なる領域に格納(ステッ
プS104)される。さらに、テキスト表現形態指示情
報を、変換の対象とされるテキストの行番号と表現形態
の内容に区分(ステップS105)し、参照テーブルへ
格納(ステップS106)する。ここでは、参照テーブ
ルを動作環境メモリ中に作成している。
FIG. 3 shows the flow of form information registration. When the form information is input (step S101), the central processing unit stores the form information in the form memory (step S102). Next, select the drawing process according to the contents of the form drawing instruction information in the form information,
The form drawing instruction information is expanded into a bit pattern (step S103). This bit pattern is stored in an area different from the form information area of the form memory (step S104). Further, the text expression form instruction information is classified into the line number of the text to be converted and the contents of the expression form (step S105) and stored in the reference table (step S106). Here, the reference table is created in the operating environment memory.

【0029】図4に、図2のフォーム情報を入力したと
きに作成される参照テーブルの内容を示す。参照テーブ
ルは、表現形態の指示がなされているテキストの行番号
と、その表現形態の内容と必要とされるオペランドで構
成される。表現形態を行わないテキストの行番号はテー
ブル中に存在しない。また、テキストの同一行に対して
複数の表現形態が指定されている場合は、図示したよう
に、複数組のデータとして扱われる。
FIG. 4 shows the contents of the reference table created when the form information of FIG. 2 is input. The reference table is composed of the line number of the text for which the expression form is designated, the content of the expression form, and the required operands. The line numbers of the non-expressive text do not exist in the table. Further, when a plurality of expression forms are designated for the same line of text, they are treated as a plurality of sets of data as shown in the figure.

【0030】次に、(3)の印刷時における動作を説明
する。図5は、印刷動作の流れを示したものある。すで
に、テキスト情報はインターフェイス制御部を介して入
力され、テキストメモリへ格納されているものとする。
Next, the operation at the time of printing (3) will be described. FIG. 5 shows the flow of the printing operation. It is assumed that the text information has already been input via the interface control unit and stored in the text memory.

【0031】先ず、カウンタmを”0”に設定(ステッ
プS201)する。このカウンタmは、現在処理を行っ
ているテキストが何行目であるかを示すカウンタであ
る。次に、カウンタmに“1”を加え(ステップS20
2)、m行目のテキストを、テキストメモリより読み込
む(ステップS203)。テキストが終了していない場
合(ステップS204;N)には、変換モードフラグに
より、表現形態の変換を行うか否かを選択(ステップS
205)する。ここでは、前述したごとく、テキスト情
報の受信以前に、変換モードフラグが設定されており、
環境メモリ中の変換モードフラグが”1”であるか否か
を確認することにより、選択を行っている。
First, the counter m is set to "0" (step S201). The counter m is a counter indicating the line number of the text currently being processed. Next, "1" is added to the counter m (step S20
2), the text of the m-th line is read from the text memory (step S203). If the text is not completed (step S204; N), it is selected by the conversion mode flag whether to convert the expression form (step S204).
205) Yes. Here, as described above, the conversion mode flag is set before the text information is received.
The selection is performed by checking whether the conversion mode flag in the environment memory is "1".

【0032】表現形態の変換を行わない場合(ステップ
S205;N)は、フォントメモリ中のフォントデータ
を用いて、テキストをビットパターンへ展開(ステップ
S206)し、展開されたビットパターンをページメモ
リへ格納(ステップS208)する。表現形態の変換を
行う場合(ステップS205;Y)は、表現形態の変換
処理(ステップS207)をし、処理結果として得られ
たビットパターンをページメモリへ格納(ステップS2
08)する。表現形態の変換処理の詳細は後述する。
When the expression form is not converted (step S205; N), the text is expanded into a bit pattern using the font data in the font memory (step S206), and the expanded bit pattern is expanded into the page memory. It is stored (step S208). When the expression form is converted (step S205; Y), the expression form conversion process (step S207) is performed, and the bit pattern obtained as a processing result is stored in the page memory (step S2).
08) The details of the expression format conversion processing will be described later.

【0033】これらの処理をデータ行がある限り繰り返
し、テキストの終了(ステップS204)後、オーバー
レイフラグが”1”であれば(ステップS211;
Y)、フォームのビットパターンをページメモリのビッ
トパターンに合成(ステップS212)し、印刷(ステ
ップS213)を行う。オーバーレイフラグが”1”で
なければ(ステップS211;N)、ビットパターン合
成を行うことなく、ページメモリ内のビットパターンを
印刷(ステップS213)する。
These processes are repeated as long as there are data lines, and after the end of the text (step S204), if the overlay flag is "1" (step S211;
Y), the bit pattern of the form is combined with the bit pattern of the page memory (step S212), and printing (step S213) is performed. If the overlay flag is not "1" (step S211; N), the bit pattern in the page memory is printed (step S213) without performing bit pattern synthesis.

【0034】図6に、表現形態の変換処理(ステップS
207)の流れを示す。カウンタmとともに1行分のテ
キストを処理対象とし、先ず、参照テーブル中に、テキ
ストのm行目に関する表現形態指示情報を検索(ステッ
プS301)する。存在しない場合(ステップS30
2;N)は、処理対象であるテキストを通常の処理によ
りビットパターンに展開(ステップS308)する。
FIG. 6 shows an expression form conversion process (step S
207) is shown. The text of one line is processed together with the counter m, and first, the reference table is searched for expression form instruction information regarding the m-th line of the text (step S301). If it does not exist (step S30)
2; N) develops the text to be processed into a bit pattern by normal processing (step S308).

【0035】表現形態指示情報が存在する場合(ステッ
プS302;Y)には、その指示情報がバーコード変換
指示であるか否かを判断(ステップS303)する。指
示がバーコード変換の場合(Y)は、処理対象であるテ
キストをバーコードとなるようにビットパターン展開
(ステップS307)する。他の表現形態への変換処理
の場合(ステップS303;N)には、フォントタイプ
の選択(ステップS304)を行い、選択されたフォン
トデータを用いて、ビットパターン展開(ステップS3
05)を行う。なお、フォントタイプ指定がないときに
は、デフォルトのフォントタイプを用いる。次いで、ビ
ットパターン展開されたテキストに対し、大きさを示す
オペランドをもとに、拡大、縮小処理(ステップS30
6)を行う。
When the expression form instruction information is present (step S302; Y), it is judged whether or not the instruction information is a bar code conversion instruction (step S303). If the instruction is bar code conversion (Y), the bit pattern is expanded so that the text to be processed becomes a bar code (step S307). In the case of conversion processing to another expression form (step S303; N), a font type is selected (step S304), and bit pattern expansion is performed using the selected font data (step S3).
05) is performed. If no font type is specified, the default font type is used. Then, enlargement / reduction processing is performed on the bit pattern expanded text based on an operand indicating the size (step S30).
Perform 6).

【0036】なお、簡単のため、流れ図には示していな
いが、本印刷装置は2色印刷が可能であり、表現形態指
示情報”COLOR”により第2の色を指定することも
できる。この場合には、印刷時に、色指定された部分の
ビットパターンと色指定されていない部分のビットパタ
ーンを作成し、それぞれのビットパターンを指定の色で
印刷している。
Although not shown in the flow chart for simplification, this printing apparatus is capable of two-color printing, and the second color can be designated by the expression form instruction information "COLOR". In this case, at the time of printing, a bit pattern of a color designated portion and a bit pattern of a non-color designated portion are created, and each bit pattern is printed in a designated color.

【0037】図7に示す1行目が空文字列の5行で構成
されたテキスト情報に対して、フォーム情報として図2
に示した情報を指定し、動作を行ったときの印刷結果を
図8と図9に示す。
The text information in which the first line shown in FIG. 7 is composed of five lines of empty character strings is used as the form information in FIG.
8 and 9 show the print results when the operation shown in FIG.

【0038】図8は、オーバーレイフラグが”1”に、
変換モードフラグが”1”に設定されているとき、すな
わち、テキストをフォーム情報の表現形態で表現し、フ
ォームと重ね合わせて出力するときの印刷結果である。
フォーム情報で指示したように、テキストの3行目が拡
大され、5行目がバーコードに変換される。2、4行目
のテキストに対しては、フォーム情報中に表現形態の指
示がないため、印刷装置のデフォルトの表現形態で印刷
されている。図9は、オーバーレイフラグを”0”に、
変換モードフラグを”1”に設定したときの印刷結果で
ある。このように、フォームの重ね合わせ印刷が行われ
ない。フォームが既に印刷されている場合のように、フ
ォームの印刷を行わずに、テキストだけをフォーム情報
中で指示した表現形態で印刷したいときには、この設定
が用いられる。
In FIG. 8, the overlay flag is set to "1",
This is the print result when the conversion mode flag is set to "1", that is, when the text is expressed in the form of the form information and the text is superimposed and output.
As instructed by the form information, the third line of the text is enlarged and the fifth line is converted into a barcode. The second and fourth lines of text are printed in the default expression form of the printing apparatus because there is no instruction of the expression form in the form information. In FIG. 9, the overlay flag is set to “0”,
This is the print result when the conversion mode flag is set to "1". In this way, form overlay printing is not performed. This setting is used when it is desired to print only the text in the instructed form specified in the form information without printing the form, as in the case where the form has already been printed.

【0039】また、本実施例においては、オーバーレイ
フラグ、変換モードフラグによるモード選択手段を設け
ているが、この手段を設けないことも可能である。この
場合においては、フォーム情報を修正することにより前
記した選択手段を設けたときと同様の結果を得ることが
できる。たとえば、フォーム描画指示情報を含まず、テ
キスト表現形態指示情報だけからなるフォーム情報を作
成し、これを用いることによってオーバーレイフラグ
を”1”以外に設定したとき、すなわち、フォームの重
ね合わせ印刷を行わないとき、と同様の結果が得られ
る。
Further, in this embodiment, the mode selecting means based on the overlay flag and the conversion mode flag is provided, but it is also possible not to provide this means. In this case, by correcting the form information, the same result as when the above-mentioned selecting means is provided can be obtained. For example, when form information that does not include form drawing instruction information but only text expression form instruction information is created and the overlay flag is set to a value other than "1" by using this, that is, form overlay printing is performed. If not, the same result as is obtained.

【0040】また、本実施例における各メモリは独立の
メモリ素子である必要はなく、メモリのうちのいくつか
を1つメモリ素子に割当て、領域分割して使用すること
も可能である。また、本実施例では、テキスト表現形態
指示情報をフォーム描画指示情報とともにフォーム情報
としてホストコンピュータ等の外部の機器より受け取っ
ているが、テキスト表現形態指示情報をフォーム描画指
示情報とは別に受け取るようにすることも容易である。
さらに、磁気ディスク装置などの補助記憶装置を組み込
み、多量の記憶容量を必要とするフォントデータを補助
記憶装置に記憶させておき、印刷に必要なデータのみを
メモリに転送することにより、さらに多くのフォントタ
イプを使用できる印刷装置を構成することもできる。
Further, each memory in this embodiment does not have to be an independent memory element, and it is possible to allocate some of the memories to one memory element and divide the area for use. Further, in the present embodiment, the text expression form instruction information is received as form information together with the form drawing instruction information from the external device such as the host computer, but the text expression form instruction information may be received separately from the form drawing instruction information. It is also easy to do.
Furthermore, by incorporating an auxiliary storage device such as a magnetic disk device, storing font data that requires a large storage capacity in the auxiliary storage device, and transferring only the data required for printing to the memory, more It is also possible to configure a printing device that can use the font type.

【0041】第2の実施例Second embodiment

【0042】以下に示す第2の実施例の印刷装置におい
ては、テキスト情報中に表現形態指示情報が存在しても
意図する印刷結果を容易に得ることができる。本実施例
の印刷装置の構成の概要は図1と同じであり、テキスト
情報中の表現形態指示情報とフォーム情報のテキスト表
現形態指示情報とのどちらの表現形態指示情報に従い、
テキスト表現形態を行うかを決めるテキスト出力様式選
択手段が加わっている。
In the printing apparatus of the second embodiment described below, the intended print result can be easily obtained even if the expression form instruction information is present in the text information. The outline of the configuration of the printing apparatus according to the present embodiment is the same as that of FIG. 1, and according to which expression form instruction information, the expression form instruction information in the text information or the text expression form instruction information of the form information,
A text output style selection means for deciding whether to perform a text expression form is added.

【0043】ここでは、テキスト情報に表現形態指示情
報が含まれているときを例に印刷装置の動作を説明す
る。同一行のテキストに対して、2つの表現形態指示情
報が存在する場合には以下に示す4通りのモードが選択
しうる。
Here, the operation of the printing apparatus will be described by taking the case where the expression information is included in the text information as an example. When there are two expression form instruction information for the text on the same line, the following four modes can be selected.

【0044】(イ)フォーム情報中で指定したテキスト
表現形態指示情報を優先的に使用し、対象となっている
テキスト行に対して、フォーム情報中にテキスト表現形
態指示情報がないときには、テキスト情報中の表現形態
指示情報があっても表現形態を行わない。
(B) When the text expression form instruction information specified in the form information is preferentially used, and the text expression form instruction information does not exist in the form information for the target text line, the text information Even if there is the expression form instruction information inside, the expression form is not performed.

【0045】(ロ)フォーム情報中で指定したテキスト
表現形態指示情報を優先的に使用し、対象となっている
テキスト行に対して、フォーム情報中にテキスト表現形
態指示情報がないときには、テキスト情報中の表現形態
指示情報を用いる。
(B) The text expression form instruction information specified in the form information is preferentially used, and when there is no text expression form instruction information in the form information for the target text line, the text information The expression form instruction information in the inside is used.

【0046】(ハ)テキスト情報中で指定している表現
形態指示情報を優先的に使用し、対象となっているテキ
スト行に対して、テキスト情報中に表現形態指示情報が
ないときには、フォーム情報中のテキスト表現形態指示
情報を用いる。
(C) When the expression form instruction information specified in the text information is preferentially used and there is no expression form instruction information in the text information for the target text line, the form information The text representation form instruction information in the inside is used.

【0047】(ニ)テキスト情報中で指定している表現
形態指示情報を優先的に使用し、対象となっているテキ
スト行に対して、テキスト情報中に表現形態指示情報が
ないときには、フォーム情報中のテキスト表現形態指示
情報があっても表現形態を行わない。
(D) When the expression form instruction information specified in the text information is preferentially used and there is no expression form instruction information in the text information for the target text line, the form information Even if there is the text expression form instruction information inside, the expression form is not performed.

【0048】(イ)は、テキスト情報中の表現形態指示
情報をすべて無視する場合であり、他のシステムを用い
て作成した表現形態指示情報を含むテキスト情報を印刷
するときに、特に効果がある。これは、他の印刷装置で
拡大を指示する表現形態指示情報が本印刷装置では拡大
を指示するとは限らないことによる。(ロ)と(ハ)
は、表現形態内容を一部変更するときに有効である。た
とえば、既に表現形態指示情報を含むテキスト情報のう
ちある1行に対する表現形態内容をかえたいときには、
(ロ)を用い、その行に対する表現形態指示情報をフォ
ーム情報中で挿入しておけばよい。なお、(ハ)は、出
力結果を修正する場合において、テキスト情報を一部訂
正することによる出力結果の修正に適したものである。
The case (a) is a case where all the expression form instruction information in the text information is ignored, which is particularly effective when printing the text information including the expression form instruction information created by using another system. . This is because the expression form instruction information for instructing enlargement in another printing apparatus does not always instruct enlargement in this printing apparatus. (B) and (c)
Is effective when a part of the expression form content is changed. For example, if you want to change the expression form content for one line of text information that already contains expression form instruction information,
Using (b), the expression form instruction information for the line may be inserted in the form information. Note that (c) is suitable for correcting the output result by partially correcting the text information when the output result is corrected.

【0049】これらのうち、(ニ)は、表現形態指示情
報が含まれたテキスト情報の通常の印刷であり、本印刷
装置では、変換モードフラグを”1”以外に設定するこ
とにより実行できるため、他の3つの選択手順を選択モ
ードフラグにより、設定することとし、ここでは、
(イ)、(ロ)、(ハ)にそれぞれ選択モードフラグ”
1”、”2”、”3”を対応させている。なお、選択モ
ードフラグの設定には、テキストの受信に先駆けて、外
部から通信によりデータを受け取るという方法を採って
いる。
Of these, (d) is normal printing of text information including expression form instruction information, and can be executed by setting the conversion mode flag to other than "1" in this printing apparatus. , The other three selection procedures are set by the selection mode flag, and here,
Selection mode flags for (a), (b), and (c) respectively
1 "," 2 ", and" 3 "are associated with each other. The setting of the selection mode flag employs a method of receiving data by communication from the outside prior to receiving the text.

【0050】図10に本実施例における印刷動作のう
ち、テキストをビットパターンに展開しページメモリへ
格納するまでの流れを示す。テキスト情報は、テキスト
メモリ内に読み込まれており、変換モードフラグは”
1”であり、カウンタmは”0”にセットされていると
する。また、説明上、流れ図を簡単にするため、テキス
ト情報中の表現形態指示情報は、次行のテキストの表現
形態を指示するものに限定している。
FIG. 10 shows the flow of the printing operation in this embodiment, which is performed until the text is developed into the bit pattern and stored in the page memory. The text information is read in the text memory and the conversion mode flag is "
1 "and the counter m is set to" 0 ". For simplicity of description, the expression form instruction information in the text information indicates the expression form of the text of the next line. It is limited to what you do.

【0051】先ず、カウンタmに“1”を加え(ステッ
プS401)、テキストを1行、テキストメモリより読
み込む(ステップS402)。テキストが終了していな
い場合(ステップS403;N)には、読み込まれたテ
キストが表現形態指示情報等の制御情報であるかを判断
(ステップS404)する。この判断基準に関しては後
述する。制御情報でないときには(N)、読み込まれた
テキストは、印刷すべき文字データであるので、表現形
態の変換処理(ステップS412)を行い、ページメモ
リへの格納(ステップS408)後、次行の処理を行う
ためにステップS401へ戻る。表現形態処理(ステッ
プS412)は、既に図6を用いて説明した参照テーブ
ルの検索を行う表現形態の変換処理である。
First, "1" is added to the counter m (step S401), and one line of text is read from the text memory (step S402). If the text has not ended (step S403; N), it is determined whether the read text is control information such as expression form instruction information (step S404). This criterion will be described later. If it is not the control information (N), the read text is character data to be printed, so the expression form conversion process (step S412) is performed, and after storing in the page memory (step S408), the process of the next line is performed. The process returns to step S401 to perform. The expression form process (step S412) is an expression form conversion process for searching the reference table already described with reference to FIG.

【0052】読み込まれたテキストが制御情報であると
きは(ステップS404;Y)、選択モードフラグによ
り処理を分岐させる(ステップS405)。選択モード
フラグが”1”であるときは、読み込まれた制御情報に
対して処理を行わず、次行のテキストが読み込む(ステ
ップS402)。このとき、ステップS401へ戻らな
いのは、カウンタmは制御情報を含まないテキストの行
数を示すものであるので、1を加算する処理が不必要で
あることによる。
When the read text is the control information (step S404; Y), the process is branched by the selection mode flag (step S405). When the selection mode flag is "1", the read control information is not processed and the text of the next line is read (step S402). At this time, the process does not return to step S401 because the counter m indicates the number of lines of the text that does not include the control information, and the process of adding 1 is unnecessary.

【0053】選択モードフラグが”3”であるときは、
ステップS402で読み込んだテキスト情報を表現形態
指示情報として格納しておき、次に読み込むテキスト情
報(ステップS406)を、その表現形態指示情報に示
された表現形態をとるように、変換処理(ステップS4
07)し、ページメモリへ格納(ステップS408)す
る。この後、次行の処理のために、ステップS401へ
戻る。
When the selection mode flag is "3",
The text information read in step S402 is stored as expression form instruction information, and the text information to be read next (step S406) is converted into the expression form indicated by the expression form instruction information (step S4).
07) and store it in the page memory (step S408). After that, the process returns to step S401 for the processing of the next row.

【0054】選択モードフラグが”2”のときは、ステ
ップS402で読み込んだテキスト情報を表現形態指示
情報として暫定的に格納しておき、参照テーブル中のm
行目に関するテキスト表現形態指示情報の有無を判断
(ステップS410)する。m行目に関するテキスト表
現形態指示情報がないときには(N)、暫定的に格納し
た表現形態指示情報に従って、ステップS402からの
一連の処理を行う。このときの一連の処理は、選択モー
ドフラグが”3”である場合と同じである。参照テーブ
ル中にm行目に関するテキスト表現形態指示情報が存在
するときには(ステップS410;Y)、テキストを1
行読み込み(ステップS411)、検索したテキスト表
現形態指示情報に従い、読み込んだテキストの表現形態
処理(ステップS412)を行い、ページメモリに格納
(ステップS408)する。このような流れにより、前
述したような選択を行っている。
When the selection mode flag is "2", the text information read in step S402 is temporarily stored as expression form instruction information, and m in the reference table is stored.
It is determined whether or not there is text representation form instruction information regarding the line (step S410). When there is no text expression form instruction information regarding the m-th line (N), a series of processes from step S402 is performed according to the temporarily stored expression form instruction information. The series of processes at this time is the same as when the selection mode flag is "3". When the text representation form instruction information regarding the m-th line is present in the reference table (step S410; Y), the text is set to 1
The line is read (step S411), the read text expression form processing (step S412) is performed in accordance with the retrieved text expression form instruction information, and the text is stored in the page memory (step S408). The selection as described above is performed by such a flow.

【0055】ここで、制御情報であるか否かの判断(ス
テップS404)は、読み込んだデータの1バイト目が
16進表記で“01”から“1F”(“0A”、“0
C”、“0D”を除く)であるか否かで判断している。
これは、現存の印刷装置の制御命令の多くがこれらのコ
ードで始まっていることによる。なお、“0A”、“0
C”、“0D”は、一般的に、それぞれ、ラインフィー
ド、フォームフィード、キャリッジリターンを意味する
ものとして用いられている。詳細の記述は行わないが、
ここでも、改行命令やテキスト情報の区切り記号として
使用しているため、判断対象とはしていない。
Here, it is judged whether or not it is the control information (step S404), the first byte of the read data is "01" to "1F"("0A","0" in hexadecimal notation).
Judgment is made based on whether it is "C" or "0D".
This is because many of the control instructions of existing printers begin with these codes. Note that "0A" and "0
C "and" 0D "are generally used to mean line feed, form feed, and carriage return, respectively, although not described in detail.
Again, since it is used as a line break command and a delimiter for text information, it is not judged.

【0056】本実施例に示した印刷装置を用いて他のシ
ステムで作成した制御情報を含むテキスト情報を選択モ
ードフラグを“1”にして、印刷したところ、テキスト
情報中の制御文は無視され、フォーム情報で指定した表
現形態で印刷可能であることが確認できた。
When text information including control information created by another system using the printing apparatus shown in the present embodiment is printed with the selection mode flag set to "1", the control statement in the text information is ignored. It was confirmed that printing was possible with the expression form specified in the form information.

【0057】また、本実施例においては、表現形態を指
示する情報が、テキストに含まれて送られてくる場合の
説明をおこなったが、この印刷装置は表現形態指示情報
がテキストとは別に送られてきた場合においても同様の
処理を行うことができるものとなっている。この場合に
は、送られてきた表現形態指示情報から2番目の参照テ
ーブルを作成し、これを既存の参照テーブルと比較し
て、これらから最終的に用いる参照テーブルを作成し、
これを基に表現形態を変換して印刷を行っている。
In this embodiment, the case where the information indicating the expression form is included in the text and sent is described. However, in this printing apparatus, the expression form instruction information is sent separately from the text. The same processing can be carried out even in the case of being received. In this case, the second reference table is created from the sent expression form instruction information, this is compared with the existing reference table, and the reference table to be finally used is created from these.
Printing is performed by converting the expression form based on this.

【0058】また、以上説明した2つの実施例において
は、各フラグの設定を、ホストコンピュータからフラグ
データを受け取ることによりおこなっているが、印刷装
置上に、たとえば、操作パネルのような入力装置を設
け、これによりフラグの設定を行うようにすることも容
易である。さらに、操作パネルにより、フォーム情報中
のテキスト表現形態指示情報の設定ができるようにする
ことも可能である。
In the two embodiments described above, each flag is set by receiving the flag data from the host computer. However, an input device such as an operation panel may be provided on the printing device. It is also easy to provide and set the flag accordingly. Further, it is possible to set the text representation form instruction information in the form information by using the operation panel.

【0059】[0059]

【発明の効果】以上説明したごとく請求項1の発明によ
れば、テキスト情報とともに表現形態指示情報を指定す
ることなく、テキストを、フォームに対応した拡大やバ
ーコード化等の表現形態でフォームとともにオーバーレ
イ印刷することができるため、テキスト情報の作成が容
易であり、また、そのテキスト情報ファイルを他のシス
テムで作成することができるようになる。
As described above, according to the first aspect of the present invention, the text is displayed together with the form in a form corresponding to the form such as enlargement or bar code conversion without designating the form form instruction information together with the text information. Since overlay printing is possible, text information can be easily created, and the text information file can be created by another system.

【0060】請求項2の発明によれば、テキスト情報と
ともに表現形態指示情報を指定することなく、テキスト
を、フォームに対応した拡大やバーコード化等の表現形
態でフォームとともにオーバーレイ印刷することができ
るため、テキスト情報の作成が容易であり、そのテキス
ト情報ファイルを他のシステムで作成することもできる
ようになる。また、テキストの表現形態としてフォーム
情報中の表現形態を用いるか否かを選択できるため、テ
キスト情報をそのまま印字するテスト印刷が行える。
According to the second aspect of the invention, the text can be overlay-printed with the form in an expression form such as enlargement or bar code conversion corresponding to the form without designating the expression form instruction information together with the text information. Therefore, the text information can be easily created, and the text information file can be created by another system. Further, since it is possible to select whether or not to use the expression form in the form information as the expression form of the text, it is possible to perform test printing in which the text information is printed as it is.

【0061】請求項3の発明によれば、テキスト情報と
ともに表現形態指示情報を指定することなく、テキスト
を、フォームに対応した拡大やバーコード化等の表現形
態でフォームとともにオーバーレイ印刷することができ
るため、テキスト情報の作成が容易であり、そのテキス
ト情報ファイルを他のシステムで作成することもできる
ようになる。また、フォームの重ね合わせ印刷の有無を
選択できるため、フォームが既に印刷されている用紙上
への印刷が行えるに加え、テキストの表現形態の変換、
例えば、全体を拡大、縮小するといった変換を行う印刷
装置として用いることもできる。
According to the third aspect of the present invention, the text can be overlay-printed with the form in an expression form such as enlargement or bar coding corresponding to the form without designating the expression form instruction information together with the text information. Therefore, the text information can be easily created, and the text information file can be created by another system. In addition, you can select whether or not to print the form overlaid, so you can print on the paper on which the form is already printed, and convert the expression form of the text.
For example, it can be used as a printing device that performs conversion such as enlarging or reducing the whole.

【0062】請求項4の発明によれば、テキスト情報と
ともに表現形態指示情報を指定することなく、テキスト
の拡大やバーコード化等の表現形態を伴うフォームオー
バーレイ印刷が行えることに加え、表現形態指示情報が
挿入されているテキスト情報に対して様々なモードでフ
ォームオーバーレイ印刷を行うことができる。モードと
しては、テキスト情報中の表現形態指示情報を全て無視
するもの、テキスト情報中の表現形態指示情報とフォー
ム情報中の表現形態指示情報の両方の指示情報を使用す
るものがある。前者は、他のシステムで作成したテキス
ト情報をこの印刷装置で印刷するとき、たとえば、ワー
ドプロセッサで表現形態指示をして作成したテキスト情
報を印刷するとき、に有効である。これは、他のシステ
ムで作成したテキスト情報中の表現形態指示情報がこの
印刷装置において、テキスト情報の作成者の意図とは違
った動作を指示するものである場合、通常の印刷装置に
おいては、テキスト中の表現形態指示情報の編集が必要
であるのに対し、この印刷装置ではテキスト中の表現形
態指示情報を全て無視することができるため、テキスト
情報を編集せずに所望の表現形態で印刷が行えることに
よる。また、後者は印刷結果の一部修正を行うときに有
効である。
According to the invention of claim 4, form overlay printing accompanied by expression forms such as text enlargement and bar code conversion can be performed without designating the expression form instruction information together with the text information, and the expression form instruction is also possible. Form overlay printing can be performed in various modes on the text information in which the information is inserted. As modes, there are a mode in which all the expression form instruction information in the text information is ignored, and a mode in which both of the expression form instruction information in the text information and the expression form instruction information in the form information are used. The former is effective when printing text information created by another system with this printing device, for example, when printing text information created by designating an expression form in a word processor. This is because when the expression form instruction information in the text information created by another system indicates an operation different from the intention of the creator of the text information in this printing device, in a normal printing device, While it is necessary to edit the expression form instruction information in the text, this printing device can ignore all the expression form instruction information in the text, so you can print in the desired expression form without editing the text information. It can be done. The latter is effective when a part of the print result is corrected.

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

【図1】本発明の第1の実施例における印刷装置の回路
構成を示すブロック図である。
FIG. 1 is a block diagram showing a circuit configuration of a printing apparatus according to a first embodiment of the present invention.

【図2】第1の実施例におけるフォーム情報の内容の一
形式を示した説明図である。
FIG. 2 is an explanatory diagram showing one format of the contents of form information in the first embodiment.

【図3】第1の実施例におけるフォーム情報の登録の流
れを示した流れ図である。
FIG. 3 is a flowchart showing a flow of registration of form information in the first embodiment.

【図4】第1の実施例における図2のフォーム情報をも
とに作成される参照テーブルの内容を示す説明図であ
る。
FIG. 4 is an explanatory diagram showing the contents of a reference table created based on the form information of FIG. 2 in the first embodiment.

【図5】第1の実施例における印刷装置の印刷動作の流
れを示す流れ図である。
FIG. 5 is a flowchart showing a flow of a printing operation of the printing apparatus according to the first embodiment.

【図6】第1の実施例におけるフォーム情報で指示され
た表現形態にテキスト文字を変換するための表現形態処
理の流れを示す流れ図である。
FIG. 6 is a flowchart showing a flow of an expression form process for converting a text character into an expression form instructed by form information in the first embodiment.

【図7】第1の実施例で用いたテキスト情報の内容を示
した説明図である。
FIG. 7 is an explanatory diagram showing the contents of text information used in the first embodiment.

【図8】第1の実施例における図7のテキスト情報と図
2のフォーム情報を用いて表現形態の変換を行いフォー
ムを重ね合わせて出力を行ったときの印刷結果を説明す
る説明図である。
FIG. 8 is an explanatory diagram illustrating a print result when the expression form is converted using the text information of FIG. 7 and the form information of FIG. 2 in the first embodiment, and the forms are overlapped and output. .

【図9】第1の実施例における図7のテキスト情報と図
2のフォーム情報を用いて表現形態の変換を行いフォー
ムを重ね合わせずに出力を行ったときの印刷結果を説明
する説明図である。
FIG. 9 is an explanatory diagram illustrating a print result when the expression form is converted using the text information of FIG. 7 and the form information of FIG. 2 in the first embodiment and output is performed without overlapping the forms. is there.

【図10】第2の実施例における選択モードフラグによ
るテキスト表現形態の変換処理の分岐を示す流れ図であ
る。
FIG. 10 is a flowchart showing a branch of a text representation form conversion process by a selection mode flag in the second embodiment.

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

10…印刷装置、11…中央処理装置、12…バス、1
3…インターフェイス制御部、14…ケーブル、15…
フォントメモリ、16…テキストメモリ、18…フォー
ムメモリ、19…ページメモリ、20…動作環境メモ
リ、21…プログラムメモリ、22…印字部、31…フ
ォーム識別子、32,33…フォーム描画指示情報、3
4,35…テキスト表現形態指示情報
10 ... Printing device, 11 ... Central processing unit, 12 ... Bus, 1
3 ... Interface control unit, 14 ... Cable, 15 ...
Font memory, 16 ... Text memory, 18 ... Form memory, 19 ... Page memory, 20 ... Operating environment memory, 21 ... Program memory, 22 ... Printing section, 31 ... Form identifier, 32, 33 ... Form drawing instruction information, 3
4, 35 ... Text representation form instruction information

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 印刷するページのテキスト情報を格納す
るテキスト情報格納手段と、 このページにテキスト情報と重ねて印刷を行うフォーム
とこのフォームの各位置におけるテキストの表現形態と
をフォーム情報として格納するフォーム情報格納手段
と、 フォーム情報の表現形態に従ってテキスト情報を展開す
るテキスト情報展開手段と、 展開されたテキスト情報と前記表現形態に対応するフォ
ームとを重ね合わせて印刷を行う印刷手段とを具備する
ことを特徴とする印刷装置。
1. A text information storage unit for storing text information of a page to be printed, a form for printing text information on this page and a representation form of text at each position of this form are stored as form information. The information processing apparatus further comprises form information storage means, text information expansion means for expanding the text information according to the expression form of the form information, and printing means for superposing the expanded text information and the form corresponding to the expression form for printing. A printing device characterized by the above.
【請求項2】 印刷するページのテキスト情報を格納す
るテキスト情報格納手段と、 このページにテキスト情報と重ねて印刷を行うフォーム
とこのフォームの各位置におけるテキストの表現形態と
をフォーム情報として格納するフォーム情報格納手段
と、 テキスト情報の出力時に前記表現形態に従った表現形態
の変換を行うか否かを選択するテキスト出力様式選択手
段と、 選択されたテキスト出力様式に従ってテキスト情報を展
開するテキスト展開手段と、 展開されたテキスト情報と前記表現形態に対応するフォ
ームとを重ね合わせて印刷を行う印刷手段とを具備する
ことを特徴とする印刷装置。
2. A text information storage means for storing text information of a page to be printed, a form for printing the text information on the page and a representation form of text at each position of the form are stored as form information. Form information storage means, text output style selecting means for selecting whether to convert the expression style according to the expression style when outputting the text information, and text expansion for expanding the text information according to the selected text output style. A printing apparatus comprising: a printing unit and a printing unit that prints by superposing the developed text information and a form corresponding to the expression form.
【請求項3】 印刷するページのテキスト情報を格納す
るテキスト情報格納手段と、 このページにテキスト情報と重ね合わせて印刷可能なフ
ォームとこのフォームの各位置におけるテキストの表現
形態とをフォーム情報として格納するフォーム情報格納
手段と、フォーム情報の前記表現形態に従ってテキスト
情報を展開するテキスト情報展開手段と、 前記フォーム情報におけるフォームを印刷するか否かの
選択を行うフォーム印刷採否選択手段と、 このフォーム印刷採否選択手段によってフォームの印刷
が選択されたときそのフォームをテキスト情報展開手段
によって展開されたテキスト情報と重ね合わせて印刷を
行い、これ以外のときには展開されたテキスト情報のみ
について印刷を行う印刷手段とを具備することを特徴と
する印刷装置。
3. A text information storage means for storing text information of a page to be printed, a form printable on the page with the text information and a text representation form at each position of the form are stored as form information. Form information storing means, text information expanding means for expanding text information according to the expression form of the form information, form print acceptance / rejection selecting means for selecting whether or not to print the form in the form information, and this form printing When the printing of the form is selected by the adoption / non-adoption selecting means, the form is printed by being superimposed on the text information expanded by the text information expanding means, and in other cases, a printing means for printing only the expanded text information. A printing apparatus comprising:
【請求項4】 印刷するページのテキスト情報を格納す
るテキスト情報格納手段と、 このページにテキスト情報と重ねて印刷を行うフォーム
とこのフォームの各位置におけるテキストの表現形態と
をフォーム情報として格納するフォーム情報格納手段
と、 テキスト情報に関して外部から送られてくる表現形態情
報を格納する表現形態格納手段と、 外部より送られてくる前記表現形態によるテキスト情報
の出力とフォーム情報として格納された表現形態による
テキスト情報の出力とを選択するテキスト出力様式選択
手段と、選択されたテキスト出力様式に従ってテキスト
情報を展開するテキスト情報展開手段と、 展開されたテキスト情報と前記表現形態に対応するフォ
ームとを重ね合わせて印刷を行う印刷手段とを具備する
ことを特徴とする印刷装置。
4. Text information storage means for storing text information of a page to be printed, a form for printing text information on this page and a text representation form at each position of this form are stored as form information. Form information storage means, expression form storage means for storing expression form information sent from outside with respect to text information, output of text information according to the expression form sent from the outside, and expression form stored as form information Text output style selecting means for selecting output of text information by, text information expanding means for expanding text information according to the selected text output style, and the expanded text information and the form corresponding to the expression form are overlaid. And a printing means for printing together. Printing apparatus.
JP5086001A 1993-04-13 1993-04-13 Printer Pending JPH06297803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5086001A JPH06297803A (en) 1993-04-13 1993-04-13 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5086001A JPH06297803A (en) 1993-04-13 1993-04-13 Printer

Publications (1)

Publication Number Publication Date
JPH06297803A true JPH06297803A (en) 1994-10-25

Family

ID=13874430

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5086001A Pending JPH06297803A (en) 1993-04-13 1993-04-13 Printer

Country Status (1)

Country Link
JP (1) JPH06297803A (en)

Similar Documents

Publication Publication Date Title
JPH0651739A (en) Method for generating character pattern and device therefor
JPH07108731A (en) Plural over lay printer, plural over lay output device and plural over lay printing system
EP0438246B1 (en) Method and device for outputting multicolor document
JPH0966643A (en) Print controlling device
JPH06297803A (en) Printer
JPS63139751A (en) Printing method in printing system
JP2940914B2 (en) Output device
JP2967861B2 (en) Output device
JP3371468B2 (en) Separation printing device
JPH0230557A (en) Printer
JP2827838B2 (en) Print data transmission method
JP2909075B2 (en) Printing equipment
JP2682984B2 (en) Output device
JPH01229666A (en) Printer
JPH09146927A (en) External character switching system
JP2001117910A (en) Device and method for automatically correcting document format and storage medium storing automatic document format correction program
JPH11110372A (en) Document editing device, document editing method and storage medium
JPH04123178A (en) Device and method for processing document
JPH054380A (en) Face selective system
JPH01316861A (en) Document image processing device
JPH0263097A (en) Output device
JPS62199459A (en) Apparatus for processing document
JPS62209483A (en) Character output unit
JP2000181666A (en) Method for expanding image
JP2001347704A (en) Print data forming system and medium recorded with its program