JP2004023320A - Image processor - Google Patents

Image processor Download PDF

Info

Publication number
JP2004023320A
JP2004023320A JP2002173711A JP2002173711A JP2004023320A JP 2004023320 A JP2004023320 A JP 2004023320A JP 2002173711 A JP2002173711 A JP 2002173711A JP 2002173711 A JP2002173711 A JP 2002173711A JP 2004023320 A JP2004023320 A JP 2004023320A
Authority
JP
Japan
Prior art keywords
image
input
unit
paper
output
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
JP2002173711A
Other languages
Japanese (ja)
Inventor
Masahiro Iwadate
岩舘 政宏
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 JP2002173711A priority Critical patent/JP2004023320A/en
Publication of JP2004023320A publication Critical patent/JP2004023320A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Record Information Processing For Printing (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Image Input (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To automatically adjust a printing position on the basis of stored position information when desired recording paper is designated later. <P>SOLUTION: Position information of an image previously printed on the recording paper is read, and the position information is associated with paper identification information and stored. A scanner part 1 detects position information of an image recorded on a recording medium, and an image input-output control part 3 adjusts an image output position on the recording medium to form an image on the basis of the detected position information and position information following the stored paper identification information. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、画像を読み取る画像読み取り手段と、外部機器より入力された画像情報に基づき記録媒体上に可視画像を形成する画像形成手段とを備えた画像処理装置に関するものである。
【0002】
【従来の技術】
従来、ページ記述言語で記述したデータ(以下、PDLデータともいう)を入力し、画像を形成して出力する画像処理装置において、記録用紙として多種多様なサイズや種類の用紙が使用されている。
【0003】
また、用紙としては、通常の白紙のみならず、例えば葉書など予め罫線や枠が印刷(印字)されている記録用紙が使用される場合もある。
【0004】
このような予め印刷されている用紙を使用する場合、展開画像を上手く印刷内容に合わせて印刷するために、印刷位置の調整が必要となる。
【0005】
従来、このような場合に、印刷位置を調整する方法としては、ユーザがホスト上のアプリケーションで文書を作成する際、予め記録用紙の印字位置を確認した上で、レイアウト位置を調整して文書を作成するという方法がある。
【0006】
また、予めサービスモード等でプリンタ側の出力オフセット値を調整しておき、このオフセット値をプリンタ側で保持し、出力する際にこのオフセット値に基づいて出力位置をずらして出力するという方法がある。
【0007】
さらにまた、ユーザがプリントアウトする際に、プリンタドライバ等により出力オフセット値を指定し、プリンタ側で出力する際に、指定されたオフセット値に基づいて出力位置をずらして出力するといった方法が用いられている。
【0008】
【発明が解決しようとする課題】
しかしながら、アプリケーション側、プリンタ側のどちらで調整するにしても、ユーザが試行錯誤を繰り返しながら調整するといった、極めて煩雑な操作を伴う。
【0009】
また、一種類の記録用紙しか使用しない場合には、その記録用紙に対して一度調整を行った後は、毎回同じ調整値を指定すれば良いため、それ程煩雑ではないが、複数の記録用紙を使用するような場合、それぞれの用紙に応じた調整値を指定しなければならず、操作が煩雑となってしまう。
【0010】
さらにまた、プリンタ機能のみならずコピー機能など様々な画像出力機能を備えた装置においては、読み取る予め記録用紙に印字されている画像の位置によっては、同一の記録用紙に対して、必ずしも同じ調整値で出力すれば良いとは限らず、少なくとも各機能毎に調整する必要が生じていた。
【0011】
本発明は、上記の問題点を解決するためになされたもので、本発明の目的は、予め記録媒体に印字されている画像の位置情報を読み取り、これを用紙識別情報と対応づけて記憶して、画像読み取り手段により記録媒体上に記録されている画像の位置情報を検出し、該検出された位置情報と該記憶された用紙識別情報に従う位置情報とに基づき、記録媒体上への画像出力位置を調整して画像形成を行うことにより、後で所望の記録媒体が指定された場合に、記憶されている位置情報に基づき自動的に印刷位置を調整することができる画像処理装置を提供することである。
【0012】
【課題を解決するための手段】
本発明に係る第1の発明は、画像を読み取る画像読み取り手段と、外部機器より入力された画像情報に基づき記録媒体上に可視画像を形成する画像形成手段とを備えた画像処理装置であって、前記画像読み取り手段により記録媒体上に記録されている画像の位置情報を検出し、前記検出された位置情報に基づき、記録媒体上への画像出力位置を調整して画像形成を行う画像処理手段を備えることを特徴とする。
【0013】
本発明に係る第2の発明は、画像を読み取る画像読み取り手段と、外部機器より入力された画像情報に基づき記録媒体上に可視画像を形成する画像形成手段とを備えた画像処理装置であって、記録媒体を識別するための用紙識別情報を入力するための入力手段と、前記画像読み取り手段により記録媒体上に記録されている画像の位置情報を検出する検出手段と、前記入力手段により入力された用紙識別情報と、前記検出手段により検出された画像の位置情報とを対応づけて記憶しておくための記憶手段とを備え、前記入力された画像情報の中に、前記記憶手段に記憶されている用紙識別情報と一致する用紙識別情報が含まれていた場合、対応する位置情報に基づき、記録媒体上への画像出力位置を調整して画像形成を行う画像処理手段とを備えることを特徴とする画像処理装置。
【0014】
本発明に係る第3の発明は、画像を読み取る画像読み取り手段と、外部機器より入力された画像情報に基づき可視画像に展開する画像展開手段と、前記画像読み取り手段、および画像展開手段より入力される画像を選択的に記録媒体上に出力する画像形成手段とを備えた画像処理装置であって、前記記録媒体を識別するための用紙識別情報を入力するための入力手段と、前記画像読み取り手段により記録媒体上に記録されている画像の位置情報を検出する検出手段と、前記入力手段により入力された用紙識別情報と、前記検出手段により検出された画像の位置情報とを対応づけて記憶しておくための記憶手段とを備え、前記画像展開手段より入力された画像を出力する際に、前記入力された画像情報の中に、前記記憶手段に記憶されている用紙識別情報と一致する用紙識別情報が含まれていた場合、対応する位置情報に基づき、記録媒体上への画像出力位置を調整して画像形成を行う画像処理手段とを備えることを特徴とする。
【0015】
本発明に係る第4の発明は、前記入力手段により入力される用紙識別情報は、用紙サイズ情報であることを特徴とする。
【0016】
本発明に係る第5の発明は、前記入力手段により入力される用紙識別情報は、前記画像読み取り手段により検出された用紙サイズ情報であることを特徴とする。
【0017】
本発明に係る第6の発明は、前記入力手段により入力される用紙識別情報は、ユーザが任意に指定可能な用紙名称であることを特徴とする。
【0018】
【発明の実施の形態】
〔第1実施形態〕
図1は、本発明の第1実施形態を示す画像処理装置の構成を示すブロック図である。
【0019】
図1において、スキャナ部1は、原稿を読み取り、原稿画像に応じた画像データをプリンタ部2または画像入出力制御部3へ出力する。
【0020】
プリンタ部2は、スキャナ部1または画像入出力制御部3から入力される画像データに基づいて画像を記録紙上に記録する。
【0021】
画像入出力制御部3は、スキャナ部1、プリンタ部2、フォーマッタ部4、操作部5に接続されており、これらを統合的に制御するメインコントローラとして機能する。
【0022】
フォーマッタ部4は、情報処理装置7から転送された画像データ(例えば、PDLデータ)をプリンタ部2で記録できる画像データ(ビットマップデータ)に展開し、画像入出力制御部3へ転送する。また、画像処理装置100全体の各種構成情報や、動作状況を情報処理装置7に転送する。
【0023】
操作部5は、画像入出力制御部3からの指示に従い、ユーザが各種設定を行うための画面を表示したり、ユーザの設定内容を画像入出力制御部3に通知する。220は排紙部である。
【0024】
図2は、図1に示したスキャナ部1及びプリンタ部2の構成例を示す断面図である。
【0025】
スキャナ部1の原稿給送装置101は、原稿を最終頁から順に1枚ずつ原稿台102上へ給送し,各原稿の読み取り動作が終了する都度、原稿台102上の原稿を排出する。原稿が原稿台102上に搬送されると、ランプ103を点灯してスキャナユニット104の移動を開始し、原稿を露光走査する。この時の原稿からの反射光は、ミラー105,106,107、及びレンズ108によってCCDイメージセンサ(以下CCDという)109へ導かれる。このようにして、読み取られた画像データは、所定の処理が施された後、プリンタ部2または画像入出力制御部3へ転送される。
【0026】
プリンタ部2のレーザドライバ221は、レーザ発光部201を駆動し、スキャナ部lから出力された画像データに基づいてレーザ光を照射させる。このレーザ光は、感光ドラム202に照射され、感光ドラム202にはレーザ光に応じた潜像が形成される.感光ドラム202に形成された潜像の部分には、現像器203によって現像剤が付着される。
【0027】
記録紙は、レーザ光の照射開始と同期したタイミングで、カセット204またはカセット205のいずれかにより転写部206へ搬送され、感光ドラム202に付着された現像剤が転写される。
【0028】
そして、転写部206により現像剤が転写された記録紙は、定着部207に搬送され、定着部207の熱と圧力により現像剤が記録紙に定着される。さらに、定着部207を通過した記録紙は、排出ローラ208によって排出され、排紙された記録紙は、ソータ220により適切なビンに収納され、これにより記録紙の仕分けがなされる。
【0029】
なお、ソータ220は仕分けのモードに設定されていない場合は、最上ビンに記録紙を収納する。
【0030】
また、両面記録のモードに設定されている場合は、排出ローラ208の位置まで記録紙を搬送した後、排出ローラ208の回転方向を逆転させ、フラッパ209によって再給紙搬送路210へ導く。
【0031】
また、多重記録のモードが設定されている場合は、記録紙を排出ローラ208まで搬送しないようにフラッパ209によって再給紙搬送路210へ導く。そして、再給紙搬送路210へ導かれた記録紙は上述したタイミングで転写部206へ再度給紙される。
【0032】
図3は、図1に示したスキャナ部1の詳細な構成例を示すブロック図である。
【0033】
図3において、CPU114のCPUバス117には、画像処理部111、インタフェース(I/F)部113、ROM115、RAM116が接続されている。
【0034】
そして、CCD109から出力された画像データはA/D・SH部110でアナログ/デジタル変換されるとともに、シェーデイング補正が行われる。A/D・SH部110によって画像処理された画像データは、画像処理部111を介してプリンタ部2へ転送されるとともに、インタフェース部113を介して画像入出力制御部3へ転送される。
【0035】
CPU114は画像入出力制御部3より指示された設定内容に応じて画像処理部111及びインタフェース部113を制御する。
【0036】
例えば、トリミング処理の後に複写を行うモードが指示されている場合は、画像処理部111でトリミング処理を実行せしめ、画像処理を施した画像データをプリンタ部2へ転送する。
【0037】
また、原稿を読み取り、読み取った原稿に印刷されている印刷情報を取得し、これを画像入出力制御部3において保持するモードが指示されている場合は、読み取った画像データをインタフェース部113を介して画像入出力制御部3へ転送する。
【0038】
このような制御を司るCPU114の制御プログラムは、ROM115に記憶されており、CPU114はROM115上の当該制御プログラムに基づいて動作する。なお、RAM116は、CPU114の作業領域として使用される。
【0039】
図4は、図1に示した画像入出力制御部3の詳細な構成例を示すブロック図である。図示するように、CPU301のCPUバス308に、インタフェース部300、操作部インタフェース(I/F)部302、インタフェース部303、ROM304、RAM305、画像処理部306が接続されている。
【0040】
スキャナ部1より入力される画像データは、インタフェース部303を介して画像処理部306へ転送された後、画像メモリ307に格納される。また、スキャナ部1より入力される制御コマンドは、CPU301へ転送される。
【0041】
フォーマッタ部4より入力される画像データは、インタフェース300を介して画像処理部306へ転送された後、画像メモリ307に格納される。また、フォーマッタ部4より入力される制御コマンドは、CPU301へ転送される。
【0042】
画像メモリ307に格納されたこれらの画像データは、CPU301による制御の下、スキャナ部1、フォーマッタ部4、および操作部5より入力される制御コマンドに基づいて、画像処理部306において画像の回転処理や変倍処理などの画像処理がなされた後、インタフェース部303を介してプリンタ部2に転送される。
【0043】
また、CPU301は、スキャナ部1、フォーマッタ部4より入力された制御コマンドの中で、操作部5への表示を要求するコマンドを受け取ると、指定された表示内容を操作部I/F部302を介して操作部5に表示する。
【0044】
また、操作部5において、ユーザによるオペレーション操作がなされると、そのオペレーション情報が操作部I/F部302を介してCPU301に入力される。
【0045】
CPU301は、操作部I/F部302より入力されたオペレーション情報をスキャナ部1、フォーマッタ部4に転送する。または、オペレーション情報に基づき画像入出力制御を行う。
【0046】
このような制御を司るCPU301の制御プログラムは、ROM304に記憶されており、CPU301はROM304上の当該制御プログラムに基づいて動作する。なお、RAM305は、CPU301の作業領域として使用される。
【0047】
図5は、図1に示したフォーマッタ部4の詳細な構成例を示すブロック図である。
【0048】
図5において、CPU404のCPUバス407には、ホストインタフェース(I/F)部400、画像データ発生部401、画像メモリ402、インタフェース部403、ROM405、RAM406が接続されている。
【0049】
ホストコンピュータ7より送られてきたPDLデータは、ホストI/F部400を介してRAM406に格納される。
【0050】
CPU404は、RAM406に格納されたPDLデータを解釈し、ビットマップイメーシを作成するためのデータを画像データ発生部401に転送する。
【0051】
画像データ発生部401は、CPU404より送られてきたデータをビットマヅプイメージに変換する。作成されたビットマップイメージは、画像メモリ402に格納される。
【0052】
CPU404は、画像メモリ402に格納されたビットマップイメージを取り出し、インタフェース部403を介して、画像入出力制御部3に転送するとともに、転送する画像の出力先や、出力設定を指示する制御コマンドを転送する。
【0053】
フォーマッタ部4のオペレーションに関する表示画面や設定情報は、予めROM405、RAM406に格納されており、CPU404は必要に応じてこれを取り出し、インタフェース部403を介して画像入出力制御部3に転送する。
【0054】
また、画像入出力制御部3より転送された操作部5のオペレーション情報に基づき、CPU404は各種制御を行う。例えば、操作部5において、フォーマッタ部4の受信バッファのクリア操作が行われると、画像入出力制御部3よりその旨が通知される。CPU404は、画像入出力制御部3からの指示に従い、RAM406に格納されている受信データをクリアする。
【0055】
このような制御を司るCPU404の制御プログラムは、ROM405に記憶されており、CPU404はROM405上の当該制御プログラムに基づいて動作する。なお、RAM406は、CPU404の作業領域としても使用される。
【0056】
以上のように、画像入出力制御部3を中心に、原稿の読み取り、画像の印刷、画像の生成、画像の送受信等の機能を複合させた処理を行うことが可能である。
【0057】
次に、ホストコンピュータから送られてきたPDLデータを可視画像に展開しプリントアウトする際、予めプリント用紙をスキャンして得られた印刷位置情報に基づき、印刷位置を調整してプリントアウトする処理について説明する。
【0058】
〔オフセットデータ登録処理〕
先ず、予めプリント用紙をスキャンし、プリント用紙に印刷されている印刷位置情報を取得し、この印刷位置情報を指定された用紙サイズと対応づけて登録しておく、印刷位置調整データの登録処理(以下、オフセット登録処理と呼ぶ)について説明する。
【0059】
図6は、本発明に係る画像処理装置における第1のデータ処理手順の一例を示すフローチャートであり、図1の画像入出力制御部3におけるオフセット登録処理の詳細手順に対応する。なお、S601〜S610は各ステップを示す。また、図7は、図1に示した操作部5におけるオフセット登録時の操作画面の状態を説明する図である。
【0060】
図7において、図7の(a)に示す画面801は、各種設定を行うための初期画面を表す。
【0061】
画面801において、オフセット登録が指示されると(S601)、次に登録する用紙サイズと基準位置を入力するための図7の(b)に示す画面802を表示する(S602)。
【0062】
そして、用紙サイズと基準位置が入力されOKキーが押されると、次に用紙を原稿台にセットしスキャン開始を指示する図7の(c)に示す画面803を表示しOKキーが押されるのを待機する(S603)。
【0063】
そして、画面803においてOKキーが押されると、図7の(d)に示す画面804を表示して、画像入出力制御部3は、スキャナ部1に対して読み取った画像データを画像入出力制御部3へ転送するように設定し、スキャンを指示する(S604)。
【0064】
次に、スキャナ部1より画像が入力されると、画像メモリ307に記憶し、指定された用紙サイズ、基準位置に基づき、画像メモリ307に記憶された画像情報からオフセット値を取得する(S605)。
【0065】
そして、画像メモリ307に記憶された画像情報からオフセット値を取得すると、次に、該取得したオフセット値が適正な範囲内にあるか否かを判断する(S606)。
【0066】
ここで、例えば、誤って何も印字されていない用紙がセットされていた場合には、オフセット値が得られないため、このような場合はエラー状態であると判断し、図7の(f)に示す画面806によりエラー表示を行う(S609)。
【0067】
ここで、画面806において、ユーザによりやり直し指示としてOKキーが押されたかどうかを判断し(S610)、OKキーが押されていると判断した場合は、ステップS603に戻り、操作部5は画面803を表示し、スキャン開始待ちとなる。
【0068】
一方、ステップS610で、中止キーが押された場合には、初期画面801に戻る(S610)。
【0069】
一方、S606で、オフセット値が正常であると判断した場合には、設定された用紙サイズ、基準位置、および取得したオフセット値を表示し、これを登録するための図7の(e)に示す画面805を表示する。
【0070】
そして、画面805において、OKキーが押されると、これらのオフセット登録データを、図8に示すデータ形式でRAM305に記憶し(S608)、初期画面801の表示に戻る。
【0071】
〔オフセット値の算出方法〕
ここで、図6のステップS605において、読み込んだ画像からオフセット値を算出する算出方法について説明する。
【0072】
図9は、図1に示したスキャナ部1で読込ませる用紙1501に対して、オフセット値を算出する基準となる基準位置例を示した図である。
【0073】
図9において、基準位置は、用紙上に印字可能な最大領域1502の▲1▼左上、▲2▼右上、▲3▼左下、▲4▼右下の4箇所とする。
【0074】
そして、オフセット値は、ステップS602で指定された基準位置を原点とし、読込んだ画像情報が横方向(X)、縦方向(Y)にどれだけ移動した位置にあるかを示す値(x、y)として表される。
【0075】
なお、基準位置の位置情報は、予め各用紙サイズ毎に印字可能な最大領域を記憶しておき、ステップS602で指定された用紙サイズに基づき、記憶されている位置情報を読み出し設定される。
【0076】
図10は、図9に示した読込ませる用紙1501を実際に原稿台102にセットした状態を示す図である。
【0077】
図11は、図5に示した画像メモリ307に記憶されている画像データの出力処理例を示す図であり、例えばをプリンタ部2に出力する際に、スキャナ部1で読み込んだ用紙1501と同じ向きで出力する場合を図11の(a)、同じく左に90度回転して出力する場合を(b)に示す。
【0078】
なお、(x1、y1)、 (x2、y2)は、それぞれの場合において、プリンタ部に出力する際のオフセット値を表す。
【0079】
これらの値は、記憶されているオフセット値(x、y)を基に、指定された基準位置(左上/右上/左下/右下)と、画像をそのままの方向で出力するか、画像を回転して出力するかに応じて、それぞれ図12の(a),(b)に示すように変換されて算出される。
【0080】
次に、ホストコンピュータから送られてきたPDLデータを可視画像に展開しプリントアウトするまての処理の流れを説明する。
【0081】
本処理は、画像入出力制御部3において、フォーマッタ部4で展開された画像を画像メモリ307に格納するまで画像入力処理と、画像入出力制御部3において、画像メモリ307に格納された画像を取り出しプリンタ部2に出力するまでの画像出力処理に分けられる。以下、それぞれの処理について説明する。
【0082】
〔画像入力処理〕
まず、本処理において用いられる各種データについて説明する。
【0083】
図13は、図1に示したフォーマッタ部4と画像入出力制御部3との間でやり取りされる制御データの構成を説明する図である。
【0084】
図13の(a)はジョブ開始要求を示す制御データ(STARTコマンド)である。STARTはジョブ開始要求コマンドを示す。
【0085】
図13の(a)において、 「Type of job」はジョブの種類を示す。本実施形態においては、フォーマッタ部4から入力された画像をプリンタ部2に出力するプリントジョブである。「Number of copies」は、プリンタ部2に画像を出力する際に、繰り返し出力する回数を示す。「Input mode」は、用紙の給紙方法を指定する給紙モードを示す。「Finish mode」は、用紙の排紙方法を指定する排紙モードを示す。
【0086】
図13の(b)はページ画像出力要求を示す制御データ(PAGEコマンド)である。
【0087】
図13の(b)において、「PAGE」はページ画像出力要求コマンドを示す。「Page No.」はページ番号を示す。「Page Size」は画像のサイズを示す。
【0088】
「H Size」は画像の主走査方向の画素数を示す。「V Size」は同じく副走査方向の画素数を示す。
【0089】
図13の(c)はジョブ終了を示す制御データ(ENDコマンド)である。
【0090】
図13の(c)において、「END」はジョブ終了コマンドを示す。
【0091】
図13の(d)は各コマンドに対するステータスを返答する、ステータス応答データSTATUSである。
【0092】
図14は、図1に示した画像入出力制御部3が管理するプリントジョブのテーブル例を示す図であり、フォーマッタ部4より受付けたプリントジョブの管理に使用する各種管理テーブルに対応する。
【0093】
図14の(a)は、プリントジョブ管理テーブルを示す。
【0094】
「Type of job」、「Number of copies」、「Input mode」、「Finish mode」は、図13の(a)に示すSTARTコマンドのデータと同様である。
【0095】
「JobID」は、ジョブの識別番号を表す。「Number of Pages」は、ジョブ全体のページ数を表す。
【0096】
「*Paget able」は、1ページ目の入力ページテーブルが記憶されているアドレスヘのポインタを示す。
【0097】
「*next Job talble」は、次のプリントジョブ管理テーブルへのポインタを示す。次のテーブルが存在しない場合は、NULLがセットされる。
【0098】
図14の(b)は、各ページ毎の情報を管理するための入力ページテーブルを示す。
【0099】
「Page NO.」、「Page Size」、「H Size」、「V Size」は、図13の(b)に示すPAGEコマンドのデータと同様である。
【0100】
「*Image data」は、フォーマッタ部4より入力し画像メモリ307上に格納されている画像の格納先アドレスへのポインタを示す。「*nextPage table」は、次の入力ページテーブルヘのポインタを示す。次のテーブルが存在しない場合には、NULLがセットされる。
【0101】
図14の(c)は、画像メモリ307に格納されている画像をプリンタ部2に出力する際に作成される出力ページテーブルを示す。
【0102】
「Page NO.」、「Page Size」、「H Size」、「V Size *Image data」は、図14の(b)の入力ページテーブルのデータと同様である。
【0103】
「Paper Source」は、実際にそのページをどの給紙口から給紙するかを指示するデータである。「H offset」は、画像をプリンタ部2にビデオ出力する際の主走査方向の遅延量を示す。「V offset」は、同じく副走査方向の遅延量を示す。
【0104】
次にこれらのデータを用いたフォーマッタ部4と画像入出力制御部3とのやり取りについて説明する。
【0105】
図15は、本発明に係る画像処理装置における第2のデータ処理手順の一例を示すフローチャートであり、画像入出力制御部3において、フォーマッタ部4で展開された画像を入力し、画像メモリ307に格納するまでの処理手順に対応する。なお、S701〜S714は各ステップを示す。
【0106】
まず、画像入出力制御部3は、フォーマッタ部4よりSTARTコマンドが通知されるのを待機する(S701)。
【0107】
フォーマッタ部4よりSTARTコマンドを受取ると、STARTコマンドで指示された各データを基に、図14の(a)に示すようなプリントジョブ管理テーブルを作成し(S702)、フォーマッタ部4にSTATUSコマンドでOKを返す(S703)。
【0108】
次に、フォーマヅタ部4よりPAGEコマンドを受取ると(S704)、PAGEコマンドで指示された各データを基に、図14の(b)に示すような入力ページテーブルを作成する(S705)。
【0109】
そして、画像入力の準備が整うとSTATUSコマンドでOKを返し(S706)、フォーマッタ部4より画像が入力されるのを待機する(S707)。
【0110】
そして、フォーマッタ部4より画像が入力されると、順次画像メモリ307に格納する(S708)。
【0111】
次に、1ページ分の画像を正常に入力し終えると(S709)、 ジョブテーブルのNumber of pages(P)に「1」を加算し(S710)、フォーマッタ部4にSTATUSコマンドでOKを返す(S711)。
【0112】
一方、ステップS709で、画像入力の途中でエラー等が発生し、正常に1ページ分の画像を入力し終えなかったと判断した場合には、エラー処理を行った後(S712)、STATUSコマンドでNGを返す(S713)。
【0113】
以後、フォーマッタ部4よりENDコマンドが通知されたと判断されるまで(S714)、フォーマッタ部4において、1ページ分のページ画像が生成される度に、上記ページ画像転送シーケンスが繰り返される(S704〜S714)。
【0114】
そして、フォーマッタ部4よりENDコマンドを受取ると(S714)、プリントジョブ管理テーブルをプリントジョブキューにセットし、再びステップS701に戻り、フォーマッタ部4からのプリントジョブ開始要求の通知を待機する。
【0115】
〔画像出力処理〕
次に、画像入出力制御部3において、プリントジョブ管理テーブルの情報に基づいて、画像メモリ307に格納されている画像を取り出し、プリンタ部2に出力する処理について説明する。
【0116】
図16は、本発明に係る画像処理装置における第3のデータ処理手順の一例を示すフローチャートであり、図1に示した画像入出力制御部3において画像メモリ307に格納されている画像を、プリンタ部2に出力する場合の処理手順に対応する。なお、S901〜S918は各ステップを示す。
【0117】
まず、画像入出力制御部3は、プリントジョブキューを監視して、プリントジョブ管理テーブルが存在するか否かを判断する(S901)。ここで、プリントジョブ管理テーブルが存在すると判断した場合、これを取り出し(S902)、この情報に基づきプリンタ部2に対してプリントジョブの開始を指示するSTARTコマンドを発行する(S903)。
【0118】
次に、プリンタ部2よりSTATUSコマンドでOKが通知されると(S904)、プリントジョブ管理テーブルを参照し、ページカウントを示す値pにNumber of Pages(P)を、部数カウントを示す値cにNumber
of copies(C)をセットする(S905)。
【0119】
次に、該ページの入力ページテーブルを基に、図14の(c)に示すような出力ページテープルを作成する(S906)。
【0120】
続いて、ページ画像を出力するための出力前処理(詳細は、図17に示す)を行う(S907)。
【0121】
図17は、本発明に係る画像処理装置における第4のデータ処理手順の一例を示すフローチャートであり、図1に示した画像入出力制御部3における出力前処理手順に対応する。なお、S1001,S1002は各ステップを示す。
【0122】
まず、出力前処理は、後述する図18に示す出力モードの決定処理を行い、(S1001)、後述する図18に示す出力調整値の算出処理を実行する(S1002)。
【0123】
図18は、本発明に係る画像処理装置における第5のデータ処理手順の一例を示すフローチャートであり、図17に示した出力モードの決定処理の詳細手順に対応する。なお、S1101〜S1109は各ステップを示す。また、本処理では、実際に出力する用紙サイズとその給紙口を決定する。
【0124】
まず、プリントジョブ管理テーブルのコマンド「Input mode」で指定された給紙モードに基づき、入力ページテーブルのPage Sizeと一致する給紙口を検索する(S1101)
ここで、一致する給紙口が見つかったと判断した場合、次に、該給紙口の用紙の有無を検知する(S1102)。
【0125】
そして、該給紙口に用紙がない場合には、操作部5に用紙を補給する旨エラー表示を行い(S1103)、用紙が補給されるまで待機する(S1104)。
【0126】
一方、ステップS1102で、用紙があると判断した場合、若しくは用紙が補給された場合は、出力ページテーブルのPaper Sizeに入力ページテーフルのPaper Sizeをセットし、さらに選択されている給紙口をPaper Sourceにセットして(S1105)、本処理を終える。
【0127】
一方、ステップS1101において、入力ページテーブルのPage Sizeと一致する給紙口が見つからないと判断した場合には、操作部5に一致する用紙サイズに交換する旨エラー表示を行う(S1106)。
【0128】
そして、給紙口のサイズが変更されたと判断された場合(S1107)、ステップS1101に戻り、再度Page Sizeと一致する給紙口があるか否か検索する。
【0129】
一方、ステップS1107で、一致する用紙サイズは存在しないが、何ら用紙サイズの変更が指示されずに、別の用紙に出力するというエラーをスキップする操作がなされたと判断した場合(S1108)、出力ページテーブルのPaper Sizeに選択された用紙サイズをセットし、さらに選択された給紙口をPaper Sourceにセットして(S1109)、処理を終える。
【0130】
出力モードの決定処理を終えると、次に図19に示す出力調整値の算出処理に移行する。
【0131】
図19は、本発明に係る画像処理装置における第6のデータ処理手順の一例を示すフローチャートであり、図17に示した出力調整値の算出処理手順に対応する。なお、S1201〜S1207は各ステップを示す。
【0132】
まず、RAM305に記憶されているオフセット登録データ(図8参照)を参照し(S1201)、登録データの中に、入力ページテープルのPage Sizeと一致するサイズが登録されているか否かを判断する(S1202)。
【0133】
ここで、登録データの中に一致するサイズがあると判断した場合、登録されているサイズ、すなわちオフセット登録時にスキャナ部1で読み込んだ用紙サイズと、出力ページテーブルのpaper Size、すなわち実際にプリンタ部2に出力する用紙サイズとが、同サイズ同方向であるか否かを判断する(S1203)。
【0134】
一方、同サイズ同方向であると判断した場合は、登録データに登録されているサイズ、基準位置、オフセット値(x、y)を基に、出力調整値(H offset、V offset)を算出し、出力ページテーブルにセットし(S1204)、処理を終了する。
【0135】
一方、ステップS1203において、登録されているサイズとPaper SiZeが同サイズ 同方向でなかったと判断した場合、次に同サイズ異方向であるか否かを判断する(S1205)。ここで、同サイズ異方向とは、例えば、登録サイズがA4、Paper SizeがA4Rといったようにサイズは同じで、出力方向が横長と縦長といったように異なる場合である。
【0136】
このようにPaper Sizeが同サイズ異方向である場合には、ステップS1204と同様に、出力調整値(H offset、V offset)を算出し、出力ページテーブルにセットする(S1206)。なお、出力調整頓を算出する際、登録サイズと異なる方向の用紙サイズに出力するということが加味される。
【0137】
一方、ステップS1202において、入力ページサイズ(PageS1ze)がオフセット登録データに存在しない場合、また、ステップS1205において、出力用紙サイズ(Paler Size)が登録サイズと異なるサイズであった場合、出力調整は行わないため、出力調整値(H offset、V offset)には、「0」をセットし(S1207)、処理を終える。
【0138】
再び、図16に示す画像出力処理に戻って説明する。
【0139】
ステップS907で、出力前処理を終えると、作成された出力ページテーブルの情報に基づき、プリンタ部2にPAGEコマンドを発行する(S908)。
【0140】
そして、プリンタ部2よりOKが通知されると(S909)。出力ページテーブルの画像絡納先アドレスを参照し、画像メモリ307から画像を取り出し、プリンタ部2にビデオ出力を行う(S910)。
【0141】
この際、出力前処理の出力調整値の算出処理において算出された主走査方向および副走査方向の遅延量H offset、V offsetに基づきビデオ出力タイミングを調整してビデオ出力を行うことにより、用紙上に形成される画像の位置を調整する。
【0142】
次に、プリンタ部2よりビデオ出力結果を表すSTATUSコマンドが通知されるのを待機し(S911)、OKが通知された場合、ページカウントpを「1」減らし(S912)、その結果、ページカウントp=0でない場合には、すなわち最終ページでないと判断した場合には(S914)、ステップS906に戻り、次ページの出力ページテープルを作成する。
【0143】
一方、ジャム発生などにより、ビデオ出力を正常に終えなかった場合、プリンタ部2よりSTATUSコマンドてNGが通知される。この場合、エラー内容に応じたエラー処理を行い(S913)、エラー処理を終えると、ステップS906に戻り、再び該ページの出力ページテーブルを作成する処理からをやり直す。
【0144】
一方、ステップS914において、p(ページカウント)=0であった場合、該ページが最終ページであり、1部分の出力を正常に終えたことを示しているため、部数カウントcを「1」減らす(S915)。
【0145】
この結果c=0ではない場合には、次の部数の出力処理を行うため、pにNumber of pages(P)をセットし(S918)、ステップS906に戻り、再び1ページ目の出力ページテーブルの作成から処理を継続する。
【0146】
一方、c=0であると判断した場合は、プリンタ部2にプリントジョブが全て終了したことを通知するENDコマンドを発行し(S917)、再びステップS901に戻り、プリントジョブキューを監視し、次のプリントジョブが発生するまで待機する。
【0147】
〔第2実施形態〕
第2実施形態においては、予めプリントする用紙をスキャンし、プリント用紙に印字されている印字位置情報を取得し、この印字位置情報を指定された用紙名称と対応づけて登録しておく。ホストからプリントアウトする際に、この用紙名称を指定することにより、登録されている印字位置情報から出力調整値を算出し、これに基づき印字位置の調整を行う。
【0148】
第1実施形態においては、用紙サイズをオフセット値と対応づけて登録しておくため、プリントする用紙サイズが一致すれば、全て同じように印字位置の調整が行われる。これに対して、さらに用紙名称を用いてオフセット値と対応づけて登録しておくことにより、同じサイズでも複数のオフセットデータを登録しておくことができ、すなわち、様々な種類の用紙に対して出力調整を行うことが可能となる。
【0149】
第2実施形態における画像処理装置の構成は、前記第1実施形態と同様であるため、その説明を省略する。
【0150】
まず、予めプリントする用紙をスキャンし、プリント用紙に印字されている印字位置情報を取得し、この印字位置情報を指定された用紙名称と対応づけて登録しておく。以下、そのオフセット登録処理について説明する。
【0151】
図20は、本発明に係る画像処理装置における第7のデータ処理手順の一例を示すフローチャートであり、図1に示した画像入出力制御部3における、オフセット登録処理手順に対応する。なお、S2001〜S2012は各ステップを示す。
【0152】
まず、オフセット登録が指示されるのを待機し(S2001)、オフセット登録が指示されると、登録する用紙名称と基準位置を入力するための画面を表示する(S2002)。用紙名称と基準位置が入力されOKキーが押されると、次に用紙を原稿台にセットしスキャン開始を指示する画面を表示し、OKキーが押されるのを待機する(S2003)。
【0153】
そして、OKキーが押されると、画像入出力制御部3は、まず原稿台にセットされた用紙サイズを取得するために、スキャナ部1に対して1回目のスキャンを指示する(S2004)。
【0154】
次に、スキャナ部1より用紙サイズが通知されると(S2005)。次に、読み取った画像データを画像入出力制御部3へ転送するように設定し、二回目のスキャンを指示する(S2006)。
【0155】
そして、スキャナ部1より画像が入力されると、画像メモリ307に記憶し、ステップ2005において取得した用紙サイズ、およびステップ2002において入力された基準位置に基づき、画像メモリ307に記憶された画像情報からオフセット値を取得する(S2007)。
【0156】
次に、オフセット値を取得すると、次に取得したオフセット値が適正な範囲内にあるか否かを判断する(S2008)。ここで、値が適正な範囲内に無いと判断した場合、エラー表示を行う(S2011)。そして、エラー後、スキャンやり直しが指示された場合(S2011)、S2003に戻り、スキャン開始待ちとなる。なお、中止が指示された場合には、ステップS2001に戻る。
【0157】
一方、ステップ2008で、オフセット値が適正な範囲内であると判断した場合には、登録の指示を待ち(S2009)、登録が指示されると、設定された用紙名称、用紙サイズ、基準位置、および取得したオフセット値を、図21に示すようなデータ形式でRAM305に記憶し(S2110)、ステップS2001に戻る。
【0158】
次に、本実施形態において、ホストコンピュータから送られてきたPDLデータを、可視画像に展開しプリントアウトするまでの処理の流れを説明する。
【0159】
本処理は、画像入出力制御部3において、フォーマッタ部4で展開された画像を画像メモリ307に格納するまでの画像入力処理と、画像入出力制御部3において、画像メモリ307に格納された画像を取り出しプリンタ部2に出力するまでの画像出力処理に分けられる。
【0160】
画像入力処理、および画像出力処理の基本的な処理の流れは、前記第1実施形態と同じである。ここでは、特に第1実施形態と異なるデータ処理について説明する。以下、画像入出力制御部3において用いられるデータについて説明する。
【0161】
図22は、本発明の第2実施形態を示す画像処理装置において用いられるデータ構造について説明する図であり、画像入出力制御部3において用いられるデータ構造に対応する。
【0162】
図22の(a)は、フォーマッタ部4よりページ画像を入力する際に受取るPAGEコマンドを示す。図22の(b)は、フォーマッタ部4より入力したページ画像を管理するための、入力ページテーブルを示す。
【0163】
前記第1実施形態との差違は、PAGEコマンド、および入力ページテーブルに、用紙名称を表すパラメータPaper Nameが追加されている点である。
【0164】
なお、ユーザがホストコンピュータより用紙名称を指定してプリントアウトを行う方法としては、例えば、予め画像入出力制御部3に登録されているオフセット登録データの用紙名称一覧を、フォーマッタ部4を介してホストコンピュータに通知しておく。
【0165】
そして、ホストコンピュータよりプリントを行う際に、ユーザがプリンタドライバ等で用紙名称を指定し、PDLデータとしてフォーマッタ部4に送信し、フォーマッタ部4においてこれを解釈してPAGEコマンドで画像入出力制御部3に指定する、という方法により実現可能である。
【0166】
次に、画像入出力制御部3の画像出力処理における出力調整値の算出処理について説明する。
【0167】
図23は、本発明に係る画像処理装置における第8のデータ処理手順の一例を示すフローチャートであり、図1に示した画像入出力制御部3における出力調整値の算出処理手順に対応する。なお、S2301〜S2307は各ステップを示す。
【0168】
まず、RAM305に記憶されているオフセット登録データ(図21)を参照し(S2301)、入力ページテーブルのPaper Nameと一致する用紙名称があるか否かを判断する(S2302)。そして、登録データの中に一致する用紙名称がある場合、登録されている用紙サイズ、すなわちオフセット登録時にスキャナ部1で読み込んだ用紙サイズと、出力ページテーブルのPaper Size、すなわち実際にプリンタ部2に出力する用紙サイズとが、同サイズ同方向であるか否かを判断する(S2303)。
【0169】
ここで、同サイズ同方向である場合、登録データに登録されているサイズ、基準位置、オフセット値(x、y)を基に、出力調整値(H offset、V offSet)を算出し、出力ページテーブルにセットする(S2304)。
【0170】
また、ステップS2303において、登録されているサイズとPaper Sizeとが同サイズ同方向でなかった場合、次に同サイズ異方向であるか否かを判断する(S2305)。ここで、同サイズ異方向とは、例えば、登録サイズがA4、Paper SizeがA4Rといったようにサイズは同じで、出力方向が横長と縦長といったように異なる場合である。
【0171】
一方、S2305で、Paper Sizeが同サイズ異方向である場合には、ステップS2304と同様に、出力調整値(H offset、V offset)を算出し、出力ページテーブルにセットして(S2306)、リターンする。
【0172】
なお、出力調整値を算出する際、登録サイズと異なる方向の用紙サイズに出力するということが加味される。
【0173】
一方、ステップS2302において、用紙名称(Paper Name)がオフセット登録データに存在しない場合、また、ステップS2305において、出力用紙サイズ(Paper Size)が登録サイズと異なるサイズであった場合、出力調整は行わないため、出力調整値には「0」をセットし(S2307)、リターンする。
【0174】
上記各実施形態によれば、罫線等の画像が記録されている記録用紙に、外部機器から取り込んだ画像データを調整して印字するような場合に、予め記録用紙に印字されている画像の位置情報を読み取り、これを用紙サイズと対応づけて記憶しておき、後で外部機器からの画像を印字する際に、記憶されている用紙サイズと一致する場合、対応する画像の位置情報を取り出し、印字調整量を算出することにより、自動的に印字位置を調整することが可能となる。
【0175】
さらにまた、読み取った位置情報を、用紙名称と対応づけて記憶しておくことにより、同一サイズに対して複数の位置情報を登録することができ、様々な用紙に対して、自動的に印字位置調整を行うことが可能となる。
【0176】
またこの場合、同一サイズであっても、用紙名称が一致しない限り印字調整は行われないため、印字位置調整が必要のない用紙に対しては、従来通り通常の印字位置に印字することが可能となる。
【0177】
なお、本発明は、上記実施形態に限定されるものではなく、本発明の趣旨に基づき種々の変形が可能であり、それらを本発明の範囲から排除するものではない。
【0178】
【発明の効果】
以上説明したように本発明によれば、予め記録用紙に印字されている画像の位置情報を読み取り、これを用紙識別情報と対応づけて記憶して、画像読み取り手段により記録媒体上に記録されている画像の位置情報を検出し、該検出された位置情報と該記憶された用紙識別情報に従う位置情報とに基づき、記録媒体上への画像出力位置を調整して画像形成を行うので、後で所望の記録用紙が指定された場合に、記憶されている位置情報に基づき自動的に印刷位置を調整することができるという効果を奏する。
【図面の簡単な説明】
【図1】本発明の第1実施形態を示す画像処理装置の構成を示すブロック図である。
【図2】図1に示したスキャナ部及びプリンタ部の構成例を示す断面図である。
【図3】図1に示したスキャナ部の詳細な構成例を示すブロック図である。
【図4】図1に示した画像入出力制御部の詳細な構成例を示すブロック図である。
【図5】図1に示したフォーマッタ部の詳細な構成例を示すブロック図である。
【図6】本発明に係る画像処理装置における第1のデータ処理手順の一例を示すフローチャートである。
【図7】図1に示した操作部におけるオフセット登録時の操作画面の状態を説明する図である。
【図8】図5に示したRAMで管理されるオフセット登録データの一例を示す図である。
【図9】図1に示したスキャナ部で読込ませる用紙に対して、オフセット値を算出する基準となる基準位置例を示す図である。
【図10】図9に示した読込ませる用紙を実際に原稿台にセットした状態を示す図である。
【図11】図5に示した画像メモリに記憶されている画像データの出力処理例を示す図である。
【図12】本発明に係る画像処理装置におけるオフセット値算出処理時に使用する変換テーブルの一例を示す図である。
【図13】図1に示したフォーマッタ部と画像入出力制御部との間でやり取りされる制御データの構成を説明する図である。
【図14】図1に示した画像入出力制御部が管理するプリントジョブのテーブル例を示す図である。
【図15】本発明に係る画像処理装置における第2のデータ処理手順の一例を示すフローチャートである。
【図16】本発明に係る画像処理装置における第3のデータ処理手順の一例を示すフローチャートである。
【図17】本発明に係る画像処理装置における第4のデータ処理手順の一例を示すフローチャートである。
【図18】本発明に係る画像処理装置における第5のデータ処理手順の一例を示すフローチャートである。
【図19】本発明に係る画像処理装置における第6のデータ処理手順の一例を示すフローチャートである。
【図20】本発明に係る画像処理装置における第7のデータ処理手順の一例を示すフローチャートである。
【図21】図5に示したRAMで管理されるオフセット登録データの一例を示す図である。
【図22】本発明の第2実施形態を示す画像処理装置において用いられるデータ構造について説明する図である。
【図23】本発明に係る画像処理装置における第8のデータ処理手順の一例を示すフローチャートである。
【符号の説明】
1 スキャナ部
2 プリンタ部
3 画像入出力制御部
4 フォーマッタ部
5 操作部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image processing apparatus that includes an image reading unit that reads an image and an image forming unit that forms a visible image on a recording medium based on image information input from an external device.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in an image processing apparatus that inputs data described in a page description language (hereinafter, also referred to as PDL data), and forms and outputs an image, various sizes and types of paper are used as recording paper.
[0003]
Further, as the paper, not only ordinary white paper but also recording paper on which ruled lines and frames are printed (printed) in advance such as postcards may be used.
[0004]
When such preprinted paper is used, it is necessary to adjust the printing position in order to print the developed image properly in accordance with the print content.
[0005]
Conventionally, in such a case, as a method of adjusting the print position, when a user creates a document with an application on the host, the print position of the recording paper is checked in advance, and then the layout position is adjusted and the document is adjusted. There is a method of creating.
[0006]
Further, there is a method in which an output offset value on the printer side is adjusted in advance in a service mode or the like, the offset value is held on the printer side, and an output position is shifted based on the offset value when outputting the output. .
[0007]
Furthermore, a method is used in which when a user prints out, an output offset value is specified by a printer driver or the like, and when output is performed on the printer side, the output position is shifted based on the specified offset value and output. ing.
[0008]
[Problems to be solved by the invention]
However, regardless of whether the adjustment is performed on the application side or the printer side, an extremely complicated operation such that the user performs the adjustment while repeating trial and error is involved.
[0009]
When only one type of recording paper is used, once the adjustment is performed on the recording paper, the same adjustment value may be designated each time. In such a case, an adjustment value corresponding to each sheet must be specified, and the operation becomes complicated.
[0010]
Furthermore, in an apparatus having not only a printer function but also various image output functions such as a copy function, the same adjustment value may not necessarily be applied to the same recording paper depending on the position of an image printed on the recording paper in advance. It is not always necessary to output the data at the same time, and it is necessary to adjust at least for each function.
[0011]
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and an object of the present invention is to read position information of an image printed on a recording medium in advance and store the information in association with paper identification information. Detecting the position information of the image recorded on the recording medium by the image reading means, and outputting an image to the recording medium based on the detected position information and the position information according to the stored sheet identification information. Provided is an image processing apparatus capable of automatically adjusting a printing position based on stored position information when a desired recording medium is specified later by performing image formation by adjusting a position. That is.
[0012]
[Means for Solving the Problems]
A first invention according to the present invention is an image processing apparatus comprising: an image reading unit that reads an image; and an image forming unit that forms a visible image on a recording medium based on image information input from an external device. Image processing means for detecting position information of an image recorded on a recording medium by the image reading means and adjusting an image output position on a recording medium based on the detected position information to form an image It is characterized by having.
[0013]
A second invention according to the present invention is an image processing apparatus comprising: an image reading unit that reads an image; and an image forming unit that forms a visible image on a recording medium based on image information input from an external device. Input means for inputting paper identification information for identifying a recording medium, detection means for detecting position information of an image recorded on the recording medium by the image reading means, and input means for inputting the input means. Storage means for associating the stored paper identification information with the position information of the image detected by the detection means, and stores the input image information in the storage means. And image processing means for adjusting the image output position on the recording medium based on the corresponding position information and forming an image when the sheet identification information coincides with the sheet identification information. The image processing apparatus according to claim Rukoto.
[0014]
According to a third aspect of the present invention, there is provided image reading means for reading an image, image developing means for developing a visible image based on image information input from an external device, input from the image reading means, and image input means. An image forming apparatus for selectively outputting an image to be printed on a recording medium, comprising: input means for inputting sheet identification information for identifying the recording medium; and the image reading means. Detecting means for detecting the position information of the image recorded on the recording medium, paper identification information input by the input means, and storing the position information of the image detected by the detecting means in association with each other. Storage means for storing, when outputting the image input from the image developing means, the input image information stored in the storage means in the input image information If that contained the paper identification information matching the identification information, based on the corresponding position information, characterized in that it comprises an image processing means for performing adjustment to the image forming an image output position on a recording medium.
[0015]
A fourth invention according to the present invention is characterized in that the paper identification information input by the input means is paper size information.
[0016]
A fifth invention according to the present invention is characterized in that the paper identification information input by the input means is paper size information detected by the image reading means.
[0017]
A sixth invention according to the present invention is characterized in that the paper identification information input by the input means is a paper name that can be arbitrarily specified by a user.
[0018]
BEST MODE FOR CARRYING OUT THE INVENTION
[First Embodiment]
FIG. 1 is a block diagram illustrating a configuration of an image processing apparatus according to the first embodiment of the present invention.
[0019]
In FIG. 1, a scanner unit 1 reads an original and outputs image data corresponding to the original image to a printer unit 2 or an image input / output control unit 3.
[0020]
The printer unit 2 records an image on recording paper based on image data input from the scanner unit 1 or the image input / output control unit 3.
[0021]
The image input / output control unit 3 is connected to the scanner unit 1, the printer unit 2, the formatter unit 4, and the operation unit 5, and functions as a main controller that integrally controls these.
[0022]
The formatter unit 4 develops the image data (for example, PDL data) transferred from the information processing device 7 into image data (bitmap data) that can be recorded by the printer unit 2 and transfers the image data to the image input / output control unit 3. Further, various configuration information of the entire image processing apparatus 100 and an operation state are transferred to the information processing apparatus 7.
[0023]
In accordance with an instruction from the image input / output control unit 3, the operation unit 5 displays a screen for the user to perform various settings, and notifies the image input / output control unit 3 of the user's settings. Reference numeral 220 denotes a paper discharge unit.
[0024]
FIG. 2 is a cross-sectional view illustrating a configuration example of the scanner unit 1 and the printer unit 2 illustrated in FIG.
[0025]
The document feeder 101 of the scanner unit 1 feeds a document one by one in order from the last page onto a document table 102, and discharges the document on the document table 102 each time the reading operation of each document is completed. When the document is conveyed onto the document table 102, the lamp 103 is turned on, the movement of the scanner unit 104 is started, and the document is exposed and scanned. The reflected light from the original at this time is guided to a CCD image sensor (hereinafter, referred to as a CCD) 109 by mirrors 105, 106, 107 and a lens 108. The read image data is transferred to the printer unit 2 or the image input / output control unit 3 after being subjected to predetermined processing.
[0026]
The laser driver 221 of the printer unit 2 drives the laser light emitting unit 201 to emit a laser beam based on the image data output from the scanner unit l. The laser beam is applied to the photosensitive drum 202, and a latent image corresponding to the laser beam is formed on the photosensitive drum 202. A developer is attached to a portion of the latent image formed on the photosensitive drum 202 by a developing device 203.
[0027]
The recording paper is conveyed to the transfer unit 206 by either the cassette 204 or the cassette 205 at a timing synchronized with the start of laser beam irradiation, and the developer attached to the photosensitive drum 202 is transferred.
[0028]
Then, the recording paper on which the developer is transferred by the transfer unit 206 is conveyed to the fixing unit 207, and the developer is fixed on the recording paper by the heat and pressure of the fixing unit 207. Further, the recording paper that has passed through the fixing unit 207 is discharged by a discharge roller 208, and the discharged recording paper is stored in an appropriate bin by a sorter 220, whereby the recording paper is sorted.
[0029]
When the sorter mode is not set to the sorting mode, the sorter 220 stores the recording paper in the uppermost bin.
[0030]
When the mode is set to the double-sided recording mode, after the recording paper is conveyed to the position of the discharge roller 208, the rotation direction of the discharge roller 208 is reversed and the recording paper is guided to the re-feeding conveyance path 210 by the flapper 209.
[0031]
When the multiplex recording mode is set, the recording paper is guided to the re-feeding conveyance path 210 by the flapper 209 so as not to be conveyed to the discharge roller 208. Then, the recording paper guided to the re-feeding conveyance path 210 is fed again to the transfer unit 206 at the above-described timing.
[0032]
FIG. 3 is a block diagram showing a detailed configuration example of the scanner unit 1 shown in FIG.
[0033]
3, an image processing unit 111, an interface (I / F) unit 113, a ROM 115, and a RAM 116 are connected to a CPU bus 117 of the CPU 114.
[0034]
Then, the image data output from the CCD 109 is subjected to analog / digital conversion by the A / D / SH unit 110 and is subjected to shading correction. The image data processed by the A / D / SH unit 110 is transferred to the printer unit 2 via the image processing unit 111 and to the image input / output control unit 3 via the interface unit 113.
[0035]
The CPU 114 controls the image processing unit 111 and the interface unit 113 in accordance with the settings specified by the image input / output control unit 3.
[0036]
For example, when a mode for performing copying after the trimming process is instructed, the image processing unit 111 executes the trimming process, and transfers the image data subjected to the image processing to the printer unit 2.
[0037]
When a mode for instructing reading of a document, obtaining print information printed on the read document, and holding the information in the image input / output control unit 3 is specified, the read image data is transmitted via the interface unit 113. To the image input / output control unit 3.
[0038]
A control program of the CPU 114 that performs such control is stored in the ROM 115, and the CPU 114 operates based on the control program on the ROM 115. The RAM 116 is used as a work area of the CPU 114.
[0039]
FIG. 4 is a block diagram showing a detailed configuration example of the image input / output control unit 3 shown in FIG. As shown, an interface unit 300, an operation unit interface (I / F) unit 302, an interface unit 303, a ROM 304, a RAM 305, and an image processing unit 306 are connected to a CPU bus 308 of the CPU 301.
[0040]
Image data input from the scanner unit 1 is transferred to the image processing unit 306 via the interface unit 303, and then stored in the image memory 307. The control command input from the scanner unit 1 is transferred to the CPU 301.
[0041]
The image data input from the formatter unit 4 is transferred to the image processing unit 306 via the interface 300 and then stored in the image memory 307. Further, a control command input from the formatter unit 4 is transferred to the CPU 301.
[0042]
The image data stored in the image memory 307 is processed by the image processing unit 306 based on control commands input from the scanner unit 1, the formatter unit 4, and the operation unit 5 under the control of the CPU 301. After being subjected to image processing such as zooming and scaling processing, the image data is transferred to the printer unit 2 via the interface unit 303.
[0043]
When the CPU 301 receives a command requesting display on the operation unit 5 among the control commands input from the scanner unit 1 and the formatter unit 4, the CPU 301 transmits the specified display contents to the operation unit I / F unit 302. Displayed on the operation unit 5 via
[0044]
When an operation is performed by the user on the operation unit 5, the operation information is input to the CPU 301 via the operation unit I / F unit 302.
[0045]
The CPU 301 transfers the operation information input from the operation unit I / F unit 302 to the scanner unit 1 and the formatter unit 4. Alternatively, image input / output control is performed based on the operation information.
[0046]
A control program of the CPU 301 that performs such control is stored in the ROM 304, and the CPU 301 operates based on the control program on the ROM 304. The RAM 305 is used as a work area of the CPU 301.
[0047]
FIG. 5 is a block diagram showing a detailed configuration example of the formatter unit 4 shown in FIG.
[0048]
In FIG. 5, a host interface (I / F) unit 400, an image data generation unit 401, an image memory 402, an interface unit 403, a ROM 405, and a RAM 406 are connected to a CPU bus 407 of the CPU 404.
[0049]
The PDL data sent from the host computer 7 is stored in the RAM 406 via the host I / F unit 400.
[0050]
The CPU 404 interprets the PDL data stored in the RAM 406 and transfers data for creating a bitmap image to the image data generator 401.
[0051]
The image data generator 401 converts the data sent from the CPU 404 into a bitmap image. The created bitmap image is stored in the image memory 402.
[0052]
The CPU 404 takes out the bitmap image stored in the image memory 402, transfers the bitmap image to the image input / output control unit 3 via the interface unit 403, and outputs a control command for instructing an output destination of the transferred image and an output setting. Forward.
[0053]
The display screen and setting information relating to the operation of the formatter unit 4 are stored in the ROM 405 and the RAM 406 in advance, and the CPU 404 extracts them as necessary and transfers them to the image input / output control unit 3 via the interface unit 403.
[0054]
Further, the CPU 404 performs various controls based on the operation information of the operation unit 5 transferred from the image input / output control unit 3. For example, when a clear operation of the receiving buffer of the formatter unit 4 is performed in the operation unit 5, the image input / output control unit 3 notifies the fact. The CPU 404 clears the received data stored in the RAM 406 according to an instruction from the image input / output control unit 3.
[0055]
A control program of the CPU 404 that performs such control is stored in the ROM 405, and the CPU 404 operates based on the control program on the ROM 405. Note that the RAM 406 is also used as a work area of the CPU 404.
[0056]
As described above, it is possible to perform processing combining functions such as reading of an original, printing of an image, generation of an image, transmission and reception of an image, etc., with the image input / output control unit 3 as the center.
[0057]
Next, when the PDL data sent from the host computer is developed into a visible image and printed out, the print position is adjusted and printed out based on the print position information obtained by scanning the print paper in advance. explain.
[0058]
[Offset data registration processing]
First, a print sheet is scanned in advance, print position information printed on the print sheet is acquired, and the print position information is registered in association with a designated sheet size. Hereinafter, the offset registration process will be described.
[0059]
FIG. 6 is a flowchart illustrating an example of a first data processing procedure in the image processing apparatus according to the present invention, and corresponds to a detailed procedure of offset registration processing in the image input / output control unit 3 in FIG. S601 to S610 indicate each step. FIG. 7 is a view for explaining a state of the operation screen at the time of offset registration in the operation unit 5 shown in FIG.
[0060]
In FIG. 7, a screen 801 illustrated in FIG. 7A represents an initial screen for performing various settings.
[0061]
When offset registration is instructed on the screen 801 (S601), a screen 802 shown in FIG. 7B for inputting a paper size and a reference position to be registered next is displayed (S602).
[0062]
Then, when the paper size and the reference position are input and the OK key is pressed, a screen 803 shown in FIG. 7C for setting the paper on the platen and instructing to start scanning is displayed, and the OK key is pressed. Wait (S603).
[0063]
Then, when the OK key is pressed on the screen 803, a screen 804 shown in FIG. 7D is displayed, and the image input / output control unit 3 controls the scanner unit 1 to read the image data read by the image input / output control. The transfer is set to the unit 3 and a scan is instructed (S604).
[0064]
Next, when an image is input from the scanner unit 1, the image data is stored in the image memory 307, and an offset value is obtained from the image information stored in the image memory 307 based on the specified paper size and reference position (S605). .
[0065]
Then, when the offset value is obtained from the image information stored in the image memory 307, it is determined whether or not the obtained offset value is within an appropriate range (S606).
[0066]
Here, for example, if a sheet on which nothing is printed is erroneously set, an offset value cannot be obtained. Therefore, in such a case, it is determined that an error state has occurred, and FIG. Is displayed on the screen 806 (S609).
[0067]
Here, on screen 806, it is determined whether the user has pressed the OK key as a redo instruction (S610). If it is determined that the OK key has been pressed, the process returns to step S603, and operation unit 5 displays screen 803. Is displayed, and the scanning is started.
[0068]
On the other hand, if the stop key is pressed in step S610, the screen returns to the initial screen 801 (S610).
[0069]
On the other hand, if it is determined in step S606 that the offset value is normal, the set paper size, the reference position, and the acquired offset value are displayed, and are shown in FIG. A screen 805 is displayed.
[0070]
Then, when the OK key is pressed on the screen 805, these offset registration data are stored in the RAM 305 in the data format shown in FIG. 8 (S608), and the display returns to the initial screen 801.
[0071]
[Calculation method of offset value]
Here, a calculation method for calculating the offset value from the read image in step S605 of FIG. 6 will be described.
[0072]
FIG. 9 is a diagram showing an example of a reference position serving as a reference for calculating an offset value with respect to a sheet 1501 read by the scanner unit 1 shown in FIG.
[0073]
In FIG. 9, the reference positions are four places of (1) upper left, (2) upper right, (3) lower left, and (4) lower right of the maximum area 1502 that can be printed on the paper.
[0074]
The offset value is a value (x, x) indicating how far the read image information has moved in the horizontal direction (X) and the vertical direction (Y), with the reference position specified in step S602 as the origin. y).
[0075]
As the position information of the reference position, a maximum printable area is stored in advance for each sheet size, and the stored position information is read out and set based on the sheet size specified in step S602.
[0076]
FIG. 10 is a diagram showing a state in which the paper 1501 to be read shown in FIG.
[0077]
FIG. 11 is a diagram illustrating an example of an output process of the image data stored in the image memory 307 illustrated in FIG. 5. For example, when outputting to the printer unit 2, the same as the paper 1501 read by the scanner unit 1 FIG. 11 (a) shows a case where the image is output in the orientation, and FIG.
[0078]
Note that (x1, y1) and (x2, y2) represent the offset value when outputting to the printer unit in each case.
[0079]
Based on the stored offset values (x, y), these values are output at the designated reference position (upper left / upper right / lower left / lower right) and output the image in the same direction or rotate the image. 12 (a) and (b) of FIG. 12, respectively.
[0080]
Next, the flow of processing until PDL data sent from the host computer is developed into a visible image and printed out will be described.
[0081]
In this processing, the image input / output control unit 3 performs image input processing until the image developed by the formatter unit 4 is stored in the image memory 307, and the image input / output control unit 3 converts the image stored in the image memory 307. The process is divided into image output processing up to output to the printer unit 2. Hereinafter, each process will be described.
[0082]
(Image input processing)
First, various data used in this processing will be described.
[0083]
FIG. 13 is a diagram for explaining the configuration of control data exchanged between the formatter unit 4 and the image input / output control unit 3 shown in FIG.
[0084]
FIG. 13A shows control data (START command) indicating a job start request. START indicates a job start request command.
[0085]
In FIG. 13A, “Type of job” indicates the type of job. In the present embodiment, the print job is a print job that outputs an image input from the formatter unit 4 to the printer unit 2. “Number of copies” indicates the number of times of repeated output when outputting an image to the printer unit 2. “Input mode” indicates a paper feed mode for specifying a paper feed method. “Finish mode” indicates a paper discharge mode for specifying a paper discharge method.
[0086]
FIG. 13B shows control data (PAGE command) indicating a page image output request.
[0087]
In FIG. 13B, “PAGE” indicates a page image output request command. “Page No.” indicates a page number. “Page Size” indicates the size of the image.
[0088]
“H Size” indicates the number of pixels in the main scanning direction of the image. “V Size” also indicates the number of pixels in the sub-scanning direction.
[0089]
FIG. 13C shows control data (END command) indicating the end of the job.
[0090]
In FIG. 13C, “END” indicates a job end command.
[0091]
FIG. 13D shows status response data STATUS which returns a status for each command.
[0092]
FIG. 14 is a diagram illustrating a table example of a print job managed by the image input / output control unit 3 illustrated in FIG. 1, and corresponds to various management tables used for managing the print job received from the formatter unit 4.
[0093]
FIG. 14A shows a print job management table.
[0094]
“Type of job”, “Number of copies”, “Input mode”, and “Finish mode” are the same as the data of the START command shown in FIG.
[0095]
“JobID” indicates the identification number of a job. “Number of Pages” indicates the number of pages of the entire job.
[0096]
“* Page table” indicates a pointer to the address where the input page table of the first page is stored.
[0097]
“* Next Job talble” indicates a pointer to the next print job management table. If the next table does not exist, NULL is set.
[0098]
FIG. 14B shows an input page table for managing information for each page.
[0099]
“Page No.”, “Page Size”, “H Size”, and “V Size” are the same as the data of the PAGE command shown in FIG.
[0100]
“* Image data” indicates a pointer to a storage destination address of an image input from the formatter unit 4 and stored in the image memory 307. “* NextPage table” indicates a pointer to the next input page table. If the next table does not exist, NULL is set.
[0101]
FIG. 14C shows an output page table created when an image stored in the image memory 307 is output to the printer unit 2.
[0102]
“Page No.”, “Page Size”, “H Size”, and “V Size * Image data” are the same as the data of the input page table of FIG. 14B.
[0103]
“Paper Source” is data for instructing from which sheet feeding port the sheet is actually fed. “H offset” indicates a delay amount in the main scanning direction when outputting an image to the printer unit 2 as a video. “V offset” also indicates the delay amount in the sub-scanning direction.
[0104]
Next, the exchange between the formatter unit 4 and the image input / output control unit 3 using these data will be described.
[0105]
FIG. 15 is a flowchart illustrating an example of a second data processing procedure in the image processing apparatus according to the present invention. In the image input / output control unit 3, the image developed by the formatter unit 4 is input, and It corresponds to the processing procedure up to storage. In addition, S701 to S714 indicate each step.
[0106]
First, the image input / output control unit 3 waits for notification of a START command from the formatter unit 4 (S701).
[0107]
When a START command is received from the formatter unit 4, a print job management table as shown in FIG. 14A is created based on the data specified by the START command (S702), and the formatter unit 4 sends the print job management table using a STATUS command. OK is returned (S703).
[0108]
Next, when a PAGE command is received from the formatter unit 4 (S704), an input page table as shown in FIG. 14B is created based on each data specified by the PAGE command (S705).
[0109]
When the preparation for image input is completed, OK is returned by the STATUS command (S706), and the process waits for an image to be input from the formatter unit 4 (S707).
[0110]
When an image is input from the formatter unit 4, the image is sequentially stored in the image memory 307 (S708).
[0111]
Next, when the image of one page has been input normally (S709), “1” is added to Number of pages (P) of the job table (S710), and OK is returned to the formatter unit 4 by the STATUS command (S709). S711).
[0112]
On the other hand, if it is determined in step S709 that an error or the like has occurred during image input and the image of one page has not been input normally, an error process is performed (S712), and then an NG command is issued with a STATUS command. Is returned (S713).
[0113]
Thereafter, the page image transfer sequence is repeated each time a page image for one page is generated in the formatter unit 4 until it is determined that the END command has been notified from the formatter unit 4 (S714) (S704 to S714). ).
[0114]
Upon receiving an END command from the formatter unit 4 (S714), the print job management table is set in the print job queue, and the process returns to step S701 to wait for a notification of a print job start request from the formatter unit 4.
[0115]
(Image output processing)
Next, a process in which the image input / output control unit 3 extracts an image stored in the image memory 307 based on information in the print job management table and outputs the image to the printer unit 2 will be described.
[0116]
FIG. 16 is a flowchart showing an example of a third data processing procedure in the image processing apparatus according to the present invention. The image stored in the image memory 307 in the image input / output control unit 3 shown in FIG. This corresponds to a processing procedure when outputting to the unit 2. In addition, S901 to S918 indicate each step.
[0117]
First, the image input / output control unit 3 monitors the print job queue and determines whether a print job management table exists (S901). Here, if it is determined that the print job management table exists, it is extracted (S902), and based on this information, a START command for instructing the printer unit 2 to start a print job is issued (S903).
[0118]
Next, when OK is notified by the STATUS command from the printer unit 2 (S904), the print job management table is referenced, and the value p indicating the page count is set to Number of Pages (P) and the value c indicating the copy count is set to c. Number
of copies (C) is set (S905).
[0119]
Next, an output page table as shown in FIG. 14C is created based on the input page table of the page (S906).
[0120]
Subsequently, an output pre-process for outputting a page image (details are shown in FIG. 17) is performed (S907).
[0121]
FIG. 17 is a flowchart illustrating an example of a fourth data processing procedure in the image processing apparatus according to the present invention, and corresponds to the pre-output processing procedure in the image input / output control unit 3 illustrated in FIG. Note that S1001 and S1002 indicate each step.
[0122]
First, in the output pre-processing, an output mode determination process shown in FIG. 18 described later is performed (S1001), and an output adjustment value calculation process shown in FIG. 18 described later is executed (S1002).
[0123]
FIG. 18 is a flowchart showing an example of the fifth data processing procedure in the image processing apparatus according to the present invention, and corresponds to the detailed procedure of the output mode determination processing shown in FIG. In addition, S1101 to S1109 indicate each step. In this process, the paper size to be actually output and the paper feed port are determined.
[0124]
First, based on the paper feed mode specified by the command “Input mode” in the print job management table, a paper feed port matching the Page Size of the input page table is searched (S1101).
Here, if it is determined that a matching paper feed port is found, next, it is detected whether or not there is a sheet in the paper feed port (S1102).
[0125]
If there is no paper in the paper feed port, an error message indicating that paper is to be supplied is displayed on the operation unit 5 (S1103), and the apparatus stands by until paper is supplied (S1104).
[0126]
On the other hand, if it is determined in step S1102 that there is paper, or if paper is replenished, the Paper Size of the input page table is set to the Paper Size of the output page table, and the selected paper feed port is further set. This is set to Paper Source (S1105), and the process ends.
[0127]
On the other hand, if it is determined in step S1101 that a paper feed port that matches the Page Size of the input page table is not found, an error message is displayed on the operation unit 5 indicating that the paper size is to be replaced (S1106).
[0128]
If it is determined that the size of the paper feed port has been changed (S1107), the process returns to step S1101 to search again for a paper feed port that matches the Page Size.
[0129]
On the other hand, if it is determined in step S1107 that there is no matching paper size, but an operation of skipping an error of outputting to another paper without any instruction to change the paper size has been performed (S1108), the output page The selected paper size is set in Paper Size of the table, and the selected paper feed port is set in Paper Source (S1109), and the process ends.
[0130]
After the output mode determination process is completed, the process proceeds to an output adjustment value calculation process shown in FIG.
[0131]
FIG. 19 is a flowchart illustrating an example of the sixth data processing procedure in the image processing apparatus according to the present invention, and corresponds to the output adjustment value calculation processing procedure illustrated in FIG. In addition, S1201 to S1207 indicate each step.
[0132]
First, the offset registration data (see FIG. 8) stored in the RAM 305 is referred to (S1201), and it is determined whether or not a size matching the Page Size of the input page table is registered in the registration data (S1201). S1202).
[0133]
If it is determined that there is a matching size in the registered data, the registered size, that is, the paper size read by the scanner unit 1 at the time of offset registration, and the paper size of the output page table, that is, the printer unit It is determined whether the paper size to be output to No. 2 is the same size and the same direction (S1203).
[0134]
On the other hand, when it is determined that the sizes are the same and the same direction, an output adjustment value (Hoffset, Voffset) is calculated based on the size, reference position, and offset value (x, y) registered in the registration data. Is set in the output page table (S1204), and the process ends.
[0135]
On the other hand, if it is determined in step S1203 that the registered size and the Paper SiZe are not the same size and in the same direction, it is next determined whether or not the registered sizes are in the same size but in the different direction (S1205). Here, the same size different direction refers to, for example, a case where the registered size is A4, the paper size is A4R, and the size is the same, and the output direction is different, such as landscape and portrait.
[0136]
If the Paper Sizes are in the same size and different directions, an output adjustment value (H offset, V offset) is calculated and set in the output page table as in step S1204 (S1206). Note that when calculating the output adjustment failure, it is added that the output is performed on a paper size in a direction different from the registered size.
[0137]
On the other hand, if the input page size (PageS1ze) does not exist in the offset registration data in step S1202, or if the output paper size (Paler Size) is different from the registration size in step S1205, no output adjustment is performed. Therefore, “0” is set to the output adjustment value (H offset, V offset) (S1207), and the process ends.
[0138]
Returning to the image output processing shown in FIG.
[0139]
After finishing the pre-output processing in step S907, a PAGE command is issued to the printer unit 2 based on the information in the created output page table (S908).
[0140]
Then, when OK is notified from the printer unit 2 (S909). The image is retrieved from the image memory 307 by referring to the image consolidation destination address in the output page table, and video output is performed to the printer unit 2 (S910).
[0141]
At this time, the video output timing is adjusted based on the delay amounts Hoffset and Voffset in the main scanning direction and the sub-scanning direction calculated in the calculation process of the output adjustment value in the output preprocessing, and the video output is performed. Adjust the position of the image formed on the.
[0142]
Next, the process waits for the notification of the STATUS command indicating the video output result from the printer unit 2 (S911). When the OK is notified, the page count p is reduced by "1" (S912). If p = 0 is not satisfied, that is, if it is determined that the page is not the last page (S914), the process returns to step S906 to create an output page table for the next page.
[0143]
On the other hand, if the video output is not normally completed due to a jam or the like, NG is notified from the printer unit 2 by a STATUS command. In this case, error processing is performed according to the error content (S913). When the error processing is completed, the process returns to step S906, and the processing from creating the output page table of the page is performed again.
[0144]
On the other hand, if p (page count) = 0 in step S914, this indicates that the page is the last page, and that the output of one portion has been completed normally, so the copy count c is reduced by “1”. (S915).
[0145]
If c = 0 is not satisfied, Number of pages (P) is set in p to perform the next copy output process (S918), the process returns to step S906, and the first page of the output page table is output again. Continue processing from creation.
[0146]
On the other hand, if it is determined that c = 0, an END command for notifying that all print jobs have been completed is issued to the printer unit 2 (S917), and the process returns to step S901 again to monitor the print job queue and Wait for a print job to occur.
[0147]
[Second embodiment]
In the second embodiment, the paper to be printed is scanned in advance, print position information printed on the print paper is obtained, and the print position information is registered in association with the designated paper name. When printing out from the host, the output adjustment value is calculated from the registered print position information by designating the paper name, and the print position is adjusted based on the output adjustment value.
[0148]
In the first embodiment, since the paper size is registered in association with the offset value, if the paper sizes to be printed match, the print position is all adjusted in the same manner. On the other hand, by registering the offset value using the paper name in association with the offset value, a plurality of offset data can be registered even for the same size, that is, for various types of paper. Output adjustment can be performed.
[0149]
The configuration of the image processing apparatus according to the second embodiment is the same as that of the first embodiment, and a description thereof will be omitted.
[0150]
First, the paper to be printed is scanned in advance to obtain print position information printed on the print paper, and this print position information is registered in association with the designated paper name. Hereinafter, the offset registration processing will be described.
[0151]
FIG. 20 is a flowchart showing an example of the seventh data processing procedure in the image processing apparatus according to the present invention, and corresponds to the offset registration processing procedure in the image input / output control unit 3 shown in FIG. In addition, S2001 to S2012 indicate each step.
[0152]
First, the process waits for an offset registration instruction (S2001). When the offset registration is instructed, a screen for inputting a paper name to be registered and a reference position is displayed (S2002). When the sheet name and the reference position are input and the OK key is pressed, a sheet for setting the sheet on the document table is next displayed, and a screen for instructing the start of scanning is displayed.
[0153]
Then, when the OK key is pressed, the image input / output control unit 3 first instructs the scanner unit 1 to perform the first scan in order to acquire the paper size set on the document table (S2004).
[0154]
Next, when the paper size is notified from the scanner unit 1 (S2005). Next, a setting is made to transfer the read image data to the image input / output control unit 3, and a second scan is instructed (S2006).
[0155]
When an image is input from the scanner unit 1, the image is stored in the image memory 307, and based on the sheet size acquired in step 2005 and the reference position input in step 2002, the image information stored in the image memory 307 is used. An offset value is obtained (S2007).
[0156]
Next, when the offset value is obtained, it is determined whether or not the next obtained offset value is within an appropriate range (S2008). Here, when it is determined that the value is not within the appropriate range, an error display is performed (S2011). Then, after the error, if an instruction to re-scan is issued (S2011), the process returns to S2003 and waits for the start of scanning. If the stop is instructed, the process returns to step S2001.
[0157]
On the other hand, if it is determined in step 2008 that the offset value is within the appropriate range, the process waits for a registration instruction (S2009). When registration is instructed, the set paper name, paper size, reference position, The acquired offset value is stored in the RAM 305 in a data format as shown in FIG. 21 (S2110), and the process returns to step S2001.
[0158]
Next, in this embodiment, a flow of processing from developing PDL data sent from the host computer into a visible image and printing out the image will be described.
[0159]
This processing is performed by the image input / output control unit 3 until the image developed by the formatter unit 4 is stored in the image memory 307, and the image input / output control unit 3 stores the image stored in the image memory 307. Is output to the printer unit 2 and output to the printer unit 2.
[0160]
The basic processing flow of image input processing and image output processing is the same as in the first embodiment. Here, data processing that is different from the first embodiment will be particularly described. Hereinafter, data used in the image input / output control unit 3 will be described.
[0161]
FIG. 22 is a diagram illustrating a data structure used in the image processing apparatus according to the second embodiment of the present invention, and corresponds to the data structure used in the image input / output control unit 3.
[0162]
FIG. 22A shows a PAGE command received when a page image is input from the formatter unit 4. FIG. 22B shows an input page table for managing a page image input from the formatter unit 4.
[0163]
The difference from the first embodiment is that a parameter Paper Name representing a paper name is added to the PAGE command and the input page table.
[0164]
As a method of performing printout by designating a paper name from a host computer by a user, for example, a paper name list of offset registration data registered in advance in the image input / output control unit 3 is output via the formatter unit 4. Notify the host computer.
[0165]
When printing is performed from the host computer, the user specifies a paper name using a printer driver or the like, transmits it to the formatter unit 4 as PDL data, interprets this in the formatter unit 4, and uses a PAGE command to execute an image input / output control unit. 3 can be realized.
[0166]
Next, the calculation process of the output adjustment value in the image output process of the image input / output control unit 3 will be described.
[0167]
FIG. 23 is a flowchart showing an example of the eighth data processing procedure in the image processing apparatus according to the present invention, and corresponds to the output adjustment value calculation processing procedure in the image input / output control unit 3 shown in FIG. In addition, S2301 to S2307 indicate each step.
[0168]
First, referring to the offset registration data (FIG. 21) stored in the RAM 305 (S2301), it is determined whether there is a paper name that matches the Paper Name of the input page table (S2302). If there is a matching paper name in the registration data, the registered paper size, that is, the paper size read by the scanner unit 1 at the time of offset registration, and the Paper Size of the output page table, that is, It is determined whether the output paper size is the same size and the same direction (S2303).
[0169]
Here, in the case of the same size and the same direction, an output adjustment value (Hoffset, VoffSet) is calculated based on the size, the reference position, and the offset value (x, y) registered in the registration data, and the output page It is set on the table (S2304).
[0170]
In step S2303, if the registered size and the paper size are not the same size and the same direction, it is determined whether the registered size and the paper size are the same size and different direction (S2305). Here, the same size different direction refers to, for example, a case where the registered size is A4, the paper size is A4R, and the size is the same, and the output direction is different, such as landscape and portrait.
[0171]
On the other hand, if the Paper Sizes are in the same size and different directions in S2305, the output adjustment values (H offset, V offset) are calculated and set in the output page table as in step S2304 (S2306), and return is performed. I do.
[0172]
When calculating the output adjustment value, it is added that the output is output to a paper size in a direction different from the registered size.
[0173]
On the other hand, if the paper name (Paper Name) does not exist in the offset registration data in step S2302, or if the output paper size (Paper Size) is different from the registration size in step S2305, output adjustment is not performed. Therefore, "0" is set to the output adjustment value (S2307), and the process returns.
[0174]
According to each of the above-described embodiments, in a case where image data taken from an external device is adjusted and printed on a recording sheet on which an image such as a ruled line is recorded, the position of the image previously printed on the recording sheet Read the information, store it in association with the paper size, and when printing an image from an external device later, if it matches the stored paper size, take out the position information of the corresponding image, By calculating the print adjustment amount, the print position can be automatically adjusted.
[0175]
Furthermore, by storing the read position information in association with the paper name, it is possible to register a plurality of position information for the same size, and to automatically print the print position on various papers. Adjustment can be performed.
[0176]
In this case, even if the paper size is the same, print adjustment is not performed unless the paper name matches, so it is possible to print at the normal print position on paper that does not require print position adjustment as before. It becomes.
[0177]
It should be noted that the present invention is not limited to the above embodiment, and various modifications are possible based on the gist of the present invention, and these are not excluded from the scope of the present invention.
[0178]
【The invention's effect】
As described above, according to the present invention, position information of an image printed on recording paper in advance is read, stored in association with paper identification information, and recorded on a recording medium by image reading means. The position information of the present image is detected, and based on the detected position information and the position information according to the stored sheet identification information, the image output position on the recording medium is adjusted to form an image. When a desired recording sheet is designated, the printing position can be automatically adjusted based on the stored position information.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an image processing apparatus according to a first embodiment of the present invention.
FIG. 2 is a cross-sectional view illustrating a configuration example of a scanner unit and a printer unit illustrated in FIG.
FIG. 3 is a block diagram illustrating a detailed configuration example of a scanner unit illustrated in FIG. 1;
FIG. 4 is a block diagram illustrating a detailed configuration example of an image input / output control unit illustrated in FIG. 1;
FIG. 5 is a block diagram illustrating a detailed configuration example of a formatter unit illustrated in FIG. 1;
FIG. 6 is a flowchart illustrating an example of a first data processing procedure in the image processing apparatus according to the present invention.
FIG. 7 is a diagram illustrating a state of an operation screen at the time of offset registration in the operation unit illustrated in FIG. 1;
FIG. 8 is a diagram showing an example of offset registration data managed by the RAM shown in FIG. 5;
FIG. 9 is a diagram illustrating an example of a reference position serving as a reference for calculating an offset value with respect to a sheet read by the scanner unit illustrated in FIG. 1;
FIG. 10 is a view showing a state in which the paper to be read shown in FIG. 9 is actually set on a platen;
FIG. 11 is a diagram illustrating an example of an output process of image data stored in the image memory illustrated in FIG. 5;
FIG. 12 is a diagram illustrating an example of a conversion table used in an offset value calculation process in the image processing apparatus according to the present invention.
13 is a diagram illustrating a configuration of control data exchanged between the formatter unit and the image input / output control unit illustrated in FIG.
FIG. 14 is a diagram illustrating an example of a print job table managed by the image input / output control unit illustrated in FIG. 1;
FIG. 15 is a flowchart illustrating an example of a second data processing procedure in the image processing apparatus according to the present invention.
FIG. 16 is a flowchart illustrating an example of a third data processing procedure in the image processing apparatus according to the present invention.
FIG. 17 is a flowchart illustrating an example of a fourth data processing procedure in the image processing apparatus according to the present invention.
FIG. 18 is a flowchart illustrating an example of a fifth data processing procedure in the image processing apparatus according to the present invention.
FIG. 19 is a flowchart illustrating an example of a sixth data processing procedure in the image processing apparatus according to the present invention.
FIG. 20 is a flowchart illustrating an example of a seventh data processing procedure in the image processing apparatus according to the present invention.
FIG. 21 is a diagram showing an example of offset registration data managed by the RAM shown in FIG. 5;
FIG. 22 is a diagram illustrating a data structure used in the image processing apparatus according to the second embodiment of the present invention.
FIG. 23 is a flowchart illustrating an example of an eighth data processing procedure in the image processing apparatus according to the present invention.
[Explanation of symbols]
1 Scanner section
2 Printer section
3 Image input / output control unit
4 Formatter part
5 Operation section

Claims (6)

画像を読み取る画像読み取り手段と、外部機器より入力された画像情報に基づき記録媒体上に可視画像を形成する画像形成手段とを備えた画像処理装置であって、
前記画像読み取り手段により記録媒体上に記録されている画像の位置情報を検出し、前記検出された位置情報に基づき、記録媒体上への画像出力位置を調整して画像形成を行う画像処理手段を備えることを特徴とする画像処理装置。
An image processing apparatus comprising: an image reading unit that reads an image; and an image forming unit that forms a visible image on a recording medium based on image information input from an external device,
Image processing means for detecting position information of an image recorded on a recording medium by the image reading means and adjusting an image output position on the recording medium based on the detected position information to form an image. An image processing apparatus comprising:
画像を読み取る画像読み取り手段と、外部機器より入力された画像情報に基づき記録媒体上に可視画像を形成する画像形成手段とを備えた画像処理装置であって、
記録媒体を識別するための用紙識別情報を入力するための入力手段と、
前記画像読み取り手段により記録媒体上に記録されている画像の位置情報を検出する検出手段と、
前記入力手段により入力された用紙識別情報と、前記検出手段により検出された画像の位置情報とを対応づけて記憶しておくための記憶手段とを備え、
前記入力された画像情報の中に、前記記憶手段に記憶されている用紙識別情報と一致する用紙識別情報が含まれていた場合、対応する位置情報に基づき、記録媒体上への画像出力位置を調整して画像形成を行う画像処理手段と、
を備えることを特徴とする画像処理装置。
An image processing apparatus comprising: an image reading unit that reads an image; and an image forming unit that forms a visible image on a recording medium based on image information input from an external device,
Input means for inputting paper identification information for identifying a recording medium;
Detecting means for detecting position information of an image recorded on a recording medium by the image reading means,
A storage unit for storing the sheet identification information input by the input unit and the position information of the image detected by the detection unit in association with each other,
If the input image information includes sheet identification information that matches the sheet identification information stored in the storage unit, the image output position on the recording medium is determined based on the corresponding position information. Image processing means for adjusting and forming an image;
An image processing apparatus comprising:
画像を読み取る画像読み取り手段と、
外部機器より入力された画像情報に基づき可視画像に展開する画像展開手段と、前記画像読み取り手段、および画像展開手段より入力される画像を選択的に記録媒体上に出力する画像形成手段とを備えた画像処理装置であって、
前記記録媒体を識別するための用紙識別情報を入力するための入力手段と、
前記画像読み取り手段により記録媒体上に記録されている画像の位置情報を検出する検出手段と、
前記入力手段により入力された用紙識別情報と、前記検出手段により検出された画像の位置情報とを対応づけて記憶しておくための記憶手段とを備え、
前記画像展開手段より入力された画像を出力する際に、前記入力された画像情報の中に、前記記憶手段に記憶されている用紙識別情報と一致する用紙識別情報が含まれていた場合、対応する位置情報に基づき、記録媒体上への画像出力位置を調整して画像形成を行う画像処理手段と、
を備えることを特徴とする画像処理装置。
Image reading means for reading an image,
Image developing means for developing a visible image based on image information input from an external device; image reading means; and image forming means for selectively outputting an image input from the image developing means to a recording medium. Image processing apparatus,
Input means for inputting paper identification information for identifying the recording medium,
Detecting means for detecting position information of an image recorded on a recording medium by the image reading means,
A storage unit for storing the sheet identification information input by the input unit and the position information of the image detected by the detection unit in association with each other,
When outputting the image input from the image expanding unit, if the input image information includes sheet identification information that matches the sheet identification information stored in the storage unit, Image processing means for adjusting the image output position on the recording medium to form an image based on the position information
An image processing apparatus comprising:
前記入力手段により入力される用紙識別情報は、用紙サイズ情報であることを特徴とする請求項1〜3のいずれかに記載の画像処理装置。The image processing apparatus according to claim 1, wherein the sheet identification information input by the input unit is sheet size information. 前記入力手段により入力される用紙識別情報は、前記画像読み取り手段により検出された用紙サイズ情報であることを特徴とする請求項1〜3のいずれかに記載の画像処理装置。The image processing apparatus according to claim 1, wherein the sheet identification information input by the input unit is sheet size information detected by the image reading unit. 前記入力手段により入力される用紙識別情報は、ユーザが任意に指定可能な用紙名称であることを特徴とする請求項1〜3のいずれかに記載の画像処理装置。The image processing apparatus according to claim 1, wherein the sheet identification information input by the input unit is a sheet name that can be arbitrarily specified by a user.
JP2002173711A 2002-06-14 2002-06-14 Image processor Pending JP2004023320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002173711A JP2004023320A (en) 2002-06-14 2002-06-14 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002173711A JP2004023320A (en) 2002-06-14 2002-06-14 Image processor

Publications (1)

Publication Number Publication Date
JP2004023320A true JP2004023320A (en) 2004-01-22

Family

ID=31172866

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002173711A Pending JP2004023320A (en) 2002-06-14 2002-06-14 Image processor

Country Status (1)

Country Link
JP (1) JP2004023320A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7424166B2 (en) 2020-03-30 2024-01-30 ブラザー工業株式会社 Image forming apparatus and its control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7424166B2 (en) 2020-03-30 2024-01-30 ブラザー工業株式会社 Image forming apparatus and its control method

Similar Documents

Publication Publication Date Title
JP4708993B2 (en) Printing system, control method, and program
US7233403B2 (en) Print control method and apparatus
US6965440B1 (en) Print control method and apparatus
JP5675269B2 (en) Print processing apparatus, print system, control method for print processing apparatus, control method for print system, and program
JP5188586B2 (en) Printing system, control method, and program
US5555099A (en) Reproduction apparatus and method with proof set page numbering
JP2011114574A (en) Inspection system
JP5889373B2 (en) Print processing apparatus, print processing apparatus control method, and program
JP2008052115A (en) Printing device, printing execution method therefor, and program of printing execution
JP2005223381A (en) Image forming system
JPH10147022A (en) Method and machine for forming signature
JPH04271661A (en) Method of operating electronic copying system
JP2007295488A (en) Composite image processing apparatus and control method thereof, and control program
JP3976802B2 (en) Image processing apparatus and image processing method
JP2004023320A (en) Image processor
US20010026379A1 (en) Determination of image orientation in a digital copying apparatus
JP2002019198A (en) Imaging apparatus
JP4497000B2 (en) Copy system, copy control method and program
JP2003326776A (en) Image input/output system
JP3903037B2 (en) Document creation method and document creation apparatus
JP2007045093A (en) Image forming device, image forming system, program and post-processing control method
JP2007055086A (en) Printing device
JP2006205442A (en) Image forming apparatus, information processing method, program, and memory medium
JP2016101738A (en) Printing equipment, control method for the printing equipment, and program
JP4104275B2 (en) Image forming apparatus