JP3150430B2 - Printer control code converter - Google Patents

Printer control code converter

Info

Publication number
JP3150430B2
JP3150430B2 JP19485492A JP19485492A JP3150430B2 JP 3150430 B2 JP3150430 B2 JP 3150430B2 JP 19485492 A JP19485492 A JP 19485492A JP 19485492 A JP19485492 A JP 19485492A JP 3150430 B2 JP3150430 B2 JP 3150430B2
Authority
JP
Japan
Prior art keywords
information
character
control code
image
printer
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 - Fee Related
Application number
JP19485492A
Other languages
Japanese (ja)
Other versions
JPH0619649A (en
Inventor
純 石岡
隆 橋詰
Original Assignee
東京電子設計株式会社
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 東京電子設計株式会社 filed Critical 東京電子設計株式会社
Priority to JP19485492A priority Critical patent/JP3150430B2/en
Publication of JPH0619649A publication Critical patent/JPH0619649A/en
Application granted granted Critical
Publication of JP3150430B2 publication Critical patent/JP3150430B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、日本電気株式会社製の
PC-9800 シリーズ,アップル社製のマッキントッシュシ
リーズなどの比較的小型のパーソナルコンピュータ或い
は比較的大型のワークステーションなど(総称として以
下ホストコンピュータと言う)と、印刷のためのプリン
タ制御コードを一時的に記憶しておくバッファやその他
印刷信号を出力する各種インターフェース等と、ページ
プリンタ(例えばレーザビームプリンタ)との間に設
け、これら印刷のための情報をページプリンタへ受け渡
すプリンタ制御コード変換装置に関する。
[Industrial application] The present invention relates to
Temporarily stores printer control codes for printing with a relatively small personal computer such as the PC-9800 series or the Macintosh series made by Apple Inc. or a relatively large workstation (collectively referred to as a host computer hereinafter). The present invention relates to a printer control code conversion device which is provided between a page buffer (for example, a laser beam printer) and a buffer or other various interfaces for outputting a print signal, and transfers information for printing to the page printer.

【0002】[0002]

【従来の技術】例えば特開昭63−19260号公報に
は、主文字情報を構成するラインと、行間空白と、下線
やマーク等の付加的な印字情報を構成するラインとを別
々に制御し、所定ライン数ごとに上記主文字情報と、行
間空白と、付加的な印字情報とを交互にページプリンタ
に送出するインターフェース装置が開示され、印字情報
のバッファの容量の使用効率向上および容量縮小化を可
能としている。一方、ホストコンピュータのアプリケー
ションプログラム(以下、アプリケーション)側あるい
はその他のプログラムを利用することにより、多種多様
なページプリンタで同一内容の印字をプリントすること
ができる。つまり、一般コンピュータのユーザが使用し
ているアプリケーションが作成した制御コードと、ユー
ザが使用しているページプリンタの制御コードが一致す
るように変換をホストコンピュータ上で演算している。
2. Description of the Related Art For example, Japanese Unexamined Patent Publication No. 63-19260 discloses that lines constituting main character information, spaces between lines, and lines constituting additional print information such as underlines and marks are separately controlled. An interface device for alternately sending the main character information, the space between lines, and the additional print information to the page printer for each predetermined number of lines is disclosed, thereby improving the use efficiency and reducing the capacity of the print information buffer capacity. Is possible. On the other hand, by using an application program (hereinafter, application) of the host computer or another program, the same content can be printed by various page printers. That is, conversion is performed on the host computer so that the control code created by the application used by the user of the general computer and the control code of the page printer used by the user match.

【0003】上記のアプリケーションにおけるプリンタ
の制御コードの変換の一例を下記の図3を参照して例示
する。変換前の制御コード列21は、入力制御コード変換
部22によって、ページメモリ24へイメージデータとして
展開される。この時、文字情報については、入力コード
変換部22はコンピュータ内部のフォント(ラスタライザ
を含む)23を使用してページメモリ24へイメージデータ
として展開する。そして全ての展開が終了した時点で出
力制御コード作成部25によって制御コード列26が生成さ
れる。この制御コード列26は、イメージデータに制御コ
ードが付加されたデータになる。
An example of conversion of a control code of a printer in the above application is illustrated with reference to FIG. The control code sequence 21 before conversion is expanded as image data in the page memory 24 by the input control code conversion unit 22. At this time, the input code conversion unit 22 develops the character information as image data in the page memory 24 using a font (including a rasterizer) 23 inside the computer. Then, at the point in time when all the developments have been completed, the control code sequence 26 is generated by the output control code generator 25. The control code sequence 26 is data in which a control code is added to image data.

【0004】[0004]

【発明が解決しようとする課題】ところで、行ごとに処
理するインターフェース装置においては、ページメモリ
の展開をなさない点に特徴がある。そのため、ディスプ
レイの走査線のように印字領域の上から順序正しく流れ
るように情報が構成されている下線やマーク等の文字の
修飾情報については印字し得るが、上下位置に関係なく
イメージ情報が到来するごく一般的なイメージ混在文章
は特開昭63−19260号公報に開示されたインター
フェース装置では印字不能になる。
The interface device for processing each row is characterized in that the page memory is not expanded. As a result, information such as underlines and marks, which are structured so that information flows in order from the top of the print area, like scanning lines on a display, can be printed, but image information arrives regardless of the vertical position. A very general image-mixed sentence cannot be printed by the interface device disclosed in Japanese Patent Application Laid-Open No. 63-19260.

【0005】一方、アプリケーション上でプリンタの制
御コード変換を行う場合には、コンピュータ上に変換を
行うプログラムおよびフォント(フォントラスタライザ
を含む)が必要になる。また変換のためにコンピュータ
を使用するので、当然その変換処理中は、コンピュータ
は他の処理を行うことができない。また、変換された制
御コードは、変換前の制御コードよりサイズが大きくな
ってしまうために、プリンタに送信する時間も余分に必
要となってしまう。本発明は、以上の問題を解消するプ
リンタ制御コード変換装置を提供することにある。
On the other hand, when the control code of the printer is converted on an application, a program and a font (including a font rasterizer) for conversion are required on a computer. In addition, since a computer is used for the conversion, the computer cannot perform other processing during the conversion process. Further, the size of the converted control code is larger than the size of the control code before conversion, so that extra time for transmitting the converted control code to the printer is required. An object of the present invention is to provide a printer control code conversion device that solves the above problems.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明のプリンタ制御コード変換装置は、印刷の
ためのプリンタ制御コード信号を入力し、ページプリン
タのプリンタ制御コード信号入力端子へ接続し、プリン
タ制御コードを変換する装置であり、入力されたプリン
タ制御コード信号を文字情報とイメージ情報とに分離す
る入力制御コード変換部と、プリンタ制御コード信号内
の文字情報と、文字種類情報と、文字サイズ情報と、文
字位置情報とから個々の文字の印字領域を算出し、一方
プリンタ制御コード信号内の各々のイメージ情報と、イ
メージ位置情報とからイメージの印字領域を算出し、上
記文字の印字領域とイメージの印字領域とが重なるか否
かの重ね合わせを判断する文字情報変換部と、上記文字
情報変換部で上記文字の印字領域とイメージの印字領域
とが重なると判断されたときの文字情報と、文字種類情
報と、文字サイズ情報と、文字位置情報とを取り出して
記憶するバッファとから成り、上記文字情報変換部がバ
ッファに記憶された文字情報以外のプリンタ制御コード
信号内の文字情報、文字種類情報、文字サイズ情報およ
び文字位置情報、並びにイメージ情報およびイメージ位
置情報をプリンタ側へ出力し、その操作後上記バッファ
が、その記憶した情報をプリンタ側へ出力するように構
成したことを特徴としている。
In order to achieve the above object, a printer control code conversion device according to the present invention inputs a printer control code signal for printing and sends it to a printer control code signal input terminal of a page printer. An input control code conversion unit for connecting and converting an input printer control code signal into character information and image information; a character information in the printer control code signal; and a character type information. , Character size information, and character position information to calculate the print area of each character, while calculating the image print area from each image information in the printer control code signal and the image position information, A character information conversion unit that determines whether or not the print area of the image overlaps the print area of the image; A buffer for extracting and storing character information, character type information, character size information, and character position information when it is determined that the character print area and the image print area overlap each other. Output character information, character type information, character size information and character position information, and image information and image position information in the printer control code signal other than the character information stored in the buffer to the printer, and after the operation, The buffer is configured to output the stored information to the printer.

【0007】[0007]

【作用】本発明によるプリンタ制御コード変換装置は下
記に示す作用を有する。 ・ 印字信号は文字情報とイメージ情報とに分離され
る。 ・ 分離された情報からイメージ情報および文字情報の
印字領域が算出される。 ・ 各々の算出されたイメージ情報印字領域と文字情報
印字領域との重なりの有無が判断される。 ・ 重なった両印字情報に対して、印字の同期が取られ
る。 ・ さらに、イメージ情報については、ページメモリで
展開される。 ・ 文字情報はページプリンタで印字可能な制御信号が
付与される。
The printer control code converter according to the present invention has the following functions.・ The print signal is separated into character information and image information. A print area for image information and character information is calculated from the separated information. It is determined whether or not each of the calculated image information print area and the character information print area overlaps.・ The printing is synchronized for both overlapping printing information. -Further, the image information is developed in the page memory. -Character information is provided with a control signal that can be printed by a page printer.

【0008】[0008]

【実施例】以下、本発明の実施例を図面に基づき説明す
る。 [本発明の使用条件について] ・ 本発明によるプリンタ制御コード変換装置はホスト
コンピュータとページプリンタとの間に接続して使用す
る。
Embodiments of the present invention will be described below with reference to the drawings. [Conditions for Using the Present Invention] The printer control code converter according to the present invention is used by connecting it between a host computer and a page printer.

【0009】[内部処理の主要な構成の説明:図1参
照] ・ ホストコンピュータ側の制御コード信号出力端子か
ら得られる信号の制御コード列はブロック1で示され
る。この制御コード列1は本発明のプリンタ制御コード
変換装置にて変換される前の信号である。 ・ 上記制御コード列1は、入力コード変換部2に入力
される。ここでは文字情報とイメージ情報を入力された
制御コード列1から判断し、さらに文字情報とイメージ
情報を分離する。文字情報とイメージ情報の分離方法に
ついては下記で詳しく説明する。 ・ 入力コード変換部2からのイメージ情報のみのデー
タはイメージ情報変換部4へ入力される。ここではイメ
ージ情報の制御コード列をビットイメージ情報へ変換す
る。 ・ イメージ情報変換部4でビットイメージ情報に変換
された信号はページメモリ6においてビットイメージ通
りの条件で展開される。さらに、この展開で判明したイ
メージの位置や領域に関する情報が文字情報変換部3へ
出力される。なお、ビットイメージ情報への変換は記号
“ζ”を付して示す。 ・ ページメモリ6で展開されたイメージ情報はそのイ
メージを四角形の領域で囲む4ポイントの位置情報によ
って1つのイメージ領域を表す。そのイメージ領域の変
換は“η”を付して示す。なお、この領域指定のシステ
ムは下記の重なり合い有無判断については説明で詳細
に説明する。
[Description of Main Configuration of Internal Processing: See FIG. 1] A control code sequence of a signal obtained from a control code signal output terminal on the host computer side is indicated by a block 1. This control code string 1 is a signal before being converted by the printer control code conversion device of the present invention. The control code string 1 is input to the input code conversion unit 2. Here, the character information and the image information are determined from the input control code sequence 1, and the character information and the image information are further separated. The method of separating the character information and the image information will be described in detail below. Data of only image information from the input code conversion unit 2 is input to the image information conversion unit 4. Here, the control code sequence of the image information is converted into bit image information. The signal converted into the bit image information by the image information conversion unit 4 is developed in the page memory 6 under the condition as the bit image. Further, information on the position and area of the image determined by this development is output to the character information conversion unit 3. Note that conversion to bit image information is indicated by adding a symbol “ζ”. The image information developed in the page memory 6 represents one image area by four-point position information surrounding the image with a rectangular area. The conversion of the image area is indicated by adding “η”. In this area designation system, the following overlap determination will be described in detail in the description.

【0010】・ さて、文字情報変換部では上記入力コ
ード変換部2中で判別分離された文字情報が入力され、
さらに上記ページメモリ6で形成されたイメージの位置
情報が検索可能に接続されている。入力された文字情報
はページプリンタ9に内蔵されているフォント(フォン
トラスタライザを含む)を使用できるようにページプリ
ンタ用の制御コードが付加される。また、制御コードが
付加された状態は“δ”を付して示す。つぎに、文字情
報の中から文字とその印字する文字種類情報と文字サイ
ズ情報および文字位置情報により、各々の文字または文
字列の印字領域が算出され、この算出した結果とページ
メモリ6から得られるイメージの位置情報とが重なりあ
うか否かが判断される。この重なりあいの判断方法の詳
細については下記で説明する。そして、重なり合わな
いと判断された文字情報と、重なり合うもののイメージ
の下に文字が印字される文字情報はプリンタ制御コード
列形成部8へ入力される。一方、イメージの上へ文字が
重なり合うと判断された文字情報は重ね合わせ処理バッ
ファ5に一時記憶される。 ・ 一方、出力制御コード作成部7にはページメモリ6
で展開されたイメージ情報が入力され、このイメージ情
報と、重ね合わせ処理バッファ5で待機状態の文字情報
をプリンタ制御コード列形成部8へ下記の取り決めに基
づいて出力する順序が決定される。 ・・ イメージの上に文字が重なり、その結果イメージ
が文字で一部隠れる状態の印字情報においては、イメー
ジ情報を先、文字情報をその後に出力するように重ね合
わせ処理バッファ5から記憶していた上記文字情報が取
り出され、プリンタ制御コード列形成部8へ伝送され
る。 ・ プリンタ制御コード列形成部8においては、文字情
報変換部3でイメージ情報と重ならないと判断された文
字情報が入力されるとともに直ちにこの文字情報をペー
ジプリンタ9へ出力する。さらに、出力制御コード作成
部7から伝送されてきた信号は、下記のおよびの処
理を経て得られる信号であるため、上記文字情報より遅
延されて伝送される。この順序が正しければ、同様に直
ちに出力制御コード作成部7から伝送された信号もペー
ジプリンタ側へ出力する。なお、このプリンタ制御コー
ド列形成部8は2方向からの入力を合成しページプリン
タ9へ伝送する単純なコネクターとして構成し得る。
In the character information conversion unit, the character information discriminated and separated in the input code conversion unit 2 is input.
Further, the position information of the image formed in the page memory 6 is connected so as to be searchable. The input character information is added with a control code for the page printer so that a font (including a font rasterizer) built in the page printer 9 can be used. The state to which the control code is added is indicated by adding “δ”. Next, a print area of each character or character string is calculated from the character information, the character type information to be printed, the character size information, and the character position information, and the calculated result and the page memory 6 are obtained. It is determined whether or not the position information of the image overlaps. The details of the method of determining the overlap will be described below. Then, the character information determined to be non-overlapping and the character information in which characters are printed below the image of the overlapping part are input to the printer control code string forming unit 8. On the other hand, the character information determined to overlap the character on the image is temporarily stored in the overlay processing buffer 5. On the other hand, the output control code creation unit 7 has a page memory 6
The order in which the image information and the character information in a standby state in the overlay processing buffer 5 are output to the printer control code sequence forming unit 8 is determined based on the following rules. .. In the case of print information in which characters overlap the image and the image is partially hidden by the characters, the image information is stored from the overlay processing buffer 5 so that the image information is output first and the character information is output thereafter. The character information is extracted and transmitted to the printer control code string forming unit 8. In the printer control code string forming unit 8, the character information determined not to overlap the image information by the character information conversion unit 3 is input, and this character information is immediately output to the page printer 9. Further, since the signal transmitted from the output control code generation unit 7 is a signal obtained through the following processes, the signal is transmitted after being delayed from the character information. If the order is correct, the signal transmitted from the output control code generator 7 is also immediately output to the page printer. Note that the printer control code string forming unit 8 can be configured as a simple connector that combines inputs from two directions and transmits them to the page printer 9.

【0011】[…文字情報とイメージ情報の分離方法
について]分離方法の1例としては、全文字情報(半
角,全角,特殊文字,カタカナ,アルファベット,漢
字,ローマ字,その他)について記録されているフォン
ト中において、少なくともフォント名称情報とコード番
号情報を入力コード変換部2上に設け、入力コード変換
部2にホストコンピュータ側から入力されるイメージ情
報と文字情報とが混在するデータに対し、このフォント
名称情報およびコード番号情報内のデータと同一データ
が存在するか否かを逐次検索し、判断を行う。その結果
同一データが有る場合には文字情報変換部3へ伝送し、
同一データが無い場合にはイメージ情報変換部4へ伝送
するように構成する。
[... Separation method of character information and image information] As an example of the separation method, a font recorded for full-character information (half-width, full-width, special characters, katakana, alphabet, kanji, romaji, etc.) At least, font name information and code number information are provided on the input code conversion unit 2 and the font name information is input to the input code conversion unit 2 for data in which image information and character information input from the host computer are mixed. The data and the code number information are sequentially searched to determine whether the same data exists, and a determination is made. As a result, if there is the same data, it is transmitted to the character information conversion unit 3,
If there is no identical data, the data is transmitted to the image information converter 4.

【0012】[…重なり合い有無の判断の説明]文字
または文字列の印字領域と、イメージの印字領域とが重
なり合うか否かの判断方法について下記に説明する。重
なり合いを判断するためには、まず文字情報およびイメ
ージ情報の各々が印刷すべき同じ頁上のどの領域に印字
されるかを算出する必要がある。図2にその算出の一例
をあげる。例えば、“字”という漢字を印字する場合、
“字”とこれと対を成す位置情報が、ページメモリ上の
(X=A,Y=a)点で印字することが指示されていた
とする。さらに、種類情報と文字サイズ情報も与えられ
ている。例えば、標準的な明朝体の文字種類で、文字サ
イズが縦がH、横がWというサイズに指定されていた場
合、この“字”の印字される印字領域は、(A,a)と
(A,a+W)と(A−H,a)と(A−H,a+W)
の4点を結ぶ領域である。この印字領域の算出は文字情
報変換部3で算出が行われる。
[Explanation of Determining Whether Overlap exists] A method of determining whether the print area of the character or character string and the print area of the image overlap will be described below. In order to determine the overlap, it is necessary to first calculate in which area on the same page each of the character information and the image information is to be printed. FIG. 2 shows an example of the calculation. For example, to print the kanji character "
It is assumed that it has been instructed to print “character” and position information forming a pair with the character at (X = A, Y = a) points on the page memory. Further, type information and character size information are also provided. For example, if the character type is a standard Mincho font type and the character size is specified to be H in height and W in width, the print area in which the “character” is printed is (A, a). (A, a + W), (A-H, a) and (A-H, a + W)
Is an area connecting the four points. This printing area is calculated by the character information conversion unit 3.

【0013】一方、イメージ情報変換部4でもイメージ
情報と、サイズ情報との演算により上記と同様に印字領
域が演算される。そして、その結果はページメモリ6上
にビットイメージ情報として展開される。さて、両印字
領域が算出された時点で、重なり合いの有無が判断され
る。即ち、上記の文字情報の印字領域に対応する上記ペ
ージメモリ6上にビットイメージ情報を検索し、検索し
た領域にイメージデータが1つでもあれば“重なりが有
る”という判断が下される。ところで必要に応じてペー
ジメモリ6上のビットイメージの領域を基準に文字の印
字領域が対応するか否かで“重なり合いの有無”を判断
してもよい。
On the other hand, in the image information conversion section 4, the print area is calculated in the same manner as described above by calculating the image information and the size information. Then, the result is developed on the page memory 6 as bit image information. By the way, at the time when both print areas are calculated, it is determined whether or not there is an overlap. That is, bit image information is searched in the page memory 6 corresponding to the print area of the character information, and if there is at least one image data in the searched area, it is determined that there is an overlap. By the way, if necessary, “overlapping or non-overlapping” may be determined based on whether a character printing area corresponds to a bit image area on the page memory 6.

【0014】さらに、上記重なり合いがあったイメージ
情報と文字情報に対して、ホストコンピュータから出力
された時点での、上記重なり合いがあったイメージ情報
と文字情報の前後を調べ、文字情報の方イメージ情報よ
り早い時期に出力されていると判別された場合において
は、印字結果が文字の上にイメージが重なることが正し
い印字状態であるから、上記文字情報においては、イメ
ージ情報と文字情報が重ならない時と同じ処理、つまり
文字情報をプリンタ制御コード形成部8へ送るように処
理する。上記の逆の場合、つまりイメージ情報の方が文
字情報より早く出力されていた場合は、この文字情報は
重ね合わせバッファ5へ記憶される。
Further, the image information and the character information having the overlap are examined before and after the image information and the character information having the overlap at the time when they are outputted from the host computer. If it is determined that the image is output earlier, it is the correct printing state that the image is superimposed on the character in the print result. The same processing as described above, that is, processing for sending character information to the printer control code forming unit 8 is performed. In the opposite case, that is, when the image information is output earlier than the character information, the character information is stored in the superposition buffer 5.

【0015】[上記構成のプリンタ制御コード変換装置
の使用例]この実施例の具体的な使用例を印字例に基づ
いて具体的に説明する。印字例は、最終的に図1の左下
隅に示した状態になる制御コード信号であり、即ちこの
印字状態を言葉で下記に具体的に説明する。
[Use Example of the Printer Control Code Conversion Apparatus Having the Above Configuration] A specific use example of this embodiment will be specifically described based on a print example. The example of printing is a control code signal that finally reaches the state shown in the lower left corner of FIG. 1, that is, this printing state will be specifically described below in words.

【0016】標準の大きさの文字情報“X”が上左に、
標準の大きさの文字情報“Y”が略中央に、この“Y”
の下に正方形のイメージが“Y”に隠れるように下に印
字され、“Y”のすぐ下には標準の大きさの文字情報
“Z”が印字され、“Z”の右すぐ下には標準の大きさ
の文字情報“G”が印字され、この文字情報“G”の左
下側が隠れるように円形のイメージが“G”の上に重な
って印字されている。この印字例を説明するにあたっ
て、図1ではαは文字の種類情報を、βは文字サイズ情
報を、γは印字する位置情報を、δは入力コード変換部
2を、ζはイメージ印字情報のプリンタ制御コードから
ビットイメージ情報へ変換されたことを、εはページメ
モリ6から伝送されたイメージ情報に対し、プリンタ制
御コードを付してページプリンタ9で印字情報として適
合するように変換されたことを意味し、同様にδは入力
コード変換部2から伝送された文字情報に対し、プリン
タ制御コードを付してページプリンタ9で印字情報とし
て適合するように変換されたことを意味する。
The character information “X” having a standard size is displayed on the upper left,
The character information “Y” having a standard size is substantially at the center, and the “Y”
A square image is printed below the "Y" so that it is hidden by "Y". Character information "Z" of standard size is printed immediately below the "Y". Character information "G" having a standard size is printed, and a circular image is printed so as to overlap the "G" so that the lower left side of the character information "G" is hidden. In describing this printing example, in FIG. 1, α is character type information, β is character size information, γ is printing position information, δ is an input code conversion unit 2, and Δ is image printing information printer. Ε indicates that the image information transmitted from the page memory 6 has been converted to be compatible with the image information transmitted from the page memory 6 by adding a printer control code to the page printer 9 as print information. Similarly, δ means that the character information transmitted from the input code conversion unit 2 has been converted to be suitable as print information by the page printer 9 by adding a printer control code.

【0017】ソフトウエアー上で、例えば国内で高シェ
アーのプリンタ、日本電気株式会社製のPC−PR20
1(商品名)形式で出力を指定することにより、制御コ
ード列からの出力は下記のようになる。なお、各々の制
御コードの積は互いに関連ある文字同士を表し、プラス
で結合された情報は単に積で結合された情報群に引き続
き情報群が伝送されている様子を表している。さらに、
説明を簡明にするため、制御コード列1から入力コード
変換部2へ伝送される情報については、“1→2=”と
表す。
On the software, for example, a printer with a high share in Japan, PC-PR20 manufactured by NEC Corporation
By specifying the output in the 1 (product name) format, the output from the control code sequence is as follows. It should be noted that the product of the respective control codes represents characters that are related to each other, and the information combined with a plus indicates that the information group is simply transmitted following the information group combined with the product. further,
For the sake of simplicity, information transmitted from the control code sequence 1 to the input code conversion unit 2 is represented as “1 → 2 =”.

【0018】最初の制御コード列は、下記のように表わ
される。 1→2=αβγX+γ□+αβγY+αβγZ+αβγ
G+γ○ 入力コード変換部2により文字情報とイメージ情報が分
離される。その結果、下記のように表わされる。 2→3=αβγX+αβγY+αβγZ+αβγG 2→4=γ□+γ○ 文字情報変換部3でページプリンタでページプリンタに
内蔵されているフォント(フォントラスタライザを含
む)を使用できるようにする制御コードを付加してい
る。さらに、で説明したようにイメージと重ね合わせ
の有無を判断し、分離される。その結果、下記のように
表わされる。 3→8=(αβγX)δ+(αβγZ)δ+(αβγ
G)δ 3→5=(αβγY)δ イメージ情報変換部4ではページメモリ上6で展開でき
るようにビットイメージへ変換をしている。その結果、
下記のように表わされる。 4→6=(γ□)ζ+(γ○)ζ 重ね合わせ処理バッファ5では、出力制御コード作成部
7の指示を待って情報を一時記憶するだけであるから、
そのコード自体に変化はない。従って、下記のように表
わされる。 5→7=3→5=(αβγY)δ ページメモリ6で展開終了したビットイメージデータに
ついてはその位置またはイメージ領域情報だけが文字情
報変換部へ伝送されている。また、ここで展開されたイ
メージ情報はそのまま出力制御コード制作部7へ伝送さ
れる。その結果、下記のように表わされる。 6→3=(γ□)ζη+(γ○)ζη 6→7=4→6=(γ□)ζ+(γ○)ζ 出力制御コード作成部7では入力された互いに重なり合
う関係の文字およびイメージ情報の順序は、単純にイメ
ージ情報が先で、文字情報を後に送るようにする。その
結果、下記のように表わされる。 7→8=(γ□)ζε+(γ○)ζε+(αβγY)δ プリンタ制御コード列形成部8にて、文字情報変換部3
と出力制御コード作成部7から出力されたプリンタ制御
コード列が合流し、逐次ページプリンタ9に入力され
る。なお、出力制御コード作成部7からプリンタ制御コ
ード列形成部8へ伝送される情報7→8、文字情報変換
部3からプリンタ制御コード列形成部8へ伝送される情
報3→8のタイミングは入力制御コード変換部2で得ら
れた同期信号により制御され、その結果、3→8次に7
→8の順序で合成される。その合成された結果、最終的
にプリンタで受け取られた情報は、下記のように表され
る。 8→9=(αβγX)δ+(αβγZ)δ+(αβγ
G)δ+(γ□)ζε+(γ○)ζε+(αβγY)δ
The first control code sequence is represented as follows. 1 → 2 = αβγX + γ □ + αβγY + αβγZ + αβγ
G + γ ○ The input code converter 2 separates character information and image information. As a result, it is expressed as follows. 2 → 3 = αβγX + αβγY + αβγZ + αβγG 2 → 4 = γ □ + γ ○ The character information conversion unit 3 adds a control code that enables the page printer to use a font (including a font rasterizer) built into the page printer. Further, as described above, the presence or absence of superimposition with the image is determined and separated. As a result, it is expressed as follows. 3 → 8 = (αβγX) δ + (αβγZ) δ + (αβγ
G) δ3 → 5 = (αβγY) δ The image information conversion unit 4 converts the image into a bit image so that it can be developed on the page memory 6. as a result,
It is expressed as follows. 4 → 6 = (γ □) ζ + (γ ○) ζ Since the overlay processing buffer 5 only temporarily stores information waiting for an instruction from the output control code creation unit 7,
The code itself has not changed. Therefore, it is expressed as follows. 5 → 7 = 3 → 5 = (αβγY) δ With respect to the bit image data developed in the page memory 6, only the position or image area information is transmitted to the character information conversion unit. The image information developed here is transmitted to the output control code producing unit 7 as it is. As a result, it is expressed as follows. 6 → 3 = (γ □) ζη + (γ ○) ζη 6 → 7 = 4 → 6 = (γ □) ζ + (γ ○) ζ The output control code creation unit 7 receives the input character and image information that overlap with each other. The order is simply that image information is first and character information is sent later. As a result, it is expressed as follows. 7 → 8 = (γ □) ζε + (γ ○) ζε + (αβγY) δ In the printer control code sequence forming unit 8, the character information converting unit 3
And the printer control code string output from the output control code creation unit 7 are merged and sequentially input to the page printer 9. Note that the timing of information 7 → 8 transmitted from the output control code generator 7 to the printer control code string generator 8 and the timing of information 3 → 8 transmitted from the character information converter 3 to the printer control code string generator 8 are input. It is controlled by the synchronization signal obtained by the control code conversion unit 2, and as a result, 3 → 8, then 7
→ Combined in the order of 8. As a result of the synthesis, the information finally received by the printer is represented as follows. 8 → 9 = (αβγX) δ + (αβγZ) δ + (αβγ
G) δ + (γ □) ζε + (γ ○) ζε + (αβγY) δ

【0019】なお、制御コード列で表した文字情報
(X,Y,Z)は、1文字づつとして扱ってきたが、場
合によりXを“エックス”に、Yを“ワイ”に、Zを
“ゼット”へ複数の文字列として扱うことも可能であ
る。この場合、先頭文字である例えば“エ”に対して制
御情報αβγが与えられ“ックス”は前の制御情報を受
け継ぐようにすることができる。そして、次の制御情報
を持った異なるグループの先頭文字、例えば“ワイ”の
“ワ”が来た時点で新たな制御情報で文字列の種類、サ
イズそして位置が再決定されるように構成することもで
きる。
The character information (X, Y, Z) represented by the control code sequence has been treated as one character at a time. However, in some cases, X is "X", Y is "Y", and Z is "Y". It is also possible to treat it as multiple character strings in "Zet". In this case, control information αβγ is given to the first character, for example, “D”, and “X” can inherit the previous control information. Then, when the first character of a different group having the next control information, for example, "W" of "Wai" comes, the type, size and position of the character string are determined again by the new control information. You can also.

【0020】[0020]

【発明の効果】以上説明してきたように、本発明による
プリンタ制御コード変換装置では、以上のような構成か
らなるので、例えばポストスクリプト(アドビシステム
ズ社の提唱するページ記述言語の商品名)に非対応であ
るページプリンタ、つまりページ記述言語が統一されて
いないページプリンタいおいても下記に示す正しい印字
できるように、ホストコンピュータから出力された制御
コード列をコード変換することがでる。
As described above, the printer control code conversion device according to the present invention has the above-described configuration. For example, the printer control code conversion device does not include a postscript (a product name of a page description language proposed by Adobe Systems). Even in a compatible page printer, that is, a page printer in which the page description language is not unified, the control code string output from the host computer can be code-converted so that the following correct printing can be performed.

【0021】・ ページメモリを使用してるのでイメー
ジ情報を正確に印字できる。 ・ 文字とイメージの前後の印字間違いがない。 ・ ページメモリへのイメージの展開を本発明のプリン
タ制御コード変換装置で行い、さらに文字情報のフォン
トの展開をページプリンタ上で行うように構成している
ので、ホストコンピュータ上の処理が不要となり、ホス
トコンピュータを印刷時に早く開放することができる。 ・ 高価なフォントをこのプリンタ制御コード変換装置
上およびホストコンピュータ上に持たずに処理すること
を可能としたので、変換装置全体のコストならびに、小
型化に対して有利となる。
Since the page memory is used, image information can be printed accurately.・ There are no printing errors before and after characters and images. -Since the image is developed in the page memory by the printer control code conversion device of the present invention and the font of character information is developed on the page printer, the processing on the host computer becomes unnecessary. The host computer can be opened quickly when printing. -It is possible to process expensive fonts without having them on the printer control code converter and the host computer, which is advantageous for the cost and size of the entire converter.

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

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

【図2】 従来技術を示すブロック図。FIG. 2 is a block diagram showing a conventional technique.

【図3】 印字領域の算出例を示す説明図。FIG. 3 is an explanatory diagram showing an example of calculating a print area.

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

1…制御コード列 2…入力コード変換部
3…文字情報変換部 4…イメージ情報変換部 5…バッファ(重ね合わせ
処理バッファ) 6…ページメモリ 7…出力制御ード作成部 8…プリンタ制御コード列形成部 9…ページプリンタ
1: Control code sequence 2: Input code conversion unit
3 Character information converter 4 Image information converter 5 Buffer (overlapping processing buffer) 6 Page memory 7 Output control card generator 8 Printer control code string generator 9 Page printer

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 3/12 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 3/12

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 印刷のためのプリンタ制御コード信号を
入力し、ページプリンタのプリンタ制御コード信号入力
端子へ接続し、プリンタ制御コードを変換する装置にお
いて、 a 入力されたプリンタ制御コード信号を文字情報とイ
メージ情報とに分離する入力制御コード変換部(2) と、 b プリンタ制御コード信号内の文字情報と、文字種類
情報と、文字サイズ情報と、文字位置情報とから個々の
文字の印字領域を算出し、一方プリンタ制御コード信号
内の各々のイメージ情報と、イメージ位置情報とからイ
メージの印字領域を算出し、上記文字の印字領域とイメ
ージの印字領域とが重なるか否かの重ね合わせを判断す
る文字情報変換部(3) と、 c 上記文字情報変換部(3) で上記文字の印字領域とイ
メージの印字領域とが重なると判断されたときの文字情
報と、文字種類情報と、文字サイズ情報と、文字位置情
報とを取り出して記憶するバッファ(5) とから成り、 上記文字情報変換部(3) がバッファ(5) に記憶された文
字情報以外のプリンタ制御コード信号内の文字情報、文
字種類情報、文字サイズ情報および文字位置情報、並び
にイメージ情報およびイメージ位置情報をプリンタ側へ
出力し、その操作後上記バッファ(5) が、その記憶した
情報をプリンタ側へ出力するように構成したことを特徴
とするプリンタ制御コード変換装置。
1. An apparatus for inputting a printer control code signal for printing, connecting to a printer control code signal input terminal of a page printer, and converting the printer control code, comprising: a. An input control code converter (2) that separates the character information into image information and b) character information in the printer control code signal, character type information, character size information, and character position information. On the other hand, the image print area is calculated from each image information in the printer control code signal and the image position information, and it is determined whether the character print area and the image print area overlap each other. C) when the character information conversion unit (3) determines that the character print area and the image print area overlap with each other. A buffer (5) for extracting and storing character information, character type information, character size information, and character position information, wherein the character information conversion unit (3) stores the character information stored in the buffer (5). The character information, character type information, character size information and character position information, and image information and image position information in the printer control code signal other than the above are output to the printer side.After the operation, the buffer (5) stores the stored information. A printer control code conversion device characterized in that information is output to a printer side.
JP19485492A 1992-06-29 1992-06-29 Printer control code converter Expired - Fee Related JP3150430B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19485492A JP3150430B2 (en) 1992-06-29 1992-06-29 Printer control code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19485492A JP3150430B2 (en) 1992-06-29 1992-06-29 Printer control code converter

Publications (2)

Publication Number Publication Date
JPH0619649A JPH0619649A (en) 1994-01-28
JP3150430B2 true JP3150430B2 (en) 2001-03-26

Family

ID=16331391

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19485492A Expired - Fee Related JP3150430B2 (en) 1992-06-29 1992-06-29 Printer control code converter

Country Status (1)

Country Link
JP (1) JP3150430B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101917896B1 (en) * 2010-10-05 2018-11-12 디아그노스티카 스타고 Reaction vessel for an automatic chemical or biological analysis device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4250408B2 (en) 2002-11-29 2009-04-08 キヤノン株式会社 Image supply device, recording apparatus, recording system, and control method therefor
JP2005088572A (en) 2003-08-08 2005-04-07 Canon Inc Recording device, image supplying device, recording system and its controlling method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101917896B1 (en) * 2010-10-05 2018-11-12 디아그노스티카 스타고 Reaction vessel for an automatic chemical or biological analysis device

Also Published As

Publication number Publication date
JPH0619649A (en) 1994-01-28

Similar Documents

Publication Publication Date Title
EP0475734B1 (en) Document processing apparatus
US5606649A (en) Method of encoding a document with text characters, and method of sending a document with text characters from a transmitting computer system to a receiving computer system
KR100306862B1 (en) Character pattern generator, character generating method, and storage medium therefor
JP3150430B2 (en) Printer control code converter
US5878194A (en) Method and device for outputting multicolor document
JPH11203072A (en) Picture processor
JP2854344B2 (en) How to display mixed mode documents
JPH0744687A (en) Picture forming device
JPH0944690A (en) Image processor
JP2002318680A (en) Image processor and image processing method
JPH0346020A (en) Document processing system
JP4080470B2 (en) Character pattern generator
JPS61177068A (en) Sentence processor capable of printing contractedly
JP3220437B2 (en) Output control device and method
JPH10208020A (en) Image processor
JP2001260452A (en) Image data producing device, image outputting device, image output controlling device, image outputting system, image data producing method, and recording medium
JPS63165919A (en) Japanese word line printer
JPH03293395A (en) Character display method
JPS62251884A (en) Recorder
JPH1110961A (en) Print processor and printing method
JPS637963A (en) Printing apparatus
JPH0981672A (en) Document reader
JPS63250735A (en) Image output device
JPS62202748A (en) Document processor
JPH02150376A (en) Page printer

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090119

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees