[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP6735241B2 - Information processing apparatus, image forming apparatus, and image forming method - Google Patents

Information processing apparatus, image forming apparatus, and image forming method Download PDF

Info

Publication number
JP6735241B2
JP6735241B2 JP2017026845A JP2017026845A JP6735241B2 JP 6735241 B2 JP6735241 B2 JP 6735241B2 JP 2017026845 A JP2017026845 A JP 2017026845A JP 2017026845 A JP2017026845 A JP 2017026845A JP 6735241 B2 JP6735241 B2 JP 6735241B2
Authority
JP
Japan
Prior art keywords
page
pages
logical
unit
logical page
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.)
Active
Application number
JP2017026845A
Other languages
Japanese (ja)
Other versions
JP2018055666A (en
Inventor
光剛 白坂
光剛 白坂
加藤 寛
寛 加藤
Original Assignee
株式会社沖データ
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 株式会社沖データ filed Critical 株式会社沖データ
Priority to US15/709,428 priority Critical patent/US10235106B2/en
Publication of JP2018055666A publication Critical patent/JP2018055666A/en
Application granted granted Critical
Publication of JP6735241B2 publication Critical patent/JP6735241B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Description

本発明は、印刷データを生成する情報処理装置、画像を形成する画像形成装置、画像を形成する画像形成方法、および画像を形成する画像形成システムに関する。 The present invention relates to an information processing apparatus that generates print data, an image forming apparatus that forms an image, an image forming method that forms an image, and an image forming system that forms an image.

画像形成装置には、A3やA4のような標準化されたサイズの記録媒体に加え、一方向に長い記録媒体に対しても印刷可能に構成されたものがある。例えば、特許文献1には、長尺印刷を行うことができる画像形成装置が開示されている。また、例えば、特許文献2には、ラベルロール紙に画像を形成しつつ、ラベルロール紙を切断する画像形成装置が開示されている。 2. Description of the Related Art Some image forming apparatuses are configured to print on recording media of standard size such as A3 and A4, as well as recording media long in one direction. For example, Patent Document 1 discloses an image forming apparatus capable of long-length printing. Further, for example, Patent Document 2 discloses an image forming apparatus that cuts a label roll paper while forming an image on the label roll paper.

特開2003−11466号公報JP, 2003-11466, A 特開2016−132203号公報JP, 2016-132203, A

ところで、画像形成装置では、記録媒体を無駄にせず有効に利用できることが望まれている。 By the way, it is desired that the image forming apparatus can effectively use the recording medium without wasting it.

記録媒体を有効に利用することができる情報処理装置、画像形成装置、および画像形成方法を提供することが望ましい。 The information processing apparatus capable of effectively utilizing the recording medium, the image forming apparatus, and it is desirable to provide an image forming how.

本発明の一実施の形態における情報処理装置は、生成部と、通信部とを備えている。生成部は、それぞれが複数のページを含む複数の論理ページを生成する論理ページ生成部と、複数の論理ページのうちの1以上の論理ページに含まれる複数のページのページ数を調節する調節部とを有し、複数の論理ページを含む画像データを生成するものである。通信部は、論理ページを基準として記録媒体を切断可能であり、論理ページを基準として、記録媒体の搬送路に配置された媒体センサの検出結果を利用して論理ページの書き出し位置を補正することにより、記録媒体に画像を形成する画像形成装置に、画像データを送信するものである。上記生成部は、記録媒体の切断間隔におけるページ数を示す切断ページ数を、論理ページを構成するページの数の初期設定値で除算することにより得られた剰余を、端数ページ数として算出する。調節部は、端数ページ数を、1以上の論理ページに分配することにより、1以上の論理ページに含まれる複数のページのページ数を調節する。 The information processing device according to the embodiment of the present invention includes a generation unit and a communication unit. The generation unit is a logical page generation unit that generates a plurality of logical pages each including a plurality of pages, and an adjustment unit that adjusts the number of pages included in one or more logical pages of the plurality of logical pages. And generating image data including a plurality of logical pages. The communication unit can disconnect the recording medium based on the logical page, and corrects the writing position of the logical page by using the detection result of the medium sensor arranged on the transport path of the recording medium based on the logical page. Thus , the image data is transmitted to the image forming apparatus that forms the image on the recording medium. The generation unit calculates, as a fractional page number, a remainder obtained by dividing the number of cut pages indicating the number of pages in the cutting interval of the recording medium by the initial setting value of the number of pages forming the logical page. The adjustment unit adjusts the number of pages included in one or more logical pages by distributing the fractional page number to one or more logical pages.

本発明の一実施の形態における画像形成装置は、生成部と、切断部と、媒体センサと、画像形成部とを備えている。生成部は、それぞれが複数のページを含む複数の論理ページを生成する論理ページ生成部と、複数の論理ページのうちの1以上の論理ページに含まれる複数のページのページ数を調節する調節部とを有し、複数の論理ページを含む画像データを生成するものである。切断部は、論理ページを基準として記録媒体を切断可能なものである。媒体センサは、記録媒体の搬送路に配置され、記録媒体を検出するものである。画像形成部は、画像データに基づいて、論理ページを基準として、媒体センサの検出結果を利用して論理ページの書き出し位置を補正することにより、記録媒体に画像を形成するものである。上記生成部は、記録媒体の切断間隔におけるページ数を示す切断ページ数を、論理ページを構成するページの数の初期設定値で除算することにより得られた剰余を、端数ページ数として算出する。調節部は、端数ページ数を、1以上の論理ページに分配することにより、1以上の論理ページに含まれる複数のページのページ数を調節する。 An image forming apparatus according to an embodiment of the present invention includes a generation unit, a cutting unit, a medium sensor, and an image forming unit. The generation unit is a logical page generation unit that generates a plurality of logical pages each including a plurality of pages, and an adjustment unit that adjusts the number of pages included in one or more logical pages of the plurality of logical pages. And generating image data including a plurality of logical pages. The cutting unit can cut the recording medium based on the logical page. The medium sensor is arranged on the conveyance path of the recording medium and detects the recording medium. The image forming unit forms an image on a recording medium by correcting the writing position of the logical page based on the image data and using the detection result of the medium sensor with the logical page as a reference. The generation unit calculates, as a fractional page number, a remainder obtained by dividing the number of cut pages indicating the number of pages in the cutting interval of the recording medium by the initial setting value of the number of pages forming the logical page. The adjustment unit adjusts the number of pages included in one or more logical pages by distributing the fractional page number to one or more logical pages.

本発明の一実施の形態における画像形成方法は、生成部に、それぞれが複数のページを含む複数の論理ページを生成するとともに、複数の論理ページのうちの1以上の論理ページに含まれる複数のページのページ数を調節することにより、複数の論理ページを含む画像データを生成することと、論理ページを基準として記録媒体を切断することと画像データに基づいて、論理ページを基準として、記録媒体の搬送路に配置された媒体センサの検出結果を利用して論理ページの書き出し位置を補正することにより、記録媒体に画像を形成することとを含む複数のページのページ数を調節することは、記録媒体の切断間隔におけるページ数を示す切断ページ数を、論理ページを構成するページの数の初期設定値で除算することにより得られた剰余を、端数ページ数として算出することと、端数ページ数を、1以上の論理ページに分配することにより、1以上の論理ページに含まれる複数のページのページ数を調節することとを含む。 The image forming method according to an embodiment of the present invention, the generator, with each of which generates a plurality of logical pages including a plurality of pages, the plurality included in one or more logical pages of a plurality of logical pages by adjusting the number of pages of the page, and generating image data including a plurality of logical pages, and cutting the recording medium body based on the logical pages, based on the image data, based on the logical page, Forming an image on the recording medium by correcting the write start position of the logical page using the detection result of the medium sensor arranged on the conveyance path of the recording medium. Adjusting the number of pages of the plurality of pages, the cutting page number indicating the number of pages in the cutting interval of the recording medium, the remainder obtained by dividing the initial value of the number of pages constituting the logical page, It includes calculating as a fractional page number and adjusting the page number of a plurality of pages included in one or more logical pages by distributing the fractional page number to one or more logical pages.

本発明の一実施の形態における情報処理装置、画像形成装置、および画像形成方法によれば、複数の論理ページのうちの1以上の論理ページに含まれる複数のページのページ数を調節するようにしたので、記録媒体を有効に利用することができる。 According to the information processing apparatus, the image forming apparatus, and the image forming method of the embodiment of the present invention, the number of pages included in one or more logical pages among the plurality of logical pages is adjusted. Therefore, the recording medium can be effectively used.

一実施の形態に係る画像形成装置の一構成例を表す説明図である。FIG. 3 is an explanatory diagram illustrating a configuration example of an image forming apparatus according to an embodiment. 図1に示した記録媒体の一構成例を表す説明図である。FIG. 3 is an explanatory diagram illustrating a configuration example of the recording medium illustrated in FIG. 1. 図1に示した媒体センサ13の一構成例を表す説明図である。It is explanatory drawing showing the example of 1 structure of the medium sensor 13 shown in FIG. 図1に示した画像形成装置における制御機構の一構成例を表すブロック図である。FIG. 3 is a block diagram showing a configuration example of a control mechanism in the image forming apparatus shown in FIG. 1. 一実施の形態に係るホストコンピュータの一構成例を表すブロック図である。FIG. 1 is a block diagram showing a configuration example of a host computer according to an embodiment. 第1の実施の形態に係るホストコンピュータにおけるソフトウェア構成の一例を表すブロック図である。3 is a block diagram showing an example of a software configuration in a host computer according to the first embodiment. FIG. 印刷設定画面の一例を表す説明図である。FIG. 9 is an explanatory diagram illustrating an example of a print setting screen. 図6に示したプリンタドライバの一動作例を表すフローチャートである。7 is a flowchart showing an operation example of the printer driver shown in FIG. 6. 図6に示したプリンタドライバの一動作例を表す他のフローチャートである。7 is another flowchart showing an operation example of the printer driver shown in FIG. 6. 図6に示したプリンタドライバの一動作例を表す説明図である。FIG. 7 is an explanatory diagram illustrating an operation example of the printer driver illustrated in FIG. 6. 比較例に係るプリンタドライバの一動作例を表す説明図である。FIG. 9 is an explanatory diagram illustrating an operation example of a printer driver according to a comparative example. 第1の実施の形態の変形例に係る記録媒体の一構成例を表す説明図である。FIG. 9 is an explanatory diagram illustrating a configuration example of a recording medium according to a modified example of the first embodiment. 第1の実施の形態の他の変形例に係るプリンタドライバの一動作例を表す説明図である。FIG. 11 is an explanatory diagram illustrating an operation example of a printer driver according to another modification of the first embodiment. 第1の実施の形態の他の変形例に係るプリンタドライバの一動作例を表す説明図である。FIG. 11 is an explanatory diagram illustrating an operation example of a printer driver according to another modification of the first embodiment. 第1の実施の形態の他の変形例に係るホストコンピュータにおけるソフトウェア構成の一例を表すブロック図である。FIG. 16 is a block diagram showing an example of a software configuration in a host computer according to another modification of the first embodiment. 第1の実施の形態の他の変形例に係る画像形成装置における制御機構の一構成例を表すブロック図である。FIG. 9 is a block diagram illustrating a configuration example of a control mechanism in an image forming apparatus according to another modification of the first embodiment. 第2の実施の形態に係るホストコンピュータにおけるソフトウェア構成の一例を表すブロック図である。It is a block diagram showing an example of a software configuration in a host computer according to the second embodiment. 図17に示したプリンタドライバの一動作例を表すフローチャートである。18 is a flowchart showing an operation example of the printer driver shown in FIG. 図17に示したプリンタドライバの一動作例を表す説明図である。FIG. 18 is an explanatory diagram illustrating an operation example of the printer driver illustrated in FIG. 17. 図6に示したプリンタドライバの他の動作例を表す説明図である。FIG. 7 is an explanatory diagram illustrating another operation example of the printer driver illustrated in FIG. 6. 第3の実施の形態に係る画像形成システムの一構成例を表すブロック図である。It is a block diagram showing an example of 1 composition of an image forming system concerning a 3rd embodiment. 図21に示したホストコンピュータにおけるソフトウェア構成の一例を表すブロック図である。22 is a block diagram showing an example of a software configuration in the host computer shown in FIG. 21. FIG. 図22に示したプリンタドライバの一動作例を表すフローチャートである。23 is a flowchart showing an operation example of the printer driver shown in FIG. 22. 図22に示したプリンタドライバの一動作例を表す説明図である。FIG. 23 is an explanatory diagram illustrating an operation example of the printer driver illustrated in FIG. 22. 図21に示した処理部の一動作例を表すフローチャートである。22 is a flowchart illustrating an operation example of the processing unit illustrated in FIG. 図21に示した処理部の一動作例を表す説明図である。FIG. 22 is an explanatory diagram illustrating an operation example of a processing unit illustrated in FIG. 21. 変形例に係るプリンタドライバの一動作例を表す説明図である。FIG. 11 is an explanatory diagram illustrating an operation example of a printer driver according to a modification.

以下、本発明の実施の形態について、図面を参照して詳細に説明する。なお、説明は以下の順序で行う。
1.第1の実施の形態
2.第2の実施の形態
3.第3の実施の形態
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The description will be given in the following order.
1. First embodiment 2. Second embodiment 3. Third embodiment

<1.第1の実施の形態>
[構成例]
図1は、本発明の第1の実施の形態に係る情報処理装置(ホストコンピュータ2)から送信された印刷データDPに基づいて画像を形成する画像形成装置(画像形成装置1)の一構成例を表すものである。画像形成装置1は、例えば、いわゆるロール紙からなる記録媒体に対して、電子写真方式を用いて画像を形成するプリンタである。画像形成装置1は、媒体供給部10と、画像形成部20とを備えている。
<1. First Embodiment>
[Example of configuration]
FIG. 1 is a configuration example of an image forming apparatus (image forming apparatus 1) that forms an image based on print data DP transmitted from an information processing apparatus (host computer 2) according to the first embodiment of the present invention. It represents. The image forming apparatus 1 is, for example, a printer that forms an image on a recording medium made of so-called roll paper by using an electrophotographic method. The image forming apparatus 1 includes a medium supply unit 10 and an image forming unit 20.

媒体供給部10は、記録媒体9が巻かれたロールから、記録媒体9を引き出して画像形成部20に供給するものである。この記録媒体9は、ラベルを作成するためのものである。 The medium supply unit 10 pulls out the recording medium 9 from the roll around which the recording medium 9 is wound and supplies the recording medium 9 to the image forming unit 20. This recording medium 9 is for creating a label.

図2は、画像形成部20に供給される記録媒体9の一構成例を表すものである。記録媒体9は、複数のラベル9aと、台紙9bとを有している。ラベル9aは、台紙9bからはがして、様々なものに貼り付けることができるものである。複数のラベル9aは、記録媒体9の長手方向に並設されている。 FIG. 2 illustrates a configuration example of the recording medium 9 supplied to the image forming unit 20. The recording medium 9 has a plurality of labels 9a and a mount 9b. The label 9a can be peeled off from the mount 9b and attached to various things. The plurality of labels 9a are arranged side by side in the longitudinal direction of the recording medium 9.

画像形成装置1は、ラベル9aのそれぞれに画像を形成する。ラベル9aのそれぞれは、ページPPに対応している。そして、画像形成装置1は、複数のページPPからなる論理ページLPを基準として画像形成動作を行う。すなわち、画像形成装置1は、媒体センサ13(後述)の検出結果に基づいて、記録媒体9における、論理ページLPのそれぞれの書き出し位置を補正しつつ、画像形成動作を行う。そして、画像形成装置1は、論理ページLPを基準として、記録媒体9を切断可能に構成されている。この論理ページLPの搬送方向Fにおける長さ(論理ページ長LLP)は、画像形成装置1が搬送することができる記録媒体9の長さの最小値(最小媒体長LMIN)よりも長くなるように設定される。 The image forming apparatus 1 forms an image on each of the labels 9a. Each of the labels 9a corresponds to the page PP. Then, the image forming apparatus 1 performs the image forming operation with the logical page LP including the plurality of pages PP as a reference. That is, the image forming apparatus 1 performs the image forming operation while correcting each writing position of the logical page LP on the recording medium 9 based on the detection result of the medium sensor 13 (described later). Then, the image forming apparatus 1 is configured to be able to cut the recording medium 9 based on the logical page LP. The length of the logical page LP in the transport direction F (logical page length LLP) is set to be longer than the minimum value of the length of the recording medium 9 that can be transported by the image forming apparatus 1 (minimum medium length LMIN). Is set.

媒体供給部10(図1)は、媒体センサ11と、媒体供給ローラ12と、媒体センサ13と、搬送ローラ14と、切断部15と、搬送ローラ16とを有している。これらの部材は、搬送路8に沿って、搬送方向Fにこの順で配置されている。 The medium supply unit 10 (FIG. 1) includes a medium sensor 11, a medium supply roller 12, a medium sensor 13, a conveyance roller 14, a cutting unit 15, and a conveyance roller 16. These members are arranged in this order in the transport direction F along the transport path 8.

媒体センサ11は、記録媒体9が搬送路8に供給されていることを検出するものである。媒体供給ローラ12は、搬送路8を挟む1対のローラにより構成されるものであり、記録媒体9を搬送路8に沿って搬送するものである。媒体センサ13は、記録媒体9におけるラベル9aを検出するものである。 The medium sensor 11 detects that the recording medium 9 is supplied to the transport path 8. The medium supply roller 12 is composed of a pair of rollers that sandwich the conveyance path 8 and conveys the recording medium 9 along the conveyance path 8. The medium sensor 13 detects the label 9a on the recording medium 9.

図3は、媒体センサ13の一構成例を表すものである。媒体センサ13は、センサユニット13a,13bを有している。センサユニット13aは、記録媒体9のラベル9aが貼り付けられたラベル面に対向するように配置され、センサユニット13bは、記録媒体9を挟んでセンサユニット13aと対向するように配置されている。 FIG. 3 illustrates a configuration example of the medium sensor 13. The medium sensor 13 has sensor units 13a and 13b. The sensor unit 13a is arranged so as to face the label surface of the recording medium 9 to which the label 9a is attached, and the sensor unit 13b is arranged so as to face the sensor unit 13a with the recording medium 9 interposed therebetween.

センサユニット13aは、受光部131aを有しており、センサユニット13bは、発光部131bを有している。発光部131bおよび受光部131aは、透過センサ131を構成している。この透過センサ131では、発光部131bから射出した光が、例えば記録媒体9を透過し、受光部131aにおいて受光される。その際、記録媒体9におけるラベル9aの有無に応じて、受光部131aが受光する光の強度が異なる。これにより、媒体センサ13は、ラベル9aを検出することができるようになっている。 The sensor unit 13a has a light receiving part 131a, and the sensor unit 13b has a light emitting part 131b. The light emitting section 131b and the light receiving section 131a form a transmission sensor 131. In the transmission sensor 131, the light emitted from the light emitting unit 131b passes through the recording medium 9 and is received by the light receiving unit 131a. At that time, the intensity of the light received by the light receiving unit 131a differs depending on the presence or absence of the label 9a on the recording medium 9. Thereby, the medium sensor 13 can detect the label 9a.

また、センサユニット13bは、反射センサ132を有している。この反射センサ132は、発光部132bおよび受光部132aを含んで構成される。この反射センサ132では、発光部132bから射出した光が、例えば記録媒体9により反射され、受光部132aにおいて受光される。その際、例えば、記録媒体9の台紙9bの裏面に、ラベル9aの位置を示すマーカが印刷されている場合には、このマーカの有無に応じて、受光部131aが受光する光の強度が異なる。これにより、媒体センサ13は、ラベル9aを検出することができるようになっている。 Further, the sensor unit 13b has a reflection sensor 132. The reflection sensor 132 includes a light emitting portion 132b and a light receiving portion 132a. In the reflection sensor 132, the light emitted from the light emitting section 132b is reflected by, for example, the recording medium 9 and received by the light receiving section 132a. At this time, for example, when a marker indicating the position of the label 9a is printed on the back surface of the mount 9b of the recording medium 9, the intensity of light received by the light receiving unit 131a differs depending on the presence or absence of this marker. .. Thereby, the medium sensor 13 can detect the label 9a.

搬送ローラ14は、搬送路8を挟む1対のローラにより構成されるものであり、記録媒体9を搬送路8に沿って搬送するものである。切断部15は、記録媒体9を切断するものである。搬送ローラ16は、搬送路8を挟む1対のローラにより構成されるものであり、記録媒体9を搬送路8に沿って画像形成部20に向かって搬送するものである。 The transport roller 14 is composed of a pair of rollers that sandwich the transport path 8 and transports the recording medium 9 along the transport path 8. The cutting unit 15 cuts the recording medium 9. The transport roller 16 is composed of a pair of rollers that sandwich the transport path 8 and transports the recording medium 9 toward the image forming unit 20 along the transport path 8.

画像形成部20(図1)は、媒体供給部10から供給された記録媒体9に画像を形成するものである。画像形成部20は、搬送ローラ31と、4つの現像部21(現像部21Y,21M,21C,21K)と、4つの露光部22(露光部22Y,22M,22C,22K)と、4つの1次転写ローラ23(1次転写ローラ23Y,23M,23C,23K)と、転写ベルト29と、ドライブローラ24と、アイドルローラ25と、2次転写バックアップローラ26と、2次転写ローラ27と、逆屈曲ローラ28と、定着部32と、排出ローラ33とを有している。 The image forming unit 20 (FIG. 1) forms an image on the recording medium 9 supplied from the medium supply unit 10. The image forming unit 20 includes a transport roller 31, four developing units 21 (developing units 21Y, 21M, 21C, 21K), four exposing units 22 (exposure units 22Y, 22M, 22C, 22K), and four ones. Next transfer roller 23 (primary transfer rollers 23Y, 23M, 23C, 23K), transfer belt 29, drive roller 24, idle roller 25, secondary transfer backup roller 26, secondary transfer roller 27, and reverse The bending roller 28, the fixing unit 32, and the discharge roller 33 are included.

搬送ローラ31は、搬送路8を挟む1対のローラにより構成されるものであり、記録媒体9を、搬送路8に沿って、2次転写バックアップローラ26および2次転写ローラ27からなる2次転写部に向かって搬送するものである。 The transport roller 31 is configured by a pair of rollers that sandwich the transport path 8 and is configured to transfer the recording medium 9 along the transport path 8 from a secondary transfer backup roller 26 and a secondary transfer roller 27. The sheet is conveyed toward the transfer section.

4つの現像部21は、トナー像をそれぞれ形成するものである。具体的には、現像部21Yは黄色のトナー像を形成するものであり、現像部21Mはマゼンタ色のトナー像を形成するものであり、現像部21Cはシアン色のトナー像を形成するものであり、現像部21Kは黒色のトナー像を形成するものである。各現像部21は、例えば、着脱可能に構成されている。各現像部21は、感光体を有している。この感光体には、露光部22により露光されることにより静電潜像が形成され、その後に現像剤が供給されることによりトナー像が形成されるようになっている。 The four developing units 21 form toner images, respectively. Specifically, the developing unit 21Y forms a yellow toner image, the developing unit 21M forms a magenta toner image, and the developing unit 21C forms a cyan toner image. The developing unit 21K forms a black toner image. Each developing unit 21 is configured to be removable, for example. Each developing unit 21 has a photoconductor. An electrostatic latent image is formed on the photoconductor by being exposed by the exposure unit 22, and then a toner image is formed by supplying a developer.

4つの露光部22は、4つの現像部21の感光体をそれぞれ露光する部材である。具体的には、露光部22Yは現像部21Yの感光体を露光し、露光部22Mは現像部21Mの感光体を露光し、露光部22Cは現像部21Cの感光体を露光し、露光部22Kは現像部21Kの感光体を露光するようになっている。 The four exposure units 22 are members that expose the photoconductors of the four development units 21, respectively. Specifically, the exposure unit 22Y exposes the photoconductor of the development unit 21Y, the exposure unit 22M exposes the photoconductor of the development unit 21M, the exposure unit 22C exposes the photoconductor of the development unit 21C, and the exposure unit 22K. Exposes the photoconductor of the developing section 21K.

4つの1次転写ローラ23は、4つの現像部21により形成されたトナー像を、転写ベルト29の被転写面上に静電的にそれぞれ転写するための部材である。1次転写ローラ23Yは、転写ベルト29を介して現像部21Yの感光体に対向配置され、1次転写ローラ23Mは、転写ベルト29を介して現像部21Mの感光体に対向配置され、1次転写ローラ23Cは、転写ベルト29を介して現像部21Cの感光体に対向配置され、1次転写ローラ23Kは、転写ベルト29を介して現像部21Kの感光体に対向配置されている。1次転写ローラ23のそれぞれには、所定の転写電圧VTR1が印加される。これにより、画像形成装置1では、現像部21のそれぞれにより形成されたトナー像が、転写ベルト29の被転写面上に転写(1次転写)されるようになっている。 The four primary transfer rollers 23 are members for electrostatically transferring the toner images formed by the four developing units 21 onto the transfer surface of the transfer belt 29. The primary transfer roller 23Y is arranged to face the photoconductor of the developing section 21Y via the transfer belt 29, and the primary transfer roller 23M is arranged to face the photoconductor of the developing section 21M via the transfer belt 29. The transfer roller 23C is arranged to face the photoconductor of the developing section 21C via the transfer belt 29, and the primary transfer roller 23K is arranged to face the photoconductor of the developing section 21K via the transfer belt 29. A predetermined transfer voltage VTR1 is applied to each of the primary transfer rollers 23. As a result, in the image forming apparatus 1, the toner image formed by each of the developing units 21 is transferred (primary transfer) onto the transfer surface of the transfer belt 29.

転写ベルト29は、例えば、高抵抗の半導電性プラスチックフィルムにより構成される、無端の弾性ベルトである。転写ベルト29は、ドライブローラ24、アイドルローラ25、2次転写バックアップローラ26、および逆屈曲ローラ28によって張設(張架)されている。そして、転写ベルト29は、ドライブローラ24の回転に応じて、循環回転するようになっている。 The transfer belt 29 is an endless elastic belt made of, for example, a high-resistance semiconductive plastic film. The transfer belt 29 is stretched (stretched) by a drive roller 24, an idle roller 25, a secondary transfer backup roller 26, and a reverse bending roller 28. The transfer belt 29 is circulated and rotated according to the rotation of the drive roller 24.

ドライブローラ24は、転写ベルト29を循環回転させるものである。この例では、ドライブローラ24は、転写ベルト29の搬送方向Aにおいて、4つの現像部21の上流側に配置され、図示しない転写ベルトモータから伝達された動力により、この例では右回りで回転する。これにより、ドライブローラ24は、転写ベルト29を循環回転させるようになっている。 The drive roller 24 circulates and rotates the transfer belt 29. In this example, the drive roller 24 is arranged on the upstream side of the four developing units 21 in the transport direction A of the transfer belt 29, and is rotated clockwise in this example by the power transmitted from a transfer belt motor (not shown). .. As a result, the drive roller 24 circulates and rotates the transfer belt 29.

アイドルローラ25は、転写ベルト29の循環回転に応じて、この例では右回りで従動回転するものである。この例では、アイドルローラ25は、転写ベルト29の搬送方向Aにおいて、4つの現像部21の下流側に配置されている。 The idle roller 25 is driven to rotate clockwise in this example in accordance with the circulating rotation of the transfer belt 29. In this example, the idle roller 25 is arranged on the downstream side of the four developing units 21 in the transport direction A of the transfer belt 29.

2次転写バックアップローラ26は、転写ベルト29の循環回転に応じて、この例では右回りで従動回転するものである。2次転写バックアップローラ26は、搬送路8および転写ベルト29を挟んで、2次転写ローラ27と対向配置されている。 The secondary transfer backup roller 26 is driven to rotate clockwise in this example in accordance with the circulation rotation of the transfer belt 29. The secondary transfer backup roller 26 is arranged to face the secondary transfer roller 27 with the transport path 8 and the transfer belt 29 interposed therebetween.

2次転写ローラ27は、転写ベルト29の被転写面上のトナー像を、記録媒体9のラベル9aに転写するための部材である。2次転写ローラ27は、搬送路8および転写ベルト29を挟んで、2次転写バックアップローラ26に対向配置されている。この2次転写ローラ27には、所定の転写電圧VTR2が印加される。これにより、画像形成装置1では、転写ベルト29の被転写面上のトナー像が、記録媒体9のラベル9aに転写(2次転写)されるようになっている。 The secondary transfer roller 27 is a member for transferring the toner image on the transfer surface of the transfer belt 29 to the label 9 a of the recording medium 9. The secondary transfer roller 27 is arranged to face the secondary transfer backup roller 26 with the transport path 8 and the transfer belt 29 interposed therebetween. A predetermined transfer voltage VTR2 is applied to the secondary transfer roller 27. As a result, in the image forming apparatus 1, the toner image on the transfer surface of the transfer belt 29 is transferred (secondarily transferred) to the label 9a of the recording medium 9.

逆屈曲ローラ28は、転写ベルト29を挟む1対のローラにより構成されるものであり、転写ベルト29の循環回転に応じて、従動回転するものである。 The reverse bending roller 28 is composed of a pair of rollers sandwiching the transfer belt 29, and is driven to rotate according to the circulating rotation of the transfer belt 29.

定着部32は、記録媒体9に対し熱および圧力を付与することにより、記録媒体9上に転写されたトナー像を記録媒体9に定着させる部材である。定着部32は、ヒートローラ32aと、加圧ローラ32bとを有している。ヒートローラ32aは、例えば、その内部にハロゲンランプ等の加熱ヒータを含んで構成されており、記録媒体9上のトナーに対して熱を付与する部材である。加圧ローラ32bは、ヒートローラ32aとの間に圧接部が形成されるように配置されており、記録媒体9上のトナーに対して圧力を付与する部材である。これにより、定着部32では、記録媒体9上のトナーが、加熱され、融解し、加圧される。その結果、トナー像が記録媒体9上に定着するようになっている。 The fixing unit 32 is a member that fixes the toner image transferred onto the recording medium 9 to the recording medium 9 by applying heat and pressure to the recording medium 9. The fixing unit 32 has a heat roller 32a and a pressure roller 32b. The heat roller 32a is a member that includes a heater such as a halogen lamp in its inside, and applies heat to the toner on the recording medium 9. The pressure roller 32b is disposed so that a pressure contact portion is formed between the pressure roller 32b and the heat roller 32a, and is a member that applies pressure to the toner on the recording medium 9. As a result, in the fixing unit 32, the toner on the recording medium 9 is heated, melted, and pressed. As a result, the toner image is fixed on the recording medium 9.

排出ローラ33は、搬送路8を挟む1対のローラにより構成されるものであり、記録媒体9を画像形成装置1の外に排出する部材である。 The discharge roller 33 is configured by a pair of rollers that sandwich the conveyance path 8 and is a member that discharges the recording medium 9 to the outside of the image forming apparatus 1.

図4は、画像形成装置1における制御機構の一例を表すものである。画像形成装置1は、通信部41と、操作部42と、表示部43と、記憶部44と、制御部49とを有している。 FIG. 4 shows an example of a control mechanism in the image forming apparatus 1. The image forming apparatus 1 includes a communication unit 41, an operation unit 42, a display unit 43, a storage unit 44, and a control unit 49.

通信部41は、例えばUSB(Universal Serial Bus)やLAN(Local Area Network)を用いて通信を行うものであり、例えば、ホストコンピュータ2(後述)から送信された印刷データDPを受信するものである。操作部42は、ユーザの操作を受け付けるものであり、例えば各種ボタンなどを用いて構成されるものである。表示部43は、画像形成装置1の動作状態などを表示するものであり、例えば、液晶ディスプレイや各種インジケータを用いて構成されるものである。記憶部44は、例えば、印刷データDPや、画像形成装置1の各種設定情報などを記憶するものである。 The communication unit 41 performs communication using, for example, a USB (Universal Serial Bus) or a LAN (Local Area Network), and receives print data DP transmitted from the host computer 2 (described later), for example. .. The operation unit 42 receives a user's operation, and is configured by using, for example, various buttons. The display unit 43 displays the operating state of the image forming apparatus 1, and is configured using, for example, a liquid crystal display and various indicators. The storage unit 44 stores, for example, print data DP, various setting information of the image forming apparatus 1, and the like.

画像形成部20は、位置補正部20aを有している。位置補正部20aは、画像形成部20が論理ページLPを基準として画像形成動作を行う際に、媒体センサ13の検出結果に基づいて、記録媒体9における、論理ページLPのそれぞれの書き出し位置を補正するものである。具体的には、位置補正部20aは、例えば、各種ローラの回転速度を調節し、あるいは論理ページLPのそれぞれの画像の後端の余白部を増減することにより、論理ページLPのそれぞれの書き出し位置を補正するようになっている。 The image forming unit 20 has a position correction unit 20a. The position correction unit 20a corrects each writing position of the logical page LP in the recording medium 9 based on the detection result of the medium sensor 13 when the image forming unit 20 performs the image forming operation with the logical page LP as a reference. To do. Specifically, the position correction unit 20a adjusts the rotation speeds of various rollers, or increases/decreases a blank space at the trailing end of each image of the logical page LP, to thereby write each writing position of the logical page LP. Is designed to be corrected.

制御部49は、通信部41、操作部42、表示部43、記憶部44、媒体供給部10、および画像形成部20の動作を制御することにより、画像形成装置1の全体動作を制御するものである。制御部49の機能は、例えば、ハードウェアを用いて実現してもよいし、ソフトウェアを用いて実現してもよい。 The control unit 49 controls the overall operation of the image forming apparatus 1 by controlling the operations of the communication unit 41, the operation unit 42, the display unit 43, the storage unit 44, the medium supply unit 10, and the image forming unit 20. Is. The function of the control unit 49 may be realized by using, for example, hardware or software.

次に、このような画像形成装置1に印刷データDPを供給するホストコンピュータ2について説明する。 Next, the host computer 2 that supplies the print data DP to the image forming apparatus 1 will be described.

図5は、ホストコンピュータ2の一構成例を表すものである。ホストコンピュータ2は、この例では、いわゆるパーソナルコンピュータであり、コンピュータ本体50と、ディスプレイ61と、キーボード62と、マウス63とを備えている。 FIG. 5 shows a configuration example of the host computer 2. The host computer 2 is a so-called personal computer in this example, and includes a computer main body 50, a display 61, a keyboard 62, and a mouse 63.

コンピュータ本体50は、処理部51と、HDD(Hard Disk Drive)52と、メモリ53と、インタフェース54と、ディスプレイインタフェース55と、CD−ROM(Compact Disc Read Only Memory)ドライブ56とを有している。処理部51は、例えばCPU(Central Processing Unit)を用いて構成されるものであり、オペレーティングシステム101(後述)や、アプリケーションソフトウェア102(後述)を含む各種プログラムを実行するものである。HDD52は、各種プログラムを記憶するものである。メモリ53は、処理部51が処理を行う際に一時的に情報を記憶するものである。インタフェース54は、コンピュータ本体50に外部機器を接続するためのインタフェースである。この例では、コンピュータ本体50は、このインタフェース54を介して、キーボード62、マウス63、および画像形成装置1に接続されている。ディスプレイインタフェース55は、コンピュータ本体50にディスプレイ61を接続するためのインタフェースであり、ディスプレイ61に対して画像信号を供給するものである。CD−ROMドライブ56は、CD−ROM5に記録されたデータを読み取るものである。処理部51、HDD52、メモリ53、インタフェース54、ディスプレイインタフェース55、およびCD−ROMドライブ56は、バス59を介して互いに接続されている。 The computer main body 50 includes a processing unit 51, an HDD (Hard Disk Drive) 52, a memory 53, an interface 54, a display interface 55, and a CD-ROM (Compact Disc Read Only Memory) drive 56. .. The processing unit 51 is configured by using, for example, a CPU (Central Processing Unit), and executes various programs including an operating system 101 (described later) and application software 102 (described later). The HDD 52 stores various programs. The memory 53 temporarily stores information when the processing unit 51 performs processing. The interface 54 is an interface for connecting an external device to the computer main body 50. In this example, the computer main body 50 is connected to the keyboard 62, the mouse 63, and the image forming apparatus 1 via the interface 54. The display interface 55 is an interface for connecting the display 61 to the computer main body 50, and supplies an image signal to the display 61. The CD-ROM drive 56 reads the data recorded in the CD-ROM 5. The processing unit 51, HDD 52, memory 53, interface 54, display interface 55, and CD-ROM drive 56 are connected to each other via a bus 59.

ディスプレイ61は、コンピュータ本体50から供給された画像信号に基づいて画像を表示するものである。キーボード62およびマウス63は、ユーザが情報を入力する際に用いるものである。 The display 61 displays an image based on the image signal supplied from the computer main body 50. The keyboard 62 and the mouse 63 are used when the user inputs information.

図6は、ホストコンピュータ2におけるソフトウェア構成の一例を表すものである。この例では、ホストコンピュータ2には、オペレーティングシステム101、アプリケーションソフトウェア102、およびプリンタドライバ103がインストールされている。 FIG. 6 shows an example of a software configuration in the host computer 2. In this example, an operating system 101, application software 102, and printer driver 103 are installed in the host computer 2.

オペレーティングシステム101は、ホストコンピュータ2の動作を制御する、いわゆる基本ソフトウェアである。 The operating system 101 is so-called basic software that controls the operation of the host computer 2.

アプリケーションソフトウェア102は、例えば、画像編集ソフトウェア、DTP(Desk Top Publishing)ソフトウェア、ワードプロセッサソフトウェアなどであり、ユーザがラベル9aのデザインを行う際に使用するものである。また、アプリケーションソフトウェア102は、ユーザからの印刷指示に応じて、デザインしたラベル9aのデータを、オペレーティングシステム101を介して、プリンタドライバ103に供給するようになっている。 The application software 102 is, for example, image editing software, DTP (Desk Top Publishing) software, word processor software, or the like, and is used when the user designs the label 9a. Further, the application software 102 supplies the designed data of the label 9a to the printer driver 103 via the operating system 101 in response to a print instruction from the user.

プリンタドライバ103は、画像形成装置1の動作を制御する、いわゆるデバイスドライバである。プリンタドライバ103は、例えばCD−ROM5に記録されており、ユーザの操作によりホストコンピュータ2にインストールされる。プリンタドライバ103は、設定部104と、設定記憶部105と、印刷データ生成部110とを有している。 The printer driver 103 is a so-called device driver that controls the operation of the image forming apparatus 1. The printer driver 103 is recorded in the CD-ROM 5, for example, and is installed in the host computer 2 by a user's operation. The printer driver 103 has a setting unit 104, a setting storage unit 105, and a print data generation unit 110.

設定部104は、GUI(Graphical User Interface)による印刷設定画面をホストコンピュータ2のディスプレイ61に表示させるとともに、キーボード62およびマウス63を介してユーザからの指示を受け付けることにより、様々な印刷設定を行うものである。 The setting unit 104 displays a print setting screen by a GUI (Graphical User Interface) on the display 61 of the host computer 2 and receives various instructions from the user via the keyboard 62 and the mouse 63 to perform various print settings. It is a thing.

図7は、印刷設定画面の一例を表すものである。この印刷設定画面では、基本設定および詳細設定を行うことができるようになっている。基本設定では、ユーザは、例えば、搬送方向FにおけるページPPの長さ(ページ長LPP)、印刷するラベルの数(ラベル数NL)などを設定する。なお、これに限定されるものではなく、さらに、ページPPの間隔などを設定してもよい。また、詳細設定では、図7に示したように、ユーザは、例えば、記録媒体9を切断するかどうかを設定する。また、記録媒体9を切断する場合には、ユーザは、何ページ分のページPPごとに記録媒体9を切断するかを示す切断ページ数NCUTを設定する。図7の例では、切断ページ数NCUTを“5”に設定している。 FIG. 7 shows an example of the print setting screen. On this print setting screen, basic settings and detailed settings can be made. In the basic setting, the user sets, for example, the length of the page PP in the transport direction F (page length LPP), the number of labels to be printed (label number NL), and the like. Note that the present invention is not limited to this, and the interval between pages PP may be set. Further, in the detailed setting, as shown in FIG. 7, the user sets whether to disconnect the recording medium 9, for example. Further, when cutting the recording medium 9, the user sets a cut page number NCUT indicating how many pages PP of the recording medium 9 are cut. In the example of FIG. 7, the cut page number NCUT is set to “5”.

設定記憶部105は、設定部104が設定したページ長LPP、ラベル数NL、切断ページ数NCUTを記憶するものである。また、設定記憶部105は、画像形成装置1の最小媒体長LMINをも記憶している。 The setting storage unit 105 stores the page length LPP, the number of labels NL, and the number of cut pages NCUT set by the setting unit 104. The setting storage unit 105 also stores the minimum medium length LMIN of the image forming apparatus 1.

印刷データ生成部110は、アプリケーションソフトウェア102から供給されたデータ、および設定記憶部105に記憶された情報に基づいて印刷データDPを生成するものである。ここで、印刷データDPは、例えば、ページ記述言語(PDL;Page Description Language)により記述されたものである。印刷データ生成部110は、ページ連結数算出部111と、論理ページ生成部112と、ページデータ生成部113と、切断判定部114と、ページデータ連結部115とを有している。 The print data generation unit 110 generates print data DP based on the data supplied from the application software 102 and the information stored in the setting storage unit 105. Here, the print data DP is described in, for example, a page description language (PDL). The print data generation unit 110 includes a page connection number calculation unit 111, a logical page generation unit 112, a page data generation unit 113, a disconnection determination unit 114, and a page data connection unit 115.

ページ連結数算出部111は、設定記憶部105に記憶されたページ長LPPおよび最小媒体長LMINに基づいて、論理ページLPを構成するページPPの数(ページ連結数NPP)を算出するものである。具体的には、ページ連結数算出部111は、最小媒体長LMINをページ長LPPで除算し(LMIN/LPP)、その除算結果の小数部を切り上げることにより、ページ連結数NPPを算出するようになっている。例えば、図2の例では、ページ連結数NPPは“2”になる。言い換えれば、この例では、論理ページ長LLPはページ長LPPの2倍である。これにより、画像形成装置1では、論理ページ長LLPを最小媒体長LMINよりも長くすることができるため、切断後の記録媒体9の長さを最小媒体長LMINよりも長くすることができるようになっている。 The page concatenation number calculation unit 111 calculates the number of pages PP (page concatenation number NPP) forming the logical page LP based on the page length LPP and the minimum medium length LMIN stored in the setting storage unit 105. .. Specifically, the page concatenation number calculation unit 111 calculates the page concatenation number NPP by dividing the minimum medium length LMIN by the page length LPP (LMIN/LPP) and rounding up the fractional part of the division result. Has become. For example, in the example of FIG. 2, the page concatenation number NPP is “2”. In other words, in this example, the logical page length LLP is twice the page length LPP. As a result, in the image forming apparatus 1, the logical page length LLP can be made longer than the minimum medium length LMIN, so that the length of the recording medium 9 after cutting can be made longer than the minimum medium length LMIN. Has become.

論理ページ生成部112は、論理ページLPを生成するものである。 The logical page generation unit 112 generates the logical page LP.

ページデータ生成部113は、アプリケーションソフトウェア102から供給されたデータに基づいて、1ページ分のページPPの画像データであるページデータを生成するものである。 The page data generation unit 113 generates page data, which is image data of the page PP for one page, based on the data supplied from the application software 102.

切断判定部114は、設定記憶部105に記憶された切断ページ数NCUTに基づいて、記録媒体9を切断すべきか否かを判定するものである。 The disconnection determination unit 114 determines whether or not the recording medium 9 should be disconnected based on the number of disconnected pages NCUT stored in the setting storage unit 105.

ページデータ連結部115は、ページデータ生成部113が生成したページデータを、論理ページLP内のページデータに連結するものである。また、ページデータ連結部115は、後述するように、複数の論理ページLPを連結することにより、論理ページLP内のページPPの数を調節する機能をも有している。 The page data connection unit 115 connects the page data generated by the page data generation unit 113 to the page data in the logical page LP. The page data linking unit 115 also has a function of adjusting the number of pages PP in the logical page LP by linking a plurality of logical pages LP, as described later.

この構成により、印刷データ生成部110は印刷データDPを生成する。そして、ホストコンピュータ2のインタフェース54は、この印刷データDPを画像形成装置1に送信するようになっている。 With this configuration, the print data generation unit 110 generates the print data DP. Then, the interface 54 of the host computer 2 sends the print data DP to the image forming apparatus 1.

ここで、印刷データ生成部110は、本発明における「生成部」の一具体例に対応する。複数の論理ページLPのいずれか1つは、本発明における「第1の論理ページ」の一具体例に対応する。ページデータ連結部115は、本発明における「調節部」の一具体例に対応する。印刷データDPは、本発明における「画像データ」の一具体例に対応する。インタフェース54は、本発明における「通信部」の一具体例に対応する。 Here, the print data generation unit 110 corresponds to a specific but not limitative example of “generation unit” in the present invention. Any one of the plurality of logical pages LP corresponds to a specific example of "first logical page" in the invention. The page data connection unit 115 corresponds to a specific but not limitative example of “adjustment unit” in the present invention. The print data DP corresponds to a specific example of "image data" in the invention. The interface 54 corresponds to a specific but not limitative example of “communication unit” in the present invention.

[動作および作用]
続いて、本実施の形態のホストコンピュータ2および画像形成装置1の動作および作用について説明する。
[Operation and action]
Next, the operation and action of the host computer 2 and the image forming apparatus 1 of this embodiment will be described.

(全体動作概要)
まず、図1,4,6を参照して、ホストコンピュータ2および画像形成装置1の全体動作概要を説明する。まず、ホストコンピュータ2(図6)において、プリンタドライバ103の設定部104は、ユーザの操作に基づいて印刷設定を行う。そして、設定記憶部105は、設定部104が設定したページ長LPP、ラベル数NL、および切断ページ数NCUTを記憶する。また、設定記憶部105は、画像形成装置1の最小媒体長LMINをも記憶する。そして、印刷データ生成部110は、アプリケーションソフトウェア102から供給されたデータ、および設定記憶部105に記憶された情報に基づいて、印刷データDPを生成する。
(Overall operation overview)
First, with reference to FIGS. 1, 4 and 6, an outline of the overall operation of the host computer 2 and the image forming apparatus 1 will be described. First, in the host computer 2 (FIG. 6), the setting unit 104 of the printer driver 103 makes print settings based on a user operation. Then, the setting storage unit 105 stores the page length LPP, the number of labels NL, and the number of cut pages NCUT set by the setting unit 104. The setting storage unit 105 also stores the minimum medium length LMIN of the image forming apparatus 1. Then, the print data generation unit 110 generates the print data DP based on the data supplied from the application software 102 and the information stored in the setting storage unit 105.

画像形成装置1(図1)では、この印刷データDPに基づいて、ラベル9aのそれぞれに画像を形成する。具体的には、まず、媒体供給ローラ12および搬送ローラ14,16,31は、記録媒体9を搬送路8に沿って搬送する。媒体センサ13は、記録媒体9におけるラベル9aを検出する。切断部15は、記録媒体9を切断する。現像部21Yおよび露光部22Yは黄色のトナーのトナー像を形成し、現像部21Mおよび露光部22Mはマゼンタ色のトナーのトナー像を形成し、現像部21Cおよび露光部22Cはシアン色のトナーのトナー像を形成し、現像部21Kおよび露光部22Kは黒色のトナーのトナー像を形成する。4つの1次転写ローラ23は、4つの現像部21により形成されたトナー像を、転写ベルト29の被転写面上に静電的にそれぞれ転写する。位置補正部20a(図4)は、媒体センサ13の検出結果に基づいて、記録媒体9における、論理ページLPのそれぞれの書き出し位置を補正する。2次転写ローラ27は、転写ベルト29の被転写面上のトナー像を、記録媒体9のラベル9aに転写する。定着部32は、記録媒体9上のトナー像を定着させる。排出ローラ33は、記録媒体9を画像形成装置1の外に排出する。 The image forming apparatus 1 (FIG. 1) forms an image on each of the labels 9a based on the print data DP. Specifically, first, the medium supply roller 12 and the conveyance rollers 14, 16 and 31 convey the recording medium 9 along the conveyance path 8. The medium sensor 13 detects the label 9a on the recording medium 9. The cutting unit 15 cuts the recording medium 9. The developing unit 21Y and the exposing unit 22Y form a toner image of yellow toner, the developing unit 21M and the exposing unit 22M form a toner image of magenta toner, and the developing unit 21C and the exposing unit 22C form cyan toner. A toner image is formed, and the developing unit 21K and the exposure unit 22K form a toner image of black toner. The four primary transfer rollers 23 electrostatically transfer the toner images formed by the four developing units 21 onto the transfer surface of the transfer belt 29. The position correction unit 20a (FIG. 4) corrects the writing position of each logical page LP on the recording medium 9 based on the detection result of the medium sensor 13. The secondary transfer roller 27 transfers the toner image on the transfer surface of the transfer belt 29 to the label 9 a of the recording medium 9. The fixing unit 32 fixes the toner image on the recording medium 9. The ejection roller 33 ejects the recording medium 9 to the outside of the image forming apparatus 1.

(詳細動作)
ホストコンピュータ2において、プリンタドライバ103の印刷データ生成部110は、アプリケーションソフトウェア102から供給されたデータ、および設定記憶部105に記憶された情報に基づいて、印刷データDPを生成する。以下に、この動作について詳細に説明する。
(Detailed operation)
In the host computer 2, the print data generation unit 110 of the printer driver 103 generates the print data DP based on the data supplied from the application software 102 and the information stored in the setting storage unit 105. This operation will be described in detail below.

図8は、印刷データ生成部110の一動作例を表すものである。印刷データ生成部110は、まずページ連結数NPPを算出し、このページ連結数NPPに基づいて論理ページLPを順次生成する。そして、印刷データ生成部110は、切断ページ数NCUTに基づいて、切断する直前の論理ページLPに含まれるページPPの数を調節する。以下に、この動作について詳細に説明する。 FIG. 8 illustrates an operation example of the print data generation unit 110. The print data generation unit 110 first calculates the page connection number NPP, and sequentially generates the logical pages LP based on the page connection number NPP. Then, the print data generation unit 110 adjusts the number of pages PP included in the logical page LP immediately before cutting based on the cut page number NCUT. This operation will be described in detail below.

まず、印刷データ生成部110のページ連結数算出部111は、ページ連結数NPPを算出する(ステップS101)。 First, the page connection number calculation unit 111 of the print data generation unit 110 calculates the page connection number NPP (step S101).

図9は、ページ連結数NPPの算出処理の一例を表すものである。ページ連結数算出部111は、以下に示すように、ページ長LPPおよび最小媒体長LMINに基づいて、ページ連結数NPPを算出する。 FIG. 9 shows an example of the calculation processing of the page concatenation number NPP. The page connection number calculation unit 111 calculates the page connection number NPP based on the page length LPP and the minimum medium length LMIN as described below.

まず、ページ連結数算出部111は、設定記憶部105から、ページ長LPPおよび最小媒体長LMINを取得する(ステップS121)。そして、ページ連結数算出部111は、ページ長LPPおよび最小媒体長LMINに基づいて、ページ連結数NPPを算出する(ステップS122)。具体的には、ページ連結数算出部111は、最小媒体長LMINをページ長LPPで除算し(LMIN/LPP)、その除算結果の小数部を切り上げることにより、ページ連結数NPPを算出する。 First, the page concatenation number calculation unit 111 acquires the page length LPP and the minimum medium length LMIN from the setting storage unit 105 (step S121). Then, the page concatenation number calculation unit 111 calculates the page concatenation number NPP based on the page length LPP and the minimum medium length LMIN (step S122). Specifically, the page concatenation number calculation unit 111 calculates the page concatenation number NPP by dividing the minimum medium length LMIN by the page length LPP (LMIN/LPP) and rounding up the fractional part of the division result.

次に、ページ連結数算出部111は、設定記憶部105から、切断ページ数NCUTを取得する(ステップS123)。そして、ページ連結数算出部111は、ステップS122において求めたページ連結数NPPが切断ページ数NCUT以下(NPP≦NCUT)であるか否かを確認する(ステップS124)。ページ連結数NPPが切断ページ数NCUTより大きい場合(ステップS124において“N”)には、プリンタドライバ103はディスプレイ61にエラーを表示させ(ステップS125)、ステップS121に戻る。すなわち、この場合には、切断ページ数NCUTが小さいので、切断後の記録媒体9の長さが最小媒体長LMINよりも短くなってしまうため、プリンタドライバ103は、エラーを表示させることにより、ユーザに、例えば切断ページ数NCUTの再入力を促す。 Next, the page connection number calculation unit 111 acquires the cut page number NCUT from the setting storage unit 105 (step S123). Then, the page concatenation number calculation unit 111 confirms whether or not the page concatenation number NPP obtained in step S122 is equal to or less than the cut page number NCUT (NPP≦NCUT) (step S124). If the page connection number NPP is larger than the cut page number NCUT (“N” in step S124), the printer driver 103 displays an error on the display 61 (step S125), and the process returns to step S121. That is, in this case, since the number of cut pages NCUT is small, the length of the recording medium 9 after cutting becomes shorter than the minimum medium length LMIN. Therefore, the printer driver 103 causes the user to display an error. Prompting the user to re-enter the number of cut pages NCUT.

ステップS124において、ページ連結数NPPが切断ページ数NCUTより少ない場合(ステップS124において“Y”)には、このページ連結数NPPの算出処理のフローは終了する。 When the page connection number NPP is smaller than the cut page number NCUT in step S124 (“Y” in step S124), the flow of the process of calculating the page connection number NPP ends.

次に、ページデータ生成部113は、アプリケーションソフトウェア102から供給されたデータに基づいて、1ページ分のページPPのページデータを生成する(ステップS102)。 Next, the page data generation unit 113 generates the page data of the page PP for one page based on the data supplied from the application software 102 (step S102).

次に、ページデータ連結部115は、論理ページLPがまだ生成されていないか否かを確認する(ステップS103)。論理ページLPが既に生成されている場合(ステップS103において“N”)には、ページデータ連結部115は、変数Nがページ連結数NPP以上(N≧NPP)であるか否かを確認する(ステップS104)。変数Nがページ連結数NPPよりも小さい場合(ステップS104において“N”)には、ステップS107に進む。 Next, the page data linking unit 115 confirms whether the logical page LP has not been generated yet (step S103). If the logical page LP has already been generated (“N” in step S103), the page data linking unit 115 checks whether the variable N is equal to or more than the page link number NPP (N≧NPP) ( Step S104). If the variable N is smaller than the page connection number NPP (“N” in step S104), the process proceeds to step S107.

ステップS103において、論理ページLPがまだ生成されていない場合(ステップS103において“Y”)、またはステップS104において、変数Nがページ連結数NPP以上である場合(ステップS104において“Y”)には、論理ページ生成部112は、論理ページLPを生成する(ステップS105)。 In step S103, if the logical page LP has not yet been generated (“Y” in step S103), or if the variable N is equal to or more than the page concatenation number NPP in step S104 (“Y” in step S104), The logical page generation unit 112 generates the logical page LP (step S105).

次に、印刷データ生成部110は、変数Nを“0”に設定する(ステップS106)。 Next, the print data generation unit 110 sets the variable N to "0" (step S106).

次に、ページデータ連結部115は、ステップS102において生成したページデータを、現在の論理ページLP内のページデータに連結する(ステップS107)。 Next, the page data connection unit 115 connects the page data generated in step S102 to the page data in the current logical page LP (step S107).

次に、印刷データ生成部110は、変数Nをインクリメントする(ステップS108)。このとき、変数Nは、現在の論理ページLP内のページデータの数になる。 Next, the print data generation unit 110 increments the variable N (step S108). At this time, the variable N becomes the number of page data in the current logical page LP.

次に、切断判定部114は、切断ページ数NCUTに基づいて、現在のページPPの直後に切断するか否かを判定する(ステップS109)。現在のページPPの直後に切断しない場合(ステップS109において“N”)には、ステップS112に進む。 Next, the disconnection determination unit 114 determines whether to disconnect immediately after the current page PP, based on the number of cut pages NCUT (step S109). If the current page PP is not to be cut immediately after the current page PP (“N” in step S109), the process proceeds to step S112.

現在のページPPの直後に切断する場合(ステップS109において“Y”)には、ページデータ連結部115は、変数Nがページ連結数NPPと等しい(N=NPP)か否かを確認する(ステップS110)。変数Nがページ連結数NPPと等しい場合(ステップS110において“Y”)には、ステップS112に進む。 When disconnecting immediately after the current page PP (“Y” in step S109), the page data concatenation unit 115 confirms whether the variable N is equal to the page concatenation number NPP (N=NPP) (step). S110). When the variable N is equal to the page link number NPP (“Y” in step S110), the process proceeds to step S112.

変数Nがページ連結数NPPと異なる場合(ステップS110において“N”)には、ページデータ連結部115は、現在の論理ページLPを、一つ前の論理ページLPに連結する(ステップS111)。具体的には、ページデータ連結部115は、現在の論理ページLPのページデータを、一つ前の論理ページLPのページデータに連結することにより、現在の論理ページLPと一つ前の論理ページLPを1つにまとめる。また、ページデータ連結部115は、変数Nを、1つにまとめられた論理ページLP内のページデータの数に変更する。 If the variable N is different from the page connection number NPP (“N” in step S110), the page data connection unit 115 connects the current logical page LP to the previous logical page LP (step S111). Specifically, the page data concatenation unit 115 concatenates the page data of the current logical page LP with the page data of the previous logical page LP, so that the current logical page LP and the previous logical page LP. Combine LPs into one. Further, the page data linking unit 115 changes the variable N to the number of page data in the logical page LP that is combined into one.

次に、印刷データ生成部110は、設定記憶部105に記憶されたラベル数NLに基づいて、全てのページPPに対する処理を終了したか否かを確認する(ステップS112)。全てのページPPに対する処理をまだ終了していない場合(ステップS112において“N”)には、ステップS102に戻り、全てのページPPに対する処理が終了するまでステップS102〜S112を繰り返す。 Next, the print data generation unit 110 confirms whether or not the processing for all pages PP has been completed based on the label number NL stored in the setting storage unit 105 (step S112). When the process for all the pages PP is not completed yet (“N” in step S112), the process returns to step S102 and steps S102 to S112 are repeated until the process for all pages PP is completed.

そして、ステップS112において、全てのページPPに対する処理をすでに終了した場合(ステップS112において“Y”)には、このフローを終了する。 Then, in step S112, if the processing for all pages PP has already been completed (“Y” in step S112), this flow is ended.

次に、具体例を挙げて、プリンタドライバ103および画像形成装置1の動作を説明する。 Next, the operations of the printer driver 103 and the image forming apparatus 1 will be described with a specific example.

図10は、プリンタドライバ103が生成した印刷データDPに基づいて画像が形成された記録媒体9の一例を表すものである。この例では、切断ページ数NCUTを“5”に設定するとともに、ラベル数NLを“10”に設定している。また、画像形成装置1は、各ラベル9aに“ABC”を印刷している。この場合には、印刷データ生成部110は、2つのページPP1,PP2を含む論理ページLP1を生成するとともに、3つのページPP3〜PP5を含む論理ページLP2を生成し、このページPP5の直後に切断位置CPを設定する。そして、印刷データ生成部110は、2つのページPP6,PP7を含む論理ページLP3を生成するとともに、3つのページPP8〜PP10を含む論理ページLP4を生成し、このページPP10の直後に切断位置CPを設定する。そして、画像形成装置1は、この印刷データDPに基づいて、記録媒体9に画像を形成するとともに、記録媒体9を切断する。以下に、この動作について詳細に説明する。 FIG. 10 shows an example of the recording medium 9 on which an image is formed based on the print data DP generated by the printer driver 103. In this example, the cut page number NCUT is set to "5" and the label number NL is set to "10". Further, the image forming apparatus 1 prints "ABC" on each label 9a. In this case, the print data generation unit 110 generates the logical page LP1 including the two pages PP1 and PP2, the logical page LP2 including the three pages PP3 to PP5, and disconnects immediately after the page PP5. Set the position CP. Then, the print data generation unit 110 generates the logical page LP3 including the two pages PP6 and PP7, the logical page LP4 including the three pages PP8 to PP10, and the cutting position CP immediately after the page PP10. Set. Then, the image forming apparatus 1 forms an image on the recording medium 9 and disconnects the recording medium 9 based on the print data DP. This operation will be described in detail below.

まず、プリンタドライバ103の印刷データ生成部110の動作について説明する。 First, the operation of the print data generation unit 110 of the printer driver 103 will be described.

ページ連結数算出部111は、最小媒体長LMINをページ長LPPで除算し(LMIN/LPP)、その除算結果の小数部を切り上げることにより、ページ連結数NPPを算出する(ステップS101)。この例では、ページ連結数NPPは“2”である。 The page concatenation number calculation unit 111 calculates the page concatenation number NPP by dividing the minimum medium length LMIN by the page length LPP (LMIN/LPP) and rounding up the fractional part of the division result (step S101). In this example, the page connection number NPP is “2”.

次に、ページデータ生成部113は、最初のページPP1のページデータを生成する(ステップS102)。そして、まだ論理ページLPは生成されていないので(ステップS103において“Y”)、論理ページ生成部112は、最初の論理ページLP1を生成する(ステップS105)。そして、印刷データ生成部110は、変数Nを“0”に設定し(ステップS106)、その後に、この変数Nをインクリメントすることにより、変数Nを“1”に設定する(ステップS108)。すなわち、現在の論理ページLP1には1つのページデータがあるので、変数Nは“1”になる。切断ページ数NCUTは“5”であるので、このページPP1の直後では切断しない(ステップS109において“N”)。また、ラベル数NLは“10”であるので、全てのページPPに対する処理は終了していない(ステップS112において“N”)。よって、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the first page PP1 (step S102). Then, since the logical page LP has not been generated yet (“Y” in step S103), the logical page generation unit 112 generates the first logical page LP1 (step S105). Then, the print data generation unit 110 sets the variable N to "0" (step S106), and then increments the variable N to set the variable N to "1" (step S108). That is, since the current logical page LP1 has one page data, the variable N becomes "1". Since the cut page number NCUT is "5", the page is not cut immediately after this page PP1 ("N" in step S109). Further, since the label number NL is "10", the processing for all pages PP is not completed ("N" in step S112). Therefore, the process proceeds to the next page PP.

次に、ページデータ生成部113は、2番目のページPP2のページデータを生成する(ステップS102)。論理ページLP1がすでに生成され(ステップS103において“N”)、変数Nの値“1”はページ連結数NPPの値“2”よりも小さいため(ステップS104において“N”)、ページデータ連結部115は、ページPP2のページデータを、論理ページLP1内のページデータに連結する(ステップS107)。そして、印刷データ生成部110は、変数Nをインクリメントすることにより、変数Nを“2”に設定する(ステップS108)。すなわち、現在の論理ページLP1には2つのページデータがあるので、変数Nは“2”になる。このページPP2の直後では切断せず(ステップS109において“N”)、全てのページPPに対する処理は終了していないので(ステップS112において“N”)、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the second page PP2 (step S102). Since the logical page LP1 has already been generated (“N” in step S103) and the value “1” of the variable N is smaller than the value “2” of the page concatenation number NPP (“N” in step S104), the page data concatenation unit 115 links the page data of page PP2 to the page data in logical page LP1 (step S107). Then, the print data generation unit 110 sets the variable N to “2” by incrementing the variable N (step S108). That is, since the current logical page LP1 has two page data, the variable N becomes "2". Immediately after this page PP2, the page is not cut ("N" in step S109), and the processing for all pages PP is not completed ("N" in step S112), so the process proceeds to the next page PP.

次に、ページデータ生成部113は、3番目のページPP3のページデータを生成する(ステップS102)。論理ページLP1がすでに生成され(ステップS103において“N”)、変数Nの値“2”はページ連結数NPPの値“2”に等しいため(ステップS104において“Y”)、論理ページ生成部112は、2番目の論理ページLP2を生成する(ステップS105)。そして、印刷データ生成部110は、変数Nを“0”に設定し(ステップS106)、その後に、この変数Nをインクリメントすることにより、変数Nを“1”に設定する(ステップS108)。すなわち、現在の論理ページLP2には1つのページデータがあるので、変数Nは“1”になる。このページPP3の直後では切断せず(ステップS109において“N”)、全てのページPPに対する処理は終了していないので(ステップS112において“N”)、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the third page PP3 (step S102). Since the logical page LP1 has already been generated (“N” in step S103) and the value “2” of the variable N is equal to the value “2” of the page concatenation number NPP (“Y” in step S104), the logical page generation unit 112. Generates the second logical page LP2 (step S105). Then, the print data generation unit 110 sets the variable N to "0" (step S106), and then increments the variable N to set the variable N to "1" (step S108). That is, since there is one page data in the current logical page LP2, the variable N becomes "1". Immediately after this page PP3, the page is not cut (“N” in step S109), and the processing for all pages PP is not completed (“N” in step S112), the process proceeds to the next page PP.

次に、ページデータ生成部113は、4番目のページPP4のページデータを生成する(ステップS102)。論理ページLP2がすでに生成され(ステップS103において“N”)、変数Nの値“1”はページ連結数NPPの値“2”よりも小さいため(ステップS104において“N”)、ページデータ連結部115は、ページPP4のページデータを、論理ページLP2内のページデータに連結する(ステップS107)。そして、印刷データ生成部110は、変数Nをインクリメントすることにより、変数Nを“2”に設定する(ステップS108)。すなわち、現在の論理ページLP2には2つのページデータがあるので、変数Nは“2”になる。このページPP4の直後では切断せず(ステップS109において“N”)、全てのページPPに対する処理は終了していないので(ステップS112において“N”)、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the fourth page PP4 (step S102). The logical page LP2 has already been generated (“N” in step S103), and the value “1” of the variable N is smaller than the value “2” of the page concatenation number NPP (“N” in step S104). 115 links the page data of page PP4 to the page data in logical page LP2 (step S107). Then, the print data generation unit 110 sets the variable N to "2" by incrementing the variable N (step S108). That is, since the current logical page LP2 has two page data, the variable N becomes "2". Immediately after this page PP4, cutting is not performed (“N” in step S109), and the processing for all pages PP is not completed (“N” in step S112), the process proceeds to the processing for the next page PP.

次に、ページデータ生成部113は、5番目のページPP5のページデータを生成する(ステップS102)。論理ページLP2がすでに生成され(ステップS103において“N”)、変数Nの値“2”はページ連結数NPPの値“2”に等しいため(ステップS104において“Y”)、論理ページ生成部112は、3番目の論理ページLP3を一旦生成する(ステップS105)。そして、印刷データ生成部110は、変数Nを“0”に設定し(ステップS106)、その後に、この変数Nをインクリメントすることにより、変数Nを“1”に設定する(ステップS108)。切断ページ数NCUTは“5”であるので、切断判定部114は、このページPP5の直後に切断すると判断する(ステップS109において“Y”)。また、変数Nの値“1”はページ連結数NPPの値“2”と異なる(ステップS110において“N”)。よって、ページデータ連結部115は、現在の論理ページLP3のページデータを、一つ前の論理ページLP2のページデータに連結することにより、現在の論理ページLP3と一つ前の論理ページLP2を1つの論理ページLP2にまとめる(ステップS111)。また、ページデータ連結部115は、変数Nを、1つにまとめられた論理ページLP2内のページデータの数(“3”)に変更する。ここで、論理ページLP2は、本発明における「第1の論理ページ」の一具体例に対応する。全てのページPPに対する処理は終了していないので(ステップS112において“N”)、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the fifth page PP5 (step S102). Since the logical page LP2 has already been generated (“N” in step S103) and the value “2” of the variable N is equal to the value “2” of the page concatenation number NPP (“Y” in step S104), the logical page generation unit 112. Generates the third logical page LP3 once (step S105). Then, the print data generation unit 110 sets the variable N to "0" (step S106), and then increments the variable N to set the variable N to "1" (step S108). Since the cut page number NCUT is “5”, the cut determination unit 114 determines to cut immediately after this page PP5 (“Y” in step S109). Further, the value “1” of the variable N is different from the value “2” of the page connection number NPP (“N” in step S110). Therefore, the page data concatenation unit 115 concatenates the page data of the current logical page LP3 with the page data of the immediately preceding logical page LP2, so that the current logical page LP3 and the immediately preceding logical page LP2 become 1 One logical page LP2 is collected (step S111). Further, the page data linking unit 115 changes the variable N to the number (“3”) of page data in the logical page LP2 that has been put together. Here, the logical page LP2 corresponds to a specific but not limitative example of “first logical page” in the present invention. Since the process for all pages PP is not completed (“N” in step S112), the process proceeds to the process for the next page PP.

次に、ページデータ生成部113は、6番目のページPP6のページデータを生成する(ステップS102)。論理ページLP2がすでに生成され(ステップS103において“N”)、変数N(“3”)はページ連結数NPP(“2”)よりも大きいため(ステップS104において“Y”)、論理ページ生成部112は、3番目の論理ページLP3を生成する(ステップS105)。そして、印刷データ生成部110は、変数Nを“0”に設定し(ステップS106)、その後に、この変数Nをインクリメントすることにより、変数Nを“1”に設定する(ステップS108)。このページPP6の直後では切断せず(ステップS109において“N”)、全てのページPPに対する処理は終了していないので(ステップS112において“N”)、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the sixth page PP6 (step S102). Since the logical page LP2 has already been generated (“N” in step S103) and the variable N(“3”) is larger than the page concatenation number NPP(“2”) (“Y” in step S104), the logical page generation unit The 112 generates the third logical page LP3 (step S105). Then, the print data generation unit 110 sets the variable N to "0" (step S106), and then increments the variable N to set the variable N to "1" (step S108). Immediately after this page PP6, cutting is not performed (“N” in step S109), and the process for all pages PP is not completed (“N” in step S112), the process proceeds to the process for the next page PP.

印刷データ生成部110は、これ以降についても同様の処理を行う。すなわち、印刷データ生成部110は、2つのページPP6,PP7を含む論理ページLP3を生成し、3つのページPP8〜PP10を含む論理ページLP4を生成する。そして、ページPP10に対する処理を終了することにより、全てのページPPに対する処理は終了し(ステップS112において“Y”)、このフローは終了する。このようにして、プリンタドライバ103は印刷データDPを生成する。そして、ホストコンピュータ2は、この印刷データDPを画像形成装置1に送信する。 The print data generation unit 110 performs the same processing thereafter. That is, the print data generation unit 110 generates the logical page LP3 including the two pages PP6 and PP7 and generates the logical page LP4 including the three pages PP8 to PP10. Then, by ending the process for page PP10, the process for all pages PP ends ("Y" in step S112), and the flow ends. In this way, the printer driver 103 generates the print data DP. Then, the host computer 2 sends this print data DP to the image forming apparatus 1.

次に、画像形成装置1の動作について説明する。画像形成装置1は、ホストコンピュータ2から送信された印刷データDPに基づいて、記録媒体9に画像を形成するとともに、記録媒体9を切断する。 Next, the operation of the image forming apparatus 1 will be described. The image forming apparatus 1 forms an image on the recording medium 9 and disconnects the recording medium 9 based on the print data DP transmitted from the host computer 2.

まず、媒体供給ローラ12および搬送ローラ14,16,31は、記録媒体9を搬送路8に沿って搬送する。媒体センサ13は、記録媒体9におけるラベル9aを検出する。画像形成部20の位置補正部20aは、まず、媒体センサ13の検出結果に基づいて、記録媒体9における、論理ページLP1の書き出し位置を補正する。そして、画像形成部20は、論理ページLP1のデータに基づいて、記録媒体9の2つのラベル9aに画像を形成する。次に、画像形成部20の位置補正部20aは、媒体センサ13の検出結果に基づいて、記録媒体9における、論理ページLP2の書き出し位置を補正する。そして、画像形成部20は、論理ページLP2のデータに基づいて、記録媒体9の3つのラベル9aに画像を形成する。そして、切断部15は、ページPP5の直後の切断位置CPにおいて、記録媒体9を切断する。 First, the medium supply roller 12 and the transport rollers 14, 16 and 31 transport the recording medium 9 along the transport path 8. The medium sensor 13 detects the label 9a on the recording medium 9. The position correcting unit 20a of the image forming unit 20 first corrects the writing position of the logical page LP1 on the recording medium 9 based on the detection result of the medium sensor 13. Then, the image forming unit 20 forms an image on the two labels 9a of the recording medium 9 based on the data of the logical page LP1. Next, the position correction unit 20a of the image forming unit 20 corrects the writing position of the logical page LP2 on the recording medium 9 based on the detection result of the medium sensor 13. Then, the image forming unit 20 forms an image on the three labels 9a of the recording medium 9 based on the data of the logical page LP2. Then, the cutting unit 15 cuts the recording medium 9 at the cutting position CP immediately after the page PP5.

次に、画像形成部20の位置補正部20aは、媒体センサ13の検出結果に基づいて、記録媒体9における、論理ページLP3の書き出し位置を補正する。そして、画像形成部20は、論理ページLP3のデータに基づいて、記録媒体9の2つのラベル9aに画像を形成する。次に、画像形成部20の位置補正部20aは、媒体センサ13の検出結果に基づいて、記録媒体9における、論理ページLP4の書き出し位置を補正する。そして、画像形成部20は、論理ページLP4のデータに基づいて、記録媒体9の3つのラベル9aに画像を形成する。そして、切断部15は、ページPP10の直後の切断位置CPにおいて、記録媒体9を切断する。 Next, the position correction unit 20a of the image forming unit 20 corrects the writing position of the logical page LP3 on the recording medium 9 based on the detection result of the medium sensor 13. Then, the image forming unit 20 forms an image on the two labels 9a of the recording medium 9 based on the data of the logical page LP3. Next, the position correction unit 20a of the image forming unit 20 corrects the writing position of the logical page LP4 on the recording medium 9 based on the detection result of the medium sensor 13. Then, the image forming unit 20 forms an image on the three labels 9a of the recording medium 9 based on the data of the logical page LP4. Then, the cutting unit 15 cuts the recording medium 9 at the cutting position CP immediately after the page PP10.

以上のように、プリンタドライバ103では、ステップS111において、論理ページLPを連結するようにしたので、論理ページLPに含まれるページPPの数を調節することができる。その結果、プリンタドライバ103では、論理ページLPの終了位置を記録媒体9の切断位置に合わせることができるため、記録媒体9を有効に利用することができる。 As described above, in the printer driver 103, since the logical pages LP are connected in step S111, the number of pages PP included in the logical page LP can be adjusted. As a result, the printer driver 103 can match the end position of the logical page LP with the cutting position of the recording medium 9, so that the recording medium 9 can be effectively used.

(比較例)
次に、比較例と対比して、本実施の形態の作用を説明する。比較例に係るプリンタドライバ103Rの印刷データ生成部110Rは、論理ページLPに含まれるページPPの数を所定の数に固定するものである。
(Comparative example)
Next, the operation of this embodiment will be described in comparison with a comparative example. The print data generation unit 110R of the printer driver 103R according to the comparative example fixes the number of pages PP included in the logical page LP to a predetermined number.

図11は、比較例に係るプリンタドライバ103Rが生成した印刷データDPに基づいて画像が形成された記録媒体9の一例を表すものである。この例では、印刷データ生成部110Rは、2つのページPP1,PP2を含む論理ページLP1を生成し、2つのページPP3,PP4を含む論理ページLP2を生成する。そして、印刷データ生成部110Rは、1つのページPP5と、1つの空白のページPPEとを含む論理ページLP3を生成する。すなわち、この例では、切断ページ数NCUTは“5”であるが、画像形成装置1は論理ページLPを基準として切断するため、印刷データ生成部110Rは、空白のページPPEを挿入し、そのページPPEの直後に切断位置CPを設定する。 FIG. 11 illustrates an example of the recording medium 9 on which an image is formed based on the print data DP generated by the printer driver 103R according to the comparative example. In this example, the print data generation unit 110R generates the logical page LP1 including the two pages PP1 and PP2 and generates the logical page LP2 including the two pages PP3 and PP4. Then, the print data generation unit 110R generates a logical page LP3 including one page PP5 and one blank page PPE. That is, in this example, the cut page number NCUT is “5”, but the image forming apparatus 1 cuts based on the logical page LP, so the print data generation unit 110R inserts a blank page PPE, and the page is deleted. The cutting position CP is set immediately after the PPE.

比較例に係るプリンタドライバ103Rでは、論理ページLPに含まれるページPPの数を所定の数に固定したので、空白のページPPEを挿入せざるを得ない場合がある。この場合には、ラベル9aが無駄になってしまう。 In the printer driver 103R according to the comparative example, since the number of pages PP included in the logical page LP is fixed to a predetermined number, it may be unavoidable to insert a blank page PPE. In this case, the label 9a is wasted.

なお、このような空白のページPPEが生じないようにするために、切断ページ数NCUTがページ連結数NPPの整数倍になるように制限する方法もあり得る。この方法では、例えば、ページ連結数NPPが“2”である場合には、ユーザは、切断ページ数NCUTを偶数にのみ設定できる。しかしながら、この場合には、切断ページ数NCUTの設定自由度が低下してしまう。また、例えば、5枚分のラベル9aを印刷したい場合には、切断ページ数NCUTを“6”に設定するため、6枚分のラベル9aが印刷されてしまい、ラベル9aが無駄になってしまう。 In order to prevent such a blank page PPE from occurring, there may be a method of limiting the number of cut pages NCUT to an integer multiple of the page concatenation number NPP. In this method, for example, when the page concatenation number NPP is “2”, the user can set the cut page number NCUT only to an even number. However, in this case, the degree of freedom in setting the number of cut pages NCUT decreases. Further, for example, when it is desired to print five labels 9a, the number of cut pages NCUT is set to "6", so six labels 9a are printed and the labels 9a are wasted. ..

一方、本実施の形態に係るプリンタドライバ103では、論理ページLPに含まれるページPPの数を調節することができるようにしたので、空白のページPPEを挿入しなくて済む。その結果、プリンタドライバ103では、設定自由度を維持しつつ、記録媒体9を有効に利用することができる。 On the other hand, in the printer driver 103 according to the present embodiment, since the number of pages PP included in the logical page LP can be adjusted, it is not necessary to insert a blank page PPE. As a result, the printer driver 103 can effectively use the recording medium 9 while maintaining the degree of freedom in setting.

[効果]
以上のように本実施の形態では、論理ページに含まれるページの数を調節することができるようにしたので、設定自由度を維持しつつ、記録媒体を有効に利用することができる。
[effect]
As described above, in the present embodiment, since the number of pages included in the logical page can be adjusted, the recording medium can be effectively used while maintaining the degree of freedom in setting.

[変形例1−1]
上記実施の形態では、プリンタドライバ103の設定記憶部105が画像形成装置1の最小媒体長LMINを予め記憶しておいたが、これに限定されるものではない。これに代えて、例えばホストコンピュータ2が画像形成装置1との間で通信を行うことにより、画像形成装置1から最小媒体長LMINを取得するようにしてもよい。
[Modification 1-1]
In the above embodiment, the setting storage unit 105 of the printer driver 103 stores the minimum medium length LMIN of the image forming apparatus 1 in advance, but the present invention is not limited to this. Instead of this, for example, the host computer 2 may communicate with the image forming apparatus 1 to acquire the minimum medium length LMIN from the image forming apparatus 1.

[変形例1−2]
上記実施の形態では、図10に示したように、切断位置CPの前の最後の論理ページLPに含まれるページPPの数を調節したが、これに限定されるものではない。これに代えて、例えば図13に示すように、最初の論理ページLPに含まれるページPPの数を調節してもよい。この例では、印刷データ生成部110は、3つのページPP1〜PP3を含む論理ページLP1を生成し、2つのページPP4,PP5を含む論理ページLP2を生成する。この場合には、論理ページLP1は、本発明における「第1の論理ページ」の一具体例に対応する。また、例えば図14に示すように、切断位置CPの前の論理ページLPの数が3以上である場合には、最初および最後の論理ページLP以外の論理ページLPに含まれるページPPの数を調節してもよい。この例では、切断ページ数NCUTを“7”に設定しており、印刷データ生成部110は、2つのページPP1,PP2を含む論理ページLP1を生成し、3つのページPP3〜PP5を含む論理ページLP2を生成し、2つのページPP6,PP7を含む論理ページLP3を生成する。この場合には、論理ページLP2は、本発明における「第1の論理ページ」の一具体例に対応する。
[Modification 1-2]
In the above embodiment, as shown in FIG. 10, the number of pages PP included in the last logical page LP before the cutting position CP is adjusted, but the number is not limited to this. Instead of this, for example, as shown in FIG. 13, the number of pages PP included in the first logical page LP may be adjusted. In this example, the print data generation unit 110 generates a logical page LP1 including three pages PP1 to PP3 and a logical page LP2 including two pages PP4 and PP5. In this case, the logical page LP1 corresponds to a specific example of “first logical page” in the present invention. Further, for example, as shown in FIG. 14, when the number of logical pages LP before the disconnection position CP is 3 or more, the number of pages PP included in the logical pages LP other than the first and last logical pages LP is set. You may adjust. In this example, the cut page number NCUT is set to “7”, the print data generation unit 110 generates the logical page LP1 including the two pages PP1 and PP2, and the logical page including the three pages PP3 to PP5. LP2 is generated, and a logical page LP3 including two pages PP6 and PP7 is generated. In this case, the logical page LP2 corresponds to a specific but not limitative example of “first logical page” in the present invention.

[変形例1−3]
上記実施の形態では、画像形成装置1は、図2に示した記録媒体9に画像を形成したが、これに限定されるものではなく、これに代えて、例えば、図12に示すように、台紙9bの裏面(図12(B))にマーカ9cが印刷された記録媒体7に画像を形成してもよい。このマーカ9cは、搬送方向Fにおいて、ラベル9aが無い位置に設けられており、隣り合うラベル9aの間隔に対応する幅を有している。なお、この例では、マーカ9cは、記録媒体7の幅方向全体にわたって設けたが、これに限定されるものではなく、幅方向の一部にのみ設けてもよい。媒体センサ13は、反射センサ132を用いることにより、このような記録媒体7のラベル9aを検出することができる。
[Modification 1-3]
In the above-described embodiment, the image forming apparatus 1 forms an image on the recording medium 9 shown in FIG. 2, but the present invention is not limited to this, and instead of this, for example, as shown in FIG. An image may be formed on the recording medium 7 in which the marker 9c is printed on the back surface of the mount 9b (FIG. 12B). The marker 9c is provided at a position where the label 9a does not exist in the transport direction F, and has a width corresponding to the interval between the adjacent labels 9a. In this example, the marker 9c is provided over the entire width direction of the recording medium 7, but the marker 9c is not limited to this and may be provided only in a part of the width direction. By using the reflection sensor 132, the medium sensor 13 can detect such a label 9a on the recording medium 7.

[変形例1−4]
上記実施の形態では、ホストコンピュータ2のプリンタドライバ103が論理ページLPに含まれるページPPの数を調節したが、これに限定されるものではなく、これに代えて、例えば画像形成装置がページPPの数を調節してもよい。以下に、本変形例について詳細に説明する。
[Modification 1-4]
In the above-described embodiment, the printer driver 103 of the host computer 2 adjusts the number of pages PP included in the logical page LP, but the number of pages PP is not limited to this. You may adjust the number of. The present modification will be described in detail below.

図15は、本変形例に係るホストコンピュータ2Dにおけるソフトウェア構成の一例を表すものである。ホストコンピュータ2Dには、プリンタドライバ103Dがインストールされている。 FIG. 15 shows an example of a software configuration in the host computer 2D according to this modification. The printer driver 103D is installed in the host computer 2D.

プリンタドライバ103Dは、設定部104と、設定記憶部105と、印刷データ生成部110Dとを有している。印刷データ生成部110Dは、ページデータ生成部113を有している。印刷データ生成部110Dは、ページデータ生成部113が生成したページデータと、設定記憶部105に記憶されたページ長LPP、ラベル数NL、切断ページ数NCUT、および最小媒体長LMINについての情報とに基づいて、印刷データDPを生成する。そして、ホストコンピュータ2Dは、この印刷データDPを画像形成装置1Dに送信する。 The printer driver 103D has a setting unit 104, a setting storage unit 105, and a print data generation unit 110D. The print data generation unit 110D has a page data generation unit 113. The print data generation unit 110D stores the page data generated by the page data generation unit 113 and information about the page length LPP, the number of labels NL, the number of cut pages NCUT, and the minimum medium length LMIN stored in the setting storage unit 105. Based on this, the print data DP is generated. Then, the host computer 2D transmits this print data DP to the image forming apparatus 1D.

図16は、本変形例に係る画像形成装置1Dの一構成例を表すものである。画像形成装置1Dは、処理部70と、制御部79とを有している。通信部41が受信した印刷データDPは、記憶部44に記憶される。 FIG. 16 illustrates a configuration example of the image forming apparatus 1D according to this modification. The image forming apparatus 1D includes a processing unit 70 and a control unit 79. The print data DP received by the communication unit 41 is stored in the storage unit 44.

処理部70は、記憶部44に記憶された印刷データDPに基づいて、画像データを生成するものである。処理部70は、ページ連結数算出部71と、論理ページ生成部72と、切断判定部74と、ページデータ連結部75とを有している。ページ連結数算出部71は、上記実施の形態に係るページ連結数算出部111に対応するものであり、記憶部44に記憶された印刷データDPに含まれるページ長LPPおよび最小媒体長LMINに基づいて、ページ連結数NPPを算出するものである。論理ページ生成部72は、上記実施の形態に係る論理ページ生成部112に対応するものであり、論理ページLPを生成するものである。切断判定部74は、上記実施の形態に係る切断判定部114に対応するものであり、記憶部44に記憶された印刷データDPに含まれる切断ページ数NCUTに基づいて、記録媒体9を切断すべきか否かを判定するものである。ページデータ連結部75は、上記実施の形態に係るページデータ連結部115に対応するものであり、記憶部44に記憶された印刷データDPに含まれるページデータを、論理ページLP内のページデータに連結するとともに、複数の論理ページLPを連結することにより、論理ページLP内のページPPの数を調節するものである。ここで、処理部70は、本発明における「生成部」の一具体例に対応する。 The processing unit 70 generates image data based on the print data DP stored in the storage unit 44. The processing unit 70 includes a page connection number calculation unit 71, a logical page generation unit 72, a disconnection determination unit 74, and a page data connection unit 75. The page concatenation number calculation unit 71 corresponds to the page concatenation number calculation unit 111 according to the above embodiment, and is based on the page length LPP and the minimum medium length LMIN included in the print data DP stored in the storage unit 44. Then, the page connection number NPP is calculated. The logical page generation unit 72 corresponds to the logical page generation unit 112 according to the above embodiment, and generates the logical page LP. The disconnection determination unit 74 corresponds to the disconnection determination unit 114 according to the above-described embodiment, and should disconnect the recording medium 9 based on the number of disconnected pages NCUT included in the print data DP stored in the storage unit 44. It is to judge whether or not it is. The page data linking unit 75 corresponds to the page data linking unit 115 according to the above-described embodiment, and converts the page data included in the print data DP stored in the storage unit 44 into the page data in the logical page LP. The number of pages PP in the logical page LP is adjusted by linking and linking a plurality of logical pages LP. Here, the processing unit 70 corresponds to a specific but not limitative example of “generation unit” in the present invention.

制御部79は、通信部41、操作部42、表示部43、記憶部44、媒体供給部10、画像形成部20、および処理部70の動作を制御することにより、画像形成装置1Dの全体動作を制御するものである。 The control unit 79 controls the operations of the communication unit 41, the operation unit 42, the display unit 43, the storage unit 44, the medium supply unit 10, the image forming unit 20, and the processing unit 70, so that the overall operation of the image forming apparatus 1D. To control.

この構成により、処理部70は、記憶部44に記憶された印刷データDPに基づいて、画像データを生成する。そして、画像形成部20は、この画像データに基づいて記録媒体9に画像を形成し、媒体供給部10は、この画像データに基づいて記録媒体9を切断する。 With this configuration, the processing unit 70 generates image data based on the print data DP stored in the storage unit 44. Then, the image forming unit 20 forms an image on the recording medium 9 based on this image data, and the medium supply unit 10 cuts the recording medium 9 based on this image data.

[変形例1−5]
上記実施の形態では、切断ページ数NCUTが小さい場合に、エラーを表示させ(ステップS125)、ユーザに、切断ページ数NCUTの再入力を促したが、これに限定されるものではない。これに代えて、例えば、画像形成装置1における画像形成処理を中止するようにしてもよい。
[Modification 1-5]
In the above embodiment, when the number of cut pages NCUT is small, an error is displayed (step S125) and the user is prompted to re-input the number of cut pages NCUT, but the present invention is not limited to this. Instead of this, for example, the image forming process in the image forming apparatus 1 may be stopped.

<2.第2の実施の形態>
次に、第2の実施の形態に係る情報処理装置(ホストコンピュータ3)について説明する。本実施の形態は、論理ページLP内のページPPの数を調節する方法が、上記第1の実施の形態の場合と異なるものである。なお、上記第1の実施の形態に係るホストコンピュータ2と実質的に同一の構成部分には同一の符号を付し、適宜説明を省略する。
<2. Second Embodiment>
Next, an information processing device (host computer 3) according to the second embodiment will be described. The present embodiment is different from the first embodiment in the method of adjusting the number of pages PP in the logical page LP. The same components as those of the host computer 2 according to the first embodiment described above are designated by the same reference numerals, and description thereof will be omitted as appropriate.

図17は、ホストコンピュータ3におけるソフトウェア構成の一例を表すものである。ホストコンピュータ3には、プリンタドライバ123がインストールされている。 FIG. 17 shows an example of the software configuration of the host computer 3. A printer driver 123 is installed in the host computer 3.

プリンタドライバ123は、設定部104と、設定記憶部105と、印刷データ生成部130とを有している。印刷データ生成部130は、ページ連結数算出部111と、ページ連結数補正部139と、論理ページ生成部112と、ページデータ生成部113と、切断判定部114と、ページデータ連結部115とを有している。ページ連結数補正部139は、ページ連結数算出部111が算出したページ連結数NPPを補正するものである。 The printer driver 123 has a setting unit 104, a setting storage unit 105, and a print data generation unit 130. The print data generation unit 130 includes a page connection number calculation unit 111, a page connection number correction unit 139, a logical page generation unit 112, a page data generation unit 113, a disconnection determination unit 114, and a page data connection unit 115. Have The page connection number correction unit 139 corrects the page connection number NPP calculated by the page connection number calculation unit 111.

ここで、印刷データ生成部130は、本発明における「生成部」の一具体例に対応する。ページデータ連結部115およびページ連結数補正部139は、本発明における「調節部」の一具体例に対応する。 Here, the print data generation unit 130 corresponds to a specific but not limitative example of “generation unit” in the present invention. The page data concatenation unit 115 and the page concatenation number correction unit 139 correspond to a specific example of "adjustment unit" in the invention.

プリンタドライバ123の印刷データ生成部130は、図8に示したように、アプリケーションソフトウェア102から供給されたデータ、および設定記憶部105に記憶された情報に基づいて、印刷データDPを生成する。 As shown in FIG. 8, the print data generation unit 130 of the printer driver 123 generates print data DP based on the data supplied from the application software 102 and the information stored in the setting storage unit 105.

具体的には、まず、印刷データ生成部130のページ連結数算出部111およびページ連結数補正部139は、ページ連結数NPPを算出する(ステップS131)。 Specifically, first, the page connection number calculation unit 111 and the page connection number correction unit 139 of the print data generation unit 130 calculate the page connection number NPP (step S131).

図18は、ページ連結数NPPの算出処理の一例を表すものである。 FIG. 18 shows an example of the calculation process of the page concatenation number NPP.

第1の実施の形態の場合と同様に、まず、ページ連結数算出部111は、設定記憶部105から、ページ長LPPおよび最小媒体長LMINを取得し(ステップS121)、ページ長LPPおよび最小媒体長LMINに基づいて、ページ連結数NPPを算出する(ステップS122)。次に、ページ連結数算出部111は、設定記憶部105から、切断ページ数NCUTを取得し(ステップS123)、ステップS122において求めたページ連結数NPPが切断ページ数NCUT以下(NPP≦NCUT)であるか否かを確認する(ステップS124)。ページ連結数NPPが切断ページ数NCUTより大きい場合(ステップS124において“N”)には、プリンタドライバ123はディスプレイ61にエラーを表示させ(ステップS125)、ステップS121に戻る。 Similar to the case of the first embodiment, first, the page concatenation number calculation unit 111 acquires the page length LPP and the minimum medium length LMIN from the setting storage unit 105 (step S121), and the page length LPP and the minimum medium. The page connection number NPP is calculated based on the long LMIN (step S122). Next, the page concatenation number calculation unit 111 acquires the disconnected page number NCUT from the setting storage unit 105 (step S123), and the page concatenated number NPP obtained in step S122 is equal to or less than the disconnected page number NCUT (NPP≦NCUT). It is confirmed whether or not there is (step S124). If the page connection number NPP is larger than the cut page number NCUT (“N” in step S124), the printer driver 123 displays an error on the display 61 (step S125), and the process returns to step S121.

ステップS124において、ページ連結数NPPが切断ページ数NCUTより少ない場合(ステップS124において“Y”)には、ページ連結数補正部139は、切断ページ数NCUTおよびステップS122において求めたページ連結数NPPに基づいて、論理ページ数NLPを求める(ステップS126)。具体的には、ページ連結数補正部139は、切断ページ数NCUTをページ連結数NPPで除算し(NCUT/NPP)、その除算結果の小数部を切り捨てることにより、論理ページ数NLPを算出する。 When the page connection number NPP is smaller than the cut page number NCUT in step S124 (“Y” in step S124), the page connection number correction unit 139 sets the cut page number NCUT and the page connection number NPP obtained in step S122. Based on this, the number of logical pages NLP is obtained (step S126). Specifically, the page concatenation number correction unit 139 calculates the logical page number NLP by dividing the cut page number NCUT by the page concatenation number NPP (NCUT/NPP) and discarding the fractional part of the division result.

次に、ページ連結数補正部139は、切断ページ数NCUTおよびステップS122において求めたページ連結数NPPに基づいて、端数ページ数NFを求める(ステップS127)。具体的には、ページ連結数補正部139は、切断ページ数NCUTをページ連結数NPPで除算し(NCUT/NPP)、剰余を端数ページ数NFとする。 Next, the page concatenation number correction unit 139 determines the fractional page number NF based on the cut page number NCUT and the page concatenation number NPP obtained in step S122 (step S127). Specifically, the page concatenation number correction unit 139 divides the cut page number NCUT by the page concatenation number NPP (NCUT/NPP), and sets the remainder as the fractional page number NF.

次に、ページ連結数補正部139は、ステップS122において求めたページ連結数NPPを補正する(ステップS128)。具体的には、ページ連結数補正部139は、ステップS127において求めた端数ページ数NFを、ステップS126において求めた論理ページ数NLPで除算し(NF/NLP)、その除算結果の小数部を切り捨てることにより、ページ連結数NPPの補正値を求める。そして、ページ連結数補正部139は、ページ連結数NPPにこの補正値を加算することにより、ページ連結数NPPを補正する。 Next, the page connection number correction unit 139 corrects the page connection number NPP obtained in step S122 (step S128). Specifically, the page concatenation number correction unit 139 divides the fractional page number NF obtained in step S127 by the logical page number NLP obtained in step S126 (NF/NLP), and discards the fractional part of the division result. Thus, the correction value of the page connection number NPP is obtained. Then, the page connection number correction unit 139 corrects the page connection number NPP by adding this correction value to the page connection number NPP.

以上で、このページ連結数NPPの算出処理のフローは終了する。その後、プリンタドライバ123は、上記第1の実施の形態の場合と同様に、ステップS102〜S112の処理を行うことにより、印刷データDPを生成する。 This is the end of the flow of the process of calculating the page concatenation number NPP. After that, the printer driver 123 generates the print data DP by performing the processes of steps S102 to S112 as in the case of the first embodiment.

次に、具体例を挙げて、プリンタドライバ123および画像形成装置1の動作を説明する。 Next, the operations of the printer driver 123 and the image forming apparatus 1 will be described with a specific example.

図19は、プリンタドライバ123が生成した印刷データDPに基づいて画像が形成された記録媒体9の一例を表すものである。この例では、切断ページ数NCUTを“8”に設定するとともに、ラベル数NLを“16”に設定している。この場合には、印刷データ生成部130は、4つのページPP1〜PP4を含む論理ページLP1を生成するとともに、4つのページPP5〜PP8を含む論理ページLP2を生成し、このページPP8の直後に切断位置CPを設定する。そして、印刷データ生成部130は、4つのページPP9〜PP12を含む論理ページLP3を生成するとともに、4つのページPP13〜PP16を含む論理ページLP4を生成し、このページPP16の直後に切断位置CPを設定する。そして、画像形成装置1は、この印刷データDPに基づいて、記録媒体9に画像を形成するとともに、記録媒体9を切断する。以下に、この動作について詳細に説明する。 FIG. 19 shows an example of the recording medium 9 on which an image is formed based on the print data DP generated by the printer driver 123. In this example, the number of cut pages NCUT is set to "8" and the number of labels NL is set to "16". In this case, the print data generation unit 130 generates the logical page LP1 including the four pages PP1 to PP4, the logical page LP2 including the four pages PP5 to PP8, and disconnects immediately after the page PP8. Set the position CP. Then, the print data generation unit 130 generates the logical page LP3 including the four pages PP9 to PP12, the logical page LP4 including the four pages PP13 to PP16, and the cutting position CP immediately after the page PP16. Set. Then, the image forming apparatus 1 forms an image on the recording medium 9 and disconnects the recording medium 9 based on the print data DP. This operation will be described in detail below.

まず、プリンタドライバ123の印刷データ生成部130の動作について説明する。 First, the operation of the print data generation unit 130 of the printer driver 123 will be described.

ページ連結数算出部111およびページ連結数補正部139は、ページ連結数NPPを算出する(ステップS101)。具体的には、まず、ページ連結数算出部111は、最小媒体長LMINをページ長LPPで除算し(LMIN/LPP)、その除算結果の小数部を切り上げることにより、ページ連結数NPPを算出する(ステップS122)。この例では、ページ連結数NPPは“3”である。このページ連結数NPPの値“3”は切断ページ数NCUTの値“8”よりも小さいので(ステップS124において“Y”)、ページ連結数補正部139は、切断ページ数NCUTをページ連結数NPPで除算し(NCUT/NPP)、その除算結果の小数部を切り捨てることにより、論理ページ数NLPを算出する(ステップS124)。この例では、切断ページ数NCUTは“8”であり、ページ連結数NPPは“3”であるので、論理ページ数NLPは“2”である。次に、ページ連結数補正部139は、切断ページ数NCUTをページ連結数NPPで除算し(NCUT/NPP)、剰余を端数ページ数NFとする(ステップS127)。この例では、切断ページ数NCUTは“8”であり、ページ連結数NPPは“3”であるので、端数ページ数NFは“2”である。次に、ページ連結数補正部139は、端数ページ数NFを論理ページ数NLPで除算し(NF/NLP)、その除算結果の小数部を切り捨てることにより、ページ連結数NPPの補正値を求め、ページ連結数NPPにこの補正値を加算することにより、ページ連結数NPPを補正する(ステップS128)。この例では、端数ページ数NFは“2”であり、論理ページ数NLPは“2”であるので、補正値は“1”である。その結果、ページ連結数NPPは“4”になる。 The page connection number calculation unit 111 and the page connection number correction unit 139 calculate the page connection number NPP (step S101). Specifically, first, the page concatenation number calculation unit 111 calculates the page concatenation number NPP by dividing the minimum medium length LMIN by the page length LPP (LMIN/LPP) and rounding up the fractional part of the division result. (Step S122). In this example, the page connection number NPP is “3”. Since the value "3" of the page connection number NPP is smaller than the value "8" of the cut page number NCUT ("Y" in step S124), the page connection number correction unit 139 sets the cut page number NCUT to the page connection number NPP. (NCUT/NPP), and the fractional part of the division result is rounded down to calculate the logical page number NLP (step S124). In this example, the number of cut pages NCUT is "8" and the number of linked pages NPP is "3", so the number of logical pages NLP is "2". Next, the page concatenation number correction unit 139 divides the cut page number NCUT by the page concatenation number NPP (NCUT/NPP), and sets the remainder as the fractional page number NF (step S127). In this example, the number of cut pages NCUT is "8" and the page concatenation number NPP is "3", so the fractional page number NF is "2". Next, the page concatenation number correction unit 139 divides the fractional page number NF by the logical page number NLP (NF/NLP), and discards the fractional part of the division result to obtain the correction value of the page concatenation number NPP. The page connection number NPP is corrected by adding this correction value to the page connection number NPP (step S128). In this example, since the fractional page number NF is "2" and the logical page number NLP is "2", the correction value is "1". As a result, the page connection number NPP becomes "4".

次に、ページデータ生成部113は、最初のページPP1のページデータを生成する(ステップS102)。そして、まだ論理ページLPは生成されていないので(ステップS103において“Y”)、論理ページ生成部112は、最初の論理ページLP1を生成する(ステップS105)。そして、印刷データ生成部130は、変数Nを“0”に設定し(ステップS106)、その後に、この変数Nをインクリメントすることにより、変数Nを“1”に設定する(ステップS108)。そして、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the first page PP1 (step S102). Then, since the logical page LP has not been generated yet (“Y” in step S103), the logical page generation unit 112 generates the first logical page LP1 (step S105). Then, the print data generation unit 130 sets the variable N to "0" (step S106), and then increments the variable N to set the variable N to "1" (step S108). Then, the process proceeds to the next page PP.

次に、ページデータ生成部113は、2番目のページPP2のページデータを生成する(ステップS102)。論理ページLP1がすでに生成され(ステップS103において“N”)、変数Nの値“1”はページ連結数NPPの値“4”よりも小さいため(ステップS104において“N”)、ページデータ連結部115は、ページPP2のページデータを、論理ページLP1内のページデータに連結する(ステップS107)。そして、印刷データ生成部130は、変数Nをインクリメントすることにより、変数Nを“2”に設定する(ステップS108)。そして、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the second page PP2 (step S102). The logical page LP1 has already been generated (“N” in step S103), and the value “1” of the variable N is smaller than the value “4” of the page concatenation number NPP (“N” in step S104). 115 links the page data of page PP2 to the page data in logical page LP1 (step S107). Then, the print data generation unit 130 sets the variable N to "2" by incrementing the variable N (step S108). Then, the process proceeds to the next page PP.

次に、ページデータ生成部113は、3番目のページPP3のページデータを生成する(ステップS102)。このページPP3に対する処理は、ページPP2に対する処理と同じである。その際、印刷データ生成部130は、変数Nをインクリメントすることにより、変数Nを“3”に設定する(ステップS108)。そして、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the third page PP3 (step S102). The process for page PP3 is the same as the process for page PP2. At that time, the print data generation unit 130 sets the variable N to “3” by incrementing the variable N (step S108). Then, the process proceeds to the next page PP.

次に、ページデータ生成部113は、4番目のページPP4のページデータを生成する(ステップS102)。このページPP4に対する処理は、ページPP2,PP3に対する処理と同じである。その際、印刷データ生成部130は、変数Nをインクリメントすることにより、変数Nを“4”に設定する(ステップS108)。そして、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the fourth page PP4 (step S102). The process for page PP4 is the same as the process for pages PP2 and PP3. At that time, the print data generation unit 130 sets the variable N to “4” by incrementing the variable N (step S108). Then, the process proceeds to the next page PP.

次に、ページデータ生成部113は、5番目のページPP5のページデータを生成する(ステップS102)。論理ページLP1がすでに生成され(ステップS103において“N”)、変数Nの値“4”はページ連結数NPPの値“4”に等しいため(ステップS104において“Y”)、論理ページ生成部112は、2番目の論理ページLP2を生成する(ステップS105)。そして、印刷データ生成部130は、変数Nを“0”に設定し(ステップS106)、その後に、この変数Nをインクリメントすることにより、変数Nを“1”に設定する(ステップS108)。そして、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the fifth page PP5 (step S102). Since the logical page LP1 has already been generated (“N” in step S103) and the value “4” of the variable N is equal to the value “4” of the page concatenation number NPP (“Y” in step S104), the logical page generation unit 112. Generates the second logical page LP2 (step S105). Then, the print data generation unit 130 sets the variable N to "0" (step S106), and then increments the variable N to set the variable N to "1" (step S108). Then, the process proceeds to the next page PP.

次に、ページデータ生成部113は、6番目のページPP6のページデータを生成する(ステップS102)。論理ページLP2がすでに生成され(ステップS103において“N”)、変数Nの値“1”はページ連結数NPPの値“4”よりも小さいため(ステップS104において“N”)、ページデータ連結部115は、ページPP6のページデータを、論理ページLP2内のページデータに連結する(ステップS107)。そして、印刷データ生成部130は、変数Nをインクリメントすることにより、変数Nを“2”に設定する(ステップS108)。そして、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the sixth page PP6 (step S102). Since the logical page LP2 has already been generated (“N” in step S103) and the value “1” of the variable N is smaller than the value “4” of the page concatenation number NPP (“N” in step S104), the page data concatenation unit 115 links the page data of page PP6 to the page data in logical page LP2 (step S107). Then, the print data generation unit 130 sets the variable N to "2" by incrementing the variable N (step S108). Then, the process proceeds to the next page PP.

次に、ページデータ生成部113は、7番目のページPP7のページデータを生成する(ステップS102)。このページPP7に対する処理は、ページPP6に対する処理と同じである。その際、印刷データ生成部130は、変数Nをインクリメントすることにより、変数Nを“3”に設定する(ステップS108)。そして、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the seventh page PP7 (step S102). The process for page PP7 is the same as the process for page PP6. At that time, the print data generation unit 130 sets the variable N to “3” by incrementing the variable N (step S108). Then, the process proceeds to the next page PP.

次に、ページデータ生成部113は、8番目のページPP8のページデータを生成する(ステップS102)。論理ページLP2がすでに生成され(ステップS103において“N”)、変数Nの値“3”はページ連結数NPPの値“4”よりも小さいため(ステップS104において“N”)、ページデータ連結部115は、ページPP8のページデータを、論理ページLP2内のページデータに連結する(ステップS107)。そして、印刷データ生成部130は、変数Nをインクリメントすることにより、変数Nを“4”に設定する(ステップS108)。切断ページ数NCUTは“8”であるので、切断判定部114は、このページPP8の直後に切断すると判断する(ステップS109において“Y”)。このとき、変数Nの値“4”はページ連結数NPPの値“4”と等しいので(ステップS110において“Y”)、ページデータ連結部115は、論理ページLPを連結しない。全てのページPPに対する処理は終了していないので(ステップS112において“N”)、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the eighth page PP8 (step S102). The logical page LP2 has already been generated (“N” in step S103), and the value “3” of the variable N is smaller than the value “4” of the page concatenation number NPP (“N” in step S104). 115 links the page data of page PP8 to the page data in logical page LP2 (step S107). Then, the print data generation unit 130 sets the variable N to "4" by incrementing the variable N (step S108). Since the number of cut pages NCUT is “8”, the cut determination unit 114 determines to cut immediately after this page PP8 (“Y” in step S109). At this time, since the value “4” of the variable N is equal to the value “4” of the page connection number NPP (“Y” in step S110), the page data connection unit 115 does not connect the logical page LP. Since the process for all pages PP is not completed (“N” in step S112), the process proceeds to the process for the next page PP.

次に、ページデータ生成部113は、9番目のページPP9のページデータを生成する(ステップS102)。論理ページLP2がすでに生成され(ステップS103において“N”)、変数Nの値“4”はページ連結数NPPの値“4”に等しいため(ステップS104において“Y”)、論理ページ生成部112は、3番目の論理ページLP3を生成する(ステップS105)。そして、印刷データ生成部130は、変数Nを“0”に設定し(ステップS106)、その後に、この変数Nをインクリメントすることにより、変数Nを“1”に設定する(ステップS108)。そして、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the ninth page PP9 (step S102). Since the logical page LP2 has already been generated (“N” in step S103) and the value “4” of the variable N is equal to the value “4” of the page concatenation number NPP (“Y” in step S104), the logical page generation unit 112. Generates the third logical page LP3 (step S105). Then, the print data generation unit 130 sets the variable N to "0" (step S106), and then increments the variable N to set the variable N to "1" (step S108). Then, the process proceeds to the next page PP.

印刷データ生成部130は、これ以降についても同様の処理を行う。すなわち、印刷データ生成部130は、4つのページPP9〜PP12を含む論理ページLP3を生成し、4つのページPP13〜PP16を含む論理ページLP4を生成する。そして、ページPP16に対する処理を終了することにより、全てのページPPに対する処理は終了し(ステップS112において“Y”)、このフローは終了する。このようにして、プリンタドライバ123は印刷データDPを生成する。そして、ホストコンピュータ3は、この印刷データDPを画像形成装置1に送信する。 The print data generation unit 130 performs the same processing thereafter. That is, the print data generation unit 130 generates the logical page LP3 including the four pages PP9 to PP12 and the logical page LP4 including the four pages PP13 to PP16. Then, by ending the process for page PP16, the process for all pages PP ends (“Y” in step S112), and this flow ends. In this way, the printer driver 123 generates the print data DP. Then, the host computer 3 transmits this print data DP to the image forming apparatus 1.

次に、画像形成装置1の動作について説明する。画像形成装置1は、ホストコンピュータ3から送信された印刷データDPに基づいて、記録媒体9に画像を形成するとともに、記録媒体9を切断する。 Next, the operation of the image forming apparatus 1 will be described. The image forming apparatus 1 forms an image on the recording medium 9 and disconnects the recording medium 9 based on the print data DP transmitted from the host computer 3.

まず、媒体供給ローラ12および搬送ローラ14,16,31は、記録媒体9を搬送路8に沿って搬送する。媒体センサ13は、記録媒体9におけるラベル9aを検出する。画像形成部20の位置補正部20aは、まず、媒体センサ13の検出結果に基づいて、記録媒体9における、論理ページLP1の書き出し位置を補正する。そして、画像形成部20は、論理ページLP1のデータに基づいて、記録媒体9の4つのラベル9aに画像を形成する。次に、画像形成部20の位置補正部20aは、媒体センサ13の検出結果に基づいて、記録媒体9における、論理ページLP2の書き出し位置を補正する。そして、画像形成部20は、論理ページLP2のデータに基づいて、記録媒体9の4つのラベル9aに画像を形成する。そして、切断部15は、ページPP8の直後の切断位置CPにおいて、記録媒体9を切断する。 First, the medium supply roller 12 and the transport rollers 14, 16 and 31 transport the recording medium 9 along the transport path 8. The medium sensor 13 detects the label 9a on the recording medium 9. The position correcting unit 20a of the image forming unit 20 first corrects the writing position of the logical page LP1 on the recording medium 9 based on the detection result of the medium sensor 13. Then, the image forming unit 20 forms an image on the four labels 9a of the recording medium 9 based on the data of the logical page LP1. Next, the position correction unit 20a of the image forming unit 20 corrects the writing position of the logical page LP2 on the recording medium 9 based on the detection result of the medium sensor 13. Then, the image forming unit 20 forms an image on the four labels 9a of the recording medium 9 based on the data of the logical page LP2. Then, the cutting unit 15 cuts the recording medium 9 at the cutting position CP immediately after the page PP8.

次に、画像形成部20の位置補正部20aは、媒体センサ13の検出結果に基づいて、記録媒体9における、論理ページLP3の書き出し位置を補正する。そして、画像形成部20は、論理ページLP3のデータに基づいて、記録媒体9の4つのラベル9aに画像を形成する。次に、画像形成部20の位置補正部20aは、媒体センサ13の検出結果に基づいて、記録媒体9における、論理ページLP4の書き出し位置を補正する。そして、画像形成部20は、論理ページLP4のデータに基づいて、記録媒体9の4つのラベル9aに画像を形成する。そして、切断部15は、ページPP10の直後の切断位置CPにおいて、記録媒体9を切断する。 Next, the position correction unit 20a of the image forming unit 20 corrects the writing position of the logical page LP3 on the recording medium 9 based on the detection result of the medium sensor 13. Then, the image forming unit 20 forms an image on the four labels 9a of the recording medium 9 based on the data of the logical page LP3. Next, the position correction unit 20a of the image forming unit 20 corrects the writing position of the logical page LP4 on the recording medium 9 based on the detection result of the medium sensor 13. Then, the image forming unit 20 forms an image on the four labels 9a of the recording medium 9 based on the data of the logical page LP4. Then, the cutting unit 15 cuts the recording medium 9 at the cutting position CP immediately after the page PP10.

以上のように、プリンタドライバ123では、ステップS128(図18)において、ページ連結数NPPを補正するようにしたので、以下に説明するように、記録媒体9における画像形成位置のずれを抑えることができる。 As described above, since the printer driver 123 corrects the page concatenation number NPP in step S128 (FIG. 18), it is possible to suppress the deviation of the image forming position on the recording medium 9 as described below. it can.

すなわち、例えば、第1の実施の形態に係るプリンタドライバ103において、同様に、ページ連結数NPPを“3”に設定するとともに、切断ページ数NCUTを“8”に設定した場合には、図20に示すように、論理ページLP2に含まれるページPPの数が“5”になる。画像形成装置1は、媒体センサ13の検出結果に基づいて、記録媒体9における、論理ページLP2の書き出し位置を補正した後に、論理ページLP2のデータに基づいて、記録媒体9の5つのラベル9aに画像を形成する。よって、この5つのラベル9aのうちの例えば最後のラベル9aにおいて、画像の形成位置がずれるおそれがある。 That is, for example, in the printer driver 103 according to the first embodiment, similarly, when the page concatenation number NPP is set to “3” and the cut page number NCUT is set to “8”, FIG. As shown in, the number of pages PP included in the logical page LP2 becomes “5”. The image forming apparatus 1 corrects the writing position of the logical page LP2 in the recording medium 9 based on the detection result of the medium sensor 13, and then, based on the data of the logical page LP2, the five labels 9a of the recording medium 9 are displayed. Form an image. Therefore, in the last label 9a, for example, of the five labels 9a, the image forming position may be displaced.

一方、第2の実施の形態に係るプリンタドライバ123では、端数ページ数NFを複数の論理ページLPに分配することにより、ページ連結数NPPを補正するようにした。これにより、プリンタドライバ123では、ある特定の論理ページLPにおいて、ページPPの数が多くなるおそれを低減することができるので、画像形成位置のずれを抑えることができる。 On the other hand, in the printer driver 123 according to the second embodiment, the page concatenation number NPP is corrected by distributing the fractional page number NF to a plurality of logical pages LP. As a result, the printer driver 123 can reduce the possibility that the number of pages PP in a specific logical page LP is large, and thus can suppress the deviation of the image forming position.

以上のように本実施の形態では、ページ連結数を補正したので、画像形成位置のずれを抑えることができる。その他の効果は、上記第1の実施の形態の場合と同様である。 As described above, in the present embodiment, since the page connection number is corrected, it is possible to suppress the deviation of the image forming position. Other effects are the same as those in the case of the first embodiment.

[変形例2−1]
上記実施の形態では、ページ連結数NPPを補正する際、まず、論理ページ数NLPおよび端数ページ数NFを求め(ステップS126,S127)、この論理ページ数NLPおよび端数ページ数NFに基づいて補正値を求め(ステップS128)、ページ連結数NPPにこの補正値を加算したが(ステップS129)、これに限定されるものではない。端数ページ数NFを複数の論理ページLPに分配するように処理するのであれば、どのような方法でページ連結数NPPを求めてもよい。
[Modification 2-1]
In the above embodiment, when correcting the page concatenation number NPP, first, the logical page number NLP and the fractional page number NF are obtained (steps S126 and S127), and the correction value is based on the logical page number NLP and the fractional page number NF. Is calculated (step S128) and this correction value is added to the page concatenation number NPP (step S129), but the invention is not limited to this. The page connection number NPP may be obtained by any method as long as the fractional page number NF is processed so as to be distributed to the plurality of logical pages LP.

[変形例2−2]
上記第2の実施の形態に係る技術に、上記第1の実施の形態の各変形例を適用してもよい。
[Modification 2-2]
The modifications of the first embodiment may be applied to the technique according to the second embodiment.

<3.第3の実施の形態>
次に、第3の実施の形態に係る画像形成システム(画像形成システム200)について説明する。本実施の形態は、ホストコンピュータが論理ページLPを生成し、画像形成装置が、論理ページLP内のページPPの数を調節するものである。なお、上記第1の実施の形態に係るホストコンピュータ2および画像形成装置1と実質的に同一の構成部分には同一の符号を付し、適宜説明を省略する。
<3. Third Embodiment>
Next, an image forming system (image forming system 200) according to the third embodiment will be described. In this embodiment, the host computer generates the logical page LP, and the image forming apparatus adjusts the number of pages PP in the logical page LP. It should be noted that substantially the same components as those of the host computer 2 and the image forming apparatus 1 according to the first embodiment described above are denoted by the same reference numerals, and description thereof will be omitted as appropriate.

図21は、画像形成システム200の一構成例を表すものである。画像形成システム200は、ホストコンピュータ201と、画像形成装置202とを備えている。 FIG. 21 shows a configuration example of the image forming system 200. The image forming system 200 includes a host computer 201 and an image forming apparatus 202.

図22は、ホストコンピュータ201におけるソフトウェア構成の一例を表すものである。ホストコンピュータ201には、プリンタドライバ143がインストールされている。プリンタドライバ143は、印刷データ生成部150を有している。印刷データ生成部150は、ページデータ連結部155を有している。 FIG. 22 shows an example of the software configuration of the host computer 201. A printer driver 143 is installed in the host computer 201. The printer driver 143 has a print data generation unit 150. The print data generation unit 150 has a page data connection unit 155.

ページデータ連結部155は、ページデータ生成部113が生成したページデータを、論理ページLP内のページデータに連結するものである。このページデータ連結部155は、第1の実施の形態に係るページデータ連結部115から、複数の論理ページLPを連結することにより論理ページLP内のページPPの数を調節する機能を省いたものである。 The page data linking unit 155 links the page data generated by the page data generating unit 113 to the page data in the logical page LP. The page data linking unit 155 omits the function of adjusting the number of pages PP in the logical page LP by linking a plurality of logical pages LP from the page data linking unit 115 according to the first embodiment. Is.

画像形成装置202(図21)は、処理部80と、画像形成部20Bと、制御部89とを有している。 The image forming apparatus 202 (FIG. 21) includes a processing unit 80, an image forming unit 20B, and a control unit 89.

処理部80は、印刷データDPに含まれる複数の論理ページLPに基づいて、論理ページLPごとに画像データD1を順次生成し、これらの画像データD1に基づいて印刷画像データD2を生成するものである。処理部80は、媒体ページ長検出部81と、位置補正部82と、論理ページ連結部83とを有している。 The processing unit 80 sequentially generates the image data D1 for each logical page LP based on the plurality of logical pages LP included in the print data DP, and generates the print image data D2 based on these image data D1. is there. The processing unit 80 has a medium page length detection unit 81, a position correction unit 82, and a logical page connection unit 83.

媒体ページ長検出部81は、媒体センサ13の検出結果に基づいて、記録媒体9における、論理ページ長LLPの長さに対応するページ長MLを検出するものである。具体的には、媒体ページ長検出部81は、媒体センサ13の検出結果に基づいて、例えば、記録媒体9のラベル9aのピッチを検出し、その検出結果に基づいてページ長MLを求めるようになっている。媒体ページ長検出部81は、媒体センサ13が透過センサ131として動作することによりラベル9aを検出した結果に基づいて、ページ長MLを検出してもよい。また、記録媒体9の台紙9bの裏面に、ラベル9aの位置を示すマーカが印刷されている場合には、媒体ページ長検出部81は、媒体センサ13が反射センサ132として動作することによりラベル9aを検出した結果に基づいて、ページ長MLを検出してもよい。 The medium page length detection unit 81 detects the page length ML corresponding to the length of the logical page length LLP in the recording medium 9 based on the detection result of the medium sensor 13. Specifically, the medium page length detection unit 81 detects, for example, the pitch of the label 9a of the recording medium 9 based on the detection result of the medium sensor 13, and obtains the page length ML based on the detection result. Has become. The medium page length detection unit 81 may detect the page length ML based on the result of detecting the label 9a by the medium sensor 13 operating as the transmission sensor 131. When a marker indicating the position of the label 9a is printed on the back surface of the mount 9b of the recording medium 9, the medium page length detection unit 81 causes the medium sensor 13 to operate as the reflection sensor 132 so that the label 9a is detected. The page length ML may be detected on the basis of the result of detection of.

位置補正部82は、画像データD1に含まれる論理ページLPを基準として、論理ページLPの長さをそれぞれ補正するものである。具体的には、位置補正部82は、まず、媒体ページ長検出部81の検出結果に基づいて、補正値CLnを求める。そして、位置補正部82は、画像データD1に含まれる論理ページLPを基準として、この補正値CLnに基づいて印刷画像データD2に含まれる最後の論理ページLPの後端の余白部を増減することにより、論理ページLPの長さを補正する。これにより、画像形成装置202は、記録媒体9における、論理ページの書き出し位置をそれぞれ補正することができるようになっている。 The position correction unit 82 corrects the length of each logical page LP with the logical page LP included in the image data D1 as a reference. Specifically, the position correction unit 82 first obtains the correction value CLn based on the detection result of the medium page length detection unit 81. Then, the position correction unit 82 increases or decreases the blank portion at the rear end of the last logical page LP included in the print image data D2 based on the correction value CLn with the logical page LP included in the image data D1 as a reference. Thus, the length of the logical page LP is corrected. As a result, the image forming apparatus 202 can correct the writing position of the logical page on the recording medium 9.

論理ページ連結部83は、複数の論理ページLPを連結することにより論理ページLP内のページPPの数を調節するものである。 The logical page link unit 83 controls the number of pages PP in the logical page LP by linking a plurality of logical pages LP.

画像形成部20Bは、印刷画像データD2に基づいて、印刷画像データD2に含まれる論理ページLPを基準として、記録媒体9に画像を形成するものである。 The image forming unit 20B forms an image on the recording medium 9 based on the print image data D2 with the logical page LP included in the print image data D2 as a reference.

制御部89は、通信部41、操作部42、表示部43、記憶部44、媒体供給部10、画像形成部20B、および処理部80の動作を制御することにより、画像形成装置202の全体動作を制御するものである。 The control unit 89 controls the operations of the communication unit 41, the operation unit 42, the display unit 43, the storage unit 44, the medium supply unit 10, the image forming unit 20B, and the processing unit 80, so that the overall operation of the image forming apparatus 202. To control.

ここで、ホストコンピュータ201は、本発明における「情報処理装置」の一具体例に対応する。印刷データ生成部150は、本発明における「第1の生成部」の一具体例に対応する。論理ページ生成部112は、本発明における「論理ページ生成部」の一具体例に対応する。印刷データDPは、本発明における「第1の画像データ」の一具体例に対応する。処理部80は、本発明における「第2の生成部」の一具体例に対応する。位置補正部82は、本発明における「補正部」の一具体例に対応する。論理ページ連結部83は、本発明における「調節部」の一具体例に対応する。媒体ページ長検出部81は、本発明における「検出部」の一具体例に対応する。印刷画像データD2は、本発明における「第2の画像データ」の一具体例に対応する。 Here, the host computer 201 corresponds to a specific but not limitative example of "information processing device" in the present invention. The print data generation unit 150 corresponds to a specific example of "a first generation unit" in the invention. The logical page generation unit 112 corresponds to a specific but not limitative example of “logical page generation unit” in the present invention. The print data DP corresponds to a specific example of "first image data" in the invention. The processing unit 80 corresponds to a specific but not limitative example of “second generation unit” in the invention. The position correction unit 82 corresponds to a specific but not limitative example of “correction unit” in the present invention. The logical page linking unit 83 corresponds to a specific but not limitative example of “adjusting unit” in the present invention. The medium page length detection unit 81 corresponds to a specific but not limitative example of "detection unit" in the present invention. The print image data D2 corresponds to a specific example of "second image data" in the invention.

(ホストコンピュータ201)
図23は、ホストコンピュータ201の印刷データ生成部150の一動作例を表すものである。
(Host computer 201)
FIG. 23 illustrates an operation example of the print data generation unit 150 of the host computer 201.

まず、印刷データ生成部150のページ連結数算出部111は、第1の実施の形態の場合(図8,9)と同様に、ページ連結数NPPを算出する(ステップS101)。 First, the page connection number calculation unit 111 of the print data generation unit 150 calculates the page connection number NPP (step S101), as in the case of the first embodiment (FIGS. 8 and 9).

次に、ページデータ生成部113は、アプリケーションソフトウェア102から供給されたデータに基づいて、1ページ分のページPPのページデータを生成する(ステップS102)。 Next, the page data generation unit 113 generates the page data of the page PP for one page based on the data supplied from the application software 102 (step S102).

次に、ページデータ連結部155は、論理ページLPがまだ生成されていないか否かを確認する(ステップS103)。論理ページLPが既に生成されている場合(ステップS103において“N”)には、ページデータ連結部155は、変数Nがページ連結数NPP以上(N≧NPP)であるか否かを確認する(ステップS104)。変数Nがページ連結数NPPよりも小さい場合(ステップS104において“N”)には、ステップS107に進む。 Next, the page data linking unit 155 confirms whether the logical page LP has not been generated yet (step S103). If the logical page LP has already been generated (“N” in step S103), the page data linking unit 155 checks whether the variable N is equal to or more than the page link number NPP (N≧NPP) ( Step S104). If the variable N is smaller than the page connection number NPP (“N” in step S104), the process proceeds to step S107.

ステップS103において、論理ページLPがまだ生成されていない場合(ステップS103において“Y”)、またはステップS104において、変数Nがページ連結数NPP以上である場合(ステップS104において“Y”)には、論理ページ生成部112は、論理ページLPを生成する(ステップS105)。そして、印刷データ生成部150は、変数Nの値を“0”に設定する(ステップS106)。 In step S103, if the logical page LP has not yet been generated (“Y” in step S103), or if the variable N is equal to or more than the page concatenation number NPP in step S104 (“Y” in step S104), The logical page generation unit 112 generates the logical page LP (step S105). Then, the print data generation unit 150 sets the value of the variable N to "0" (step S106).

次に、ページデータ連結部155は、ステップS102において生成したページデータを、現在の論理ページLP内のページデータに連結し(ステップS107)、印刷データ生成部150は、変数Nをインクリメントする(ステップS108)。 Next, the page data connection unit 155 connects the page data generated in step S102 to the page data in the current logical page LP (step S107), and the print data generation unit 150 increments the variable N (step). S108).

次に、切断判定部114は、切断ページ数NCUTに基づいて、現在のページPPの直後に切断するか否かを判定する(ステップS109)。現在のページPPの直後に切断しない場合(ステップS109において“N”)には、ステップS118に進む。 Next, the disconnection determination unit 114 determines whether to disconnect immediately after the current page PP, based on the number of cut pages NCUT (step S109). If the current page PP is not cut immediately after the current page (“N” in step S109), the process proceeds to step S118.

現在のページPPの直後に切断する場合(ステップS109において“Y”)には、印刷データ生成部150は、変数Nの値を、ページ連結数NPPと同じ値に設定する(ステップS117)。すなわち、現在のページPPの直後に切断する場合には、印刷データ生成部150は、現在の論理ページLPを終了させるために、変数Nの値を、ページ連結数NPPと同じ値に設定する。そして、切断判定部114は、切断位置CPを設定する。 When cutting immediately after the current page PP (“Y” in step S109), the print data generation unit 150 sets the value of the variable N to the same value as the page concatenation number NPP (step S117). That is, when cutting immediately after the current page PP, the print data generating unit 150 sets the value of the variable N to the same value as the page concatenation number NPP in order to end the current logical page LP. Then, the cutting determination unit 114 sets the cutting position CP.

次に、印刷データ生成部150は、設定記憶部105に記憶されたラベル数NLに基づいて、全てのページPPに対する処理を終了したか否かを確認する(ステップS118)。全てのページPPに対する処理をまだ終了していない場合(ステップS112において“N”)には、ステップS102に戻り、全てのページPPに対する処理が終了するまでステップS102〜S109,S117,S118を繰り返す。 Next, the print data generation unit 150 confirms whether or not the processing for all pages PP has been completed based on the label number NL stored in the setting storage unit 105 (step S118). If the processing for all pages PP has not been completed ("N" in step S112), the process returns to step S102, and steps S102 to S109, S117, and S118 are repeated until the processing for all pages PP is completed.

そして、ステップS112において、全てのページPPに対する処理をすでに終了した場合(ステップS118において“Y”)には、印刷データ生成部150は、属性情報INFを生成する(ステップS119)。属性情報INFは、例えば、ページ連結数NPPと、各論理ページLPにおけるページ連結数N1、および各論理ページLPにおけるページ長DLを含んでいる。ページ連結数N1は、各論理ページLPにおけるページPPの数である。ページ長DLは、各論理ページLPの論理ページ長LLPであり、例えば、設定記憶部105が記憶している、ページPPのページ長LPPと、各論理ページLPにおけるページ連結数N1に基づいて算出される。そして、印刷データ生成部150は、この属性情報INFを印刷データDPに付加する。 Then, in step S112, if the processing for all pages PP has already been completed (“Y” in step S118), the print data generation unit 150 generates the attribute information INF (step S119). The attribute information INF includes, for example, the page concatenation number NPP, the page concatenation number N1 in each logical page LP, and the page length DL in each logical page LP. The page connection number N1 is the number of pages PP in each logical page LP. The page length DL is the logical page length LLP of each logical page LP, and is calculated, for example, based on the page length LPP of the page PP stored in the setting storage unit 105 and the page concatenation number N1 in each logical page LP. To be done. Then, the print data generation unit 150 adds this attribute information INF to the print data DP.

以上で、このフローを終了する。このようにして、印刷データ生成部150は、印刷データDPを生成する。 This is the end of the flow. In this way, the print data generation unit 150 generates the print data DP.

次に、具体例を挙げて、プリンタドライバ143の動作を説明する。 Next, the operation of the printer driver 143 will be described using a specific example.

図24は、プリンタドライバ143が生成した印刷データDPにおける論理ページLPの構成を模式的に表すものである。この例では、切断ページ数NCUTを“5”に設定するとともに、ラベル数NLを“10”に設定している。この場合には、印刷データ生成部150は、2つのページPP1,PP2を含む論理ページLP1と、2つのページPP3,PP4を含む論理ページLP2と、1つのページPP5を含む論理ページLP3を生成し、このページPP5の直後に切断位置CPを設定する。そして、印刷データ生成部150は、2つのページPP6,PP7を含む論理ページLP4と、2つのページPP8,PP9を含む論理ページLP5と、1つのページPP10を含む論理ページLP6を生成し、このページPP10の直後に切断位置CPを設定する。以下に、この動作について詳細に説明する。 FIG. 24 schematically shows the configuration of the logical page LP in the print data DP generated by the printer driver 143. In this example, the cut page number NCUT is set to "5" and the label number NL is set to "10". In this case, the print data generation unit 150 generates the logical page LP1 including the two pages PP1 and PP2, the logical page LP2 including the two pages PP3 and PP4, and the logical page LP3 including the one page PP5. The cutting position CP is set immediately after this page PP5. Then, the print data generation unit 150 generates the logical page LP4 including the two pages PP6 and PP7, the logical page LP5 including the two pages PP8 and PP9, and the logical page LP6 including the one page PP10. The cutting position CP is set immediately after PP10. This operation will be described in detail below.

まず、ページ連結数算出部111は、ページ連結数NPPを算出する(ステップS101)。この例では、ページ連結数NPPは“2”である。 First, the page connection number calculation unit 111 calculates the page connection number NPP (step S101). In this example, the page connection number NPP is “2”.

次に、ページデータ生成部113は、最初のページPP1のページデータを生成する(ステップS102)。まだ論理ページLPは生成されていないので(ステップS103において“Y”)、論理ページ生成部112は、最初の論理ページLP1を生成する(ステップS105)。そして、印刷データ生成部150は、変数Nを“0”に設定し(ステップS106)、その後に、この変数Nをインクリメントすることにより、変数Nを“1”に設定する(ステップS108)。このページPP1の直後では切断せず(ステップS109において“N”)、全てのページPPに対する処理は終了していないので(ステップS118において“N”)、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the first page PP1 (step S102). Since the logical page LP has not been generated yet (“Y” in step S103), the logical page generation unit 112 generates the first logical page LP1 (step S105). Then, the print data generation unit 150 sets the variable N to "0" (step S106), and then increments the variable N to set the variable N to "1" (step S108). Immediately after this page PP1 is not cut (“N” in step S109), and the processing for all pages PP is not completed (“N” in step S118), the process proceeds to the next page PP.

次に、ページデータ生成部113は、2番目のページPP2のページデータを生成する(ステップS102)。論理ページLP1がすでに生成され(ステップS103において“N”)、変数Nの値“1”はページ連結数NPPの値“2”よりも小さいため(ステップS104において“N”)、ページデータ連結部155は、ページPP2のページデータを、論理ページLP1内のページデータに連結する(ステップS107)。そして、印刷データ生成部150は、変数Nをインクリメントすることにより、変数Nを“2”に設定する(ステップS108)。このページPP2の直後では切断せず(ステップS109において“N”)、全てのページPPに対する処理は終了していないので(ステップS118において“N”)、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the second page PP2 (step S102). Since the logical page LP1 has already been generated (“N” in step S103) and the value “1” of the variable N is smaller than the value “2” of the page connection number NPP (“N” in step S104), the page data connection unit 155 connects the page data of the page PP2 to the page data in the logical page LP1 (step S107). Then, the print data generation unit 150 sets the variable N to "2" by incrementing the variable N (step S108). Immediately after this page PP2, the page is not cut ("N" in step S109), and the process for all pages PP is not completed ("N" in step S118), the process proceeds to the process for the next page PP.

次に、ページデータ生成部113は、3番目のページPP3のページデータを生成する(ステップS102)。論理ページLP1がすでに生成され(ステップS103において“N”)、変数Nの値“2”はページ連結数NPPの値“2”に等しいため(ステップS104において“Y”)、論理ページ生成部112は、2番目の論理ページLP2を生成する(ステップS105)。そして、印刷データ生成部150は、変数Nを“0”に設定し(ステップS106)、その後に、この変数Nをインクリメントすることにより、変数Nを“1”に設定する(ステップS108)。このページPP3の直後では切断せず(ステップS109において“N”)、全てのページPPに対する処理は終了していないので(ステップS118において“N”)、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the third page PP3 (step S102). Since the logical page LP1 has already been generated (“N” in step S103) and the value “2” of the variable N is equal to the value “2” of the page concatenation number NPP (“Y” in step S104), the logical page generation unit 112. Generates the second logical page LP2 (step S105). Then, the print data generation unit 150 sets the variable N to "0" (step S106), and then increments the variable N to set the variable N to "1" (step S108). Immediately after this page PP3, cutting is not performed (“N” in step S109), and the processing for all pages PP is not completed (“N” in step S118), the process proceeds to the next page PP.

次に、ページデータ生成部113は、4番目のページPP4のページデータを生成する(ステップS102)。論理ページLP2がすでに生成され(ステップS103において“N”)、変数Nの値“1”はページ連結数NPPの値“2”よりも小さいため(ステップS104において“N”)、ページデータ連結部155は、ページPP4のページデータを、論理ページLP2内のページデータに連結する(ステップS107)。そして、印刷データ生成部150は、変数Nをインクリメントすることにより、変数Nを“2”に設定する(ステップS108)。このページPP4の直後では切断せず(ステップS109において“N”)、全てのページPPに対する処理は終了していないので(ステップS118において“N”)、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the fourth page PP4 (step S102). The logical page LP2 has already been generated (“N” in step S103), and the value “1” of the variable N is smaller than the value “2” of the page concatenation number NPP (“N” in step S104). 155 connects the page data of page PP4 to the page data in logical page LP2 (step S107). Then, the print data generation unit 150 sets the variable N to "2" by incrementing the variable N (step S108). Immediately after this page PP4, cutting is not performed (“N” in step S109), and the processing for all pages PP is not completed (“N” in step S118), so the process proceeds to the processing for the next page PP.

次に、ページデータ生成部113は、5番目のページPP5のページデータを生成する(ステップS102)。論理ページLP2がすでに生成され(ステップS103において“N”)、変数Nの値“2”はページ連結数NPPの値“2”に等しいため(ステップS104において“Y”)、論理ページ生成部112は、3番目の論理ページLP3を生成する(ステップS105)。そして、印刷データ生成部150は、変数Nを“0”に設定し(ステップS106)、その後に、この変数Nをインクリメントすることにより、変数Nを“1”に設定する(ステップS108)。切断ページ数NCUTは“5”であるので、切断判定部114は、このページPP5の直後に切断すると判断する(ステップS109において“Y”)。印刷データ生成部150は、変数Nの値を、ページ連結数NPPと同じ値“2”に設定し(ステップS117)、このページPP5の直後に切断位置CPを設定する。全てのページPPに対する処理は終了していないので(ステップS118において“N”)、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the fifth page PP5 (step S102). Since the logical page LP2 has already been generated (“N” in step S103) and the value “2” of the variable N is equal to the value “2” of the page concatenation number NPP (“Y” in step S104), the logical page generation unit 112. Generates the third logical page LP3 (step S105). Then, the print data generation unit 150 sets the variable N to "0" (step S106), and then increments the variable N to set the variable N to "1" (step S108). Since the cut page number NCUT is “5”, the cut determination unit 114 determines to cut immediately after this page PP5 (“Y” in step S109). The print data generation unit 150 sets the value of the variable N to the same value “2” as the page connection number NPP (step S117), and sets the cutting position CP immediately after this page PP5. Since the processing for all the pages PP is not completed (“N” in step S118), the process proceeds to the processing for the next page PP.

次に、ページデータ生成部113は、6番目のページPP6のページデータを生成する(ステップS102)。論理ページLP3がすでに生成され(ステップS103において“N”)、変数Nの値“2”はページ連結数NPPの値“2”に等しいため(ステップS104において“Y”)、論理ページ生成部112は、4番目の論理ページLP4を生成する(ステップS105)。そして、印刷データ生成部150は、変数Nを“0”に設定し(ステップS106)、その後に、この変数Nをインクリメントすることにより、変数Nを“1”に設定する(ステップS108)。このページPP6の直後では切断せず(ステップS109において“N”)、全てのページPPに対する処理は終了していないので(ステップS118において“N”)、次のページPPの処理に進む。 Next, the page data generation unit 113 generates the page data of the sixth page PP6 (step S102). Since the logical page LP3 has already been generated (“N” in step S103) and the value “2” of the variable N is equal to the value “2” of the page concatenation number NPP (“Y” in step S104), the logical page generation unit 112. Generates the fourth logical page LP4 (step S105). Then, the print data generation unit 150 sets the variable N to "0" (step S106), and then increments the variable N to set the variable N to "1" (step S108). Immediately after this page PP6, cutting is not performed (“N” in step S109), and the processing for all pages PP is not completed (“N” in step S118), the process proceeds to the processing for the next page PP.

印刷データ生成部150は、これ以降についても同様の処理を行う。すなわち、印刷データ生成部150は、2つのページPP6,PP7を含む論理ページLP4を生成し、2つのページPP8,PP9を含む論理ページLP5を生成し、1つのページPP10を含む論理ページLP10を生成する。そして、ページPP10に対する処理を終了することにより、全てのページPPに対する処理は終了する(ステップS118において“Y”)。 The print data generation unit 150 performs the same processing thereafter. That is, the print data generation unit 150 generates a logical page LP4 including two pages PP6 and PP7, a logical page LP5 including two pages PP8 and PP9, and a logical page LP10 including one page PP10. To do. Then, by ending the process for page PP10, the process for all pages PP ends ("Y" in step S118).

そして、印刷データ生成部150は、属性情報INFを生成する(ステップS119)。この例では、ページ連結数NPPの値は“2”である。また、論理ページLP1のページ連結数N1の値は“2”であり、論理ページLP2のページ連結数N1の値は“2”であり、論理ページLP3のページ連結数N1の値は“1”であり、論理ページLP4のページ連結数N1の値は“2”であり、論理ページLP5のページ連結数N1の値は“2”であり、論理ページLP6のページ連結数N1の値は“1”である。また、論理ページLP1のページ長DLの値は“2×LPP”であり、論理ページLP2のページ長DLの値は“2×LPP”であり、論理ページLP3のページ長DLの値は“LPP”であり、論理ページLP4のページ長DLの値は“2×LPP”であり、論理ページLP5のページ長DLの値は“2×LPP”であり、論理ページLP6のページ長DLの値は“LPP”である。そして、印刷データ生成部150は、この属性情報INFを印刷データDPに付加する。 Then, the print data generation unit 150 generates the attribute information INF (step S119). In this example, the value of the page concatenation number NPP is “2”. The value of the page concatenation number N1 of the logical page LP1 is “2”, the value of the page concatenation number N1 of the logical page LP2 is “2”, and the value of the page concatenation number N1 of the logical page LP3 is “1”. The value of the page concatenation number N1 of the logical page LP4 is “2”, the value of the page concatenation number N1 of the logical page LP5 is “2”, and the value of the page concatenation number N1 of the logical page LP6 is “1”. It is. The value of the page length DL of the logical page LP1 is “2×LPP”, the value of the page length DL of the logical page LP2 is “2×LPP”, and the value of the page length DL of the logical page LP3 is “LPP”. , The value of the page length DL of the logical page LP4 is “2×LPP”, the value of the page length DL of the logical page LP5 is “2×LPP”, and the value of the page length DL of the logical page LP6 is It is "LPP". Then, the print data generation unit 150 adds this attribute information INF to the print data DP.

このようにして、プリンタドライバ143は印刷データDPを生成する。そして、ホストコンピュータ201は、この印刷データDPを画像形成装置202に送信する。画像形成装置202の通信部41は、この印刷データDPを受信し、制御部89は、受信した印刷データDPを記憶部44に記憶させる。 In this way, the printer driver 143 generates the print data DP. Then, the host computer 201 transmits this print data DP to the image forming apparatus 202. The communication unit 41 of the image forming apparatus 202 receives the print data DP, and the control unit 89 stores the received print data DP in the storage unit 44.

(画像形成装置202)
図25は、画像形成装置202の処理部80の一動作例を表すものである。処理部80は、印刷データDPに含まれる複数の論理ページLPに基づいて、論理ページLPごとに画像データD1を順次生成し、これらの論理ページLPに基づいて印刷画像データD2を生成する。
(Image forming apparatus 202)
FIG. 25 illustrates an operation example of the processing unit 80 of the image forming apparatus 202. The processing unit 80 sequentially generates the image data D1 for each logical page LP based on the plurality of logical pages LP included in the print data DP, and generates the print image data D2 based on these logical pages LP.

まず、処理部80は、印刷データDPの属性情報INFからページ連結数NPPを取得する(ステップS141)。 First, the processing unit 80 acquires the page connection number NPP from the attribute information INF of the print data DP (step S141).

次に、処理部80は、印刷データDPに含まれる複数の論理ページLPから、処理の対象となる論理ページLPを選択する(ステップS142)。具体的には、処理部80は、印刷データDPに含まれる複数の論理ページLPのうち、最初の論理ページLPから順に、処理の対象となる論理ページLPを選択する。 Next, the processing unit 80 selects the logical page LP to be processed from the plurality of logical pages LP included in the print data DP (step S142). Specifically, the processing unit 80 sequentially selects the logical page LP to be processed from the first logical page LP among the plurality of logical pages LP included in the print data DP.

次に、処理部80は、印刷データDPの属性情報INFから、処理対象である論理ページLPにおけるページ連結数N1およびページ長DLを取得する(ステップS143)。 Next, the processing unit 80 acquires the page concatenation number N1 and the page length DL in the logical page LP to be processed from the attribute information INF of the print data DP (step S143).

次に、媒体ページ長検出部81は、処理対象である論理ページLPの長さに対応するページ長MLを検出する(ステップS144)。具体的には、例えば、処理対象である論理ページLPにおけるページ連結数N1が“2”である場合には、媒体ページ長検出部81は、2ページ分のページPPのページ長MLを検出する。 Next, the medium page length detection unit 81 detects the page length ML corresponding to the length of the logical page LP to be processed (step S144). Specifically, for example, when the page concatenation number N1 in the logical page LP to be processed is “2”, the medium page length detection unit 81 detects the page length ML of the page PP for two pages. ..

次に、位置補正部82は、ページ長DLおよびページ長MLに基づいて補正値CLnを算出する(ステップS145)。補正値CLnは、例えば、ページ長DLとページ長MLとの差分であってもよい。また、補正値CLnは、例えば、ページ長DLと、検出された複数のページ長MLの平均値との差分であってもよい。 Next, the position correction unit 82 calculates the correction value CLn based on the page length DL and the page length ML (step S145). The correction value CLn may be, for example, the difference between the page length DL and the page length ML. Further, the correction value CLn may be, for example, the difference between the page length DL and the average value of the detected plurality of page lengths ML.

次に、処理部80は、処理対象である論理ページLPの画像データD1を生成する(ステップS146)。具体的には、処理部80は、印刷データDPに含まれる、処理対象である論理ページLP内の画像データに基づいて、その論理ページLPの画像データD1を生成する。 Next, the processing unit 80 generates the image data D1 of the logical page LP to be processed (step S146). Specifically, the processing unit 80 generates the image data D1 of the logical page LP, which is included in the print data DP, based on the image data in the logical page LP that is the processing target.

次に、論理ページ連結部83は、処理対象である論理ページLPが、印刷データDPにおける複数の論理ページLPのうちの最初の論理ページLPであるか否かを確認する(ステップS147)。最初の論理ページLPである場合(ステップS147において“Y”)には、論理ページ連結部83は、ステップS146において生成した画像データD1に基づいて、その論理ページLPを含む印刷画像データD2を生成する(ステップS148)。そして、ステップS153に進む。 Next, the logical page linking unit 83 confirms whether the logical page LP to be processed is the first logical page LP of the plurality of logical pages LP in the print data DP (step S147). If it is the first logical page LP (“Y” in step S147), the logical page linking unit 83 generates print image data D2 including the logical page LP based on the image data D1 generated in step S146. Yes (step S148). Then, the process proceeds to step S153.

ステップS147において、処理対象である論理ページLPが、最初の論理ページLPではない場合(ステップS147において“N”)には、位置補正部82は、ステップS145において算出した補正値CLnを用いて、印刷画像データD2を補正する。具体的には、位置補正部82は、補正値CLnに基づいて、印刷画像データD2に含まれる最後の論理ページLPの後端の余白部を増減することにより、その最後の論理ページLPの長さを補正する。このように、検出値に基づいて補正値CLnを生成し、この補正値CLnを用いてフィードバックを行うことにより、画像形成装置202は、記録媒体9における、処理対象である論理ページLPの書き出し位置を補正することができる。 In step S147, when the logical page LP to be processed is not the first logical page LP (“N” in step S147), the position correction unit 82 uses the correction value CLn calculated in step S145, The print image data D2 is corrected. Specifically, the position correction unit 82 increases or decreases the blank space at the rear end of the last logical page LP included in the print image data D2 based on the correction value CLn, thereby increasing the length of the last logical page LP. Correctness. As described above, the correction value CLn is generated based on the detected value, and feedback is performed using the correction value CLn, whereby the image forming apparatus 202 causes the image forming apparatus 202 to start writing the logical page LP to be processed on the recording medium 9. Can be corrected.

次に、論理ページ連結部83は、処理対象である論理ページLPにおけるページ連結数N1がページ連結数NPPよりも小さいか否かを確認する(ステップS150)。 Next, the logical page concatenation unit 83 confirms whether the page concatenation number N1 in the logical page LP to be processed is smaller than the page concatenation number NPP (step S150).

ステップS150において、処理対象である論理ページLPにおけるページ連結数N1がページ連結数NPPと等しい場合(ステップS150において“N”)には、論理ページ連結部83は、印刷画像データD2に含まれる最後の論理ページLPの次に、処理対象である論理ページLPを付加する(ステップS151)。すなわち、論理ページ連結部83は、論理ページLPの連結を行わず、処理対象である論理ページLPを、印刷画像データD2に含まれる最後の論理ページLPの次に、別の論理ページLPとして付加する。 In step S150, when the page concatenation number N1 in the logical page LP to be processed is equal to the page concatenation number NPP (“N” in step S150), the logical page concatenation unit 83 determines that the last page included in the print image data D2. The logical page LP to be processed is added next to the logical page LP of (step S151). That is, the logical page linking unit 83 does not link the logical pages LP and adds the logical page LP to be processed as another logical page LP after the last logical page LP included in the print image data D2. To do.

ステップS150において、処理対象である論理ページLPにおけるページ連結数N1がページ連結数NPPよりも小さい場合(ステップS150において“Y”)には、論理ページ連結部83は、印刷画像データD2に含まれる最後の論理ページLPに、処理対象である論理ページLPを連結する(ステップS152)。すなわち、論理ページ連結部83は、処理対象である論理ページLPの画像データD1を、印刷画像データD2に含まれる最後の論理ページLPの画像データD1に連結することにより、処理対象である論理ページLPと印刷画像データD2に含まれる最後の論理ページLPとを1つにまとめる。 In step S150, when the page concatenation number N1 in the logical page LP to be processed is smaller than the page concatenation number NPP (“Y” in step S150), the logical page concatenation unit 83 is included in the print image data D2. The logical page LP to be processed is linked to the last logical page LP (step S152). That is, the logical page concatenation unit 83 concatenates the image data D1 of the logical page LP that is the processing target with the image data D1 of the last logical page LP that is included in the print image data D2, so that the logical page that is the processing target. The LP and the last logical page LP included in the print image data D2 are combined into one.

次に、処理部80は、印刷データDPに含まれる全ての論理ページLPに対する処理を終了したか否かを確認する(ステップS153)。全ての論理ページLPに対する処理をまだ終了していない場合(ステップS153において“N”)には、ステップS142に戻り、全ての論理ページLPに対する処理が終了するまでステップS142〜S153を繰り返す。 Next, the processing unit 80 confirms whether or not the processing for all the logical pages LP included in the print data DP has been completed (step S153). If the processing for all the logical pages LP has not been completed (“N” in step S153), the process returns to step S142, and steps S142 to S153 are repeated until the processing for all the logical pages LP is completed.

そして、ステップS153において、全ての論理ページLPに対する処理をすでに終了した場合(ステップS153において“Y”)には、このフローを終了する。 Then, in step S153, if the processing for all the logical pages LP has already been completed (“Y” in step S153), this flow is ended.

次に、具体例を挙げて、画像形成装置202の動作を説明する。 Next, the operation of the image forming apparatus 202 will be described using a specific example.

図26は、処理部80が生成した印刷画像データD2における論理ページLPの構成を模式的に表すものである。この例では、処理部80は、図24に示した印刷データDPに基づいて、印刷画像データD2を生成している。この場合には、処理部80は、論理ページLP1に基づいて論理ページLP11を生成し、2つの論理ページLP2,LP3を連結して論理ページLP12を生成し、論理ページLP4に基づいて論理ページLP13を生成し、2つの論理ページLP5,LP6を連結して論理ページLP14を生成する。以下に、この動作について詳細に説明する。 FIG. 26 schematically shows the configuration of the logical page LP in the print image data D2 generated by the processing unit 80. In this example, the processing unit 80 generates the print image data D2 based on the print data DP shown in FIG. In this case, the processing unit 80 generates the logical page LP11 based on the logical page LP1, connects the two logical pages LP2 and LP3 to generate the logical page LP12, and based on the logical page LP4. Is generated and the two logical pages LP5 and LP6 are connected to generate a logical page LP14. This operation will be described in detail below.

まず、処理部80は、印刷データDPの属性情報INFからページ連結数NPPを取得する(ステップS141)。この例では、ページ連結数NPPは“2”である。 First, the processing unit 80 acquires the page connection number NPP from the attribute information INF of the print data DP (step S141). In this example, the page connection number NPP is “2”.

次に、処理部80は、印刷データDPに含まれる最初の論理ページLP1(図24)を処理対象となる論理ページLPとして選択する(ステップS142)。この論理ページLP1のページ連結数N1は“2”であり、ページ長DLは“2×LPP”である(ステップS143)。媒体ページ長検出部81は、この論理ページLP1の長さに対応する2ページ分のページPPのページ長MLを検出し(ステップS144)、位置補正部82は、ページ長DLおよびページ長MLに基づいて補正値CLnを算出する(ステップS145)。次に、処理部80は、論理ページLP1内の画像データに基づいて、画像データD1を生成する(ステップS146)。この論理ページLP1は最初の論理ページLPであるので(ステップS147において“Y”)、論理ページ連結部83は、論理ページLP1の画像データD1に基づいて、その論理ページLP1を論理ページLP11として含む印刷画像データD2を生成する(ステップS148)。全ての論理ページLPに対する処理は終了していないので(ステップS153において“N”)、次の論理ページLPの処理に進む。 Next, the processing unit 80 selects the first logical page LP1 (FIG. 24) included in the print data DP as the logical page LP to be processed (step S142). The page connection number N1 of the logical page LP1 is "2", and the page length DL is "2×LPP" (step S143). The medium page length detection unit 81 detects the page length ML of the page PP for two pages corresponding to the length of the logical page LP1 (step S144), and the position correction unit 82 sets the page length DL and the page length ML. The correction value CLn is calculated based on this (step S145). Next, the processing unit 80 generates the image data D1 based on the image data in the logical page LP1 (step S146). Since this logical page LP1 is the first logical page LP (“Y” in step S147), the logical page linking unit 83 includes the logical page LP1 as the logical page LP11 based on the image data D1 of the logical page LP1. The print image data D2 is generated (step S148). Since the process for all the logical pages LP has not been completed (“N” in step S153), the process proceeds to the next logical page LP.

次に、処理部80は、2番目の論理ページLP2(図24)を処理対象となる論理ページLPとして選択する(ステップS142)。この論理ページLP2のページ連結数N1は“2”であり、ページ長DLは“2×LPP”である(ステップS143)。媒体ページ長検出部81は、この論理ページLP2の長さに対応する2ページ分のページPPのページ長MLを検出し(ステップS144)、位置補正部82は、ページ長DLおよびページ長MLに基づいて補正値CLnを算出する(ステップS145)。次に、処理部80は、論理ページLP2内の画像データに基づいて、画像データD1を生成する(ステップS146)。この論理ページLP2は最初の論理ページLPではないので(ステップS147において“N”)、位置補正部82は、補正値CLnを用いて印刷画像データD2を補正することにより書き出し位置の補正を行う(ステップS149)。この補正動作は、図26の補正動作A1に対応する。そして、ページ連結数N1の値“2”は、ページ連結数NPPの値“2”と同じであるので(ステップS150において“N”)、論理ページ連結部83は、印刷画像データD2に含まれる最後の論理ページLP(論理ページLP11)の次に、処理対象である論理ページLP2を論理ページLP12として付加する(ステップS151)。全ての論理ページLPに対する処理は終了していないので(ステップS153において“N”)、次の論理ページLPの処理に進む。 Next, the processing unit 80 selects the second logical page LP2 (FIG. 24) as the logical page LP to be processed (step S142). The page connection number N1 of the logical page LP2 is "2", and the page length DL is "2×LPP" (step S143). The medium page length detection unit 81 detects the page length ML of the page PP for two pages corresponding to the length of the logical page LP2 (step S144), and the position correction unit 82 sets the page length DL and the page length ML. The correction value CLn is calculated based on this (step S145). Next, the processing unit 80 generates the image data D1 based on the image data in the logical page LP2 (step S146). Since this logical page LP2 is not the first logical page LP (“N” in step S147), the position correction unit 82 corrects the writing position by correcting the print image data D2 using the correction value CLn (( Step S149). This correction operation corresponds to the correction operation A1 in FIG. Since the value "2" of the page connection number N1 is the same as the value "2" of the page connection number NPP ("N" in step S150), the logical page connection unit 83 is included in the print image data D2. Next to the last logical page LP (logical page LP11), the logical page LP2 to be processed is added as the logical page LP12 (step S151). Since the process for all the logical pages LP has not been completed (“N” in step S153), the process proceeds to the process for the next logical page LP.

次に、処理部80は、3番目の論理ページLP3(図24)を処理対象となる論理ページLPとして選択する(ステップS142)。この論理ページLP3のページ連結数N1は“1”であり、ページ長DLは“LPP”である(ステップS143)。媒体ページ長検出部81は、この論理ページLP1の長さに対応する1ページ分のページPPのページ長MLを検出し(ステップS144)、位置補正部82は、ページ長DLおよびページ長MLに基づいて補正値CLnを算出する(ステップS145)。次に、処理部80は、論理ページLP3内の画像データに基づいて、画像データD1を生成する(ステップS146)。この論理ページLP3は最初の論理ページLPではないので(ステップS147において“N”)、位置補正部82は、補正値CLnを用いて印刷画像データD2を補正することにより書き出し位置の補正を行う(ステップS149)。この補正動作は、図26の補正動作A2に対応する。そして、ページ連結数N1の値“1”は、ページ連結数NPPの値“2”より小さいので(ステップS150において“Y”)、論理ページ連結部83は、印刷画像データD2に含まれる最後の論理ページLP(論理ページLP12)に、処理対象である論理ページLP3を連結し、1つの論理ページLP12にまとめる(ステップS151)。ここで、論理ページLP2,LP3は、本発明における「第1の論理ページ」の一具体例に対応する。全ての論理ページLPに対する処理は終了していないので(ステップS153において“N”)、次の論理ページLPの処理に進む。 Next, the processing unit 80 selects the third logical page LP3 (FIG. 24) as the logical page LP to be processed (step S142). The page concatenation number N1 of this logical page LP3 is "1" and the page length DL is "LPP" (step S143). The medium page length detection unit 81 detects the page length ML of the page PP for one page corresponding to the length of the logical page LP1 (step S144), and the position correction unit 82 sets the page length DL and the page length ML. The correction value CLn is calculated based on this (step S145). Next, the processing unit 80 generates the image data D1 based on the image data in the logical page LP3 (step S146). Since this logical page LP3 is not the first logical page LP ("N" in step S147), the position correction unit 82 corrects the writing position by correcting the print image data D2 using the correction value CLn ( Step S149). This correction operation corresponds to the correction operation A2 in FIG. Since the value "1" of the page connection number N1 is smaller than the value "2" of the page connection number NPP ("Y" in step S150), the logical page connection unit 83 sets the last page included in the print image data D2. The logical page LP3 (logical page LP12) is connected to the logical page LP3 to be processed, and is combined into one logical page LP12 (step S151). Here, the logical pages LP2 and LP3 correspond to a specific example of “first logical page” in the present invention. Since the process for all the logical pages LP has not been completed (“N” in step S153), the process proceeds to the next logical page LP.

次に、処理部80は、4番目の論理ページLP4(図24)を処理対象となる論理ページLPとして選択する(ステップS142)。この論理ページLP4のページ連結数N1は“2”であり、ページ長DLは“2×LPP”である(ステップS143)。媒体ページ長検出部81は、この論理ページLP2の長さに対応する2ページ分のページPPのページ長MLを検出し(ステップS144)、位置補正部82は、ページ長DLおよびページ長MLに基づいて補正値CLnを算出する(ステップS145)。次に、処理部80は、論理ページLP4内の画像データに基づいて、画像データD1を生成する(ステップS146)。この論理ページLP4は最初の論理ページLPではないので(ステップS147において“N”)、位置補正部82は、補正値CLnを用いて印刷画像データD2を補正することにより書き出し位置の補正を行う(ステップS149)。この補正動作は、図26の補正動作A3に対応する。そして、ページ連結数N1の値“2”は、ページ連結数NPPの値“2”と同じであるので(ステップS150において“N”)、論理ページ連結部83は、印刷画像データD2に含まれる最後の論理ページLP(論理ページLP12)の次に、処理対象である論理ページLP4を論理ページLP13として付加する(ステップS151)。全ての論理ページLPに対する処理は終了していないので(ステップS153において“N”)、次の論理ページLPの処理に進む。 Next, the processing unit 80 selects the fourth logical page LP4 (FIG. 24) as the logical page LP to be processed (step S142). The page concatenation number N1 of this logical page LP4 is "2", and the page length DL is "2 x LPP" (step S143). The medium page length detection unit 81 detects the page length ML of the page PP for two pages corresponding to the length of the logical page LP2 (step S144), and the position correction unit 82 sets the page length DL and the page length ML. The correction value CLn is calculated based on this (step S145). Next, the processing unit 80 generates the image data D1 based on the image data in the logical page LP4 (step S146). Since this logical page LP4 is not the first logical page LP (“N” in step S147), the position correction unit 82 corrects the writing position by correcting the print image data D2 using the correction value CLn ( Step S149). This correction operation corresponds to the correction operation A3 in FIG. Since the value "2" of the page connection number N1 is the same as the value "2" of the page connection number NPP ("N" in step S150), the logical page connection unit 83 is included in the print image data D2. Next to the last logical page LP (logical page LP12), the logical page LP4 to be processed is added as the logical page LP13 (step S151). Since the process for all the logical pages LP has not been completed (“N” in step S153), the process proceeds to the next logical page LP.

処理部80は、これ以降についても同様の処理を行う。すなわち、処理部80は、2つの論理ページLP5,LP6を連結することにより論理ページLP14を生成する。そして、論理ページLP6に対する処理を終了することにより、全ての論理ページLPに対する処理は終了する(ステップS153において“Y”)。 The processing unit 80 also performs the same processing thereafter. That is, the processing unit 80 generates the logical page LP14 by connecting the two logical pages LP5 and LP6. Then, by ending the processing for the logical page LP6, the processing for all the logical pages LP ends (“Y” in step S153).

そして、画像形成部20Bは、このようにして処理部80が生成した印刷画像データD2に基づいて、この印刷画像データD2に含まれる論理ページLPを基準として、記録媒体9に対して画像を形成する。また、切断部15は、切断位置CPにおいて記録媒体9を切断する。 Then, the image forming unit 20B forms an image on the recording medium 9 based on the print image data D2 generated by the processing unit 80 in this manner, with the logical page LP included in the print image data D2 as a reference. To do. Further, the cutting unit 15 cuts the recording medium 9 at the cutting position CP.

以上のように、画像形成システム200では、画像形成装置202の処理部80が論理ページLPの連結を行うようにした。これにより、画像形成システム200では、上記第1および第2の実施の形態の場合と同様に、論理ページ長LLPを、最小媒体長LMINよりも長くすることができる。 As described above, in the image forming system 200, the processing unit 80 of the image forming apparatus 202 connects the logical pages LP. As a result, in the image forming system 200, the logical page length LLP can be made longer than the minimum medium length LMIN as in the first and second embodiments.

また、画像形成システム200では、ホストコンピュータ201のプリンタドライバ143は、論理ページLPの連結を行わず、画像形成装置202の処理部80が、論理ページLPの連結を行うようにした。そして、処理部80が、印刷データDPに含まれる論理ページLPを基準として、論理ページLPのそれぞれの書き出し位置を補正するようにした。これにより、画像形成システム200では、記録媒体9を無駄にせず有効に利用できる。 In the image forming system 200, the printer driver 143 of the host computer 201 does not connect the logical pages LP, but the processing unit 80 of the image forming apparatus 202 connects the logical pages LP. Then, the processing unit 80 corrects each writing position of the logical page LP based on the logical page LP included in the print data DP. As a result, in the image forming system 200, the recording medium 9 can be effectively used without wasting it.

すなわち、まず、例えば、ホストコンピュータが、複数のページデータを、ページデーダを単位として、生成した順にそのまま画像形成装置に順次供給し、画像形成装置がそのページデータに基づいて記録媒体9に対して画像を形成する場合には、記録媒体9を無駄にしてしまうおそれがある。具体的には、例えば、画像形成装置におけるページデータの受信間隔が、1枚のページデータに基づく記録媒体9に対する画像形成動作の処理時間よりも長くなってしまった場合には、ページデータの供給が画像形成処理に間に合わないので、空白のページが生じてしまうおそれがある。また、空白のページが生じる場合に、画像形成動作を停止させるとともにユーザに対してエラーを通知するように構成した場合でも、ユーザの利便性を損なうことになる。また、例えば、画像形成装置は、ページデータのような細かい単位のデータを受信しても、記録媒体9を搬送路8に沿って搬送させる動作や、記録媒体9を切断する動作などの物理的な動作を、そのような細かい単位のデータに応じて行うことができず、その結果、空白のページが生じてしまうおそれがある。 That is, first, for example, the host computer sequentially supplies a plurality of page data to the image forming apparatus in the order in which they are generated in units of page data, and the image forming apparatus writes the page data to the recording medium 9 based on the page data. When forming an image, the recording medium 9 may be wasted. Specifically, for example, when the page data reception interval in the image forming apparatus becomes longer than the processing time of the image forming operation for the recording medium 9 based on one page data, the page data is supplied. Is not in time for the image forming process, so that a blank page may occur. Further, even when the image forming operation is stopped and an error is notified to the user when a blank page is generated, the convenience of the user is impaired. Further, for example, even when the image forming apparatus receives data of a fine unit such as page data, the image forming apparatus physically conveys the recording medium 9 along the conveying path 8 or cuts the recording medium 9. Such operations cannot be performed in accordance with such a fine unit of data, which may result in a blank page.

そこで、例えば、ホストコンピュータが、複数のページPPを含む論理ページLPを生成し、複数の論理ページLPを、論理ページLPを単位として、生成した順に画像形成装置に供給し、画像形成装置が、その論理ページLPに基づいて記録媒体9に対して画像を形成することが望まれる。しかしながら、例えば、ホストコンピュータが、論理ページLPに含まれるページPPの数を増加するように調節した場合には、画像形成装置は、論理ページLPの書き出し位置を補正しにくくなるおそれがある。すなわち、画像形成装置は、論理ページLPを基準で書き出し位置を補正するので、論理ページLPに含まれるページPPの数が多くなるほど、書き出し位置のずれが蓄積されて大きくなるので、画像形成装置は、書き出し位置を補正しにくくなるおそれがある。 Therefore, for example, the host computer generates a logical page LP including a plurality of pages PP, supplies the plurality of logical pages LP to the image forming apparatus in the order of generation in units of the logical page LP, and the image forming apparatus It is desired to form an image on the recording medium 9 based on the logical page LP. However, for example, when the host computer adjusts so as to increase the number of pages PP included in the logical page LP, the image forming apparatus may have difficulty in correcting the writing position of the logical page LP. That is, since the image forming apparatus corrects the writing position based on the logical page LP, as the number of pages PP included in the logical page LP increases, the deviation of the writing position is accumulated and becomes large. , It may be difficult to correct the writing position.

一方、画像形成システム200では、ホストコンピュータ201のプリンタドライバ143は、論理ページLPの連結を行わず、画像形成装置202の処理部80が、論理ページLPの連結を行うようにした。すなわち、プリンタドライバ143は、論理ページLPに含まれるページPPの数を増加させないようにした。また、画像形成装置202は、印刷データDPに含まれる論理ページLPを基準として、書き出し位置の補正を行うようにした。すなわち、画像形成装置202は、図26に示したように、連結前の論理ページLP(論理ページLP1〜LP6)を基準として、書き出し位置の補正を行うようにした。これにより、画像形成システム200では、論理ページLPを連結した場合でも、連結前の論理ページLPを基準として書き出し位置の補正を行うので、書き出し位置のずれが大きくなるのを抑えることができるので、書き出し位置を適切に補正することができる。 On the other hand, in the image forming system 200, the printer driver 143 of the host computer 201 does not connect the logical pages LP, but the processing unit 80 of the image forming apparatus 202 connects the logical pages LP. That is, the printer driver 143 does not increase the number of pages PP included in the logical page LP. Further, the image forming apparatus 202 is configured to correct the writing position with reference to the logical page LP included in the print data DP. That is, as shown in FIG. 26, the image forming apparatus 202 corrects the writing position with reference to the logical page LP (logical pages LP1 to LP6) before connection. As a result, in the image forming system 200, even when the logical pages LP are linked, the writing position is corrected with reference to the logical page LP before being linked, so that the deviation of the writing position can be prevented from increasing. The writing position can be corrected appropriately.

この画像形成システム200では、画像形成装置202が論理ページLPを連結する際に、ホストコンピュータ201と画像形成装置202との間の通信における通信負荷が大きくなる。しかしながら、画像形成装置202は、切断位置CPの直前においてのみ論理ページLPを連結するため、例えば、常に論理ページLPを連結する場合に比べて、通信負荷の平均値を下げることができ、画像データの供給が画像形成処理に間に合わなくなるリスクを抑えることができる。 In this image forming system 200, when the image forming apparatus 202 connects the logical pages LP, the communication load in the communication between the host computer 201 and the image forming apparatus 202 becomes large. However, since the image forming apparatus 202 connects the logical pages LP only immediately before the cutting position CP, for example, the average value of the communication load can be lowered as compared with the case where the logical pages LP are always connected, and the image data can be reduced. It is possible to suppress the risk that the supply of the image will be delayed for the image forming process.

以上のように本実施の形態では、ホストコンピュータのプリンタドライバが論理ページの連結を行わず、画像形成装置の処理部が論理ページの連結を行うようにした。そして、処理部が、印刷データに含まれる論理ページを基準として、論理ページのそれぞれの書き出し位置を補正するようにした。これにより、記録媒体を無駄にせず有効に利用できる。 As described above, in the present embodiment, the printer driver of the host computer does not connect the logical pages, but the processing unit of the image forming apparatus connects the logical pages. Then, the processing unit corrects each writing position of the logical page with reference to the logical page included in the print data. As a result, the recording medium can be effectively used without wasting it.

[変形例3−1]
上記実施の形態では、画像形成システム200では、印刷データDPに含まれる論理ページLPの論理ページ長LLPが、図26に示した論理ページLP3の論理ページ長LLPのように、最小媒体長LMINよりも短くなりえるようにしたが、これに限定されるものではない。これに代えて、図27に示すように、印刷データDPに含まれる論理ページLPの論理ページ長LLPが、最小媒体長LMINより常に長くなるようにしてもよい。本変形例に係る画像形成システム200Aは、ホストコンピュータ201Aと、画像形成装置202Aとを備えている。このホストコンピュータ201Aの印刷データ生成部150Aは、図27に示したように、1つのページPP5と、1つの空白のページPPEとを含む論理ページLP3を生成する。そして、画像形成装置202Aの処理部80Aは、この論理ページLP3が空白のページPPEを含んでいることを検出し、この論理ページLP3のうちのページPP5に係る部分を、論理ページLP2に連結することにより、上記実施の形態の場合(図26)と同様に論理ページLP12を生成する。
[Modification 3-1]
In the above-described embodiment, in the image forming system 200, the logical page length LLP of the logical page LP included in the print data DP is smaller than the minimum medium length LMIN like the logical page length LLP of the logical page LP3 shown in FIG. However, it is not limited to this. Alternatively, as shown in FIG. 27, the logical page length LLP of the logical page LP included in the print data DP may be always longer than the minimum medium length LMIN. An image forming system 200A according to this modification includes a host computer 201A and an image forming apparatus 202A. The print data generation unit 150A of the host computer 201A generates a logical page LP3 including one page PP5 and one blank page PPE, as shown in FIG. Then, the processing unit 80A of the image forming apparatus 202A detects that the logical page LP3 includes a blank page PPE, and connects the portion of the logical page LP3 related to the page PP5 to the logical page LP2. As a result, the logical page LP12 is generated as in the case of the above embodiment (FIG. 26).

以上、いくつかの実施の形態および変形例を挙げて本技術を説明したが、本技術はこれらの実施の形態等には限定されず、種々の変形が可能である。 Although the present technology has been described above with reference to some embodiments and modified examples, the present technology is not limited to these embodiments and the like, and various modifications are possible.

例えば、上記実施の形態等では、ロール紙を用いたが、これに限定されるものではなく、長い記録媒体であればどのようなものを用いてもよい。 For example, in the above-described embodiments and the like, roll paper is used, but the present invention is not limited to this, and any long recording medium may be used.

また、例えば、上記の実施の形態等では、電子写真方式により、記録媒体9に画像を形成したが、これに限定されるものではなく、どのような方式で画像を形成してもよい。また、上記の実施の形態等では、記録媒体9にカラー画像を形成したが、これに限定されるものではなく、モノクロ画像を形成してもよい。 Further, for example, in the above-described embodiments and the like, the image is formed on the recording medium 9 by the electrophotographic method, but the invention is not limited to this, and the image may be formed by any method. Further, in the above-described embodiments and the like, a color image is formed on the recording medium 9, but the present invention is not limited to this, and a monochrome image may be formed.

1,1D,202…画像形成装置、2,2D,3,201…ホストコンピュータ、200…画像形成システム、8…搬送路、7,9…記録媒体、9a…ラベル、9b…台紙、9c…マーカ、10…媒体供給部、11…媒体センサ、12…媒体供給ローラ、13…媒体センサ、13a,13b…センサユニット、14…搬送ローラ、15…切断部、16…搬送ローラ、20,20B…画像形成部、20a…位置補正部、21,21Y,21M,21C,21K…現像部、22,22Y,22M,22C,22K…露光部、23,23Y,23M,23C,23K…1次転写ローラ、24…ドライブローラ、25…アイドルローラ、26…2次転写バックアップローラ、27…2次転写ローラ、28…逆屈曲ローラ、29…転写ベルト、31…搬送ローラ、32…定着部、32a…ヒートローラ、32b…加圧ローラ、33…排出ローラ、41…通信部、42…操作部、43…表示部、44…記憶部、49,79,89…制御部、50…コンピュータ本体、51…処理部、52…HDD、53…メモリ、54…インタフェース、55…ディスプレイインタフェース、56…CD−ROMドライブ、61…ディスプレイ、62…キーボード、63…マウス、70…処理部、71…ページ連結数算出部、72…論理ページ生成部、74…切断判定部、75…ページデータ連結部、80…処理部、81…媒体ページ長検出部、82…位置補正部、83…論理ページ連結部、101…オペレーティングシステム、102…アプリケーションソフトウェア、103,103D,123,143…プリンタドライバ、104…設定部、105…設定記憶部、110,110D,130,150…印刷データ生成部、111…ページ連結数算出部、112…論理ページ生成部、113…ページデータ生成部、114…切断判定部、115,155…ページデータ連結部、131…透過センサ、131a…受光部、131b…発光部、132…反射センサ、132a…受光部、132b…発光部、139…ページ連結数補正部、A1〜A3…補正動作、CP…切断位置、DP…印刷データ、INF…属性情報、LLP…論理ページ長、LMIN…最小媒体長、LP…論理ページ、LPP…ページ長、NCUT…切断ページ数、NF…端数ページ数、NL…ラベル数、NLP…論理ページ数、PP…ページ。 1, 1D, 202... Image forming apparatus, 2, 2D, 3, 201... Host computer, 200... Image forming system, 8... Conveying path, 7, 9... Recording medium, 9a... Label, 9b... Mount, 9c... Marker 10... Medium supply section, 11... Medium sensor, 12... Medium supply roller, 13... Medium sensor, 13a, 13b... Sensor unit, 14... Conveying roller, 15... Cutting section, 16... Conveying roller, 20, 20B... Image Forming unit, 20a... Position correcting unit, 21, 21Y, 21M, 21C, 21K... Developing unit, 22, 22Y, 22M, 22C, 22K... Exposure unit, 23, 23Y, 23M, 23C, 23K... Primary transfer roller, 24... Drive roller, 25... Idle roller, 26... Secondary transfer backup roller, 27... Secondary transfer roller, 28... Reverse bending roller, 29... Transfer belt, 31... Conveying roller, 32... Fixing section, 32a... Heat roller , 32b... Pressure roller, 33... Ejection roller, 41... Communication section, 42... Operation section, 43... Display section, 44... Storage section, 49, 79, 89... Control section, 50... Computer main body, 51... Processing section , 52... HDD, 53... Memory, 54... Interface, 55... Display interface, 56... CD-ROM drive, 61... Display, 62... Keyboard, 63... Mouse, 70... Processing unit, 71... Page connection number calculation unit, 72... Logical page generation unit, 74... Disconnection determination unit, 75... Page data connection unit, 80... Processing unit, 81... Medium page length detection unit, 82... Position correction unit, 83... Logical page connection unit, 101... Operating system , 102... Application software, 103, 103D, 123, 143... Printer driver, 104... Setting unit, 105... Setting storage unit, 110, 110D, 130, 150... Print data generating unit, 111... Page connection number calculating unit, 112 ... logical page generation unit, 113... page data generation unit, 114... disconnection determination unit, 115, 155... page data connection unit, 131... transmissive sensor, 131a... light receiving unit, 131b... light emitting unit, 132... reflection sensor, 132a... Light receiving portion, 132b... Light emitting portion, 139... Page connection number correction portion, A1 to A3... Correction operation, CP... Cutting position, DP... Print data, INF... Attribute information, LLP... Logical page length, LMIN... Minimum medium length, LP... logical page, LPP... page length, NCUT... cut page number, NF... fractional page number, NL... label number, NLP... logical page number, PP... page.

Claims (10)

それぞれが複数のページを含む複数の論理ページを生成する論理ページ生成部と、前記複数の論理ページのうちの1以上の論理ページに含まれる前記複数のページのページ数を調節する調節部とを有し、前記複数の論理ページを含む画像データを生成する生成部と、
前記論理ページを基準として記録媒体を切断可能であり、前記論理ページを基準として、前記記録媒体の搬送路に配置された媒体センサの検出結果を利用して前記論理ページの書き出し位置を補正することにより、前記記録媒体に画像を形成する画像形成装置に、前記画像データを送信する通信部と
を備え
前記生成部は、前記記録媒体の切断間隔におけるページ数を示す切断ページ数を、前記論理ページを構成するページの数の初期設定値で除算することにより得られた剰余を、端数ページ数として算出し、
前記調節部は、前記端数ページ数を、前記1以上の論理ページに分配することにより、前記1以上の論理ページに含まれる前記複数のページのページ数を調節する
情報処理装置。
A logical page generation unit that generates a plurality of logical pages each including a plurality of pages, and an adjustment unit that adjusts the number of pages of the plurality of pages included in one or more logical pages of the plurality of logical pages. And a generation unit that generates image data including the plurality of logical pages,
A recording medium can be cut based on the logical page, and the writing position of the logical page is corrected using the detection result of a medium sensor arranged on the transport path of the recording medium based on the logical page. Accordingly, the image forming apparatus for forming an image on said recording medium, and a communication unit that transmits the image data,
The generation unit calculates a remainder obtained by dividing the number of cut pages indicating the number of pages in the cutting interval of the recording medium by an initial setting value of the number of pages forming the logical page, as a fractional page number. Then
The information processing apparatus , wherein the adjustment unit adjusts the page number of the plurality of pages included in the one or more logical pages by distributing the fractional page number to the one or more logical pages .
前記複数の論理ページは、複数のグループに区分され、The plurality of logical pages are divided into a plurality of groups,
前記複数の論理ページのうちの、前記複数のグループのそれぞれに属する複数の論理ページは、前記1以上の論理ページを含み、Of the plurality of logical pages, a plurality of logical pages belonging to each of the plurality of groups includes the one or more logical pages,
前記画像形成装置において、前記記録媒体は、前記複数のグループのそれぞれを単位として切断され、In the image forming apparatus, the recording medium is cut in units of each of the plurality of groups,
前記画像形成装置において、切断された1つの前記記録媒体は、前記複数のグループのうちのいずれかのグループに属する複数の論理ページに基づく画像が形成され、搬送されるIn the image forming apparatus, an image based on a plurality of logical pages belonging to any one of the plurality of groups is formed and conveyed on the cut one recording medium.
請求項1に記載の情報処理装置。The information processing apparatus according to claim 1.
前記複数の論理ページは、第1の論理ページおよび第2の論理ページを含み、The plurality of logical pages includes a first logical page and a second logical page,
前記1以上の論理ページは、前記第1の論理ページおよび前記第2の論理ページのうちの少なくとも一方を含み、The one or more logical pages include at least one of the first logical page and the second logical page,
前記画像形成装置による切断位置、前記第1の論理ページ、および前記第2の論理ページがこの順に配置され、A cutting position by the image forming apparatus, the first logical page, and the second logical page are arranged in this order,
前記画像形成装置において、前記切断位置で前記記録媒体が切断されると、前記第1の論理ページおよび前記第2の論理ページに基づく画像が形成された1つの記録媒体が搬送されるIn the image forming apparatus, when the recording medium is cut at the cutting position, one recording medium on which an image based on the first logical page and the second logical page is formed is conveyed.
請求項1に記載の情報処理装置。The information processing apparatus according to claim 1.
前記切断ページ数、および前記論理ページを構成するページの数の前記初期設定値を設定する設定部をさらに備えたIt further comprises a setting unit for setting the initial setting value of the number of cut pages and the number of pages forming the logical page.
請求項1から請求項3のいずれか一項に記載の情報処理装置。The information processing apparatus according to any one of claims 1 to 3.
前記調節部は、前記1以上の論理ページのそれぞれに含まれる前記複数のページのページ数を、前記画像形成装置に固有の所定数よりも増やすように調節するThe adjustment unit adjusts the number of pages of the plurality of pages included in each of the one or more logical pages to be larger than a predetermined number specific to the image forming apparatus.
請求項1から請求項4のいずれか一項に記載の情報処理装置。The information processing apparatus according to any one of claims 1 to 4.
前記所定数は、前記画像形成装置が前記記録媒体を搬送するために必要な最小媒体長に対応する数であるThe predetermined number is a number corresponding to the minimum medium length required for the image forming apparatus to convey the recording medium.
請求項5に記載の情報処理装置。The information processing device according to claim 5.
それぞれが複数のページを含む複数の論理ページを生成する論理ページ生成部と、前記複数の論理ページのうちの1以上の論理ページに含まれる前記複数のページのページ数を調節する調節部とを有し、前記複数の論理ページを含む画像データを生成する生成部と、
前記論理ページを基準として記録媒体を切断可能な切断部と、
前記記録媒体の搬送路に配置され、前記記録媒体を検出する媒体センサと、
前記画像データに基づいて、前記論理ページを基準として、前記媒体センサの検出結果を利用して前記論理ページの書き出し位置を補正することにより、前記記録媒体に画像を形成する画像形成部と
を備え
前記生成部は、前記記録媒体の切断間隔におけるページ数を示す切断ページ数を、前記論理ページを構成するページの数の初期設定値で除算することにより得られた剰余を、端数ページ数として算出し、
前記調節部は、前記端数ページ数を、前記1以上の論理ページに分配することにより、前記1以上の論理ページに含まれる前記複数のページのページ数を調節する
画像形成装置。
A logical page generation unit that generates a plurality of logical pages each including a plurality of pages, and an adjustment unit that adjusts the number of pages of the plurality of pages included in one or more logical pages of the plurality of logical pages. And a generation unit that generates image data including the plurality of logical pages,
A cutting unit capable of cutting the recording medium based on the logical page,
A medium sensor that is disposed in the recording medium conveyance path and detects the recording medium,
An image forming unit that forms an image on the recording medium by correcting the writing position of the logical page using the detection result of the medium sensor with the logical page as a reference based on the image data. ,
The generation unit calculates a remainder obtained by dividing the number of cut pages indicating the number of pages in the cutting interval of the recording medium by an initial setting value of the number of pages forming the logical page, as a fractional page number. Then
The image forming apparatus , wherein the adjustment unit adjusts the page number of the plurality of pages included in the one or more logical pages by distributing the fractional page number to the one or more logical pages .
前記複数の論理ページは、複数のグループに区分され、The plurality of logical pages are divided into a plurality of groups,
前記複数の論理ページのうちの、前記複数のグループのそれぞれに属する複数の論理ページは、前記1以上の論理ページを含み、Of the plurality of logical pages, a plurality of logical pages belonging to each of the plurality of groups includes the one or more logical pages,
前記画像形成装置において、前記記録媒体は、前記複数のグループのそれぞれを単位として切断され、In the image forming apparatus, the recording medium is cut in units of each of the plurality of groups,
前記画像形成装置において、切断された1つの前記記録媒体は、前記複数のグループのうちのいずれかのグループに属する複数の論理ページに基づく画像が形成され、搬送されるIn the image forming apparatus, an image based on a plurality of logical pages belonging to any one of the plurality of groups is formed and conveyed on the cut one recording medium.
請求項7に記載の画像形成装置。The image forming apparatus according to claim 7.
前記複数の論理ページは、第1の論理ページおよび第2の論理ページを含み、The plurality of logical pages includes a first logical page and a second logical page,
前記1以上の論理ページは、前記第1の論理ページおよび前記第2の論理ページのうちの少なくとも一方を含み、The one or more logical pages include at least one of the first logical page and the second logical page,
前記画像形成装置による切断位置、前記第1の論理ページ、および前記第2の論理ページがこの順に配置され、A cutting position by the image forming apparatus, the first logical page, and the second logical page are arranged in this order,
前記画像形成装置において、前記切断位置で前記記録媒体が切断されると、前記第1の論理ページおよび前記第2の論理ページに基づく画像が形成された1つの記録媒体が搬送されるIn the image forming apparatus, when the recording medium is cut at the cutting position, one recording medium on which an image based on the first logical page and the second logical page is formed is conveyed.
請求項7に記載の画像形成装置。The image forming apparatus according to claim 7.
れぞれが複数のページを含む複数の論理ページを生成するとともに、前記複数の論理ページのうちの1以上の論理ページに含まれる前記複数のページのページ数を調節することにより、前記複数の論理ページを含む画像データを生成することと、
前記論理ページを基準として記録媒体を切することと、
前記画像データに基づいて、前記論理ページを基準として、前記記録媒体の搬送路に配置された媒体センサの検出結果を利用して前記論理ページの書き出し位置を補正することにより、前記記録媒体に画像を形成することと
を含み、
前記複数のページのページ数を調節することは、
前記記録媒体の切断間隔におけるページ数を示す切断ページ数を、前記論理ページを構成するページの数の初期設定値で除算することにより得られた剰余を、端数ページ数として算出することと、
前記端数ページ数を、前記1以上の論理ページに分配することにより、前記1以上の論理ページに含まれる前記複数のページのページ数を調節することと
を含む
画像形成方法。
Their together respectively to generate a plurality of logical pages including a plurality of pages, by adjusting the number of pages of the plurality of pages included in one or more logical pages of the plurality of logical pages, the plurality and generating image data containing logical pages,
The method comprising disconnecting the recording medium based on the said logical pages,
Based on the image data, the logical page is used as a reference to correct the writing position of the logical page by using the detection result of the medium sensor arranged in the conveyance path of the recording medium, thereby forming an image on the recording medium. and forming a
Including
Adjusting the number of pages of the plurality of pages includes
The number of cut pages indicating the number of pages in the cutting interval of the recording medium, a remainder obtained by dividing the number of pages forming the logical page by an initial setting value, and calculating as a fractional page number,
Adjusting the number of pages of the plurality of pages included in the one or more logical pages by distributing the fractional page number to the one or more logical pages.
An image forming method including .
JP2017026845A 2016-09-21 2017-02-16 Information processing apparatus, image forming apparatus, and image forming method Active JP6735241B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/709,428 US10235106B2 (en) 2016-09-21 2017-09-19 Information processor, image forming apparatus, image forming method, and image forming system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016184091 2016-09-21
JP2016184091 2016-09-21

Publications (2)

Publication Number Publication Date
JP2018055666A JP2018055666A (en) 2018-04-05
JP6735241B2 true JP6735241B2 (en) 2020-08-05

Family

ID=61835892

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017026845A Active JP6735241B2 (en) 2016-09-21 2017-02-16 Information processing apparatus, image forming apparatus, and image forming method

Country Status (1)

Country Link
JP (1) JP6735241B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6977574B2 (en) * 2018-01-16 2021-12-08 ブラザー工業株式会社 Programs and information processing equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5111772B2 (en) * 2006-03-24 2013-01-09 株式会社沖データ Printing device
JP5854309B2 (en) * 2011-06-17 2016-02-09 ブラザー工業株式会社 Print creation program
JP5932377B2 (en) * 2012-02-08 2016-06-08 キヤノンファインテック株式会社 Recording system, information processing apparatus, recording control method, and recording apparatus
JP6368138B2 (en) * 2014-05-02 2018-08-01 キヤノン株式会社 Control apparatus and control method
JP6372221B2 (en) * 2014-07-24 2018-08-15 コニカミノルタ株式会社 Image forming apparatus, image forming system, and image forming method
JP6301788B2 (en) * 2014-09-05 2018-03-28 株式会社東芝 Label processing apparatus and label processing program
JP6375187B2 (en) * 2014-09-05 2018-08-15 株式会社東芝 Label processing apparatus and label processing program
JP6469456B2 (en) * 2015-01-21 2019-02-13 株式会社沖データ Image forming apparatus, image forming method, and image forming program

Also Published As

Publication number Publication date
JP2018055666A (en) 2018-04-05

Similar Documents

Publication Publication Date Title
US7826759B2 (en) Power control method and apparatus to heat a heating roller
JP4765825B2 (en) Image forming apparatus
JP6735241B2 (en) Information processing apparatus, image forming apparatus, and image forming method
US10235106B2 (en) Information processor, image forming apparatus, image forming method, and image forming system
JP3570335B2 (en) Control method of post-processing apparatus connected to image forming apparatus
US9291933B2 (en) Image forming apparatus, control apparatus, and image forming system
JP2015036709A (en) Printer and print processing method
JP2014085502A (en) Image forming apparatus
JP7040225B2 (en) Image forming device and image forming method
US11982957B2 (en) Image forming apparatus that adds a predetermined image to a region with a variable width that is equal to or less than a width of a heat generating region
JP5259471B2 (en) Fixing apparatus and image forming apparatus using the same
JP5455658B2 (en) Image forming apparatus
US10514644B2 (en) Image forming apparatus
US10527979B2 (en) Image forming apparatus and control program
JP6484992B2 (en) Image forming apparatus
CN113009799A (en) Image forming apparatus and image fixing method
JP2022053840A (en) Machine learning device, image forming apparatus, machine learning method, and image forming method
JP2021033160A (en) Image formation apparatus, image formation method and program
JP7031533B2 (en) Image forming device
JP6435910B2 (en) Power supply apparatus, image forming apparatus, and power supply method
JP3001463B2 (en) Image forming device
JP7056239B2 (en) Image forming device, image forming method, and program
JP2009058821A (en) Image forming apparatus
JP2007058249A (en) Fixing device
EP3477397A2 (en) Image forming apparatus and image forming method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200310

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200508

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200713

R150 Certificate of patent or registration of utility model

Ref document number: 6735241

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350