JPH04241978A - Printer - Google Patents

Printer

Info

Publication number
JPH04241978A
JPH04241978A JP1589091A JP1589091A JPH04241978A JP H04241978 A JPH04241978 A JP H04241978A JP 1589091 A JP1589091 A JP 1589091A JP 1589091 A JP1589091 A JP 1589091A JP H04241978 A JPH04241978 A JP H04241978A
Authority
JP
Japan
Prior art keywords
data
input
forced
discharge
printing
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
JP1589091A
Other languages
Japanese (ja)
Other versions
JP2991305B2 (en
Inventor
Youichi Toyokura
豊倉 洋一
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 JP3015890A priority Critical patent/JP2991305B2/en
Publication of JPH04241978A publication Critical patent/JPH04241978A/en
Application granted granted Critical
Publication of JP2991305B2 publication Critical patent/JP2991305B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To aim at the execution of proper forced paper-discharge in a printer having a function forcibly conducting printing and discharge when the input of data from an external device is interrupted for a fixed time. CONSTITUTION:A timing means measuring time intervals when data are not transmitted from an external device, a discriminating means deciding whether or not forced printing and discharge are effective regarding data input, and an output control means controlling as to whether or not data are discharged forcibly on the basis of the result of the discrimination of said discriminating means when it is decided that data are not transmitted for a fixed time through said timing means are provided, and data in a printer are printed and discharged forcibly only when compulsive printing and discharge are effective.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ホストコンピュータ等
の外部装置から入力したデータに従って用紙等に印刷を
行う印刷装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus that prints on paper or the like in accordance with data input from an external device such as a host computer.

【0002】0002

【従来の技術】図4は、従来の印刷装置1における処理
の流れを示すブロック図である。
2. Description of the Related Art FIG. 4 is a block diagram showing the flow of processing in a conventional printing apparatus 1.

【0003】この印刷装置1は、ホストコンピュータ等
の外部装置2が出力する印刷データを入力して印字する
装置であり、データを受信する入力部3と、入力したデ
ータを解析する解析部4と、この解析の結果を格納する
ページバッファ5と、このページバッファ5の内容に基
づいてビットマップイメージに展開する展開部6と、展
開したイメージデータを格納するフレームメモリ7と、
このフレームメモリ7内のイメージデータに従って出力
機構9を制御する出力部8とを有する。出力機構9は、
例えばレーザービーム等よりなり、出力部8からのデー
タを用紙等の記録媒体10に出力する。
This printing device 1 is a device that inputs and prints print data output from an external device 2 such as a host computer, and includes an input section 3 that receives the data, and an analysis section 4 that analyzes the input data. , a page buffer 5 that stores the results of this analysis, a development section 6 that develops into a bitmap image based on the contents of this page buffer 5, and a frame memory 7 that stores the developed image data.
It has an output unit 8 that controls the output mechanism 9 according to the image data in the frame memory 7. The output mechanism 9 is
For example, it is composed of a laser beam or the like, and outputs the data from the output section 8 to a recording medium 10 such as paper.

【0004】この印刷装置1においては、外部装置2か
ら出力された印刷データをデータ入力部3で受信し、そ
のデータを解析部4が解析し、その解析結果に基づいて
、展開部6に与えるべき形式でページバッファ5にデー
タを格納する。
[0004] In this printing device 1, the data input unit 3 receives print data output from the external device 2, the analysis unit 4 analyzes the data, and provides the data to the expansion unit 6 based on the analysis result. Data is stored in the page buffer 5 in an exponent format.

【0005】ページバッファ5は、ページ単位で構成さ
れ、1ページ分の情報をすべてを含む形で、データを展
開部6に渡す。展開部6は、このページバッファ5から
渡されたデータに従って、出力イメージを例えば1ペー
ジ分の2値ビットマップデータの形でフレームメモリ7
上に作成する。
[0005] The page buffer 5 is configured in units of pages, and passes data to the expansion unit 6 in a form that includes all information for one page. The expansion unit 6 stores the output image in the frame memory 7 in the form of binary bitmap data for one page, for example, according to the data passed from the page buffer 5.
Create above.

【0006】出力部8は、上記2値ビットマップデータ
に基づいて、出力機構9に対し、例えばレーザービーム
のON/OFF制御を行うことで、記録媒体10に印刷
結果を記録する。
[0006] The output unit 8 records the print result on the recording medium 10 by controlling the output mechanism 9 to turn on/off a laser beam, for example, based on the binary bitmap data.

【0007】また、この印刷装置においては、外部装置
2からのデータ入力が所定時間途絶えた場合に、強制的
に印字排出する機能(以下、強制排紙という)が設けら
れている。
[0007] Furthermore, this printing apparatus is provided with a function for forcibly discharging prints (hereinafter referred to as "forced paper discharging") when data input from the external device 2 is interrupted for a predetermined period of time.

【0008】図5は、この強制排紙を実現する入力部3
の処理を示すフローチャートである。
FIG. 5 shows the input section 3 that realizes this forced paper ejection.
3 is a flowchart showing the processing of FIG.

【0009】まず、時間計測カウンタ(TIME)を「
0」にリセットしておき(S1)、次の入力データを受
信し(S3)、S1へ戻る。
[0009] First, set the time measurement counter (TIME) to
0'' (S1), receives the next input data (S3), and returns to S1.

【0010】そして、次のデータがなかった場合には、
カウンタ(TIME)をインクリメントし(S4)、カ
ウンタ(TIME)が予め設定しておいたしきい値(M
AX)を越えたかどうかを判定する(S5)。
[0010] If there is no next data,
The counter (TIME) is incremented (S4), and the counter (TIME) is set to the preset threshold value (M
AX) is determined (S5).

【0011】ここでしきい値よりも小さければS2へ戻
り、しきい値を越えたならば、強制排紙を行い(S6)
、強制排紙終了後、S1に戻る。
[0011] If it is smaller than the threshold value, the process returns to S2, and if it exceeds the threshold value, forced paper ejection is performed (S6).
, After the forced paper ejection ends, the process returns to S1.

【0012】0012

【発明が解決しようとする課題】しかしながら、上記従
来例においては、入力されているデータが強制排紙の有
効なものかどうかにかかわらず強制排紙を実行すること
から、例えばコマンドの途中で中断している場合等、一
連のデータの途中といった強制排紙すべきでない状態で
強制排紙してしまうという欠点があった。
[Problems to be Solved by the Invention] However, in the above conventional example, forced paper ejection is executed regardless of whether or not the input data is valid for forced paper ejection. There is a drawback that, when the paper is being used, the paper is forced to be ejected in the middle of a series of data when it should not be forcibly ejected.

【0013】本発明は、適正な強制排紙を実行すること
ができる印刷装置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a printing apparatus that can perform proper forced paper ejection.

【0014】[0014]

【課題を解決するための手段】本発明は、外部装置から
入力した印字データを出力する印刷装置において、デー
タが送られてきていない時間間隔を計測する計時手段と
、入力されるデータについて、強制的な印字排出が有効
かどうかを判断する識別手段と、上記計時手段によって
所定時間データが送られてきていないと判断された場合
に、上記識別手段の識別結果に基づいて、データを強制
的に排出するかしないかを制御する出力制御手段とを有
することを特徴とする。
[Means for Solving the Problems] The present invention provides, in a printing device that outputs print data input from an external device, a timer that measures a time interval during which no data is sent, and a forced control device for input data. an identification means for determining whether or not print output is valid; and an identification means for forcibly discharging the data based on the identification result of the identification means when it is determined by the timing means that data has not been sent for a predetermined period of time. It is characterized by having an output control means for controlling whether to discharge or not.

【0015】[0015]

【実施例】図1は、本発明の一実施例による印刷装置の
構成を示すブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing the configuration of a printing apparatus according to an embodiment of the present invention.

【0016】本実施例の印刷装置100は、ホストコン
ピュータ200より印刷データを入力する入力インター
フェース101と、印刷装置100全体の制御を司どる
CPU102と、このCPU102の動作処理手順や文
字フォントパターン等を記憶したROM103と、CP
U102のワークエリアやホストコンピュータ200よ
り受信した印刷データを格納するための受信バッファ、
さらには印刷データから1ページ分の出力イメージを構
築するためのページバッファ等として用いられるRAM
104と、上記出力イメージを展開するフレームメモリ
105と、上記出力イメージの印刷を行う出力部107
と、この出力部107に上記出力イメージを出力する出
力インターフェース106と、これら各構成要素間でデ
ータ等の転送を行うシステムバス108とを有する。
The printing apparatus 100 of this embodiment includes an input interface 101 for inputting print data from a host computer 200, a CPU 102 for controlling the entire printing apparatus 100, and a CPU 102 for controlling operation processing procedures, character font patterns, etc. Memorized ROM103 and CP
a reception buffer for storing print data received from the work area of U102 and the host computer 200;
Furthermore, RAM is used as a page buffer to construct one page of output image from print data.
104, a frame memory 105 for developing the output image, and an output unit 107 for printing the output image.
, an output interface 106 that outputs the output image to the output unit 107, and a system bus 108 that transfers data and the like between these components.

【0017】なお、本実施例における処理の流れは、上
記図4に示すものと概略共通であるので、以下の説明で
は、図4に示す各ユニットを基本とし、これを図1に示
す構成で補足しながら説明する。
The flow of processing in this embodiment is generally the same as that shown in FIG. 4 above, so the following explanation will be based on each unit shown in FIG. I will explain with additional information.

【0018】図2は、本実施例における解析部4での処
理を示すフローチャートである。
FIG. 2 is a flowchart showing the processing in the analysis section 4 in this embodiment.

【0019】解析部4は、主に上記CPU102により
構成される。
The analysis section 4 is mainly composed of the CPU 102 mentioned above.

【0020】解析部4においては、まず、強制排紙可能
かどうかを示すフラグ(FLAGFF)をOFFにリセ
ットしておき(S11)、入力部3すなわちRAM10
4の受信バッファから入力データを1バイト受け取る(
S12)。
In the analysis section 4, first, a flag (FLAGFF) indicating whether forced paper ejection is possible is reset to OFF (S11), and the input section 3, that is, the RAM 10
Receive 1 byte of input data from the receive buffer of 4 (
S12).

【0021】次に、この入力データがコマンドの先頭で
あるかまたは文字データなどの印字データかどうかを調
べ(S13)、コマンドの先頭でなければ、RAM10
4内に従来通りのページバッファを作成し(S14)、
S12に戻る。
Next, it is checked whether this input data is the beginning of a command or print data such as character data (S13), and if it is not the beginning of a command, it is stored in the RAM 10.
Create a conventional page buffer in 4 (S14),
Return to S12.

【0022】またコマンドの先頭であれば、フラグ(F
LAGFF)をONにし(S15)、コマンド解析を行
い(S16)、コマンドの最後かどうかを調べる(S1
7)。そして、コマンドの最後でなければ、さらに入力
部3から1バイトのデータを受け取り(S18)、S1
6に戻る。また、コマンドの最後であれば、S11へ戻
る。
[0022] Also, if it is the beginning of the command, the flag (F
LAGFF) is turned on (S15), the command is analyzed (S16), and it is checked whether it is the last command (S1
7). If it is not the end of the command, 1 byte of data is further received from the input section 3 (S18), and S1
Return to 6. If it is the last command, the process returns to S11.

【0023】このような処理を行うことで、コマンドの
途中ではフラグ(FLAGFF)がONに、それ以外で
は、OFFになるよう制御される。
By performing such processing, the flag (FLAGFF) is controlled to be ON during the command, and OFF at other times.

【0024】次に、図3は、本実施例の入力部3におけ
る処理を示すフローチャートである。
Next, FIG. 3 is a flowchart showing the processing in the input section 3 of this embodiment.

【0025】ここで、入力部3は、上記入力インターフ
ェース101、RAM104内の受信バッファおよびC
PU102によって構成される。
Here, the input section 3 includes the input interface 101, the reception buffer in the RAM 104, and the C
It is constituted by PU102.

【0026】本実施例の入力部3における処理のうちS
21からS25までは、図5における従来の処理S1か
らS5までと同じであるので、ここでの説明は省略する
Of the processes in the input section 3 of this embodiment, S
Since steps 21 to S25 are the same as the conventional processing steps S1 to S5 in FIG. 5, the explanation here will be omitted.

【0027】本実施例では、S25でカウンタ(TIM
E)が予め設定しておいたしきい値(MAX)を越えて
いたならば、フラグ(FLAGFF)がOFFかどうか
調べる(S26)。
In this embodiment, the counter (TIM
If E) exceeds a preset threshold value (MAX), it is checked whether the flag (FLAGFF) is OFF (S26).

【0028】そして、フラグ(FLAGFF)がOFF
であれば、強制排紙を行い(S27)、強制排紙後、S
21に戻る。
[0028] Then, the flag (FLAGFF) is OFF.
If so, perform forced paper ejection (S27), and after forced paper ejection, S
Return to 21.

【0029】また、フラグ(FLAGFF)がONの場
合には、強制排紙せずにS21に戻る。
If the flag (FLAGFF) is ON, the process returns to S21 without forcibly discharging the paper.

【0030】このように本実施例によれば、入力されて
いるデータが強制排紙が可能どうかを判断し、例えばコ
マンドの途中などでデータが中断している場合など、強
制排紙すべきでない状態であれば強制排紙を行わないよ
う制御し、不適当な強制排紙を防止することができる。
As described above, according to the present embodiment, it is determined whether the input data allows forced paper ejection, and if, for example, data is interrupted in the middle of a command, forced paper ejection should not be performed. If this is the case, it is possible to control the forced paper ejection so as not to perform the forced paper ejection, thereby preventing inappropriate forced paper ejection.

【0031】なお、上記実施例において、現在コマンド
の途中である場合以外でも、例えばイメージデータの途
中やフォームデータの登録中である場合等も強制排紙す
べきでない条件とすることができる。
In the above embodiment, it is possible to set the condition that paper should not be forcibly ejected even when the command is not currently in progress, such as when image data is being processed or form data is being registered.

【0032】また、上記S26で、フラグ(FLAGF
F)がONの場合、S21に戻らず、しきい値を(MA
X)から(MAX2)に変更してS22へ戻る方法も考
えられる。この場合、コマンドの途中であるときには、
専用の待ち時間(MAX2)を越えた場合に、強制排紙
するという制御を行うことができる。
[0032] Also, in the above S26, the flag (FLAGF
F) is ON, the threshold value is set to (MA
Another possible method is to change from X) to (MAX2) and return to S22. In this case, when you are in the middle of a command,
Control can be performed such that paper is forcibly ejected when a dedicated waiting time (MAX2) is exceeded.

【0033】[0033]

【発明の効果】本発明によれば、外部装置からの入力デ
ータが所定時間以上入力されない場合に、既に入力され
ているデータに応じて強制排紙すべきでない状態であれ
ば強制排紙させないようにすることが可能であり、適正
な強制排紙を確保することができる。
According to the present invention, when input data from an external device is not input for a predetermined period of time, forced ejection is not performed if the paper should not be ejected according to the data that has already been input. This makes it possible to ensure proper forced paper ejection.

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

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

【図2】同実施例における解析部での処理を示すフロー
チャートである。
FIG. 2 is a flowchart showing processing in an analysis section in the same embodiment.

【図3】同実施例における入力部での処理を示すフロー
チャートである。
FIG. 3 is a flowchart showing processing at an input unit in the same embodiment.

【図4】従来の印刷装置における処理の流れを示すブロ
ック図である。
FIG. 4 is a block diagram showing the flow of processing in a conventional printing device.

【図5】従来の入力部での処理を示すフローチャートで
ある。
FIG. 5 is a flowchart showing processing in a conventional input unit.

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

100…印刷装置、 101…入力インターフェース、 102…CPU、 103…ROM、 104…RAM、 105…フレームメモリ、 106…出力インターフェース、 107…出力部、 200…ホストコンピュータ。 100...printing device, 101...input interface, 102...CPU, 103...ROM, 104...RAM, 105...frame memory, 106...output interface, 107...output section, 200...Host computer.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  外部装置から入力した印字データを出
力する印刷装置において、データが送られてきていない
時間間隔を計測する計時手段と;入力されるデータにつ
いて、強制的な印字排出が有効かどうかを判断する識別
手段と;上記計時手段によって所定時間データが送られ
てきていないと判断された場合に、上記識別手段の識別
結果に基づいて、データを強制的に排出するかしないか
を制御する出力制御手段と;を有することを特徴とする
印刷装置。
[Claim 1] In a printing device that outputs print data input from an external device, a timer for measuring a time interval during which no data is sent; and whether or not forced print output is effective for the input data. an identification means for determining whether or not data is forcibly ejected based on the identification result of the identification means when the timekeeping means determines that data has not been sent for a predetermined time; A printing device comprising: an output control means;
JP3015890A 1991-01-16 1991-01-16 Printing apparatus and printing control method Expired - Lifetime JP2991305B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3015890A JP2991305B2 (en) 1991-01-16 1991-01-16 Printing apparatus and printing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3015890A JP2991305B2 (en) 1991-01-16 1991-01-16 Printing apparatus and printing control method

Publications (2)

Publication Number Publication Date
JPH04241978A true JPH04241978A (en) 1992-08-28
JP2991305B2 JP2991305B2 (en) 1999-12-20

Family

ID=11901387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3015890A Expired - Lifetime JP2991305B2 (en) 1991-01-16 1991-01-16 Printing apparatus and printing control method

Country Status (1)

Country Link
JP (1) JP2991305B2 (en)

Also Published As

Publication number Publication date
JP2991305B2 (en) 1999-12-20

Similar Documents

Publication Publication Date Title
EP0556059B1 (en) Output method and apparatus
JP3044939B2 (en) Page printer
JPH04241978A (en) Printer
JP3027468B2 (en) Printing error recovery processing method
JP3225891B2 (en) Printer with error detection function
JPH06103005A (en) Printer controller
JP3250118B2 (en) Printing device data management method
JPH0664252A (en) Printing equipment having emulation mode
JPH04211977A (en) Printer device
JP2768307B2 (en) Printer device
JP2744025B2 (en) Printing control device
JP3596974B2 (en) Image forming device
KR100283576B1 (en) How to automatically clear data less than one page in a page printer
JPH05212916A (en) Printer device
JPH03164927A (en) Printer job display system
JPH09309247A (en) Method and apparatus for control of printing
JP2003341189A (en) Print controller and print system
JPH11301922A (en) Image forming device and paper emerging destination selecting method
JPH04224983A (en) Printer
JPH091899A (en) Page printer and method of indicating operation of page printer
JPH05212914A (en) Image processor
JP2001199136A (en) Printing apparatus and printing method
JPH06155808A (en) Printing control device and print control method
JPH04351578A (en) Office printer
JPH09188026A (en) Printer

Legal Events

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

Free format text: PAYMENT UNTIL: 20071015

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081015

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091015

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091015

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20101015

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20101015

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20111015

Year of fee payment: 12