JPH0459519A - Recording device and kind of medium detecting method - Google Patents

Recording device and kind of medium detecting method

Info

Publication number
JPH0459519A
JPH0459519A JP17106690A JP17106690A JPH0459519A JP H0459519 A JPH0459519 A JP H0459519A JP 17106690 A JP17106690 A JP 17106690A JP 17106690 A JP17106690 A JP 17106690A JP H0459519 A JPH0459519 A JP H0459519A
Authority
JP
Japan
Prior art keywords
cassette
paper
type
medium
recording
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
JP17106690A
Other languages
Japanese (ja)
Inventor
Masahito Kawashima
川島 雅人
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP17106690A priority Critical patent/JPH0459519A/en
Publication of JPH0459519A publication Critical patent/JPH0459519A/en
Pending legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)
  • Handling Of Cut Paper (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Controlling Sheets Or Webs (AREA)
  • Sheets, Magazines, And Separation Thereof (AREA)

Abstract

PURPOSE:To detect a kind of a sheet in addition to a sheet size by means of a printer body, to improve operability, and to prevent the occurrence of maloperation by providing a code detecting means, capable of defining a kind of a medium, in addition to a medium size detecting means. CONSTITUTION:A control part 21 receives indication from a host device 10 through an interface part 22, discriminates the sheet size of a cassette, mounted on a printing device 20, by means of a sheet size detector 23, and discriminates a kind of a sheet by means of a kind of sheet detector 24. Members 30A-30D to be detected are disposed to a cassette 16 by means of a magnet, and detecting members 31A-31D are located to the mounting part on the body side where the cassette 16 is mounted in a state to be positioned facing the members 30A-30D to be detected. Namely, a sheet size is specified by the members 30A and 30B to be detected and the detecting members 31A and 31B. Further, the similarly formed members 30C and 30D to be detected and detecting members 31C and 31D are additionally provided, and a kind of the sheet can be discriminated thereby.

Description

【発明の詳細な説明】 〔概要〕 記録媒体のサイズごとに予め準備された媒体サイズ検出
手段を備えた記録装置であって、記録媒体種類について
も検出可能とした記録装置および媒体種類検出方法に関
し。
[Detailed Description of the Invention] [Summary] The present invention relates to a recording device and a medium type detection method, which are equipped with a medium size detection means prepared in advance for each size of recording medium, and which are also capable of detecting the type of recording medium. .

プリンタ本体で用紙サイズとともに、用紙の種類につい
ても検出できるようにし、操作性の向上および誤操作の
防止を可能とすることを目的とし。
The purpose is to enable the printer to detect the paper type as well as the paper size, improving operability and preventing erroneous operations.

媒体サイズ検出手段に追加するように設けられる媒体種
類定義可能なコード検出手段を備えた記録装置を構成す
る。また、記録装置のカセットごとに記録媒体の種類を
設定し、上位装置からの指示に対して、媒体種類定義可
能なコード検出手段により、記録媒体の種類を読み取り
、指定された記録媒体への記録または検出結果の報告を
行う記録装置の媒体種類検出方法を構成する。
A recording apparatus is provided with a code detection means that can define a medium type and is provided in addition to a medium size detection means. In addition, the type of recording medium is set for each cassette of the recording device, and in response to instructions from the host device, the type of recording medium is read by a code detection means that can define the medium type, and recording is performed on the specified recording medium. Alternatively, a method for detecting the medium type of a recording device that reports detection results is configured.

〔産業上の利用分野] 本発明は、記録媒体のサイズごとに予め準備された媒体
サイズ検出手段を備えた記録装置であって、記録媒体種
類についても検出可能とした記録装置および媒体種類検
出方法に関する。
[Industrial Application Field] The present invention relates to a recording device equipped with a medium size detection means prepared in advance for each size of recording medium, and a recording device and medium type detection method that are also capable of detecting the type of recording medium. Regarding.

印刷装置などのコンピュータによる処理結果を記録する
記録装置は5年々高機能化されてきているが、さらに使
い易くする技術が望まれている。
Recording devices such as printing devices that record processing results by computers have become more sophisticated over the past five years, but there is a desire for technology to make them even easier to use.

[従来の技術] 第6図は従来の各種カセットを示す斜視図、第7図は従
来の用紙サイズ検出機構の例、第8図は従来のカセット
装着状況説明図を示す。
[Prior Art] FIG. 6 is a perspective view showing various conventional cassettes, FIG. 7 is an example of a conventional paper size detection mechanism, and FIG. 8 is an explanatory diagram of a conventional cassette installation state.

第6図ないし第8図に従って、従来の用紙サイズ検出の
例を説明する0図において、LAはA4サイズ用のカセ
ット、IBはB4サイズ用のカセット、2は記録装置、
3はカセットの装着部、4A、4Bは被検出部材、5A
、5Bは検出部材を表す。
According to FIGS. 6 to 8, an example of conventional paper size detection is explained. In FIG. 0, LA is an A4 size cassette, IB is a B4 size cassette, 2 is a recording device,
3 is the mounting part of the cassette, 4A and 4B are the members to be detected, and 5A
, 5B represents a detection member.

カセッ)IA、IBは、記録装置2の装着部3にそれぞ
れ装着されて使用される。各カセットIA  IBの裏
側には、第7図(イ)、(ロ)に示すように1M1石等
で構成される被検出部材4A、4Bまたは被検出部材4
Bが所定の配置で取り付けられている。なお1図示省略
するが、A3サイズのカセットの場合には、1石が被検
出部材4Aの位置にだけ取り付けられるようになってい
る。
The cassettes IA and IB are used by being attached to the attachment section 3 of the recording apparatus 2, respectively. On the back side of each cassette IA IB, as shown in FIGS.
B are attached in a predetermined arrangement. Although not shown, in the case of an A3 size cassette, one stone is attached only to the position of the detected member 4A.

一方、記録装置2の筐体側には、カセッ)IAまたはI
Bを装着した際に被検出部材4A、4Bに対向する位置
に、検出部材5A、5Bが設けられる。
On the other hand, on the housing side of the recording device 2, a cassette) IA or I
Detecting members 5A and 5B are provided at positions facing the detected members 4A and 4B when B is attached.

このように、各種カセットを装着する際に、各カセット
の被検出部材4A、4B等は、それぞれ異なるパターン
で検出部材5A、5Bに対向するので、検出部材5A、
5Bの検出結果によって。
In this way, when mounting various cassettes, the detection members 4A, 4B, etc. of each cassette face the detection members 5A, 5B in different patterns, so that the detection members 5A, 4B, etc.
Based on the detection results of 5B.

用紙のサイズを検出することができ、用紙サイズ5は一
検出部材、80はピックアップローラ、81はカセット
1内に設けられた収納用紙係止用の爪、82は搬送ロー
ラ、83は支持板、84はスプリング、、85.86は
用紙案内用のガイド板。
The paper size can be detected by one detection member for paper size 5, 80 a pick-up roller, 81 a claw provided in the cassette 1 for locking the stored paper, 82 a transport roller, 83 a support plate, 84 is a spring, 85.86 is a guide plate for guiding paper.

87は用紙を表す。87 represents paper.

カセット1の支持板83上に収容されている用紙87は
、スプリング84の押し上げる力によって、ピックアッ
プローラ80に圧接し、その用紙87の先端部は、爪8
1により係止される。用紙処理(記録)時に、ピックア
ップローラ80を時計回り方向に回転させると、用紙8
7は上から順に爪81を乗り越えて繰り出され、搬送ロ
ーラ82により処理部に向は搬送される。
The paper 87 stored on the support plate 83 of the cassette 1 is pressed against the pickup roller 80 by the pushing force of the spring 84, and the leading end of the paper 87 is pressed against the pick-up roller 80 by the claw 8.
It is locked by 1. When the pickup roller 80 is rotated clockwise during paper processing (recording), the paper 8
7 are fed out in order from the top over the claws 81, and are conveyed to the processing section by the conveyance rollers 82.

例えば、A4サイズのカセット1では、第7図で説明し
たように、2組の被検出部材4と検出部材5とが、第8
図の紙面の垂直方向に並設される。
For example, in the A4 size cassette 1, as explained in FIG.
They are arranged in parallel in the vertical direction of the page of the figure.

従来1以上のような被検出部材4および検出部材5によ
る用紙サイズ検出器により、プリンタ本体装置は、装着
されたカセットの用紙のサイズを識別し、記録情報の指
定サイズと照合するなどの方法が採られていた。
Conventionally, using a paper size detector using a detection member 4 and a detection member 5 as described above, the printer main unit identifies the paper size of the installed cassette and compares it with the specified size of recorded information. It had been taken.

しかし、用紙のサイズではなく、用紙の色とかプレプリ
ントの種類とかいうような用紙自体の種類については、
自動的に識別する手段がなく、オペレータが収容カセッ
トを入れ替えたり、複数カセットの装着が可能なプリン
タでは、用紙種類ごとに上下段を使い分けるというよう
なことが行われていた。
However, regarding the type of paper itself, such as the color of the paper and the type of preprint, rather than the size of the paper,
In printers that do not have automatic identification means and allow the operator to change the cassettes or install multiple cassettes, upper and lower shelves are used differently for each type of paper.

〔発明が解決しようとする課題〕 従来、プリンタに用紙サイズの検出手段が設けられてい
たのは、用紙サイズの使い分けを容易乙こするというこ
ともあるが、プリンタのトラブルで最も起こりやすい用
紙送りジャム(紙詰まり)を用紙サイズに応じた用紙送
り時間の関係から検出する必要があるからであった。
[Problem to be Solved by the Invention] Conventionally, printers have been provided with paper size detection means, which makes it easier to use different paper sizes, but it also makes it easier to use different paper sizes. This is because it is necessary to detect a paper jam (paper jam) based on the relationship between the paper feeding time depending on the paper size.

用紙の色、質、プレプリントの内容といった用紙の種類
の識別については、プリンタの機能とL7で必須ではな
く、設けられていなかった。そのため、用紙の種類を変
更する場合には、プリンタを操作するオペレータは、使
われる用紙を準備してカセットに入れ替える手間が必要
であった。
Identification of paper type, such as paper color, quality, and preprint content, is not required for printer functions and L7, and was not provided. Therefore, when changing the type of paper, the operator operating the printer has to prepare the paper to be used and replace it in the cassette.

したがって、オペレータの負担が大きく、また用紙の入
れ違いも生しることが多いという問題があった。
Therefore, there is a problem in that the burden on the operator is heavy, and sheets are often misplaced.

本発明はL記問題点の解決を回り、プリンタ本体で用紙
サイズとともに、用紙の種類についても検出できるよう
にU7.操作性の向上および誤操作の防止を可能とする
ことを目的としている。
The present invention solves the problems listed in item L, and provides U7. The purpose is to improve operability and prevent erroneous operations.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理説明図でおる。 FIG. 1 is a diagram explaining the principle of the present invention.

第1図において、10はホスト・コンピュータなどの上
位装置、11は指定された記録媒体に記録を行う記録装
置、12は上位装置10とのインタフェース部、13は
マイクロコンビ、−夕等による記録装置110制御部5
14は印字や記録媒体の搬送等を行う記録機構部、15
a、15bはカセット収納部、16a、16bは記録媒
体が収納されるカセット、17a、17bは記録媒体の
サイズを検出する媒体サイズ検出手段、18a、18 
bは記録媒体の種類を定義するコード化された情報を検
出する媒体コード検出手段を表す。
In FIG. 1, 10 is a host computer or other host device, 11 is a recording device that records on a designated recording medium, 12 is an interface unit with the host device 10, and 13 is a recording device such as a microcombi, etc. 110 control unit 5
14 is a recording mechanism unit that performs printing, transporting the recording medium, etc.; 15;
a and 15b are cassette storage units; 16a and 16b are cassettes in which recording media are stored; 17a and 17b are medium size detection means for detecting the size of the recording medium; 18a and 18
b represents a medium code detection means for detecting coded information defining the type of recording medium.

記録装置11の各カセノ[収納部15a、15bおよび
カセノ)16a、16bには、第7図で従来技術とt7
て説明したような被検出部材および検出部材による媒体
サイズ検出手段17a、媒体サイズ検出手段17bが設
けられている。
Each casseno [storage parts 15a, 15b and casseno] 16a, 16b of the recording device 11 has the prior art and t7 shown in FIG.
A medium size detecting means 17a and a medium size detecting means 17b are provided using the detected member and the detecting member as described above.

本発明では、さらに媒体サイズ検出1段17a17bに
追加するように3カセット16a、16bにそれぞれ収
納される媒体の種類を識別するための媒体種類定義可能
な媒体コード検出手段18a、18bが設けられる。
In the present invention, medium code detection means 18a, 18b, which can define the medium type, are further provided in addition to the first medium size detection stage 17a, 17b to identify the type of medium stored in the three cassettes 16a, 16b, respectively.

各カセット16a、]、6bまたはカセット収納部15
a、15bには、用紙のサイズとともに。
Each cassette 16a, ], 6b or cassette storage section 15
In a and 15b, along with the paper size.

ユーザが任意に媒体の種類に応じて設定できるコードを
割り何は可能になっており、制御部13は媒体コード検
出手段18a、18bにより、そのコードを読み取るこ
とができるようになっている。
The user can arbitrarily set a code according to the type of medium, and the control unit 13 can read the code using the medium code detection means 18a and 18b.

−4−位装置10から、記録媒体の種類を指定し7た記
録コマンドが投入されると、インタフェース部12によ
り、その記録媒体の指定情報を受信し。
-4- When a recording command specifying the type of recording medium is input from the device 10, the interface section 12 receives the specification information of the recording medium.

制御部13は、媒体コード検出手段18a、18bによ
り、カセット16a、16bに収納される記録媒体の種
類を示すコードを読み取る。
The control unit 13 uses the medium code detection means 18a, 18b to read a code indicating the type of recording medium stored in the cassettes 16a, 16b.

そして、上位装置10から指定された記録媒体の種類を
示すコードと、媒体コード検出手段18aまたは18b
から読み取ったフードとを照合し。
Then, a code indicating the type of recording medium designated by the host device 10 and the medium code detection means 18a or 18b
Compare it with the food read from.

コードが一致したカセット16aまたはカセット・16
bから記録媒体を引き出して、その記録llπ体に記録
機構部14により記録する。
Cassette 16a or cassette 16 with matching code
The recording medium is pulled out from b, and the recording mechanism unit 14 records on the recording medium.

−iするコードを持つカセッ1〜がない場合にはエラー
を上位装置10へ報告し、実際の記録を行わないで、処
理を終了する。
If there are no cassettes 1 to 1 with the code for -i, an error is reported to the host device 10 and the process is terminated without actually recording.

また、上位装置10から記録媒体問い合わせ!マントが
投入された場合には、制御部13は、媒体コード検出手
段18a、18bによって、媒体の種類を示すコードを
睨み取り、その検出結果を8F位装置10へ報告する。
Also, ask about the recording medium from the host device 10! When the cloak is inserted, the control unit 13 uses the medium code detection means 18a and 18b to check the code indicating the type of medium, and reports the detection result to the 8F device 10.

この報告は、必要に応じて、媒体サイズ検出手段17a
、17bで読み取った媒体サイズの情報と合わせ°τ行
うことも可能である。
This report is sent to the medium size detection means 17a as necessary.
, 17b can also be combined with the medium size information read in step 17b.

なお、カセット収納部の数は、1個でも複数でもよく、
またカセット16a、16b等の数は多ければ多いほど
多数のサイズおよび種類に対応可能となる。
In addition, the number of cassette storage sections may be one or more.
Furthermore, the larger the number of cassettes 16a, 16b, etc., the more sizes and types can be accommodated.

〔作用〕[Effect]

従来の用紙サイズ検出手段に補足的な検出手段を付与し
、そこにユーザ指定可能な限定数の予備コードを割り付
けることにより、ユーザの所望する用紙種類に対応する
カセットの識別が可能になる。
By adding a supplementary detection means to the conventional paper size detection means and assigning thereto a limited number of user-specifiable preliminary codes, it becomes possible to identify the cassette corresponding to the paper type desired by the user.

〔実施例〕〔Example〕

第2図は本発明の一実施例による印刷装置の機器構成図
、第3図は第2図に示す用紙サイズ検出器と用紙種類検
出器の例、第4図は本発明の一実施例による用紙の種類
を指定するコードの説明図。
FIG. 2 is an equipment configuration diagram of a printing apparatus according to an embodiment of the present invention, FIG. 3 is an example of the paper size detector and paper type detector shown in FIG. 2, and FIG. 4 is an example of a printer according to an embodiment of the present invention. An explanatory diagram of a code that specifies the paper type.

第5図は本発明の一実施例による制御部の処理フローを
示す。
FIG. 5 shows a processing flow of a control section according to an embodiment of the present invention.

第2図において、IOは印刷指示を行うホストコンピュ
ータである上位装置、20は印刷装置。
In FIG. 2, IO is a host computer which is a host computer that issues printing instructions, and 20 is a printing device.

21はマイクロコンピュータによる制御部、22は上位
装置10とのインタフェース部、23は用紙サイズ検出
器、24は用紙種類検出器を表す。
Reference numeral 21 represents a control unit using a microcomputer, 22 represents an interface unit with the host device 10, 23 represents a paper size detector, and 24 represents a paper type detector.

制御部21は、インタフェース部22を介して上位装置
10からの指示を受は取り、用紙サイズ検出器23によ
って、印刷装N20に装着されたカセットの用紙サイズ
を識別するとともに、用紙種類検出器24によって、用
紙種類の識別を行う。
The control unit 21 receives and receives instructions from the host device 10 via the interface unit 22, and uses the paper size detector 23 to identify the paper size of the cassette installed in the printing device N20. The paper type is identified by

用紙サイズ検出器23および用紙種類検出器24は9例
えば第3図に示すような構成になっている。
The paper size detector 23 and the paper type detector 24 are constructed as shown in FIG. 3, for example.

カセット16に、磁石等による被検出部材30A〜30
Dが配設され、カセット16が装着される本体側の装着
部には、各被検出部材30A〜30Dに対向して、検出
部材31A〜31Dが設けられる。
Detected members 30A to 30 are mounted on the cassette 16 using magnets or the like.
Detecting members 31A to 31D are provided in the mounting portion on the main body side where D is disposed and the cassette 16 is mounted, facing each of the detected members 30A to 30D.

本体側には、4個の検出部材31A〜31Dが必ず設け
られるのに対し、カセット16側には。
Four detection members 31A to 31D are always provided on the main body side, whereas on the cassette 16 side.

用紙サイズおよび用紙種類に応じて、被検出部材30A
〜30Dのうちの何個かの組み合わせが設けられるよう
になっている。
Depending on the paper size and paper type, the detected member 30A
-30D, some combinations are provided.

この例では、被検出部材30A、30Bが、第7図(イ
)に示す被検出部材4A、4Bに相当し。
In this example, the detected members 30A and 30B correspond to the detected members 4A and 4B shown in FIG. 7(A).

検出部材31A、31Bが、第7図(イ)に示す検出部
材5A、5Bに相当する。すなわち、被検出部材30A
、30Bおよび検出部材31A、31Bによって、用紙
のサイズを特定する。
The detection members 31A and 31B correspond to the detection members 5A and 5B shown in FIG. 7(A). That is, the detected member 30A
, 30B and the detection members 31A, 31B, the size of the paper is specified.

さらに、同様な構成になっている被検出部材30C,3
0Dおよび検出部材31C,31Dが追加して設けられ
、これによって、用紙の種類を識別することができるよ
うになっている。
Furthermore, detected members 30C and 3 having similar configurations
0D and detection members 31C and 31D are additionally provided, thereby making it possible to identify the type of paper.

各検出部材31A〜31Dに対向する被検出部材30A
〜30Dが存在するとき、状態レジスタ32の対応する
ビットa −dが1″になり、被検出部材30A〜30
Dが存在しない場合には。
Detected member 30A facing each detection member 31A to 31D
~30D exists, the corresponding bits a-d of the status register 32 become 1'', and the detected members 30A-30
If D does not exist.

状態レジスタ32の該当ビットが0″になる。The corresponding bit of the status register 32 becomes 0''.

第2図に示す制御部21は、この状態レジスタ32を読
み取ることにより、用紙サイズおよび用紙の種類を示す
コードを認識する。
The control unit 21 shown in FIG. 2 reads the status register 32 to recognize the code indicating the paper size and paper type.

例えばA4サイズの大きさの用紙の種類として第4図(
イ)に示すように、■通常の用紙、■赤色用紙、■社名
人り用紙、■厚紙の用紙があったとする。
For example, the types of paper for A4 size are shown in Figure 4 (
As shown in b), assume that there are ■regular paper, ■red paper, ■company name paper, and ■cardboard paper.

これらの各用紙をセットする用紙カセットは。What paper cassettes are used to set each of these papers?

それぞれ第3図に示す被検出部材30A〜30Dのうち
1次のものが備えられている。
Each of the detection target members 30A to 30D shown in FIG. 3 is provided with a primary one.

■A4カセット(通常の用紙) 被検出部材30A、被検出部材30B ■A4カセツト(赤色用紙) 被検出部材30A、被検出部材30B。■A4 cassette (normal paper) Detected member 30A, detected member 30B ■A4 cassette (red paper) Detected member 30A, detected member 30B.

被検出部材30C ■A4カセット(社名人り用紙) 被検出部材30A、被検出部材30B。Detected member 30C ■A4 cassette (company name paper) Detected member 30A, detected member 30B.

被検出部材30D ■A4カセット(厚紙の用紙) 被検出部材30A、被検出部材30B。Detected member 30D ■A4 cassette (cardboard paper) Detected member 30A, detected member 30B.

被検出部材30C3被検出部材30D これらの各カセットを、カセット収納部に装着すると、
第3図に示す状態レジスタ32は、検出部材31A〜3
1Dにおける電流の導通によって。
Detected member 30C3 Detected member 30D When each of these cassettes is installed in the cassette storage section,
The status register 32 shown in FIG.
By conducting a current in 1D.

自動的に第4図(ロ)に示すコード値を持つようになる
。これにより、用紙サイズおよび用紙の種類を判別する
ことができる。
It will automatically have the code value shown in FIG. 4 (b). This allows the paper size and paper type to be determined.

用紙サイズについては、用紙送りジャムの検出のために
、プリンタ本体が識別する必要があるので、コードが固
定的に決められている。第4図(ハ)は、そのコードを
示している。図中のabは、第3図に示す状態レジスタ
32のビットa。
Regarding the paper size, the code is fixed because the printer body needs to identify it in order to detect a paper feed jam. FIG. 4(c) shows the code. Ab in the figure is bit a of the status register 32 shown in FIG.

bに対応する。Corresponds to b.

プリンタ本体は、予め決められた用紙の長さに応じた用
紙検出センサにより、用紙の検出を行い所定時間に用紙
検出センサが動作しない場合にはアラームを報告する。
The printer main body detects paper using a paper detection sensor according to a predetermined paper length, and reports an alarm if the paper detection sensor does not operate within a predetermined time.

用紙サイズ以外の用紙の種類を示すコードを。Code indicating paper type other than paper size.

ユーザがどのように割り当てるかは、任意である。How the user allocates is arbitrary.

印刷する用紙の種類を示すコードは、第2図に示す上位
装置110の印刷処理を行うプログラムが予め決められ
た定義に基づいて指定する。
The code indicating the type of paper to be printed is specified by a program that performs print processing in the host device 110 shown in FIG. 2 based on a predetermined definition.

ここでは、用紙の種類■〜■に応じて、第4図(ニ)に
示すようなビットc、dの値に対応するコードを定めて
いる。
Here, codes corresponding to the values of bits c and d as shown in FIG. 4(d) are determined according to the paper types (1) to (4).

第2図に示す制御部21は、第5図に示すような処理を
行う。以下の説明における(a)〜(j)は、第5図に
示す処理(a)〜0)に対応する。
The control unit 21 shown in FIG. 2 performs the processing shown in FIG. 5. (a) to (j) in the following description correspond to processes (a) to 0) shown in FIG.

(a)  上位装置からの要求を待つ。(a) Wait for a request from the higher-level device.

(1))上位装置からのコマンドがあったならば、その
コマンド種別を調べる。状態問い合わせコマンドであれ
ば、処理(C1へ進み、印刷コマンドであれば、処理(
d)へ進む。
(1)) If there is a command from a higher-level device, check the command type. If it is a status inquiry command, proceed to process (C1); if it is a print command, proceed to process (
Proceed to d).

(C)  状態問い合わせコマンドに対して、指定され
たカセット収納部または全力セント収納部についての第
3図に示す状態レジスタ32の内容を読み出して、要求
元の上位装置へ報告する。その後、処理(a)へ戻り1
次の要求を待つ。
(C) In response to the status inquiry command, the contents of the status register 32 shown in FIG. 3 for the specified cassette storage unit or full-power cent storage unit are read out and reported to the requesting host device. After that, return to process (a) 1
Wait for next request.

(d)  通常の印刷コマンドであるか、用紙の種類を
指定した印刷コマンドであるかを判定する。通常の印刷
コマンドの場合、処理(j)へ進み、従来と同様な通常
の印刷制御を行う。
(d) Determine whether it is a normal print command or a print command specifying a paper type. In the case of a normal print command, the process advances to process (j) and normal print control similar to the conventional one is performed.

(e)  用紙の種類を指定した印刷コマンドの場合。(e) In the case of a print command that specifies the paper type.

装着されたカセットごとの状態レジスタを読む。Read the status register for each installed cassette.

(f)  上位装置側から指定された用紙の種類と、状
態レジスタによって示される用紙の種類とが一致するか
どうかを判定する。用紙の種類が一致する場合、処理(
i)へ進み、一致しない場合、処理(濁へ進む。
(f) Determine whether the paper type specified by the host device matches the paper type indicated by the status register. If the paper types match, processing (
Proceed to i), and if they do not match, proceed to processing (dirty).

((至)用紙の種類が一致しない場合、他のカセットが
装着されているかどうかをカセット収納部の数だけ調べ
る。他のカセットが装着されている場合、処理(e)へ
戻り、同様に処理を繰り返す。
((To) If the paper types do not match, check whether another cassette is installed for the number of cassette compartments. If another cassette is installed, return to process (e) and process in the same way. repeat.

全カセットについて調べても、用紙の種類が一致しない
場合、処理(5)へ進む。
If the paper types do not match even after checking all the cassettes, the process proceeds to step (5).

(ハ)用紙の種類が違うというエラー情報を、要求元の
上位装置へ返却する。その後、処理(a)へ戻る。
(c) Return error information indicating that the paper type is incorrect to the requesting host device. After that, the process returns to process (a).

(i)  用紙の種類が一致した場合、そのカセットを
印刷用に選択する。
(i) If the paper types match, select that cassette for printing.

(j)  選択されたカセットから用紙を引き出して従
来と同様な通常の印刷制御を行う。印刷が終わったなら
ば、処理(a)へ戻り1次の要求を待つ。
(j) Pull out paper from the selected cassette and perform normal printing control as before. When printing is completed, the process returns to process (a) and waits for the first request.

例えば2通常用紙と同一のコード指定で印刷コマンドが
実行されたとき、赤色用紙がセットされていても、プリ
ンタの制御部はそのコードをサイズだけの指定であって
用紙の種類は問わないものと判断し、サイズを検出する
だけにすれば、正常に印刷可能である。
For example, when a print command is executed with the same code specified as 2 for regular paper, even if red paper is set, the printer control unit uses that code to specify only the size and does not care about the type of paper. If you just judge and detect the size, you can print normally.

赤色のコードで印刷起動がかけられた場合、その赤色用
紙がセントされていなげれば、エラーを要求元へ提示で
きる。
When printing is started using a red code, if the red paper is not sent, an error can be presented to the requester.

このように、ユーザの使い勝手にあった使用が可能とな
る。すなわち、特に用紙指定を行わない場合、すなわち
通常の用紙サイズ設定だけの場合には、従来と同様にユ
ーザが使いたいカセットをセットし、そのまま同一サイ
ズカセットを使用することができる。
In this way, it becomes possible to use the device according to the user's convenience. That is, when the paper size is not specified, that is, when only the normal paper size setting is performed, the user can set the cassette that he or she wants to use and use the same size cassette as before.

(発明の効果〕 以上説明したように1本発明によれば、オペレータは、
予め決められた用紙の種類に対応したカセットに用紙を
セットしておき、必要な場合には用紙カセットを交換す
るだけで、簡単に正しい種類の用紙に対しての記録を行
わせることができるようになる。また、記録装置の本体
が、所定の用紙カセットが装着されているかどうかを検
出することができるので、用紙の入れ違いを防止できる
ことになる。
(Effects of the Invention) As explained above, according to the present invention, the operator can
By setting paper in a cassette that corresponds to a predetermined paper type and replacing the paper cassette when necessary, you can easily record on the correct type of paper. become. Furthermore, since the main body of the recording apparatus can detect whether or not a predetermined paper cassette is installed, misplacement of paper can be prevented.

例えば、−度に複数のカセットを装着することができる
プリンタに適用した場合、あるカセットに通常の用紙、
他のカセットに赤色用紙をセットし、何枚かの通常用紙
への各印刷単位ごとに赤色用紙を挿入し、赤色用紙を印
刷単位のセパレータとして使うような利用も、誤りな(
簡単に行うことができるようになる。
For example, when applied to a printer that can install multiple cassettes at a time, one cassette contains regular paper,
It is also incorrect to set red paper in another cassette, insert the red paper for each printing unit on several sheets of regular paper, and use the red paper as a separator for the printing units.
You will be able to do it easily.

図中、10は上位装置、11は記録装置、12はインタ
フェース部、13は制御部、14は記録機構部、15a
、15bはカセット収納部、16a、16bはカセット
、17a、17bは媒体サイズ検出手段、18a、18
bは媒体コード検出手段を表す。
In the figure, 10 is a host device, 11 is a recording device, 12 is an interface section, 13 is a control section, 14 is a recording mechanism section, and 15a
, 15b is a cassette storage section, 16a and 16b are cassettes, 17a and 17b are medium size detection means, 18a and 18
b represents a medium code detection means.

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

第1図は本発明の原理説明図 第2図は本発明の一実施例による印刷装置の機器構成図
。 第3図は第2図に示す用紙サイズ検出器と用紙種類検出
器の例。 第4図は本発明の一実施例による用紙の種類を指定する
コードの説明図。 第5図は本発明の一実施例による制御部の処理フロー 第6図は従来の各種カセットを示す斜視図。 第7図は従来の用紙サイズ検出機構の例。 第8図は従来のカセット装着状況説明図を示す。
FIG. 1 is an explanatory diagram of the principle of the present invention. FIG. 2 is a diagram illustrating the equipment configuration of a printing apparatus according to an embodiment of the present invention. FIG. 3 is an example of the paper size detector and paper type detector shown in FIG. 2. FIG. 4 is an explanatory diagram of a code for specifying the type of paper according to an embodiment of the present invention. FIG. 5 is a processing flow of a control unit according to an embodiment of the present invention. FIG. 6 is a perspective view showing various conventional cassettes. FIG. 7 shows an example of a conventional paper size detection mechanism. FIG. 8 shows an explanatory diagram of a conventional cassette mounting situation.

Claims (1)

【特許請求の範囲】 1)記録媒体のサイズごとに予め準備された媒体サイズ
検出手段(17)を備えた記録装置(11)において、 前記媒体サイズ検出手段に追加するように設けられる媒
体種類定義可能なコード検出手段(18)を備えたこと
を特徴とする記録装置。 2)記録装置(11)にセットされるカセット(16)
ごとに、そのカセットに収納される記録媒体の種類を設
定し、 上位装置(10)からの記録媒体指定による記録指示に
対して、媒体種類定義可能なコード検出手段(18)に
より、カセットに設定された記録媒体の種類を読み取り
、 上位装置から指定された記録媒体の種類と、カセットに
設定された記録媒体の種類との照合を行い、指定された
記録媒体への記録を行うことを特徴とする記録装置の媒
体種類検出方法。 3)記録装置(11)にセットされるカセット(16)
ごとに、そのカセットに収納される記録媒体の種類を設
定し、 上位装置(10)からの記録媒体問い合わせ指示に対し
て、媒体種類定義可能なコード検出手段(18)により
、カセットに設定された記録媒体の種類を読み取り、 上位装置に検出結果の報告を行うことを特徴とする記録
装置の媒体種類検出方法。
[Claims] 1) In a recording device (11) equipped with a medium size detection means (17) prepared in advance for each size of recording medium, a medium type definition provided in addition to the medium size detection means. A recording device characterized in that it is equipped with code detection means (18) capable of detecting codes. 2) Cassette (16) set in recording device (11)
For each type of recording medium stored in the cassette, the type of recording medium to be stored in the cassette is set, and in response to a recording instruction by specifying the recording medium from the host device (10), the code detection means (18) that can define the medium type is used to set the type of recording medium in the cassette. The system reads the type of recording medium specified by the host device, compares the type of recording medium specified by the host device with the type of recording medium set in the cassette, and records to the specified recording medium. A method for detecting the media type of a recording device. 3) Cassette (16) set in recording device (11)
For each cassette, the type of recording medium to be stored in the cassette is set, and in response to a recording medium inquiry instruction from the host device (10), a code detecting means (18) that can define the medium type sets the type of recording medium set in the cassette. A method for detecting a medium type in a recording device, characterized by reading the type of recording medium and reporting the detection result to a host device.
JP17106690A 1990-06-28 1990-06-28 Recording device and kind of medium detecting method Pending JPH0459519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17106690A JPH0459519A (en) 1990-06-28 1990-06-28 Recording device and kind of medium detecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17106690A JPH0459519A (en) 1990-06-28 1990-06-28 Recording device and kind of medium detecting method

Publications (1)

Publication Number Publication Date
JPH0459519A true JPH0459519A (en) 1992-02-26

Family

ID=15916417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17106690A Pending JPH0459519A (en) 1990-06-28 1990-06-28 Recording device and kind of medium detecting method

Country Status (1)

Country Link
JP (1) JPH0459519A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0781835A (en) * 1993-09-13 1995-03-28 Nec Corp Paper-size monitoring device of printer
JP2003048316A (en) * 2001-08-07 2003-02-18 Canon Inc Recorder control method and recorder

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0781835A (en) * 1993-09-13 1995-03-28 Nec Corp Paper-size monitoring device of printer
JP2003048316A (en) * 2001-08-07 2003-02-18 Canon Inc Recorder control method and recorder

Similar Documents

Publication Publication Date Title
US5110106A (en) Sheet size detector for sheet container
CN100520609C (en) Image forming apparatus and image forming method
JPH03192038A (en) Recording device
US7938392B2 (en) Medium feed control in an image forming apparatus
US7227659B2 (en) Print controller and image forming apparatus
US6025926A (en) Post-printer open architecture device
EP0661600B1 (en) Image forming system in which image processing apparatus is connected to image forming apparatus
JPH0459519A (en) Recording device and kind of medium detecting method
US20060127150A1 (en) Image forming device, image forming method, and computer readable storage medium storing image forming program
JPH11115280A (en) Printer
US5813667A (en) Sheet delivery device
JP3395738B2 (en) Printing equipment
JP2005014393A (en) Printer
US6359696B1 (en) Parallel print and paper feed control method and apparatus, and computer readable storage meduim storing program for realizing the method
JPH054227B2 (en)
JP2898881B2 (en) Printing control method
JP2915703B2 (en) Print control apparatus and method
JP2745843B2 (en) Paper transport control device
KR930004156Y1 (en) Paper-feeding device
JPH11314444A (en) Method and apparatus for controlling printer
JP2675856B2 (en) Ticket issuing method and device
JP2775318B2 (en) Double feed detection device for print media
JPH0664285A (en) Printer
JPH0432862A (en) Copying recorder
JPS5839482A (en) Printer