JP2004001261A - Printer, its controlling method and program, and storage medium - Google Patents

Printer, its controlling method and program, and storage medium Download PDF

Info

Publication number
JP2004001261A
JP2004001261A JP2002159207A JP2002159207A JP2004001261A JP 2004001261 A JP2004001261 A JP 2004001261A JP 2002159207 A JP2002159207 A JP 2002159207A JP 2002159207 A JP2002159207 A JP 2002159207A JP 2004001261 A JP2004001261 A JP 2004001261A
Authority
JP
Japan
Prior art keywords
printing
paper
size
fed
double
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
JP2002159207A
Other languages
Japanese (ja)
Inventor
Takashi Yamaguchi
山口 宇
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 JP2002159207A priority Critical patent/JP2004001261A/en
Publication of JP2004001261A publication Critical patent/JP2004001261A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform print processing efficiently without stopping print operation even if a recording sheet of a size specified by a print command from a host computer cannot be fed, and to provide print results as close as those desired by a user. <P>SOLUTION: When a recording sheet conforming to a specified document size included in a perfecting command from a host computer 3000 cannot be fed, a CPU 12 feeds a recording sheet larger than the specified document size in order to print on the surface, measures the difference information between the specified document size and the size of the recording sheet thus fed, and then determines the print position on the back of the recording sheet based on the difference information thus measured before printing on the back. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、ホストコンピュータからの印刷指令によって印刷情報を受信し記録媒体の両面に印刷可能な印刷装置および印刷装置の制御方法およびプログラムおよび記憶媒体に関するものである。
【0002】
【従来の技術】
従来、単数または複数の記録紙を給紙する手段を有するプリンタ、あるいは複写機等の印刷装置において、指定されたサイズの記録紙が指定された給紙方向でセットされていない場合、「ヨウシコウカン」または「プリントチェック」、などのメッセージを印刷装置の表示パネルに表示したり、同種の内容をホストコンピュータに送信し、現在の状態では所望の印刷結果を得る事はできないことをユーザに通知する手段を有していた。
【0003】
ユーザはこの通知に基づいて、印刷指令によって指定された記録紙を印刷装置にセットするか、用紙サイズがあっていなくとも強制的に印刷動作を行い、後述する図8に示すように所望の印刷結果ではないながらも印刷情報を得るかのどちらかの方法をとっていた。
【0004】
図8は、従来の印刷装置における印刷データと出力結果の対応を示す模式図であり、片面印刷データを、該印刷データと用紙サイズがあっていない記録媒体上に強制的に印刷した場合に対応する。
【0005】
【発明が解決しようとする課題】
しかしながら、従来の印刷装置では、特にネットワーク使用において印刷装置はホストコンピュータから離れている場合が一般的であり、印刷装置からのメッセージをユーザが認識できたとしても、印刷装置に適切なる処置をするのには大きな負担を強いる結果となってしまうという問題点があった。
【0006】
加えて印刷動作が停止してしまうために他のユーザによる印刷指令が処理できず印刷が滞ってしまうという問題があった。
【0007】
また、印刷停止を解除して強制的に印刷を行う場合には、特に両面印刷時には表面と裏面の給紙方向が逆となるため後述する図9に示すように表と裏の印刷位置が大幅にずれてしまい許容範囲を逸脱した印刷結果となってしまうため印刷装置の仕様からは除外されてしまうか、仕様としてあったとしても実用的ではない機能となっていた。
【0008】
図9は、従来の印刷装置における両面印刷データと出力結果の対応を示す模式図であり、用紙の搬送方向に対して用紙の長手方向が平行の場合であって、両面印刷データに指定された用紙サイズと実際に給送される用紙サイズとがあっていない場合に強制的に両面印刷(左右綴じ)した結果に対応する。
【0009】
両面印刷データを、該印刷データと用紙サイズがあっていない記録媒体上に強制的に両面印刷した場合(但し、図中矢印で示すように用紙の搬送方向に対して用紙の長手方向が垂直)、図に示すように表の印刷位置(裏面に破線で示す位置)と裏の印刷位置が大幅にずれてしまい許容範囲を逸脱した印刷結果となってしまっている。
【0010】
図10は、従来の印刷装置における両面印刷データと出力結果の対応を示す模式図であり、用紙の搬送方向に対して用紙の長手方向が垂直の場合であって、両面印刷データに指定された用紙サイズと実際に給送される用紙サイズとがあっていない場合に強制的に両面印刷(左右綴じ)した結果に対応する。
【0011】
両面印刷データを、該印刷データと用紙サイズがあっていない記録媒体上に強制的に両面印刷した場合(但し、図中矢印で示すように用紙の搬送方向に対して用紙の長手方向が平行)、図10の場合も図9に示した場合と同様に、図に示すように表の印刷位置(裏面に破線で示す位置)と裏の印刷位置が大幅にずれてしまい許容範囲を逸脱した印刷結果となってしまっている。
【0012】
本発明は、上記の問題点を解決するためになされたもので、本発明に係る第1の発明〜第5の発明の目的は、両面印刷指令に含まれる原稿サイズの指定に合致する記録紙の給紙が不可能な場合、前記指定原稿サイズより大きな記録紙を給紙し表面を印刷するとともに、前記指定原稿サイズと給紙した記録紙のサイズの差分情報を計測し、該計測された差分情報に基づいて、前記記録紙の裏面の印刷位置を決定して、裏面を印刷することにより、ホストコンピュータからの両面印刷指令によって受信した印刷情報と印刷装置にセットされた記録紙の状態に応じて、例え印刷装置に印刷指定されたサイズの記録紙が給送できない場合(紙切れ、又は元々セットされていない、紙詰まり等の場合)でも、印刷停止することなく効率的に印刷処理を実行することができるとともに、ユーザが希望する印刷結果にできるだけ近い印刷結果を提供することができる印刷装置および印刷装置の制御方法およびプログラムおよび記憶媒体を提供することである。
【0013】
【課題を解決するための手段】
本発明に係る第1の発明は、単数または複数の記録紙を給紙する給紙手段(図1に示す用紙カセット1508,給紙ローラ1509,搬送ローラ1510,搬送ローラ1511,図示しないオプション給紙ユニット)と、前記給紙手段から給紙可能な記録紙サイズを検出する検出手段(図示しない複数のセンサ,図2に示すプリンタ制御ユニット1000内のCPU12)と、両面印刷指令に基づいて該両面印刷指令に含まれる原稿サイズの指定に合致する記録紙に両面印刷可能な印刷手段(図1に示す両面ユニット1520を装着したレーザビームプリンタ)とを有する印刷装置において、前記両面印刷指令に含まれる原稿サイズの指定に合致する記録紙が給紙不可能な場合、指定される原稿サイズより大きい記録紙を給紙し表面を印刷するとともに、前記指定される原稿サイズと給紙した記録紙のサイズの差分情報を計測する計測手段(図2に示すCPU12)と、前記計測手段により計測された差分情報に基づいて、前記記録紙の裏面の印刷位置を決定する決定手段(図2に示すCPU12)とを有するものである。
【0014】
本発明に係る第2の発明は、前記計測手段は、前記指定される原稿サイズと給紙した記録紙のサイズの短手方向の差分情報(図4に示す差分「A」),長手方向の差分情報(図4に示す差分「B」)を計測するものであり、前記決定手段は、用紙搬送方向と用紙の長手方向が平行(図5に示す給送方向)な場合には、前記計測手段により計測された長手方向の差分情報に基づいて裏面の用紙搬送方向の用紙先端部の印刷位置を(図5に示す差分「B」のように)決定し、用紙搬送方向と用紙の長手方向が垂直(図6に示す用紙搬送方向)な場合には、前記計測手段により計測された短手方向の差分情報に基づいて裏面の用紙搬送方向の用紙先端部の印刷位置を(図5に示す差分「A」のように)決定するものである。
【0015】
本発明に係る第3の発明は、単数または複数の記録紙を給紙する給紙手段と、前記給紙手段から給紙可能な記録紙サイズを検出する検出手段と、両面印刷指令に基づいて該両面印刷指令に含まれる原稿サイズの指定に合致する記録紙に両面印刷可能な印刷手段とを有する印刷装置の制御方法において、前記両面印刷指令に含まれる原稿サイズの指定に合致する記録紙が給紙不可能な場合、指定される原稿サイズより大きい記録紙を給紙し表面を印刷するとともに、前記指定される原稿サイズと給紙した記録紙のサイズの差分情報を計測する計測工程(図3のステップS4,S5)と、該計測された差分情報に基づいて、前記記録紙の裏面の印刷位置を決定する決定工程(図3のステップS6,S7)と有するものである。
【0016】
本発明に係る第4の発明は、請求項3に記載された印刷装置の制御方法を実行するためのプログラムである。
【0017】
本発明に係る第5の発明は、請求項3に記載された印刷装置の制御方法を実行するためのプログラムをコンピュータが読み取り可能に記憶媒体に記憶したものである。
【0018】
【発明の実施の形態】
まず、図1を参照して、本発明の印刷装置に好適なレーザビームプリンタの構成について説明する。なお、本実施形態を適用可能なプリンタはレーザビームプリンタに限られるものではなく、他のプリント方式(例えばLED方式でも、液晶シャッタ方式、インクジェット方式、熱転写方式、昇華方式等)のプリンタおよび光学系読取装置等を備えた複写機等においても適用可能なことは言うまでもない。
【0019】
図1は、本発明の一実施形態を適用可能なレーザビームプリンタ(LBP)の構成を説明する概略断面図である。
【0020】
図において、1500はLBP本体(以下、プリンタという)であり、外部に直接またはネットワーク経由で接続されているホストコンピュータから供給される記録情報(文字コード等)やフォーム情報あるいはマクロ命令等を入力して記憶するとともに、それらの情報に従って対応する文字パターンやフォームパターン等を作成し、記録媒体である記録紙等に像を形成する。
【0021】
1501は操作パネルで、操作のためのスイッチおよびLED表示器等が配されている。1000はプリンタ制御ユニットで、プリンタ1500全体の制御およびホストコンピュータから供給される文字情報等を解析する。このプリンタ制御ユニット1000は、主に文字情報を対応する文字パターンのビデオ信号に変換してレーザドライバ1502に出力する。
【0022】
レーザドライバ1502は、半導体レーザ1503を駆動するための回路であり、入力されたビデオ信号に応じて半導体レーザ1503から発射されるレーザ光1504をオン・オフ切り替えを行う。
【0023】
レーザ光1504は、回転多面鏡1505で左右方向に振らされて静電ドラム1506上を走査露光する。これにより、静電ドラム1506上には文字パターンの静電潜像が形成されたことになる。この潜像は、静電ドラム1506周囲に配設された現像ユニット1507によりトナー等の現像剤にて現像された後、記録紙に転写される。
【0024】
この記録紙にはカットシートを用い、カットシート記録紙はプリンタ1500に装着した用紙カセット1508に収納され、給紙ローラ1509および搬送ローラ1510と搬送ローラ1511とにより、装置内に取り込まれて、静電ドラム1506に供給される。なお、プリンタ1500は、図示しない複数のセンサを備え、それら複数のセンサは、用紙カセット1508に格納された記録紙のサイズの検知、用紙カセット1508に格納された記録紙の有無の検知、紙詰まりの検知等を行い、プリンタ制御ユニット1000に通知する。この通知によりプリンタ制御ユニット1000(詳しくは、後述する図2に示すCPU12)は、給紙可能な記録紙サイズを検出することができる。
【0025】
また、プリンタ1500には、図示しないオプション給紙ユニットを複数装着可能で、それにより複数のサイズの記録紙を給紙することができる。なお、このオプション給紙ユニットにも、ユニット内に格納された記録紙のサイズ,記録紙の有無,紙詰まりの有無等を検知し、プリンタ制御ユニット1000に通知する図示しないセンサを備えているものとする。
【0026】
さらに、転写後の記録紙は、定着ユニット1512に送られ、加圧,加熱により定着され、排出ローラ1513により装置外に排出される。
【0027】
また、1520は両面ユニットで、プリンタ1500に装着されており、この両面ユニット1520により表面印刷された用紙を表裏反転させて再度給紙することによって両面印刷を可能とする。なお、この両面ユニット1520と同様の機能をプリンタ1500内部に備えていても良い。
【0028】
以下、両面ユニット1520による両面印刷処理について説明する。
【0029】
表面定着後、一度排出ローラ1513まで用紙が搬送されると、排出ローラ1513を反転することにより用紙の搬送向きを切り換えて、フラッパ1521を介して再給紙搬送路1522に搬送された後、所定のタイミングで再給紙される。
【0030】
図2は、本発明の一実施形態を示す印刷装置を適用可能なプリンタ制御システムの構成を説明するブロック図である。ここでは、図1に示したレーザビームプリンタ(プリンタ)を例にして説明するものであり、図1と同一のものには同一の符号を付してある。なお、本発明の機能が実行されるのであれば、単体の周辺装置であっても、複数の周辺装置からなるシステムであっても、LAN等のネットワークを介して処理が行われるシステムであっても本発明を適用できることは言うまでもない。
【0031】
図において、3000はホストコンピュータで、ROM3のプログラム用ROMに記憶された文書処理プログラム等に基づいて図形,イメージ,文字,表(表計算等を含む)等が混在した文書処理を実行するCPU1を備え、システムバス4に接続される各デバイスをCPU1が総括的に制御する。
また、このROM3のプログラム用ROMには、CPU1の制御プログラム、ホストコンピュータから入手した情報から記録媒体の記録方向指定情報を認識するプログラム等を記憶し、ROM3のフォント用ROMには上記文書処理の際に使用するフォントデータ等を記憶し、ROM3のデータ用ROMには上記文書処理等を行う際に使用する各種データを記憶する。
【0032】
2はRAMで、CPU1の主メモリ,ワークエリア等として機能し、またROM3のプログラムにより認識した記録方向指定情報を格納するレジスタとしても機能する。
【0033】
5はキーボードコントローラ(KBC)で、キーボード(KB)9や不図示のマウス等のポインティングデバイスからのキー入力を制御する。6はCRTコントローラ(CRTC)で、CRTディスプレイ(CRT)10の表示を制御する。7はディスクコントローラ(DKC)で、ブートプログラム,種々のアプリケーション,フォントデータ,ユーザファィル,編集ファイル等を記憶するハードディスク(HD)、フレキシブルディスク(FD)等の外部メモリ11とのアクセスを制御する。
【0034】
8はプリンタコントローラ(PRTC)で、所定の双方向性インタフェース(インタフェース)21を介してプリンタ1500に接続されて、プリンタ1500との通信制御処理を実行する。
【0035】
CPU1は、、このPRTC8,インタフェース21を介して、印刷指令(片面印刷指令,両面印刷指令)により印刷情報をプリンタ1500に送信することにより、プリンタ1500による印刷処理を指示する。なお、この印刷指令には、印刷サイズの指定(印刷指定サイズ)を含むものとする。
【0036】
なお、CPU1は、例えばRAM2上に設定された表示情報RAMへのアウトラインフォントの展開(ラスタライズ)処理を実行し、CRT10上でのWYSIWYGを可能としている。また、CPU1は、CRT10上の不図示のマウスカーソル等で指示されたコマンドに基づいて登録された種々のウインドウを開き、種々のデータ処理を実行する。
【0037】
プリンタ1500において、12はCPUで、ROM13のプログラム用ROMに記憶された制御プログラム等或いは外部メモリ14に記憶された制仰プログラム等に基づいてシステムバス15に接続される各種のデバイスとのアクセスを総括的に制御し、記録部インタフェース(I/F)16を介して接続される記録部(プリンタエンジン)17に出力情報としての画像信号を出力する。また、このROM13のプログラム用ROMには、CPU12の制御プログラム等を記憶する。
【0038】
ROM13のフォント用ROMには上記出力情報を生成する際に使用するフォントデータ等を記憶し、ROM13のデータ用ROMにはハードデイスク等の外部メモリ14が無いプリンタの場合には、ホストコンピュータ3000上で利用される情報等を記憶している。
【0039】
CPU12は、入力部18を介してホストコンピュータ3000との通信処理が可能となっており、プリンタ1500内の情報等をホストコンピュータ3000に通知可能に構成されている。
【0040】
CPU12は、この入力部18よりホストコンピュータ3000からの印刷指令によって印刷情報を受信して、記録媒体(片面,両面)への印刷処理を行う。
【0041】
19はRAMで、CPU12の主メモリ、ワークエリア等として機能するRAMで、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。なお、RAM19は、出力情報展開領域、環境データ格納領域、NVRAM等に用いられる。前述したハードディスク(HD)、ICカード等の外部メモリ14は、ディスクコントローラ(DKC)20によりアクセスを制御される。
【0042】
外部メモリ14は、オプションとして接続され、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶する。また、18は前述した操作部(操作パネル)で、操作のためのスイッチおよびLED表示器等が配されている。
【0043】
また、前述した外部メモリは1個に限らず、少なくとも1個以上備え、内蔵フォントに加えてオプションフォントカード,言語系の異なるプリンタ制御言語を解釈するプログラムを格納した外部メモリを複数接続できるように構成されていても良い。さらに、図示しないNVRAMを有し、操作パネル1501からのプリンタモード設定情報を記憶するようにしても良い。
【0044】
以下、図3のフローチャートを参照して、本発明の印刷装置における第1の制御処理手順について説明する。
【0045】
図3は、本発明の印刷装置における第1の制御処理手順の一例を示すフローチャートであり、図2に示したCPU12がROM13又は図示しないその他の記憶媒体に格納されたプログラムに基づいて実行するものとする。
【0046】
ホストコンピュータ3000より印刷指令がなされると、ステップS1において、印刷指令に含まれる原稿サイズ(印刷指定サイズ)の用紙が印刷装置にあるか否かの判定を行い、印刷指令に含まれる原稿サイズの用紙が無いと判断された場合は、用紙サイズ不一致の場合の処理を行うためにステップS2に移行する。
【0047】
ステップS2では、用紙サイズが不一致でも強制的に印刷を行うかどうかの判断をユーザによってあらかじめ選択されている強制印刷モードがオンかオフかにより行う。
【0048】
ステップS2で、強制印刷モードがオフで用紙サイズが不一致の場合強制的に印刷は行わないと判断された場合は、ステップS9以降の強制印刷不可モードヘ移行し、ステップS9において、「ヨウシコウカン」または「プリントチェック」などのメッセージを印刷装置の表示パネルに表示したり、同種の内容をホストコンピュータに送信し、現在の状態では所望の印刷結果を得ることはできないことをユーザに通知し、処理を終了する。
【0049】
一方、ステップS2で、強制印刷モードがオンで用紙サイズが不一致でも強制的に印刷を行うと判断された場合は、ステップS3以降の強制印刷モードヘ移行し、ステップS3において、印刷指令が両面印刷モードであるかどうかの判断を行い、両面印刷であると判断された場合は、ステップS4に進み、後述する図4に示すように指定サイズと実際に給紙する用紙サイズの横幅(短手方向)の差「A」と長さ(長手方向)の差「B」を計測しRAM19等に保存しておく。
【0050】
次にステップS5において、用紙の表面の印刷動作を行い、ステップS6において、裏面の印刷データのレンダリング処理を行い画像データを生成するが、用紙の搬送方向(給送方向)に対して用紙の長手方向が平行の場合(後述する図5の給送方向に給送される場合)は、用紙の搬送方向の用紙先端部のマージンにステップS4で算出(計測)した差分「B」を付け加えて後述する図5に示すように新しいマージンを設定する。
【0051】
次にステップS7において、用紙の搬送方向(給送方向)に対して用紙の長手方向が垂直の場合(後述する図6の用紙搬送方向に給送される場合)は、用紙の搬送方向の用紙先端部のマージンにステップS4で算出(計測)した差分「A」を付け加えて新しいマージンを設定する。
【0052】
こうして生成した裏面データに基づいて、ステップS8によって用紙の裏面の印刷動作を行い、処理を終了する。
【0053】
一方、ステップS3で、印刷指令が両面印刷モードでない、即ち片面印刷であると判断された場合、ステップS11に進み、用紙の表面の印刷動作を行い(図8に示した従来の片面印刷と同様)、処理を終了する。
【0054】
また、ステップS1において、指定サイズどおりの用紙があったと判断された場合は、ステップS10において、印刷指令が両面印刷モードであるかどうかの判断を行い、両面印刷モードでない、即ち片面印刷であると判断された場合は、ステップS11に進み、用紙の表面の印刷動作を行う。
【0055】
一方、ステップS10において、印刷指令が両面印刷モードであると判断された場合は、ステップS12に進み、用紙の表面の印刷動作を行い、ステップS12において、通常の用紙の裏面の印刷動作を行い、処理を終了する。
【0056】
即ち、ステップS1において指定サイズどおりの用紙があった場合(ステップS1で「Y」の場合)には、通常の両面の印刷処理(S12,S13)または片面の印刷処理(S11)を行う。
【0057】
なお、ステップS1では、印刷指令に含まれる原稿サイズの用紙が印刷装置にあるか否かの判定を行ったが、紙づまり等も含めて印刷指令に含まれる原稿サイズの用紙給送可能か否かの判定を行うように構成してもよい。
【0058】
また、上述したステップS2で示した強制印刷モードの設定は、ホストコンピュータ3000上で設定され、印刷指令に含まれてプリンタ1500に送信されるものとする。
【0059】
なお、上記ステップS4,S6,S7を以下のように変更してもよい。
【0060】
まず、ステップS4において、指定サイズと実際に給紙する用紙サイズの給送方向の差を計測しておくようにする。即ち、用紙の搬送方向(給送方向)に対して用紙の長手方向が平行(図5に示す給送方向)の場合は長手方向の差「B」を計測しておき、一方、用紙の搬送方向(給送方向)に対して用紙の長手方向が垂直(図6に示す用紙搬送方向)の場合は短手方向の差「A」を計測しておくようにする。さらに、裏面の印刷データのレンダリング処理を行い画像データを生成する際に、ステップS6,S7を統合して、用紙の搬送方向(給送方向)の用紙先端部のマージンにステップS4で算出(計測)した差分を付け加えて新しいマージンを設定するように構成してもよい。
【0061】
図4は、本発明の一実施形態を示す印刷装置における印刷指定サイズと用紙サイズの対応状態を説明する模式図である。
【0062】
図において、Aは印刷指定サイズと実際に給紙する用紙サイズの横幅(短手方向)の差分であり、Bは印刷指定サイズと実際に給紙する用紙サイズの長さ(長手方向)の差分である。
【0063】
なお、図4は、用紙の搬送方向(給送方向)に対して用紙の長手方向が平行な場合の表面印刷に対応し、用紙は図中矢印方向に給送されて印刷されるものとする。
【0064】
図5は、本発明の一実施形態を示す印刷装置において強制印刷モード(両面)時に裏面のデータに対して設定される印刷位置を説明する模式図である。
【0065】
なお、図5は、用紙の搬送方向(給送方向)に対して用紙の長手方向が平行な場合の裏面印刷に対応し、用紙は図中矢印方向に給送されて印刷されるものとする。
【0066】
図に示すように、強制印刷モードにおいて両面印刷する際、裏面のデータに対して、図中矢印で示す給送方向に用紙が給送される場合は、用紙の給送方向(用紙搬送方向)の先端の画像開始位置として、印刷指定サイズと実際に給紙する用紙サイズの長さ(長手)の差分である「B」を設定する。
【0067】
以上、図4,図5に示したように、本実施形態においては、実際に給送する用紙サイズと印刷指定サイズとがあっていない状態で強制的に両面印刷を行う場合に表面と裏面の給紙方向が逆となっても(即ち、図4,図5に示したように、用紙の搬送方向(給送方向)に対して用紙の長手方向が平行な場合でも)、表面の印刷位置と裏面の印刷位置が一致するように印刷することができる。
【0068】
図6は、本発明の一実施形態を示す印刷装置における両面印刷データと出力結果の対応を示す模式図であり、両面印刷データに指定された用紙サイズと実際に給送される用紙サイズとがあっていない場合に強制的に両面印刷した結果に対応する。なお、図6は、用紙の搬送方向(給送方向)に対して用紙の長手方向が垂直な場合の両面印刷に対応し、用紙は図中矢印方向に給送(搬送)されて印刷されるものとする。
【0069】
図に示すように、強制印刷モードにおいて両面印刷する際、裏面のデータに対して、図中の用紙搬送方向(給送方向)に用紙が給送される場合は、用紙の給送方向の先端の画像開始位置として、印刷指定サイズと実際に給紙する用紙サイズの横幅(短手)の差分である「A」(図5)を設定する。
【0070】
図に示すように、本実施形態においては、実際に給送する用紙サイズと印刷指定サイズとがあっていない状態で強制的に両面印刷を行う場合に、図6に示したように、用紙の搬送方向(給送方向)に対して用紙の長手方向が平行な場合でも、表面の印刷位置(裏面に破線で示す位置)と裏面の印刷位置が一致するように印刷することができる。
【0071】
以上説明したように、両面印刷指令による印刷情報と印刷装置にセットされた記録紙の状態に応じて、例え印刷装置に印刷指定されたサイズの記録紙が給送できない場合(紙切れ、又は元々セットされていない場合等)でも、印刷停止することなく効率的に印刷処理を実行することができるとともに、ユーザが希望する印刷結果にできるだけ近い印刷結果を提供することができる。
【0072】
なお、本実施形態では、図3に示したフローチャートの処理を、印刷装置(プリンタ1500のCPU12)側で実行するものとしたが、図2に示したホストコンピュータ3000のCPU1がROM3又は図示しないその他の記憶媒体に格納されたプログラムに基づいて実行するように構成してもよい。この場合、ホストコンピュータ3000は、プリンタ1500が給紙可能な用紙のサイズをプリンタ1500に要求し、取得するものとする。
【0073】
なお、搬送方向の用紙先端部のマージンは、ポートレート/ランドスケープ、上下綴じ/左右綴じ、用紙搬送方向に応じてTOP、BOTTOM、LEFT、RIGHTマージンのいずれかに相当するものとなり、そのいずれの場合も、本発明に含まれるものである。
【0074】
また、上記実施形態では、ホストコンピュータより送信される印刷指令に基づいて印刷処理を行う場合について説明したが、画像読取り部を有し、画像読取り部により読取られた原稿情報や、画像記憶部を有し、画像記憶部に格納された画像情報に対する印刷指令に対しても、本発明は適用可能である。
【0075】
以下、図7に示すメモリマップを参照して本発明に係る印刷装置で読み出し可能なデータ処理プログラムの構成について説明する。
【0076】
図7は、本発明に係る印刷装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【0077】
なお、特に図示しないが、記憶媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。
【0078】
さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、インストールするプログラムやデータが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。
【0079】
本実施形態における図3に示す機能が外部からインストールされるプログラムによって、ホストコンピュータにより遂行されていてもよい。そして、その場合、CD−ROMやフラッシュメモリやFD等の記憶媒体により、あるいはネットワークを介して外部の記憶媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。
【0080】
以上のように、前述した実施形態の機能を実現するソフトウエアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。
【0081】
この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0082】
プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,DVD−ROM,磁気テープ,不揮発性のメモリカード,ROM,EEPROM,シリコンディスク等を用いることができる。
【0083】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0084】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0085】
また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのソフトウエアによって表されるプログラムを格納した記憶媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。
【0086】
さらに、本発明を達成するためのソフトウエアによって表されるプログラムをネットワーク上のデータベースから通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。
【0087】
【発明の効果】
以上説明したように、本発明に係る第1〜5の発明によれば、両面印刷指令に含まれる原稿サイズの指定に合致する記録紙の給紙が不可能な場合、前記指定原稿サイズより大きな記録紙を給紙し表面を印刷するとともに、前記指定原稿サイズと給紙した記録紙のサイズの差分情報を計測し、該計測された差分情報に基づいて、前記記録紙の裏面の印刷位置を決定して、裏面を印刷するので、ホストコンピュータからの両面印刷指令によって受信した印刷情報と印刷装置にセットされた記録紙の状態に応じて、例え印刷装置に印刷指定されたサイズの記録紙が給送できない場合(紙切れ、又は元々セットされていない、紙詰まり等の場合)でも、印刷停止することなく効率的に印刷処理を実行することができるとともに、ユーザが希望する印刷結果にできるだけ近い印刷結果を提供することができる等の効果を奏する。
【図面の簡単な説明】
【図1】本発明の一実施形態を適用可能なレーザビームプリンタ(LBP)の構成を説明する概略断面図である。
【図2】本発明の一実施形態を示す印刷装置を適用可能なプリンタ制御システムの構成を説明するブロック図である。
【図3】本発明の印刷装置における第1の制御処理手順の一例を示すフローチャートである。
【図4】本発明の一実施形態を示す印刷装置における印刷指定サイズと用紙サイズの対応状態を説明する模式図である。
【図5】本発明の一実施形態を示す印刷装置において強制印刷モード(両面)時に裏面のデータに対して設定される印刷位置を説明する模式図である。
【図6】本発明の一実施形態を示す印刷装置における両面印刷データと出力結果の対応を示す模式図である。
【図7】本発明に係る印刷装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【図8】従来の印刷装置における印刷データと出力結果の対応を示す模式図である。
【図9】従来の印刷装置における両面印刷データと出力結果の対応を示す模式図である。
【図10】従来の印刷装置における両面印刷データと出力結果の対応を示す模式図である。
【符号の説明】
12 CPU
13 ROM
19 RAM
1000 プリンタ制御ユニット
1500 レーザビームプリンタ(LBP)
1508 用紙カセット
1509 給紙ローラ
1510 搬送ローラ
1511 搬送ローラ
1520 両面ユニット
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a printing apparatus capable of receiving print information in response to a print command from a host computer and printing on both sides of a recording medium, a control method of the printing apparatus, a program, and a storage medium.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in a printing apparatus such as a printer or a copying machine having a unit for feeding one or a plurality of recording papers, when a recording paper of a specified size is not set in a specified paper feeding direction, a message “paper exchange” is displayed. ”Or“ Print Check ”, etc., is displayed on the display panel of the printing device, or the same type of content is transmitted to the host computer to notify the user that the desired print result cannot be obtained in the current state. Had the means.
[0003]
Based on this notification, the user sets the recording paper specified by the print command in the printing apparatus, or forcibly performs a printing operation even if the paper size is not sufficient, and performs desired printing as shown in FIG. Either way, but not as a result, print information is obtained.
[0004]
FIG. 8 is a schematic diagram showing a correspondence between print data and an output result in a conventional printing apparatus, and corresponds to a case where one-sided print data is forcibly printed on a recording medium that does not have the print data and the paper size. I do.
[0005]
[Problems to be solved by the invention]
However, in a conventional printing apparatus, especially when the network is used, the printing apparatus is generally remote from the host computer. Even if the user can recognize a message from the printing apparatus, the printing apparatus takes an appropriate action. However, there is a problem that this results in a heavy burden.
[0006]
In addition, since the printing operation is stopped, there is a problem that a print command from another user cannot be processed and printing is delayed.
[0007]
Further, when the printing is stopped and the printing is forcibly performed, especially in the case of duplex printing, the feeding direction of the front side and the back side is reversed. And the printing result deviates from the allowable range, so that the printing result is excluded from the specifications of the printing apparatus, or even if it is a specification, the function is not practical.
[0008]
FIG. 9 is a schematic diagram showing a correspondence between double-sided print data and an output result in a conventional printing apparatus, in a case where the longitudinal direction of the paper is parallel to the paper transport direction, and designated in the double-sided print data. This corresponds to the result of forced double-sided printing (right and left binding) when the paper size does not match the actually fed paper size.
[0009]
When double-sided print data is forcibly double-sided printed on a recording medium that does not have the same paper size as the print data (however, the longitudinal direction of the paper is perpendicular to the paper transport direction as indicated by the arrow in the figure) However, as shown in the figure, the print position of the front (the position indicated by the broken line on the back) and the print position of the back significantly shift, resulting in a print result that deviates from the allowable range.
[0010]
FIG. 10 is a schematic diagram showing the correspondence between double-sided print data and an output result in a conventional printing apparatus, where the longitudinal direction of the paper is perpendicular to the paper transport direction, and designated in the double-sided print data. This corresponds to the result of forced double-sided printing (right and left binding) when the paper size does not match the actually fed paper size.
[0011]
When the double-sided print data is forcibly double-sided printed on a recording medium that does not have the same paper size as the print data (however, the longitudinal direction of the paper is parallel to the paper transport direction as indicated by the arrow in the figure) In the case of FIG. 10, similarly to the case shown in FIG. 9, the printing position of the front (the position shown by the broken line on the back surface) and the printing position of the back surface are greatly shifted as shown in the drawing, and the printing is out of the allowable range. The result has been.
[0012]
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and it is an object of the first to fifth inventions according to the present invention to provide a recording paper which conforms to a specification of a document size included in a double-sided printing instruction. If it is not possible to feed the recording paper, a recording paper larger than the designated original size is fed and the front side is printed, and the difference information between the designated original size and the size of the fed recording paper is measured. Based on the difference information, the printing position of the back side of the recording paper is determined, and the back side is printed, so that the printing information received by the double-sided printing command from the host computer and the state of the recording paper set in the printing apparatus are obtained. Accordingly, even when the recording paper of the size designated for printing cannot be fed to the printing apparatus (in the case of paper exhaustion, original setting, paper jam, etc.), the printing process is efficiently executed without stopping printing. It is possible to, is that the user provides a control method and a program, and storage medium of the printing apparatus and a printing apparatus capable of providing a printing result as close as possible to the print result desired.
[0013]
[Means for Solving the Problems]
A first invention according to the present invention relates to a paper feeding unit (a paper cassette 1508, a paper feeding roller 1509, a transporting roller 1510, a transporting roller 1511, an optional paper feeding not shown in FIG. 1) for feeding a single or a plurality of recording papers. Unit), detecting means (a plurality of sensors not shown, CPU 12 in the printer control unit 1000 shown in FIG. 2) for detecting the size of recording paper that can be fed from the paper feeding means, and In a printing apparatus having a printing unit (laser beam printer equipped with the duplex unit 1520 shown in FIG. 1) capable of performing double-sided printing on a recording sheet matching the specification of the document size included in the print instruction, the printing unit includes the printing instruction. If it is not possible to feed recording paper that matches the original size specification, feed recording paper larger than the specified original size and print the front side. A measuring unit (CPU 12 shown in FIG. 2) for measuring difference information between the designated original size and the size of the fed recording paper, and a recording paper based on the difference information measured by the measuring unit. Determining means (CPU 12 shown in FIG. 2) for determining the printing position on the back side.
[0014]
In a second invention according to the present invention, the measuring means includes difference information (the difference “A” shown in FIG. 4) in the short direction between the designated document size and the size of the fed recording paper, The difference means (difference "B" shown in FIG. 4) is measured, and when the paper transport direction is parallel to the longitudinal direction of the paper (feeding direction shown in FIG. 5), the determination means performs the measurement. The printing position of the leading end of the sheet in the sheet conveying direction on the back side is determined (such as the difference "B" shown in FIG. 5) based on the difference information in the longitudinal direction measured by the means, and the sheet conveying direction and the sheet longitudinal direction are determined. Is perpendicular (the paper transport direction shown in FIG. 6), the printing position of the leading edge of the paper in the paper transport direction on the back side is determined based on the difference information in the lateral direction measured by the measuring means (see FIG. 5). (Like the difference "A").
[0015]
According to a third aspect of the present invention, there is provided a paper feed unit for feeding one or a plurality of recording papers, a detection unit for detecting a recording paper size that can be fed from the paper feed unit, and a double-sided printing command. In a control method of a printing apparatus having a printing unit capable of performing double-sided printing on a recording sheet matching the specification of the document size included in the double-sided printing command, a recording sheet matching the specification of the document size included in the double-sided printing command is used. If the paper cannot be fed, a measuring step of feeding a recording paper larger than the designated original size and printing the front side, and measuring the difference information between the designated original size and the size of the fed recording paper (FIG. 3) (Steps S4 and S5) and a determination step (Steps S6 and S7 in FIG. 3) of determining a printing position on the back surface of the recording paper based on the measured difference information.
[0016]
According to a fourth aspect of the present invention, there is provided a program for executing the method of controlling a printing apparatus according to the third aspect.
[0017]
According to a fifth aspect of the present invention, a program for executing the method of controlling a printing apparatus according to the third aspect is stored in a storage medium readable by a computer.
[0018]
BEST MODE FOR CARRYING OUT THE INVENTION
First, the configuration of a laser beam printer suitable for the printing apparatus of the present invention will be described with reference to FIG. The printer to which this embodiment can be applied is not limited to a laser beam printer, but may be any other printing method (for example, an LED method, a liquid crystal shutter method, an ink jet method, a thermal transfer method, a sublimation method, etc.) and an optical system. Needless to say, the present invention can be applied to a copying machine or the like having a reading device or the like.
[0019]
FIG. 1 is a schematic sectional view illustrating the configuration of a laser beam printer (LBP) to which an embodiment of the present invention can be applied.
[0020]
In the figure, reference numeral 1500 denotes an LBP body (hereinafter, referred to as a printer), which inputs recording information (character codes and the like), form information, macro instructions, and the like supplied from a host computer connected directly or via a network to the outside. In addition to creating and storing corresponding character patterns and form patterns in accordance with the information, an image is formed on a recording medium such as recording paper.
[0021]
An operation panel 1501 includes switches for operation, an LED display, and the like. A printer control unit 1000 controls the entire printer 1500 and analyzes character information and the like supplied from a host computer. The printer control unit 1000 mainly converts character information into a video signal of a corresponding character pattern and outputs the video signal to the laser driver 1502.
[0022]
The laser driver 1502 is a circuit for driving the semiconductor laser 1503, and switches on / off a laser beam 1504 emitted from the semiconductor laser 1503 according to an input video signal.
[0023]
The laser beam 1504 is oscillated in the left-right direction by the rotary polygon mirror 1505 to scan and expose the electrostatic drum 1506. As a result, an electrostatic latent image of a character pattern is formed on the electrostatic drum 1506. This latent image is developed with a developer such as toner by a developing unit 1507 disposed around the electrostatic drum 1506, and is then transferred to recording paper.
[0024]
A cut sheet is used as the recording paper, and the cut sheet recording paper is stored in a paper cassette 1508 mounted on the printer 1500, and is taken into the apparatus by a paper feed roller 1509, transport rollers 1510 and transport rollers 1511, and is statically moved. It is supplied to the electric drum 1506. The printer 1500 includes a plurality of sensors (not shown). The plurality of sensors detect the size of the recording paper stored in the paper cassette 1508, detect the presence or absence of the recording paper stored in the paper cassette 1508, and detect a paper jam. Is detected, and the printer control unit 1000 is notified. In response to this notification, the printer control unit 1000 (specifically, a CPU 12 shown in FIG. 2 described later) can detect a recordable paper size.
[0025]
Further, a plurality of optional paper feed units (not shown) can be mounted on the printer 1500, so that a plurality of sizes of recording paper can be fed. The optional paper feed unit also has a sensor (not shown) that detects the size of the recording paper stored in the unit, the presence or absence of a recording paper, the presence or absence of a paper jam, and notifies the printer control unit 1000. And
[0026]
Further, the recording paper after the transfer is sent to a fixing unit 1512, where the recording paper is fixed by applying pressure and heat, and is discharged outside the apparatus by a discharge roller 1513.
[0027]
A double-sided unit 1520 is mounted on the printer 1500. The sheet printed on the front side by the double-sided unit 1520 is turned upside down and fed again to enable double-sided printing. Note that the same function as that of the duplex unit 1520 may be provided inside the printer 1500.
[0028]
Hereinafter, the duplex printing process by the duplex unit 1520 will be described.
[0029]
Once the sheet is conveyed to the discharge roller 1513 after the surface fixing, the conveyance direction of the sheet is switched by inverting the discharge roller 1513, and after being conveyed to the re-feed conveyance path 1522 via the flapper 1521, the predetermined The paper is re-fed at the timing of.
[0030]
FIG. 2 is a block diagram illustrating a configuration of a printer control system to which a printing apparatus according to an embodiment of the present invention can be applied. Here, the laser beam printer (printer) shown in FIG. 1 is described as an example, and the same components as those in FIG. 1 are denoted by the same reference numerals. If the functions of the present invention are executed, a system in which processing is performed via a network such as a LAN, whether it is a single peripheral device or a system including a plurality of peripheral devices. Needless to say, the present invention can be applied.
[0031]
In the figure, reference numeral 3000 denotes a host computer which is a CPU 1 for executing document processing in which graphics, images, characters, tables (including spreadsheets, etc.) are mixed based on a document processing program or the like stored in a program ROM of a ROM 3. The CPU 1 comprehensively controls each device connected to the system bus 4.
The program ROM of the ROM 3 stores a control program of the CPU 1, a program for recognizing recording direction designation information of a recording medium from information obtained from the host computer, and the like. The font ROM of the ROM 3 stores the above-mentioned document processing. Font data and the like to be used when the above-mentioned document processing is performed are stored in the data ROM of the ROM 3.
[0032]
Reference numeral 2 denotes a RAM, which functions as a main memory, a work area, and the like of the CPU 1, and also functions as a register for storing recording direction designation information recognized by a program in the ROM 3.
[0033]
Reference numeral 5 denotes a keyboard controller (KBC) which controls a key input from a keyboard (KB) 9 or a pointing device such as a mouse (not shown). Reference numeral 6 denotes a CRT controller (CRTC), which controls display on a CRT display (CRT) 10. Reference numeral 7 denotes a disk controller (DKC) for controlling access to an external memory 11 such as a hard disk (HD) for storing a boot program, various applications, font data, user files, edit files, and the like, and a flexible disk (FD).
[0034]
Reference numeral 8 denotes a printer controller (PRTC) which is connected to the printer 1500 via a predetermined bidirectional interface (interface) 21 and executes communication control processing with the printer 1500.
[0035]
The CPU 1 instructs a printing process by the printer 1500 by transmitting print information to the printer 1500 through the PRTC 8 and the interface 21 in accordance with a print command (one-sided print command, two-sided print command). Note that this print command includes designation of a print size (print designation size).
[0036]
The CPU 1 executes, for example, a process of developing (rasterizing) the outline font on the display information RAM set on the RAM 2 to enable WYSIWYG on the CRT 10. Further, the CPU 1 opens various registered windows based on commands specified by a mouse cursor or the like (not shown) on the CRT 10 and executes various data processing.
[0037]
In the printer 1500, reference numeral 12 denotes a CPU, which controls access to various devices connected to the system bus 15 based on a control program or the like stored in a program ROM of the ROM 13 or a control program or the like stored in an external memory 14. It controls the entire system and outputs an image signal as output information to a printing unit (printer engine) 17 connected via a printing unit interface (I / F) 16. The program ROM of the ROM 13 stores a control program of the CPU 12 and the like.
[0038]
The font ROM of the ROM 13 stores font data and the like used when generating the output information. In the case of a printer without the external memory 14 such as a hard disk in the data ROM of the ROM 13, the font data is stored on the host computer 3000. The information used is stored.
[0039]
The CPU 12 can communicate with the host computer 3000 via the input unit 18 and can notify the host computer 3000 of information in the printer 1500 and the like.
[0040]
The CPU 12 receives print information from the input unit 18 in accordance with a print command from the host computer 3000, and performs print processing on a recording medium (one side, both sides).
[0041]
Reference numeral 19 denotes a RAM that functions as a main memory, a work area, and the like for the CPU 12, and is configured so that the memory capacity can be expanded by an optional RAM connected to an unillustrated expansion port. The RAM 19 is used for an output information development area, an environment data storage area, an NVRAM, and the like. The access to the external memory 14 such as a hard disk (HD) and an IC card is controlled by a disk controller (DKC) 20.
[0042]
The external memory 14 is connected as an option, and stores font data, an emulation program, form data, and the like. Reference numeral 18 denotes the above-described operation unit (operation panel) in which switches for operation, an LED display, and the like are arranged.
[0043]
The above-mentioned external memory is not limited to one, and at least one external memory is provided. In addition to the built-in fonts, an optional font card and a plurality of external memories storing programs for interpreting printer control languages of different language systems can be connected. It may be configured. Further, an NVRAM (not shown) may be provided to store printer mode setting information from the operation panel 1501.
[0044]
Hereinafter, the first control processing procedure in the printing apparatus of the present invention will be described with reference to the flowchart of FIG.
[0045]
FIG. 3 is a flowchart showing an example of a first control processing procedure in the printing apparatus of the present invention, which is executed by the CPU 12 shown in FIG. 2 based on a program stored in the ROM 13 or another storage medium (not shown). And
[0046]
When a print command is issued from the host computer 3000, it is determined in step S1 whether or not a sheet of the document size (designated print size) included in the print command is present in the printing apparatus. If it is determined that there is no paper, the process proceeds to step S2 in order to perform a process for a case where the paper sizes do not match.
[0047]
In step S2, it is determined whether printing is forcibly performed even if the paper sizes do not match, based on whether the forced printing mode selected in advance by the user is on or off.
[0048]
If it is determined in step S2 that the forced printing mode is off and the paper sizes do not match, and it is determined that printing is not forcibly performed, the process proceeds to a forced printing disabled mode in step S9 and subsequent steps. Display a message such as "Print Check" on the display panel of the printing device, or send the same type of content to the host computer, notify the user that the desired print result cannot be obtained in the current state, and execute the processing. finish.
[0049]
On the other hand, if it is determined in step S2 that forced printing is to be performed even when the forced printing mode is on and the paper sizes do not match, the process proceeds to the forced printing mode in step S3 and subsequent steps. Is determined, and if it is determined that the printing is double-sided printing, the process proceeds to step S4, where the specified size and the width of the paper size to be actually fed (transverse direction) as shown in FIG. And the difference “B” between the length (longitudinal direction) and the difference “A” are measured and stored in the RAM 19 or the like.
[0050]
Next, in step S5, a printing operation is performed on the front side of the sheet, and in step S6, rendering processing of print data on the back side is performed to generate image data. When the directions are parallel (when the sheet is fed in the feeding direction in FIG. 5 described later), the difference “B” calculated (measured) in step S4 is added to the margin of the leading end of the sheet in the sheet conveying direction and described later. A new margin is set as shown in FIG.
[0051]
Next, in step S7, when the longitudinal direction of the sheet is perpendicular to the sheet conveying direction (feeding direction) (when the sheet is fed in the sheet conveying direction in FIG. 6 described later), the sheet in the sheet conveying direction The difference “A” calculated (measured) in step S4 is added to the margin at the leading end to set a new margin.
[0052]
Based on the back surface data thus generated, the printing operation of the back surface of the sheet is performed in step S8, and the process is terminated.
[0053]
On the other hand, if it is determined in step S3 that the print command is not in the double-sided printing mode, that is, it is single-sided printing, the process proceeds to step S11 to perform the printing operation on the front side of the sheet (similar to the conventional single-sided printing shown in FIG. 8). ), End the process.
[0054]
If it is determined in step S1 that there is paper of the designated size, it is determined in step S10 whether or not the print command is in the double-sided printing mode. If it is determined, the process proceeds to step S11 to perform a printing operation on the front side of the sheet.
[0055]
On the other hand, if it is determined in step S10 that the print command is in the double-sided printing mode, the process proceeds to step S12 to perform a printing operation on the front side of the sheet. In step S12, a printing operation on the back side of the normal sheet is performed. The process ends.
[0056]
That is, when there is a sheet of the specified size in step S1 (in the case of "Y" in step S1), normal double-sided printing processing (S12, S13) or single-sided printing processing (S11) is performed.
[0057]
In step S1, it is determined whether or not the paper of the document size included in the print command is present in the printing apparatus. However, it is determined whether the paper of the document size included in the print command can be fed, including a paper jam. May be determined.
[0058]
The setting of the forced print mode shown in step S2 is set on the host computer 3000, is included in the print command, and is transmitted to the printer 1500.
[0059]
Steps S4, S6, and S7 may be changed as follows.
[0060]
First, in step S4, the difference between the designated size and the paper size to be actually fed is measured in the feeding direction. That is, when the longitudinal direction of the paper is parallel to the transport direction (feeding direction) of the paper (the feeding direction shown in FIG. 5), the difference “B” in the longitudinal direction is measured, while the transport of the paper is performed. When the longitudinal direction of the sheet is perpendicular to the direction (feeding direction) (the sheet conveying direction shown in FIG. 6), the difference “A” in the short direction is measured. Further, when rendering the print data of the back surface and generating image data, steps S6 and S7 are integrated to calculate (measurement) in step S4 the margin of the leading end of the sheet in the sheet transport direction (feeding direction). ) May be added to set a new margin.
[0061]
FIG. 4 is a schematic diagram illustrating the correspondence between the designated print size and the paper size in the printing apparatus according to the embodiment of the present invention.
[0062]
In the figure, A is the difference between the designated print size and the width of the paper actually fed (short direction), and B is the difference between the designated print size and the length of the actually fed paper size (longitudinal direction). It is.
[0063]
FIG. 4 corresponds to front side printing when the longitudinal direction of the sheet is parallel to the sheet conveying direction (feeding direction), and the sheet is fed and printed in the direction of the arrow in the figure. .
[0064]
FIG. 5 is a schematic diagram illustrating a printing position set for data on the back side in the forced printing mode (both sides) in the printing apparatus according to the embodiment of the present invention.
[0065]
FIG. 5 corresponds to back side printing when the longitudinal direction of the paper is parallel to the paper transport direction (feeding direction), and the paper is fed and printed in the direction of the arrow in the figure. .
[0066]
As shown in the figure, when two-sided printing is performed in the forced printing mode, if paper is fed in the feeding direction indicated by an arrow in the drawing with respect to the data on the back side, the feeding direction of the paper (paper feeding direction) Is set as "B" which is the difference between the designated print size and the length (longitudinal) of the paper size to be actually fed.
[0067]
As described above, as shown in FIGS. 4 and 5, in the present embodiment, when the duplex printing is forcibly performed in a state where the actually fed paper size and the designated print size do not match each other, Even if the paper feeding direction is reversed (that is, even if the longitudinal direction of the paper is parallel to the paper transport direction (feeding direction) as shown in FIGS. 4 and 5), the printing position on the front surface The printing can be performed so that the print position of the back side matches the print position of the back side.
[0068]
FIG. 6 is a schematic diagram showing correspondence between double-sided print data and an output result in the printing apparatus according to the embodiment of the present invention, wherein the paper size specified in the double-sided print data and the paper size actually fed are different. If not, it corresponds to the result of forced double-sided printing. FIG. 6 corresponds to double-sided printing when the longitudinal direction of the sheet is perpendicular to the sheet conveying direction (feeding direction), and the sheet is fed (conveyed) in the direction of the arrow in the figure and printed. Shall be.
[0069]
As shown in the figure, when two-sided printing is performed in the forced printing mode, if paper is fed in the paper transport direction (feeding direction) in the figure with respect to the data on the back side, the leading edge of the paper feeding direction is used. "A" (FIG. 5), which is the difference between the width (short width) of the designated print size and the paper size to be actually fed, is set as the image start position.
[0070]
As shown in FIG. 6, in the present embodiment, when the duplex printing is forcibly performed in a state where the actually fed paper size does not match the designated print size, as shown in FIG. Even when the longitudinal direction of the sheet is parallel to the transport direction (feeding direction), printing can be performed so that the printing position on the front surface (the position indicated by the broken line on the back surface) matches the printing position on the back surface.
[0071]
As described above, according to the printing information according to the double-sided printing command and the state of the recording paper set in the printing device, even if the recording paper of the size designated for printing cannot be fed to the printing device (paper out or originally set). Even if the printing is not performed), the printing process can be executed efficiently without stopping the printing, and the printing result as close as possible to the printing result desired by the user can be provided.
[0072]
In the present embodiment, the processing of the flowchart shown in FIG. 3 is executed by the printing apparatus (the CPU 12 of the printer 1500). However, the CPU 1 of the host computer 3000 shown in FIG. May be configured to be executed based on a program stored in the storage medium. In this case, it is assumed that the host computer 3000 requests the printer 1500 for a paper size that can be fed by the printer 1500 and acquires the size.
[0073]
The margin at the leading end of the sheet in the transport direction corresponds to one of TOP, BOTTOM, LEFT, and RIGHT margins according to the portrait / landscape, top / bottom / left / right binding, and the sheet transport direction. Are also included in the present invention.
[0074]
Further, in the above-described embodiment, the case where the printing process is performed based on the print command transmitted from the host computer has been described, but the image reading unit has the image reading unit, and the document information read by the image reading unit and the image storage unit are stored. The present invention is also applicable to a print instruction for image information stored in the image storage unit.
[0075]
Hereinafter, the configuration of a data processing program readable by the printing apparatus according to the present invention will be described with reference to a memory map shown in FIG.
[0076]
FIG. 7 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the printing apparatus according to the present invention.
[0077]
Although not shown, information for managing a group of programs stored in the storage medium, for example, version information, a creator, and the like are also stored, and information dependent on the OS or the like on the program reading side, for example, a program is identified and displayed. Icons and the like may also be stored.
[0078]
Further, data dependent on various programs is also managed in the directory. Further, when the program or data to be installed is compressed, a program or the like for decompressing may be stored.
[0079]
The functions shown in FIG. 3 in the present embodiment may be executed by a host computer by a program installed from the outside. In this case, the present invention is applied even when a group of information including a program is supplied to the output device from a storage medium such as a CD-ROM, a flash memory, or an FD, or from an external storage medium via a network. Things.
[0080]
As described above, the storage medium storing the program codes of the software for realizing the functions of the above-described embodiments is supplied to the system or the apparatus, and the computer (or CPU or MPU) of the system or the apparatus stores the storage medium in the storage medium. It goes without saying that the object of the present invention is also achieved by reading and executing the program code thus obtained.
[0081]
In this case, the program code itself read from the storage medium implements the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.
[0082]
Examples of a storage medium for supplying the program code include a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, A silicon disk or the like can be used.
[0083]
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an OS (Operating System) running on the computer based on the instruction of the program code. It goes without saying that a part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
[0084]
Further, after the program code read from the storage medium is written into a memory provided on a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that a CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0085]
Further, the present invention may be applied to a system including a plurality of devices or to an apparatus including a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or an apparatus. In this case, by reading a storage medium storing a program represented by software for achieving the present invention into the system or the apparatus, the system or the apparatus can enjoy the effects of the present invention. .
[0086]
Further, by downloading and reading out a program represented by software for achieving the present invention from a database on a network by a communication program, the system or apparatus can enjoy the effects of the present invention. .
[0087]
【The invention's effect】
As described above, according to the first to fifth aspects of the present invention, when it is impossible to feed a recording sheet that matches the specification of the document size included in the double-sided printing instruction, the paper size is larger than the specified document size. The recording paper is fed and the front side is printed, and the difference information between the designated document size and the size of the fed recording paper is measured.Based on the measured difference information, the printing position on the back side of the recording paper is determined. Decision and printing on the back side, according to the print information received by the double-sided printing command from the host computer and the state of the recording paper set in the printing device, the recording paper of the size specified to be printed in the printing device, for example. Even when the paper cannot be fed (in the case of paper shortage or not set originally, paper jam, etc.), it is possible to efficiently execute the printing process without stopping the printing and to perform the printing desired by the user. The effect of such can provide a print result as close as possible to the fruit.
[Brief description of the drawings]
FIG. 1 is a schematic sectional view illustrating a configuration of a laser beam printer (LBP) to which an embodiment of the present invention can be applied.
FIG. 2 is a block diagram illustrating a configuration of a printer control system to which a printing apparatus according to an embodiment of the present invention can be applied.
FIG. 3 is a flowchart illustrating an example of a first control processing procedure in the printing apparatus of the present invention.
FIG. 4 is a schematic diagram illustrating a correspondence state between a designated print size and a paper size in the printing apparatus according to the embodiment of the present invention.
FIG. 5 is a schematic diagram illustrating a printing position set for data on the back side in a forced printing mode (both sides) in the printing apparatus according to the embodiment of the present invention.
FIG. 6 is a schematic diagram illustrating correspondence between double-sided print data and an output result in a printing apparatus according to an embodiment of the present invention.
FIG. 7 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the printing apparatus according to the present invention.
FIG. 8 is a schematic diagram showing correspondence between print data and an output result in a conventional printing apparatus.
FIG. 9 is a schematic diagram showing correspondence between double-sided print data and an output result in a conventional printing apparatus.
FIG. 10 is a schematic diagram showing correspondence between double-sided print data and an output result in a conventional printing apparatus.
[Explanation of symbols]
12 CPU
13 ROM
19 RAM
1000 Printer control unit
1500 Laser beam printer (LBP)
1508 Paper cassette
1509 Paper feed roller
1510 Transport roller
1511 Transport roller
1520 Double-sided unit

Claims (5)

単数または複数の記録紙を給紙する給紙手段と、前記給紙手段から給紙可能な記録紙サイズを検出する検出手段と、両面印刷指令に基づいて該両面印刷指令に含まれる原稿サイズの指定に合致する記録紙に両面印刷可能な印刷手段とを有する印刷装置において、
前記両面印刷指令に含まれる原稿サイズの指定に合致する記録紙が給紙不可能な場合、指定される原稿サイズより大きい記録紙を給紙し表面を印刷するとともに、前記指定される原稿サイズと給紙した記録紙のサイズの差分情報を計測する計測手段と、
前記計測手段により計測された差分情報に基づいて、前記記録紙の裏面の印刷位置を決定する決定手段と、
を有することを特徴とする印刷装置。
Paper feeding means for feeding one or more recording papers, detecting means for detecting the size of the recording paper that can be fed from the paper feeding means, and a document size included in the double-sided printing instruction based on the double-sided printing instruction A printing unit having a printing unit capable of performing double-sided printing on recording paper matching the specification,
If it is impossible to feed a recording sheet that matches the specification of the document size included in the double-sided printing command, a recording sheet larger than the specified document size is fed and the front side is printed, and the specified document size and Measuring means for measuring the difference information of the size of the fed recording paper;
Determining means for determining a printing position on the back surface of the recording paper based on the difference information measured by the measuring means;
A printing device comprising:
前記計測手段は、前記指定される原稿サイズと給紙した記録紙のサイズの短手方向の差分情報,長手方向の差分情報を計測するものであり、
前記決定手段は、用紙搬送方向と用紙の長手方向が平行な場合には、前記計測手段により計測された長手方向の差分情報に基づいて裏面の用紙搬送方向の用紙先端部の印刷位置を決定し、用紙搬送方向と用紙の長手方向が垂直な場合には、前記計測手段により計測された短手方向の差分情報に基づいて裏面の用紙搬送方向の用紙先端部の印刷位置を決定することを特徴とする請求項1記載の印刷装置。
The measuring means measures the difference information in the short direction and the difference information in the long direction between the designated original size and the size of the fed recording paper,
The determining unit determines the printing position of the leading end of the sheet in the sheet conveying direction on the back side based on the difference information in the longitudinal direction measured by the measuring unit when the sheet conveying direction and the longitudinal direction of the sheet are parallel. When the paper transport direction is perpendicular to the longitudinal direction of the paper, the printing position of the leading end of the paper in the paper transport direction on the back side is determined based on the difference information in the lateral direction measured by the measuring means. The printing apparatus according to claim 1, wherein
単数または複数の記録紙を給紙する給紙手段と、前記給紙手段から給紙可能な記録紙サイズを検出する検出手段と、両面印刷指令に基づいて該両面印刷指令に含まれる原稿サイズの指定に合致する記録紙に両面印刷可能な印刷手段とを有する印刷装置の制御方法において、
前記両面印刷指令に含まれる原稿サイズの指定に合致する記録紙が給紙不可能な場合、指定される原稿サイズより大きい記録紙を給紙し表面を印刷するとともに、前記指定される原稿サイズと給紙した記録紙のサイズの差分情報を計測する計測工程と、
該計測された差分情報に基づいて、前記記録紙の裏面の印刷位置を決定する決定工程と、
を有することを特徴とする印刷装置の制御方法。
Paper feeding means for feeding one or more recording papers, detecting means for detecting the size of the recording paper that can be fed from the paper feeding means, and a document size included in the double-sided printing instruction based on the double-sided printing instruction A printing unit having a printing unit capable of performing double-sided printing on recording paper matching the specification,
If it is impossible to feed a recording sheet that matches the specification of the document size included in the double-sided printing command, a recording sheet larger than the specified document size is fed and the front side is printed, and the specified document size and A measuring step of measuring the difference information of the size of the fed recording paper;
A determining step of determining a printing position on the back surface of the recording paper based on the measured difference information;
A method for controlling a printing apparatus, comprising:
請求項3に記載された印刷装置の制御方法を実行するためのプログラム。A program for executing the control method for a printing apparatus according to claim 3. 請求項3に記載された印刷装置の制御方法を実行するためのプログラムをコンピュータが読み取り可能に記憶した記憶媒体。A storage medium storing a computer readable program for executing the control method for a printing apparatus according to claim 3.
JP2002159207A 2002-05-31 2002-05-31 Printer, its controlling method and program, and storage medium Pending JP2004001261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002159207A JP2004001261A (en) 2002-05-31 2002-05-31 Printer, its controlling method and program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002159207A JP2004001261A (en) 2002-05-31 2002-05-31 Printer, its controlling method and program, and storage medium

Publications (1)

Publication Number Publication Date
JP2004001261A true JP2004001261A (en) 2004-01-08

Family

ID=30429068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002159207A Pending JP2004001261A (en) 2002-05-31 2002-05-31 Printer, its controlling method and program, and storage medium

Country Status (1)

Country Link
JP (1) JP2004001261A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011189643A (en) * 2010-03-15 2011-09-29 Noritsu Koki Co Ltd Printer
JP2013206385A (en) * 2012-03-29 2013-10-07 Canon Inc Information processing device, control method for the same and program
KR20160007432A (en) * 2014-07-11 2016-01-20 캐논 가부시끼가이샤 Printing apparatus, control method for controlling printing apparatus, and storage medium
JP2017062667A (en) * 2015-09-25 2017-03-30 富士ゼロックス株式会社 Information processing apparatus, image forming system, and program
JP2019034563A (en) * 2018-11-21 2019-03-07 キヤノン株式会社 Printing device and control method of printing device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011189643A (en) * 2010-03-15 2011-09-29 Noritsu Koki Co Ltd Printer
JP2013206385A (en) * 2012-03-29 2013-10-07 Canon Inc Information processing device, control method for the same and program
KR20160007432A (en) * 2014-07-11 2016-01-20 캐논 가부시끼가이샤 Printing apparatus, control method for controlling printing apparatus, and storage medium
JP2016021604A (en) * 2014-07-11 2016-02-04 キヤノン株式会社 Printer, control method of printer, program and storage medium
KR101983800B1 (en) 2014-07-11 2019-09-03 캐논 가부시끼가이샤 Printing apparatus, control method for controlling printing apparatus, and storage medium
JP2017062667A (en) * 2015-09-25 2017-03-30 富士ゼロックス株式会社 Information processing apparatus, image forming system, and program
JP2019034563A (en) * 2018-11-21 2019-03-07 キヤノン株式会社 Printing device and control method of printing device

Similar Documents

Publication Publication Date Title
JP2000025277A (en) Method and apparatus for controlling printing
JP2000025276A (en) Method and apparatus for controlling printing
JP2004246570A (en) Information processor
JP2002189391A (en) Printer, printing system and calibration method
JP2004001261A (en) Printer, its controlling method and program, and storage medium
JPH1148580A (en) Printer
JP2000025278A (en) Method and apparatus for controlling printing
JP2001002279A (en) Image output device and control method for it
JP2006164151A (en) Printing processing apparatus
US7027170B1 (en) Printing control system for separation printing
JPH11224177A (en) Image processor
JP2004227075A (en) Printing system
JPH11296020A (en) Printer, printing control method, and recording medium
JPH10123879A (en) Output device, data processing method therefor, and storage medium storing program readable by computer
JP2004326262A (en) Print control method
JP2006168206A (en) Image forming apparatus
JP2006195701A (en) Data processing apparatus, printing control method, storage medium storing computer-readable program, and program
JPH08282064A (en) Recording apparatus and recording control method
JPH10193748A (en) Method and system for processing information and recording medium
JP2004066787A (en) Image recorder, method of controlling the same, medium providing control program, and control program
JPH02116571A (en) Printing device
JP2001030547A (en) Printer, printing system, control method for the printer, control method for the printing system, and memory medium storing computer readable program
JPH1199730A (en) Printer and its control method
JP2001002280A (en) Image output device and control method for it
JP2000147975A (en) Printing device and its control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050428

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20080107

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090217

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090417

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090519