JPH02113323A - Printer controller - Google Patents

Printer controller

Info

Publication number
JPH02113323A
JPH02113323A JP63266758A JP26675888A JPH02113323A JP H02113323 A JPH02113323 A JP H02113323A JP 63266758 A JP63266758 A JP 63266758A JP 26675888 A JP26675888 A JP 26675888A JP H02113323 A JPH02113323 A JP H02113323A
Authority
JP
Japan
Prior art keywords
print
user
data
printer
print mode
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.)
Granted
Application number
JP63266758A
Other languages
Japanese (ja)
Other versions
JP2770351B2 (en
Inventor
Yoshikazu Ikenoue
義和 池ノ上
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.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP63266758A priority Critical patent/JP2770351B2/en
Priority to US07/424,526 priority patent/US5047957A/en
Publication of JPH02113323A publication Critical patent/JPH02113323A/en
Priority to US07/670,392 priority patent/US5068807A/en
Priority to US07/723,297 priority patent/US5131078A/en
Priority to US07/760,967 priority patent/US5119473A/en
Application granted granted Critical
Publication of JP2770351B2 publication Critical patent/JP2770351B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Laser Beam Printer (AREA)

Abstract

PURPOSE:To prevent set values of a print mode from being changed or destroyed by saving the set values of the print mode before a user changes every time the user changes and reloading the set values of the print mode after the switching. CONSTITUTION:A printer which is shared by plural hosts is provided with an area (user table) for storing the set values of the print mode corresponding to identification codes assigned to the users of the respective hosts. Then an identification code is added in data transmission every time each user changes, the set values of the user before the switching is saved in the area in the user table corresponding to the identification code of the user, and the set value of the user after the switching is reloaded from the area in the user table corresponding to the identification code of the user. Consequently, when one printer is used while connected to plural equipments, mode information on individual uses is neither changed nor destroyed.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ホストコンピュータ等のデータ処理装置から
送られるデータを印字するプリンタ、特に、レーザープ
リンタ等の電子写真式プリンタの制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a printer that prints data sent from a data processing device such as a host computer, and particularly to a control device for an electrophotographic printer such as a laser printer.

(従来技術) 一般に、ホストコンピュータ等がプリンタに送るデータ
は、実際の印字パターンを示す印字データと、印字方法
やプリントエンジンのモードt−制御する制御データよ
りなる。プリンタの制御装置は、このデータを処理して
、実際に印字すべきドツトイメージに変換し、印字を行
うプリントエンジンに供給する。
(Prior Art) Generally, data sent from a host computer or the like to a printer consists of print data indicating an actual print pattern and control data for controlling the printing method and print engine mode. The printer control device processes this data, converts it into a dot image to be actually printed, and supplies it to a print engine that performs printing.

(発明が解決しようとする課題) 近年、印字速度が高速で、字体の品質も高く、印字時の
動作音も比較的静かなため、レーザープリンタ等の電子
写真式プリンタがかなり普及してきている。その一方、
電子写真式プリンタは価格的にはまだまだ相当に高価で
あり、パーソナルコンピュータやワードプロセッサ等に
用いられる場合、これらの機器1台ずつに接続されるの
ではなく、複数の機器が1台の電子写真式プリンタに接
続されているというように、共用されているのが現状で
ある。しかし、複数の機器に1台の電子写真式プリンタ
を共用させると、それぞれの機器が印字を行うためには
、マルチプレクサ等を用いて切換えてやる必要がある。
(Problems to be Solved by the Invention) In recent years, electrophotographic printers such as laser printers have become quite popular due to their high printing speed, high quality fonts, and relatively quiet operating noise during printing. On the other hand,
Electrophotographic printers are still quite expensive, and when used with personal computers, word processors, etc., multiple devices are connected to one electrophotographic printer, rather than being connected to each of these devices one by one. Currently, they are shared, such as being connected to a printer. However, when a single electrophotographic printer is shared by multiple devices, it is necessary to switch using a multiplexer or the like in order for each device to print.

ところが、このように切換えて使用すると、印字モード
情報(コピー枚数、用紙サイズ、マージン、フォント等
)を記憶するメモリが1つしかないため、切換前に印字
を行っていた別のユーザーのモード情報のデータが残っ
ていて、切換後のユーザーによる印字がこのモード情報
に支配されてしまったり、あるいは反対に、あるユーザ
ーの印字データと印字データとに時間的な間隔が空いて
いて、その間隔中に、他のユーザーが割込んできて切換
が行われ、新たにモード情報の設定が行われると、割込
み前のユーザーのモード情報が破壊されるという問題が
生じる。
However, when switching in this way, there is only one memory that stores print mode information (number of copies, paper size, margins, font, etc.), so the mode information of another user who was printing before switching is used. data remains and the printing by the user after switching is controlled by this mode information, or conversely, there is a time interval between the print data of a certain user and the print data during that interval. However, if another user interrupts, a switch is performed, and mode information is newly set, a problem arises in that the mode information of the user before the interruption is destroyed.

従来では、この問題を解決するために、切換が行われる
たびに、初期設定ファイルを印字データの送信前に送信
したりして、プリンタを初期化しなくてはならなかった
。しかし、初期設定ファイルを送信するといっても、現
在の多機能化が進んだプリンタでは、設定項目が多く、
非常に煩雑である。また、例えば電源を入れ直したりし
て直接プリンタを初期化する場合でも、現在のプリント
動作の完了を待ってからでないと、初期化することはで
きないし、距離的にも遠く離れたユーザーである場合、
プリンタの動作・非動作の確認が困難である。
Conventionally, in order to solve this problem, it was necessary to initialize the printer by transmitting an initial setting file before transmitting print data every time switching was performed. However, even if you send an initial settings file, with today's highly multi-functional printers, there are many setting items.
It's very complicated. Furthermore, even if you directly initialize the printer by, for example, turning the power off and then on again, you will have to wait for the current print operation to complete before you can initialize it, and if the user is far away, ,
It is difficult to confirm whether the printer is working or not.

そのため、本発明の目的は、上記の問題を解決して、1
台のプリンタが複数の機器に接続されて使用される場合
に、個々のユーザーのモード情報の変化・破壊が起こら
ないプリンタ制御装置を提供することである。
Therefore, an object of the present invention is to solve the above problems and to
To provide a printer control device that does not change or destroy mode information of individual users when a single printer is connected to a plurality of devices and used.

(課題を解決するための手段) 上記の目的を達成するため、本発明にかかるプリンタ制
御装置は、l又は複数のホストに接続可能であって、印
字データと、予めホスト毎に割り当てられた識別コード
と、印字データを印字するために必要な印字モードの設
定値を含む制御データとを、ホスト毎に選択的に入力す
る入力手段と、印字モードの設定値を記憶する書き換え
可能な第1記憶手段と、第1記憶手段に記憶された印字
モードの設定値に応じて印字データの印字制御を行う印
字制御手段と、識別コードの数似上である複数の記憶領
域を有し、第1記憶手段に記憶された印字モードの設定
値の一部または全部を、識別コードに応じて、記憶領域
の内の1つに記憶する書き換え可能な第2記憶手段と、
異なる識別コードが入力されるたびに、第1記憶手段に
記憶された印字モードの設定値による印字動作が終了す
ると、その設定値を現在の識別コードに応じた第2記憶
手段の記憶領域中に退避させた後、上記の異なる識別コ
ードに応じた第2記憶手段の記憶領域の印字モードの設
定値を第1記憶手段に復帰させる設定制御手段とからな
ることを特徴とする。
(Means for Solving the Problem) In order to achieve the above object, a printer control device according to the present invention is connectable to one or a plurality of hosts, and prints data and an identification assigned to each host in advance. An input means for selectively inputting a code and control data including print mode setting values necessary for printing the print data for each host, and a rewritable first memory for storing the print mode setting values. means, a print control means for controlling printing of print data according to the print mode setting value stored in the first storage means, and a plurality of storage areas whose number is approximately equal to the number of identification codes; rewritable second storage means for storing part or all of the print mode setting values stored in the means in one of the storage areas according to the identification code;
Each time a different identification code is input, when the printing operation based on the print mode setting value stored in the first storage means is completed, the setting value is stored in the storage area of the second storage means according to the current identification code. The present invention is characterized by comprising a setting control means for restoring to the first storage means the setting value of the print mode in the storage area of the second storage means according to the above-mentioned different identification code after the evacuation.

(作用) 本発明に係るプリンタ制御装置は、複数のホストに共用
されているプリンタにおいて、各ホストのユーザー毎に
識別コードを割り当て、その識別コードに応じて、印字
モードの設定値を記憶する領域(ユーザーテーブル)を
設けて、各ユーザーに切換わるごとに、データ送信時に
識別コードを付加することで、切換前のユーザーの設定
値をユーザーテーブル中のそのユーザーの識別コードに
応じた領域に退避させ、切換後のユーザーの設定値全ユ
ーザーテーブル中のそのユーザーの識別コードに応じた
領域から復帰させる。
(Function) In a printer shared by a plurality of hosts, the printer control device according to the present invention allocates an identification code to each user of each host, and stores print mode setting values in accordance with the identification code. By creating a user table (user table) and adding an identification code when sending data each time you switch to each user, the settings of the user before switching are saved to the area in the user table that corresponds to the user's identification code. The settings of the user after switching are restored from the area corresponding to the user's identification code in the all-user table.

(実施例) 以下、添付の図面を参照して本発明の実施例を説明する
(Embodiments) Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.

(a)電子写真プリンタの構成 まず、プリンタおよび制御装置の概略構成について説明
する。
(a) Configuration of electrophotographic printer First, the schematic configuration of the printer and the control device will be explained.

第1図に本発明の実施例であるプリンタ・システムIO
の処理システムの構成、および、その応用例を示す。
FIG. 1 shows a printer system IO which is an embodiment of the present invention.
The configuration of the processing system and its application examples are shown.

複数のデータ処理装置IA、IB、ICからのデータは
、スループットを改善するため、外部のファイル・マル
チプレクス・バッファ2に一旦格納された後、プリンタ
・システムlOに出力される。ファイル・マルチプレク
ス・バッファ2は、複数のデータ処理装置IA、IB、
IGをそれぞれ、1台のプリンタに接続するためのマル
チプレクサとしての機能も有している。
In order to improve throughput, data from the plurality of data processing devices IA, IB, and IC are temporarily stored in an external file multiplex buffer 2 and then output to the printer system IO. The file multiplex buffer 2 includes a plurality of data processing devices IA, IB,
It also functions as a multiplexer for connecting each IG to one printer.

プリンタ・システムlOは、ビットマツプ方式のデータ
処理装置3と、電子写真プロセスとレーザーを用いたプ
リントエンジン4と、外部給紙ユニット5やソータ6等
の付属装置よりなる。
The printer system IO consists of a bitmap type data processing device 3, a print engine 4 using an electrophotographic process and a laser, and accessory devices such as an external paper feed unit 5 and a sorter 6.

第2図に、プリンタ・システムlOの外観を示す。プリ
ントエンジン4は、上記ビットマツプ方式データ処理装
置3を内蔵しており、アクセサリとして外部給紙ユニッ
ト5と、ソータ6が接続可能である。また、プリントエ
ンジン4の上部前面には、システムの状態を示す表示や
筒車な操作を行うためのキーが並べられた操作パネル4
4が装着されている。
FIG. 2 shows the appearance of the printer system IO. The print engine 4 incorporates the bitmap type data processing device 3, and can be connected to an external paper feed unit 5 and a sorter 6 as accessories. In addition, on the upper front side of the print engine 4, there is an operation panel 4 with displays showing the system status and keys for performing hour wheel operations.
4 is installed.

第3図は、プリント・システムの通紙経路を示す中央断
面図で、三つの着脱可能な給紙カセット(51,52,
53)から選択的にペーパーは給紙される。プリントエ
ンジン4内で、クリーナ406よってトナーが取り除か
れた後、帯電チャージャ404、イレーザランプ405
によって感光体ドラム401は均一に帯電され、光学系
409から画像露光を受ける。そして、現像装置402
によってトナー像が、感光体ドラム401上に形成され
、転写チャージャ403により給紙されたペーパー上に
イメージの転写され、搬送ベルト407によってベーパ
一定着装置408に運ばれ、定着装置408による定着
処理の後、ソータ6に収納される。
FIG. 3 is a central sectional view showing the paper passing path of the printing system, showing three removable paper feed cassettes (51, 52,
Paper is selectively fed from 53). After the toner is removed by the cleaner 406 in the print engine 4, the charger 404 and the eraser lamp 405
As a result, the photosensitive drum 401 is uniformly charged and receives image exposure from the optical system 409. And the developing device 402
A toner image is formed on the photoreceptor drum 401, transferred onto paper fed by a transfer charger 403, transported to a vapor fixing device 408 by a conveyor belt 407, and subjected to fixing processing by a fixing device 408. After that, it is stored in the sorter 6.

第4図は、プリンタ・システムlOの概略ブロック図で
ある。
FIG. 4 is a schematic block diagram of printer system IO.

ビットマツプ方式データ処理装置3は、ビットマツプ制
御部(BMC)30 (第5図参照)、ビットマツプ用
のビットマツプRAM (BM−RAM)32、このB
M−RAM32に描画を行うビットマツプ書込部(BM
W)31およびフォント部33よりなる。このフォント
部33は、予め所定の7オントが記憶されたROM部分
と、外部からダウンロードされたフォントも記憶可能な
RAM部分とからなっている。プリントエンジン4との
接続は、制御データ(枚数、アクセサリ−制御など)用
のバスB3とイメージデータ用のバスB4により行う。
The bitmap type data processing device 3 includes a bitmap control unit (BMC) 30 (see FIG. 5), a bitmap RAM (BM-RAM) 32 for bitmaps, and a bitmap RAM (BM-RAM) 32 for bitmaps.
Bitmap writing section (BM
W) 31 and a font section 33. The font section 33 consists of a ROM section in which a predetermined 7 fonts are stored in advance, and a RAM section that can also store fonts downloaded from the outside. Connection with the print engine 4 is made through a bus B3 for control data (number of sheets, accessory control, etc.) and a bus B4 for image data.

プリントエンジン4は、3つの制御装置を中心に構成さ
れる。まず、インターフェース制御部(IFC)40は
ビットマツプ制御部30からの制御データの処理、操作
パネル制御、および内部バスB5を通じてプリンタ全体
のタイミングの制御を行う。電子写真制御部41は、内
部バスB5を通じてインターフェース制御部40から送
られるデータに応じて、電子写真プロセス部45の制御
を行う。
The print engine 4 is mainly composed of three control devices. First, the interface control section (IFC) 40 processes control data from the bitmap control section 30, controls the operation panel, and controls the timing of the entire printer through the internal bus B5. The electrophotographic control section 41 controls the electrophotographic processing section 45 in accordance with data sent from the interface control section 40 through the internal bus B5.

プリントヘッド制御部42は、内部バスB4を通じてビ
ットマツプ書込部31から送られてくるイメージデータ
を感光体l上に書き込むため、内部バスB5を通じてイ
ンターフェース制御部40から送られてくる情報に従っ
てプリントヘッド部43の半導体レーザーの発光やポリ
ゴン・モータ(図示せず)の回転を制御する。
The print head control section 42 controls the print head section according to information sent from the interface control section 40 via the internal bus B5 in order to write the image data sent from the bitmap writing section 31 via the internal bus B4 onto the photoreceptor l. It controls the light emission of the semiconductor laser 43 and the rotation of a polygon motor (not shown).

また、外部給紙ユニット5やソータ6も、内部バスB5
を通じて、インターフェース制御部40から制御される
In addition, the external paper feed unit 5 and the sorter 6 are also connected to the internal bus B5.
It is controlled by the interface control section 40 through the interface control section 40.

以上に説明したプリンタ・システム10は、ビットマツ
プ方式のレーザープリンタである。データ処理装置IA
、IB、ICから送られてくる印字データ(はとんどは
コードで表わされる)は、ビットマツプ方式処理装置3
のBM−RAM32上に実際の印字イメージとして展開
され、プリントエンジン4に出力される。プリントエン
ジン4では、ビットマツプ方式データ処理装置3からの
データに応じてレーザー光を変調して感光体上に記録し
、さらに記録紙に転写する。
The printer system 10 described above is a bitmap type laser printer. Data processing device IA
, IB, and IC (mostly represented by codes) are sent to the bitmap processing device 3.
The image is developed as an actual print image on the BM-RAM 32 of the printer, and is output to the print engine 4. The print engine 4 modulates the laser beam according to the data from the bitmap data processing device 3, records the data on the photoreceptor, and further transfers it onto recording paper.

データ処理装置IA、IB、Icから送られてくるデー
タには、印字データの他に、書式の制御やエンジンのモ
ード設定を行うコードも含まれる。
The data sent from the data processing devices IA, IB, and Ic includes not only print data but also codes for format control and engine mode setting.

ビットマツプ方式データ処理装置3では、印字データの
他にこれらのプロトコルの解析も行い、書式の制御や必
要に応じてプリントエンジン4への通紙やオプションの
モード変更等の指示を出す。
The bitmap type data processing device 3 analyzes these protocols in addition to the print data, controls the format, and issues instructions for feeding paper to the print engine 4, changing the optional mode, etc. as necessary.

プリントエンジン4では、上記の記録制御の他に、それ
に伴う電子写真系の制御、記録紙のタイミング制御、さ
らに、他のオプションへの通紙に同期した処理を行う。
In addition to the recording control described above, the print engine 4 performs associated electrophotographic control, recording paper timing control, and processing synchronized with paper feeding to other options.

プリントエンジン4の制御は、走査系を除いて、電子写
真複写機と同様である。
Control of the print engine 4 is similar to that of an electrophotographic copying machine except for the scanning system.

(b)ビットマツプ制御部 第5図は、ビットマツプ制御部30のブロック図である
。ビットマツプ制御部30は、内部バスB30で接続さ
れたいくつかのブロックから構成される。BM−CPU
301は、ビットマツプ方式データ処理装置3の中心と
なる制御部であり、データ処理装置インターフェース3
08を通じてデータ処理装置IA、IB、IGのうちの
いずれかやファイル・マルチプレクス・バッファ2との
通信を行ったり、プリントデータを変換し、ビットマツ
プ書込部インターフェース306を通じてビットマツプ
書込部31を制御し、プリントエンジンインターフェー
ス307を通じてプリントエンジン4を制御する。SM
S−ROM302は、BM−CPU301のプログラム
を記憶する。SYS−RAM303は、BM−CPU3
01の作業用記憶エリアであり、スタックや基本フラグ
の記憶に用いられる。
(b) Bitmap Control Section FIG. 5 is a block diagram of the bitmap control section 30. The bitmap control unit 30 is composed of several blocks connected by an internal bus B30. BM-CPU
301 is a control unit which is the central part of the bitmap type data processing device 3, and a control unit 301 which is the central part of the bitmap type data processing device 3;
It communicates with any of the data processing devices IA, IB, and IG or the file multiplex buffer 2 through 08, converts print data, and controls the bitmap writing unit 31 through the bitmap writing unit interface 306. and controls the print engine 4 through the print engine interface 307. SM
The S-ROM 302 stores programs for the BM-CPU 301. SYS-RAM303 is BM-CPU3
This is the working storage area of 01 and is used to store the stack and basic flags.

R−バッフ7304は、外部(データ処理装置IA、I
B、Icやファイル・マルチプレクス・バッファ2)と
の通信用バッファであり、8MCPU301の処理プロ
グラムとデータ処理装置lとの通信を非同期でも処理化
可能にすることを目的とする。
The R-buffer 7304 is connected to an external (data processing device IA, I
It is a buffer for communication with B, Ic, and file multiplex buffer 2), and its purpose is to enable communication between the processing program of the 8 MCPU 301 and the data processing device 1 even asynchronously.

バケットバッファ(以下P−バッファと略する)305
は、データ処理装置IA、IB、IGからのデータを、
フォントの属性から変換しf−B M −RAM32へ
の描画が容易な中間コード(以下パケットと記す)とし
て記憶する。
Bucket buffer (hereinafter abbreviated as P-buffer) 305
The data from the data processing devices IA, IB, IG,
It is converted from the font attributes and stored as an intermediate code (hereinafter referred to as a packet) that can be easily drawn in the f-B M-RAM 32.

7オントの実際の描画はビットマツプ書込部31、で行
われるが、ビットマツプ書込部31への情報としては、
7オントのパターン内蔵アドレスや、BM−RAM32
への描画アドレス等のパラメータを計算する必要がある
。これには所定の時間がかかる。そこで、BM−RAM
32のデータをプリント中に、次のページのデータを前
処理しておくことにより、処理の高速化を計るものであ
る。
The actual drawing of 7 onts is performed by the bitmap writing section 31, but the information to the bitmap writing section 31 is as follows.
7-ont pattern built-in address and BM-RAM32
It is necessary to calculate parameters such as the drawing address to. This takes a certain amount of time. Therefore, BM-RAM
By pre-processing the data of the next page while the data of 32 pages is being printed, processing speed is increased.

そのため、P−バッファ305内のデータの動きは、F
IFO(ファーストイン・ファーストアウト)となって
いる。
Therefore, the movement of data in the P-buffer 305 is F
IFO (first in, first out).

プリントエンジンインターフェース307は、プリント
エンジン4とのインターフェースであり、プリントコマ
ンドなどのJOB制御コマンドをプリントエンジン4の
インターフェースとバスB3を通じてやりとりする。
The print engine interface 307 is an interface with the print engine 4, and exchanges JOB control commands such as print commands with the print engine 4 interface via the bus B3.

(C)ビットマツプ制御のフロー これより、フローチャートを参照しながら、本システム
の動作説明を行う。
(C) Flow of Bitmap Control The operation of this system will now be explained with reference to flowcharts.

第7図〜第17図は、ビットマツプ制御部30の地理を
示すフローチャートである。
7 to 17 are flowcharts showing the geography of the bitmap control section 30.

第7図において、まず、電源が投入されると(ステップ
S11以下ステツプを略する。)、内部の初期化を行い
(S2)、R−バッファ304、P−バッファ305お
よびBM−RAM32のクリアを行った後(S3)、パ
ラメータの初期化を行う(S4)。
In FIG. 7, first, when the power is turned on (steps S11 and below are omitted), the internals are initialized (S2) and the R-buffer 304, P-buffer 305 and BM-RAM 32 are cleared. After this (S3), parameters are initialized (S4).

各パラメータの機能は次の通りである。The function of each parameter is as follows.

JOBACT:あるページに対してプリント状態である
(設定枚数のプリントが完了 していない)ことを示す。
JOBACT: Indicates that a certain page is being printed (printing of the set number of sheets has not been completed).

BMWR[TE : BM−RAM32に何らかのデー
タが書込まれたかどうかを示す。
BMWWR[TE: Indicates whether any data has been written to the BM-RAM32.

JOBEJTニブリント起動要求を示す。Indicates a JOBEJT niblint start request.

LPWRITE :ページデータ(イメージ)の仮編集
を開始したことを示す。
LPWRITE: Indicates that temporary editing of page data (image) has started.

ENBANS :データ処理装置へのメッセージの送信
を許可することを示す。
ENBANS: Indicates that sending a message to the data processing device is permitted.

ENB I D :データ処理装置へのメツセージにI
Dコードを付加することを示す。
ENB ID: I for message to data processing device
Indicates that a D code is added.

IDC0DE : IDコードの設定値を示す。IDC0DE: Indicates the ID code setting value.

また、ユーザーテーブル(以下、USERTBL)も初
期値をセットしておく(S5)。USERTBLは第6
図に示すように、ユーザーIDごとにプリンタの各種設
定値を退避しておくための記憶エリアである。USER
TBLは単なる退避エリアであって、実際に使用すると
きは各IDコードのUSERTBLの内容をカレントテ
ーブル(以下、CURRTBL)に転送して用いる。こ
れは、アドレス変換等の複雑な演算処理を省き、処理の
高速化が図れるためである。このUSERTBLは、本
実施例では、SYS−RAM303内に設けられ、プリ
ンタの電源がOFFになっても、その内容が保持される
ようにバッテリー・バックアップされるのが好ましい。
Further, initial values are also set for the user table (hereinafter referred to as USERTBL) (S5). USERTBL is the 6th
As shown in the figure, this is a storage area for saving various printer setting values for each user ID. USER
TBL is simply a save area, and when actually used, the contents of USERTBL of each ID code are transferred to a current table (hereinafter referred to as CURRTBL) for use. This is because complex arithmetic processing such as address conversion can be omitted and processing speed can be increased. In this embodiment, this USERTBL is provided in the SYS-RAM 303, and is preferably backed up by a battery so that its contents are retained even when the power of the printer is turned off.

なお、第6図のCURRTBL内のフォント実装情報は
、電源投入時に読み込まれるが、カセット実装情報は、
その状態に変化があれば、図示しない割り込みルーチン
によって、IFC40から送られてきて更新される。
Note that the font mounting information in CURRTBL in Figure 6 is read when the power is turned on, but the cassette mounting information is
If there is a change in the status, the information is sent from the IFC 40 and updated by an interrupt routine (not shown).

続いて、割り込みを許可して(S6)、印字データの編
集に用いるフォント属性を読込み、7オント実装情報と
して、SYS−RAM303に記憶される(S7)。そ
して、給紙カセットの初期設定を行った後(S8)、実
処理ループ(S9〜512)に入る。
Subsequently, interrupts are permitted (S6), and font attributes used for editing print data are read and stored in the SYS-RAM 303 as 7-ont implementation information (S7). After initial setting of the paper feed cassette (S8), the actual processing loop (S9 to S512) is entered.

実処理ループは大別して、次の四つの処理に分けられる
The actual processing loop can be roughly divided into the following four processes.

0受信データ処理(S9):データ処理装置からの受信
データ処理と、パケットへの変換 を行う。
0 Received data processing (S9): Processes the received data from the data processing device and converts it into a packet.

01FCコマンド処理(S l O): プリントエン
ジン4からのデータを処理する。
01FC command processing (S l O): Processes data from the print engine 4.

0パケツト処理(S l l):パケットに応じたBM
RAM32への描画処理を行う。
0 packet processing (S l l): BM according to the packet
Performs drawing processing to the RAM 32.

0プリント・シーケンス処理(S12):  IFC4
0とのプリント・シーケンスの処理を 行う。
0 print sequence processing (S12): IFC4
Process the print sequence with 0.

データ処理装置から送られるデータは、通信の効率を上
げるため、後で述べる受信割込処理により、受信バッフ
ァであるR−バッファ304に一旦蓄えられる。
In order to improve communication efficiency, data sent from the data processing device is temporarily stored in the R-buffer 304, which is a reception buffer, by reception interrupt processing described later.

受信されたデータは、受信データ処理(S9)で、R−
バッファ304から取出されパケットに変換され、P−
バッファ305に一度蓄えられる。
The received data is processed as R- in the received data processing (S9).
It is taken out from the buffer 304 and converted into a packet, P-
It is stored once in the buffer 305.

その後、パケット処理(Sll)で取出され、対応する
フォントがビットマツプ書込部31によりBM−RAM
32に描画される。受信データのうち、プリント要求コ
ード(PAGE、EJECT)を検出すると、プリント
・シーケンス処理(S12、第11図参照)により、実
際のプリントが起動される。
Thereafter, the packet processing (Sll) takes out the corresponding font, and the bitmap writing section 31 stores the corresponding font in the BM-RAM.
32. When a print request code (PAGE, EJECT) is detected in the received data, actual printing is started by print sequence processing (S12, see FIG. 11).

〈受信データ処理〉 受信データ処理(S9)の70−を第8図(a)、(b
)に示す。
<Received data processing> 70- of received data processing (S9) is shown in FIGS. 8(a) and (b).
).

第8図(a) 、 (b)において、受信データはあら
かじめ、ビットマツプ書込部31への出力が容易なパケ
ットに変換され、P−バッファ305に蓄えられる。こ
れは、プリント中もBM−RAM32からの出力の受信
データの変換を平行して行うことにより、スループット
を向上させるためである。
In FIGS. 8(a) and 8(b), received data is converted in advance into packets that can be easily output to the bitmap writing section 31, and stored in the P-buffer 305. This is to improve throughput by converting the received data output from the BM-RAM 32 in parallel even during printing.

まず、P−バッファ305に空きが有ることを確認しく
521)、さらに、データがR−バッファ304に受信
されていれば(S22”l’YEs)、処理を継続する
First, it is checked that there is space in the P-buffer 305 (521), and if data has been received in the R-buffer 304 (S22''l'YES), the process is continued.

受信データが、プリントすべき文字コードである場合(
570−373)は、CURRTBL上の現在のフォン
ト・コードと電源投入時に読み込んだ7オント属性に従
って、パケットに変換する(S 72)。具体的な変換
手順としては、まず、その文字コードに対応するパター
ンのフォント・アドレスがP−バッファ305に出力さ
れ、順次、BM−RAM32への書き込みアドレスがP
−バッファ305に出力され、ビットマツプ書込部31
への書き込みモードが出力される。そして、最後に今回
のフォントの大きさ等に応じて次のフォント(7)BM
−RAM32への書き込みアドレスを更新しておく(S
73)。この処理により、最終的なプリント結果フォー
マットが決まる。この処理は実際のBM−RAM32へ
の編集描画とは異なり仮想的な編集といえる。また、ペ
ージ先頭文字の描画を行うときは(S70でYES)、
同時に仮編集の開始を示すLPWRITE7ラグをlに
セットしておく(371)。
If the received data is a character code to be printed (
570-373) converts it into a packet according to the current font code on CURRTBL and the 7-ont attribute read at power-on (S72). As a specific conversion procedure, first, the font address of the pattern corresponding to the character code is output to the P-buffer 305, and then the write address to the BM-RAM 32 is sequentially outputted to the P-buffer 305.
- Output to the buffer 305 and bitmap writing section 31
The write mode is output. And finally, depending on the size of the font this time, select the next font (7) BM
- Update the write address to RAM32 (S
73). This process determines the final print result format. This process can be said to be virtual editing, unlike actual editing and drawing to the BM-RAM 32. Also, when drawing the first character of the page (YES in S70),
At the same time, the LPWRITE7 lag indicating the start of temporary editing is set to l (371).

プリント枚数や給紙カセットの切換やオプションの動作
等を設定するインターフェース制御部関連コード(I 
FC関連コード)である場合(S24でYES)、文字
のバケツH&理(Sll)での処理を同期させるため、
文字とは異なった形式のパケットでP−バッファ305
に出力される(S25)。また、CURRTBLも更新
しておく (526)。
Interface control unit related code (I
FC related code) (YES in S24), in order to synchronize the processing in the character bucket H&L (Sll),
P-buffer 305 with packets in a format different from characters.
(S25). Additionally, CURRTBL is also updated (526).

IFC関連コードでなく(S24でNo)、PAGE、
EJECTコードである場合(S30でYES)、この
コードは1ペ一ジ分のデータの終了を示しており、パケ
ット処理のときプリントを起動させるコードであって、
それ以前の文字がBMRAM32に書込まれたら、プリ
ントを起動する。このコードも前後の文字と処理を同期
させるため、P−バッファ305に出力される(S31
)。
Not an IFC related code (No in S24), PAGE,
If it is an EJECT code (YES in S30), this code indicates the end of one page of data, and is a code that starts printing during packet processing,
When the previous characters are written into the BMRAM 32, printing is started. This code is also output to the P-buffer 305 in order to synchronize processing with the preceding and following characters (S31
).

このとき、次ページの仮編集の準備としてLPWRIT
E7ラグをリセットしておく(S32)。
At this time, in preparation for temporary editing of the next page, LPWRIT
Reset the E7 lag (S32).

S30でPAGE、EJECTコードでなく(NO)、
書式制御コードである場合は(S35でYES)、それ
ぞれのコードに対応してBM−RAM32への書込アド
レスを変更したり、マージン設定等の変更についてはC
URRTBLを更新する(S36)。
PAGE in S30, not EJECT code (NO),
If it is a format control code (YES in S35), change the write address to BM-RAM32 corresponding to each code, change margin settings, etc.
URRTBL is updated (S36).

S35で書式制御コードでなく(No)、カセット選択
の場合は(S40でYES)、指定のモードに従ってカ
セット選択を行う(S41.第12図参照)。
If the format control code is not selected in S35 (No) and the cassette is selected (YES in S40), the cassette is selected according to the specified mode (S41, see FIG. 12).

S40でカセット選択でなく(No)、フォント選択の
場合は(S45でYES)、上と同様、フォント選択を
行う(S46、第13図参照)。
If the cassette selection is not selected at S40 (No) and the font selection is selected (YES at S45), the font selection is performed in the same manner as above (S46, see FIG. 13).

S50〜S53は、プリンタシステムlOでの処理状態
をデータ処理装置に通知するかしないかを設定する処理
である。データ処理装置に通知するアンサ−モードの指
定コードであれば(S50でYES)、さらに、アンサ
−モードが許可指定でアレば(S51でYES)、デー
タ処理装置へのメツセージの送信を許可するENBAN
Sフラグをセットしく552)、アンサ−モードが許可
指定でなければ(S51でNo) 、ENBANSフラ
グをリセットする(s 53)。
S50 to S53 are processes for setting whether or not to notify the data processing device of the processing status in the printer system IO. If the answer mode designation code is to notify the data processing device (YES in S50), and if the answer mode is permission designation (YES in S51), the ENBAN code is used to permit message transmission to the data processing device.
The S flag is set (552), and if the answer mode is not specified as permission (No in S51), the ENBANS flag is reset (s53).

S55〜S69の処理は、共用のプリンタシステムIO
を使用するユーザーの識別コード(IDコード)の処理
に関するものである。
The processing of S55 to S69 is performed using the shared printer system IO.
This relates to the processing of identification codes (ID codes) of users who use the .

IDコードを用いるIDモードが指定され(S55でY
ES)、許可指定であれば(S56でYES)、IDモ
ードに入ったことを示すENB IDフラグをセットし
く557)、許可指定でなければ(S56でNo)、I
Dモードでないことを示すためENBIDフラグをリセ
ットする(S58)。ここで、IDモードの場合は、デ
ータ処理装置へのメツセージにIDが付加され、さらに
、編集条件等のパラメータはユーザー毎に管理されるよ
うになる。
ID mode using ID code is specified (Y in S55).
ES), if permission is specified (YES in S56), set the ENB ID flag indicating that the ID mode has been entered 557), if permission is not specified (No in S56), I
The ENBID flag is reset to indicate that it is not the D mode (S58). In the ID mode, an ID is added to the message sent to the data processing device, and parameters such as editing conditions are managed for each user.

560〜S69の処理は本発明に係るもので、IDコー
ドの設定と、設定されたIDコードに応じたパラメータ
設定値の変更に関する処理である。
The processes from 560 to S69 are related to the present invention, and are processes related to setting an ID code and changing parameter setting values according to the set ID code.

IDコードの指定があると(S60でYES)、IDモ
ードが許可されていない場合(S61でNO)か、また
許可されている場合(S61でYES)であっても、ユ
ーザーに変更がなければ(S62でNO)”、無視され
る。ユーザーに変更があり、その変更前のユーザーのデ
ータが仮編集状態にあれば(S63でLPWRITE=
1) 、変更後のユーザーのデータと分離するために、
PAGE、EJECTコードをP−バッファ305に出
力して強制的に排出(印字)させ(S64)、LPWR
ITEフラグをリセットしておく(S65)。
If the ID code is specified (YES in S60), ID mode is not allowed (NO in S61), or even if it is allowed (YES in S61), unless the user changes it. (NO in S62)", it is ignored. If there is a change in the user and the user's data before the change is in the temporary editing state (LPWRITE=
1) In order to separate it from the user's data after the change,
Output the PAGE and EJECT codes to the P-buffer 305 and forcefully eject (print) them (S64), then LPWR
The ITE flag is reset (S65).

変更前のユーザーのデータが仮編集状態か否かにかかわ
らず、変更前のユーザーの各種パラメータをCURRT
BLから退避させた後(S66)、変更後のユーザーの
各種パラメータを、その該当するIDコードのUSER
TBL (第6図参照)からCURRTBLに復帰させ
(567)、IDC0DEも更新しておく(368)。
CURRT various parameters of the user before the change, regardless of whether the user's data before the change is in a temporary editing state.
After saving from the BL (S66), the various parameters of the user after the change are saved to the USER of the corresponding ID code.
The TBL (see FIG. 6) is returned to the CURRTBL (567), and the IDC0DE is also updated (368).

そして、再設定地理(S69、第14図参照)を行い、
変更後のユーザーのためのプリンタエンジン1(lの各
種設定を行う。
Then, perform resetting geography (S69, see Figure 14),
Perform various settings for the printer engine 1 (l) for the user after the change.

<IFCコマンド処理〉 第9図は、インターフェース制御部(IFC)40かも
のコマンドの処理(S 10)のフローである。
<IFC Command Processing> FIG. 9 is a flowchart of command processing (S10) by the interface control unit (IFC) 40.

EXP、ENDコマンド(Slot)は、インターフェ
ース制御部(IFC)40とプリント・シーケンスの同
期をとるコマンドで、プリントエンジン4で1枚のプリ
ントのレーザー露光か終了したことを示す。
The EXP and END commands (Slot) are commands for synchronizing the print sequence with the interface control unit (IFC) 40, and indicate that the print engine 4 has finished laser exposure for one print.

このコマンドは、プリント中のみ有効であるので、JO
BACT−1でなければ、そのままリターンし、JOB
ACT−0であれば5103に移る(S l 02)。
This command is valid only during printing, so JO
If it is not BACT-1, return as is and JOB
If it is ACT-0, the process moves to 5103 (S l 02).

同一イメージに対するマルチ・プリントの場合、8MC
30では、このタイミングで、次のプリント起動フラグ
をセットする(S104)。シ:lグル・プリントや、
マルチ・プリントの最後の場合は(S103でNO)、
プリント状態を示すJOBACTフラグをリセットしく
5105)、BM−RAM32をクリアするとともにB
M−RAM32への描画状態を示すBMWRITEをク
リアしくS l 06)、次のイメージの準備を行う。
8MC for multiple prints on the same image
At step 30, the next print start flag is set at this timing (S104). C:l Guru print,
In the case of the last multi-print (NO in S103),
Reset the JOBACT flag indicating the print status (5105), clear the BM-RAM32, and
Clear BMWWRITE indicating the drawing status in the M-RAM 32 (S106) and prepare for the next image.

この2種類の判断は、EXP、ENDコマンドのJOB
ENDフラグによって行われる(S I O3)。これ
は、マルチ・プリント等の枚数のコントロールをインタ
ーフェース制御部40で行っているためである。
These two types of judgment are EXP, END command JOB
This is done using the END flag (S I O3). This is because the interface control unit 40 controls the number of sheets for multi-printing, etc.

くパケット処理〉 第1O図に示すパケット処理(Sll)の70−では 
P  7(ッファ305に蓄えられたパケットの処理を
行う。パケットには、プリントすべき文字用のパケット
と、制御用のパケットがある。BM−RAM32の変更
は、前のイメージのプリントアウトが完了しないと行え
ないため、プリント状態(JOBACT−1)の場合は
(S l 21でNO)、処理を行わない。またパケッ
トがない、即ち、P−バッファがエンプティの場合(S
 123でYES)も処理を行わない。
Packet processing> In the packet processing (Sll) 70- shown in Figure 1O,
P 7 (Processes the packets stored in the buffer 305. The packets include a character packet to be printed and a control packet. Changes in the BM-RAM 32 are made when the printout of the previous image is completed. Therefore, in the print state (JOBACT-1) (NO in S121), no processing is performed.Also, if there is no packet, that is, the P-buffer is empty (S
123: YES), no processing is performed.

文字用のパケットの場合(S 124でYES)は、ビ
ットマップ1込部31へ出力する(s 125)。
If the packet is for characters (YES in S124), it is output to the bitmap 1 inclusion section 31 (S125).

ビットマツプ書込部31では、パケットを解析して、フ
ォントアドレスに応じlこパターンをフォント部33か
らBM−RAM32に描画する。一つのパケット処理中
は、次のパケットを処理できない(S126)のでリタ
ーンする。この文字が最初の場合(BMWRITE=O
,5126でYES)は、BMWRITEフラグをセッ
トしておく(S127)。
The bitmap writing section 31 analyzes the packet and draws a pattern from the font section 33 to the BM-RAM 32 according to the font address. While one packet is being processed, the next packet cannot be processed (S126), so the process returns. If this character is the first (BMWRITE=O
, 5126), the BMWRITE flag is set (S127).

文字パケット以外の制御用パケットの場合(S124で
No)、まず、プリント動作の開始を示すJOBSTA
RTコードであれば(S130でYES)、IFCにそ
のJOBSTARTコードを出力する(S l 31)
。IFC関連コード(S135でYES)は、主として
マルチ・プリント枚数、給紙カセットの指定やアクセサ
リの動作モードの指定を行うもので、IFC40へ出力
される(S136)。
In the case of a control packet other than a character packet (No in S124), first, JOBSTA indicating the start of a print operation is sent.
If it is an RT code (YES in S130), output the JOBSTART code to IFC (S l 31).
. The IFC-related code (YES in S135) mainly specifies the number of multi-print sheets, the paper feed cassette, and the operation mode of the accessory, and is output to the IFC 40 (S136).

PAGE、E J ECT(S l 40でYES)は
、ページの区切りを示すもので、このコード以前にBM
−RAM32に描画されたイメージが出力される。その
ために、まず、JOBACTフラグをセットし、コピー
状態に切換え、以後のBM−RAM32への描画を禁止
し、プリント起動要求フラグJOBEJTをセットして
おく(slり。
PAGE, E J ECT (YES at S l 40) indicates a page break, and before this code BM
- The image drawn in the RAM 32 is output. To do this, first, set the JOBACT flag, switch to the copy state, prohibit future drawing to the BM-RAM 32, and set the print start request flag JOBEJT (sl).

このフラグは、プリント・シーケンス(第11図参照)
で判断され、実際にIFC40ヘプリントコマンドPR
NC:MDが出力され、さらにIFCへプリントエンジ
ン部の起動を要求する5TARTコマンドを出力する(
S l 42)。
This flag is used to print the print sequence (see Figure 11).
It was judged that the print command PR to IFC40 was actually executed.
NC: MD is output, and a 5TART command requesting startup of the print engine section is output to IFC (
S l 42).

JOBEJTは、プリント・シーケンス処理で認識され
た後、リセットされる(S l 65)が、JOBAC
Tは、プリントエンジン部のコピー処理等が完了したと
きに、IFCから送られてくる図示しないコマンドでリ
セットされるようになっている。
JOBEJT is reset (S l 65) after being recognized in print sequence processing, but JOBAC
T is configured to be reset by a command (not shown) sent from the IFC when the print engine section completes copy processing, etc.

サイズ情報の場合は(3145でYES)、そし以降、
BM−RAM32へビットマツプ書込部31で書き込む
際のモードを変更するため、ビットマツプ書込部31へ
出力される(S 146)。
For size information (3145: YES), then
In order to change the mode in which the bitmap writing section 31 writes into the BM-RAM 32, it is output to the bitmap writing section 31 (S146).

ここで変更されるモードには、例えば、イメージ1ライ
ン当たりのメモリ容量等がある。
The mode changed here includes, for example, the memory capacity per line of the image.

〈プリント・シーケンス〉 第11図に示すプリント・シーケンス処理(S12)の
フローでは、JOB制御用フラグ(JOBEJT)や、
ビットマツプ書込部31の状態に応じて、実際にプリン
トの起動を行う。
<Print sequence> In the flow of print sequence processing (S12) shown in FIG. 11, the JOB control flag (JOBEJT),
Depending on the state of the bitmap writing section 31, printing is actually started.

プリント起動は、プリント起動要求時(J 0BEJT
−1,5161でYES)に行われるが、ビットマツプ
書込部31が最後のパケットを処理中(S162でNo
)は、起動できない。
Print startup is performed at the time of print startup request (J0BEJT
-1,5161 is YES), but the bitmap writing unit 31 is processing the last packet (S162 is NO).
) cannot be started.

プリント起動可能であれば、ビットマツプ書込部31を
プリントモードに切換えた後(S163)、TFC40
に露光の開始を要求するプリントコマンド(PRNCM
D)を出力しくS l 64)、JOBEJTフラグを
リセットする(S I 65)。
If printing can be started, after switching the bitmap writing section 31 to print mode (S163), the TFC 40
A print command (PRNCM) that requests the start of exposure
D) is output (SI 64) and the JOBEJT flag is reset (SI 65).

〈カセット選択〉 第12図は、カセット選択の処理の70−である。カセ
ット選択は、各ページの最初(具体的には、印字データ
受信前、LPWRITE−0)のときのみ有効となる(
S l 81)。これは、仮編集したイメージのレイア
ウトを保障するためである。カセットの指定には用紙サ
イズによる指定と、カセットの位置による指定の2つの
モードがある。
<Cassette Selection> FIG. 12 shows step 70- of the cassette selection process. Cassette selection is valid only at the beginning of each page (specifically, before print data is received, at LPWRITE-0).
S l 81). This is to ensure the layout of the temporarily edited image. There are two modes for specifying a cassette: specification by paper size and specification by cassette position.

両モードとも、すでに指定値と同一のモードになってい
る場合には、処理が省略される(S183゜5186で
YES) まず、サイズ指定の場合は(S l 82でYES)、
記憶しているカセット情報から該当サイズのカセットを
サーチする(S184)。見つかった場合(S185で
YES)は、用紙も入っているかチエツクした後(S1
88)、更新を行う(5189〜5192)。
In both modes, if the mode is already the same as the specified value, the process is omitted (YES in S183゜5186) First, in the case of size specification (YES in S l 82),
A cassette of the corresponding size is searched from the stored cassette information (S184). If it is found (YES in S185), check whether paper is also included (S1
88), updates are performed (5189-5192).

一方、カセット位置指定の場合(S l 82でNO)
は、該当カセットが装着されているかチエツクしく5i
86)、使用可能であれば、更新する。
On the other hand, in the case of specifying the cassette position (NO in S l 82)
Please check if the corresponding cassette is installed in the 5i.
86), update if available.

このとき、正しくコマンドが処理されたかを、データ処
理装置に通知する。正しく処理された場合はACK処理
(S 193、第15図参照)、正しく処理されなかっ
た場合はNAK処理(S194、第16図参照)が行わ
れる。
At this time, the data processing device is notified whether the command has been processed correctly. If the processing is correct, an ACK process (S193, see FIG. 15) is performed, and if the process is not correct, a NAK process (S194, see FIG. 16) is performed.

〈フォント選択〉 第13図は、フォント選択の処理フローである。<Font selection> FIG. 13 is a processing flow of font selection.

まず、指定されたフォント属性を解析しくS’201)
、続いてフォント実装情報を調べ(S202)、該当フ
ォントがあれば(S 203でYES)、使用中の7オ
ントを更新しく5204) 、ACK処理を行う(S 
205)。該当フォントが無ければ、NAK処理を行う
(s 206)。
First, analyze the specified font attributes (S'201)
Next, check the font implementation information (S202), and if the corresponding font is found (YES in S203), update the 7 onts in use (5204), and perform ACK processing (S202).
205). If there is no corresponding font, NAK processing is performed (s206).

く再設定〉 第14図に、再設定処理のフローを示す。再設定処理は
、プリンタをあるユーザーに切換え、そのユーザー用に
設定がなされた後、再び、切換前の状態に戻す際、CU
RRTBLの復帰だけでは不可能なプリントエンジン等
を含めた再設定を行う。
Resetting> FIG. 14 shows the flow of the resetting process. The resetting process is performed when the printer is switched to a certain user, the settings have been made for that user, and then the CU
Performs resetting including the print engine, etc., which is impossible by just restoring RRTBL.

再設定には、通常のデータ処理装置からの指定による処
理と同一の処理を用いる。このとき、ブタ処理装置に結
果を通知する処理が含まれているので、不必要なメツセ
ージが、データ処理装置に返されないように、現在のE
NBANS7ラグを退避した後、0として、−時的に送
信を禁止しておく (S211.S212)。
The same process as that specified by a normal data processing device is used for resetting. At this time, since the process of notifying the result to the pig processing device is included, the current E
After saving the NBANS7 lag, it is set to 0 and transmission is temporarily prohibited (S211, S212).

次に、CURRTBLからカセットの設定値を取り出し
く5213)、カセット選択処理を行う(S214)。
Next, the cassette setting values are retrieved from CURRTBL (5213), and cassette selection processing is performed (S214).

フォントの設定についても、同様にCURRTBLから
フォント属性を取り出しく5215)、フォント選択処
理を行う(S 216)。
Regarding font settings, font attributes are similarly extracted from CURRTBL (5215) and font selection processing is performed (S216).

そして、現在のTFC関連情報は、直接P−バッファ3
05に出力しく5217)、最後に退避していたENB
ANSフラグを復帰する(S218)。
Then, the current TFC related information is directly stored in the P-buffer 3
5217), and the ENB that was last evacuated
The ANS flag is restored (S218).

<ACK/NAK処理〉 第15図、第16図はそれぞれ、データ処理装置に処理
が正しく行われ1−、ことを通知するACK処理、正し
く行われなかったことを通知するNAK処理である。
<ACK/NAK Processing> FIGS. 15 and 16 respectively show an ACK process that notifies the data processing device that the process has been performed correctly, and a NAK process that notifies the data processing device that the process has not been correctly performed.

いずれも、ENBANSフラグが1のとき(S221.
5231でYES)のみ、処理が行われる。また、EN
BIDフラグが1となって(S222.5232)、I
Dモードであれば、現在のIDコードをデータ処理装置
に、まず送られ(S223.5233)、続いて、AC
K処理の場合はACKメツセージを(S224)、NA
K処理の場合はNAKメツセージをデータ処理装置にお
くる(S 234)。
In both cases, when the ENBANS flag is 1 (S221.
5231 (YES), the process is performed. Also, EN
The BID flag becomes 1 (S222.5232), and the I
In D mode, the current ID code is first sent to the data processing device (S223.5233), and then the AC
In the case of K processing, send an ACK message (S224), NA
In the case of K processing, a NAK message is sent to the data processing device (S234).

く受信割込〉 第17図のフローは、データ処理装置インターフェース
308からの割込み要求の処理であり、データ処理装置
lから、ファイルマルチズレクスバッファ2を介して、
データの入力があれば(S241)、R−バッファ30
4に蓄える(S242)。
Reception Interrupt> The flow shown in FIG. 17 is the processing of an interrupt request from the data processing device interface 308.
If there is data input (S241), the R-buffer 30
4 (S242).

本実施例では、受信データは−Hパケットに変換された
後でP−バッファ305に出力されているが、本発明は
これに限られるものではない。
In this embodiment, the received data is output to the P-buffer 305 after being converted into a -H packet, but the present invention is not limited to this.

また、IDコードは、なにも各ホスト毎に一つずつ割り
当てるのではなく、同一ホストであってもユーザーの変
更があり得る場合には、各ホストに複数個のIDコード
を割り当ててもよい。
Also, instead of assigning one ID code to each host, multiple ID codes may be assigned to each host if the user may change even if the host is the same. .

本発明は、上記の実施例に限定されることなく、特許請
求の範囲に記載された範囲内で種々の変更が可能なのは
いうまでもない。
It goes without saying that the present invention is not limited to the above-described embodiments, but can be modified in various ways within the scope of the claims.

(効果) 印字モードの設定値をユーザー毎に記憶する記憶領域を
持たせて、複数台のパーソナルコンピュータやワードプ
ロセッサ等のホストに共用されているプリンタにおいて
、各ホストが切換わる、あるいは同一ホストであっても
、ユーザーが替わるたびに、切換前のホスト(ユーザー
)の印字モードの設定値を退避させ、切換後のホスト(
ユーザー)の印字モードの設定値を復帰させることで、
従来生じていた印字モードの設定値の変化・破壊が防止
できるので、プリントの前にわざわざ初期化ファイルを
送信したり、プリンタを直接初期状態に戻したりすると
いった無駄な手間がなくなる。
(Effects) In printers that are shared by multiple hosts such as personal computers or word processors, by providing a storage area for storing print mode settings for each user, each host can be switched or the same host can be used. However, each time the user changes, the print mode settings of the host (user) before the change are saved, and the print mode settings of the host (user) after the change are saved.
By restoring the print mode settings (user),
Since it is possible to prevent the print mode settings from changing or being destroyed, which previously occurred, there is no need to send an initialization file before printing or to directly return the printer to its initial state.

さらに、プリンタから遠く離れたユーザーにとって、プ
リンタの状態を気にせず、印字させたい7アイルを送る
ことができる。
Furthermore, users who are far away from the printer can send the 7 isles they want to print without worrying about the status of the printer.

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

第1図は、本発明の実施例に係る電子写真式プリンタの
システム構成図である。 第2図は、プリンタシステムの斜視図である。 第3図は、プリンタンステムの中央断面図である。 第4図は、ビットマツプ方式データ処理装置とフリント
エンジンのブロック図である。 第5図は、ビットマツプ制御部のブロック図である。 第6図は、ユーザーテーブルとカレントテーブルを模式
的に示した図である。 第7図は、プリンタ動作のメイン70−チャートで1t
r)る。 第8図(a)、(b)はそれぞれ、本発明に係る受信デ
ータ処理のフローチャートである。 第9図は、インターフェース制御部のコマンド処理のフ
ローチャートである。 第1O図は、パケット処理のフローチャートである。 第11図は、プリント・シーケンス処理のフローチャー
トである。 第12図は、カセット選択処理のフローチャートである
。 第13図は、7オント選択処理のフローチャートである
。 第14図は、再設定処理のフローチャートである。 第15図は、ACK処理の70−チャートである。 第16図は、NAK処理のフローチャートである。 第17図は、受信割込の70−チャートである。 kA、IB、Ic・・・データ処理装置、2・・・ファ
イル・マルチプレクス・バッファ、3・・・ビットマツ
プ方式データ処理装置、IO・・・プリンタシステム、 30・・・ビットマツプ制御部、 301・・・BM−CPU。 302・・・SMS−ROM。 303・・・SYS−RAM。 304・・・R−バッファ、 305・・・P−バッファ。 特許出願人 ミノルタカメラ株式会社 代 理 人 弁理士 青白 葆 はか1名第2図 第1 図 第4g 3ヒ゛ットマップ方式テ“−タ又;理褒1ノ USERTBL 第 図 第 図 CURRTBL 第 図 第 図 第 13 図
FIG. 1 is a system configuration diagram of an electrophotographic printer according to an embodiment of the present invention. FIG. 2 is a perspective view of the printer system. FIG. 3 is a central sectional view of the printer stem. FIG. 4 is a block diagram of a bitmap type data processing device and a flint engine. FIG. 5 is a block diagram of the bitmap control section. FIG. 6 is a diagram schematically showing a user table and a current table. Figure 7 is a main 70-chart of printer operation.
r). FIGS. 8(a) and 8(b) are flowcharts of received data processing according to the present invention, respectively. FIG. 9 is a flowchart of command processing by the interface control unit. FIG. 1O is a flowchart of packet processing. FIG. 11 is a flowchart of print sequence processing. FIG. 12 is a flowchart of the cassette selection process. FIG. 13 is a flowchart of the 7-ont selection process. FIG. 14 is a flowchart of the resetting process. FIG. 15 is a 70-chart of ACK processing. FIG. 16 is a flowchart of NAK processing. FIG. 17 is a 70-chart of reception interrupts. kA, IB, Ic...data processing device, 2...file multiplex buffer, 3...bitmap type data processing device, IO...printer system, 30...bitmap control unit, 301. ...BM-CPU. 302...SMS-ROM. 303...SYS-RAM. 304...R-buffer, 305...P-buffer. Patent Applicant: Minolta Camera Co., Ltd. Agent Patent Attorney: 1 person (1 person) Fig. 2 Fig. 1 Fig. 4g 3-bit map method data; Figure 13

Claims (1)

【特許請求の範囲】[Claims] (1)1又は複数のホストに接続可能であって、印字デ
ータと、予めホスト毎に割り当てられた識別コードと、
印字データを印字するために必要な印字モードの設定値
を含む制御データとを、ホスト毎に選択的に入力する入
力手段と、 印字モードの設定値を記憶する書き換え可能な第1記憶
手段と、 第1記憶手段に記憶された印字モードの設定値に応じて
印字データの印字制御を行う印字制御手段と、 識別コードの数以上である複数の記憶領域を有し、第1
記憶手段に記憶された印字モードの設定値の一部または
全部を、識別コードに応じて、記憶領域の内の1つに記
憶する書き換え可能な第2記憶手段と、 異なる識別コードが入力されるたびに、第1記憶手段に
記憶された印字モードの設定値による印字動作が終了す
ると、その設定値を現在の識別コードに応じた第2記憶
手段の記憶領域中に退避させた後、上記の異なる識別コ
ードに応じた第2記憶手段の記憶領域の印字モードの設
定値を第1記憶手段に復帰させる設定制御手段とからな
ることを特徴とするプリンタ制御装置。
(1) Connectable to one or more hosts, and print data and an identification code assigned to each host in advance;
an input means for selectively inputting control data including print mode setting values necessary for printing the print data for each host; a rewritable first storage means for storing the print mode setting values; a print control means for controlling printing of print data according to a setting value of a print mode stored in the first storage means; and a plurality of storage areas equal to or greater than the number of identification codes;
rewritable second storage means for storing part or all of the print mode setting values stored in the storage means in one of the storage areas according to the identification code; and a different identification code is input. Each time, when the printing operation based on the print mode setting value stored in the first storage means is completed, the setting value is saved in the storage area of the second storage means according to the current identification code, and then the above-mentioned process is performed. 1. A printer control device comprising: a setting control means for restoring a print mode setting value in a storage area of a second storage means to the first storage means in accordance with a different identification code.
JP63266758A 1988-10-21 1988-10-21 Printer Expired - Lifetime JP2770351B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP63266758A JP2770351B2 (en) 1988-10-21 1988-10-21 Printer
US07/424,526 US5047957A (en) 1988-10-21 1989-10-19 Printer controller
US07/670,392 US5068807A (en) 1988-10-21 1991-03-15 Printer controller
US07/723,297 US5131078A (en) 1988-10-21 1991-06-28 Printer controller
US07/760,967 US5119473A (en) 1988-10-21 1991-09-17 Printer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63266758A JP2770351B2 (en) 1988-10-21 1988-10-21 Printer

Publications (2)

Publication Number Publication Date
JPH02113323A true JPH02113323A (en) 1990-04-25
JP2770351B2 JP2770351B2 (en) 1998-07-02

Family

ID=17435301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63266758A Expired - Lifetime JP2770351B2 (en) 1988-10-21 1988-10-21 Printer

Country Status (1)

Country Link
JP (1) JP2770351B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05143254A (en) * 1991-11-22 1993-06-11 Nagano Oki Denki Kk Wireless printer server
US5268993A (en) * 1990-06-04 1993-12-07 Minolta Camera Kabushiki Kaisha Printer
JPH08263237A (en) * 1995-03-22 1996-10-11 Nec Data Terminal Ltd Device and method for printing initializable for each user

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62274332A (en) * 1986-05-22 1987-11-28 Nec Corp Predefined value display system for screen
JPS6327924A (en) * 1986-07-22 1988-02-05 Nec Corp User-classified format control printer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62274332A (en) * 1986-05-22 1987-11-28 Nec Corp Predefined value display system for screen
JPS6327924A (en) * 1986-07-22 1988-02-05 Nec Corp User-classified format control printer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5268993A (en) * 1990-06-04 1993-12-07 Minolta Camera Kabushiki Kaisha Printer
JPH05143254A (en) * 1991-11-22 1993-06-11 Nagano Oki Denki Kk Wireless printer server
JPH08263237A (en) * 1995-03-22 1996-10-11 Nec Data Terminal Ltd Device and method for printing initializable for each user

Also Published As

Publication number Publication date
JP2770351B2 (en) 1998-07-02

Similar Documents

Publication Publication Date Title
US5119473A (en) Printer controller
US6985257B2 (en) Job processing apparatus
US4933772A (en) Electrophotographic printer with improved timing arrangements
US4992882A (en) Printer
US7746494B2 (en) Data processing apparatus, data processing method, printer driver, print control apparatus, print control method, and printing system
JP4708591B2 (en) Information processing system, information processing apparatus, information processing method, and program
US5861957A (en) Image outputting apparatus with auxiliary memory device for storing a plurality of control programs
JPH02113323A (en) Printer controller
JPH03136095A (en) Image forming device
JPH11353138A (en) Device and method for managing image information, and storage medium
JP3832979B2 (en) Print control apparatus, print control method, and storage medium
JP2000330752A (en) Device, system and method for forming image and storage medium
JPH02113326A (en) Printer controller
JPH02113324A (en) Printer controller
JPS63288771A (en) Controller for printer
JPH02132517A (en) Printer controller
JP3583879B2 (en) Printer control device
JP4487337B2 (en) Print output system and printer
JPH10190927A (en) Information processing system and information processing method
EP1315075A2 (en) Printing engine control system and printing engine control program
JPH02132518A (en) Printer controller
JP3037536B2 (en) Scanner / printer server system and its interrupt print control method
JPH02113325A (en) Printer controller
JP2000151756A (en) Network system and data transferring method
JP3862440B2 (en) Printing apparatus, printing control method, and storage medium

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080417

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090417

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090417

Year of fee payment: 11