JPH10161821A - Print control device and method therefor, and storage medium storing computer readable program - Google Patents

Print control device and method therefor, and storage medium storing computer readable program

Info

Publication number
JPH10161821A
JPH10161821A JP8317222A JP31722296A JPH10161821A JP H10161821 A JPH10161821 A JP H10161821A JP 8317222 A JP8317222 A JP 8317222A JP 31722296 A JP31722296 A JP 31722296A JP H10161821 A JPH10161821 A JP H10161821A
Authority
JP
Japan
Prior art keywords
information
conversion
print
control command
printer control
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
JP8317222A
Other languages
Japanese (ja)
Inventor
Takuma Mikawa
拓馬 三河
Seiji Sasaki
誠司 佐々木
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP8317222A priority Critical patent/JPH10161821A/en
Publication of JPH10161821A publication Critical patent/JPH10161821A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To normally share and analyze the print information subject to the printer control command systems of different types which are inputted from an external device regardless of the difference of the printer control command systems. SOLUTION: A CPU 12 acquires the 2nd conversion information from a host computer 3000 to share and analyze the print information subject to a 2nd printer control command system as a command of a 1st printer control command system based on the state of a conversion resource candidate that is designated by a DIP switch. Then the CPU 12 recomposes a dispatcher table prepared for the print information into the 2nd conversion information from the 1st conversion information based on the designated conversion resource candidate.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理装置から
入力される印刷情報を解析して展開処理された印刷デー
タに基づいて記録媒体に印刷を行う印刷部を制御する印
刷制御装置および印刷制御方法およびコンピュータが読
み出し可能なプログラムを格納した記憶媒体に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control apparatus and a print control apparatus for controlling a printing unit for printing on a recording medium based on print data expanded by analyzing print information input from an information processing apparatus. The present invention relates to a method and a storage medium storing a computer-readable program.

【0002】[0002]

【従来の技術】従来、シリアルプリンタ等の印刷装置
は、プリンタ制御コマンド体系に規定されたプリンタコ
マンドシーケンスを回線インタフェースから入力し、個
々のコマンドに応じてプリンタ制御コマンド体系に定め
られた動作を逐次実行することで、ユーザ(アプリケー
ション)が要求した印刷ジョブを実現する。なお、プリ
ンタ制御コマンド体系とは、プリンタを使用する時に不
可欠なプリンタのための言語である。これは、00H〜
1FHと7FHを使用したコマンドによって制御され
る。コマンドには1バイトのものと、ESC(1BH)
などに続くシーケンスとして表される2バイト以上のも
のとがある。
2. Description of the Related Art Conventionally, a printing apparatus such as a serial printer inputs a printer command sequence specified in a printer control command system from a line interface, and sequentially performs an operation specified in the printer control command system in accordance with each command. By executing, the print job requested by the user (application) is realized. Note that the printer control command system is a language for a printer that is indispensable when using the printer. This is 00H ~
Controlled by commands using 1FH and 7FH. One byte command and ESC (1BH)
Etc., there are two or more bytes represented as a sequence.

【0003】プリンタは回線インタフェースから、文字
コードCCとコマンドCDからなる、例えば図21に示
すような印字データPDを受け取り、コマンドCDに応
じた処理を行うことによって印字するイメージデータを
作成する。コマンドCDには、強調やアンダーラインな
どの文字修飾コマンドCMC、タブ位置設定や改行量設
定などのレイアウト設定コマンドLSC、ラインフィー
ドや改ページなどの印字制御コマンドPCCなどがあ
る。
[0003] The printer receives print data PD, for example, as shown in FIG. 21 composed of a character code CC and a command CD from the line interface, and performs processing according to the command CD to create image data to be printed. The command CD includes a character modification command CMC such as emphasis and underline, a layout setting command LSC such as tab position setting and line feed setting, and a print control command PCC such as line feed and page break.

【0004】ここで、上記コマンド解釈および対応する
動作は、プリンタ内のROMに格納されたファームウエ
アによって行われる。
[0004] Here, the command interpretation and the corresponding operation are performed by firmware stored in a ROM in the printer.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、印刷装
置の制御コマンド体系は、プリンタメーカごと、または
プリンタシリーズ製品ごとに定義されているため、アプ
リケーションが求めるプリンタ制御コマンド体系をサポ
ートしないプリンタは、そのアプリケーションに対して
は利用できない。
However, since the control command system of the printing apparatus is defined for each printer maker or each printer series product, a printer which does not support the printer control command system required by the application is required for the application. Not available for.

【0006】また、利用可能なアプリケーション数を増
やす目的でプリンタに複数のプリンタ制御コマンド体系
をサポートする場合、プリンタ内のROMサイズが増大
する。
Further, when a printer supports a plurality of printer control command systems for the purpose of increasing the number of available applications, the ROM size in the printer increases.

【0007】さらに、プリンタ制御コマンド体系の変
更,機能拡張に対応することが困難となるといった問題
点があった。
Further, there is a problem that it is difficult to cope with a change in the printer control command system and expansion of functions.

【0008】本発明は、上記の問題点を解消するために
なされたもので、本発明に係る第1の発明〜第4の発明
の目的は、種別の異なるプリンタ制御コマンド体系に従
う印刷情報をプリンタ側に装備される1つのプリンタ制
御体系に従う情報に変換する変換資源を外部装置から取
得して入力される印刷情報を共有解析処理することによ
り、プリンタ制御コマンド体系の違いに左右されること
なく、外部装置から入力される種別の異なるプリンタ制
御コマンド体系に従う印刷情報を正常に共有解析処理す
ることができる印刷制御装置および印刷制御方法および
コンピュータが読み出し可能なプログラムを格納した記
憶媒体を提供することである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and it is an object of the first to fourth inventions according to the present invention to provide a method of printing print information in accordance with different types of printer control command systems. By obtaining a conversion resource for converting information according to one printer control system provided on the side from an external device and performing shared analysis processing of print information input, without being affected by differences in the printer control command system, By providing a print control device and a print control method capable of normally performing shared analysis processing of print information according to different types of printer control command systems input from an external device, and a storage medium storing a computer-readable program. is there.

【0009】[0009]

【課題を解決するための手段】本発明に係る第1の発明
は、所定の通信媒体を介して外部装置から入力される印
刷情報を解析して印刷部を制御する印刷制御装置であっ
て、前記印刷情報を第1のプリンタ制御コマンド体系に
基づいて解析して印刷データに変換する第1の変換情報
を記憶する第1の記憶手段と、選択すべき前記変換資源
候補を内部または外部に指定する指定手段と、前記指定
手段による前記変換資源候補の指定状態に基づいて第2
のプリンタ制御コマンド体系に従う印刷情報を前記第1
のプリンタ制御コマンド体系のコマンドとして共有解析
可能とするための第2の変換情報を前記外部装置から取
得する取得手段と、前記指定手段により指定された前記
変換資源候補に基づいて前記印刷情報に対する変換資源
を前記第1の変換情報または前記第2の変換情報に組み
替える制御手段とを有するものである。
According to a first aspect of the present invention, there is provided a print control apparatus for analyzing print information input from an external device via a predetermined communication medium and controlling a print unit, First storage means for storing first conversion information for converting the print information into print data by analyzing the print information based on a first printer control command system, and designating the conversion resource candidate to be selected to be internal or external On the basis of the designation state of the conversion resource candidate by the designation unit.
Print information according to the printer control command system of
Acquiring means for acquiring, from the external device, second conversion information for enabling shared analysis as a command of the printer control command system, and converting the print information based on the conversion resource candidate specified by the specifying means. Control means for recombining resources into the first conversion information or the second conversion information.

【0010】本発明に係る第2の発明は、所定の通信媒
体を介して外部装置から入力される印刷情報を解析して
印刷部を制御する印刷制御装置であって、前記印刷情報
を第1のプリンタ制御コマンド体系に基づいて解析して
印刷データに変換する第1の変換情報を記憶する第1の
記憶手段と、前記外部装置による前記変換資源候補の指
定状態に基づいて第2のプリンタ制御コマンド体系に従
う印刷情報を前記第1のプリンタ制御コマンド体系のコ
マンドとして共有解析可能とするための第2の変換情報
を前記外部装置から取得する取得手段と、前記指定手段
により指定された前記変換資源候補に基づいて前記印刷
情報に対する変換資源を前記第1の変換情報または前記
第2の変換情報に組み替える制御手段とを有するもので
ある。
According to a second aspect of the present invention, there is provided a print control apparatus for analyzing print information input from an external device via a predetermined communication medium to control a printing unit, wherein the print information is stored in the first control unit. First storage means for storing first conversion information to be analyzed based on the printer control command system and converted into print data, and second printer control based on the designation of the conversion resource candidate by the external device. Acquiring means for acquiring, from the external device, second conversion information for enabling print information according to a command system to be shared and analyzed as a command of the first printer control command system; and the conversion resource specified by the specifying unit And control means for converting a conversion resource for the print information into the first conversion information or the second conversion information based on the candidate.

【0011】本発明に係る第3の発明は、所定の通信媒
体を介して外部装置から入力される印刷情報を解析して
印刷部を制御する印刷制御方法であって、選択すべき前
記変換資源候補の指定状態を判定する判定工程と、該判
定結果に基づいて第2のプリンタ制御コマンド体系に従
う印刷情報を前記第1のプリンタ制御コマンド体系のコ
マンドとして共有解析可能とするための第2の変換情報
を前記外部装置から取得する取得工程と、前記指定され
た前記変換資源候補に基づいて前記印刷情報に対する変
換資源を前記第1の変換情報または前記第2の変換情報
に組み替える組み替え工程とを有するものである。
A third invention according to the present invention is a print control method for controlling a printing unit by analyzing print information input from an external device via a predetermined communication medium, wherein the conversion resource to be selected is selected. A determining step of determining a candidate designation state; and a second conversion for enabling print information according to a second printer control command system to be shared and analyzed as a command of the first printer control command system based on the determination result. An acquisition step of acquiring information from the external device; and a reordering step of reordering conversion resources for the print information into the first conversion information or the second conversion information based on the specified conversion resource candidates. Things.

【0012】本発明に係る第4の発明は、所定の通信媒
体を介して外部装置から入力される印刷情報を解析して
印刷部を制御するコンピュータが読み出し可能なプログ
ラムを格納した記憶媒体であって、選択すべき前記変換
資源候補の指定状態を判定する判定工程と、該判定結果
に基づいて第2のプリンタ制御コマンド体系に従う印刷
情報を前記第1のプリンタ制御コマンド体系のコマンド
として共有解析可能とするための第2の変換情報を前記
外部装置から取得する取得工程と、前記指定された前記
変換資源候補に基づいて前記印刷情報に対する変換資源
を前記第1の変換情報または前記第2の変換情報に組み
替える組み替え工程とを含む、コンピュータが読むこと
ができるプログラムを記憶媒体を格納したものである。
A fourth invention according to the present invention is a storage medium storing a computer readable program for controlling a printing unit by analyzing print information input from an external device via a predetermined communication medium. A determination step of determining a designation state of the conversion resource candidate to be selected; and, based on the determination result, print information according to a second printer control command system can be shared and analyzed as a command of the first printer control command system. Acquiring the second conversion information from the external device to convert the conversion resource for the print information into the first conversion information or the second conversion information based on the specified conversion resource candidate. And a storage medium for storing a computer-readable program including a rearrangement step of rearranging the information.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施形態を詳細に
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail.

【0014】〔第1実施形態〕図1は、本発明の第1実
施形態を示す印刷制御装置を適用可能な印刷システムの
構成を説明するブロック図である。なお、本発明の機能
が実行されるのであれば、単体の機器であっても、複数
の機器からなるシステムであっても、LAN等のネット
ワークを介して処理が行われるシステムであっても本発
明を適用できることは言うまでもない。
[First Embodiment] FIG. 1 is a block diagram illustrating the configuration of a printing system to which a print control apparatus according to a first embodiment of the present invention can be applied. Note that, as long as the functions of the present invention are executed, the present invention is applicable to a single device, a system including a plurality of devices, and a system in which processing is performed via a network such as a LAN. It goes without saying that the invention can be applied.

【0015】図において、3000はホストコンピュー
タで、ROM3のプログラム用ROMに記憶された文書
処理プログラム等に基づいて図形,イメージ,文字,表
(表計算等を含む)等が混在した文書処理を実行するC
PU1を備え、システムバス4に接続される各デバイス
をCPU1を備える制御ユニット2000が総括的に制
御する。
Referring to FIG. 1, reference numeral 3000 denotes a host computer which executes document processing in which graphics, images, characters, tables (including spreadsheets, etc.) are mixed based on a document processing program or the like stored in a program ROM of a ROM 3. C
A control unit 2000 including the PU 1 and including the CPU 1 controls each device connected to the system bus 4 as a whole.

【0016】また、このROM3のプログラム用ROM
(プログラムROM)には、後述する図14〜図18に
示すフローチャートの手順に対応するCPU1が実行す
る制御プログラム等を記憶し、ROM3のフォント用R
OM(フォントROM)には上記文書処理の際に使用す
るフォントデータ等を記憶し、ROM3のデータ用RO
M(データROM)は上記文書処理等を行う際に使用す
る各種データ(例えば、印刷情報初期値,エラーメッセ
ージ等)を記憶している。
The program ROM of the ROM 3
The (program ROM) stores a control program and the like executed by the CPU 1 corresponding to the procedures of flowcharts shown in FIGS.
An OM (font ROM) stores font data and the like used in the above document processing, and stores a data RO in the ROM 3.
M (data ROM) stores various data (for example, print information initial values, error messages, etc.) used when performing the above-described document processing and the like.

【0017】2はRAMで、拡張可能なDRAMで構成
され、CPU1の主メモリ,ワークエリア等として機能
する。5はキーボードコントローラ(KBC)で、キー
ボード(KB)9や図示しないポインティングデバイス
からのキー入力を制御する。6はCRTコントローラ
(CRTC)で、CRTディスプレイ(CRT)10の
表示を制御する。7はメモリコントローラ(MC)で、
ブートプログラム,種々のアプリケーション,フォント
データ,ユーザファイル,編集ファイル等を記憶するハ
ードディスク(HD),フロッピーディスク(FD)等
の外部メモリ11とのアクセスを制御する。
Reference numeral 2 denotes a RAM, which is composed of an expandable DRAM and functions as a main memory, a work area, and the like of the CPU 1. Reference numeral 5 denotes a keyboard controller (KBC) for controlling key input from a keyboard (KB) 9 or a pointing device (not shown). Reference numeral 6 denotes a CRT controller (CRTC) which controls display on a CRT display (CRT) 10. 7 is a memory controller (MC)
It controls access to an external memory 11 such as a hard disk (HD) or a floppy disk (FD) that stores a boot program, various applications, font data, user files, edited files, and the like.

【0018】8はプリンタコントローラ(PRTC)
で、所定の双方向性インタフェース(インタフェース)
21を介してプリンタ1000に接続されて、プリンタ
1000との通信制御処理を実行する。なお、CPU1
は、例えばRAM2上に設定された表示情報RAMへの
アウトラインフォントの展開(ラスタライズ)処理を実
行し、CRT10上でのWYSISWYGを可能として
いる。また、CPU1は、CRT10上の図示しないマ
ウスカーソル等で指示されたコマンドに基づいて登録さ
れた種々のウインドウを開き、種々のデータ処理を実行
する。
Reference numeral 8 denotes a printer controller (PRTC)
A predetermined bidirectional interface (interface)
The communication device 21 is connected to the printer 1000 via the printer 21 and executes communication control processing with the printer 1000. Note that the CPU 1
Executes, for example, a process of rasterizing an outline font to a display information RAM set on the RAM 2 to enable WYSISWYG on the CRT 10. Further, the CPU 1 opens various registered windows based on commands specified by a mouse cursor or the like (not shown) on the CRT 10 and executes various data processing.

【0019】プリンタ1000において、12はプリン
タCPU(CPU)で、ROM13のプログラム用RO
M(プログラムROM)に記憶された制御プログラム等
或は外部メモリ14に記憶された制御プログラム等に基
づいてシステムバス15に接続された各種のデバイスと
のアクセスを総括的に制御し、印刷部インタフェース1
6を介して接続される印刷部(プリンタエンジン)17
に出力情報としての画像信号を出力する。また、このR
OMのプログラム用ROM(プログラムROM)には、
後述する図14に示すフローチャートの手順に従ってC
PU12が実行する制御プログラム等を記憶している。
さらに、ROM13のフォント用ROM(フォントRO
M)には上記出力情報を生成する際に使用するフォント
データ等を記憶し、ROM13のデータ用ROM(デー
タROM)にはハードディスク等の外部メモリ14が無
いプリンタの場合には、ホストコンピュータ3000上
で利用される情報等を記憶している。
In the printer 1000, reference numeral 12 denotes a printer CPU (CPU), and a program
M (program ROM) or a control program stored in the external memory 14 to control access to various devices connected to the system bus 15 in a comprehensive manner. 1
Printing unit (printer engine) 17 connected via
To output an image signal as output information. Also, this R
The OM program ROM (program ROM)
According to the procedure of the flowchart shown in FIG.
The control program executed by the PU 12 is stored.
Further, a font ROM of the ROM 13 (font RO
M) stores font data and the like used when the output information is generated. In the case of a printer having no external memory 14 such as a hard disk in a data ROM (data ROM) of the ROM 13, the host computer 3000 is used. And the like used in.

【0020】CPU12は入力部18を介してホストコ
ンピュータ3000との通信処理が可能となっており、
プリンタ1000内の情報等をホストコンピュータ30
00に通知可能に構成されている。19はRAMで、C
PU12の主メモリ,ワークエリア等として機能し、図
示しない増設ポートに接続されるオプションRAMによ
りメモリ容量を拡張することができるように構成されて
いる。なお、RAM19は、出力情報展開領域,環境デ
ータ格納領域,NVRAM等に用いられる。前述したハ
ードディスク(HD),ICカード等の外部メモリ14
は、メモリコントローラ(MC)20によりアクセスが
制御される。外部メモリ14は、オプションとして接続
され、フォントデータ,エミュレーションプログラム,
フォームデータ等を記憶する。
The CPU 12 is capable of communicating with the host computer 3000 via the input unit 18.
The information and the like in the printer 1000 are stored in
00 is configured to be notified. 19 is a RAM, C
It functions as a main memory, a work area, and the like of the PU 12, and is configured so that the memory capacity can be expanded by an optional RAM connected to an additional port (not shown). The RAM 19 is used for an output information development area, an environment data storage area, an NVRAM, and the like. The external memory 14 such as a hard disk (HD) and an IC card described above.
The access to is controlled by the memory controller (MC) 20. The external memory 14 is connected as an option, and stores font data, an emulation program,
Stores form data and the like.

【0021】また、前述した外部メモリは1個に限ら
ず、少なくとも1個以上備え、内蔵フォントに加えてオ
プションカード,言語系の異なるプリンタ制御言語を解
釈するプログラムを格納した外部メモリを複数接続でき
るように構成されていてもよい。さらに、図示しないN
VRAMを有し、操作パネル(操作部)1012からの
プリンタモード設定情報を記憶するようにしてもよい。
The above-mentioned external memory is not limited to one, and at least one or more external memories can be connected, in which, in addition to built-in fonts, an option card and a program for interpreting a printer control language of a different language are stored. It may be configured as follows. Further, N (not shown)
It may have a VRAM and store printer mode setting information from an operation panel (operation unit) 1012.

【0022】以下、本実施形態と第1,第2の発明の各
手段との対応及びその作用について図1等を参照して説
明する。
Hereinafter, the correspondence between this embodiment and each means of the first and second inventions and the operation thereof will be described with reference to FIG.

【0023】第1の発明は、所定の通信媒体(I/F2
1,ネットワーク)を介して外部装置から入力される印
刷情報を解析して印刷部17を制御する印刷制御装置
(プリンタ制御ユニット1001)であって、前記印刷
情報を第1のプリンタ制御コマンド体系に基づいて解析
して印刷データに変換する第1の変換情報を記憶する第
1の記憶手段(ROM13または外部メモリ14)と、
選択すべき前記変換資源候補を内部または外部に指定す
る指定手段(操作部1012または図示しないディップ
スイッチ等)と、前記指定手段による前記変換資源候補
の指定状態に基づいて第2のプリンタ制御コマンド体系
に従う印刷情報を前記第1のプリンタ制御コマンド体系
のコマンドとして共有解析可能とするための第2の変換
情報を前記外部装置(ホストコンピュータ3000)か
ら取得する取得手段(CPU12がROM13に記憶さ
れる制御プログラムを実行して取得処理する)と、前記
指定手段により指定された前記変換資源候補に基づいて
前記印刷情報に対する変換資源を前記第1の変換情報ま
たは前記第2の変換情報に組み替える制御手段(CPU
12がROM13に記憶される制御プログラムを実行し
て組み替え制御する)とを有し、ディップスイッチによ
る前記変換資源候補の指定状態に基づいてCPU12が
第2のプリンタ制御コマンド体系に従う印刷情報を前記
第1のプリンタ制御コマンド体系のコマンドとして共有
解析可能とするための第2の変換情報をホストコンピュ
ータ3000から取得し、CPU12が指定された前記
変換資源候補に基づいて印刷情報に対する変換資源(デ
ィスパッチャテーブル)を第1の変換情報または前記第
2の変換情報に組み替えるので、簡単な変換資源の指定
指示を行うだけで、外部装置から取得する変換情報に基
づいて第2のプリンタ制御コマンド体系の仕様が異なる
印刷情報を受信しても、第1のプリンタ制御コマンド体
系に従う印刷データに変換処理することができ、いかな
る種類のプリンタ制御コマンド体系に従う印刷情報も正
常に解析して印刷処理することができる。
According to a first aspect of the present invention, a predetermined communication medium (I / F2
1, a print control device (printer control unit 1001) that analyzes print information input from an external device via a network and controls the printing unit 17, and converts the print information into a first printer control command system. First storage means (ROM 13 or external memory 14) for storing first conversion information to be analyzed and converted into print data based on the first conversion information;
Specifying means (such as an operation unit 1012 or a dip switch not shown) for designating the conversion resource candidate to be selected internally or externally, and a second printer control command system based on the designation state of the conversion resource candidate by the designating means Acquisition means for acquiring from the external device (host computer 3000) second conversion information for enabling print information according to the above to be shared and analyzed as a command of the first printer control command system (the control in which the CPU 12 is stored in the ROM 13). Executing a program to perform an acquisition process); and a control unit (for converting the conversion resource for the print information into the first conversion information or the second conversion information based on the conversion resource candidate specified by the specifying unit) CPU
12 executes a control program stored in the ROM 13 to perform rearrangement control), and the CPU 12 prints print information in accordance with a second printer control command system based on the designation state of the conversion resource candidate by a dip switch. The second conversion information for enabling the shared analysis as a command of the first printer control command system is acquired from the host computer 3000, and the CPU 12 converts the conversion information (dispatcher table) for the print information based on the specified conversion resource candidate. Is converted to the first conversion information or the second conversion information. Therefore, the specification of the second printer control command system is different based on the conversion information obtained from the external device only by simply designating the conversion resource. Even if print information is received, the print data according to the first printer control command system is Conversion it is possible to print information in accordance any kind of printer control command system can also print process by analyzing correctly.

【0024】第2の発明は、所定の通信媒体(I/F2
1,ネットワーク)を介して外部装置から入力される印
刷情報を解析して印刷部17を制御する印刷制御装置
(プリンタ制御ユニット1001)であって、前記印刷
情報を第1のプリンタ制御コマンド体系に基づいて解析
して印刷データに変換する第1の変換情報を記憶する第
1の記憶手段(ROM13または外部メモリ14)と、
前記外部装置による前記変換資源候補の指定状態に基づ
いて第2のプリンタ制御コマンド体系に従う印刷情報を
前記第1のプリンタ制御コマンド体系のコマンドとして
共有解析可能とするための第2の変換情報を前記外部装
置から取得する取得手段(CPU12がROM13に記
憶される制御プログラムを実行して取得処理する)と、
前記指定手段により指定された前記変換資源候補に基づ
いて前記印刷情報に対する変換資源を前記第1の変換情
報または前記第2の変換情報に組み替える制御手段(C
PU12がROM13に記憶される制御プログラムを実
行して組み替え制御する)とを有し、ホストコンピュー
タ3000による前記変換資源候補の指定状態に基づい
て取得手段が第2のプリンタ制御コマンド体系に従う印
刷情報を前記第1のプリンタ制御コマンド体系のコマン
ドとして共有解析可能とするための第2の変換情報をホ
ストコンピュータ3000から取得し、CPU12がホ
ストコンピュータ3000から指定された前記変換資源
候補に基づいて前記印刷情報に対する変換資源を前記第
1の変換情報または前記第2の変換情報に組み替えるの
で、外部装置から取得する変換情報に基づいて第2のプ
リンタ制御コマンド体系の仕様が異なる印刷情報を受信
しても、第1のプリンタ制御コマンド体系に従う印刷デ
ータに変換処理することができ、いかなる種類のプリン
タ制御コマンド体系に従う印刷情報も正常に解析して印
刷処理することができる。
According to a second aspect of the present invention, a predetermined communication medium (I / F2
1, a print control device (printer control unit 1001) that analyzes print information input from an external device via a network and controls the printing unit 17, and converts the print information into a first printer control command system. First storage means (ROM 13 or external memory 14) for storing first conversion information to be analyzed and converted into print data based on the first conversion information;
The second conversion information for enabling print information according to the second printer control command system to be shared and analyzed as a command of the first printer control command system based on the designation state of the conversion resource candidate by the external device is described above. Acquisition means for acquiring from an external device (the CPU 12 executes a control program stored in the ROM 13 and performs acquisition processing);
Control means (C) for rearranging conversion resources for the print information into the first conversion information or the second conversion information based on the conversion resource candidates specified by the specification means
The PU 12 executes a control program stored in the ROM 13 to perform rearrangement control), and the acquiring unit converts print information according to the second printer control command system based on the designation state of the conversion resource candidate by the host computer 3000. The second conversion information for enabling the shared analysis as a command of the first printer control command system is acquired from the host computer 3000, and the CPU 12 determines the print information based on the conversion resource candidate designated by the host computer 3000. Is converted to the first conversion information or the second conversion information. Therefore, even if print information having a different specification of the second printer control command system is received based on the conversion information acquired from the external device, Converts to print data according to the first printer control command system It can print information according any kind of printer control command system can also print processed successfully parsed.

【0025】図2は、本発明の第1実施形態を示す印刷
制御装置におけるデータフローダイアグラムを示す図で
ある。この例では、図1に示したROM13上にプリン
タ制御コマンド体系としてESC/P,PC−PRに対
応した2つのディスパッチャテーブルを持つ場合を示
す。
FIG. 2 is a diagram showing a data flow diagram in the print control apparatus according to the first embodiment of the present invention. In this example, a case is shown in which two dispatcher tables corresponding to ESC / P and PC-PR as printer control command systems are stored on the ROM 13 shown in FIG.

【0026】図において、400は回線インタフェース
であり、図1に示した入力部18に対応し、印字データ
をホストコンピュータ3000から取得したり、ホスト
コンピュータ3000側の外部メモリ11等の外部記憶
装置上にあるディスパッチャテーブルをダウンロードし
たりする。
In the figure, reference numeral 400 denotes a line interface, which corresponds to the input unit 18 shown in FIG. 1 and acquires print data from the host computer 3000 or stores the print data on an external storage device such as the external memory 11 of the host computer 3000. Or download the dispatcher table at

【0027】410はESC/Pのディスパッチャテー
ブルで、ROM13上に確保される。420はPC−P
Rのディスパッチャテーブルで、ROM13上に確保さ
れる。430はコマンド体系選択部で、ディップスイッ
チ等により、どのプリンタ制御コマンド体系のディスパ
ッチャテーブルを選択するか判断し、ROM13にある
場合はROM13から、ROM13にない場合は回線イ
ンタフェース400からディスパッチャテーブルを取得
し、後述するRAM19に確保されるディスパッチャテ
ーブル440に格納する。
An ESC / P dispatcher table 410 is secured in the ROM 13. 420 is PC-P
An R dispatcher table, which is secured on the ROM 13. A command system selection unit 430 determines which printer control command system dispatcher table is to be selected by a dip switch or the like, and obtains the dispatcher table from the ROM 13 if it is in the ROM 13 and the line interface 400 if it is not in the ROM 13. Is stored in a dispatcher table 440 secured in the RAM 19 described later.

【0028】この例では、ESC/Pが選択された場合
には、ROM13からディスパッチャテーブル410を
取得し、PC−PRが選択された場合には、ROM13
からディスパッチャテーブル420を取得する。それ以
外のプリンタ制御コマンド体系が選択された場合には回
線インタフェース400を通して外部記憶装置としての
外部メモリ11上からディスパッチャテーブルを取得す
る。
In this example, when the ESC / P is selected, the dispatcher table 410 is obtained from the ROM 13, and when the PC-PR is selected, the ROM 13 is read.
To obtain the dispatcher table 420. If another printer control command system is selected, a dispatcher table is acquired from the external memory 11 as an external storage device through the line interface 400.

【0029】450はコマンド解析部で、回線I/F4
00を介して入力される印字データとディスパッチャテ
ーブル440とをそれぞれ取得し、ディスパッチャテー
ブル440に印字データをスキャンさせて、その印字デ
ータに対応する処理を実行する。印字データがレイアウ
ト設定コマンドであると解析した場合は、後述するレイ
アウト設定部460が処理を行う。
Reference numeral 450 denotes a command analysis unit, and a line I / F 4
The print data and the dispatcher table 440 that are input via the “00” are acquired, the print data is scanned by the dispatcher table 440, and a process corresponding to the print data is executed. When it is analyzed that the print data is a layout setting command, a layout setting unit 460 described later performs processing.

【0030】一方、コマンド解析部450が、印字デー
タが文字修飾コマンドであると解析した場合は、後述す
る文字修飾情報設定部470が処理を行う。コマンド解
析部450が、印字データが文字コードであると解析し
た場合には、後述する文字情報設定部490が処理を行
う。
On the other hand, when the command analysis unit 450 analyzes that the print data is a character modification command, a character modification information setting unit 470 described later performs processing. When the command analysis unit 450 analyzes that the print data is a character code, a character information setting unit 490 described below performs processing.

【0031】レイアウト設定部460はレイアウト設定
処理を行うものであり、レイアウト量設定データをコマ
ンド解析部450から取得し、後述するレイアウト情報
540としてRAM19上に格納する。470は文字修
飾情報設定部で、現在の文字の修飾情報を後述する文字
修飾情報480としてRAM19上に格納する。ここ
で、文字修飾情報480には、強調やアンダーラインな
どの文字修飾設定の情報等である。
The layout setting section 460 performs a layout setting process, acquires layout amount setting data from the command analysis section 450, and stores it in the RAM 19 as layout information 540 to be described later. A character modification information setting unit 470 stores the modification information of the current character on the RAM 19 as character modification information 480 described later. Here, the character modification information 480 includes information on character modification settings such as emphasis and underlining.

【0032】490は文字情報設定部で、印字データと
してコマンドでなく文字コードが取得された場合に、文
字修飾情報480を取得し、文字コードとそれに対応す
る文字修飾情報をRAM19上に確保されるテキストバ
ッファ500に格納する。テキストバッファ500は、
1行分の文字の情報と、各文字に対応する修飾情報が格
納されたものである。
Reference numeral 490 denotes a character information setting unit which acquires character modification information 480 when a character code, not a command, is obtained as print data, and secures the character code and the corresponding character modification information on the RAM 19. The data is stored in the text buffer 500. The text buffer 500
It stores character information for one line and decoration information corresponding to each character.

【0033】510はフォントデータで、プリンタフォ
ントとしてROM13上に格納されている。
Reference numeral 510 denotes font data stored in the ROM 13 as printer fonts.

【0034】520はイメージ作成部で、印字命令がき
た場合に、テキストバッファ500から1行分の文字コ
ードと各文字に対応する修飾情報を受け取り、各文字に
対応するフォントデータ510から取得する。そして、
各文字のフォンントデータをそれぞれ修飾処理して1行
分のイメージデータを作成し、イメージデータ530と
してRAM19上に格納する。なお、イメージ作成部5
20は、各プリンタ制御コマンド体系によって実現され
る修飾の全ての処理を実装している。また、イメージデ
ータ530は、イメージ作成部520によって作成され
た1行分の印字イメージデータとしてRAM19上に格
納されている。
Reference numeral 520 denotes an image creation unit which receives a character code for one line and modification information corresponding to each character from the text buffer 500 when a print command is received, and acquires the character code from the font data 510 corresponding to each character. And
The font data of each character is individually modified to create one line of image data and stored as image data 530 on the RAM 19. The image creation unit 5
Reference numeral 20 implements all the modification processes realized by each printer control command system. The image data 530 is stored in the RAM 19 as one line of print image data created by the image creation unit 520.

【0035】540はレイアウト情報で、レイアウト設
定部460によって設定されたタブ位置や改行量等がR
AM19上に格納されている。550は印字制御部で、
イメージデータとレイアウト情報を取得し、プリンタエ
ンジン560による印刷を制御する。なお、本実施形態
では、印刷部17がシリアルプリンタエンジンの場合を
例とする。
Reference numeral 540 denotes layout information. The tab position and the line feed amount set by the layout setting unit 460 are R.
It is stored on AM19. Reference numeral 550 denotes a print control unit.
The image data and the layout information are acquired, and printing by the printer engine 560 is controlled. In the present embodiment, the case where the printing unit 17 is a serial printer engine is taken as an example.

【0036】以下、印字データとレイアウトと修飾処理
について簡単に説明する。
Hereinafter, print data, layout, and modification processing will be briefly described.

【0037】<印字データについて>図3,図4,図5
は、本発明に係る印刷制御装置における印字データの構
造を説明する図であり、図3は文字コードに対応し、図
4はコマンドに対応し、図5は複数バイトコマンドに対
応する。
<Regarding Print Data> FIGS. 3, 4, and 5
FIGS. 3A and 3B are diagrams for explaining the structure of print data in the print control apparatus according to the present invention. FIG. 3 corresponds to a character code, FIG. 4 corresponds to a command, and FIG. 5 corresponds to a multi-byte command.

【0038】これらの図に示すように、印字データは、
文字コードとコマンドから構成されており、コマンド
は、1バイトからなる1バイトコマンドと、ESC(1
BH)やFS(1FH)に続くシーケンスからなる複数
バイトコマンドがある。
As shown in these figures, the print data is
The command is composed of a character code and a command. The command is a one-byte command consisting of one byte and an ESC (1
BH) and FS (1FH).

【0039】<レイアウトについて>図6は、本発明に
係る印刷制御装置におけるレイアウト情報の一例を示す
模式図である。
<Regarding Layout> FIG. 6 is a schematic diagram showing an example of layout information in the print control apparatus according to the present invention.

【0040】図において、6−1は改行量を表してお
り、次の行に移動する時に改行量分紙送りを行う。改行
量6−1は改行量設定コマンドによって、この量を変更
する。6−2は左マージンを表しており、左端からの非
印字領域を表す。左マージン6−2は左マージン設定コ
マンドによって、この量を指定することができる。
In the figure, 6-1 indicates a line feed amount, and paper feed is performed by the line feed amount when moving to the next line. The line feed amount 6-1 is changed by a line feed amount setting command. Reference numeral 6-2 denotes a left margin, which represents a non-print area from the left end. The left margin 6-2 can specify this amount by a left margin setting command.

【0041】6−3は右マージンを表しており、左端か
らの印字可能領域を表す。右マージン6−3は右マージ
ン設定コマンドによって、この量を指定することができ
る。
Reference numeral 6-3 denotes a right margin, which indicates a printable area from the left end. The right margin 6-3 can specify this amount by a right margin setting command.

【0042】<修飾処理について>図7は、本発明に係
る印刷制御装置における文字修飾処理の例を示す図であ
る。
<Regarding Modification Processing> FIG. 7 is a diagram showing an example of character modification processing in the print control apparatus according to the present invention.

【0043】図において、7−1は強調処理例で、文字
および文字列の強調(本例は太字処理)する処理に対応
する。7−2はアンダーライン処理例で、文字および文
字列の下にラインを引く処理に対応する。7−3はイタ
リック処理例で、文字を傾ける処理に対応する。なお、
文字修飾処理は、これらに限られるものではなく、これ
らの組合わせも修飾処理に含まれるものである。
In the figure, reference numeral 7-1 denotes an example of an emphasizing process, which corresponds to a process of emphasizing characters and character strings (in this example, bolding). 7-2 is an example of underline processing, which corresponds to processing for drawing a line below a character and a character string. 7-3 is an example of italic processing, which corresponds to processing for tilting a character. In addition,
The character modification processing is not limited to these, and combinations thereof are also included in the modification processing.

【0044】以下、図2に基づいて印刷情報の処理につ
いて説明する。
Hereinafter, processing of print information will be described with reference to FIG.

【0045】以下、テキストバッファ500について図
8を参照して説明する。
Hereinafter, the text buffer 500 will be described with reference to FIG.

【0046】図8は、図2に示したテキストバッファ5
00の構成を説明する図であり、テキストバッファ50
0は図1に示したRAM19に確保される。
FIG. 8 shows the text buffer 5 shown in FIG.
00 illustrates the configuration of the text buffer 50.
0 is secured in the RAM 19 shown in FIG.

【0047】本図に示すように、テキストバッファ50
0とは、1行分の文字情報と各文字に対する修飾情報が
格納されたものであり、1文字の文字情報は、文字コー
ド500Aとその文字に対する修飾情報500Bから構
成されている。テキストバッファ500は文字情報が1
行分集まって構成されている。この例では“Frida
y”という文字列がテキストバッファ500に格納され
た場合に対応する。
As shown in FIG.
0 stores character information of one line and modification information for each character, and one character information includes a character code 500A and modification information 500B for the character. Text buffer 500 contains 1 character information.
It consists of lines. In this example, "Frida
This corresponds to the case where the character string “y” is stored in the text buffer 500.

【0048】イメージデータ530とは、修飾処理され
た文字の印字イメージデータが1行分格納されたもので
ある。ディスパッチャテーブル440はコマンドの判
断,分岐処理に使用するもので、00H〜FFHまでの
256個のコマンド仕様データから構成される。これ
は、256の配列である。
The image data 530 is data in which one line of print image data of the character subjected to the decoration processing is stored. The dispatcher table 440 is used for command determination and branch processing, and includes 256 command specification data from 00H to FFH. This is a 256 array.

【0049】図9は、図2に示したディスパッチャテー
ブル440内のコマンド仕様データの例を示す図であ
る。
FIG. 9 is a diagram showing an example of command specification data in the dispatcher table 440 shown in FIG.

【0050】コマンド仕様データ100は、データの種
類を示すID100AとそのID100Aに対応するデ
ータ100Bからなる。ID100Aは0〜3まであ
り、それぞれのID100Aに対して次のようなデータ
100Bがある。
The command specification data 100 includes an ID 100A indicating the type of data and data 100B corresponding to the ID 100A. There are IDs 100A from 0 to 3, and there is the following data 100B for each ID 100A.

【0051】ID=0の時、データ100Bには次のテ
ーブルを指すIDがセットされる。ID=1の時、デー
タ100BにはIDに対応するデータなしとなる。ID
=2の時、データ100Bにはレイアウト量設定データ
がセットされる。ID=3の時、データ100Bには修
飾情報設定データがセットされる。なお、ID100A
が「2」の場合のレイアウト量設定データは、設定する
データの種類を示すIDと、設定量の比率から構成され
ている。また、ID100Aが「3」の場合の修飾情報
設定データは、設定のON/OFFを示すデータと、ビ
ットマスクデータからなる。
When ID = 0, an ID indicating the next table is set in the data 100B. When ID = 1, there is no data corresponding to the ID in the data 100B. ID
When = 2, layout amount setting data is set in the data 100B. When ID = 3, decoration information setting data is set in data 100B. In addition, ID100A
Is "2", the layout amount setting data includes an ID indicating the type of data to be set and a ratio of the setting amount. Further, the decoration information setting data when the ID 100A is “3” includes data indicating ON / OFF of the setting and bit mask data.

【0052】このようにディスパッチャテーブル440
はコマンド仕様データ100の集合によって構成されて
いる。
Thus, the dispatcher table 440
Is composed of a set of command specification data 100.

【0053】図10は、図2に示したディスパッチャテ
ーブル440の概念を示す図であり、図2に示したディ
スパッチャテーブル440はESC/Pのプリンタ制御
コマンド体系に対応する。
FIG. 10 is a diagram showing the concept of the dispatcher table 440 shown in FIG. 2. The dispatcher table 440 shown in FIG. 2 corresponds to the ESC / P printer control command system.

【0054】本図に示すように、ディスパッチャテーブ
ル440は階層的になっており、2バイト以上からなる
コマンドにも対応している。
As shown in the figure, the dispatcher table 440 is hierarchical and corresponds to a command consisting of 2 bytes or more.

【0055】例えば印字データとしてESC(1BH)
が取得された場合は、コマンド仕様データからID=1
とテーブルIDを取得できる。図10の例では、ESC
のテーブルはESC_TBLというテーブルIDであ
る。
For example, ESC (1BH) as print data
Is acquired, ID = 1 from the command specification data
And the table ID. In the example of FIG.
Is a table ID of ESC_TBL.

【0056】一方、印字データに対する分岐は、ディス
パッチャテーブル440から印字データに対するIDを
取得することによって可能となる。
On the other hand, the branch to the print data can be made by acquiring the ID for the print data from the dispatcher table 440.

【0057】例えば、印字データがCR(0DH)だっ
た場合は、それに対するIDをディスパッチャテーブル
440から取得することができる。「CR」の場合は、
ID=1が取得できる。ID=1で印字データ=0DH
の場合は、印字復帰コマンドと解釈できるので分岐可能
となる。
For example, when the print data is CR (0DH), the ID for the print data can be obtained from the dispatcher table 440. For "CR",
ID = 1 can be obtained. ID = 1 and print data = 0DH
In the case of, it can be interpreted as a print return command, so branching is possible.

【0058】<文字修飾情報について>図11は、図2
に示した文字修飾情報480のデータ構造を説明する図
であり、文字修飾情報480は、強調やアンダーライン
などの文字修飾設定の情報がRAM19上に格納され
る。
<About Character Modification Information> FIG.
FIG. 4 is a diagram for explaining the data structure of character modification information 480 shown in FIG. 4. Character modification information 480 stores information on character modification settings such as emphasis and underlining in a RAM 19.

【0059】この例では、文字修飾情報480は、各修
飾情報に対して1ビットずつそれぞれの修飾処理が割り
当てられている。なお、文字修飾情報480は、例えば
0〜31の32ビットで構成され、0〜12ビットが使
用され、13〜31ビット目は未使用となっている場合
に対応する。
In this example, in the character modification information 480, each modification processing is assigned one bit to each modification information. Note that the character modification information 480 is composed of, for example, 32 bits from 0 to 31, 0 to 12 bits are used, and the 13th to 31st bits are unused.

【0060】図2に示した文字修飾情報設定部470で
は、強調指定コマンドの場合は強調に対するビット(こ
の例では4番目のビット)を「1」にし、強調解除の場
合は強調に対するビットを「0」にする処理を行う。
The character modification information setting section 470 shown in FIG. 2 sets the bit for emphasis (the fourth bit in this example) to "1" in the case of the emphasis designation command, and sets the bit for emphasis to "1" in the case of emphasis cancellation. 0 "is performed.

【0061】各修飾情報に対するビットのON/OFF
は、ディスパッチャテーブル440から取得したビット
マスクによって行う。
ON / OFF of bit for each modification information
Is performed using the bit mask acquired from the dispatcher table 440.

【0062】図12は、図2に示した文字修飾情報設定
部470による修飾機能のビットマスク処理例を示す図
である。
FIG. 12 is a diagram showing an example of the bit mask processing of the decoration function by the character decoration information setting section 470 shown in FIG.

【0063】この例では、強調処理、すなわち、図11
に示した文字修飾情報の第4番目のビットに対するマス
ク処理に対応し、該強調指定は、ディスパッチャテーブ
ル440に(a)に示す強調指定用のビットマスクデー
タを備え、(c)に示すように該ビットマスクデータと
文字修飾情報のORをとれば、4番目のビットを「1」
にすることができる。また、強調解除はディスパッチャ
テーブル440に(b)のビットマスクデータを備え、
(d)に示すように該ビットマスクと文字修飾情報のA
NDをとることによって、4番目のビットを「0」にす
ることができる。
In this example, the emphasis processing, that is, FIG.
The emphasis designation corresponds to the mask processing for the fourth bit of the character modification information shown in (a), and the dispatcher table 440 includes the bit mask data for emphasis designation shown in (a), as shown in (c). If the bit mask data is ORed with the character modification information, the fourth bit is set to "1".
Can be The emphasis release includes the bit mask data of (b) in the dispatcher table 440,
As shown in (d), the bit mask and the character modification information A
By taking ND, the fourth bit can be set to “0”.

【0064】<レイアウト情報について>図13は、図
2に示したレイアウト情報540の一例を示す図であ
る。
<Regarding Layout Information> FIG. 13 is a diagram showing an example of the layout information 540 shown in FIG.

【0065】この図に示すように、タブ位置や改行量な
どのレイアウト情報540は配列として格納されてお
り、データの種類を示すIDに対するデータはValu
e[ID]で表される。
As shown in this figure, layout information 540 such as a tab position and a line feed amount is stored as an array, and the data corresponding to the ID indicating the type of data is Valu.
e [ID].

【0066】レイアウト情報の設定は、図2に示したレ
イアウト設定部460がディスパッチャテーブル440
から取得したデータの種類を示すIDによってValu
e[ID]に対応するIDを設定することにより得られ
る。
The layout information is set by the layout setting section 460 shown in FIG.
Value indicating the type of data obtained from
It is obtained by setting an ID corresponding to e [ID].

【0067】図14は、本発明に係る印刷制御装置のデ
ータ処理手順の一例を示すフローチャートである。な
お、(1)〜(11)は各ステップを示す。また、ステ
ップ(1)〜(4)までが、図2に示したコマンド体系
選択部430の処理に対応し、つまりディスパッチャテ
ーブル440を選択する部分に対応する。さらに、ステ
ップ(5)〜(8)までが図2に示したコマンド解析部
450の処理に対応する。また、ステップ(9)は図2
に示した文字情報設定部490とイメージ作成部520
と印字制御部550の処理に対応する。さらに、ステッ
プ(10)は図2に示した文字修飾情報設定部470の
処理に対応する。また、ステップ(11)は図2に示し
たレイアウト設定部460に対応する。
FIG. 14 is a flowchart showing an example of a data processing procedure of the print control apparatus according to the present invention. Note that (1) to (11) indicate each step. Steps (1) to (4) correspond to the processing of the command system selection unit 430 shown in FIG. 2, that is, a part that selects the dispatcher table 440. Further, steps (5) to (8) correspond to the processing of the command analyzer 450 shown in FIG. Step (9) is the same as that in FIG.
Character information setting section 490 and image creation section 520 shown in FIG.
And the processing of the print control unit 550. Further, step (10) corresponds to the processing of character modification information setting section 470 shown in FIG. Step (11) corresponds to the layout setting unit 460 shown in FIG.

【0068】まず、ステップ(1)でプリンタ制御コマ
ンド体系の選択を行う。つまり、使用するディスパッチ
ャテーブル440がROM13に設定されているかどう
かの判断を行う。ディスパッチャテーブル440は、ホ
ストコンピュータ3000側のプリンタドライバやプリ
ンタ1000側のディップスイッチ等によって選択され
る。
First, at step (1), a printer control command system is selected. That is, it is determined whether or not the dispatcher table 440 to be used is set in the ROM 13. The dispatcher table 440 is selected by a printer driver of the host computer 3000, a dip switch of the printer 1000, or the like.

【0069】ここで、プリンタ1000のROM13に
あるディスパッチャテーブルが選択されていると判断し
た場合は後述するステップ(2)へ移る。
If it is determined that the dispatcher table in the ROM 13 of the printer 1000 has been selected, the process proceeds to step (2) described later.

【0070】一方、ステップ(1)でホストコンピュー
タ3000側の外部記憶装置としての外部メモリ11あ
るいは外部メモリ14上のディスパッチャテーブルが選
択されていると判断した場合は、後述するステップ
(3)に処理を移す。
On the other hand, if it is determined in step (1) that the dispatcher table on the external memory 11 or the external memory 14 as the external storage device of the host computer 3000 has been selected, the process proceeds to step (3) described later. Transfer.

【0071】ステップ(2)ではROM13にあるディ
スパッチャテーブルをディスパッチャテーブル440と
してRAM19上に確保する処理を行う。
In the step (2), a process for securing the dispatcher table in the ROM 13 as the dispatcher table 440 in the RAM 19 is performed.

【0072】ステップ(3)は回線インタフェース40
0から選択されたディスパッチャテーブルをダウンロー
ドする処理である。そのダウンロードしたディスパッチ
ャテーブルを、ステップ(4)でディスパッチャテーブ
ル440としてRAM19上に確保する処理を行う。
Step (3) is the line interface 40
This is a process of downloading the dispatcher table selected from 0. In step (4), a process of securing the downloaded dispatcher table as the dispatcher table 440 on the RAM 19 is performed.

【0073】次に、ステップ(5)で回線インタフェー
ス400から印字データを1バイト取得し、ステップ
(6)で該取得した印字データをディスパッチャテーブ
ル440にスキャンさせ、その結果としてディスパッチ
ャテーブル440から印字データに対応するコマンド仕
様データを取得する。
Next, in step (5), one byte of print data is obtained from the line interface 400, and in step (6), the obtained print data is scanned by the dispatcher table 440. As a result, the print data is read from the dispatcher table 440. Get command specification data corresponding to.

【0074】次に、ステップ(7)ではディスパッチャ
テーブル440から取得したコマンド仕様データの中の
IDによる分岐を行う。取得したIDが次のテーブルが
あることを示すID=0だった場合には、ステップ
(8)へ進み、IDがID=1だった場合には、印字デ
ータによって処理したい各関数に分岐する(9)。例え
ば先ほどの例のCR(0DH)の例では、印字復帰関数
へと分岐する。
Next, in step (7), branching is performed by ID in the command specification data obtained from the dispatcher table 440. If the acquired ID is ID = 0 indicating that the next table is present, the process proceeds to step (8), and if the ID is ID = 1, the flow branches to each function to be processed based on the print data ( 9). For example, in the case of CR (0DH) in the previous example, the process branches to a print return function.

【0075】一方、ID=2の場合は、レイアウト情報
設定処理を行うために、ステップ(11)へ進み、ID
=3の場合は、修飾情報設定処理を行うために、ステッ
プ(10)へ進む。
On the other hand, if ID = 2, the flow advances to step (11) to perform layout information setting processing, and
If = 3, the process proceeds to step (10) to perform the decoration information setting process.

【0076】ステップ(8)では、テーブルIDから次
のテーブルを取得する処理を行う。図10の例で、「E
SC」というデータがきた場合はこの処理を行い、コマ
ンド使用データESC_TBLを取得する。そして、再
び印字データの解析を行う。
In step (8), a process for acquiring the next table from the table ID is performed. In the example of FIG.
When the data "SC" arrives, this processing is performed to acquire the command use data ESC_TBL. Then, the print data is analyzed again.

【0077】一方、ステップ(9)では、印字データに
対応した関数、例えばCR(印字復帰関数)処理(後述
する図15に示す)や、文字コード処理(後述する図1
6に示す)を実行する。
On the other hand, in step (9), a function corresponding to the print data, for example, a CR (print return function) process (shown in FIG. 15 described later) or a character code process (FIG. 1 described later)
6).

【0078】一方、ステップ(10)では、後述する図
17に示す修飾情報設定処理(例えば強調指定などの文
字修飾設定のコマンドの場合に、文字修飾情報480を
設定する処理)を実行する。
On the other hand, in step (10), a modification information setting process (for example, a process of setting character modification information 480 in the case of a character modification setting command such as emphasis designation) shown in FIG.

【0079】具体的には、ディスパッチャテーブル44
0から取得したビットマスクデータによってビットのO
N/OFFを行う。このようにすることによって、修飾
情報設定処理は、図17に示すようにディスパッチャテ
ーブル440からデータを取得してビットマスクデータ
と修飾情報のAND処理あるいはOR処理をとるだけの
簡単な処理となる。
More specifically, the dispatcher table 44
O of the bit is determined by the bit mask data obtained from 0.
N / OFF is performed. By doing so, the decoration information setting processing is a simple processing of acquiring data from the dispatcher table 440 and performing an AND processing or an OR processing of the bit mask data and the decoration information as shown in FIG.

【0080】一方、ステップ(11)では、詳細は図1
8に示すレイアウト情報設定処理を実行する。
On the other hand, in step (11), details are described in FIG.
The layout information setting process shown in FIG.

【0081】具体的には、ディスパッチャテーブル44
0から設定するデータの種類を示すIDと設定量の比率
を取得し、データの種類のIDに対応する部分に設定量
を格納する。設定量の単位はコマンドやプリンタ制御コ
マンド体系ごとに異なる場合があるので、単位の違いを
吸収するために設定量の比率のデータを用意してある。
More specifically, the dispatcher table 44
An ID indicating the type of data to be set and a set amount ratio are acquired from 0, and the set amount is stored in a portion corresponding to the ID of the data type. Since the unit of the set amount may be different for each command or printer control command system, data of the ratio of the set amount is prepared to absorb the difference in the unit.

【0082】例えば、改行量設定は1/360インチ単
位で設定するコマンドと1/180インチ単位で設定す
るコマンドがある。この場合に1/360インチを基準
として設定量の比率をディスパッチャテーブル440に
用意しておく。1/180インチ改行量設定のコマンド
では、設定量の比率を「2」としておけば、設定量と設
定量の比率を掛ければ1/360インチ単位に変換可能
となる。
For example, the line feed amount setting includes a command set in units of 1/360 inch and a command set in units of 1/180 inch. In this case, the ratio of the set amount based on 1/360 inch is prepared in the dispatcher table 440. In the command for setting the line feed amount of 1/180 inch, if the ratio of the set amount is set to “2”, it is possible to convert to the unit of 1/360 inch by multiplying the ratio between the set amount and the set amount.

【0083】以下、本実施形態と第3,第4の発明の各
工程との対応及びその作用について図14を参照して説
明する。
Hereinafter, the correspondence between this embodiment and each step of the third and fourth inventions and the operation thereof will be described with reference to FIG.

【0084】第3の発明は、所定の通信媒体(ネットワ
ーク,インタフェース)を介して外部装置(ホストコン
ピュータ3000)から入力される印刷情報を解析して
印刷部17を制御する印刷制御方法であって、選択すべ
き前記変換資源候補の指定状態を判定する判定工程(図
14のステップ(1))と、該判定結果に基づいて第2
のプリンタ制御コマンド体系に従う印刷情報を前記第1
のプリンタ制御コマンド体系のコマンドとして共有解析
可能とするための第2の変換情報を前記外部装置から取
得する取得工程(図14のステップ(3))と、前記指
定された前記変換資源候補に基づいて前記印刷情報に対
する変換資源を前記第1の変換情報または前記第2の変
換情報に組み替える組み替え工程(図14のステップ
(2),(4))とを実行し、CPU12がROM13
に記憶された制御プログラムを実行して、簡単な変換資
源の指定指示を行うだけで、外部装置から取得する変換
情報に基づいて第2のプリンタ制御コマンド体系の仕様
が異なる印刷情報を受信しても、第1のプリンタ制御コ
マンド体系に従う印刷データに変換処理することがで
き、いかなる種類のプリンタ制御コマンド体系に従う印
刷情報も正常に解析して印刷処理することができる。
The third invention is a print control method for controlling print section 17 by analyzing print information input from an external device (host computer 3000) via a predetermined communication medium (network, interface). A determining step of determining the designation state of the conversion resource candidate to be selected (step (1) of FIG. 14);
Print information according to the printer control command system of
An acquisition step (step (3) in FIG. 14) for acquiring from the external device second conversion information for enabling the shared analysis as a command of the printer control command system of FIG. A re-combining step of re-composing the conversion resource for the print information into the first conversion information or the second conversion information (steps (2) and (4) in FIG. 14).
Executing the control program stored in the printer, and simply instructing the user to specify the conversion resource, the printer receives print information having different specifications of the second printer control command system based on the conversion information acquired from the external device. Also, the print data can be converted into print data according to the first printer control command system, and print information according to any type of printer control command system can be normally analyzed and printed.

【0085】第4の発明は、所定の通信媒体(ネットワ
ーク,インタフェース)を介して外部装置(ホストコン
ピュータ3000)から入力される印刷情報を解析して
印刷部17を制御するコンピュータが読み出し可能なプ
ログラムを格納した記憶媒体であって、選択すべき前記
変換資源候補の指定状態を判定する判定工程(図14の
ステップ(1))と、該判定結果に基づいて第2のプリ
ンタ制御コマンド体系に従う印刷情報を前記第1のプリ
ンタ制御コマンド体系のコマンドとして共有解析可能と
するための第2の変換情報を前記外部装置から取得する
取得工程(図14のステップ(3))と、前記指定され
た前記変換資源候補に基づいて前記印刷情報に対する変
換資源を前記第1の変換情報または前記第2の変換情報
に組み替える組み替え工程(図14のステップ(2),
(4))とを含む、コンピュータが読むことができるプ
ログラムを記憶媒体を格納したものである。すなわち、
後述する外部記憶媒体または内部の記憶資源に図14に
示す工程に対応するプログラムコードを記憶させ、該プ
ログラムコードを記憶した記憶媒体からCPU12が読
み出して実行する形態も本発明の実施形態に含まれるも
のである。
The fourth invention is a computer readable program that analyzes print information input from an external device (host computer 3000) via a predetermined communication medium (network or interface) and controls the printing unit 17. A determination step (step (1) in FIG. 14) for determining a designation state of the conversion resource candidate to be selected, and printing based on the second printer control command system based on the determination result. An acquisition step (step (3) in FIG. 14) of acquiring second conversion information from the external device for enabling information to be shared and analyzed as a command of the first printer control command system; A set for converting a conversion resource for the print information into the first conversion information or the second conversion information based on a conversion resource candidate E process (step of FIG. 14 (2),
(4)) in which a storage medium is stored with a computer-readable program including: That is,
The embodiment of the present invention also includes a mode in which a program code corresponding to the process shown in FIG. 14 is stored in an external storage medium or an internal storage resource described later, and the CPU 12 reads out and executes the program code from the storage medium storing the program code. Things.

【0086】以下、図15に示すフローチャートを参照
して、本発明に係る印刷制御装置におけるCR処理につ
いて説明する。
Hereinafter, the CR process in the print control apparatus according to the present invention will be described with reference to the flowchart shown in FIG.

【0087】図15は、図14に示したデータ処理手順
の第1の要部データ処理手順の一例を示すフローチャー
トであり、CR処理に対応する。なお、(1)〜(8)
は各ステップを示し、ステップ(1)〜(7)は図2に
示したイメージ作成部520の処理に対応する。
FIG. 15 is a flowchart showing an example of a first main part data processing procedure of the data processing procedure shown in FIG. 14, and corresponds to CR processing. (1) to (8)
Represents each step, and steps (1) to (7) correspond to the processing of the image creation unit 520 shown in FIG.

【0088】まず、ステップ(1)でテキストバッファ
500の先頭のポインタを取得する。次に、ステップ
(2)はテキストバッファ500を指すポインタから、
1文字分の文字データを取得する。そして、ステップ
(3)は取得した文字データの文字コードに対するフォ
ントデータ510をROM13から取得する。次に、ス
テップ(4)は、ステップ(2)で取得した修飾情報に
基づいてステップ(3)で取得したフォントデータの修
飾処理を行い、1文字分のイメージデータを作成し、ス
テップ(5)は、該作成した1文字分のイメージデータ
をイメージデータ530としてRAM19上にストアす
る。
First, in step (1), the head pointer of the text buffer 500 is obtained. Next, step (2) includes, from a pointer to text buffer 500,
Gets character data for one character. Then, in step (3), font data 510 for the character code of the obtained character data is obtained from the ROM 13. Next, in the step (4), the font data acquired in the step (3) is modified based on the modification information acquired in the step (2), and image data for one character is created. Stores the created image data for one character in the RAM 19 as the image data 530.

【0089】続いて、ステップ(6)は1行分のイメー
ジデータを作成したか判断し、1行分のイメージデータ
を作成したと判断した場合には、ステップ(8)に進
み、印字制御処理(CRの場合はハードウエアに印字命
令を出したりする処理)を行い、処理を終了する。
Subsequently, in step (6), it is determined whether or not one line of image data has been created. If it is determined that one line of image data has been created, the flow advances to step (8) to execute the print control process. (In the case of CR, a process of issuing a print command to hardware) is performed, and the process ends.

【0090】一方、ステップ(6)で、まだ1行分の処
理が終わってないないと判定された場合には、ステップ
(7)に進み、テキストバッファ500を指すポインタ
を1文字分進めて、ステップ(2)へ進み、処理を繰り
返す。
On the other hand, if it is determined in step (6) that the processing for one line has not been completed, the process proceeds to step (7), in which the pointer pointing to the text buffer 500 is advanced by one character. Proceed to step (2) and repeat the process.

【0091】以下、図16に示すフローチャートを参照
して、本発明に係る印刷制御装置における文字コード処
理について説明する。
Hereinafter, the character code processing in the print control apparatus according to the present invention will be described with reference to the flowchart shown in FIG.

【0092】図16は、図14に示したデータ処理手順
の第2の要部データ処理手順の一例を示すフローチャー
トであり、文字コード処理に対応する。なお、(1)〜
(3)は各ステップを示し、図2に示した文字情報設定
部490の処理に対応する。
FIG. 16 is a flowchart showing an example of a second main part data processing procedure of the data processing procedure shown in FIG. 14, and corresponds to character code processing. In addition, (1)-
(3) shows each step, and corresponds to the processing of the character information setting unit 490 shown in FIG.

【0093】先ず、ステップ(1)ではテキストバッフ
ァ500の末尾のポインタを取得し、ステップ(2)で
は、RAM19の文字修飾情報480から対応する文字
修飾情報を取得する。ステップ(3)では、テキストバ
ッファ500の末尾に1文字の文字情報(文字コードと
その文字に対する文字修飾情報から構成される)を格納
して、処理を終了する。
First, in step (1), the pointer at the end of the text buffer 500 is obtained, and in step (2), the corresponding character modification information is acquired from the character modification information 480 of the RAM 19. In step (3), one-character information (consisting of a character code and character modification information for the character) is stored at the end of the text buffer 500, and the process ends.

【0094】以下、図17に示すフローチャートを参照
して、本発明に係る印刷制御装置における修飾情報設定
処理について説明する。
Hereinafter, the decoration information setting processing in the print control apparatus according to the present invention will be described with reference to the flowchart shown in FIG.

【0095】図17は、図14に示したデータ処理手順
の第3の要部データ処理手順の一例を示すフローチャー
トであり、修飾情報設定処理に対応する。なお、(1)
〜(4)は各ステップを示す。
FIG. 17 is a flowchart showing an example of the third main data processing procedure of the data processing procedure shown in FIG. 14, and corresponds to the decoration information setting processing. (1)
(4) shows each step.

【0096】先ず、ステップ(1)はディスパッチャテ
ーブル440から設定のON/OFFの種類とビットマ
スクデータを取得し、ステップ(2)では設定のON/
OFFデータがONかどうかを判定し、ONであると判
定した場合は、ステップ(4)へ進み、文字修飾情報4
80とビットマスクデータとの論理和の処理を実行し、
処理を終了する。
First, in step (1), the ON / OFF type of setting and bit mask data are obtained from the dispatcher table 440, and in step (2), ON / OFF of setting is obtained.
It is determined whether or not the OFF data is ON. If it is determined that the OFF data is ON, the process proceeds to step (4), where the character modification information 4
Performs a logical OR operation of 80 and the bit mask data,
The process ends.

【0097】一方、ステップ(2)で、OFFであると
判定した場合は、ステップ(3)へ進み、文字修飾情報
480とビットマスクデータとの論理積の処理を実行
し、処理を終了する。
On the other hand, if it is determined in step (2) that it is OFF, the process proceeds to step (3), where a logical product of the character modification information 480 and the bit mask data is executed, and the process ends.

【0098】以下、図18に示すフローチャートを参照
して、本発明に係る印刷制御装置におけるレイアウト設
定処理について説明する。
Hereinafter, the layout setting processing in the print control apparatus according to the present invention will be described with reference to the flowchart shown in FIG.

【0099】図18は、図14に示したデータ処理手順
の第4の要部データ処理手順の一例を示すフローチャー
トであり、修飾情報設定処理に対応する。なお、(1)
〜(4)は各ステップを示す。
FIG. 18 is a flowchart showing an example of the fourth main part data processing procedure of the data processing procedure shown in FIG. 14, and corresponds to the decoration information setting processing. (1)
(4) shows each step.

【0100】先ず、ステップ(1)で設定量を取得し、
ステップ(2)でディスパッチャテーブル440から設
定するデータの種類を示すIDと設定量の比率を取得す
る。
First, in step (1), a set amount is obtained.
In step (2), the ID indicating the type of data to be set and the ratio of the set amount are acquired from the dispatcher table 440.

【0101】次いで、ステップ(3)で、設定量と設定
量の比率の積を取り、該積を設定量の基準単位に設定す
る。次いで、ステップ(4)でデータの種類を示すID
に対応する場所(RAM19に確保されるレイアウト情
報540)に、ステップ(3)で計算した設定量を格納
する。
Next, in step (3), the product of the ratio between the set amount and the set amount is calculated, and the product is set as a reference unit of the set amount. Next, in step (4), an ID indicating the type of data
Is stored in the location (layout information 540 secured in the RAM 19) corresponding to (1).

【0102】例えば図13の例では、ID=4の場合
は、Value[4]に設定量(改行量)を格納する。
For example, in the example of FIG. 13, when ID = 4, the set amount (line feed amount) is stored in Value [4].

【0103】〔第2実施形態〕上記第1実施形態では、
あらかじめ複数のプリンタ制御コマンド体系用のディス
パッチャテーブル440を内蔵する場合について説明し
たが、図19で示すように内部にディスパッチャテーブ
ル440は持たずに、外部記憶装置としての外部メモリ
11上にある複数のディスパッチャテーブルを選択する
構成としてもよい。
[Second Embodiment] In the first embodiment,
The case where the dispatcher table 440 for a plurality of printer control command systems has been described in advance has been described. However, as shown in FIG. 19, the dispatcher table 440 is not provided internally, and a plurality of It may be configured to select a dispatcher table.

【0104】以下、図20に示すメモリマップを参照し
て本発明に係る印刷システムで読み出し可能なデータ処
理プログラムの構成について説明する。
Hereinafter, the configuration of the data processing program that can be read by the printing system according to the present invention will be described with reference to the memory map shown in FIG.

【0105】図20は、本発明に係る印刷制御装置で読
み出し可能な各種データ処理プログラムを格納する記憶
媒体のメモリマップを説明する図である。
FIG. 20 is a view for explaining a memory map of a storage medium for storing various data processing programs which can be read by the print control apparatus according to the present invention.

【0106】なお、特に図示しないが、記憶媒体に記憶
されるプログラム群を管理する情報、例えばバージョン
情報,作成者等も記憶され、かつ、プログラム読み出し
側のOS等に依存する情報、例えばプログラムを識別表
示するアイコン等も記憶される場合もある。
Although not shown, information for managing a group of programs stored in the storage medium, for example, version information, a creator, etc. are also stored, and information dependent on the OS or the like on the program reading side, for example, a program is stored in the storage medium. An icon or the like for identification display may also be stored.

【0107】さらに、各種プログラムに従属するデータ
も上記ディレクトリに管理されている。また、各種プロ
グラムをコンピュータにインストールするためのプログ
ラムや、インストールするプログラムが圧縮されている
場合に、解凍するプログラム等も記憶される場合もあ
る。
Further, data dependent on various programs is also managed in the directory. In addition, a program for installing various programs on a computer or a program for decompressing a program to be installed when the program to be installed is compressed may be stored.

【0108】本実施形態における図14〜図18に示す
機能が外部からインストールされるプログラムによっ
て、ホストコンピュータにより遂行されていてもよい。
そして、その場合、CD−ROMやフラッシュメモリや
FD等の記憶媒体により、あるいはネットワークを介し
て外部の記憶媒体から、プログラムを含む情報群を出力
装置に供給される場合でも本発明は適用されるものであ
る。
The functions shown in FIGS. 14 to 18 in this embodiment may be performed by a host computer by a program installed from the outside.
In this case, the present invention is applied even when a group of information including a program is supplied to the output device from a storage medium such as a CD-ROM, a flash memory, or an FD, or from an external storage medium via a network. Things.

【0109】以上のように、前述した実施形態の機能を
実現するソフトウエアのプログラムコードを記録した記
憶媒体を、システムあるいは装置に供給し、そのシステ
ムあるいは装置のコンピュータ(またはCPUやMP
U)が記憶媒体に格納されたプログラムコードを読出し
実行することによっても、本発明の目的が達成されるこ
とは言うまでもない。
As described above, the storage medium storing the program codes of the software for realizing the functions of the above-described embodiment is supplied to the system or the apparatus, and the computer (or CPU or MP) of the system or the apparatus is supplied.
It goes without saying that the object of the present invention is also achieved when U) reads and executes the program code stored in the storage medium.

【0110】この場合、記憶媒体から読み出されたプロ
グラムコード自体が本発明の新規な機能を実現すること
になり、そのプログラムコードを記憶した記憶媒体は本
発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

【0111】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピーディスク,ハードディ
スク,光ディスク,光磁気ディスク,CD−ROM,C
D−R,磁気テープ,不揮発性のメモリカード,RO
M,EEPROM等を用いることができる。
Examples of a storage medium for supplying the program code include a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, and C
DR, magnetic tape, nonvolatile memory card, RO
M, EEPROM and the like can be used.

【0112】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した実施形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づき、コンピュータ上で稼働しているOS(オペ
レーティングシステム)等が実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) And the like perform part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0113】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPU等が実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, The CPU provided in the function expansion board or function expansion unit performs part or all of the actual processing,
It goes without saying that a case where the function of the above-described embodiment is realized by the processing is also included.

【0114】[0114]

【発明の効果】以上説明したように、本発明に係る第1
の発明によれば、指定手段による前記変換資源候補の指
定状態に基づいて取得手段が第2のプリンタ制御コマン
ド体系に従う印刷情報を前記第1のプリンタ制御コマン
ド体系のコマンドとして共有解析可能とするための第2
の変換情報を前記外部装置から取得し、制御手段が前記
指定手段により指定された前記変換資源候補に基づいて
前記印刷情報に対する変換資源を前記第1の変換情報ま
たは前記第2の変換情報に組み替えるので、簡単な変換
資源の指定指示を行うだけで、外部装置から取得する変
換情報に基づいて第2のプリンタ制御コマンド体系の仕
様が異なる印刷情報を受信しても、第1のプリンタ制御
コマンド体系に従う印刷データに変換処理することがで
き、いかなる種類のプリンタ制御コマンド体系に従う印
刷情報も正常に解析して印刷処理することができる。
As described above, the first embodiment according to the present invention is described.
According to the invention, the acquisition unit can share and analyze the print information according to the second printer control command system as the command of the first printer control command system based on the designation state of the conversion resource candidate by the designation unit. Second
Control information is obtained from the external device, and the control unit rearranges the conversion resource for the print information into the first conversion information or the second conversion information based on the conversion resource candidate specified by the specifying unit. Therefore, even if the user simply issues a conversion resource designation instruction and receives print information having a different specification of the second printer control command system based on the conversion information acquired from the external device, the first printer control command system can be used. The print data can be converted into print data conforming to any of the above, and print information conforming to any type of printer control command system can be normally analyzed and printed.

【0115】第2の発明によれば、外部装置による前記
変換資源候補の指定状態に基づいて取得手段が第2のプ
リンタ制御コマンド体系に従う印刷情報を前記第1のプ
リンタ制御コマンド体系のコマンドとして共有解析可能
とするための第2の変換情報を前記外部装置から取得
し、制御手段が外部装置から指定された前記変換資源候
補に基づいて前記印刷情報に対する変換資源を前記第1
の変換情報または前記第2の変換情報に組み替えるの
で、外部装置からの簡単な変換資源の指定指示を行うだ
けで、外部装置から取得する変換情報に基づいて第2の
プリンタ制御コマンド体系の仕様が異なる印刷情報を受
信しても、第1のプリンタ制御コマンド体系に従う印刷
データに変換処理することができ、いかなる種類のプリ
ンタ制御コマンド体系に従う印刷情報も正常に解析して
印刷処理することができる。
According to the second aspect, the acquiring unit shares the print information according to the second printer control command system as a command of the first printer control command system based on the designation state of the conversion resource candidate by the external device. The control unit acquires second conversion information for enabling analysis from the external device, and the control unit determines conversion resources for the print information based on the conversion resource candidates specified by the external device.
Or the second conversion information, the specification of the second printer control command system can be changed based on the conversion information acquired from the external device only by simply designating the conversion resource from the external device. Even if different print information is received, the print information can be converted into print data according to the first printer control command system, and print information according to any type of printer control command system can be normally analyzed and printed.

【0116】第3,第4の発明によれば、選択すべき前
記変換資源候補の指定状態を判定し、該判定結果に基づ
いて第2のプリンタ制御コマンド体系に従う印刷情報を
前記第1のプリンタ制御コマンド体系のコマンドとして
共有解析可能とするための第2の変換情報を前記外部装
置から取得し、前記指定された前記変換資源候補に基づ
いて前記印刷情報に対する変換資源を前記第1の変換情
報または前記第2の変換情報に組み替えるので、簡単な
変換資源の指定指示を行うだけで、外部装置から取得す
る変換情報に基づいて第2のプリンタ制御コマンド体系
の仕様が異なる印刷情報を受信しても、第1のプリンタ
制御コマンド体系に従う印刷データに変換処理すること
ができ、いかなる種類のプリンタ制御コマンド体系に従
う印刷情報も正常に解析して印刷処理することができ
る。
According to the third and fourth aspects, the designation state of the conversion resource candidate to be selected is determined, and based on the determination result, print information according to the second printer control command system is transmitted to the first printer. A second conversion information for enabling a shared analysis as a command of the control command system is acquired from the external device, and a conversion resource for the print information is converted into the first conversion information based on the specified conversion resource candidate. Alternatively, since the print information is recombined with the second conversion information, print instruction having a different specification of the second printer control command system based on the conversion information obtained from the external device can be received only by simply specifying the conversion resource. Can be converted into print data conforming to the first printer control command system, and print information conforming to any type of printer control command system can be properly processed. It can be printed process analyzes.

【0117】従って、プリンタ制御コマンド体系の違い
に左右されることなく、外部装置から入力される種別の
異なるプリンタ制御コマンド体系に従う印刷情報を正常
に共有解析処理することができる等の効果を奏する。
Therefore, it is possible to normally perform the common analysis processing on the print information according to the different types of printer control command systems input from the external device, without being affected by the difference in the printer control command systems.

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

【図1】本発明の第1実施形態を示す印刷制御装置を適
用可能な印刷システムの構成を説明するブロック図であ
る。
FIG. 1 is a block diagram illustrating a configuration of a printing system to which a print control device according to a first embodiment of the present invention can be applied.

【図2】本発明の第1実施形態を示す印刷制御装置にお
けるデータフローダイアグラムを示す図である。
FIG. 2 is a diagram illustrating a data flow diagram in the print control apparatus according to the first embodiment of the present invention.

【図3】本発明に係る印刷制御装置における印字データ
の構造を説明する図である。
FIG. 3 is a diagram illustrating a structure of print data in a print control device according to the present invention.

【図4】本発明に係る印刷制御装置における印字データ
の構造を説明する図である。
FIG. 4 is a diagram illustrating the structure of print data in a print control device according to the present invention.

【図5】本発明に係る印刷制御装置における印字データ
の構造を説明する図である。
FIG. 5 is a diagram illustrating the structure of print data in the print control device according to the present invention.

【図6】本発明に係る印刷制御装置におけるレイアウト
情報の一例を示す模式図である。
FIG. 6 is a schematic diagram illustrating an example of layout information in the print control device according to the present invention.

【図7】本発明に係る印刷制御装置における文字修飾処
理の例を示す図である。
FIG. 7 is a diagram illustrating an example of a character modification process in the print control device according to the present invention.

【図8】図2に示したテキストバッファの構成を説明す
る図である。
FIG. 8 is a diagram illustrating the configuration of a text buffer shown in FIG.

【図9】図2に示したディスパッチャテーブル内のコマ
ンド仕様データの例を示す図である。
FIG. 9 is a diagram showing an example of command specification data in a dispatcher table shown in FIG. 2;

【図10】図2に示したディスパッチャテーブルの概念
を示す図である。
FIG. 10 is a diagram showing a concept of a dispatcher table shown in FIG. 2;

【図11】図2に示した文字修飾情報のデータ構造を説
明する図である。
FIG. 11 is a diagram illustrating a data structure of character modification information shown in FIG. 2;

【図12】図2に示した文字修飾情報設定部による修飾
機能のビットマスク処理例を示す図である。
12 is a diagram showing an example of a bit mask process of a decoration function by the character decoration information setting unit shown in FIG. 2;

【図13】図2に示したレイアウト情報の一例を示す図
である。
FIG. 13 is a diagram showing an example of the layout information shown in FIG. 2;

【図14】本発明に係る印刷制御装置のデータ処理手順
の一例を示すフローチャートである。
FIG. 14 is a flowchart illustrating an example of a data processing procedure of the print control apparatus according to the present invention.

【図15】図14に示したデータ処理手順の第1の要部
データ処理手順の一例を示すフローチャートである。
FIG. 15 is a flowchart illustrating an example of a first main part data processing procedure of the data processing procedure illustrated in FIG. 14;

【図16】図14に示したデータ処理手順の第2の要部
データ処理手順の一例を示すフローチャートである。
FIG. 16 is a flowchart illustrating an example of a second main part data processing procedure of the data processing procedure illustrated in FIG. 14;

【図17】図14に示したデータ処理手順の第3の要部
データ処理手順の一例を示すフローチャートである。
FIG. 17 is a flowchart illustrating an example of a third main data processing procedure of the data processing procedure illustrated in FIG. 14;

【図18】図14に示したデータ処理手順の第4の要部
データ処理手順の一例を示すフローチャートである。
FIG. 18 is a flowchart illustrating an example of a fourth main part data processing procedure of the data processing procedure illustrated in FIG. 14;

【図19】本発明の第2実施形態を示す印刷制御装置に
おけるデータフローダイアグラムを示す図である。
FIG. 19 is a diagram illustrating a data flow diagram in the print control apparatus according to the second embodiment of the present invention.

【図20】本発明に係る印刷制御装置で読み出し可能な
各種データ処理プログラムを格納する記憶媒体のメモリ
マップを説明する図である。
FIG. 20 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the print control device according to the present invention.

【図21】この種の印刷制御装置における印刷データの
構造を説明する図である。
FIG. 21 is a diagram illustrating the structure of print data in this type of print control device.

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

12 CPU 13 ROM 14 外部メモリ 19 RAM 12 CPU 13 ROM 14 External memory 19 RAM

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 所定の通信媒体を介して外部装置から入
力される印刷情報を解析して印刷部を制御する印刷制御
装置であって、 前記印刷情報を第1のプリンタ制御コマンド体系に基づ
いて解析して印刷データに変換する第1の変換情報を記
憶する第1の記憶手段と、 選択すべき前記変換資源候補を内部または外部に指定す
る指定手段と、 前記指定手段による前記変換資源候補の指定状態に基づ
いて第2のプリンタ制御コマンド体系に従う印刷情報を
前記第1のプリンタ制御コマンド体系のコマンドとして
共有解析可能とするための第2の変換情報を前記外部装
置から取得する取得手段と、 前記指定手段により指定された前記変換資源候補に基づ
いて前記印刷情報に対する変換資源を前記第1の変換情
報または前記第2の変換情報に組み替える制御手段と、
を有することを特徴とする印刷制御装置。
1. A printing control apparatus for controlling a printing unit by analyzing print information input from an external device via a predetermined communication medium, wherein the print information is obtained based on a first printer control command system. First storage means for storing first conversion information to be analyzed and converted into print data; designation means for designating the conversion resource candidate to be selected internally or externally; and designation of the conversion resource candidate by the designation means. Acquiring means for acquiring, from the external device, second conversion information for enabling print information according to a second printer control command system to be shared and analyzed as a command of the first printer control command system based on a designated state; A conversion resource for the print information is rearranged into the first conversion information or the second conversion information based on the conversion resource candidate specified by the specifying unit. And control means,
A print control device comprising:
【請求項2】 所定の通信媒体を介して外部装置から入
力される印刷情報を解析して印刷部を制御する印刷制御
装置であって、 前記印刷情報を第1のプリンタ制御コマンド体系に基づ
いて解析して印刷データに変換する第1の変換情報を記
憶する第1の記憶手段と、 前記外部装置による前記変換資源候補の指定状態に基づ
いて第2のプリンタ制御コマンド体系に従う印刷情報を
前記第1のプリンタ制御コマンド体系のコマンドとして
共有解析可能とするための第2の変換情報を前記外部装
置から取得する取得手段と、 前記指定手段により指定された前記変換資源候補に基づ
いて前記印刷情報に対する変換資源を前記第1の変換情
報または前記第2の変換情報に組み替える制御手段と、
を有することを特徴とする印刷制御装置。
2. A print control apparatus for controlling a printing unit by analyzing print information input from an external device via a predetermined communication medium, wherein the print information is based on a first printer control command system. First storage means for storing first conversion information to be analyzed and converted into print data; and print information according to a second printer control command system based on a designation state of the conversion resource candidate by the external device. Acquiring means for acquiring, from the external device, second conversion information for enabling shared analysis as a command of the first printer control command system; and acquiring the second conversion information for the print information based on the conversion resource candidate specified by the specifying means. Control means for rearranging the conversion resource into the first conversion information or the second conversion information;
A print control device comprising:
【請求項3】 所定の通信媒体を介して外部装置から入
力される印刷情報を解析して印刷部を制御する印刷制御
方法であって、 選択すべき前記変換資源候補の指定状態を判定する判定
工程と、 該判定結果に基づいて第2のプリンタ制御コマンド体系
に従う印刷情報を前記第1のプリンタ制御コマンド体系
のコマンドとして共有解析可能とするための第2の変換
情報を前記外部装置から取得する取得工程と、 前記指定された前記変換資源候補に基づいて前記印刷情
報に対する変換資源を前記第1の変換情報または前記第
2の変換情報に組み替える組み替え工程と、を有するこ
とを特徴とする印刷制御方法。
3. A print control method for controlling a print unit by analyzing print information input from an external device via a predetermined communication medium, wherein a determination is made to determine a designation state of the conversion resource candidate to be selected. And obtaining, from the external device, second conversion information for enabling print information according to a second printer control command system to be shared and analyzed as a command of the first printer control command system based on the determination result. Print control, comprising: an acquiring step; and a re-arrangement step of re-arranging a conversion resource for the print information into the first conversion information or the second conversion information based on the specified conversion resource candidate. Method.
【請求項4】 所定の通信媒体を介して外部装置から入
力される印刷情報を解析して印刷部を制御するコンピュ
ータが読み出し可能なプログラムを格納した記憶媒体で
あって、 選択すべき前記変換資源候補の指定状態を判定する判定
工程と、 該判定結果に基づいて第2のプリンタ制御コマンド体系
に従う印刷情報を前記第1のプリンタ制御コマンド体系
のコマンドとして共有解析可能とするための第2の変換
情報を前記外部装置から取得する取得工程と、 前記指定された前記変換資源候補に基づいて前記印刷情
報に対する変換資源を前記第1の変換情報または前記第
2の変換情報に組み替える組み替え工程とを含む、コン
ピュータが読むことができるプログラムを格納したこと
を特徴とする記憶媒体。
4. A storage medium storing a computer-readable program for analyzing print information input from an external device via a predetermined communication medium and controlling a printing unit, wherein said conversion resource is to be selected. A determination step of determining a candidate designation state; and a second conversion for enabling print information according to a second printer control command system to be shared and analyzed as a command of the first printer control command system based on the determination result. An acquisition step of acquiring information from the external device; and a reordering step of reordering conversion resources for the print information into the first conversion information or the second conversion information based on the specified conversion resource candidates. A storage medium storing a computer-readable program.
JP8317222A 1996-11-28 1996-11-28 Print control device and method therefor, and storage medium storing computer readable program Pending JPH10161821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8317222A JPH10161821A (en) 1996-11-28 1996-11-28 Print control device and method therefor, and storage medium storing computer readable program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8317222A JPH10161821A (en) 1996-11-28 1996-11-28 Print control device and method therefor, and storage medium storing computer readable program

Publications (1)

Publication Number Publication Date
JPH10161821A true JPH10161821A (en) 1998-06-19

Family

ID=18085846

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8317222A Pending JPH10161821A (en) 1996-11-28 1996-11-28 Print control device and method therefor, and storage medium storing computer readable program

Country Status (1)

Country Link
JP (1) JPH10161821A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008009967A (en) * 2006-05-31 2008-01-17 Ricoh Co Ltd Information processor, information processing system, program and storage medium thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008009967A (en) * 2006-05-31 2008-01-17 Ricoh Co Ltd Information processor, information processing system, program and storage medium thereof

Similar Documents

Publication Publication Date Title
US7779168B2 (en) Information processing apparatus, information processing method, and computer-readable memory medium storing program for realizing the method
JP3679678B2 (en) Printing control apparatus and control method therefor
US7155476B2 (en) Print system, printing method, and storage medium
JP2003044472A (en) Information processor, system for processing information, control method for information processor, storage medium and control program
JP3814324B2 (en) Print control apparatus and print control method
US20030038959A1 (en) Data processing apparatus capable of communicating with output apparatus and its data processing method
JP2003058528A (en) Character processor, character processing method and program
JP3962649B2 (en) Font downloading apparatus and method
JP2004192390A (en) Data processor
US7589861B2 (en) Image forming apparatus and printing system
JPH1148583A (en) Method and system for processing information and memory medium
JP4467855B2 (en) Information processing apparatus, information processing method, and program
US20040263892A1 (en) Information processisng apparatus, information processing method, and control program
JPH10161821A (en) Print control device and method therefor, and storage medium storing computer readable program
EP2284689B1 (en) PDL data processing device
JP2004038527A (en) Printer driver, printing control method, computer-readable storage medium, and program
JPH11191042A (en) Data processor, data processing method therefor, and storage medium stored with computer-readable program
JPH09190313A (en) Printer control device and method therefor
JP2000181650A (en) Data processor, driver installing method for data processor and storage medium with readable program by computer stored therein
JP3618828B2 (en) Information processing apparatus and information processing method
JP2000339075A (en) Data processor, print server, data processing method, and storage medium storing computer readable program
JP2000163231A (en) Data processor, driver processing method for data processor and storage medium with program readable by computer stored therein
JPH07325808A (en) Document processor and processing method therefor
JPH1120241A (en) Print controller, print control method, and memory medium storing computer readable program
JPH08249138A (en) Method and device for controlling output