JP2013192206A - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP2013192206A
JP2013192206A JP2012284442A JP2012284442A JP2013192206A JP 2013192206 A JP2013192206 A JP 2013192206A JP 2012284442 A JP2012284442 A JP 2012284442A JP 2012284442 A JP2012284442 A JP 2012284442A JP 2013192206 A JP2013192206 A JP 2013192206A
Authority
JP
Japan
Prior art keywords
sheet
magnification
image
unit
image data
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.)
Granted
Application number
JP2012284442A
Other languages
Japanese (ja)
Other versions
JP5750432B2 (en
Inventor
Akitoshi Suzuki
秋俊 鈴木
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.)
Toshiba Corp
Toshiba TEC Corp
Original Assignee
Toshiba Corp
Toshiba TEC Corp
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 Toshiba Corp, Toshiba TEC Corp filed Critical Toshiba Corp
Publication of JP2013192206A publication Critical patent/JP2013192206A/en
Application granted granted Critical
Publication of JP5750432B2 publication Critical patent/JP5750432B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Record Information Processing For Printing (AREA)
  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technique on optimization of expansion/reduction printing in an image forming apparatus.SOLUTION: The image forming apparatus comprises: an effective region determination part for binarizing first image data and determining the effective region in which an image on the first image data is printed on the basis of the binarized information; a sheet information acquisition part for acquiring information on the size of sheet to be a printing object; a magnification change part for changing magnification of the first image data to generate a second image data, on the basis of the effective region determined by the effective region determination part and the information on the size of the sheet to be the printing object which is acquired by the sheet information acquisition part; and an image forming part for printing the second image data generated by the magnification change part on the sheet to be the printing object.

Description

この明細書に記載の実施形態は、画像形成装置における拡大縮小印刷の最適化の技術に関する。   The embodiment described in this specification relates to a technique for optimizing enlargement / reduction printing in an image forming apparatus.

複写機やファクシミリ装置等の画像形成装置において、原稿から読取った複数枚(N枚)のページ分の画像(以下、ページ画像という)を1枚のシートに出力するNin1印刷設定がある。この画像形成装置では、Nin1印刷設定において、予め記憶部に記憶された縮小倍率表(1枚のシートに印字するページ画像の各枚数に応じた原稿サイズ基準倍率を定めた表)から使用者が入力したN数に対応する原稿サイズ基準倍率を選択し、選択した原稿サイズ基準倍率でページ画像を縮小して印刷する。
In an image forming apparatus such as a copying machine or a facsimile machine, there is a Nin1 print setting for outputting images (hereinafter referred to as page images) for a plurality of pages (N pages) read from a document to one sheet. In this image forming apparatus, in the Nin1 print setting, the user can use a reduction magnification table (a table in which a document size reference magnification corresponding to each number of page images to be printed on one sheet) is stored in advance in a storage unit. A document size reference magnification corresponding to the input N number is selected, and the page image is reduced and printed at the selected document size reference magnification.

特開2000−261648号公報JP 2000-261648 A

しかしながら、この画像形成装置では、使用者の入力したN数に応じた原稿サイズ基準倍率でページ画像を縮小するため、ページ画像の画像が占める割合が小さい場合でも、ページ数を基準にして縮小するため、不必要にページ画像を縮小していた。このため、Nin1印刷設定で印刷されたシート中の画像が、使用者にとって見にくくなる問題があった。   However, in this image forming apparatus, since the page image is reduced at the document size reference magnification corresponding to the N number input by the user, the image is reduced based on the page number even when the ratio of the image of the page image is small. Therefore, the page image was unnecessarily reduced. For this reason, there is a problem that an image in a sheet printed with the Nin1 print setting is difficult for the user to see.

本実施形態の画像形成装置を示す概略図である。1 is a schematic diagram illustrating an image forming apparatus according to an exemplary embodiment. 画像形成装置のハードウェアを示すブロック図である。2 is a block diagram illustrating hardware of the image forming apparatus. FIG. 各印刷設定時におけるページ画像が印字された原稿の大きさに対するシートの大きさに応じた拡大縮小倍率を定めた表(以下、拡大縮小倍率表という)を示す図である。FIG. 5 is a diagram showing a table (hereinafter referred to as an enlargement / reduction ratio table) in which an enlargement / reduction ratio corresponding to the size of an original on which a page image is printed at the time of each print setting is determined. 図1の画像形成装置におけるNin1印刷処理を示す制御フローチャートである。3 is a control flowchart illustrating Nin1 printing processing in the image forming apparatus of FIG. 1. 読取部で読取られた画像を記憶部内で圧縮処理する概略を示す図である。It is a figure which shows the outline which compresses the image read in the reading part in a memory | storage part. 読取部で読取ったページ画像を示す図である。It is a figure which shows the page image read by the reading part. 図6の読取ったページ画像を2値化したページ画像およびランレングス符号化したページ画像を示す図である。It is a figure which shows the page image which binarized the read page image of FIG. 6, and the page image which carried out run length encoding. 2値化データをランレングス符号化する際に換算する各値の関係を示す図である。It is a figure which shows the relationship of each value converted when carrying out run length encoding of binarization data. 有効領域判定部が有効領域を判定する処理を示す制御フローチャートである。It is a control flowchart which shows the process in which an effective area | region determination part determines an effective area | region. 倍率変更部による表示倍率算出処理を示す制御フローチャートである。It is a control flowchart which shows the display magnification calculation process by a magnification change part. ページ画像を処理する際の画像処理の概要を示す図である。It is a figure which shows the outline | summary of the image process at the time of processing a page image. 従来の画像形成装置におけるページ画像を処理する際の画像処理の概要を示す図である。It is a figure which shows the outline | summary of the image process at the time of processing the page image in the conventional image forming apparatus.

本実施形態の画像形成装置は、第1の画像データを2値化し、2値化した情報に基づいて、第1の画像データに関する画像が印字された有効領域を判定する有効領域判定部と、印字対象とするシートの大きさに関する情報を取得するシート情報取得部と、有効領域判定部で判定した有効領域とシート情報取得部で取得した印字対象とするシートの大きさに関する情報とに基づいて、第1の画像データの倍率を変更して第2の画像データを生成する倍率変更部と、倍率変更部で生成した第2の画像データを印字対象とするシートに印字する画像形成部とを有する。   The image forming apparatus according to the present embodiment binarizes the first image data, and based on the binarized information, an effective area determination unit that determines an effective area on which an image related to the first image data is printed, Based on a sheet information acquisition unit that acquires information on the size of a sheet to be printed, an effective area determined by an effective area determination unit, and information on the size of a sheet to be printed acquired by a sheet information acquisition unit A magnification changing unit that changes the magnification of the first image data to generate second image data, and an image forming unit that prints the second image data generated by the magnification changing unit on a sheet to be printed. Have.

以下、実施形態の画像形成装置1を図面に基づいて説明する。図1は本実施形態の画像形成装置1を示す概略図である。   Hereinafter, an image forming apparatus 1 according to an embodiment will be described with reference to the drawings. FIG. 1 is a schematic view showing an image forming apparatus 1 of the present embodiment.

図1に示すように、画像形成装置1である複合機(MFP:Multi Function Peripheral)10は、画像形成装置本体11に、カラーの画像形成部12と、複数の給紙カセット131を有する給紙部13を有する。また、画像形成装置本体11には、給紙カセット131内のシートを画像形成部12に向けて搬送するシート搬送部14(搬送部)と、原稿21から複数枚のページ画像22(第1の画像データ)を読取る画像読取部15と、画像読取部15へ自動的に原稿21を搬送する自動原稿給紙部16と、操作パネル17とを有する。   As shown in FIG. 1, a multifunction peripheral (MFP) 10 that is an image forming apparatus 1 includes a color image forming unit 12 and a plurality of paper feed cassettes 131 in an image forming apparatus main body 11. Part 13. The image forming apparatus main body 11 includes a sheet conveying unit 14 (conveying unit) that conveys the sheets in the paper feed cassette 131 toward the image forming unit 12, and a plurality of page images 22 (first images) from the document 21. An image reading unit 15 that reads image data), an automatic document feeding unit 16 that automatically conveys the document 21 to the image reading unit 15, and an operation panel 17.

画像形成部12は、印刷対象である原稿21に印字された画像データをシートに印字する。画像形成部12の具体的な構成としては、表面に感光層を設け、反時計回りに回転する感光体(不図示)を備え、この感光体の表面を均一に帯電する帯電器(不図示)、この帯電器で均一に帯電した感光層を露光して静電潜像を形成する露光部(不図示)を有する。また、画像形成部12は、露光部による露光により形成された静電潜像をトナーで現像し顕像化する現像部(不図示)、この現像部で顕像化されたトナー像をシートに転写する転写部(不図示)、この転写部によりシートに帯電したトナーを回収するクリーニング部(不図示)を有する。さらに、画像形成部12は、転写部によりシートに転写されたトナー像を加熱定着する熱定着器(不図示)も有する。なお、露光部は、後述の記憶部19に記憶された印刷対象のページ画像22に基づいて感光層を露光して静電潜像を形成する。   The image forming unit 12 prints image data printed on a document 21 to be printed on a sheet. A specific configuration of the image forming unit 12 includes a photosensitive layer (not shown) provided with a photosensitive layer on the surface and rotating counterclockwise, and a charger (not shown) that uniformly charges the surface of the photosensitive member. And an exposure portion (not shown) for exposing the photosensitive layer uniformly charged by the charger to form an electrostatic latent image. In addition, the image forming unit 12 develops an electrostatic latent image formed by exposure by the exposure unit with a toner and develops the toner image, and the toner image visualized by the developing unit is formed on a sheet. A transfer unit (not shown) for transferring, and a cleaning unit (not shown) for collecting toner charged on the sheet by the transfer unit. Further, the image forming unit 12 also includes a heat fixing unit (not shown) that heats and fixes the toner image transferred to the sheet by the transfer unit. The exposure unit exposes the photosensitive layer based on the page image 22 to be printed stored in the storage unit 19 described later to form an electrostatic latent image.

画像読取部15は、長方形をしたプラテンガラス151(透明部材)を備え、このプラテンガラス151に載置されたシートに印字された画像を読取る読取部152を有する。読取部152は、スキャナーなどであり、プラテンガラス151の短手方向(主走査方向)に延びるライン単位でシートに印字されたページ画像22を読取り、後述の記憶部19へ記憶する。   The image reading unit 15 includes a platen glass 151 (transparent member) having a rectangular shape, and includes a reading unit 152 that reads an image printed on a sheet placed on the platen glass 151. The reading unit 152 is a scanner or the like, and reads the page image 22 printed on the sheet in units of lines extending in the short direction (main scanning direction) of the platen glass 151 and stores the page image 22 in the storage unit 19 described later.

操作パネル17は、タッチパネル式の表示部171と、テンキー、ストップキー、スタートキー等の操作部172とを備える。表示部171は、ユーザに操作内容およびNin1印刷設定などの各種印刷処理設定を表示する。   The operation panel 17 includes a touch panel type display unit 171 and an operation unit 172 such as a numeric keypad, a stop key, and a start key. The display unit 171 displays operation contents and various print processing settings such as Nin1 print settings to the user.

次に、画像形成装置1のハードウェア構成について説明する。図2は、画像形成装置1のハードウェアを示すブロック図である。図3は、拡大縮小倍率表を示す図である。   Next, the hardware configuration of the image forming apparatus 1 will be described. FIG. 2 is a block diagram illustrating hardware of the image forming apparatus 1. FIG. 3 is a diagram showing an enlargement / reduction ratio table.

画像形成装置1は、図2に示すように、記憶部19、制御部18、操作パネル17、シート搬送部14、画像形成部12、画像読取部15、自動原稿給紙部16、給紙部13およびネットワーク通信部20を有する。   As shown in FIG. 2, the image forming apparatus 1 includes a storage unit 19, a control unit 18, an operation panel 17, a sheet conveying unit 14, an image forming unit 12, an image reading unit 15, an automatic document feeding unit 16, and a paper feeding unit. 13 and the network communication unit 20.

記憶部19は、メモリまたはHDD(Hard Disk Drive)等であり、画像読取部15によりライン単位で読取られたページ画像22を記憶する。また、記憶部19には、予め図3に示す拡大縮小倍率表が記憶されている。図3(a)は、1枚のページ画像22を1枚のシートに印字する際の原稿サイズ基準倍率(通常印刷設定時の原稿サイズ基準倍率)を定めた表である。図3(b)は、2枚のページ画像22を1枚のシートに印字する際の原稿サイズ基準倍率(2in1印刷設定時の原稿サイズ基準倍率)を定めた表である。図3(c)は、4枚のページ画像22を1枚のシートに印字する際の原稿サイズ基準倍率(4in1印刷設定時の原稿サイズ基準倍率)を定めた表である。なお、これらの表において、縦軸をページ画像22が印字された原稿21の大きさとし、横軸をページ画像22を印字するシートの大きさとする。   The storage unit 19 is a memory, an HDD (Hard Disk Drive), or the like, and stores the page image 22 read in line units by the image reading unit 15. The storage unit 19 stores an enlargement / reduction ratio table shown in FIG. 3 in advance. FIG. 3A is a table defining document size reference magnifications (document size reference magnifications when normal printing is set) for printing one page image 22 on one sheet. FIG. 3B is a table defining document size reference magnifications (document size reference magnifications when 2in1 printing is set) when printing two page images 22 on one sheet. FIG. 3C is a table defining document size reference magnifications (document size reference magnifications when 4in1 printing is set) when four page images 22 are printed on one sheet. In these tables, the vertical axis is the size of the document 21 on which the page image 22 is printed, and the horizontal axis is the size of the sheet on which the page image 22 is printed.

制御部18は、CPUであり、画像形成装置1の全体を制御する。制御部18は、機能部として、印刷設定受付部181と、有効領域判定部182と、シート情報取得部183と、倍率変更部184とを有する。   The control unit 18 is a CPU and controls the entire image forming apparatus 1. The control unit 18 includes a print setting reception unit 181, an effective area determination unit 182, a sheet information acquisition unit 183, and a magnification change unit 184 as functional units.

印刷設定受付部181は、使用者から、操作パネル17上で入力されたNin1印刷設定、およびNin1印刷設定時における1ページに印刷するN数などに関する情報を受付ける。   The print setting reception unit 181 receives information on the Nin1 print setting input on the operation panel 17 and the number of Ns to be printed on one page at the time of the Nin1 print setting from the user.

有効領域判定部182は、印刷設定受付部181においてNin1印刷設定の選択情報を受付けた場合に、読取部152で読取った複数枚(N枚)のページ画像22を白(白を示す値)と黒(黒を示す値)の2値化し、ランレングス符号化して圧縮し、記憶部19に記憶する。このページ画像22を2値化して、ランレングス符号化する圧縮形式としては、例えば、MH圧縮を用いる。有効領域判定部182は、記憶部19に記憶された情報に基づいて、ページ画像22中における画像が印字された領域(以下、有効領域221という)を判定する。有効領域判定部182は、この判定結果を倍率変更部184へ送信する。なお、有効領域判定部182による有効領域判定処理の詳細については後述する。   When the print setting reception unit 181 receives the selection information for Nin1 print setting, the valid area determination unit 182 determines that the plurality of (N) page images 22 read by the reading unit 152 are white (a value indicating white). Black (value indicating black) is binarized, run-length encoded, compressed, and stored in the storage unit 19. As a compression format for binarizing the page image 22 and performing run-length encoding, for example, MH compression is used. The effective area determination unit 182 determines an area (hereinafter referred to as an effective area 221) in which an image in the page image 22 is printed based on information stored in the storage unit 19. The effective area determination unit 182 transmits this determination result to the magnification change unit 184. Details of the effective area determination processing by the effective area determination unit 182 will be described later.

シート情報取得部183は、印刷対象とするシートの大きさに関する情報を取得する。特に、シート情報取得部183は、印刷設定受付部181でNin1印刷設定に関する印刷設定情報を受付けた場合には、印字対象とするシートの大きさに関する情報として、印字対象とするシートを1ページにまとめて印字するページ数に応じて除算したものとする。シート情報取得部183は、このようにして取得したシートの大きさに関する情報を倍率変更部184へ送信する。   The sheet information acquisition unit 183 acquires information regarding the size of a sheet to be printed. In particular, when the print setting receiving unit 181 receives the print setting information related to the Nin1 print setting, the sheet information acquisition unit 183 displays the sheet to be printed on one page as information on the size of the sheet to be printed. It is assumed that the number of pages printed together is divided. The sheet information acquisition unit 183 transmits information regarding the sheet size acquired in this way to the magnification change unit 184.

倍率変更部184は、有効領域判定部182で判定した有効領域221に関する情報とシート情報取得部183で取得したシートの大きさに関する情報に基づいて、記憶部19内に記憶されたページ画像22中の画像に関する表示倍率(倍率)(以下、画像サイズ基準倍率という)を算出する。そして、倍率変更部184は、ページ画像22中の画像を抽出し、算出した画像サイズ基準倍率で抽出した画像を拡大または縮小して、シートに印刷するための画像データ(以下、印刷画像データ23(第2の画像データ)という)を生成する。なお、倍率変更部184による表示倍率算出処理の詳細については後述する。   The magnification changing unit 184 is based on the information related to the effective area 221 determined by the effective area determining unit 182 and the information related to the size of the sheet acquired by the sheet information acquiring unit 183 in the page image 22 stored in the storage unit 19. Display magnification (magnification) (hereinafter referred to as image size reference magnification) is calculated. Then, the magnification changing unit 184 extracts an image in the page image 22, enlarges or reduces the image extracted at the calculated image size reference magnification, and prints image data (hereinafter, print image data 23). (Referred to as “second image data”). Details of the display magnification calculation processing by the magnification changing unit 184 will be described later.

ネットワーク通信部20は、有線ネットワークを介して通信を行い、サーバー(不図示)に接続されている。   The network communication unit 20 performs communication via a wired network and is connected to a server (not shown).

次に、本実施形態の画像形成装置1におけるNin1印刷処理について説明する。図4は図1の画像形成装置1におけるNin1印刷処理を示す制御フローチャートである。図5は、読取部152で読取ったページ画像22を記憶部19内で圧縮処理する概略を示す図である。図5(a)はプラテンガラス151上に原稿21を載置した場合を示す図である。図5(b)は読取ったページ画像22を記憶部19へ記憶する場合を示す図である。図5(c)は図5(b)のページ画像22を2値化して圧縮した場合を示す図である。図6は、読取部152で読取ったページ画像22を示す図である。図7は、図6の読取ったページ画像22を2値化したページ画像22およびランレングス符号化したページ画像22を示す図である。図8は、2値化データをランレングス符号化する際に換算する各値の関係を示す図である。図8(a)は読取ったページ画像22を2値化した場合を示す図である。図8(b)は図8(a)のページ画像22をランレングス符号化した場合を示す図である。   Next, the Nin1 printing process in the image forming apparatus 1 of the present embodiment will be described. FIG. 4 is a control flowchart showing Nin1 printing processing in the image forming apparatus 1 of FIG. FIG. 5 is a diagram showing an outline of compressing the page image 22 read by the reading unit 152 in the storage unit 19. FIG. 5A is a diagram showing a case where the document 21 is placed on the platen glass 151. FIG. 5B is a diagram illustrating a case where the read page image 22 is stored in the storage unit 19. FIG. 5C is a diagram showing a case where the page image 22 of FIG. 5B is binarized and compressed. FIG. 6 is a diagram illustrating the page image 22 read by the reading unit 152. FIG. 7 is a diagram illustrating a page image 22 obtained by binarizing the read page image 22 illustrated in FIG. 6 and a page image 22 obtained by run-length encoding. FIG. 8 is a diagram showing a relationship between values to be converted when binarized data is run-length encoded. FIG. 8A shows a case where the read page image 22 is binarized. FIG. 8B is a diagram showing a case where the page image 22 of FIG. 8A is run-length encoded.

図4および5を参照して、操作者は、自動原稿給紙部16上に原稿21を載置し、操作パネル17でNin1印刷設定およびN数(1枚のシートに印字する枚数)に関する入力を行う。印刷設定受付部181は、操作パネル17で入力されたNin1印刷設定およびN数に関する情報を取得する。制御部18は、操作者から操作パネル17上で印刷処理開始コマンドが入力されたと判定すると、自動原稿給紙部16および読取部152を動作させて、図5(a)に示すように自動原稿給紙部16からプラテンガラス151上に原稿21を搬送し、ページ画像22の読取りを開始する(ACT101)。この際、制御部18は、読取部152で読取ったページ画像22を記憶するための記憶領域を記憶部19内に用意する(ACT102)。   Referring to FIGS. 4 and 5, the operator places document 21 on automatic document feeder 16, and inputs regarding Nin1 print setting and N number (number of sheets printed on one sheet) on operation panel 17. I do. The print setting receiving unit 181 acquires information on the Nin1 print setting and the N number input from the operation panel 17. When the control unit 18 determines that a print processing start command has been input from the operator on the operation panel 17, the control unit 18 operates the automatic document feeding unit 16 and the reading unit 152, and as shown in FIG. The original 21 is conveyed from the paper supply unit 16 onto the platen glass 151, and reading of the page image 22 is started (ACT101). At this time, the control unit 18 prepares a storage area in the storage unit 19 for storing the page image 22 read by the reading unit 152 (ACT 102).

制御部18は、図5(b)に示すように読取部152で読取ったページ画像22を記憶部19へ転送する(ACT103)。有効領域判定部182は、図5(c)に示すように転送されたページ画像22を白と黒の2値化して圧縮する(ACT104)。より具体的には、有効領域判定部182は、図6のように読取部152で読取ったページ画像22を図7(a)のように2値化したページ画像22とする。そして、有効領域判定部182は、図7(a)のような2値化したページ画像22を図8の換算表を用いて、ランレングス符号化し、図7(b)のような2値化圧縮データを生成する。具体的には、図7(b)の(I)はページ画像22中の300ライン分の白データをランレングス符号化した2値化圧縮データである。図7(b)の(II)はページ画像22中の2500ライン分の画像(黒データ)をランレングス符号化した2値化圧縮データである。図7(b)の(III)はページ画像22中の2160ライン分の白データをランレングス符号化した2値化圧縮データである。なお、図7(b)において、Wは白データを示し、Bは黒データを示す。   The control unit 18 transfers the page image 22 read by the reading unit 152 to the storage unit 19 as shown in FIG. 5B (ACT 103). The effective area determination unit 182 binarizes the transferred page image 22 as shown in FIG. 5C and compresses it (ACT 104). More specifically, the effective area determination unit 182 sets the page image 22 read by the reading unit 152 as shown in FIG. 6 as a binarized page image 22 as shown in FIG. Then, the effective area determination unit 182 performs run-length encoding on the binarized page image 22 as shown in FIG. 7A using the conversion table in FIG. 8, and binarizes as shown in FIG. 7B. Generate compressed data. Specifically, (I) in FIG. 7B is binary compressed data obtained by run-length encoding white data for 300 lines in the page image 22. (II) in FIG. 7B is binary compressed data obtained by run-length encoding an image (black data) for 2500 lines in the page image 22. FIG. 7B shows (III) binary compressed data obtained by run-length encoding white data for 2160 lines in the page image 22. In FIG. 7B, W indicates white data, and B indicates black data.

有効領域判定部182は、このように2値化してランレングス符号化した情報に基づいて、ページ画像22中における有効領域221を判定し、倍率変更部184へ送信する(ACT105)。有効領域判定部182は、有効領域221の判定として、有効領域221に関する幅方向の有効幅長さおよび有効領域221に関する縦方向の有効縦長さを判定する。また、有効縦長さを有効領域221の長手方向の長さとし、有効幅長さを有効領域221の短手方向の長さとしても良い。なお、有効領域判定部182による判定処理の詳細については後述する。   The effective area determination unit 182 determines the effective area 221 in the page image 22 based on the binarized and run-length encoded information, and transmits the effective area 221 to the magnification change unit 184 (ACT 105). The effective area determination unit 182 determines the effective width length in the width direction related to the effective area 221 and the effective vertical length in the vertical direction related to the effective area 221 as the determination of the effective area 221. Further, the effective vertical length may be the length in the longitudinal direction of the effective area 221, and the effective width may be the length in the short direction of the effective area 221. Details of the determination process by the effective area determination unit 182 will be described later.

シート情報取得部183は、この有効領域判定部182による判定処理と並行して、操作パネル17で使用者が設定した印刷対象であるシートに関する情報を取得する。すなわち、シート情報取得部183は、シートついての幅方向のシート幅長さに関する情報およびシートに関する縦方向のシート縦長さに関する情報を取得する。そして、シート情報取得部183は、これらの取得した情報を倍率変更部184へ送信する。   The sheet information acquisition unit 183 acquires information on the sheet to be printed set by the user on the operation panel 17 in parallel with the determination process by the effective area determination unit 182. In other words, the sheet information acquisition unit 183 acquires information regarding the sheet width length in the width direction of the sheet and information regarding the sheet vertical length in the vertical direction regarding the sheet. Then, the sheet information acquisition unit 183 transmits the acquired information to the magnification change unit 184.

倍率変更部184は、有効領域判定部182で判定した有効領域221に関する情報およびシート情報取得部183で取得したシートに関する情報に基づいて、ページ画像22中の画像に関する表示倍率を算出する(ACT106)。倍率変更部184は、ページ画像22中から画像を抽出し、この抽出した画像を算出した表示倍率で拡大または縮小して、印刷画像データ23を生成する。そして、制御部18は、画像形成部12およびシート搬送部14を動作させて、給紙部13内のシートを画像形成部12へ搬送し、生成した印刷画像データ23をシートに印字する(制御部18は画像形成処理を実行する)(ACT107)。なお、倍率変更部184による表示倍率に関する変更処理の詳細については後述する。   The magnification changing unit 184 calculates the display magnification related to the image in the page image 22 based on the information related to the effective region 221 determined by the effective region determining unit 182 and the information related to the sheet acquired by the sheet information acquiring unit 183 (ACT 106). . The magnification changing unit 184 extracts an image from the page image 22 and enlarges or reduces the extracted image at the calculated display magnification to generate the print image data 23. Then, the control unit 18 operates the image forming unit 12 and the sheet conveying unit 14 to convey the sheet in the paper feeding unit 13 to the image forming unit 12, and prints the generated print image data 23 on the sheet (control). The unit 18 executes image forming processing) (ACT 107). The details of the change process related to the display magnification by the magnification changing unit 184 will be described later.

このように、本実施形態の画像形成装置1は、Nin1印刷設定が入力された場合においても、ページ画像22中の有効領域221およびシートの大きさをそれぞれ判定して、画像データを極力大きい状態としてシートに印字することができる。この構成により、操作者は、本実施形態の画像形成装置1でシートに印字された画像の内容を容易に把握することができる。   As described above, even when the Nin1 print setting is input, the image forming apparatus 1 according to the present embodiment determines the effective area 221 in the page image 22 and the size of the sheet, and the image data is as large as possible. Can be printed on the sheet. With this configuration, the operator can easily grasp the content of the image printed on the sheet by the image forming apparatus 1 of the present embodiment.

次に、本実施形態の画像形成装置1による有効領域判定部182の判定処理について説明する。図9は、有効領域判定部182が有効領域221を判定する処理を示す制御フローチャートである。この制御において、有効領域判定部182は、ページ画像22中の有効領域221を判定するために、次のように、複数のカウントの実行、複数の値の記憶およびフラグの設定などを行う。具体的には、先頭ラインからの全白ライン(原稿21における主走査方向のラインが全て白データとするもの)が何ラインあるかをカウントする先頭白ラインカウント(図9中の符号Aとする)。黒ドットが含まれるラインの後端から全白ラインが何ラインあるかをカウントする後端白ラインカウント(図9中の符号Bとする)。ページ画像22中において左からの連続する白ドット数の最小値である左白最小値(図9中の符号Cとする)。ページ画像22中において黒ドットの右からの連続する白ドット数の最小値である右白最小値(図9中の符号Dとする)。現在チェック中のラインに関する左からの連続する白ドット数をカウントする現在左白カウント(図9中の符号Eとする)。現在チェック中のラインに関する黒ドットの右からの連続する白ドット数をカウントする現在右白カウント(図9中の符号Fとする)。先頭ラインからチェックし、黒ラインが出現したら出現フラグを設定する先頭黒出現フラグ(図9中の符号Gとする)。ページ画像22中における各ラインの左からチェックし、黒ラインが出現したら出現フラグを設定する左黒出現フラグ(図9中の符号Hとする)。有効領域判定部182の判定処理を途中で中断するための中断フラグ(図9中の符号Iとする)。   Next, the determination process of the effective area determination unit 182 by the image forming apparatus 1 of the present embodiment will be described. FIG. 9 is a control flowchart illustrating processing in which the effective area determination unit 182 determines the effective area 221. In this control, the effective area determination unit 182 executes a plurality of counts, stores a plurality of values, sets a flag, and the like as follows in order to determine the effective area 221 in the page image 22. Specifically, a leading white line count (reference A in FIG. 9) that counts the number of all white lines from the leading line (all the lines in the main scanning direction in the document 21 are white data). ). A trailing white line count for counting the number of all white lines from the trailing edge of a line including black dots (referred to as B in FIG. 9). The left white minimum value (referred to as symbol C in FIG. 9), which is the minimum value of the number of consecutive white dots from the left in the page image 22. In the page image 22, the right white minimum value which is the minimum value of the number of consecutive white dots from the right of the black dots (denoted by the symbol D in FIG. 9). A current left white count for counting the number of consecutive white dots from the left for the currently checked line (referred to as symbol E in FIG. 9). A current right white count for counting the number of consecutive white dots from the right of the black dots for the currently checked line (referred to as symbol F in FIG. 9). A leading black appearance flag that sets an appearance flag when a black line appears after checking from the leading line (referred to as G in FIG. 9). Checking from the left of each line in the page image 22, and when a black line appears, a left black appearance flag that sets an appearance flag (referred to as symbol H in FIG. 9). An interruption flag for suspending the determination process of the effective area determination unit 182 in the middle (denoted by symbol I in FIG. 9).

初期条件としては、先頭白ラインカウント(A)、後端白ラインカウント(B)、現在左白カウント(E)および現在右白カウント(F)をそれぞれ0に設定する。左白最小値(C)および右白最小値(D)の値の設定をなしとし、先頭黒出現フラグ(G)、左黒出現フラグ(H)および中断フラグ(I)は、それぞれ立てないものとする。   As initial conditions, the leading white line count (A), trailing edge white line count (B), current left white count (E), and current right white count (F) are each set to zero. The left white minimum value (C) and right white minimum value (D) are not set, and the leading black appearance flag (G), left black appearance flag (H), and interruption flag (I) are not set. And

図9を参照して、有効領域判定部182は、中断処理フラグ(I)が立っているかを判定する(ACT201、202)。有効領域判定部182は、中断処理フラグ(I)が立っていないと判定すると、ページ画像22に関するデータをチェックして、データの種類を判定する(データの種類がデータ終了、ライン終端、白データ、黒データのいずれかを判定する)(ACT202NO、203、204)。有効領域判定部182は、このデータの種類の判定結果に応じて、次のようなライン判定を行う。なお、ラインチェックは、上端から主走査方向における各ラインをチェックするとともに、左端から各ラインを構成するドットをチェックする。   Referring to FIG. 9, the effective area determination unit 182 determines whether or not the interruption processing flag (I) is set (ACTs 201 and 202). When the effective area determination unit 182 determines that the interruption processing flag (I) is not set, the effective area determination unit 182 checks the data regarding the page image 22 to determine the data type (the data type is data end, line end, white data , One of the black data is determined) (ACT 202 NO, 203, 204). The effective area determination unit 182 performs the following line determination according to the determination result of the data type. In the line check, each line in the main scanning direction is checked from the upper end, and dots constituting each line are checked from the left end.

有効領域判定部182は、データ種類が黒データと判定すると、黒ドットの判定を行う。具体的には、有効領域判定部182は、現在判定しているデータに黒ドットがあるか否かを判定する(ACT211)。有効領域判定部182が判定するデータに黒ドットであると判定すると、現在右白カウント(F)を0に設定するとともに、先頭黒出現フラグ(G)および左黒出現フラグ(H)をそれぞれ立てる(ACT222)。   If the valid area determination unit 182 determines that the data type is black data, it determines black dots. Specifically, the effective area determination unit 182 determines whether there is a black dot in the currently determined data (ACT 211). If the valid area determination unit 182 determines that the data is a black dot, the current right white count (F) is set to 0, and the leading black appearance flag (G) and the left black appearance flag (H) are set. (ACT222).

この黒ドットの判定結果を用いて、有効領域判定部182は、データ種類がライン終端と判定すると、ページ画像22中における左端のラインから左黒出現フラグ(H)が立っていないかを判定する(ACT206)。有効領域判定部182が、左黒出現フラグ(H)が立っていないと判定すると、ページ画像22中における先頭のラインから先頭黒出現フラグ(G)が立っていないかを判定する(ACT206YES、ACT208)。有効領域判定部182が、先頭黒出現フラグ(G)が立っていないと判定すると、先頭白ラインカウント(A)を1増やす(ACT208YES、ACT212)。有効領域判定部182が、先頭黒出現フラグ(G)が立っていると判定すると、黒ドットが含まれるラインの後端から白ラインをカウントする後端白ラインカウント(B)を1増やす(ACT208NO、ACT213)。そして、有効領域判定部182は、現在左白カウント(E)、現在右白カウント(F)をそれぞれ0に設定し、左からの黒ラインの出現を継続して実行するとともに、処理継続判断を行う(ACT218、219)。   Using this black dot determination result, the effective area determination unit 182 determines whether the left black appearance flag (H) is raised from the leftmost line in the page image 22 when determining that the data type is the line end. (ACT206). If the valid area determination unit 182 determines that the left black appearance flag (H) is not set, it determines whether the leading black appearance flag (G) is set from the leading line in the page image 22 (ACT206 YES, ACT208). ). If the effective area determination unit 182 determines that the leading black appearance flag (G) is not set, the leading white line count (A) is incremented by 1 (ACT 208 YES, ACT 212). When the effective area determination unit 182 determines that the leading black appearance flag (G) is set, the trailing white line count (B) for counting white lines from the trailing edge of the line including the black dots is increased by 1 (ACT208NO). ACT213). Then, the effective area determination unit 182 sets the current left white count (E) and the current right white count (F) to 0, continuously executes the appearance of black lines from the left, and determines whether to continue processing. (ACT 218, 219).

この処理継続判断は、有効領域判定部182による判定途中で、白データがこれ以降の領域にないと判定した場合に、以降の領域については、有効領域判定部182による判定を行わずに、次の倍率変更部184による表示倍率に関する変更処理を行う。この際、有効領域判定部182は、中断処理フラグ(I)を立てて、有効領域判定部182による判定処理を中断する。   In this process continuation determination, when it is determined during the determination by the effective area determination unit 182 that the white data is not in the subsequent area, the subsequent area is not determined by the effective area determination unit 182 and the next area is determined. The change processing related to the display magnification is performed by the magnification changing unit 184. At this time, the effective area determination unit 182 sets an interruption processing flag (I) and interrupts the determination process by the effective area determination unit 182.

一方、有効領域判定部182は、ページ画像22中において左黒出現フラグ(H)が立っていると判定すると、現在左白カウント(E)と左白最小値(C)とを比較する(ACT206NO、209)。有効領域判定部182は、現在左白カウント(E)が左最小値よりも小さいと判定すると、現在左白カウント(E)のカウントした値を左白最小値(C)とする(ACT209YES、214)。有効領域判定部182は、検出した黒ドットの右から現在右白カウントを行い、次の黒ドットまで白ドットの数をカウントする。有効領域判定部182は、この現在右白カウント(F)と右白最小値(D)を比較し、現在右白カウント(F)が右白最小値(D)よりも小さいと判定すると、現在右白カウント(F)のカウントした値を右白最小値(D)とする(ACT215YES、216)。有効領域判定部182は、後端白ラインカウント(B)を0に設定する(ACT217)。そして、有効領域判定部182は、現在左白カウント(E)、現在右白カウント(F)をともに0に設定し、左黒出現フラグ(H)を0に設定して(立てずに)実行するとともに、処理継続判断を行う(ACT218、219)。   On the other hand, when the effective area determination unit 182 determines that the left black appearance flag (H) is set in the page image 22, it compares the current left white count (E) with the minimum left white value (C) (ACT206NO). 209). When the effective area determination unit 182 determines that the current left white count (E) is smaller than the left minimum value, the value counted by the current left white count (E) is set to the left white minimum value (C) (ACT209 YES, 214 ). The effective area determination unit 182 counts the current right white from the right of the detected black dot, and counts the number of white dots up to the next black dot. The effective area determination unit 182 compares the current right white count (F) with the right white minimum value (D) and determines that the current right white count (F) is smaller than the right white minimum value (D). The value counted by the right white count (F) is set as the right white minimum value (D) (ACT 215 YES, 216). The effective area determination unit 182 sets the trailing edge white line count (B) to 0 (ACT 217). The effective area determination unit 182 sets both the current left white count (E) and the current right white count (F) to 0, and sets the left black appearance flag (H) to 0 (without standing). At the same time, the process continuation determination is made (ACTs 218, 219).

有効領域判定部182は、データ種類が白データと判定すると、上記ライン判定と並行して、白データ判定を行う。具体的には、有効領域判定部182がデータ種類を判定した後に、左黒出現フラグ(H)が立っているかの判定を行う(ACT210)。有効領域判定部182が左黒出現フラグ(H)が立っていると判定した場合には、現在右白カウント(F)として現在右白カウント(F)内の値に黒ドットの右から有効領域判定部182が判定した白ドット数を加算した値とする(ACT210YES、220)。有効領域判定部182が左黒出現フラグ(H)が立っていないと判定した場合には、現在左白カウント(E)として、現在左白カウント(E)内の値に有効領域判定部182が判定した白ドット数を加算した値とする(ACT210NO、221)。   When determining that the data type is white data, the valid area determination unit 182 performs white data determination in parallel with the line determination. Specifically, after the valid area determination unit 182 determines the data type, it determines whether the left black appearance flag (H) is set (ACT 210). When the effective area determination unit 182 determines that the left black appearance flag (H) is set, the effective area from the right of the black dot to the value in the current right white count (F) as the current right white count (F). A value obtained by adding the number of white dots determined by the determination unit 182 is set (ACT 210 YES, 220). When the effective area determination unit 182 determines that the left black appearance flag (H) is not set, the effective area determination unit 182 sets the current left white count (E) to a value within the current left white count (E). A value obtained by adding the determined number of white dots is set (ACT 210 NO, 221).

有効領域判定部182は、上記ライン判定、白データ判定および黒データ判定を、中断フラグが立つまで継続して実行する。有効領域判定部182は、中断フラグが立ったことを判定すると、有効領域判定処理を終了する(ACT207)。   The effective area determination unit 182 continuously executes the line determination, white data determination, and black data determination until the interruption flag is set. When the effective area determination unit 182 determines that the interruption flag is set, the effective area determination process ends (ACT 207).

また、有効領域判定部182は、データをチェックした後(ACT203)、データ種類がデータ終了であると判定すると、ACT205へ進み、ACT202YESに進んで終了する(ACT207)。   Further, after checking the data (ACT 203), if the valid area determination unit 182 determines that the data type is the end of data, the process proceeds to ACT 205, and proceeds to ACT 202 YES and ends (ACT 207).

このようにして、有効領域判定部182は、読取部152で読取ったページ画像22における、先端からの白ラインの領域(白を示す値に関する先頭領域)、左端部からの白ラインの領域(白を示す値に関する左端領域)、黒ドットの右からの白ラインの領域(白を示す値に関する右端領域)および黒ドットの後端からの白ラインの領域(白を示す値に関する後端領域)を算出する。そして、有効領域判定部182は、ページ画像22からこれらの白ラインに関する領域(白を示す値に関する先頭領域、左端領域、右端領域および後端領域)を減算して有効領域221(図7(a)に示すような黒の領域)を判定する。   In this way, the effective area determination unit 182 in the page image 22 read by the reading unit 152 has a white line area from the front end (a leading area relating to a value indicating white) and a white line area from the left end (white area). Left edge area for values indicating white), white line area from the right of black dots (right edge area for values indicating white), and white line area from the trailing edge of black dots (rear edge area for values indicating white) calculate. Then, the effective area determination unit 182 subtracts the areas related to the white lines (the leading area, the left end area, the right end area, and the rear end area related to the value indicating white) from the page image 22 to determine the effective area 221 (FIG. ) Is determined.

次に倍率変更部184による表示倍率算出処理の詳細について説明する。図10は、倍率変更部184による表示倍率算出処理を示す制御フローチャートである。なお、初期条件として、図3の拡大縮小倍率表から原稿サイズに基づいて選択した倍率(以下、原稿サイズ基準倍率という)および有効領域221およびシートサイズから算出した倍率(以下、画像サイズ基準の倍率という)をそれぞれ0とする。   Next, details of the display magnification calculation processing by the magnification changing unit 184 will be described. FIG. 10 is a control flowchart showing display magnification calculation processing by the magnification changing unit 184. As initial conditions, a magnification selected based on the document size from the enlargement / reduction magnification table in FIG. 3 (hereinafter referred to as document size reference magnification) and a magnification calculated from the effective area 221 and the sheet size (hereinafter referred to as image size reference magnification). Are each 0.

倍率変更部184による表示倍率算出処理は、有効領域判定部182で有効領域221を判定した後に実行される。図10を参照して、倍率変更部184は、操作者から印刷設定受付部181で受付けた原稿サイズに関する情報およびN数を取得する。倍率変更部184は、記憶部19内に記憶された図3の拡大縮小倍率表を参照して、これらの取得情報(原稿サイズに関する情報およびN数)に対応する原稿サイズ基準倍率を取得する(ACT301、302)。倍率変更部184は、シート情報取得部183で取得したシートに関する縦方向のシート縦長さを有効領域判定部182で判定した有効領域221に関する縦方向の有効縦長さで除算して第1の倍率を算出する(ACT303)。倍率変更部184は、シート情報取得部183で取得したシートに関する幅方向のシート幅長さを有効領域判定部182で判定した有効領域221に関する幅方向の有効幅長さで除算して第2の倍率を算出する(ACT304)。すなわち、倍率変更部184は、シート縦長さを有効幅長さで除算して、第1の倍率を算出する。また、倍率変更部184は、シート幅長さを有効縦長さで除算して、第2の倍率を算出する。なお、有効領域221に関する幅方向の有効幅長さは、有効領域221の長手方向の長さとし、有効領域221に関する縦方向の有効縦長さは、有効領域221の短手方向の長さとしても良い。   The display magnification calculation process by the magnification change unit 184 is executed after the effective region determination unit 182 determines the effective region 221. Referring to FIG. 10, magnification changing unit 184 obtains information regarding the document size and the number N received from the operator by print setting receiving unit 181. The magnification changing unit 184 refers to the enlargement / reduction magnification table of FIG. 3 stored in the storage unit 19 and acquires the document size reference magnification corresponding to the acquired information (information about the document size and N number) ( ACT 301, 302). The magnification change unit 184 divides the vertical sheet vertical length related to the sheet acquired by the sheet information acquisition unit 183 by the vertical effective vertical length related to the effective region 221 determined by the effective region determination unit 182 to obtain the first magnification. Calculate (ACT 303). The magnification change unit 184 divides the sheet width length in the width direction related to the sheet acquired by the sheet information acquisition unit 183 by the effective width length in the width direction related to the effective region 221 determined by the effective region determination unit 182. The magnification is calculated (ACT 304). In other words, the magnification changing unit 184 calculates the first magnification by dividing the sheet vertical length by the effective width length. In addition, the magnification changing unit 184 calculates the second magnification by dividing the sheet width length by the effective vertical length. The effective width length in the width direction related to the effective region 221 may be the length in the longitudinal direction of the effective region 221, and the effective vertical length in the vertical direction related to the effective region 221 may be the length in the short direction of the effective region 221. .

ここで、シート情報取得部183は、印刷設定受付部181でN数として2を取得した場合は、現在選択されたシートの幅方向の長さを2で除算したものをシート幅長さとし、縦方向の長さに関しては、現在選択されたシート縦長さを取得する。また、シート情報取得部183は、印刷設定受付部181でN数として4を取得した場合は、現在選択されたシートの幅方向の長さを2で除算したものをシート幅長さとするとともに、縦方向の長さを2で除算したものをシート縦長さとして取得する。   Here, when the print setting reception unit 181 acquires 2 as the N number, the sheet information acquisition unit 183 sets the sheet width length as the sheet width length obtained by dividing the length in the width direction of the currently selected sheet by 2. For the length in the direction, the currently selected sheet length is acquired. In addition, when the print setting reception unit 181 acquires 4 as the N number, the sheet information acquisition unit 183 sets the sheet width length as a result of dividing the length in the width direction of the currently selected sheet by 2, A value obtained by dividing the length in the vertical direction by 2 is acquired as the sheet vertical length.

倍率変更部184は、第1の倍率よりも第2の倍率の方が小さいと判定すると、画像サイズ基準倍率として第2の倍率を設定する(ACT305YES、306)。倍率変更部184が、第1の倍率よりも第2の倍率の方が大きいと判定すると、画像サイズ基準倍率として第1の倍率を設定する(ACT305NO、307)。   If the magnification changing unit 184 determines that the second magnification is smaller than the first magnification, it sets the second magnification as the image size reference magnification (ACT 305 YES, 306). If the magnification changing unit 184 determines that the second magnification is larger than the first magnification, the first magnification is set as the image size reference magnification (ACT 305 NO, 307).

次に、倍率変更部184は、このように設定した画像サイズ基準倍率と原稿サイズ基準倍率が等しいかを判定する。倍率変更部184が画像サイズ基準倍率が原稿サイズ基準倍率と等しいと判定した場合は、倍率変更部184による表示倍率算出処理を中断し、制御部18に中断処理した旨および原稿サイズ基準倍率で拡大縮小処理を実行する旨を送信する(ACT308YES、309)。そして、制御部18は、原稿サイズ基準倍率でページ画像22を拡大または縮小して印刷画像データ23を生成し、画像形成部12を動作させて、シートに印字する。   Next, the magnification changing unit 184 determines whether the image size reference magnification set in this way is equal to the document size reference magnification. If the magnification change unit 184 determines that the image size reference magnification is equal to the document size reference magnification, the display magnification calculation processing by the magnification change unit 184 is interrupted, and the control unit 18 performs the interrupt processing and enlarges at the document size reference magnification. The fact that the reduction processing is executed is transmitted (ACT 308 YES, 309). Then, the control unit 18 generates print image data 23 by enlarging or reducing the page image 22 at the original size reference magnification, and operates the image forming unit 12 to print on the sheet.

倍率変更部184が、画像サイズ基準倍率と原稿サイズ基準倍率が等しくないと判定した場合は、画像サイズ基準倍率で画像処理および印字処理を行う(ACT308NO、310)。すなわち、倍率変更部184は、ページ画像22中の画像を抽出し、抽出した画像を画像サイズ基準倍率で拡大または縮小して印刷画像データ23を生成し、画像形成部12を動作させて、シートに印字する。   If the magnification changing unit 184 determines that the image size reference magnification and the document size reference magnification are not equal, image processing and printing processing are performed at the image size reference magnification (ACTs 308, NO, 310). That is, the magnification changing unit 184 extracts an image in the page image 22, generates the print image data 23 by enlarging or reducing the extracted image at the image size reference magnification, operates the image forming unit 12, and operates the sheet To print.

このようにして、倍率変更部184は、ページ画像22中の画像領域(有効領域221)のみを抽出し、シートのサイズに合わせて拡大または縮小することで、操作者が最も内容を把握しやすい形式でシートに画像を印字することができる。すなわち、ページ画像22中における有効領域221の占める割合が少ない場合には、有効領域221をシートのサイズに合うように拡大または縮小することで、ページ画像22中の白データの領域を排除して最も画像の内容が把握しやすい形式でシートに出力することができる。   In this way, the magnification changing unit 184 extracts only the image area (effective area 221) in the page image 22 and enlarges or reduces it according to the size of the sheet, so that the operator can grasp the content most easily. The image can be printed on the sheet in the format. That is, when the proportion of the effective area 221 in the page image 22 is small, the area of the white data in the page image 22 is eliminated by enlarging or reducing the effective area 221 to fit the sheet size. It is possible to output to the sheet in a format in which the content of the image is most easily understood.

次に、従来例の画像形成装置における表示倍率算出処理と対比して、本実施形態の画像形成装置1における表示倍率算出処理の特徴について説明する。図11は、ページ画像22を処理する際の画像処理の概要を示す図である。図12は、従来の画像形成装置におけるページ画像22を処理する際の画像形成処理の概要を示す図である。   Next, characteristics of the display magnification calculation process in the image forming apparatus 1 of the present embodiment will be described in contrast to the display magnification calculation process in the conventional image forming apparatus. FIG. 11 is a diagram showing an outline of image processing when the page image 22 is processed. FIG. 12 is a diagram showing an outline of the image forming process when the page image 22 is processed in the conventional image forming apparatus.

初期条件としては、図5(a)に示すようにA4−Rの原稿21をプラテンガラス151上に載置し、原稿21の長手方向を主走査方向とし、原稿21の短手方向を副走査方向とする。読取部152で原稿21を読取ったページ画像22は、図11(a)に示すように主走査方向に4960ドット、副走査方向に7015ラインとする。また、ページ画像22中に印字された画像(有効領域221)は、図11(b)に示すように主走査方向に4000ドット、副走査方向に6000ドットとする。   As initial conditions, as shown in FIG. 5A, an A4-R document 21 is placed on a platen glass 151, the longitudinal direction of the document 21 is set as the main scanning direction, and the short direction of the document 21 is sub-scanned. The direction. The page image 22 obtained by reading the document 21 by the reading unit 152 has 4960 dots in the main scanning direction and 7015 lines in the sub-scanning direction as shown in FIG. Further, the image (effective area 221) printed in the page image 22 is set to 4000 dots in the main scanning direction and 6000 dots in the sub-scanning direction as shown in FIG.

操作者は、印刷設定受付部181にNin1設定を入力し、N数として2を入力する。また、操作者は、印刷画像データ22を印字するシートのサイズとして、A4−Rを入力する。シート情報取得部183は、シートに関するシート縦長さ(主走査方向の長さ)として4960ドット、およびシートに関するシート幅長さ(副走査方向の長さ)として7015/2ラインを取得する。また、有効領域判定部182は、図11(b)に示すようなページ画像22中の有効領域221を判定する。すなわち、有効領域判定部182は、有効領域221に関する、有効縦長さ6000ドットおよび有効幅長さ4000ドットを取得する。ここで、有効縦長さは有効領域における長手方向の長さとし、有効幅長さは有効領域における短手方向の長さとする。   The operator inputs the Nin1 setting to the print setting reception unit 181 and inputs 2 as the N number. Further, the operator inputs A4-R as the size of the sheet on which the print image data 22 is printed. The sheet information acquisition unit 183 acquires 4960 dots as the sheet vertical length (length in the main scanning direction) related to the sheet and 7015/2 line as the sheet width length (length in the sub-scanning direction) related to the sheet. Further, the effective area determination unit 182 determines an effective area 221 in the page image 22 as shown in FIG. That is, the effective area determination unit 182 acquires an effective vertical length of 6000 dots and an effective width length of 4000 dots related to the effective area 221. Here, the effective vertical length is the length in the longitudinal direction in the effective area, and the effective width length is the length in the short direction in the effective area.

有効領域判定部182は、主走査方向における第1の倍率として、シート縦長さ(4960ドット)を有効縦長さ(6000ドット)で除算して、83%を算出する。有効領域判定部182は、副走査方向における第2の倍率として、シート幅長さ(7015/2ドット)を有効幅長さ(4000ドット)で除算して、88%を算出する。有効領域判定部182は、第1の倍率(83%)と第2の倍率(88%)を比較して、画像サイズ基準倍率として、第1の倍率(83%)を設定する。   The effective area determination unit 182 calculates 83% by dividing the sheet vertical length (4960 dots) by the effective vertical length (6000 dots) as the first magnification in the main scanning direction. The effective area determination unit 182 calculates 88% by dividing the sheet width length (7015/2 dots) by the effective width length (4000 dots) as the second magnification in the sub-scanning direction. The effective area determination unit 182 compares the first magnification (83%) and the second magnification (88%), and sets the first magnification (83%) as the image size reference magnification.

また、有効領域判定部182は、印刷設定受付部181で入力された情報(N数を2とし、原稿サイズおよびシートサイズをA4Rとする情報)に基づいて、図3の拡大縮小倍率表から原稿サイズ基準倍率を選択する。具体的には、有効領域判定部182は、図3(b)を参照して、縦軸および横軸A4とする情報に基づいて、原稿サイズ基準倍率を71%に設定する。   Further, the effective area determination unit 182 determines the document from the enlargement / reduction ratio table of FIG. 3 based on the information (information where N number is 2, document size and sheet size are A4R) input by the print setting reception unit 181. Select the size reference magnification. Specifically, referring to FIG. 3B, the effective area determination unit 182 sets the document size reference magnification to 71% based on the information on the vertical axis and the horizontal axis A4.

有効領域判定部182は、原稿サイズ基準倍率(71%)と画像サイズ基準倍率(83%)を比較し、原稿サイズ基準倍率と異なる倍率である画像サイズ基準倍率(83%)でページ画像22中の画像を縮小して印刷画像データ23を生成する。このようにして、本実施形態の画像形成装置1は、図11(c)に示すような画像をシートに印字する。   The effective area determination unit 182 compares the document size reference magnification (71%) and the image size reference magnification (83%), and the page size 22 in the page image 22 is set at an image size reference magnification (83%) that is a magnification different from the document size reference magnification. The print image data 23 is generated by reducing the image. In this way, the image forming apparatus 1 of the present embodiment prints an image as shown in FIG. 11C on the sheet.

これに対して、従来の画像形成装置では、図12(a)および(b)に示すような本実施形態の画像形成装置1と同じ条件である原稿21に関して、図12(c)に示すような画像をシートに印字する。すなわち、従来の画像形成装置は、図3の拡大縮小倍率表を参照して、印刷設定受付部181で入力された情報(N数を2とし、原稿サイズおよびシートサイズをA4Rとする情報)に対応する原稿サイズ基準倍率(71%)でページ画像22を縮小して、印刷画像データ23を生成する。このため、従来の画像形成装置では、原稿21の白の領域が考慮せずに縮小するため、図12(c)に示すように不必要に画像を小さくする。   On the other hand, in the conventional image forming apparatus, as shown in FIG. 12C, the document 21 having the same conditions as the image forming apparatus 1 of the present embodiment as shown in FIGS. The correct image on the sheet. That is, the conventional image forming apparatus refers to the information input by the print setting receiving unit 181 (information that N number is 2, document size and sheet size are A4R) with reference to the enlargement / reduction ratio table of FIG. The page image 22 is reduced at the corresponding original size reference magnification (71%) to generate print image data 23. For this reason, in the conventional image forming apparatus, since the white area of the document 21 is reduced without considering it, the image is unnecessarily reduced as shown in FIG.

このように、図11(c)および12(c)から明らかなように、本実施形態の画像形成装置1は、従来の画像形成装置に比べて、原稿21の白の領域を排除することで、ページ画像22中の画像を大きくして印刷することができる。これにより、本実施形態の画像形成装置1では、Nin1印刷設定時においてシートに印刷された画像を、従来の画像形成装置でシートに印刷された画像に比べて、操作者が内容をより容易に把握することができる。   As can be seen from FIGS. 11C and 12C, the image forming apparatus 1 according to the present embodiment eliminates the white area of the document 21 as compared with the conventional image forming apparatus. The image in the page image 22 can be enlarged and printed. As a result, in the image forming apparatus 1 according to the present embodiment, the image printed on the sheet at the time of Nin1 print setting is easier for the operator than the image printed on the sheet with the conventional image forming apparatus. I can grasp it.

上記実施形態において、ページ画像22中の有効領域221として、ページ画像22中における白を示す値に関する先頭領域、左端領域、右端領域および後端領域を判定し、これらの判定した領域をページ画像22から減算した領域のものとして説明したが、特にこれに限られるものではない。すなわち、ページ画像22中の有効領域221として、判定したページ画像22中における白を示す値に関する先頭領域、左端領域、右端領域および後端領域の少なくともいずれか1つをページ画像22から減算して算出しても良い。   In the above embodiment, as the effective area 221 in the page image 22, the head area, the left end area, the right end area, and the rear end area related to the value indicating white in the page image 22 are determined, and these determined areas are determined as the page image 22. However, the present invention is not limited to this. That is, as the effective area 221 in the page image 22, at least one of the head area, the left end area, the right end area, and the rear end area related to the value indicating white in the determined page image 22 is subtracted from the page image 22. It may be calculated.

上記実施形態において、Nin1印刷設定時の拡大縮小処理について説明したが、特にこれに限られるものではなく、読取部152で読み込んだ原稿21中の画像(有効領域221)を拡大して、シートに印字しても良い。すなわち、1枚のページ画像22中の画像を1枚のシートに印字する印刷設定においても上記実施形態の処理を適用しても良い。これにより、ページ画像22中に白の領域が多量に存在する場合には、これらの領域を排除して、ページ画像22中の画像を拡大して印刷することができる。このようにして、1in1印刷時(通常の拡大印刷時)においても、ページ画像22中の画像を操作者が容易に把握することができる。   In the above embodiment, the enlargement / reduction processing at the time of setting Nin1 printing has been described. It may be printed. In other words, the processing of the above embodiment may be applied to print settings for printing an image in one page image 22 on one sheet. As a result, when a large amount of white areas are present in the page image 22, these areas can be eliminated and the image in the page image 22 can be enlarged and printed. In this way, the operator can easily grasp the image in the page image 22 even during 1 in 1 printing (during normal enlargement printing).

上記実施形態において、有効領域判定部182が有効領域221を判定するために、読取部152で読取ったページ画像22をMH圧縮して、2値化し、ランレングス化するものとして説明したが、特にMH圧縮に限られるものではない。すなわち、有効領域221を容易に判定できる圧縮方式であれば良く、例えばMR圧縮やJPEG圧縮を読取部152で読取ったページ画像22に適用しても良い。   In the above embodiment, the effective area determination unit 182 has been described as performing the MH compression, binarization, and run length of the page image 22 read by the reading unit 152 in order to determine the effective area 221, but in particular, It is not limited to MH compression. That is, any compression method that can easily determine the effective area 221 may be used. For example, MR compression or JPEG compression may be applied to the page image 22 read by the reading unit 152.

本実施形態では装置内部に発明を実施する機能が予め記録されている場合で説明をしたが、これに限らず同様の機能をネットワーク通信部20から装置にダウンロードしても良いし、同様の機能を記録媒体に記憶させたものを装置にインストールしてもよい。記録媒体としては、CD−ROM等プログラムを記憶でき、かつ装置が読み取り可能な記録媒体であれば、その形態は何れの形態であっても良い。またこのように予めインストールやダウンロードにより得る機能は装置内部のOS(オペレーティング・システム)等と協働してその機能を実現させるものであってもよい。   In the present embodiment, the function for carrying out the invention is recorded in advance in the apparatus. However, the present invention is not limited to this, and the same function may be downloaded from the network communication unit 20 to the apparatus. May be installed in the apparatus. The recording medium may be any form as long as the recording medium can store the program and can be read by the apparatus, such as a CD-ROM. In addition, the function obtained by installing or downloading in advance may be realized in cooperation with an OS (operating system) inside the apparatus.

以上に詳説したように、この明細書に記載の技術によれば、画像形成装置1における拡大縮小印刷をする際に画像を見やすい形式でシートに印刷することができる。   As described above in detail, according to the technique described in this specification, when performing the enlargement / reduction printing in the image forming apparatus 1, the image can be printed on the sheet in an easy-to-view format.

1 画像形成装置
11 画像形成装置本体
12 画像形成部
13 給紙部 131 給紙カセット
14 シート搬送部
15 画像読取部 151 プラテンガラス 152 読取部
16 自動原稿給送部
17 操作パネル 171 表示部 172 操作部
18 制御部 181 印刷設定受付部 182 有効領域判定部 183 シート情報取得部 184 倍率変更部
19 記憶部
20 ネットワーク通信部
21 原稿
22 ページ画像(第1の画像データ) 221 有効領域
23 印刷画像データ(第2の画像データ)
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 11 Image forming apparatus main body 12 Image forming part 13 Paper feed part 131 Paper feed cassette 14 Sheet conveyance part 15 Image reading part 151 Platen glass 152 Reading part 16 Automatic document feeding part 17 Operation panel 171 Display part 172 Operation part DESCRIPTION OF SYMBOLS 18 Control part 181 Print setting reception part 182 Effective area determination part 183 Sheet information acquisition part 184 Magnification change part 19 Storage part 20 Network communication part 21 Document 22 Page image (first image data) 221 Effective area 23 Print image data (first 2 image data)

Claims (5)

第1の画像データを2値化し、前記2値化した情報に基づいて、前記第1の画像データに関する画像が印字された有効領域を判定する有効領域判定部と、
印字対象とするシートの大きさに関する情報を取得するシート情報取得部と、
前記有効領域判定部で判定した有効領域と前記シート情報取得部で取得した印字対象とするシートの大きさに関する情報とに基づいて、前記第1の画像データの倍率を変更して第2の画像データを生成する倍率変更部と、
前記倍率変更部で生成した第2の画像データを前記印字対象とするシートに印字する画像形成部と
を有する画像形成装置。
An effective area determination unit that binarizes the first image data and determines an effective area on which an image related to the first image data is printed based on the binarized information;
A sheet information acquisition unit that acquires information about the size of a sheet to be printed;
Based on the effective area determined by the effective area determination unit and the information about the size of the sheet to be printed acquired by the sheet information acquisition unit, the magnification of the first image data is changed to change the second image. A magnification changing unit for generating data;
An image forming apparatus comprising: an image forming unit that prints the second image data generated by the magnification changing unit on the sheet to be printed.
請求項1に記載の装置であって、
前記有効領域判定部は、前記有効領域として、前記第1の画像データに関する有効幅長さと、前記第1の画像データに関する有効縦長さとを判定するものであり、
前記シート情報取得部は、前記印字対象とするシートの大きさとして、前記シートに関する幅方向のシート幅長さと、前記シートに関する縦方向のシート縦長さとを取得するものであり、
前記倍率変更部は、前記シート幅長さを前記有効幅長さで除算して第1の倍率を算出し、前記シート縦長さを前記有効縦長さで除算して第2の倍率を算出するとともに、前記算出した第1の倍率および前記算出した第2の倍率のうち小さい方の倍率を用いて、前記第2の画像データを生成する画像形成装置。
The apparatus of claim 1, comprising:
The effective area determination unit determines, as the effective area, an effective width length related to the first image data and an effective vertical length related to the first image data,
The sheet information acquisition unit acquires a sheet width length in the width direction related to the sheet and a sheet length length in the vertical direction related to the sheet as the size of the sheet to be printed,
The magnification changing unit calculates a first magnification by dividing the sheet width length by the effective width length, and calculates a second magnification by dividing the sheet vertical length by the effective vertical length. An image forming apparatus that generates the second image data by using a smaller one of the calculated first magnification and the calculated second magnification.
請求項1または2に記載の装置であって、
さらに、1ページのシートに複数ページ分の前記第1の画像データをまとめて印字するNin1印刷設定に関する印刷設定情報を受付ける印刷設定受付部を有し、
前記シート情報取得部は、前記印刷設定受付部でNin1印刷設定に関する印刷設定情報を受付けた場合に、前記印字対象とするシートの大きさに関する情報として、前記印字対象とするシートを前記1ページにまとめて印字するページ数に応じて除算する画像形成装置。
The apparatus according to claim 1 or 2, comprising:
And a print setting receiving unit that receives print setting information related to Nin1 print settings for collectively printing the first image data for a plurality of pages on a sheet of one page
When the print setting reception unit receives print setting information related to Nin1 print settings, the sheet information acquisition unit sets the sheet to be printed as one page as information about the size of the sheet to be printed. An image forming apparatus that divides according to the number of pages to be printed together.
請求項1乃至3のいずれか1項に記載の装置であって、
前記有効領域判定部は、前記第1の画像データに関して、白を示す値および黒を示す値とで2値化し、前記第1の画像データ中における前記白を示す値に関する先頭領域、後端領域、左端領域および右端領域の少なくともいずれか1つを、前記第1の画像データから減算して有効領域を判定する画像形成装置。
The device according to any one of claims 1 to 3,
The effective area determination unit binarizes the first image data with a value indicating white and a value indicating black, and a leading area and a trailing edge area regarding the value indicating white in the first image data An image forming apparatus that determines an effective area by subtracting at least one of a left end area and a right end area from the first image data.
請求項4に記載の装置であって、
前記有効領域判定部は、前記有効領域として、前記第1の画像データに関する幅方向の有効幅長さと、前記第1の画像データに関する縦方向の有効縦長さとを判定するものであり、
前記シート情報取得部は、前記印字対象とするシートの大きさとして、前記シートに関するシート幅長さと、前記シートに関するシート縦長さとを取得するものであり、
前記倍率変更部は、前記シート幅長さを前記有効幅長さで除算して第1の倍率を算出し、前記シート縦長さを前記有効縦長さで除算して第2の倍率を算出するとともに、前記算出した第1の倍率および前記算出した第2の倍率のうち小さい方の倍率を用いて、前記第2の画像データを生成する画像形成装置。
The apparatus according to claim 4, comprising:
The effective area determination unit determines, as the effective area, an effective width length in the width direction related to the first image data and an effective vertical length in the vertical direction related to the first image data,
The sheet information acquisition unit acquires a sheet width length related to the sheet and a sheet vertical length related to the sheet as the size of the sheet to be printed.
The magnification changing unit calculates a first magnification by dividing the sheet width length by the effective width length, and calculates a second magnification by dividing the sheet vertical length by the effective vertical length. An image forming apparatus that generates the second image data by using a smaller one of the calculated first magnification and the calculated second magnification.
JP2012284442A 2012-03-12 2012-12-27 Image forming apparatus Expired - Fee Related JP5750432B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201261609876P 2012-03-12 2012-03-12
US61/609,876 2012-03-12

Publications (2)

Publication Number Publication Date
JP2013192206A true JP2013192206A (en) 2013-09-26
JP5750432B2 JP5750432B2 (en) 2015-07-22

Family

ID=49392001

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012284442A Expired - Fee Related JP5750432B2 (en) 2012-03-12 2012-12-27 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP5750432B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110244916A (en) * 2018-03-07 2019-09-17 东芝泰格有限公司 Information generation device, print processing device and information generating method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07184044A (en) * 1993-12-24 1995-07-21 Ricoh Co Ltd Image processor
JPH09200493A (en) * 1996-01-17 1997-07-31 Minolta Co Ltd Image forming device
US5760912A (en) * 1994-10-19 1998-06-02 Minolta Co., Ltd. Image forming apparatus capable of providing appropriate margin
JPH1188654A (en) * 1997-09-04 1999-03-30 Sharp Corp Original deviation correcting device
JPH11298725A (en) * 1998-04-10 1999-10-29 Ricoh Co Ltd Facsimile equipment
JP2000242792A (en) * 1999-02-23 2000-09-08 Sony Corp Image processor, image processing method and program supply medium for supplying image processing program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07184044A (en) * 1993-12-24 1995-07-21 Ricoh Co Ltd Image processor
US5760912A (en) * 1994-10-19 1998-06-02 Minolta Co., Ltd. Image forming apparatus capable of providing appropriate margin
JPH09200493A (en) * 1996-01-17 1997-07-31 Minolta Co Ltd Image forming device
JPH1188654A (en) * 1997-09-04 1999-03-30 Sharp Corp Original deviation correcting device
JPH11298725A (en) * 1998-04-10 1999-10-29 Ricoh Co Ltd Facsimile equipment
JP2000242792A (en) * 1999-02-23 2000-09-08 Sony Corp Image processor, image processing method and program supply medium for supplying image processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110244916A (en) * 2018-03-07 2019-09-17 东芝泰格有限公司 Information generation device, print processing device and information generating method
CN110244916B (en) * 2018-03-07 2023-08-18 东芝泰格有限公司 Information generating device, print processing device, and information generating method

Also Published As

Publication number Publication date
JP5750432B2 (en) 2015-07-22

Similar Documents

Publication Publication Date Title
US10771645B2 (en) Printing control apparatus method for controlling printing control apparatus and storage medium
JP5232836B2 (en) Image forming apparatus
JP5675269B2 (en) Print processing apparatus, print system, control method for print processing apparatus, control method for print system, and program
JP2006352801A (en) Copying control apparatus, copying system, copying control method and program
US9191532B2 (en) Image display device and computer-readable storage medium storing a display control program
JP6053843B2 (en) Image reading apparatus and image forming apparatus
JP2012061759A (en) Apparatus and method for forming image and program
JP2010273053A (en) Image processing apparatus, method for controlling the same and program
JP5889373B2 (en) Print processing apparatus, print processing apparatus control method, and program
US10387998B2 (en) Electronic apparatus and non-transitory computer readable medium storing program
JP6926622B2 (en) Image processing device
JP2010098680A (en) Image forming apparatus
JP5482888B2 (en) Image forming system, controller and rasterization accelerator
JP5564470B2 (en) Image forming apparatus
JP5750432B2 (en) Image forming apparatus
JP6138079B2 (en) Image processing apparatus and image processing method
JP4497000B2 (en) Copy system, copy control method and program
US8705109B2 (en) Image forming apparatus and image forming method for controlling object rendering order
JP4816238B2 (en) Image forming apparatus, image forming method, and program
US10205845B2 (en) Image reading using a duplex scanning function
JP5693130B2 (en) Image processing apparatus and image processing apparatus control method
JP2019047407A (en) Image reading device and image processing device
JP7175641B2 (en) Image processing device and its control method
JP7298363B2 (en) Image processing device
JP2016101738A (en) Printing equipment, control method for the printing equipment, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130913

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140805

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141003

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150127

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150327

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150421

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150518

R150 Certificate of patent or registration of utility model

Ref document number: 5750432

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees