JPH0224162A - Data process system - Google Patents

Data process system

Info

Publication number
JPH0224162A
JPH0224162A JP63173371A JP17337188A JPH0224162A JP H0224162 A JPH0224162 A JP H0224162A JP 63173371 A JP63173371 A JP 63173371A JP 17337188 A JP17337188 A JP 17337188A JP H0224162 A JPH0224162 A JP H0224162A
Authority
JP
Japan
Prior art keywords
data
priority
code
processing
print
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
JP63173371A
Other languages
Japanese (ja)
Inventor
Takashi Morikawa
高志 森川
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 JP63173371A priority Critical patent/JPH0224162A/en
Publication of JPH0224162A publication Critical patent/JPH0224162A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Laser Beam Printer (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PURPOSE:To process printing data including text data only prior to others to reduce a waiting time by a method wherein with respect to data applied with a priority indication code the data is outputted to a first processing means until it is applied with a priority indication end code, and the data is processed prior to others as far as the first data processing means has the data. CONSTITUTION:If data read from a data processor interface 105 is a priority indication code, a priority flag for judging that the data has priority with respect to the processing of the succeeding reception data is turned ON, an edition parameter is retracted, and the process returns to a main routine. If the data read from the data processor interface 105 is a priority indication end code, the priority flag is turned OFF, the edition parameter is reset, a page feed code is generated to be outputted to a priority R-buffer 120, and the process returns to the main routine. If the priority flag has been turned OFF already in the presence of the priority indication end code, this code is ignored, and the process returns as it is.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、レーザープリンタ等のプリンタのデータ処理
方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a data processing method for a printer such as a laser printer.

(従来技術) 従来の電子写真式プリンタでは、その内部において、予
め用意されたフォント・パターンを利用して描画される
テキストデータとラスター及びベクタ〒形態のグラフィ
ックデータのそれぞれ二つの描画データが、受信される
順番に処理され、描画されている。
(Prior Art) A conventional electrophotographic printer internally receives two types of drawing data: text data drawn using a font pattern prepared in advance, and graphic data in raster and vector formats. They are processed and drawn in the order in which they are displayed.

(発明の解決すべき課題) しかしながら、テキストデータとグラフィックデータで
は、処理時間に相当の違いが有る。テキストデータでは
、フォント・パターンのデータを読み出すだけであるの
で、処理に時間は殆どかからないが、グラフィックデー
タは複雑な演算処理が必要であり、数分から時には数十
分もの処理時間を費やす。従って、上記のように、受信
したデータをその順番通りに処理する方式においては、
処理時間のかからないテキストデータのみの印字データ
が、グラフィックデータを含む印字データの後で受信さ
れた場合、グラフィックデータを含む印字データの処理
の終了を待ってからでないと、処理時間が殆どかからな
いのにもかかわらず、テキストデータのみの印字データ
の処理を行うことができない。そのため、印字中に、次
の受信データを解析及び各種処理を行うことのできるプ
リンタにおいても、印字を開始するまでの待ち時間が発
生してしまうことがあった。
(Problems to be Solved by the Invention) However, there is a considerable difference in processing time between text data and graphic data. Text data requires almost no time to process because it only involves reading font pattern data, but graphic data requires complex arithmetic processing, which takes several minutes to sometimes tens of minutes to process. Therefore, in the method described above, in which received data is processed in the order in which it is received,
If print data consisting only of text data, which requires less processing time, is received after print data containing graphic data, it is necessary to wait for the processing of the print data containing graphic data to finish, even though it would take almost no processing time. However, it is not possible to process print data that is only text data. Therefore, even in printers that can analyze and perform various processing on the next received data during printing, a waiting time may occur until printing starts.

そこで、本発明の目的は、処理時間のかかるグラフィッ
クデータを含む印字データが先に受信されても、テキス
トデータのみの印字データが受信されれば、そのテキス
トデータのみの印字データの方を先に処理し、その処理
済みのテキストの印字中にグラフィックデータを処理さ
せて、待ち時間の短縮を行うことである。
Therefore, an object of the present invention is to receive print data containing only text data first, even if print data containing graphic data that requires processing time is received first. To reduce waiting time, graphic data is processed while the processed text is being printed.

(課題を解決するための手段) 上記の目的を解決するために、本発明のデータ処理方式
は、外部から入力されるデータを一時的に記憶するため
のデータ記憶手段と、印字イメージを記憶する印字イメ
ージ記憶手段と、該データ記憶手段に記憶されたデータ
を解析するデータ解析手段と、該データ解析手段による
解析結果が、印字データのコードである場合には、それ
を該印字イメー7記憶手段に印字イメージとして書き込
む描画手段とを備えた優先処理のための第1データ処理
手段と、外部から入力されるデータを一時的に記憶する
ためのデータ記憶手段と、印字イメージを記憶する印字
イメージ記憶手段と、該データ記憶手段に記憶されたデ
ータを解析するデータ解析手段と、該データ解析手段に
よる解析結果が、印字データのコードである場合には、
それを該印字イメージ記憶手段に印字イメージとして書
き込む描画手段とを備えた通常処理のための第2データ
処理手段と、上記データは、テキストデータとグラフィ
ックデータとを含む印字データと、ある印字データの先
頭に付加して、その印字データの優先処理を行わせる優
先指定コードと、ある印字データの最後に付加して、そ
の印字データの優先処理を終了させる優先指定終了コー
ドとを含む制御コードとからなっており、これらのデー
タの種類を識別する識別手段とを備え、上記識別手段に
よって、上記データ中に優先指定コードが認識された場
合は、それ以降のデータを、上記データ中に優先を旨定
終了コードが認識されるまで、第1データ処理手段のデ
ータ記憶手段に入力してデータ処理を行わせ、優先指定
終了コードが認ifiされると、それ以降のデータを、
上記データ中に優先指定コードが認識されるまで、第2
データ処理手段のデータ記憶手段に入力してデータ処理
を行わせ、第1データ処理手段中にデータがある限りは
、その処理が終了するまで、第2データ処理手段中のデ
ータの処理を行わないように制御することを特徴とする
(Means for Solving the Problem) In order to solve the above object, the data processing method of the present invention includes a data storage means for temporarily storing data input from the outside, and a data storage means for storing a print image. a print image storage means; a data analysis means for analyzing the data stored in the data storage means; and when the analysis result by the data analysis means is a code of print data, it is stored in the print image 7 storage means. a first data processing means for priority processing, which includes a drawing means for writing as a print image on the computer; a data storage means for temporarily storing data input from the outside; and a print image storage for storing the print image. means, a data analysis means for analyzing the data stored in the data storage means, and when the analysis result by the data analysis means is a code of print data,
a second data processing means for normal processing, comprising a drawing means for writing the data as a print image in the print image storage means; the data includes print data including text data and graphic data; A control code that includes a priority designation code that is added to the beginning of the print data to perform priority processing for that print data, and a priority designation end code that is added to the end of certain print data to terminate the priority processing of that print data. and identification means for identifying the type of data, and if the identification means recognizes a priority designation code in the data, subsequent data will be marked with a priority designation code in the data. The data is input to the data storage means of the first data processing means until the specified end code is recognized, and the data is processed, and when the priority designated end code is recognized, subsequent data is
Until the priority designation code is recognized in the above data, the second
The data is input to the data storage means of the data processing means and data is processed, and as long as there is data in the first data processing means, the data in the second data processing means is not processed until the processing is completed. It is characterized by being controlled as follows.

(作用) 優先指定コードが付けられたデータに対しては、優先措
定終了コードが付けられるまで第1 (優先)データ処
理手段に出力し、優先指定コードが付けられていないデ
ータに対しては、第2(通常)データ処理手段に出力し
て、第1データ処理手段にデータがある限りは、そのデ
ータを優先的に処理する。
(Operation) Data to which a priority designation code is attached is output to the first (priority) data processing means until a priority end code is attached, and data to which a priority designation code is not attached is output to the first (priority) data processing means. The data is output to the second (normal) data processing means, and as long as there is data in the first data processing means, that data is processed preferentially.

また、優先指定終了コードによって、優先指定の終了を
指定する。
Further, the end of priority designation is specified by the priority designation end code.

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

第2図は、本発明の実施例であるプリンタシステム10
の処理システムの構成を示す。
FIG. 2 shows a printer system 10 that is an embodiment of the present invention.
The configuration of the processing system is shown below.

汎用のデータ処理装置1からのデータは、データ処理装
置lのスループット向上のため、外部のファイリングバ
ッファ2に一旦格納された後、プリンタシステム10に
出力される。このデータ処理装置1から送られてくるデ
ータは、印字用のテキストデータ及びグラフィックデー
タと、改行・改頁等を行わせるためにプリントエンジン
の制御を行うためのコードや、本発明に係る優先処理を
指定及び解除する優先指定コード、優先指定終了コード
を含む制御コードとからなっている。
Data from the general-purpose data processing device 1 is temporarily stored in an external filing buffer 2 and then output to the printer system 10 in order to improve the throughput of the data processing device 1. The data sent from this data processing device 1 includes text data and graphic data for printing, codes for controlling the print engine to perform line breaks, page breaks, etc., and priority processing related to the present invention. It consists of a priority designation code for designating and canceling the priority designation, and a control code including a priority designation end code.

この電子写真式プリンタシステム10は、ビットマツプ
方式データ処理装置3、プリントエンジン4、外部給紙
ユニット5及びソータ6からなっている。
This electrophotographic printer system 10 includes a bitmap data processing device 3, a print engine 4, an external paper feed unit 5, and a sorter 6.

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

第4図は、本発明を実施させるのに必要である優先処理
部を、通常処理部と並列に設けた第2図のビットマツプ
方式データ処理装置3のブロック図を示す。
FIG. 4 shows a block diagram of the bitmap type data processing device 3 of FIG. 2, in which a priority processing section necessary for carrying out the present invention is provided in parallel with a normal processing section.

このビットマツプ方式処理装置3は、内部バスで接続さ
れた幾つかのブロックから構成される。
This bitmap processing device 3 is composed of several blocks connected by an internal bus.

101〜106は、優先処理部及び通常処理部に共通に
接続されるブロックである。BM−CPUIOIは、ビ
ットマツプ方式処理装置3の中心となる制御部であり、
データ処理装置インターフェイス105を通じてデータ
処理装置lと外部のファイルバッファ2を介して通信を
行ったり、プリントエンジンインターフェイス106を
通じてプリントエンジン4を制御したり、後述するよう
に、プリントデータを変換してビットマツプ書込部イン
ターフェイス1127uび優先ビ、トマ、ブ書込部イン
ターフェイス122を通じてビットマツプ書込部113
及び優先ビットマツプ書込部123を制御する。SYS
−ROM102は、BM−CPUIOIのプログラムを
記憶する。SYS−RAM103は、BM−CPUIO
Lの作業用記憶エリアであり、スタックや基本フラグの
記憶に用いられる。
101 to 106 are blocks commonly connected to the priority processing section and the normal processing section. BM-CPUIOI is a central control unit of the bitmap processing device 3,
It communicates with the data processing device l through the data processing device interface 105 via the external file buffer 2, controls the print engine 4 through the print engine interface 106, and converts print data to write bitmap data as described later. Bitmap writing section 113 through writing section interface 1127u and priority bitmap writing section interface 122.
and controls the priority bitmap writing section 123. SYS
-ROM102 stores the program of BM-CPUIOI. SYS-RAM103 is BM-CPUIO
This is the working storage area of L, and is used to store the stack and basic flags.

110−114は、優先処理を要しない受信データの処
理を行うための通常処理部であり、本願発明にいう第2
データ処理手段を構成する。
110-114 is a normal processing unit for processing received data that does not require priority processing;
Configure data processing means.

また、120〜124は、本発明における優先指定コー
ドが付された受信データの優先処理を行うための優先処
理部であり、本願発明にいう第1データ処理手段として
、第2データ処理手段と並列に設けられる。
Reference numerals 120 to 124 are priority processing units for performing priority processing on received data to which a priority designation code has been attached in the present invention. established in

なお、フォント部115については、優先処理部と通常
処理部とがそれぞれ持つ必要がないので、共有させてい
る。
It should be noted that the font section 115 is shared between the priority processing section and the normal processing section since it is not necessary to have each of them.

以下に、通常処理部及び優先処理部の説明を行う。また
、優先指定コードの付された優先処理されるべきデータ
は、優先R−バッファ120に記憶され、通常処理のデ
ータは、R−バッファ110に記憶されるように、BM
−CPUIOIが制御しており、基本的な動作は優先処
理部も通常処理部と同じである。
The normal processing section and the priority processing section will be explained below. Furthermore, data to be processed with priority and assigned a priority designation code is stored in the priority R-buffer 120, and data to be processed normally is stored in the R-buffer 110.
- It is controlled by the CPUIOI, and the basic operation of the priority processing section is the same as that of the normal processing section.

R−バッファ110及ヒffl先R−”ソファ120は
、外部(データ処理装置1やファイルノ\、ファ2)と
の通信用バッファであり、BM−CPUIOlの処理プ
ログラムとデータ処理装置lとの通信を非同期でも行え
ることを可能とする。
The R-buffer 110 and the destination R-sofa 120 are buffers for communication with the outside (data processing device 1, file no. \, file 2), and are used to communicate between the processing program of the BM-CPUIOl and the data processing device l. It is possible to perform communication even asynchronously.

P−RAMIII及び優先P−RAM121は、データ
処理装置1からの各種のデータを、処理が容易な中間コ
ードとして記憶する。
The P-RAM III and the priority P-RAM 121 store various data from the data processing device 1 as intermediate codes that are easy to process.

実際の描画は、ビソトマ・ノブ書込部113及び優先ビ
ットマツプ書込部123で行われるが、ビットマツプ書
込部113及び優先ビットマツプ書込部123への情報
としては、フォント部115のパターン内蔵アドレスや
、ビットマツプRAM114及び優先ビットマツプRA
M124への描画アドレス等のパラメータがある。これ
らのノ々ラメータの計算には所定の時間かかかる。そこ
で、ビットマツプRAM114及び優先ビ・ソトマノフ
RAM124のデータのプリント中に、次のページのデ
ータを前処理しておくことにより、処理の高速化を計る
ものである。そのため、P−RAMI 11及び優先!
”−RAMI 21内のデータの動きは、ファーストイ
ン・ファーストアウトとなっている。
Actual drawing is performed by the bisotoma knob writing section 113 and the priority bitmap writing section 123, but the information to the bitmap writing section 113 and the priority bitmap writing section 123 includes the pattern built-in address of the font section 115, etc. , bitmap RAM 114 and priority bitmap RA
There are parameters such as a drawing address to M124. Calculating these parameters takes a certain amount of time. Therefore, while the data in the bit map RAM 114 and the priority bi-Sotmanov RAM 124 are being printed, the data for the next page is preprocessed to speed up the processing. Therefore, P-RAMI 11 and Priority!
”-The movement of data within the RAMI 21 is first-in, first-out.

本実施例では、上記のビットマツプRAMlI4、優先
ビットマツ7”RAM l 24は、同一のメモリ内に
設けられているが、別々のメモリであっても良い。また
、グラフィックデータも優先処理の対象とする場合には
、ビットマツプRAMlI4だけでなく、優先ビットマ
ツプRAM124も1ペ一ジ分の記憶容量が必要となる
In this embodiment, the bitmap RAM 14 and the priority bitmap RAM 124 are provided in the same memory, but they may be separate memories.Furthermore, graphic data is also subject to priority processing. In this case, not only the bitmap RAM 14 but also the priority bitmap RAM 124 requires a storage capacity for one page.

また、プリントエンジンインターフェイス106は、プ
リントエンジン4とのインターフェイスであり、プリン
トコマンドなどのJOB制?lコマンドをプリントエン
ジン4のインターフェイスと通信用バスを通じてやりと
りする。
Further, the print engine interface 106 is an interface with the print engine 4, and is used to issue job-based commands such as print commands. l commands are exchanged with the print engine 4 interface through the communication bus.

本発明の優先処理を行う実施例は、上記のビットマツプ
方式データ処理装置3の構成を用い、以下に述べるプリ
ンタ装置の制御フローにより達成できる。
An embodiment of the present invention that performs priority processing can be achieved by using the configuration of the bitmap type data processing device 3 described above and by the control flow of the printer device described below.

第5図は、プリンタ装置のメインフローである。FIG. 5 shows the main flow of the printer device.

電源がオンされると、内部の初期化を行い(ステップS
L、以下ステップを略する)、各種バッファ及びRAM
をクリアしくS2)、フォント部115からセルサイズ
等のフォント属性情報を読み込み(S3)、スインチ設
定(インターフェイス切替等)及び内部デフォルト値(
マージン等)による初期設定を行う(S4)。
When the power is turned on, internal initialization is performed (step S
(hereinafter steps are omitted), various buffers and RAM
(S2), reads font attribute information such as cell size from the font section 115 (S3), and sets switch settings (interface switching, etc.) and internal default values (
Initial settings are performed using margins, etc.) (S4).

以上の初期動作完了後に、ホストコンピュータ等のデー
タ処理装置1からのデータ受信を許可し、受信データの
処理ループに入る。
After the above initial operations are completed, data reception from the data processing device 1 such as a host computer is permitted, and a received data processing loop is entered.

受信データ処理(S5)では、R−バッファ110又は
優先R−t< 、、ファ120にデータかあるかを判断
して、処理を行う。
In the received data processing (S5), it is determined whether there is data in the R-buffer 110 or the priority R-t<, , 120, and the processing is performed.

第6図は、受信データ処理のフローを示す。この処理は
主に、受信されたデータの中間コードへの変換を行う。
FIG. 6 shows the flow of received data processing. This process mainly involves converting received data into intermediate code.

中間コードに予め変換しておくことで、印字の際のデー
タ解析の時間を短くシて、トータルの印字時間を短縮す
るためである。
This is because by converting the data into an intermediate code in advance, the time for data analysis during printing is shortened, and the total printing time is shortened.

優先R−バッファ120に優先データかあれば(S51
てYES)、優先処理を行うために、852〜S57の
処理を行う。S52て、優先データを優先R−バッファ
120から読み込み、そのデータが制御コードでなけれ
ば(S53てNo)、即ち印字データやグラフィックデ
ータであれば、所定のフォーマントに中間コードとして
変換しく554)、優先P−RAM121に出力する(
S57)。また、制御コードであった場合には(S53
でYES)、詳細は省くが、各種の制御コード処理を行
い(S55)、それを優先PRAMI21に出力する必
要があれば(856でYES)、優先P−RAM121
に出力する(S57)。
If there is priority data in the priority R-buffer 120 (S51
(YES), processes 852 to S57 are performed to perform priority processing. In S52, the priority data is read from the priority R-buffer 120, and if the data is not a control code (No in S53), that is, if it is print data or graphic data, it is converted into a predetermined format as an intermediate code (554). , output to the priority P-RAM 121 (
S57). In addition, if it is a control code (S53
(YES at 856), the details are omitted, but if it is necessary to process various control codes (S55) and output them to the priority PRAM 21 (YES at 856), the priority P-RAM 121
(S57).

優先R−バッファ120゛にデータがなければ(S51
でNO)、862〜S67の通常処理を行う。
If there is no data in the priority R-buffer 120゛ (S51
(NO), normal processing from 862 to S67 is performed.

この通常処理は、上記の352〜S57の優先処理に用
いられる優先R−バッファ120(S52)、優先P−
RAM121  (S57)の代わりに、Rバッファ1
10、P−RAM111を用いれば、同じ手順となるの
で、説明を省略する。
This normal processing includes the priority R-buffer 120 (S52) and the priority P-buffer 120 (S52) used in the priority processing of 352 to S57 above.
R buffer 1 instead of RAM 121 (S57)
10. If the P-RAM 111 is used, the procedure will be the same, so the explanation will be omitted.

第5図に戻って説明を続ける。この受信データの処理の
後、優先ビア)マツプ124がアクセス可能であれば(
S6でYES)、次に説明するパケット処理を行う(S
7)。
Returning to FIG. 5, the explanation will be continued. After processing this received data, if the priority via) map 124 is accessible (
YES in S6), performs the packet processing described next (S6).
7).

第7図は、パケット処理のフローである。優先P−RA
Ml 21に優先データがあれば(S71でYES) 
、372〜S77の優先パケット処理を行う。S72で
、優先P−RAM121からデータを読み込み(S72
)、そのデータが制御コードを示すデータであれば(S
73でYES)、制御コードの解析か行われ(S74)
、改頁指定のコードであれば(S75でYES)、排紙
要求を行い(S76)、リターンする。改頁指定コード
でなければ(S75でNO) 、そのままリターンする
。また、優先P−RAMI 21から読み込んだデータ
が制御コードを示すものでなければ(S73でNO)、
即ち印字データやグラフィックデータであれば、それぞ
れ、所定のフォントデータやラスターデータを優先ビッ
トマツプRAM124に展開して(S77)、リターン
する。
FIG. 7 is a flowchart of packet processing. Priority P-RA
If there is priority data in Ml 21 (YES in S71)
, 372 to S77 are performed. At S72, data is read from the priority P-RAM 121 (S72
), if the data indicates a control code (S
73: YES), the control code is analyzed (S74)
, if the code specifies a page break (YES in S75), a paper discharge request is made (S76) and the process returns. If it is not a page break designation code (NO in S75), the process returns directly. Also, if the data read from the priority P-RAMI 21 does not indicate a control code (NO in S73),
That is, if it is print data or graphic data, predetermined font data or raster data are developed in the priority bitmap RAM 124 (S77), and the process returns.

優先P−RAM121にデータがなければ(S71でN
o)、382〜S87の通常のパケット処理を行う。こ
の通常処理は、上記の372〜S77の優先処理に用い
られる優先P−RAM121(S72)、優先ビットマ
ツプRAM124 (S77)の代わりに、P−RAM
l 11、ビットマツプRAM114を用いれば、同じ
手順となるので、説明を省略する。
If there is no data in the priority P-RAM 121 (N in S71)
o), normal packet processing from 382 to S87 is performed. In this normal processing, the P-RAM is
If the bitmap RAM 114 is used, the same procedure will be used, so the explanation will be omitted.

再び第5図に戻って説明を続ける。上記のパケット処理
の後、排紙要求(876又は886)か出ていれば(S
8でYES) 、S9でプリントコントロールを行い(
S9)、排紙を行ったり、次のペーパーの給紙を行う。
Returning to FIG. 5 again, the explanation will be continued. After the above packet processing, if a paper ejection request (876 or 886) is issued (S
8: YES), perform print control on S9 (
S9), the paper is ejected and the next paper is fed.

以上の処理とは非同期に、データ受信が行われる。第1
図は、このデータ受信のフローである。
Data reception is performed asynchronously with the above processing. 1st
The figure shows the flow of this data reception.

以上の優先処理を行わせるために、ホストコンピュータ
等のデータ処理装置lは、データ送信の際に、優先指定
コード及び優先指定終了コードを新たに付加して送信し
、これらのコード以下のデータは、それぞれ優先処理す
べきデータであること及び優先処理の指定をしないこと
を、プリンタ・システム10側に識別させる必要がある
In order to perform the above-described priority processing, a data processing device such as a host computer newly adds and transmits a priority designation code and a priority designation end code when transmitting data, and data below these codes is , it is necessary for the printer system 10 to identify that the data should be processed with priority and that priority processing is not specified.

なお、本発明では、ページ単位の処理を基本とする場合
は、優先指定コードをページ先頭に付け、優先指定終了
コードをページ最後(即ち改頁コードの直後)につける
ようにすればよい。その場合は、グラフィックデータの
みのデータだけでなく、1ページ中にテキストデータと
グラフィックデータとがa=している印字データの場合
に、印字中にデータ処理の行えるプリンタを用いれば、
優先指定を行わないようにすれば、待ち時間が短縮でき
る。
In the present invention, if the processing is based on page units, the priority designation code may be added to the beginning of the page, and the priority designation end code may be added to the end of the page (that is, immediately after the page break code). In that case, if you use a printer that can process data during printing, if the print data includes not only graphic data but also text data and graphic data in one page,
By not specifying priority, waiting time can be reduced.

また、テキストデータ、グラフィックデータとを完全に
分離して、印字データの種類別に優先処理を行い、別の
ページに印字することもできる。
It is also possible to completely separate text data and graphic data, give priority processing to each type of print data, and print on separate pages.

その場合は、テキストデータ群の最初に優先指定コード
を付け、テキストデータ群の最後、即ちグラフィックデ
ータ群の最初に優先指定終了コードと付加する。このと
き、ページ途中で優先指定が切り替わることが有り得る
ので、その時は、プリンタ内部で、改頁コードを発生さ
せるようにする。
In that case, a priority designation code is added to the beginning of the text data group, and a priority designation end code is added to the end of the text data group, that is, the beginning of the graphic data group. At this time, the priority designation may change in the middle of the page, so in that case, a page break code is generated inside the printer.

以下に、このデータ受信フローについての説明を行う。This data reception flow will be explained below.

まず、データ処理装置インターフェイス105からデー
タを読み込み(SIOl)、そのデータが優先指定コー
ドであれば(S102でYES)、それ以下の受信デー
タが優先処理されるべきデータであることを判別させる
優先フラグを、すでにONされている場合を除けば(8
1,03でNo)、ONL (S 104) 、編集パ
ラメータを退避して(S105)、リターンする。
First, data is read from the data processing device interface 105 (SIOl), and if the data is a priority designation code (YES in S102), a priority flag is used to determine that the received data below is data that should be processed with priority. , unless it is already turned on (8
1.03 (No), ONL (S104), saves the editing parameters (S105), and returns.

また、データ処理装置インターフェイス105から読み
込んだデータが優先指定終了コードであれば(S106
でYES)、優先フラグがONであれば(S107でN
O)、優先指定が終了したことを示すために、優先フラ
グを○FFL(Si20)、5105で編集フラグON
時に逝避していた編集パラメータを復帰しく5109)
、改頁コードを発生させて(SIIO)、fu先R−バ
ッファ120に出力して(S1]、2)、リターンする
。優先指定終了コードであっても、すてに優先フラグが
OFFであれば(S107てYES)、これを無視し、
そのままリターンする。
Further, if the data read from the data processing device interface 105 is a priority specification end code (S106
YES in S107), if the priority flag is ON (NO in S107).
O) To indicate that the priority specification has been completed, set the priority flag to ○FFL (Si20), and turn on the edit flag with 5105.
(5109)
, generates a page break code (SIIO), outputs it to the fu destination R-buffer 120 (S1], 2), and returns. Even if it is a priority specification end code, if the priority flag is OFF (S107: YES), this is ignored,
Return as is.

優先指定コード、優先指定終了コードのいずれでもなけ
れば、優先フラグがONかOFFかを判断して(S11
1)、ONであれば(YES)、優先R−バッファ12
0にそのデータを出力しく5112)、OFFであれば
(NO) 、R/lf、y77110に出力する(Sl
13)。
If it is neither a priority designation code nor a priority designation end code, it is determined whether the priority flag is ON or OFF (S11
1), if ON (YES), priority R-buffer 12
Output the data to 0 (5112), and if it is OFF (NO), output to R/lf, y77110 (Sl
13).

この受信データ処理によって、優先処理データと通常処
理データとは識別され、それぞれ、優先R−バッファt
2oとR−バッファ11oとに分けて出力される。
Through this received data processing, priority processing data and normal processing data are distinguished, and each priority R-buffer t
2o and R-buffer 11o.

(発明の効果) データに優先指定コードを付加して、優先度を付けるこ
とによって、データ受信の順番には関係無く、データ処
理か行える。例えば、印字中にデータ処理の行えるプリ
ンタを用いて、グラフィックデータのように処理に時間
がかかるデータには、優先指定を行わず、処理時間の短
いテキストデータの場合には、優先指定を行い、グラフ
ィックデータ等の後で受信されても、先に処理を行い、
印字するようにすることにより、グラフィックデータの
処理は、テキストデータの印字中に行うことができるの
で、グラフィックデータの印字の段階に入ったときには
、すでにグラフィックデータの処理がある程度(あるい
は全て)行われているので、印字を開始するまでの無駄
な待ち時間が短縮できる。
(Effects of the Invention) By adding a priority designation code to data and giving it priority, data processing can be performed regardless of the order in which the data is received. For example, if you use a printer that can process data while printing, data that takes a long time to process, such as graphic data, will not be given priority, but text data, which takes a short time to process, will be given priority. Even if it is received after graphic data etc., it is processed first,
By printing, graphic data can be processed while text data is being printed, so by the time the graphic data is printed, some (or all) of the graphic data has already been processed. This reduces unnecessary waiting time before starting printing.

また、優先指定終了コードによって、優先処理の終了が
指示できるので、1ページ中にテキストとグラフィック
が混ざっていても、テキストの部分だけに、優先指定を
行い、別のページに印字するといった細かい指定が可能
となる。
In addition, you can use the priority specification end code to instruct the end of priority processing, so even if text and graphics are mixed on one page, you can give detailed instructions such as giving priority to only the text and printing it on a separate page. becomes possible.

また、テキストデータ、グラフィックデータにかかわら
ず、優先処理させたいデータには優先指定を行うことも
できる。
Further, it is also possible to specify priority for data to be processed preferentially, regardless of whether it is text data or graphic data.

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

第1図は本発明の実施例に係るデータ受信のフローチャ
ート、第2図は本発明の実施例に係るプリンタの処理シ
ステムのブロック図、第3図はブリンク・システムの通
紙経路を示す中央断面図、第4図は本発明の実施例に係
るビノトマンブ方式データ処理装置のブロック図、第5
図はプリンタシステムのメイン制御フローチャート、第
6図は受信データ処理のフローチャート、第7図はパケ
ット処理のフローチャートである。 ■・・データ処理装置、 101・・・BM−CPU。 102・・・SMS−ROM、 +03・・・SYS−RAM。 110・・・R−バッファ、 Ill・・・P  RAM。 +12・・・ビントマノフ書込部インターフェイス、+
13・・ビットマツプ書込部、 114・・・ビットマツプRAM。 115・・フォント部、 120・・・優先R−バッファ、 121・・優先P−RAM。 122・・・優先ビットマツプ書込部インターフェイス
、 123・・優先ビットマツプ書込部、 124・優先ビットマツプRAM。 特許出願人 ミ ノルタカメ ラ株式会社代理人 弁理
士 青白 葆 はか1名 11rll 第2図
FIG. 1 is a flowchart of data reception according to an embodiment of the present invention, FIG. 2 is a block diagram of a printer processing system according to an embodiment of the present invention, and FIG. 3 is a central cross-section showing the paper passing path of the blink system. FIG. 4 is a block diagram of a binotmanbu data processing device according to an embodiment of the present invention, and FIG.
This figure is a main control flowchart of the printer system, FIG. 6 is a flowchart of received data processing, and FIG. 7 is a flowchart of packet processing. ■...Data processing device, 101...BM-CPU. 102...SMS-ROM, +03...SYS-RAM. 110...R-Buffer, Ill...P RAM. +12... Bintmanov writing unit interface, +
13...Bitmap writing section, 114...Bitmap RAM. 115... Font section, 120... Priority R-buffer, 121... Priority P-RAM. 122: Priority bitmap writing section interface, 123: Priority bitmap writing section, 124: Priority bitmap RAM. Patent applicant: Minolta Camera Co., Ltd. Agent: Patent attorney: 1 person 11rll Figure 2

Claims (1)

【特許請求の範囲】[Claims] (1)外部から入力されるデータを一時的に記憶するた
めのデータ記憶手段と、印字イメージを記憶する印字イ
メージ記憶手段と、該データ記憶手段に記憶されたデー
タを解析するデータ解析手段と、該データ解析手段によ
る解析結果が、印字データのコードである場合には、そ
れを該印字イメージ記憶手段に印字イメージとして書き
込む描画手段とを備えた優先処理のための第1データ処
理手段と、 外部から入力されるデータを一時的に記憶するためのデ
ータ記憶手段と、印字イメージを記憶する印字イメージ
記憶手段と、該データ記憶手段に記憶されたデータを解
析するデータ解析手段と、該データ解析手段による解析
結果が、印字データのコードである場合には、それを該
印字イメージ記憶手段に印字イメージとして書き込む描
画手段とを備えた通常処理のための第2データ処理手段
と、 上記データは、テキストデータとグラフィックデータと
を含む印字データと、ある印字データの先頭に付加して
、その印字データの優先処理を行わせる優先指定コード
と、ある印字データの最後に付加して、その印字データ
の優先処理を終了させる優先指定終了コードとを含む制
御コードとからなっており、これらのデータの種類を識
別する識別手段とを備え、 上記識別手段によって、上記データ中に優先指定コード
が認識された場合は、それ以降のデータを、上記データ
中に優先指定終了コードが認識されるまで、第1データ
処理手段のデータ記憶手段に入力してデータ処理を行わ
せ、優先指定終了コードが認識されると、それ以降のデ
ータを、上記データ中に優先指定コードが認識されるま
で、第2データ処理手段のデータ記憶手段に入力してデ
ータ処理を行わせ、 第1データ処理手段中にデータがある限りは、その処理
が終了するまで、第2データ処理手段中のデータの処理
を行わないように制御することを特徴とするプリンタの
データ処理方式。
(1) a data storage means for temporarily storing data input from the outside; a print image storage means for storing a print image; and a data analysis means for analyzing the data stored in the data storage means; When the analysis result by the data analysis means is a code of print data, a first data processing means for priority processing includes a drawing means for writing the code as a print image in the print image storage means; a data storage means for temporarily storing data input from the data storage means, a print image storage means for storing a print image, a data analysis means for analyzing the data stored in the data storage means, and the data analysis means. If the analysis result is a code of print data, a second data processing means for normal processing is provided with a drawing means for writing the code as a print image in the print image storage means; Print data including data and graphic data, a priority designation code that is added to the beginning of certain print data to give priority processing to that print data, and a priority specification code that is added to the end of certain print data to give priority to that print data. and a control code including a priority designation end code for terminating the process, and an identification means for identifying the type of data, and when the priority designation code is recognized in the data by the identification means. inputs subsequent data into the data storage means of the first data processing means to perform data processing until the priority designation end code is recognized in the data, and when the priority designation end code is recognized. , input subsequent data into the data storage means of the second data processing means to perform data processing until the priority designation code is recognized in the data, and as long as there is data in the first data processing means. A data processing method for a printer, characterized in that the data in the second data processing means is controlled not to be processed until the processing is completed.
JP63173371A 1988-07-12 1988-07-12 Data process system Pending JPH0224162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63173371A JPH0224162A (en) 1988-07-12 1988-07-12 Data process system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63173371A JPH0224162A (en) 1988-07-12 1988-07-12 Data process system

Publications (1)

Publication Number Publication Date
JPH0224162A true JPH0224162A (en) 1990-01-26

Family

ID=15959154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63173371A Pending JPH0224162A (en) 1988-07-12 1988-07-12 Data process system

Country Status (1)

Country Link
JP (1) JPH0224162A (en)

Similar Documents

Publication Publication Date Title
US5600762A (en) Method of processing a job, in a printing system, with a composite job ticket
US5563986A (en) Image processing system
US5220431A (en) Image-forming apparatus having a landscape mode and a portrail mode
JPH01174453A (en) Printer controller
JP3639685B2 (en) Printing apparatus and printing control method
US4975858A (en) Controller for a printer for printing data received from an external data processor
JPH0224162A (en) Data process system
JPH09107426A (en) PRINT CONTROL DEVICE, PRINT DEVICE, AND PRINT JOB PROCESSING METHOD FOR PRINT CONTROL DEVICE
JPH0224161A (en) Data processing system
JPH0224159A (en) Data processing system
JPH0224160A (en) Data process system
JP3509840B2 (en) Page printer
JPH0224163A (en) Data process system
JP4400097B2 (en) Printing apparatus, printing control method, program, and recording medium
JP2002254758A (en) Printer
JPH09263356A (en) Printing device
JP3164790B2 (en) Collate printing control method
JPH01171948A (en) Printer control apparatus
JP4150850B2 (en) Image processing apparatus, image processing method, and program
JP2744025B2 (en) Printing control device
JPH0465261A (en) printing device
JP3226226B2 (en) Character processing method and apparatus
JPS63251246A (en) Data memory unit
JPS63251245A (en) Printing controller
JPH01171949A (en) Printer control apparatus