JPH01118464A - Printer - Google Patents

Printer

Info

Publication number
JPH01118464A
JPH01118464A JP27579387A JP27579387A JPH01118464A JP H01118464 A JPH01118464 A JP H01118464A JP 27579387 A JP27579387 A JP 27579387A JP 27579387 A JP27579387 A JP 27579387A JP H01118464 A JPH01118464 A JP H01118464A
Authority
JP
Japan
Prior art keywords
paper
page
printing
command
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
JP27579387A
Other languages
Japanese (ja)
Inventor
Junichi Yamamoto
純一 山本
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP27579387A priority Critical patent/JPH01118464A/en
Publication of JPH01118464A publication Critical patent/JPH01118464A/en
Pending legal-status Critical Current

Links

Landscapes

  • Handling Of Cut Paper (AREA)

Abstract

PURPOSE:To automatically change a page even if a page change command is not received by automatically change the page when a detecting mechanism detects the lower end of a print sheet, and counting the number of print sheets by a sheet counting mechanism. CONSTITUTION:A printer 1 has an automatic sheet feeding mechanism 2 having a sheet lower end detecting mechanism 3 and a printer body 4. In case of printing, when a host device 8 generates a print sheet counter reset command and a print sheet count command, a sheet counting mechanism 6 is set to a state capable of counting detection signals after the mechanism 3. Then, the device 8 feeds a print command to the body 4 until data to be printed are all output. A printing unit 5 continues printing during this period, the mechanism 6 detects the generation of a page eject by the detection signal of the mechanism 3, and counts the number of prints. Accordingly, even in case of a program which contains no page change command, it can accurately detect the number of printed pages.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プリンタ装置に係り、特に、自動ページ切替
え機能を有するページプリンタ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer device, and particularly to a page printer device having an automatic page switching function.

〔従来の技術〕[Conventional technology]

プリンタ装置における頁制御方式に関する従来技術とし
て、特開昭61−20127号公報に記載された技術が
知られている。この種従来技術は、ユーザプログラムで
規定される論理頁を複数頁分、実際の物理頁に印刷でき
るものであり、物理頁を改頁する場合には、前記プログ
ラムより頁替え指令が出力される。従って、この従来技
術は、印刷頁数をカウントしようとするときには、頁替
え指令が何回出力されたかをカウントすることにより、
頁数のカウントを実行できる。しかし、頁数のカウント
機能については、前記公報には何ら記載されていない。
2. Description of the Related Art As a conventional technique related to a page control method in a printer device, a technique described in Japanese Patent Application Laid-Open No. 61-20127 is known. This type of conventional technology is capable of printing multiple logical pages defined by a user program onto actual physical pages, and when a physical page is to be changed, a page changing command is output from the program. . Therefore, when trying to count the number of printed pages, this conventional technology counts the number of times a page change command is output.
You can count the number of pages. However, the above publication does not mention anything about the page number counting function.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前記従来技術は、頁数カウントを行うために、頁替え指
令と実際のプリンタ装置の頁替え動作とが一致している
必要があった。そして、前記従来技術は、頁替え指令に
基づいて改頁を実行するものであり、頁替え指令を受取
らないと改頁を行うことができないという問題点があり
、また、頁替え指令を受取らなくても改頁を実行できる
ようにした場合、正確な頁数のカウントを行うことがで
きないという問題点があった。
In the prior art, in order to count the number of pages, it is necessary that the page change command and the actual page change operation of the printer device match. The conventional technology described above executes a page break based on a page change command, and has the problem that a page change cannot be performed unless a page change command is received; However, if it is possible to perform page breaks even when the page number is changed, there is a problem in that it is not possible to accurately count the number of pages.

本発明の目的は、頁替え指令を受けなくても自動的に改
頁を実行できるプリンタ装置を提供することにあり、か
つ、正確に印刷頁をカウントし、そのカウント値を上位
装置に送信することができるプリンタ装置を提供するこ
とにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a printer device that can automatically change pages without receiving a page change command, and that accurately counts printed pages and sends the counted value to a host device. The purpose of the present invention is to provide a printer device that can perform the following functions.

〔問題点を解決するための手段〕[Means for solving problems]

本発明によれば、前記目的は、自動給紙機構を有するプ
リンタ装置において、用紙下端検出機構と、用紙カウン
ト機構とを備え、印字用紙に印字出力して印字を行う際
、頁替え指令を受けなくても、用紙下端検出機構が印字
用紙の下端畜検出したときに、自動的に改頁を行うとと
もに、用紙カウント機構により印字用紙数をカウントし
、上位装置よりの印字用紙カウント数送信要求に応じて
、印字用紙カウント数を上位装置に送信するようにする
ことにより達成される。
According to the present invention, the object is to provide a printer device having an automatic paper feeding mechanism, which includes a paper bottom edge detection mechanism and a paper counting mechanism, and receives a page change command when printing is performed on printing paper. Even if the paper bottom edge detection mechanism detects the bottom edge of the printing paper, a page break is automatically performed, and the paper counting mechanism counts the number of printing paper sheets, and responds to a print paper count transmission request from the host device. This is achieved by transmitting the print paper count number to the host device accordingly.

〔作 用〕[For production]

用紙下端検出機構は、印字用紙の下端、すなわち、終端
を検出すると、自動給紙機構より印字用紙を給紙させる
とともに、用紙カウント機構に印字用紙数をカウントさ
せる。用紙カウント機構のカウント値は、上位装置から
の指令により初期値例えば′″0″にリセットされる。
When the paper lower end detection mechanism detects the lower end, that is, the terminal end, of the printing paper, it causes the automatic paper feeding mechanism to feed the printing paper, and causes the paper counting mechanism to count the number of printing papers. The count value of the sheet counting mechanism is reset to an initial value, for example, ``0'' by a command from a host device.

上位装置は、1つのジョブの間に、印刷用紙を何枚使用
したか知りたければ、ジョブの最初にカウンタ初期値設
定指令を発し、ジョブの最後に印字用紙カウント数送信
指令を発することにより、そのジョブで使用した印刷用
紙枚数を知ることが図面により詳細に説明する。
If the host device wants to know how many sheets of printing paper were used during one job, it can do so by issuing a counter initial value setting command at the beginning of the job and a printing paper count transmission command at the end of the job. Knowing the number of printing sheets used in the job will be explained in detail with reference to the drawings.

第1図は本発明の一実施例を示すブロック図、第2図は
本発明の一実施例における上位装置からの指令を説明す
るフローチャートである。第1図において、1はプリン
タ装置、2は自動給紙機構、 3は用紙下端検出機構、
4はプリンタ本体部、5は印字ユニット、6は用紙カウ
ント機構、7はインタフェース制御部、8は上位装置、
9はインタフェース線である。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flowchart illustrating commands from a host device in an embodiment of the present invention. In FIG. 1, 1 is a printer device, 2 is an automatic paper feed mechanism, 3 is a paper bottom edge detection mechanism,
4 is a printer main unit, 5 is a printing unit, 6 is a paper counting mechanism, 7 is an interface control unit, 8 is a host device,
9 is an interface line.

本発明によるプリンタ装置1は、第1図に示すように、
用紙下端検出機構3を備える自動給紙機構2と、プリン
タ本体部4とにより構成され、プリンタ本体部4は、印
字ユニット5と、用紙カウント機構6と、インタフェー
ス制御部7とを備えて構成されている。
A printer device 1 according to the present invention, as shown in FIG.
It is composed of an automatic paper feeding mechanism 2 having a paper bottom edge detection mechanism 3 and a printer main body 4, and the printer main body 4 is composed of a printing unit 5, a paper counting mechanism 6, and an interface control section 7. ing.

前述の構成において、自動給紙機構2は、印刷用紙をス
タックし、用紙下端検出機構の印字用紙下端検出信号に
基づき、順次印字用紙をプリンタ本体部に供給して改頁
を行い、また、検出信号12を用紙カウント機構6に送
出する。上位装置8とプリンタ本体部4内のインターフ
ェース制御部7とは、インターフェース線9を介して接
続され、上位装置7とプリンタ本体部4との間で必要な
情報の送受信が、インターフェース線9を介し、て行わ
れる。すなわち、上位装置8は、プリント指令。
In the above-described configuration, the automatic paper feeding mechanism 2 stacks the printing paper, sequentially supplies the printing paper to the printer main body to perform page breaks based on the printing paper bottom edge detection signal of the paper bottom edge detection mechanism, and A signal 12 is sent to the paper counting mechanism 6. The host device 8 and the interface control section 7 in the printer body 4 are connected via an interface line 9, and necessary information is transmitted and received between the host device 7 and the printer body 4 via the interface line 9. , is carried out. That is, the host device 8 issues a print command.

印字データ、プリント用紙カウント指令、プリント用紙
カウンタリセット指令等をプリンタ本体部4に送出し、
プリンタ本体部4は、上位装置8からのプリント用紙カ
ウント値要求指令に応じて、用紙カウント機構6にカウ
ントされているカウント値を上位装置8に送出する。
Sends print data, print paper count command, print paper counter reset command, etc. to the printer main unit 4,
The printer main unit 4 sends the count value counted by the paper counting mechanism 6 to the host device 8 in response to a print paper count value request command from the host device 8 .

プリンタ本体部4内のインターフェース制御部7は、上
位装置8との前述の情報の送受信を制御するとともに、
上位装置からの指令に基づいて印字ユニット5の印字動
作の制御、用紙カウント機構6を制御する。用紙カウン
ト機構6は、上位装置8からのプリント用紙カウンタリ
セット指令によりインタフェース制御部7が発するリセ
ット信号11により初期化され、その後プリント用紙カ
ウント指令を受けて、自動給紙機構2内の用紙下端検出
機構3が検出する用紙下端検出信号12を計数すること
により、印字用紙の使用枚数を計数する。また、用紙カ
ウント機構6は、上位装置8からのプリント用紙カウン
ト値要求指令に基づいてインタフェース制御部7が発す
るカウント値要求信号1゛3により、そのカウント値1
0をインタフェース制御部7、インタフェースI!i!
9を介して上位装置8に送信する。
The interface control unit 7 in the printer main unit 4 controls the transmission and reception of the above-mentioned information with the host device 8, and
It controls the printing operation of the printing unit 5 and the paper counting mechanism 6 based on commands from the host device. The paper counting mechanism 6 is initialized by a reset signal 11 issued by the interface control unit 7 in response to a print paper counter reset command from the host device 8, and then receives the print paper count command and detects the bottom edge of paper in the automatic paper feed mechanism 2. By counting the paper bottom edge detection signal 12 detected by the mechanism 3, the number of sheets of printing paper used is counted. Further, the paper counting mechanism 6 calculates the count value 1 in response to the count value request signal 1'3 issued by the interface control section 7 based on the print paper count value request command from the host device 8.
0 to the interface control unit 7, the interface I! i!
9 to the host device 8.

前述した動作における上位装置からの指令が第2図にフ
ローチャートとして示されており、以下これを説明する
Instructions from the host device in the above-described operations are shown as a flowchart in FIG. 2, which will be explained below.

(1)  プリンタ装置(・で印字を行わせる場合、上
位装置8は、まず、プリント用紙カウンタリセット指令
及びプリント用紙カウント指令を発する(フロー21.
22)。これにより、プリンタ本体部4では、用紙カウ
ント機構6がゼロクリアされるとともに、用紙カウント
機構6は、用紙下端検出機構3からの以後の検出信号を
カウントできる状態にセットされる。
(1) When printing is performed by the printer device (*), the host device 8 first issues a print paper counter reset command and a print paper count command (Flow 21.
22). As a result, in the printer main body 4, the paper counting mechanism 6 is cleared to zero, and the paper counting mechanism 6 is set to a state in which it can count subsequent detection signals from the paper bottom edge detection mechanism 3.

(2)次に、上位装置8は、プリント指令とそのプリン
ト指令によりプリントすべきデータを、プリントすべき
データが無くなるまで、プリンタ本体部4に送出する(
フロー23〜25の繰返し)。
(2) Next, the host device 8 sends the print command and the data to be printed according to the print command to the printer main unit 4 until there is no more data to print (
(repetition of flows 23 to 25).

この間、プリンタ本体部4内の印字ユニット5は、プリ
ント動作を続け、用紙カウント機構6は、改頁の発生を
用紙下端検出機構3の検出信号により検知し、これをカ
ウントすることにより、プリント頁数をカウントする。
During this time, the printing unit 5 in the printer main body 4 continues the printing operation, and the paper counting mechanism 6 detects the occurrence of a page break based on the detection signal of the paper bottom edge detection mechanism 3, and by counting this, the print page is counted. Count the numbers.

(3)上位装置8は、プリントすべきデータが無くなれ
ば、プリント用紙カウント値要求指令を発する(フロー
25.26)。これにより、用紙カウント機構6は、そ
の時のカウント値を上位装置に送出する。
(3) When the host device 8 runs out of data to be printed, it issues a print paper count request command (Flows 25 and 26). Thereby, the paper counting mechanism 6 sends the current count value to the host device.

前述の動作により、上位装置8は、一つのジョブのプリ
ント動作を終了し、そのジョブで使用したプリント用紙
の頁数を知ることができる。
Through the above-described operation, the host device 8 can finish the printing operation of one job and know the number of pages of print paper used in that job.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、実際の改頁動作
をカウントすることにより、プリントに要した頁数をカ
ウントしているので、改頁指令が含まれていないプログ
ラムによるプリント動作を実行する場合でも、正確にプ
リント頁数な検出することができ、利用者毎あるいはジ
ョブ毎に使用したプリント用紙の枚数を正確にカウント
することができる。
As explained above, according to the present invention, the number of pages required for printing is counted by counting the actual page feed operations, so printing operations can be executed by programs that do not include page feed commands. Even when printing, the number of printed pages can be accurately detected, and the number of sheets of printing paper used for each user or job can be accurately counted.

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

第1図は本発明の一実施例を示すブロック図、第2図は
本発明の一実施例における上位装置からの指令を説明す
るフローチャートである。 1・・・・・・プリンタ装置、2・・・・・・自動給紙
機構、3・・・・・・用紙下端検出機構、4・・・・・
・プリンタ本体部、5・・・・・・印字ユニット、6・
・・・・・用紙カウント機構、7・・・・・・インタフ
ェース制御部、8・・・・・・上位装置、9・・・・・
・インタフェース線。 代理人 弁理士 小川勝男(外1名)
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flowchart illustrating commands from a host device in an embodiment of the present invention. 1...Printer device, 2...Automatic paper feeding mechanism, 3...Paper bottom edge detection mechanism, 4...
・Printer main unit, 5... Printing unit, 6.
... Paper counting mechanism, 7 ... Interface control unit, 8 ... Host device, 9 ...
・Interface line. Agent: Patent attorney Katsuo Ogawa (1 other person)

Claims (1)

【特許請求の範囲】[Claims] 1、自動給紙機構を有するプリンタ装置において、用紙
下端検出機構と、用紙カウント機構とを備え、印字用紙
に印字を行う際、印字用紙の下端を前記用紙下端検出構
が検出し、これにより自動的に頁替えを行うとともに、
用紙カウント機構が印字用紙数をカウントし、上位装置
よりの印字用紙カウント値要求に応じ、印字用紙のカウ
ント値を上位装置に送信することを特徴とするプリンタ
装置。
1. A printer device having an automatic paper feeding mechanism is equipped with a paper bottom edge detection mechanism and a paper counting mechanism, and when printing on printing paper, the paper bottom edge detection mechanism detects the bottom edge of the printing paper, thereby automatically In addition to changing pages,
A printer device characterized in that a paper counting mechanism counts the number of printing papers and transmits the printing paper count value to a host device in response to a request for a printing paper count value from the host device.
JP27579387A 1987-11-02 1987-11-02 Printer Pending JPH01118464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27579387A JPH01118464A (en) 1987-11-02 1987-11-02 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27579387A JPH01118464A (en) 1987-11-02 1987-11-02 Printer

Publications (1)

Publication Number Publication Date
JPH01118464A true JPH01118464A (en) 1989-05-10

Family

ID=17560493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27579387A Pending JPH01118464A (en) 1987-11-02 1987-11-02 Printer

Country Status (1)

Country Link
JP (1) JPH01118464A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6056579A (en) * 1983-09-09 1985-04-02 Nippon Seimitsu Kogyo Kk Automatic paper feeder for printing apparatus
JPS62162573A (en) * 1986-01-14 1987-07-18 Nec Corp Page printer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6056579A (en) * 1983-09-09 1985-04-02 Nippon Seimitsu Kogyo Kk Automatic paper feeder for printing apparatus
JPS62162573A (en) * 1986-01-14 1987-07-18 Nec Corp Page printer

Similar Documents

Publication Publication Date Title
US6055361A (en) Printer control with monitor function
US4924275A (en) Printer switchable between duplex and simplex mode on a page by page basis
EP0693717B1 (en) Paper feed control system in a printing unit
JP3149168B2 (en) Printing device
JPH01118464A (en) Printer
US7113290B2 (en) Controlling printer reception of print data from multiple interfaces using a busy state
JPS6021235Y2 (en) Print control device
JP2002292949A (en) Printer and printing system
JPS6213374A (en) Printer-controlling system
JPH05341928A (en) Printer information inquiry communication system
JPH06274286A (en) Interface device
JPS61116564A (en) Printing apparatus
JPH05162396A (en) Printable surface control process
KR100517508B1 (en) Apparatus and method for scanning image
JPH0498517A (en) Printer
JPH01234274A (en) Printer
JPH04103376A (en) Printer device
JPS60214981A (en) Printer
JPS62230544A (en) Printer control system
JPH10207644A (en) Printer device
JPH06274287A (en) Printer system
JPH01275170A (en) Printer for continuous sheet
JPH03268980A (en) Serial printer
JPS62193866A (en) Printer
JPH08185283A (en) Print server and its operating method