JP3589443B2 - Printer device - Google Patents

Printer device Download PDF

Info

Publication number
JP3589443B2
JP3589443B2 JP17813698A JP17813698A JP3589443B2 JP 3589443 B2 JP3589443 B2 JP 3589443B2 JP 17813698 A JP17813698 A JP 17813698A JP 17813698 A JP17813698 A JP 17813698A JP 3589443 B2 JP3589443 B2 JP 3589443B2
Authority
JP
Japan
Prior art keywords
paper
data
size
paper size
printer
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.)
Expired - Fee Related
Application number
JP17813698A
Other languages
Japanese (ja)
Other versions
JPH11349163A (en
Inventor
雅昭 永野
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP17813698A priority Critical patent/JP3589443B2/en
Publication of JPH11349163A publication Critical patent/JPH11349163A/en
Application granted granted Critical
Publication of JP3589443B2 publication Critical patent/JP3589443B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、デジタル複写機、プリンタ、更にはこれらの機能とファクシミリ機能とを兼ね備えた多機能プリンタなどのプリンタ装置に関し、特に、ホスト装置からのコマンドに応じて指定された用紙サイズの給紙トレイを選択し且つ指定された倍率に応じて適切なサイズの用紙に画像を印刷する機能を備えたプリンタ装置に関するものである。
【0002】
【従来の技術】
従来、ホスト装置からのコマンドに応じて画像データを処理し印刷するプリンタ装置は、変倍率が等倍(100%)と異なる値に設定されている状態であっても、ホスト装置から紙サイズを指定するコマンドを含んだデータを送ると、そのコマンドで指定された紙サイズの給紙トレイから給紙を行っていた。
しかし、実際にはプリンタ装置に前記コマンドで指定された紙サイズの給紙トレイがない場合がある。 そのため、例えば、(1)特開平9−156788号公報記載の発明では、指定された紙サイズの用紙が入った給紙トレイがないときにプリンタ装置が自動的に変倍率を算出して印刷を行なうようにしている。(2)特開平7−144780号公報記載の発明では、ホスト装置からのコマンドで用紙サイズが指定されると、プリンタ装置は指定されたサイズの用紙が入っている給紙トレイを検出してトレイ選択を行うが、指定された給紙トレイがなければ、ホスト装置に対し印刷拒否をするとともに、拒否したときの用紙サイズを記憶し表示するようにしている。(3)特開平7−244566号公報記載の発明では、印刷可能な用紙サイズの情報をプリンタ装置からホスト装置が取得し、ホスト装置が出力しようとしている画像データのサイズよりも当該プリンタ装置に用意されている用紙サイズが小さいとき、ホスト装置側で用紙サイズに合った縮小変倍処理を行ってプリンタ装置に出力するようにしている。
しかしながら、(1)特開平9−156788号公報記載の発明のように、指定された紙サイズの用紙が入った給紙トレイがないときにプリンタ装置が自動的に変倍率を算出して印刷を行なうようにした場合、ユーザの希望する変倍率で変倍した画像が印刷されないという不具合が生じる。(2)特開平7−144780号公報記載の発明のように、ホスト装置からのコマンドで指定された給紙トレイがないとき、ホスト装置に対し印刷拒否するようにした場合、印刷拒否されたホスト装置はプリンタ装置にデータを送るのを停止するため、印刷を行おうとしたユーザは、指定したサイズの用紙を給紙トレイに補給してプリンタ装置に装着した後、再度、ホスト装置からデータを再送する必要がある。また、このような場合、次のユーザは、先のユーザが指定された用紙の入った給紙トレイを装着し、ホスト装置からデータを再送し終えるまで、印刷を待たされることになる。(3)特開平7−244566号公報記載の発明では、印刷しようとする度毎にホスト装置がプリンタ装置から印刷可能な用紙サイズの情報を取得し、プリンタ装置に用意されている用紙サイズが出力しようとしている画像データのサイズよりも小さい場合には、ホスト装置側で用紙サイズに合わせて縮小変倍を行ってからデータを送信するため、ホスト装置とプリンタ装置間の通信時間の増大及びデータ処理時間の増大によりスループットが低下するといった問題や、ホスト装置にかかる負担が増大するといった問題がある。
また、プリンタ装置に前記コマンドで指定された紙サイズの給紙トレイがあっても、プリンタ装置で変倍率設定を行なった場合には、結果として変倍後の画像サイズに合わない用紙トレイから給紙が行なわれることが起こりうるという問題がある。
【0004】
【発明が解決しようとする課題】
本発明は、上記従来の技術の不具合を改善すべく創案されたものであり、請求項1の発明では、ホスト装置からのコマンドにより指定された用紙サイズに制約されず、現在設定されている変倍率を優先し且つ適切なサイズの用紙に印刷することができるプリンタ装置を提供することを課題とする。また、請求項2記載の発明は、適切な用紙サイズの給紙トレイをセットした後、ユーザが再びデータを転送する必要のないプリンタ装置を提供することを課題とする。また、請求項3記載の発明は、適切な用紙サイズの給紙トレイをセットする前でも、印刷可能なデータを後から送ってきた別のユーザを待たせることなく効率良く印刷処理を行うことができるプリンタ装置を提供することを課題とする。
【0005】
【課題を解決するための手段】
上記課題を解決するために、請求項1記載の発明では、各々サイズの異なる用紙をセット可能な複数の給紙トレイと、ホスト装置からのコマンドにより指定されたサイズの用紙が入っている給紙トレイを選択するトレイ選択手段と、描画する画像データの変倍率を指定する変倍率指定手段とを有する画像形成装置において、前記コマンドにより指定された等倍時の用紙のサイズに現在設定されている変倍率を掛けて変倍後の用紙サイズを算出する用紙サイズ算出手段を備えるとともに、前記トレイ選択手段は、前記用紙サイズ算出手段により算出された用紙サイズの用紙が入っている給紙トレイを選択することを特徴としている。また、請求項2記載の発明は、請求項1記載のプリンタ装置において、前記用紙サイズ算出手段で求めた用紙サイズの用紙が入っている給紙トレイがセットされていなかった場合でもホスト装置に印刷拒否をせず、ホスト装置から送られてくるデータを処理し描画データとしてメモリに記憶し、前記用紙サイズ算出手段で求めた用紙サイズの給紙トレイが新たに装着されたときに、当該新たに装着された給紙トレイから給紙を行い、このとき前記メモリに記憶しておいた描画データを印刷するように構成したことを特徴としている。この場合、前記描画データをメモリに記憶するとともに、前記用紙サイズ算出手段で求めた用紙サイズをユーザに知らせるべく表示部に表示を行うことが望ましい。また、請求項3記載の発明は、請求項2記載のプリンタ装置において、描画データを前記メモリに記憶した後、現在装着されている給紙トレイの用紙サイズで印刷可能なデータがホスト装置から送られてきた場合、この印刷可能なデータを前記メモリに記憶したデータより先に印刷するように構成したことを特徴としている。
【0006】
上記のように、請求項1記載のプリンタ装置は、現在設定されている変倍率をホスト装置から送られてきたコマンドで指定された等倍時の用紙サイズに掛けて変倍後の画像サイズに適した用紙サイズを求め、その適した用紙サイズの給紙トレイを選択して印刷を行なうので、ホスト装置からのコマンドにより指定された用紙サイズに制約されず、現在設定されている変倍率を優先し且つ適切なサイズの用紙に印刷することができる。また、請求項2記載のプリンタ装置は、変倍後の画像サイズに適した用紙サイズの用紙が入っている給紙トレイがセットされていなかった場合でも、ホスト装置に印刷拒否をせず、ホスト装置から送られてくるデータを処理し描画データとしてメモリに記憶し、変倍後の画像サイズに適した用紙サイズの給紙トレイが新たに装着されたときに、当該新たに装着された給紙トレイから給紙を行い、前記メモリに記憶しておいた描画データを印刷するので、変倍後の画像サイズに適した用紙サイズの給紙トレイをセットした後、ユーザが再びデータを転送する手間が省ける。また、請求項3記載のプリンタ装置は、現在装着されている給紙トレイの用紙サイズで印刷可能なデータがホスト装置から送られてきた場合、この印刷可能なデータを前記メモリに記憶したデータより先に印刷するので、印刷可能なデータを後から送ってきた別のユーザを待たせることなく効率良く印刷処理を行うことができる。
【0007】
【発明の実施の形態】
以下、本発明の実施の形態について図面を参照しつつ説明する。
図1は本発明の実施の形態の一例を示すブロック図であり、プリンタ装置(レーザプリンタ)1とホスト装置3とからなるシステム構成を示している。
プリンタ装置1は、コントローラ2と操作パネル装置4とプリンタエンジン13とで概ね構成される。
コントローラ2は、その時設定されている制御モード及びホスト装置3からの制御コードに従って、ホスト装置3からの印字データ(画像データ)を、ビデオデータに変換してプリンタエンジン13へ出力する制御機構であり、以下のモジュールで構成される。
ホストI/F5は、プリンタ装置1とホスト装置3とのインタフェースであり、ホスト装置3からプリンタ装置1へ制御信号およびデータを受け渡すとともに、プリンタ装置1からホスト装置3へステータス信号を受け渡す。
プログラムROM6には、コントローラ2内においてデータを処理したり管理したりする為のプログラムや、周辺モジュールを制御する為のプログラム等が格納されている。
フォントROM7には、印字に使用されるさまざまな種類のフォントデータが保存されている。
パネルI/F8は、コントローラ2と操作パネル装置4とのインタフェースである。
【0008】
CPU9は、プログラムROM6に書き込まれたプログラムに従って、ホスト装置3からのデータ(印字データ、制御データ)を解析し、その結果に応じて描画データを作成したり、変倍処理を行ったり、変倍後の適切な用紙サイズを算出したりする処理等を行い、コントローラ2全体を統括制御してプリンタエンジン13による印刷出力動作を制御する。
RAM10は、CPU9が各種処理を行う際のワークメモリ、ホスト装置3からのデータをページ単位で管理して一時記憶するバッファ、及びバッファに記憶されたデータを実際の印字パターンに変換し、ビデオデータを記憶するビットマップメモリ等として使われる。
NV−RAM11は、電源を切っても保持しておくべきデータを格納しておく為の不揮発性RAMである。
エンジンI/F12は、コントローラ2とプリンタエンジン13とのインタフェースであり、コントローラ2からプリンタエンジン13へ制御信号やビデオ信号を受け渡すとともに、プリンタエンジン13からコントローラ2へステータス信号を受け渡す。
プリンタエンジン13は、コントローラ2からのビデオ信号および制御信号により感光体上に静電潜像を作り、その静電潜像をトナーで現像するとともに、給紙部より転写用紙を給紙し、感光体から転写用紙にトナー像を転写した後、トナー像を転写用紙に定着させることにより、上記ビデオ信号および制御信号に応じた画像を用紙に印刷する。プリンタエンジン13の給紙部には、A4、B4、A3、A2など各種サイズの用紙がセットされた給紙カセットが装着されている。操作パネル装置4は、プリンタ装置1の状態を表示する表示部、及びプリンタ装置1のモードの設定や印刷部数の指定を行ったり、フォント等を切替えたりするためのスイッチ部からなる。
【0009】
次に、このプリンタ装置1における印刷処理動作の概要を説明する。
ホスト装置3からホストI/F5を通して送られてきたデータは、CPU9がプログラムROM6上のデータ解析プログラムにしたがって解析することにより、印字データおよび印字制御データ(SP、CR、LF、HT、VT、・・・等)とその他に分けられる。印字データおよび印字制御データはRAM10上の受信バッファに一旦記憶される。一旦記憶された受信データは、プログラムROM6上の制御プログラムが一つずつ取り出し、その処理を行う。例えば、取り出したデータが文字コードであれば、印字位置、印字サイズ、文字コード、フォント情報等を備えた中間コードを作成し、RAM10上に設けられた中間バッファに収納する。制御コードや、エスケープシーケンス等のコマンドであった場合、それらに予め定義された処理を行う。それは、例えば、印刷部数の指定であれば、指定された印刷部数だけ出力するように設定し(内部的な制御情報の設定)、印字位置の指定であったら、次に来た文字コードの位置を指定された位置にするとか、フォントの変更であった場合は、次に来た文字コードのフォント情報を指定されたフォントにするといった具合に処理を行う。
このようにして、ホスト装置3からのプリント命令の処理を行うか、または処理を行ったデータが1ページ分を超えたら、次に中間バッファに貯えられた中間コードを、制御プログラムにしたがって、ビデオデータに変換する処理を行う。変換が終了したら、コントローラ2はエンジンI/F12を通してプリンタエンジン13にプリントスタートの命令を出し、それに同期してビデオデータを転送する。
以上のような一連の動作によりホスト装置3からの印字データがコントローラ2を介してプリンタエンジン13より印字出力される。
【0010】
次に、各請求項に対応する実施の形態を説明する。
図2は請求項1に対応する実施の形態の一例を示すプリンタ装置の動作フロー図である。先ず、ホスト装置3から用紙サイズを指定するコマンド(以下、紙サイズ指定コマンドという。)を受信したかどうかチェックする(S1)。紙サイズの指定コマンドは、A4、B4、A3、A2といった用紙紙サイズを指定したり、紙の縦と横の長さを指定するコマンドである。
その結果、紙サイズ指定コマンドを受信した場合は(S1でYes)、現在設定されている変倍率の情報を読みとる(S2)。この変倍率の情報は変倍率設定時に、CPU9がRAM10またはNV−RAM11に記憶させたものである。そして、紙サイズ指定コマンドで指定された用紙サイズの情報を読み取り、その用紙サイズに設定されている変倍率を掛けたときの画像データの大きさを求める(S3)。変倍率をかけたときの大きさを求めるために、A4、B4、A3、A2などの各種の用紙サイズの縦と横の長さはプログラムROM6に記憶されており、この用紙サイズの縦と横の長さに変倍率を掛けることにより、変倍後の画像データのサイズを求めることができる。
そして、算出された変倍後の画像サイズに適した用紙サイズを求め(S4)、求めた用紙サイズの用紙がセットされている給紙トレイを選択し(S5)、その給紙トレイから給紙して印刷を行う。
上記のように、現在設定されている変倍率をホスト装置3から送られてきた紙サイズ指定コマンドで指定された用紙サイズに掛けて変倍後の画像サイズに適した用紙サイズを求め(S3、S4)、その適した用紙サイズの給紙トレイを選択(S5)して印刷を行なうことにより、ホスト装置3からのコマンドにより指定された用紙サイズに制約されず、現在設定されている変倍率を優先し且つ適切なサイズの用紙に印刷することができる。
【0011】
図3、図4は請求項2に対応する実施の形態の一例を示すプリンタ装置の動作フロー図である。
図3は変倍後の画像サイズに適した用紙サイズの給紙トレイがなかったとき、ホスト装置3に印刷拒否をせず、ホスト装置3からのデータを受信し、そのデータを処理し描画データに変換してメモリに記憶し、ホスト装置3からのデータ転送が終ったときに、操作パネル装置8の表示部に適した用紙サイズのトレイが無い旨を表示する一連の動作内容を例示している。
先ず、図2のS5において選択しようとした用紙サイズの給紙トレイがあるかどうかをチェックする(S6)。
その結果、選択しようとした用紙サイズの給紙トレイがあれば(S6でYes)、通常の受信データの解析処理(S7)及び描画データへの変換処理(S8)を行う。このとき、作成した描画データの記憶用のエリアを確保するために、作成した描画データのサイズを算出しておく。また、記憶するためのメモリエリアを小さくするために、描画データを圧縮処理しておいてもよい。
そして、データサイズに合わせて作成した描画データを記憶するためのメモリエリアを確保する(S9)。メモリエリアはRAM10またはNV−RAM11のプログラムやダウンロードフォントなどが使用していない空きエリアに確保される。
そして、ステップS9で確保したメモリエリアに描画データを記憶する(S10)。このとき、記憶した描画データを後ほど印刷する際に、どの描画データであるか区別できるように管理する情報も共に作成して記憶しておく。
そして、この用紙サイズを指定したデータの受信が終了したかどうかを判断する(S11)。この判断は、エミュレーション切り替えコマンドをデータの区切りと判断したり、紙サイズ指定コマンドを一連の受信データの終わりと判断したり、ジョブの終了コマンドを受信データの終わりと判断することで正確に行うことができる。
そして、受信が完了後(S11でYes)、図2のステップS4で求めた適切な用紙サイズを操作パネル装置8の表示部に表示する(S12)。
【0012】
図4は適切な用紙サイズの給紙トレイが装着されたとき、メモリに記憶しておいた描画データを印刷する動作フローの一例である。このフローでは、先ず、給紙部における給紙トレイの交換、装着状態をチェックするなどして、現在装着されている給紙トレイを検出する(S13)。そして、検出された給紙トレイがステップS4で求めた用紙サイズの給紙トレイであるか否か、すなわち、給紙部に適切な用紙サイズの給紙トレイが装着されたかどうかをチェックし(S14)、適切な用紙サイズの給紙トレイがあったら(S14でYes)、その給紙トレイを選択し(S15)、その給紙トレイから給紙した用紙にステップS10でメモリに記憶しておいた描画データを印刷する(S16)。
このように、変倍後の画像サイズに適した用紙サイズの用紙が入っている給紙トレイがセットされていない場合に、ホスト装置3から送られてくるデータを処理し描画データとしてメモリに記憶しておき(S10)、変倍後の画像サイズに適した用紙サイズの給紙トレイが新たに装着されたとき(S14でYes)、当該新たに装着された給紙トレイを選択して給紙を行い(S15)、メモリに記憶しておいた描画データを印刷することにより(S16)、変倍後の画像サイズに適した用紙サイズの給紙トレイをセットした後、ユーザが再びデータを転送する手間を省くことができる。
【0013】
図5は請求項3に対応する実施の形態の一例を示すプリンタ装置の動作フロー図である。このフローは、図3の一連の動作に続くものである。すなわち、選択すべき用紙サイズの給紙トレイが装着されていないため(S6)、ホスト装置3から送られてくるデータを処理し描画データとしてメモリに記憶し(S7〜S10)、そのデータの受信が終了し(S11)、選択すべき用紙サイズを操作パネル装置8の表示部に表示した後(S12)、ホスト装置3からの新たな受信データを検出した場合(S17でYes)、その後から受信したデータに対し図2、図3、図4の処理を行う(S18)。
このように、選択すべき用紙サイズの給紙トレイが装着されていないために現在印刷出力できない描画データをメモリに保存した状態であっても、ホスト装置3から新たなデータを受信した場合、そのデータを先に処理することにより、印刷可能なデータを後から送ってきた別のユーザを待たせることなく効率良く印刷処理を行うことができる。なお、上記後から受信したデータについても選択すべき用紙サイズの給紙トレイがない場合には、先に受信したデータを優先して処理するか、或いは後から受信したデータも描画データとしてメモリに保存しておき、描画データサイズに合った適切な用紙サイズの給紙トレイが装着されたデータから先に処理する。
【0014】
【発明の効果】
以上説明したように、本発明によれば以下のような優れた効果を発揮できる。請求項1記載の発明では、現在設定されている変倍率をホスト装置から送られてきたコマンドで指定された等倍時の用紙サイズに掛けて変倍後の画像サイズに適した用紙サイズを求め、その適した用紙サイズの給紙トレイを選択して印刷を行なうようにしたので、ホスト装置からのコマンドにより指定された用紙サイズに制約されず、現在設定されている変倍率を優先し且つ適切なサイズの用紙に印刷することができ、しかもユーザが変倍後の画像サイズを考慮して用紙サイズを変更する操作などを行う必要がないので操作性が良い。また、請求項2記載の発明では、請求項1に加え、変倍後の画像サイズに適した用紙サイズの用紙が入っている給紙トレイがセットされていなかった場合でも、ホスト装置に印刷拒否をせず、ホスト装置から送られてくるデータを処理し描画データとしてメモリに記憶し、変倍後の画像サイズに適した用紙サイズの給紙トレイが新たに装着されたときに、当該新たに装着された給紙トレイから給紙を行い、前記メモリに記憶しておいた描画データを印刷するようにしたので、変倍後の画像サイズに適した用紙サイズの給紙トレイをセットした後、ユーザが再びデータを転送する手間を省くことができる。また、請求項3記載の発明では、請求項2に加え、現在装着されている給紙トレイの用紙サイズで印刷可能なデータがホスト装置から送られてきた場合、この印刷可能なデータを前記メモリに記憶したデータより先に印刷するようにしたので、印刷可能なデータを後から送ってきた別のユーザを待たせることなく効率良く印刷処理を行うことができる。
【図面の簡単な説明】
【図1】本発明の実施の形態の一例を示すブロック図である。
【図2】請求項1に対応する実施の形態の一例を示すプリンタ装置の動作フロー図である。
【図3】請求項2に対応する実施の形態の一例を示すプリンタ装置の動作フロー図である。
【図4】請求項2に対応する実施の形態の一例を示すプリンタ装置の別の動作フロー図である。
【図5】請求項3に対応する実施の形態の一例を示すプリンタ装置の動作フロー図である。
【符号の説明】
1 プリンタ装置、2 コントローラ、3 ホスト装置、4 操作パネル装置(変倍率指定手段)、5 ホストインタフェース、6 プログラムROM、7フォントROM、8 パネルインタフェース、9 CPU(トレイ選択手段、変倍率指定手段、用紙サイズ算出手段)、10 RAM(メモリ)、11 NV−RAM(メモリ)、12 エンジンインタフェース、13 プリンタエンジン。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a digital copier, a printer, and a printer device such as a multi-function printer having both of these functions and a facsimile function, and more particularly, to a paper feed tray of a paper size designated in response to a command from a host device. And a function of printing an image on a sheet of an appropriate size according to a designated magnification.
[0002]
[Prior art]
Conventionally, a printer device that processes and prints image data in response to a command from a host device, even if the magnification is set to a value different from the same size (100%), the size of the paper from the host device is reduced. When data containing a command to be specified was sent, paper was fed from a paper feed tray of the paper size specified by the command.
However, in reality, there is a case where the printer does not have a paper feed tray of the paper size specified by the command. Therefore, for example, in the invention described in (1) Japanese Patent Application Laid-Open No. 9-156788, the printer automatically calculates the magnification when there is no paper feed tray containing paper of the designated paper size and prints. I do it. (2) In the invention described in JP-A-7-144780, when a paper size is designated by a command from the host device, the printer detects a paper feed tray containing paper of the designated size and detects the tray. When the selection is made, but there is no designated paper feed tray, the printing is rejected to the host apparatus, and the paper size at the time of rejection is stored and displayed. (3) In the invention described in JP-A-7-244566, the host device obtains information on the printable paper size from the printer device, and prepares the printer device with the size of the image data to be output by the host device. When the paper size is small, the host device performs reduction / magnification processing corresponding to the paper size and outputs the result to the printer device.
However, (1) as in the invention described in Japanese Patent Application Laid-Open No. 9-156788, when there is no paper feed tray containing paper of a designated paper size, the printer automatically calculates the magnification and performs printing. If this is done, a problem arises in that an image scaled at the scale desired by the user is not printed. (2) When printing is rejected to the host device when there is no paper tray specified by a command from the host device as in the invention described in Japanese Patent Application Laid-Open No. Because the device stops sending data to the printer, the user who attempted to print resupplied paper of the specified size to the paper feed tray, loaded it into the printer, and resent data from the host again. There is a need to. In such a case, the next user waits for printing until the previous user mounts the paper feed tray containing the specified paper and finishes resending the data from the host device. (3) In the invention described in JP-A-7-244566, every time printing is attempted, the host device obtains information on the printable paper size from the printer device, and outputs the paper size prepared in the printer device. If the size of the image data is smaller than the size of the image data to be transmitted, the data is transmitted after the host device performs reduction / magnification in accordance with the paper size. There are problems such as a decrease in throughput due to an increase in time and an increase in load on the host device.
Also, even if the printer has a paper feed tray of the paper size specified by the above command, if the magnification is set in the printer, as a result, the paper is fed from the paper tray that does not match the image size after the magnification. There is the problem that paper can be done.
[0004]
[Problems to be solved by the invention]
SUMMARY OF THE INVENTION The present invention has been conceived in order to improve the above-mentioned disadvantages of the conventional technique. In the invention of claim 1, the currently set variable size is not restricted by the paper size specified by a command from the host device. It is an object of the present invention to provide a printer device capable of giving priority to magnification and printing on a sheet of an appropriate size. Another object of the present invention is to provide a printer device in which a user does not need to transfer data again after setting a paper feed tray of an appropriate paper size. Further, according to the third aspect of the present invention, even before a paper feed tray of an appropriate paper size is set, print processing can be efficiently performed without waiting for another user who has sent printable data later. An object of the present invention is to provide a printer device that can perform the above-described operations.
[0005]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, according to the first aspect of the present invention, a plurality of paper feed trays each capable of setting paper of different size, and a paper feed tray containing paper of a size designated by a command from a host device. In an image forming apparatus having a tray selecting unit for selecting a tray and a scaling ratio designating unit for designating a scaling ratio of image data to be drawn , the paper size currently set at the same magnification specified by the command is set. The paper size calculating means for calculating the paper size after the magnification by multiplying the magnification is provided, and the tray selecting means selects a paper feed tray containing the paper of the paper size calculated by the paper size calculating means. It is characterized by doing. According to a second aspect of the present invention, in the printer of the first aspect, printing is performed on the host device even when a paper tray containing paper of the paper size determined by the paper size calculation means is not set. Without rejecting, the data sent from the host device is processed and stored in the memory as drawing data, and when a paper tray of the paper size calculated by the paper size calculation unit is newly mounted, the new paper tray is used. Paper is fed from a mounted paper feed tray, and at this time, the drawing data stored in the memory is printed. In this case, it is desirable to store the drawing data in a memory and display the drawing data on a display unit so as to notify the user of the paper size obtained by the paper size calculation means. According to a third aspect of the present invention, in the printer of the second aspect, after the drawing data is stored in the memory, data that can be printed in the paper size of the currently mounted paper feed tray is transmitted from the host device. In this case, the printable data is printed before the data stored in the memory.
[0006]
As described above, the printer device according to claim 1 multiplies the currently set scaling factor by the paper size at the same magnification specified by the command sent from the host device to obtain the image size after scaling. Since a suitable paper size is determined and a paper tray with the appropriate paper size is selected and printing is performed, the currently set magnification is prioritized without being restricted by the paper size specified by a command from the host device. And print on paper of an appropriate size. Further, the printer device according to the second aspect does not reject printing to the host device even if a paper tray containing paper of a paper size suitable for the image size after scaling is not set. The data sent from the device is processed and stored in the memory as drawing data, and when a paper feed tray of a paper size suitable for the image size after scaling is newly mounted, the newly mounted paper feed Since the paper is fed from the tray and the drawing data stored in the memory is printed, the user has to set a paper feed tray of a paper size suitable for the image size after scaling, and then save the user the need to transfer the data again. Can be omitted. Further, in the printer device according to the present invention, when data that can be printed in the paper size of the currently mounted paper feed tray is sent from the host device, the printable data is converted from the data stored in the memory. Since printing is performed first, the printing process can be efficiently performed without having to wait for another user who has sent printable data later.
[0007]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating an example of an embodiment of the present invention, and illustrates a system configuration including a printer device (laser printer) 1 and a host device 3.
The printer device 1 generally includes a controller 2, an operation panel device 4, and a printer engine 13.
The controller 2 is a control mechanism that converts print data (image data) from the host device 3 into video data and outputs the video data to the printer engine 13 in accordance with the control mode set at that time and the control code from the host device 3. And the following modules.
The host I / F 5 is an interface between the printer device 1 and the host device 3, and passes control signals and data from the host device 3 to the printer device 1, and also passes status signals from the printer device 1 to the host device 3.
The program ROM 6 stores a program for processing and managing data in the controller 2, a program for controlling peripheral modules, and the like.
The font ROM 7 stores various types of font data used for printing.
The panel I / F 8 is an interface between the controller 2 and the operation panel device 4.
[0008]
The CPU 9 analyzes data (print data, control data) from the host device 3 according to the program written in the program ROM 6 and creates drawing data, performs scaling processing, performs scaling, according to the analysis result. A process for calculating an appropriate paper size is performed later, and overall control of the controller 2 is performed to control a print output operation by the printer engine 13.
The RAM 10 includes a work memory for the CPU 9 to perform various processes, a buffer for managing and temporarily storing data from the host device 3 in page units, and converting data stored in the buffer into an actual print pattern, Is used as a bitmap memory for storing the
The NV-RAM 11 is a non-volatile RAM for storing data to be retained even when the power is turned off.
The engine I / F 12 is an interface between the controller 2 and the printer engine 13. The engine I / F 12 transfers a control signal and a video signal from the controller 2 to the printer engine 13, and transfers a status signal from the printer engine 13 to the controller 2.
The printer engine 13 forms an electrostatic latent image on a photoconductor by a video signal and a control signal from the controller 2, develops the electrostatic latent image with toner, and feeds a transfer sheet from a sheet feeding unit, and After transferring the toner image from the body to the transfer sheet, the toner image is fixed on the transfer sheet, so that an image corresponding to the video signal and the control signal is printed on the sheet. The paper feed unit of the printer engine 13 is equipped with a paper feed cassette in which sheets of various sizes such as A4, B4, A3, and A2 are set. The operation panel device 4 includes a display unit for displaying the status of the printer device 1 and a switch unit for setting the mode of the printer device 1, specifying the number of print copies, and switching fonts and the like.
[0009]
Next, an outline of a print processing operation in the printer device 1 will be described.
The data sent from the host device 3 through the host I / F 5 is analyzed by the CPU 9 in accordance with a data analysis program on the program ROM 6 so that print data and print control data (SP, CR, LF, HT, VT,.・ ・ Etc.) and others. The print data and print control data are temporarily stored in a reception buffer on the RAM 10. Once the received data is stored, the control program on the program ROM 6 retrieves the data one by one and performs the processing. For example, if the extracted data is a character code, an intermediate code including a print position, a print size, a character code, font information, and the like is created and stored in an intermediate buffer provided on the RAM 10. If the command is a control code or a command such as an escape sequence, a process defined in advance for the command is performed. For example, if the number of print copies is specified, it is set to output the specified number of print copies (internal control information setting). If the print position is specified, the position of the next character code is set. Is set to the specified position, or if the font is changed, the font information of the next character code is changed to the specified font.
In this way, when the print command from the host device 3 is processed, or when the processed data exceeds one page, the intermediate code stored in the intermediate buffer is then converted to the video data according to the control program. Performs processing to convert to data. When the conversion is completed, the controller 2 issues a print start command to the printer engine 13 through the engine I / F 12, and transfers video data in synchronization with the print start command.
Through a series of operations as described above, print data from the host device 3 is printed out from the printer engine 13 via the controller 2.
[0010]
Next, an embodiment corresponding to each claim will be described.
FIG. 2 is an operation flowchart of the printer apparatus showing an example of the embodiment corresponding to claim 1. First, it is checked whether a command for specifying a paper size (hereinafter, referred to as a paper size specification command) has been received from the host device 3 (S1). The paper size designation command is a command for designating a paper size such as A4, B4, A3, or A2, or for specifying the length and width of the paper.
As a result, when a paper size designation command is received (Yes in S1), information on the currently set magnification is read (S2). The CPU 9 stores the information on the magnification in the RAM 10 or the NV-RAM 11 when the magnification is set. Then, the information of the paper size specified by the paper size specification command is read, and the size of the image data when multiplying the paper size by the set magnification is obtained (S3). In order to determine the size when the magnification is multiplied, the length and width of various paper sizes such as A4, B4, A3, and A2 are stored in the program ROM 6, and the height and width of this paper size are stored. By multiplying the length by the scaling factor, the size of the image data after scaling can be obtained.
Then, a paper size suitable for the calculated image size after scaling is obtained (S4), a paper tray on which paper of the obtained paper size is set is selected (S5), and paper is fed from the paper tray. And print.
As described above, the currently set magnification is multiplied by the paper size specified by the paper size designation command sent from the host device 3 to obtain a paper size suitable for the image size after the magnification (S3, S4) By selecting a paper feed tray having a suitable paper size (S5) and performing printing, the currently set magnification is not restricted by the paper size specified by the command from the host device 3. Printing can be performed on a sheet of priority and appropriate size.
[0011]
FIGS. 3 and 4 are operation flow charts of the printer apparatus showing an example of the second embodiment.
FIG. 3 shows that when there is no paper feed tray of a paper size suitable for the image size after scaling, the host device 3 receives data from the host device 3 without rejecting printing, processes the data, and processes the drawing data. A series of operation contents for displaying that there is no tray of a paper size suitable for the display unit of the operation panel device 8 when the data transfer from the host device 3 is completed is illustrated. I have.
First, it is checked whether there is a paper feed tray of the paper size selected in S5 of FIG. 2 (S6).
As a result, if there is a paper feed tray of the paper size to be selected (Yes in S6), normal reception data analysis processing (S7) and conversion processing to drawing data (S8) are performed. At this time, the size of the created drawing data is calculated in order to secure an area for storing the created drawing data. Further, in order to reduce the memory area for storage, the drawing data may be compressed.
Then, a memory area for storing the drawing data created according to the data size is secured (S9). The memory area is secured in a free area that is not used by the programs or download fonts of the RAM 10 or the NV-RAM 11.
Then, the drawing data is stored in the memory area secured in step S9 (S10). At this time, when the stored drawing data is printed later, information for managing which drawing data is to be distinguished is also created and stored.
Then, it is determined whether the reception of the data specifying the paper size has been completed (S11). This determination must be made accurately by determining the emulation switching command as a data break, determining the paper size designation command as the end of a series of received data, or determining the job end command as the end of the received data. Can be.
Then, after the reception is completed (Yes in S11), the appropriate paper size obtained in step S4 of FIG. 2 is displayed on the display unit of the operation panel device 8 (S12).
[0012]
FIG. 4 shows an example of an operation flow for printing drawing data stored in a memory when a paper feed tray of an appropriate paper size is mounted. In this flow, first, the currently installed paper feed tray is detected by replacing the paper feed tray in the paper feed unit and checking the mounting state (S13). Then, it is checked whether or not the detected paper feed tray is the paper feed tray of the paper size obtained in step S4, that is, whether or not the paper feed tray of the appropriate paper size is mounted on the paper feed unit (S14). If there is a paper feed tray of an appropriate paper size (Yes in S14), the paper feed tray is selected (S15), and the paper fed from the paper feed tray is stored in the memory in step S10. The drawing data is printed (S16).
In this way, when the paper tray containing paper of a paper size suitable for the image size after scaling is not set, the data sent from the host device 3 is processed and stored in the memory as drawing data. In advance (S10), when a paper feed tray of a paper size suitable for the image size after scaling is newly installed (Yes in S14), the newly installed paper feed tray is selected and fed. (S15), the drawing data stored in the memory is printed (S16), and after setting a paper feed tray of a paper size suitable for the image size after scaling, the user transfers the data again. It saves the trouble of doing.
[0013]
FIG. 5 is an operation flow chart of the printer apparatus showing an example of the embodiment corresponding to claim 3. This flow follows a series of operations in FIG. That is, since the paper feed tray of the paper size to be selected is not mounted (S6), the data sent from the host device 3 is processed and stored in the memory as drawing data (S7 to S10), and the data is received. Is completed (S11), the paper size to be selected is displayed on the display unit of the operation panel device 8 (S12), and when new reception data from the host device 3 is detected (Yes in S17), reception is performed thereafter. The processing of FIGS. 2, 3 and 4 is performed on the obtained data (S18).
As described above, even if the drawing data that cannot be printed and output at present is stored in the memory because the paper feed tray of the paper size to be selected is not mounted, when new data is received from the host device 3, By processing the data first, the print processing can be performed efficiently without having to wait for another user who has sent printable data later. If there is no paper tray for the paper size to be selected for the data received later, the data received earlier is processed with priority or the data received later is stored in the memory as drawing data. The data is stored, and the processing is performed first from the data in which the paper feed tray of the appropriate paper size corresponding to the drawing data size is mounted.
[0014]
【The invention's effect】
As described above, according to the present invention, the following excellent effects can be exhibited. According to the first aspect of the present invention, the currently set magnification is multiplied by the paper size at the same magnification specified by the command sent from the host device, and a paper size suitable for the image size after the magnification is obtained. Since the printing is performed by selecting a paper feed tray of the appropriate paper size, the paper size specified by the command from the host device is not restricted, and the currently set magnification is given priority and appropriate. Therefore, operability is good because it is not necessary to perform an operation of changing the paper size in consideration of the image size after zooming. Further, according to the second aspect of the present invention, in addition to the first aspect, even if a paper tray containing paper of a paper size suitable for the scaled image size is not set, printing is rejected by the host device. Without processing, the data sent from the host device is processed and stored in the memory as drawing data, and when a paper feed tray of a paper size suitable for the image size after scaling is newly attached, the new Paper is fed from the attached paper feed tray and the drawing data stored in the memory is printed, so after setting the paper feed tray of a paper size suitable for the image size after scaling, This eliminates the need for the user to transfer data again. According to the third aspect of the present invention, in addition to the second aspect, when data that can be printed in the paper size of the currently mounted paper feed tray is sent from the host device, the printable data is stored in the memory. Since the printing is performed before the data stored in the printer, the printing process can be performed efficiently without waiting for another user who has sent the printable data later.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an example of an embodiment of the present invention.
FIG. 2 is an operation flowchart of the printer apparatus showing an example of the embodiment corresponding to claim 1;
FIG. 3 is an operation flowchart of the printer apparatus showing an example of the embodiment corresponding to claim 2;
FIG. 4 is another operation flow chart of the printer apparatus showing an example of the embodiment corresponding to claim 2;
FIG. 5 is an operation flowchart of the printer apparatus showing an example of the embodiment corresponding to claim 3;
[Explanation of symbols]
1 printer device, 2 controller, 3 host device, 4 operation panel device (magnification designating means), 5 host interface, 6 program ROM, 7 font ROM, 8 panel interface, 9 CPU (tray selection means, magnification designating means, Paper size calculation means), 10 RAM (memory), 11 NV-RAM (memory), 12 engine interface, 13 printer engine.

Claims (3)

サイズの異なる用紙をセット可能な複数の給紙トレイと、ホスト装置からのコマンドにより指定されたサイズの用紙が入っている給紙トレイを選択するトレイ選択手段と、描画する画像データの変倍率を指定する変倍率指定手段とを有する画像形成装置において、前記コマンドにより指定された等倍時の用紙のサイズに現在設定されている変倍率を掛け合わせて変倍後の用紙サイズを算出する用紙サイズ算出手段を備えるとともに、前記トレイ選択手段は、前記用紙サイズ算出手段により算出された用紙サイズの用紙が入っている給紙トレイを選択することを特徴とするプリンタ装置。A plurality of paper trays capable of setting paper of different sizes, a tray selecting means for selecting a paper tray containing paper of a size specified by a command from the host device, and a scaling ratio of image data to be drawn. in the image forming apparatus having the magnification designating means for designating the paper size for calculating the paper size after scaling by multiplying the magnification that is currently set to the size of the paper when equal times specified by said command A printer device comprising a calculation unit, wherein the tray selection unit selects a paper feed tray containing sheets of the paper size calculated by the paper size calculation unit. 前記用紙サイズ算出手段で求めた用紙サイズの用紙が入っている給紙トレイがセットされていなかった場合、ホスト装置に印刷拒否をせず、ホスト装置から送られてくるデータを処理し描画データとしてメモリに記憶し、前記用紙サイズ算出手段で求めた用紙サイズの給紙トレイが新たに装着されたときに、当該新たに装着された給紙トレイから給紙を行い、このとき前記メモリに記憶しておいた描画データを印刷するように構成したことを特徴とする請求項1記載のプリンタ装置。If the paper tray containing the paper of the paper size determined by the paper size calculation unit is not set, the printing is not rejected to the host device, and the data sent from the host device is processed and rendered as drawing data. When a paper tray having the paper size calculated by the paper size calculation means is newly mounted, the paper is fed from the newly mounted paper tray, and stored in the memory at this time. 2. The printer device according to claim 1, wherein the printer is configured to print the drawing data. 描画データを前記メモリに記憶した後、現在装着されている給紙トレイの用紙サイズで印刷可能なデータがホスト装置から送られてきた場合、当該印刷可能なデータを前記メモリに記憶したデータより先に印刷するように構成したことを特徴とする請求項2記載のプリンタ装置。After the drawing data is stored in the memory, if data that can be printed in the paper size of the currently mounted paper feed tray is sent from the host device, the printable data is stored before the data stored in the memory. 3. The printer according to claim 2, wherein the printer is configured to perform printing.
JP17813698A 1998-06-10 1998-06-10 Printer device Expired - Fee Related JP3589443B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17813698A JP3589443B2 (en) 1998-06-10 1998-06-10 Printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17813698A JP3589443B2 (en) 1998-06-10 1998-06-10 Printer device

Publications (2)

Publication Number Publication Date
JPH11349163A JPH11349163A (en) 1999-12-21
JP3589443B2 true JP3589443B2 (en) 2004-11-17

Family

ID=16043289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17813698A Expired - Fee Related JP3589443B2 (en) 1998-06-10 1998-06-10 Printer device

Country Status (1)

Country Link
JP (1) JP3589443B2 (en)

Also Published As

Publication number Publication date
JPH11349163A (en) 1999-12-21

Similar Documents

Publication Publication Date Title
JP3101363B2 (en) User-definable font replacement device with equivalence indicator
EP2317753B1 (en) Printing control method and apparatus
US20110242584A1 (en) Printing apparatus, control method thereof and storage medium
US8599391B2 (en) Multiple media type printing
US6271927B1 (en) Multi-functional image processing apparatus
US6714316B1 (en) Image forming apparatus, image forming system, computer-readable record medium stored with image forming program, and image forming method
EP1323539B1 (en) Stencil printer
JP3589443B2 (en) Printer device
JP4669815B2 (en) Image forming device for printing irregular paper sizes
US7046388B1 (en) Printing system
JPH11199124A (en) Printing system
JP3583879B2 (en) Printer control device
JP2001337802A (en) Image forming apparatus
JP2023065186A (en) Image formation device, control method for image formation device, and program
JP2003091211A (en) Image forming apparatus
JP2007069580A (en) Image forming device
JPH0584987A (en) Printer
JPH089144A (en) Printer and control method therefor
JPH11136496A (en) Image forming device
JP3599393B2 (en) Image output device and image output method
JPH0895726A (en) Print server system
JP4348753B2 (en) Printer, print control method, network system, printer server, and recording medium
JP2006051660A (en) Printing control method
JPH10207646A (en) Output device
JP2000132367A (en) Digital image forming device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040528

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040602

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040723

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040816

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040816

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080827

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080827

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100827

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100827

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110827

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110827

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120827

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120827

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130827

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees