Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5097722B2 - Image forming apparatus - Google Patents
[go: Go Back, main page]

JP5097722B2 - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP5097722B2
JP5097722B2 JP2009018681A JP2009018681A JP5097722B2 JP 5097722 B2 JP5097722 B2 JP 5097722B2 JP 2009018681 A JP2009018681 A JP 2009018681A JP 2009018681 A JP2009018681 A JP 2009018681A JP 5097722 B2 JP5097722 B2 JP 5097722B2
Authority
JP
Japan
Prior art keywords
unit
data
rotation
paper
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009018681A
Other languages
Japanese (ja)
Other versions
JP2010178078A (en
Inventor
幸三 田尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions 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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2009018681A priority Critical patent/JP5097722B2/en
Priority to US12/615,431 priority patent/US8705087B2/en
Publication of JP2010178078A publication Critical patent/JP2010178078A/en
Application granted granted Critical
Publication of JP5097722B2 publication Critical patent/JP5097722B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

画像形成装置において、印刷データの印刷方向と給紙カセットにセットされた用紙の方向によって行う画像データの回転処理についての技術に関するものである。   The present invention relates to a technique for image data rotation processing performed in accordance with the print direction of print data and the direction of paper set in a paper feed cassette in an image forming apparatus.

従来、画像形成装置においては、印刷データをビットマップ化する際に給紙カセットの用紙の方向に合わせてビットマップを生成し、印刷時に印刷エンジンに対して渡される前記ビットマップデータのデータの並び順が最初に主走査方向、次に副走査方向になるように生成されていた。   2. Description of the Related Art Conventionally, in an image forming apparatus, when print data is converted into a bitmap, a bitmap is generated in accordance with the direction of the paper in the paper cassette, and the data of the bitmap data passed to the print engine at the time of printing is arranged. It was generated so that the order was first in the main scanning direction and then in the sub-scanning direction.

その場合、例えば給紙カセットの用紙が消費されて無くなってしまったり、又、紙詰まりなどの障害発生時の解消処理により適合した給紙方向のカセットの用紙が無くなったりした場合には、生成されたビットマップデータのデータの並びの方向と給紙カセットの用紙の方向とが一致しないとして印刷が行われずに処理が中止されてしまう。この場合に印刷を行うには、最初からデータのレンダリング処理(印刷データから画像データへの変換)をやり直さなければならなくなり、処理に時間がかかるという問題があった。   In this case, for example, when the paper in the paper feed cassette is consumed and lost, or when the paper in the cassette in the appropriate paper feed direction is exhausted due to the processing for solving a problem such as a paper jam, it is generated. If the data arrangement direction of the bitmap data does not match the paper direction of the paper cassette, printing is not performed and the processing is stopped. In this case, in order to perform printing, data rendering processing (conversion from print data to image data) has to be performed again from the beginning, and there is a problem that processing takes time.

従来技術として、複写倍率を自動的に設定すると共に、必要に応じて画像を回転するために、原稿サイズ情報、画像支持体サイズ及び給紙情報とに基づいて、画素データのアドレスを変換する手段とを有する画像形成装置を用いて、画像を回転させる方法がある(特許文献1参照)。   As prior art, means for converting the address of pixel data based on document size information, image support size and paper feed information in order to automatically set the copying magnification and rotate the image as required There is a method of rotating an image using an image forming apparatus having the above (see Patent Document 1).

しかし、この方法では印刷前に用紙方向に合わせて画像の回転を行うことだけであって、上記した画像データ変換処理後の印刷データと給紙カセットの方向の不一致等には対応ができなかった。   However, this method only rotates the image according to the paper direction before printing, and cannot cope with the mismatch between the print data after the image data conversion process and the direction of the paper feed cassette. .

特開平6−86050号公報JP-A-6-86050

解決しようとする課題は、画像形成装置において、印刷データの印刷方向と給紙カセットの用紙の方向が一致しない場合に印刷処理が停止してしまう点である。   The problem to be solved is that, in the image forming apparatus, the printing process stops when the printing direction of the print data does not match the direction of the paper in the paper cassette.

本発明の画像形成装置は、印刷データをビットマップデータに変換する画像データ変換部と、印刷される用紙を蓄えて給紙する給紙部と、前記給紙部の用紙の方向を検出する給紙状態検知部と、前記ビットマップデータを前記給紙部から前記用紙の供給を受けて印刷を行う印刷部とを有する画像形成装置であって、前記ビットマップデータの変換前に前記給紙状態検知部が検知した用紙の方向と前記印刷データの印刷方向とに基づいて画像データの回転処理が必要かどうかを判断する回転判断部を備え、前記画像データ変換部は、前記回転判断部により回転処理が必要と判断されたときは回転処理を考慮に入れた画素データの並び順で前記印刷データをビットマップデータへ変換処理し、前記回転判断部は、前記画像データ変換部で回転処理を考慮に入れて変換されたビットマップデータの画素データの並び順が前記ビットマップデータの回転処理を考慮に入れた変換後に前記給紙状態検知部で検出された用紙の方向と一致しているか一致しないかをも判断し、前記回転判断部が前記回転処理を考慮に入れて変換されたビットマップデータの画素データの並び順が前記給紙部から給紙された用紙の方向と一致しないと判断したときは、前記回転処理を考慮に入れて変換されたビットマップデータを回転させて前記用紙の方向と一致させる画像回転部を有することを特徴とする。 An image forming apparatus according to the present invention includes an image data converting unit that converts print data into bitmap data, a paper feeding unit that stores and feeds paper to be printed, and a paper feeding unit that detects the paper direction of the paper feeding unit. An image forming apparatus comprising: a paper state detection unit; and a printing unit that receives the bitmap data from the paper supply unit and prints the paper , wherein the paper supply state is converted before the bitmap data is converted. A rotation determining unit configured to determine whether image data rotation processing is necessary based on a paper direction detected by the detection unit and a print direction of the print data, and the image data converting unit is rotated by the rotation determining unit; When it is determined that processing is necessary, the print data is converted into bitmap data in the order of arrangement of pixel data taking rotation processing into consideration, and the rotation determination unit is rotated by the image data conversion unit. Matching or order of the pixel data of the converted bitmap data into account is consistent with the direction of the paper detected by the paper feed state detection unit after conversion that takes into account the rotation process of the bit map data The rotation determination unit determines that the arrangement order of the pixel data of the bitmap data converted in consideration of the rotation processing does not match the direction of the sheet fed from the sheet feeding unit. In this case, the image processing apparatus includes an image rotation unit that rotates the bitmap data converted in consideration of the rotation processing to match the direction of the sheet.

また、本発明の画像形成装置は、給紙状態検知部は、印刷部が障害による停止後に復帰したとき前記検出を行い、回転判断部は、印刷部が障害による停止後に復帰し給紙状態検知部が検出を行ったとき画像データ変換部で回転処理を考慮に入れて変換されたビットマップデータの画素データの並び順が給紙状態検知部で検出された用紙の方向と一致しているか一致しないかをも判断することを特徴としてもよい。 In the image forming apparatus according to the present invention, the paper feed state detection unit performs the detection when the printing unit returns after being stopped due to a failure, and the rotation determination unit returns after the printing unit is stopped due to the failure to detect a paper feeding state. When the image data is detected by the image data conversion unit, the arrangement order of the pixel data of the bitmap data converted by taking the rotation processing into consideration coincides with the paper direction detected by the paper feed state detection unit. It may be characterized by determining whether or not .

また、本発明の画像形成装置の画像回転部は画像回転ハードウェアにより前記回転処理を考慮に入れて変換されたビットマップデータの回転処理を行うことを特徴としてもよい。 The image rotation unit of the image forming apparatus according to the present invention may perform rotation processing of bitmap data converted in consideration of the rotation processing by image rotation hardware.

本発明の画像形成装置は、印刷データをビットマップデータに変換する画像データ変換部と、印刷される用紙を蓄えて給紙する給紙部と、前記給紙部の用紙の方向を検出する給紙状態検知部と、前記ビットマップデータを前記給紙部から前記用紙の供給を受けて印刷を行う印刷部とを有する画像形成装置であって、前記ビットマップデータの変換前に前記給紙状態検知部が検知した用紙の方向と前記印刷データの印刷方向とに基づいて画像データの回転処理が必要かどうかを判断する回転判断部を備え、前記画像データ変換部は、前記回転判断部により回転処理が必要と判断されたときは回転処理を考慮に入れた画素データの並び順で前記印刷データをビットマップデータへ変換処理し、前記回転判断部は、前記画像データ変換部で回転処理を考慮に入れて変換されたビットマップデータの画素データの並び順が前記ビットマップデータの回転処理を考慮に入れた変換後に前記給紙状態検知部で検出された用紙の方向と一致しているか一致しないかをも判断し、前記回転判断部が前記回転処理を考慮に入れて変換されたビットマップデータの画素データの並び順が前記給紙部から給紙された用紙の方向と一致しないと判断したときは、前記回転処理を考慮に入れて変換されたビットマップデータを回転させて前記用紙の方向と一致させる画像回転部を有することを特徴とする。 An image forming apparatus according to the present invention includes an image data converting unit that converts print data into bitmap data, a paper feeding unit that stores and feeds paper to be printed, and a paper feeding unit that detects the paper direction of the paper feeding unit. An image forming apparatus comprising: a paper state detection unit; and a printing unit that receives the bitmap data from the paper supply unit and prints the paper , wherein the paper supply state is converted before the bitmap data is converted. A rotation determining unit configured to determine whether image data rotation processing is necessary based on a paper direction detected by the detection unit and a print direction of the print data, and the image data converting unit is rotated by the rotation determining unit; When it is determined that processing is necessary, the print data is converted into bitmap data in the order of arrangement of pixel data taking rotation processing into consideration, and the rotation determination unit is rotated by the image data conversion unit. Matching or order of the pixel data of the converted bitmap data into account is consistent with the direction of the paper detected by the paper feed state detection unit after conversion that takes into account the rotation process of the bit map data The rotation determination unit determines that the arrangement order of the pixel data of the bitmap data converted in consideration of the rotation processing does not match the direction of the sheet fed from the sheet feeding unit. In this case, the image processing apparatus includes an image rotation unit that rotates the bitmap data converted in consideration of the rotation processing to match the direction of the sheet.

このため、印刷データから回転処理を考慮に入れて変換されたビットマップデータの画素データの並び順と用紙の方向が一致しないのを回転判断部が判断し、画像回転部が回転処理を考慮に入れて生成されたビットマップデータを回転することにより印刷を中止することなく、印刷データからビットマップデータへの変換処理を行うことなく印刷を継続することが可能となる。 For this reason, the rotation determination unit determines that the pixel data arrangement order of the bitmap data converted from print data in consideration of the rotation process does not match the paper direction, and the image rotation unit considers the rotation process. It is possible to continue printing without stopping printing by rotating the bitmap data generated in, and without performing conversion processing from print data to bitmap data.

また、本発明の画像形成装置は、給紙状態検知部は、印刷部が障害による停止後に復帰したとき前記検出を行い、回転判断部は、印刷部が障害による停止後に復帰し給紙状態検知部が検出を行ったとき画像データ変換部で回転処理を考慮に入れて変換されたビットマップデータの画素データの並び順が給紙状態検知部で検出された用紙の方向と一致しているか一致しないかをも判断することを特徴としてもよい。 In the image forming apparatus according to the present invention, the paper feed state detection unit performs the detection when the printing unit returns after being stopped due to a failure, and the rotation determination unit returns after the printing unit is stopped due to the failure to detect a paper feeding state. When the image data is detected by the image data conversion unit, the arrangement order of the pixel data of the bitmap data converted by taking the rotation processing into consideration coincides with the paper direction detected by the paper feed state detection unit. It may be characterized by determining whether or not .

このため、用紙の消費や紙詰まり後の障害回避処理によって、すでに生成されたビットマップデータの並びに対応した印刷方向の用紙が無くなっても、そのことを回転判断部が判断し、画像回転部がビットマップデータを回転することにより印刷を中止することなく、印刷データからビットマップデータへの変換処理を行うことなく印刷を継続することが可能となる。   For this reason, even if there is no paper in the print direction corresponding to the sequence of bitmap data already generated due to failure avoidance processing after paper consumption or paper jam, the rotation determination unit determines this and the image rotation unit By rotating the bitmap data, printing can be continued without stopping printing and without performing conversion processing from print data to bitmap data.

また、本発明の画像形成装置の画像回転部は画像回転ハードウェアにより前記回転処理を考慮に入れて変換されたビットマップデータの回転処理を行うことを特徴としてもよい。 The image rotation unit of the image forming apparatus according to the present invention may perform rotation processing of bitmap data converted in consideration of the rotation processing by image rotation hardware.

このため、印刷データから変換されたビットマップデータの印刷方向と用紙の方向が一致しない場合であっても画像回転ハードウェアが高速にビットマップデータの回転処理を行い、印刷を中止することなく継続可能となる。   For this reason, even when the printing direction of bitmap data converted from print data and the paper direction do not match, the image rotation hardware performs bitmap data rotation processing at high speed and continues without stopping printing. It becomes possible.

印刷データの方向と給紙方向の違いによる画像データの生成方向の説明図である。FIG. 6 is an explanatory diagram of image data generation directions depending on a difference between print data directions and paper feed directions. 本発明実施例の画像形成装置の機能ブロック図である。1 is a functional block diagram of an image forming apparatus according to an embodiment of the present invention. 本発明実施例の画像形成装置の動作のフローチャートの前半部である。4 is a first half of a flowchart of an operation of the image forming apparatus according to the embodiment of the present invention. 本発明実施例の画像形成装置の動作のフローチャートの後半部である。6 is a second half of a flowchart of the operation of the image forming apparatus according to the embodiment of the present invention.

画像形成装置において、生成されたビットマップデータのデータの並び順が、給紙される用紙に対して想定される印刷方向と一致しているかどうかを回転判断部により判断し、一致していない場合には画像回転部により当該ビットマップデータを90°、270°等の回転処理を行うことにより印刷を中止せずに継続する。   In the image forming apparatus, when the rotation determination unit determines whether the arrangement order of the generated bitmap data matches the assumed printing direction for the fed paper, and does not match In this case, the bit map data is rotated by 90 °, 270 ° or the like by the image rotation unit, and printing is continued without being stopped.

[印刷データの方向と給紙方向]
図1は、印刷データの方向と給紙方向について説明した表である。図1では、例としてA4用紙に印刷する場合について説明する。
[Print data direction and paper feed direction]
FIG. 1 is a table illustrating the print data direction and the paper feed direction. In FIG. 1, a case where printing is performed on A4 paper will be described as an example.

図1(A)にA4用紙にポートレート方向で生成される印刷データを図1(B)にA4用紙にランドスケープ方向で生成される印刷データを示す。   FIG. 1A shows print data generated on the A4 sheet in the portrait direction, and FIG. 1B shows print data generated on the A4 sheet in the landscape direction.

画像形成装置において印刷される際の給紙カセットの方向について、給紙方向(矢印Zによって表記)が用紙の長手方向と一致する通常の給紙方向を図1(C)に、一般にRと呼ばれる給紙方向が用紙の短手方向と一致するR方向の給紙方向を図1(F)に示す。図1(C)及び図1(F)には、それぞれの画面での画像データの並び順が矢印で示されている。印刷エンジンは、給紙方向に対し垂直な方向(主走査方向)に走査を行ってデータの描画を行い、給紙方向(副走査方向)に沿って次々に操作が繰り返される。よって、ビットマップ化された画像データは、これらの操作方向に従い順に画素データが並んでいる。これら画素データの並び順を図1(C)では矢印X、図1(F)では矢印Yで示す。   With respect to the direction of the paper feed cassette when printing is performed in the image forming apparatus, a normal paper feed direction in which the paper feed direction (indicated by arrow Z) coincides with the longitudinal direction of the paper is generally referred to as R in FIG. FIG. 1F shows a paper feed direction in the R direction in which the paper feed direction coincides with the short side direction of the paper. In FIG. 1C and FIG. 1F, the arrangement order of the image data on each screen is indicated by an arrow. The print engine performs scanning in a direction perpendicular to the paper feeding direction (main scanning direction) to draw data, and the operation is repeated one after another along the paper feeding direction (sub-scanning direction). Therefore, pixel data is arranged in order in the bitmapped image data in accordance with these operation directions. The arrangement order of these pixel data is indicated by an arrow X in FIG. 1C and by an arrow Y in FIG.

図1(D)では、印刷データの方向がポートレートであり、給紙方向が通常給紙で二つの方向が一致しているため、印刷データの回転無しに画像データの生成が行われて、画像データが印刷部に渡されて印刷が行われる。画素データの並び順を矢印Xdで表す。   In FIG. 1D, since the print data direction is portrait, the paper feed direction is normal paper feed, and the two directions match, image data is generated without rotation of the print data. The image data is transferred to the printing unit and printing is performed. The arrangement order of the pixel data is represented by an arrow Xd.

図1(E)では、印刷データの方向がランドスケープであり、給紙方向が通常給紙で二つの方向が一致していないため、印刷データを270°時計方向に回転させて(90°回転であってもよい)印刷データを画像データに変換して画像データの生成が行われて、画像データが印刷部に渡されて印刷が行われる。回転後の画素データの並び順を矢印Xeで表す。   In FIG. 1E, since the print data direction is landscape, the paper feed direction is normal paper feed and the two directions do not match, the print data is rotated 270 ° clockwise (by 90 ° rotation). The print data may be converted into image data to generate image data, and the image data is passed to the printing unit for printing. The arrangement order of the pixel data after rotation is represented by an arrow Xe.

図1(G)では、印刷データの方向がポートレートであり、給紙方向がR方向給紙で二つの方向が一致していないため、印刷データを270°時計方向に回転させて(90°回転であってもよい)印刷データを画像データに変換して画像データの生成が行われて、画像データが印刷部に渡されて印刷が行われる。回転後の画素データの並び順を矢印Ygで表す。   In FIG. 1G, since the print data direction is portrait, the paper feed direction is R direction paper feed, and the two directions do not match, the print data is rotated 270 ° clockwise (90 °). (It may be rotation) Print data is converted into image data, image data is generated, and the image data is passed to the printing unit for printing. The arrangement order of the pixel data after rotation is represented by an arrow Yg.

図1(H)では、印刷データの方向がランドスケープであり、給紙方向が通常給紙で二つの方向が一致して一致しているため、印刷データの回転無しに画像データの生成が行われて、画像データが印刷部に渡されて印刷が行われる。画素データの並び順を矢印Yhで表す。   In FIG. 1H, since the print data direction is landscape, the paper feed direction is normal paper feed, and the two directions match and match, image data is generated without rotation of the print data. Thus, the image data is transferred to the printing unit and printing is performed. The arrangement order of the pixel data is represented by an arrow Yh.

本発明実施例の画像形成装置では、画像形成装置の給紙カセットの給紙方向に合わせて一旦生成された画像データが、後に給紙カセットの給紙方向と一致しなくなってしまった場合に印刷を中止してしまうのではなく、画像データの回転処理を行うことにより、処理を中断することなく印刷を継続可能とする。   In the image forming apparatus according to the embodiment of the present invention, printing is performed when the image data once generated in accordance with the sheet feeding direction of the sheet feeding cassette of the image forming apparatus does not coincide with the sheet feeding direction of the sheet feeding cassette later. Rather than canceling, the image data is rotated, so that printing can be continued without interruption.

[構成]
画像形成装置の構成について以下に説明する。
[Constitution]
The configuration of the image forming apparatus will be described below.

図2は、本発明実施例の画像形成装置101の機能ブロック図である。   FIG. 2 is a functional block diagram of the image forming apparatus 101 according to the embodiment of the present invention.

画像形成装置101は、インタフェース部111、印刷データ受信部113、回転判断部115、画像回転部117、PDL−DL変換部119(画像データ変換部)、DL−BM変換部121(画像データ変換部)、給紙状態検知部123、給紙カセット部125(給紙部)、印刷部127の各機能ブロックを有する。   The image forming apparatus 101 includes an interface unit 111, a print data reception unit 113, a rotation determination unit 115, an image rotation unit 117, a PDL-DL conversion unit 119 (image data conversion unit), and a DL-BM conversion unit 121 (image data conversion unit). ), A paper feed state detection unit 123, a paper feed cassette unit 125 (paper feed unit), and a printing unit 127.

インタフェース部111は、PC(Personal Computer)などとの接続を行うインタフェース部である。PC等で生成された印刷データは、インタフェース部111により受信される。   The interface unit 111 is an interface unit that connects to a PC (Personal Computer) or the like. Print data generated by a PC or the like is received by the interface unit 111.

印刷データ受信部113は、前記インタフェース部111経由で印刷データを受信して蓄積する機能部である。印刷データは、通常ページ記述言語(PDL)で記載されている。   The print data receiving unit 113 is a functional unit that receives and accumulates print data via the interface unit 111. The print data is normally written in a page description language (PDL).

回転判断部115は、ページ記述言語で記載されている印刷データからビットマップ変換された生成された画像データが印刷部での給紙カセットの印刷方向に対して画像の回転処理が必要かどうかを判断する。   The rotation determination unit 115 determines whether image data generated by bitmap conversion from print data described in the page description language needs to be rotated with respect to the printing direction of the paper cassette in the printing unit. to decide.

画像回転部117は、前記回転判断部115が画像データの回転が必要と判断したときに画像データの回転を行う。回転は時計方向に90度の回転であっても良いし、270°の回転であってもよい。画像形成装置101の画像回転部117は、画像回転ハードウェアにより高速に画像の回転が可能となっている。   The image rotation unit 117 rotates image data when the rotation determination unit 115 determines that image data needs to be rotated. The rotation may be 90 ° clockwise or 270 °. The image rotation unit 117 of the image forming apparatus 101 can rotate an image at high speed by image rotation hardware.

PDL−DL変換部119(画像データ変換部)は、ページ記述言語(Page Description Language)で記載されている印刷データを中間言語であるディスプレイリスト(Display List)に変換する機能部である。   The PDL-DL conversion unit 119 (image data conversion unit) is a functional unit that converts print data described in a page description language into a display list that is an intermediate language.

DL−BM変換部121(画像データ変換部)は、中間言語であるディスプレイリスト(Display List)に変換されたデータを画像データであるビットマップデータ(Bit Map)に変換する機能部である。上記PDL−DL変換部119及びDL−BM変換部121の二つの機能部で画像データ変換部を構成し、印刷データからビットマップデータである画像データへの変換を行う。   The DL-BM converter 121 (image data converter) is a functional unit that converts data converted into an intermediate language display list (Display List) into bitmap data (Bit Map) as image data. The two functional units of the PDL-DL conversion unit 119 and the DL-BM conversion unit 121 constitute an image data conversion unit, which converts print data into image data that is bitmap data.

制御部122は、CPU(Central Processing Unit)と周辺制御回路を有し画像形成装置全体の制御を司る。画像形成装置101における障害発生の有無や、障害からの復帰状態を検知して、復帰しての印刷が可能であれば、印刷を再開するように印刷部127を制御する。   The control unit 122 has a central processing unit (CPU) and a peripheral control circuit, and controls the entire image forming apparatus. If the image forming apparatus 101 detects whether or not a failure has occurred and a return state from the failure, the printing unit 127 is controlled so that printing is resumed if printing after returning is possible.

給紙状態検知部123は、給紙カセット部125に給紙されている用紙のサイズや、給紙方向が通常方向(用紙の長手側が給紙方向)であるか、R方向(用紙の短手側が給紙方向)であるかどうか、給紙カセットの用紙の残量等を検知する。   The paper feed state detection unit 123 determines whether the size of the paper fed to the paper feed cassette unit 125, the paper feed direction is the normal direction (the long side of the paper is the paper feed direction), or the R direction (the paper short side). Whether the side is the paper feed direction), the remaining amount of paper in the paper feed cassette, and the like are detected.

給紙カセット部125(給紙部)は、印刷部127に給紙する用紙を貯留するための機能部である。   The paper feed cassette unit 125 (paper feed unit) is a functional unit for storing paper to be fed to the printing unit 127.

印刷部127は、印刷エンジンを有して画像データ(ビットマップデータ)を用紙に印刷を行う機能部である。   The printing unit 127 is a functional unit that has a print engine and prints image data (bitmap data) on paper.

[フローチャート]
本発明実施例の画像形成装置101の動作について、図3と図4のフローチャートを用いて説明する。
[flowchart]
The operation of the image forming apparatus 101 according to the embodiment of the present invention will be described with reference to the flowcharts of FIGS.

S11:画像形成装置101は、インタフェース部111を経由して、印刷データ受信部113にて印刷データを受信して蓄積する。   S11: The image forming apparatus 101 receives and accumulates print data in the print data receiving unit 113 via the interface unit 111.

S13:回転判断部115は、給紙状態検知部123が検知した給紙カセットの用紙の給紙方向の情報と、印刷データの印刷方向に基づいて画像データの回転処理が必要かどうかを判断する。   S13: The rotation determination unit 115 determines whether image data rotation processing is necessary based on the paper feed direction information of the paper feed cassette detected by the paper feed state detection unit 123 and the print direction of the print data. .

S15:S13の結果画像データの回転が必要であれば、動作をS17に移行する。画像データの回転が必要なければ動作をS16に移行する。   S15: If rotation of the result image data in S13 is necessary, the operation proceeds to S17. If it is not necessary to rotate the image data, the operation proceeds to S16.

S16:画像データの回転処理が必要無いので、受信した印刷データの印刷方向のまま、PDL−DL変換部119において、ページ記述言語(PDL)から中間言語であるディスプレイリスト(DL)に変換する。生成されたディスプレイリストをDL−BM変換部121において、ディスプレイリストからビットマップ(BM)データに変換する。   S16: Since there is no need to rotate the image data, the PDL-DL conversion unit 119 converts the page description language (PDL) to the display list (DL), which is an intermediate language, in the print direction of the received print data. In the DL-BM converter 121, the generated display list is converted from the display list into bitmap (BM) data.

S17:画像データの回転処理が必要であるので、S16と同様にPDL−DL変換部119においてのページ記述言語から中間言語への変換と、DL−BM変換部121においてのディスプレイリストからビットマップデータへの変換が行われるが、この際に画像データの回転処理を考慮に入れて変換が行われる。   S17: Since it is necessary to rotate the image data, the conversion from the page description language to the intermediate language in the PDL-DL converter 119 and the bitmap data from the display list in the DL-BM converter 121 are the same as in S16. In this case, the conversion is performed in consideration of the rotation processing of the image data.

S19:S16又はS17において変換されたビットマップデータが印刷部127に渡されて、印刷部127において印刷が行われる。   S19: The bitmap data converted in S16 or S17 is transferred to the printing unit 127, and printing is performed in the printing unit 127.

S21:印刷中に障害が発生したかどうかを判断する。障害とは、例えば紙詰まりや用紙切れなどにより印刷の継続ができない状態をいう。障害が発生した場合は動作をS25に移行する。障害が発生しない場合には動作をS23に移行する。   S21: It is determined whether a failure has occurred during printing. A failure refers to a state where printing cannot be continued due to, for example, a paper jam or out of paper. If a failure has occurred, the operation proceeds to S25. If no failure occurs, the operation proceeds to S23.

S23:障害が発生しなかったので、印刷は正常に終了する。   S23: Since no failure has occurred, printing ends normally.

S25:障害が発生したが、その障害を解消するための処理が行われる。これは、例えば前述の紙詰まりの場合には、ユーザが紙詰まり箇所から詰まっていた紙を取り除く処理である。   S25: A failure has occurred, but processing for eliminating the failure is performed. For example, in the case of the above-described paper jam, the user removes the jammed paper from the paper jam location.

S27:制御部122は、障害が解消されているか、印刷を再開できる状態に復帰しているかどうかを判断する。   S27: The control unit 122 determines whether the failure has been solved or the state has returned to a state where printing can be resumed.

S29:復帰していて印刷が可能であれば動作をS33(図4)に移行する。復帰が不可能であれば動作をS31に移行する。   S29: If printing is possible after returning, the operation proceeds to S33 (FIG. 4). If the return is impossible, the operation proceeds to S31.

S31:復帰しての印刷の継続が不可能であるので動作を終了(異常終了)する。   S31: Since the printing cannot be continued after returning, the operation is terminated (abnormal termination).

ここからフローチャートは後半部の図4に移る。   From here, the flowchart proceeds to the latter half of FIG.

S33:制御部122は、復帰しての印刷を継続するための画像データがすでに生成済みであるかどうかを判断する。すでに画像データが生成済みである場合は、動作をS35に移行する。画像データがいまだ生成されていない場合には動作をS13に移行する。S13に戻り再度印刷データと装置の給紙方向を確認して、印刷データを画像データに変換する過程より動作を繰り返す。   S33: The control unit 122 determines whether image data for continuing printing after returning has already been generated. If image data has already been generated, the operation proceeds to S35. If the image data has not yet been generated, the operation proceeds to S13. Returning to S13, the print data and the paper feeding direction of the apparatus are confirmed again, and the operation is repeated from the process of converting the print data into image data.

S35:回転判断部115は、給紙状態検知部123から給紙カセット部125に装着されている用紙の給紙方向の情報を取得し、すでに生成済みの画像データの回転処理が必要かどうかを判断する。画像データの回転が必要であれば動作をS37に移行する。画像データの回転が必要なければ動作をS39に移行する。回転判断部115は、障害からの復帰後、そのときの給紙の状態に応じて画像データの回転処理の必要性を判断するために、例えば、障害の解消処理を行った際に、用紙方向が90度回転する方向に挿入されたとしても、次ステップのS37での画像データの回転処理を行うことにより、再度の印刷データから画像データへの変換処理を行わずとも印刷が可能となる。   S35: The rotation determination unit 115 acquires information on the paper feed direction of the paper loaded in the paper feed cassette unit 125 from the paper feed state detection unit 123, and determines whether rotation processing of already generated image data is necessary. to decide. If the image data needs to be rotated, the operation proceeds to S37. If it is not necessary to rotate the image data, the operation proceeds to S39. For example, when the failure determination process is performed in order to determine the necessity of the rotation processing of the image data according to the state of paper feed at that time after the return from the failure, the rotation determination unit 115 performs the paper orientation. Is inserted in the direction rotated 90 degrees, the image data is rotated in the next step S37, so that printing can be performed without performing the conversion process from the print data to the image data again.

S37:画像回転部117により、画像データの回転処理が行われる。   S37: The image rotation unit 117 performs image data rotation processing.

S39:印刷部127において、画像データの印刷が行われる。その後、動作をS21に移行して、障害が発生しないかどうかを監視する。   S39: The printing unit 127 prints image data. Thereafter, the operation is shifted to S21 to monitor whether or not a failure occurs.

以上の一連の動作により、画像形成装置101は、印刷データを画像データに変換する際に、給紙カセットの給紙方向を判断して最適な変換処理を行い、また、印刷中に障害が発生した場合には、障害が解消されて印刷復帰時には、その時点での給紙カセットの給紙方向を判断して、画像データの回転処理が必要な場合には、回転処理を行って印刷することにより、再度の印刷データから画像データへの変換処理がなくとも高速に印刷を継続させることを可能とした。   Through the series of operations described above, the image forming apparatus 101 determines the paper feed direction of the paper feed cassette when performing conversion of print data into image data, and performs an optimal conversion process. In addition, a failure occurs during printing. In this case, when the trouble is resolved and the printing is resumed, the paper feeding direction of the paper feeding cassette at that time is judged, and if rotation processing of the image data is necessary, the rotation processing is performed and printing is performed. As a result, it is possible to continue printing at high speed even without conversion processing from print data to image data again.

[実施例の効果]
本発明実施例の画像形成装置により以下の効果が得られる。
[Effect of Example]
The following effects can be obtained by the image forming apparatus according to the embodiment of the present invention.

印刷データの印刷方向と給紙カセットの給紙方向が一致していなくとも印刷が可能となる。   Printing is possible even if the print direction of the print data does not match the paper feed direction of the paper feed cassette.

印刷データから変換されて、データの並び順がすでに決まっているビットマップデータである画像データが生成された場合であって、給紙カセットにある用紙の方向が当該画像データの画素データの並び順と一致しない場合であっても、回転判断部が画像回転が必要と判断して画像回転部により画像データの回転処理を行うことにより、再度の印刷データから画像データへの変換処理(一般にページ記述言語から中間言語を経てビットマップ画像へ変換する二段階の変換処理)を行なう必要なく、又印刷を中断することなく継続して印刷が可能となる。このため、印刷処理にかかる時間が短縮される。 This is a case where image data, which is bitmap data whose conversion order has already been determined after conversion from the print data, is generated, and the direction of the paper in the paper cassette is the order of the pixel data of the image data Even if the image data does not match, the rotation determination unit determines that image rotation is necessary, and the image rotation unit performs image data rotation processing, so that the conversion processing from print data to image data again (generally page description) There is no need to perform a two-stage conversion process from a language to an intermediate language into a bitmap image, and printing can be continued without interruption. For this reason, the time required for the printing process is shortened.

[その他]
実施例の画像形成装置では、画像回転ハードウェアを有する画像回転部117により、給紙カセットとの印刷方向の不一致時に必要な画像回転を高速に行うことが可能であるが、画像回転部117は、画像回転ハードウェアを有さずとも、ソフトウェアによる画像回転処理により画像回転を行う方法であってもよい。
[Others]
In the image forming apparatus of the embodiment, the image rotation unit 117 having image rotation hardware can perform image rotation necessary at a high speed when the printing direction with the paper feed cassette does not match. Alternatively, a method of performing image rotation by image rotation processing by software without using image rotation hardware may be used.

実施例では、片面印刷についての例を説明したが、両面印刷の場合にも本発明は応用可能であり、両面印刷時は給紙方向が異なることで、画像の回転度が表と裏で変わってくる場合があるが、その場合でも実施例のようにページ単位での処理を行い両面印刷に対応する。   In the embodiment, an example of single-sided printing has been described. However, the present invention can also be applied to double-sided printing, and the degree of image rotation changes between the front and back sides due to different feeding directions during double-sided printing. Even in this case, processing is performed in units of pages as in the embodiment, and double-sided printing is supported.

印刷データを生成するアプリケーションによっては、給紙カセットの給紙方向に関係なく印刷データの方向を所定の方向に設定してしまうものもあるが、そのような場合においても、画像形成装置101の回転判断部115が回転処理の必要・不要を判断して適切な動作を行う。   Some applications that generate print data may set the print data direction to a predetermined direction regardless of the paper feed direction of the paper feed cassette. The determination unit 115 determines the necessity / unnecessity of the rotation process and performs an appropriate operation.

給紙部として給紙カセットについて説明を行ったが、給紙カセット以外の手差し給紙部も同様に給紙部として含まれる。   Although the paper feed cassette has been described as the paper feed unit, a manual paper feed unit other than the paper feed cassette is also included as the paper feed unit.

画像回転部による画像の回転方向は、実施例中では90°及び270°について説明したが、180°の回転処理を行ってもよい。   Although the rotation direction of the image by the image rotation unit has been described with respect to 90 ° and 270 ° in the embodiment, 180 ° rotation processing may be performed.

101 画像形成装置
111 インタフェース部(I/F部)
113 印刷データ受信部
115 回転判断部
117 画像回転部
119 PDL−DL変換部(画像データ変換部)
121 DL−BM変換部(画像データ変換部)
122 制御部
123 給紙状態検知部
125 給紙カセット部(給紙部)
127 印刷部
101 Image forming apparatus 111 Interface unit (I / F unit)
113 Print Data Reception Unit 115 Rotation Judgment Unit 117 Image Rotation Unit 119 PDL-DL Conversion Unit (Image Data Conversion Unit)
121 DL-BM converter (image data converter)
122 Control unit 123 Paper feed state detection unit 125 Paper feed cassette unit (paper feed unit)
127 Printing Department

Claims (3)

印刷データをビットマップデータに変換する画像データ変換部と、
印刷される用紙を蓄えて給紙する給紙部と、
前記給紙部の用紙の方向を検出する給紙状態検知部と、
前記ビットマップデータを前記給紙部から前記用紙の供給を受けて印刷を行う印刷部とを有する画像形成装置であって、
前記ビットマップデータの変換前に前記給紙状態検知部が検出した用紙の方向と前記印刷データの印刷方向とに基づいて画像データの回転処理が必要かどうかを判断する回転判断部を備え、
前記画像データ変換部は、前記回転判断部により回転処理が必要と判断されたときは回転処理を考慮に入れた画素データの並び順で前記印刷データをビットマップデータへ変換処理し、
前記回転判断部は、前記画像データ変換部で回転処理を考慮に入れて変換されたビットマップデータの画素データの並び順が前記ビットマップデータの回転処理を考慮に入れた変換後に前記給紙状態検知部で検出された用紙の方向と一致しているか一致しないかをも判断し、
前記回転判断部が前記回転処理を考慮に入れて変換されたビットマップデータの画素データの並び順が前記給紙部から給紙された用紙の方向と一致しないと判断したときは、前記回転処理を考慮に入れて変換されたビットマップデータを回転させて前記用紙の方向と一致させる画像回転部を有する、
ことを特徴とする画像形成装置。
An image data converter for converting print data into bitmap data;
A paper feed unit for storing and feeding paper to be printed;
A paper feed state detection unit for detecting a paper direction of the paper feed unit;
An image forming apparatus having a printing unit that prints the bitmap data by receiving the paper supplied from the paper feeding unit;
A rotation determination unit that determines whether rotation processing of image data is necessary based on a paper direction detected by the paper feed state detection unit before the bitmap data conversion and a print direction of the print data;
The image data conversion unit converts the print data into bitmap data in the arrangement order of the pixel data taking the rotation process into consideration when the rotation determination unit determines that the rotation process is necessary,
The rotation determination unit is configured such that the arrangement order of the pixel data of the bitmap data converted in consideration of the rotation processing in the image data conversion unit is the paper feed state after conversion in consideration of the rotation processing of the bitmap data. Judge whether the paper direction detected by the detector matches or does not match,
When the rotation determination unit determines that the arrangement order of the pixel data of the bitmap data converted in consideration of the rotation processing does not match the direction of the sheet fed from the sheet feeding unit, the rotation processing An image rotation unit that rotates the converted bitmap data to take into account the direction of the paper,
An image forming apparatus.
請求項1の画像形成装置であって、
前記給紙状態検知部は、前記印刷部が障害による停止後に復帰したとき前記検出を行い、
前記回転判断部は、前記印刷部が障害による停止後に復帰し前記給紙状態検知部が前記検出を行ったとき前記画像データ変換部で回転処理を考慮に入れて変換されたビットマップデータの画素データの並び順が前記復帰したとき前記給紙状態検知部で検出された用紙の方向と一致しているか一致しないかをも判断する、
ことを特徴とする画像形成装置。
The image forming apparatus according to claim 1,
The paper feed state detection unit performs the detection when the printing unit returns after being stopped due to a failure,
The rotation determination unit is a pixel of bitmap data converted in consideration of rotation processing by the image data conversion unit when the printing unit returns after being stopped due to a failure and the paper feed state detection unit performs the detection. It is also determined whether or not the data arrangement order matches or does not match the paper direction detected by the paper feed state detection unit when the return is made .
An image forming apparatus.
請求項1又は2の画像形成装置であって、
前記画像回転部は、画像回転ハードウェアにより前記回転処理を考慮に入れて変換されたビットマップデータの回転処理を行う
ことを特徴とする画像形成装置。
The image forming apparatus according to claim 1, wherein:
The image forming apparatus, wherein the image rotation unit performs rotation processing of bitmap data converted by image rotation hardware in consideration of the rotation processing.
JP2009018681A 2009-01-29 2009-01-29 Image forming apparatus Expired - Fee Related JP5097722B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2009018681A JP5097722B2 (en) 2009-01-29 2009-01-29 Image forming apparatus
US12/615,431 US8705087B2 (en) 2009-01-29 2009-11-10 Image forming apparatus and image forming method for rotating image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009018681A JP5097722B2 (en) 2009-01-29 2009-01-29 Image forming apparatus

Publications (2)

Publication Number Publication Date
JP2010178078A JP2010178078A (en) 2010-08-12
JP5097722B2 true JP5097722B2 (en) 2012-12-12

Family

ID=42708582

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009018681A Expired - Fee Related JP5097722B2 (en) 2009-01-29 2009-01-29 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP5097722B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7115191B2 (en) * 2018-09-28 2022-08-09 ブラザー工業株式会社 printer and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05270097A (en) * 1992-03-30 1993-10-19 Canon Inc Method and apparatus for printing
JPH09127742A (en) * 1995-10-30 1997-05-16 Ricoh Co Ltd Image forming device
JP3548321B2 (en) * 1996-03-05 2004-07-28 キヤノン株式会社 Image processing method and apparatus
JP3760789B2 (en) * 2001-05-02 2006-03-29 村田機械株式会社 Image forming apparatus

Also Published As

Publication number Publication date
JP2010178078A (en) 2010-08-12

Similar Documents

Publication Publication Date Title
US7983585B2 (en) Printing apparatus and printing method
US20110242584A1 (en) Printing apparatus, control method thereof and storage medium
US8848204B2 (en) Image forming apparatus that prints an image on a recording medium set for manual feed
US9946503B2 (en) Image data generation device with raster image processor
JP5097722B2 (en) Image forming apparatus
JP2013111753A (en) Image forming apparatus, controlling method of image forming apparatus, and program
JP5097723B2 (en) Image forming apparatus
JP2018074517A (en) Image forming apparatus
JP5664587B2 (en) Image forming system and program
JP5562113B2 (en) Image forming apparatus
US8705087B2 (en) Image forming apparatus and image forming method for rotating image data
US9239973B1 (en) Image forming apparatus and non-transitory computer readable medium storing program
JP6062409B2 (en) Image forming apparatus and image forming method
JP2009129255A (en) Image forming system
JP2008292921A (en) Image forming apparatus
JP2007331324A (en) Image forming apparatus and image formation program
JP5188196B2 (en) Paper transport device, paper transport method, and paper transport program for image forming apparatus
JP4793272B2 (en) Image processing apparatus and test control method
JP2008173869A (en) Image processing apparatus and test controlling method
JP4848778B2 (en) Image forming apparatus
JP5858132B2 (en) Image forming apparatus and program
JP2008085450A (en) Image forming apparatus
JP2007331323A (en) Image forming apparatus and image forming program
JP2014168882A (en) Printer, printer control method and printer control program
JP2007168300A (en) Image forming apparatus and inspection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110421

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120309

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120321

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120612

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120808

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: 20120828

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120924

R150 Certificate of patent or registration of utility model

Ref document number: 5097722

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150928

Year of fee payment: 3

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120518

LAPS Cancellation because of no payment of annual fees