JPH05294549A - Printing device - Google Patents

Printing device

Info

Publication number
JPH05294549A
JPH05294549A JP12548192A JP12548192A JPH05294549A JP H05294549 A JPH05294549 A JP H05294549A JP 12548192 A JP12548192 A JP 12548192A JP 12548192 A JP12548192 A JP 12548192A JP H05294549 A JPH05294549 A JP H05294549A
Authority
JP
Japan
Prior art keywords
control command
data
control
counter
sheets
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
JP12548192A
Other languages
Japanese (ja)
Inventor
Yuichi Higuchi
雄一 樋口
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 JP12548192A priority Critical patent/JPH05294549A/en
Publication of JPH05294549A publication Critical patent/JPH05294549A/en
Pending legal-status Critical Current

Links

Landscapes

  • Handling Of Cut Paper (AREA)
  • Controlling Sheets Or Webs (AREA)

Abstract

PURPOSE:To control the number of discharged sheets for every host and to control the accounting in a system in which a plurality of hosts are connected. CONSTITUTION:A CPU 3 analyzes data transmitted from a data source 1, and discriminates kinds of control order systems from one another, and then first and second counters 3a, 3b count numbers of sheets which are discharged respectively for the control order systems.

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 capable of processing a plurality of control command systems.

【0002】[0002]

【従来の技術】従来、この種の装置のように複数の制御
命令体系の処理を行う場合は、各ホスト毎に対応した制
御命令体系に従ってプリンタエンジンを制御して、1台
で種々のホストに対応した印刷装置として機能させるこ
とができるように構成されている。
2. Description of the Related Art Conventionally, when processing a plurality of control command systems as in this type of apparatus, the printer engine is controlled according to the control command system corresponding to each host, and one printer can control various hosts. It is configured so that it can function as a corresponding printing device.

【0003】このような印刷装置には、排紙枚数を管理
するための1つのカウンタが設けられており、このカウ
ンタにより排紙枚数が1元管理されている。
Such a printing apparatus is provided with one counter for managing the number of discharged sheets, and the counter integrally manages the number of discharged sheets.

【0004】[0004]

【発明が解決しようとする課題】このため上記カウンタ
が計数する値は、接続されるホストの別には関係なく排
紙枚数を積算しているため、ホスト毎の排紙枚数を管理
することはできず、複数のホストに接続されたシステム
において課金管理できない等の問題点があった。
Therefore, since the value counted by the counter is the total number of discharged sheets regardless of the connected host, it is possible to manage the number of discharged sheets for each host. However, there is a problem in that a system connected to a plurality of hosts cannot manage charges.

【0005】本発明は、上記の問題点を解決するために
なされたもので、実行可能な制御命令体系毎に排紙用紙
枚数を個別に管理することにより、ホスト毎の排紙枚数
を管理するができるとともに、複数のホストに接続され
たシステムにおいて課金管理を行うことができる印刷装
置を提供することを目的とする。
The present invention has been made to solve the above problems, and manages the number of discharged sheets for each host by individually managing the number of discharged sheets for each executable control command system. It is an object of the present invention to provide a printing apparatus capable of performing charge management in a system connected to a plurality of hosts.

【0006】[0006]

【課題を解決するための手段】本発明に係る印刷装置
は、複数または単数のデータ源から送信されたデータを
解析して複数の制御命令体系種別を識別する識別手段
と、この識別手段の識別結果に基づいて実行される各制
御命令体系毎に排紙される枚数をカウントする複数のカ
ウント手段とを設けたものである。
A printing apparatus according to the present invention analyzes data transmitted from a plurality of or a single data source to identify a plurality of control command system types, and an identification of the identification means. A plurality of counting means for counting the number of discharged sheets is provided for each control command system executed based on the result.

【0007】[0007]

【作用】本発明においては、データ源からデータが送信
されると、識別手段が送信されたデータを解析して複数
の制御命令体系種別を識別し、その識別結果に基づいて
各カウント手段が各制御命令体系毎に排紙される枚数を
カウントし、ホスト毎の排紙枚数を管理することを可能
とする。
In the present invention, when the data is transmitted from the data source, the identifying means analyzes the transmitted data to identify a plurality of control command system types, and each counting means determines each one based on the identification result. It is possible to count the number of discharged sheets for each control command system and manage the number of discharged sheets for each host.

【0008】[0008]

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

【0009】図において、1はホストコンピュータ等の
データ源、2は入力データを格納する入力バッファ、3
はCPUで、図2に示す制御手順に従って入力バッファ
2から入力したデータの解析を行う。CPU3はワーク
エリアであるRAM4と図2に示す制御手順に対応する
プログラムを記憶するROM5よりなる。3aは第1カ
ウンタ(ネイティブカウンタ)で、制御体系がネイティ
ブモードの場合にプリンタ9が排紙した枚数をカウント
アップする。3bは第2カウンタ(エミュレートカウン
タ)で、制御体系がエミュレーションモードの場合にプ
リンタ9が排紙した枚数をカウントアップする。なお、
カウンタ数は本実施例に限定されることはない。
In the figure, 1 is a data source such as a host computer, 2 is an input buffer for storing input data, 3
Is a CPU which analyzes the data input from the input buffer 2 in accordance with the control procedure shown in FIG. The CPU 3 comprises a RAM 4 which is a work area and a ROM 5 which stores a program corresponding to the control procedure shown in FIG. Reference numeral 3a is a first counter (native counter) which counts up the number of sheets discharged by the printer 9 when the control system is in the native mode. A second counter (emulation counter) 3b counts up the number of sheets discharged by the printer 9 when the control system is the emulation mode. In addition,
The number of counters is not limited to this embodiment.

【0010】6はイメージメモリで、1頁分の出力イメ
ージが格納される。7はパターンメモリで、文字コード
に対応する文字パターンが格納されている。8はプリン
タインタフェースで、イメージメモリ6に格納された出
力イメージデータをプリンタ9に転送する。プリンタ9
は、プリンタインタフェース8を介して受信した出力イ
メージデータに基づいて印字処理を行う。
An image memory 6 stores an output image for one page. A pattern memory 7 stores a character pattern corresponding to a character code. A printer interface 8 transfers the output image data stored in the image memory 6 to the printer 9. Printer 9
Performs print processing based on the output image data received via the printer interface 8.

【0011】このように構成された印刷装置において、
データ源1からデータが送信されると、識別手段(CP
U3)が送信されたデータを解析して複数の制御命令体
系種別を識別し、その識別結果に基づいて各カウント手
段(第1カウンタ3a,第2カウンタ3b)が各制御命
令体系毎に排紙される枚数をカウントし、ホスト毎の排
紙枚数を管理することを可能とする。
In the printing apparatus constructed as described above,
When data is transmitted from the data source 1, the identification means (CP
U3) analyzes the transmitted data to identify a plurality of control command system types, and based on the identification result, each counting means (first counter 3a, second counter 3b) ejects each control command system. It is possible to count the number of discharged sheets and manage the number of discharged sheets for each host.

【0012】以下、図2に示すフローチャートを参照し
ながら本発明に係る印刷装置における制御体系別用紙枚
数管理処理動作について説明する。
The control sheet number management processing operation for each control system in the printing apparatus according to the present invention will be described below with reference to the flow chart shown in FIG.

【0013】図2は本発明に係る印刷装置における制御
体系別用紙枚数管理処理手順の一例を示すフローチャー
トである。なお、(1) 〜(15)は各ステップを示す。
FIG. 2 is a flow chart showing an example of the number-of-sheets management processing procedure for each control system in the printing apparatus according to the present invention. In addition, (1) to (15) indicate each step.

【0014】データ源1よりデータが送信されると処理
が開始され、入力バッファ2よりデータが取り出される
(1) 。次いで、取り出されたデータが制御命令かどうか
を判定し(2) 、YESならば制御命令がネイティブ命令
かどうかを判定し(3) 、YESならば識別フラグをON
し(4) 、ネイティブ命令に対応した解析を行い(5) 、ス
テップ(10)以降に進む。
When data is transmitted from the data source 1, the processing is started and the data is fetched from the input buffer 2.
(1). Next, it is judged whether the fetched data is a control command (2), and if YES, it is judged whether the control command is a native command (3). If YES, the identification flag is turned ON.
Then (4), analysis corresponding to the native instruction is performed (5), and the process proceeds to step (10) and thereafter.

【0015】一方、ステップ(3) の判定でNOの場合
は、エミュレーションモードと判定し、識別フラグをO
FFし(6) 、エミュレーション命令に対応した解析を行
い(7)、ステップ(10)以降に進む。
On the other hand, if the judgment in step (3) is NO, it is judged to be the emulation mode and the identification flag is set to O.
The FF is performed (6), the analysis corresponding to the emulation instruction is performed (7), and the process proceeds to step (10) and thereafter.

【0016】一方、ステップ(2) の判定でNOの場合
は、パターンメモリ7より文字コードに対応した文字パ
ターンを読み出し(8) 、読み出したパターンをイメージ
メモリ6へ書き込む(9) 。次いで、改頁があったかどう
かを判定し(10)、NOならばステップ(1) に戻り、YE
Sならばイメージメモリ6をクローズし、プリンタイン
タフェース8を通じてプリンタ9へ出力する(11)。次い
で、当該頁が出力されたことを確認した後、現在識別フ
ラグがON状態であるかどうかを判定し(12)、YESな
らば第1カウンタ3aの内容を「1」カウントアップし
(13)、データエンドかどうかを判定し(15)、YESなら
ば処理を終了し、NOならばステップ(1)に戻る。
On the other hand, if the determination in step (2) is NO, the character pattern corresponding to the character code is read from the pattern memory 7 (8), and the read pattern is written in the image memory 6 (9). Next, it is judged whether or not there is a page break (10), and if NO, the process returns to step (1) and YE
If it is S, the image memory 6 is closed and output to the printer 9 through the printer interface 8 (11). Next, after confirming that the page is output, it is determined whether or not the identification flag is currently in the ON state (12). If YES, the content of the first counter 3a is incremented by "1".
(13), it is judged whether or not it is a data end (15), the process is ended if YES, and the process returns to step (1) if NO.

【0017】一方、ステップ(12)の判定でNOの場合
は、第2カウンタ3bの内容を「1」カウントアップし
(14)、データエンドかどうかを判定し(15)、YESなら
ば処理を終了し、NOならばステップ(1) に戻る。
On the other hand, if the determination in step (12) is NO, the content of the second counter 3b is incremented by "1".
(14), it is judged whether or not it is a data end (15), the process is ended if YES, and the process returns to step (1) if NO.

【0018】なお、上記実施例では単一のデータ源1よ
り複数の使用者による異なる制御命令体系を処理する使
用形態を仮想したが、複数のデータ源に接続された場合
も同様である。
In the above embodiment, the usage pattern in which different control command systems by a plurality of users are processed from the single data source 1 is hypothesized, but the same applies when connected to a plurality of data sources.

【0019】[0019]

【発明の効果】以上説明したように、本発明はデータ源
からデータが送信されると、識別手段が送信されたデー
タを解析して複数の制御命令体系種別を識別し、その識
別結果に基づいて各カウント手段が各制御命令体系毎に
排紙される枚数をカウントするように構成したので、ホ
スト毎の排紙枚数を管理するができるとともに、複数の
ホストに接続されたシステムにおいて課金管理を行うこ
とができる効果を奏する。
As described above, according to the present invention, when data is transmitted from the data source, the identification means analyzes the transmitted data to identify a plurality of control command system types, and based on the identification result. Since each counting unit is configured to count the number of discharged sheets for each control command system, it is possible to manage the number of discharged sheets for each host, and to manage the charge in a system connected to multiple hosts. There is an effect that can be performed.

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

【図1】本発明の一実施例を示す印刷装置の構成を説明
するブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a printing apparatus according to an exemplary embodiment of the present invention.

【図2】本発明に係る印刷装置における制御体系別用紙
枚数管理処理手順の一例を示すフローチャートである。
FIG. 2 is a flowchart showing an example of a sheet number management processing procedure for each control system in the printing apparatus according to the present invention.

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

1 データ源 2 入力バッファ 3 CPU 3a 第1カウンタ 3b 第2カウンタ 4 RAM 5 ROM 6 イメージメモリ 7 パターンメモリ 8 プリンタインタフェース 9 プリンタ 1 Data Source 2 Input Buffer 3 CPU 3a First Counter 3b Second Counter 4 RAM 5 ROM 6 Image Memory 7 Pattern Memory 8 Printer Interface 9 Printer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数または単数のデータ源から送信され
たデータに従った印刷処理を実行可能な印刷手段を有す
る印刷装置において、複数または単数のデータ源から送
信されたデータを解析して複数の制御命令体系種別を識
別する識別手段と、この識別手段の識別結果に基づいて
実行される各制御命令体系毎に排紙される枚数をカウン
トする複数のカウント手段とを具備したことを特徴とす
る印刷装置。
1. A printing apparatus having a printing unit capable of executing a printing process in accordance with data transmitted from a plurality or a single data source, and analyzing a plurality of data transmitted from the plurality or a single data source. It is characterized by further comprising: identification means for identifying the type of control command system; and a plurality of counting means for counting the number of discharged sheets for each control command system executed based on the identification result of the identification device. Printing device.
JP12548192A 1992-04-20 1992-04-20 Printing device Pending JPH05294549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12548192A JPH05294549A (en) 1992-04-20 1992-04-20 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12548192A JPH05294549A (en) 1992-04-20 1992-04-20 Printing device

Publications (1)

Publication Number Publication Date
JPH05294549A true JPH05294549A (en) 1993-11-09

Family

ID=14911161

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12548192A Pending JPH05294549A (en) 1992-04-20 1992-04-20 Printing device

Country Status (1)

Country Link
JP (1) JPH05294549A (en)

Similar Documents

Publication Publication Date Title
US5550957A (en) Multiple virtual printer network interface
US5854940A (en) Output control system for interpreting input data according to a specific control language based upon outputs from a plurality of control language determining devices
US5668936A (en) Printer for exclusively selecting a host apparatus and a command system for use with the selected host apparatus
JPH05294549A (en) Printing device
JPH11224168A (en) Image data printing device and its printing control method
JP3261233B2 (en) Printing apparatus and processing method
JPH06253066A (en) Multi-application arbitration device
JP2698252B2 (en) Printer
JP3250118B2 (en) Printing device data management method
JP2910687B2 (en) Printing apparatus and printing method
JPH09254503A (en) Image forming device
US5841429A (en) Method and apparatus for managing a character pattern
JPH0671978A (en) Printer
JPH09240076A (en) Printer
JP2958226B2 (en) Print control device and print control method
JPH07334329A (en) Job management device
JPH096556A (en) Printing data transfer system
JP3332625B2 (en) Recording device
JPH11232069A (en) Printer system with banner page printing function
JP3596974B2 (en) Image forming device
JPH08320771A (en) Information processing network
JPH03214228A (en) Control system for serial printer
JP2000168206A (en) Imaging apparatus
JPH09240081A (en) Printer
JPH05324220A (en) Printing device