Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7699991B2 - Recording device, control method, and program - Google Patents
[go: Go Back, main page]

JP7699991B2 - Recording device, control method, and program - Google Patents

Recording device, control method, and program Download PDF

Info

Publication number
JP7699991B2
JP7699991B2 JP2021125323A JP2021125323A JP7699991B2 JP 7699991 B2 JP7699991 B2 JP 7699991B2 JP 2021125323 A JP2021125323 A JP 2021125323A JP 2021125323 A JP2021125323 A JP 2021125323A JP 7699991 B2 JP7699991 B2 JP 7699991B2
Authority
JP
Japan
Prior art keywords
recording
scan
amount
area
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021125323A
Other languages
Japanese (ja)
Other versions
JP2023020128A (en
Inventor
真一 宮▲崎▼
顕季 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2021125323A priority Critical patent/JP7699991B2/en
Publication of JP2023020128A publication Critical patent/JP2023020128A/en
Application granted granted Critical
Publication of JP7699991B2 publication Critical patent/JP7699991B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Ink Jet (AREA)
  • Record Information Processing For Printing (AREA)

Description

本開示は、記録装置、制御方法、およびプログラムに関する。 This disclosure relates to a recording device, a control method, and a program.

手動によって移動されるのに伴いプリントヘッドのノズル列からインクを吐出して画像の記録を行うプリンタが開発されている。 Printers have been developed that eject ink from a row of nozzles in a print head as the head is moved manually to record images.

特許文献1には、回転可能な2つのローラ部を同一軸上で一体回転するローラユニットを底面に有し、走査方向に移動されるのに伴って画像の記録を行う携帯型画像形成装置が記載されている。 Patent document 1 describes a portable image forming device that has a roller unit on its bottom surface that has two rotatable roller parts that rotate together on the same axis, and records images as it is moved in the scanning direction.

特開2019-155889号公報JP 2019-155889 A

ローラユニットにある2つのローラ部の径には差が生じていることがある。また、ローラユニットの軸が走査方向と垂直になるように、ローラユニットを2つ配置する場合、2つのローラユニット間の垂直度に差が生じることがある。このため特許文献1のような記録装置は、直進ではなく湾曲した移動がされる場合があり、記録媒体上をプリントヘッドのノズル列が走査した領域である記録領域の形状は矩形ではなく扇形状となってしまうことがある。記録領域が扇形状となると、走査方向と交差する方向に記録装置を移動させて次の記録走査を行った場合、前の記録走査による記録領域との間で走査方向の位置ずれが発生してしまうことがある。 There may be a difference in the diameter of the two roller parts in a roller unit. Also, when two roller units are arranged so that the axis of the roller unit is perpendicular to the scanning direction, there may be a difference in the perpendicularity between the two roller units. For this reason, a recording device such as that described in Patent Document 1 may move in a curved direction rather than a straight line, and the shape of the recording area, which is the area scanned by the nozzle row of the print head on the recording medium, may become fan-shaped rather than rectangular. If the recording area becomes fan-shaped, when the recording device is moved in a direction intersecting the scanning direction to perform the next recording scan, a positional deviation in the scanning direction may occur between the recording area from the previous recording scan.

本開示の記録装置は、第1の方向に沿って延在する記録手段を有し、前記第1の方向と交差する走査方向に移動されることによって、1走査分の画像を記録するために前記記録手段が記録媒体上を走査した領域である記録領域に、画像の記録をするハンドヘルド型の記録装置であって、前記第1の方向における2つの異なる位置に配された2つの位置情報センサと、前記第1の方向における2つの異なる位置に配された2つのローラと、前記記録装置を制御する制御手段と、を有し、前記制御手段は、第1の走査の完了の後に、前記記録手段を前記第1の方向に所定の移動量だけ移動することで前記第1の走査の次の第2の走査を行う場合、前記第1の走査に係る前記2つの位置情報センサの移動量に基づき、記録領域の形状が凸型の扇形状であるか、凹型の扇形状であるか決定し、前記第1の走査に対応する第1の記録領域に対する、前記第2の走査に対応する第2の記録領域の前記走査方向の位置ずれ量を、前記決定と、前記第1の走査に係る前記2つの位置情報センサの移動量に基づき推定して、前記推定された位置ずれ量に基づき前記第2の走査を制御することを特徴とする。
The recording device disclosed herein is a handheld recording device that has a recording means extending along a first direction and is moved in a scanning direction intersecting the first direction to record an image in a recording area that is an area scanned by the recording means on a recording medium to record one scan's worth of image, the recording device having two position information sensors arranged at two different positions in the first direction, two rollers arranged at two different positions in the first direction, and a control means for controlling the recording device, wherein the control means is characterized in that when, after completion of a first scan, a second scan following the first scan is performed by moving the recording means by a predetermined movement amount in the first direction, the control means determines whether the shape of the recording area is a convex sector shape or a concave sector shape based on the movement amount of the two position information sensors associated with the first scan, estimates a positional deviation amount in the scanning direction of a second recording area corresponding to the second scan relative to a first recording area corresponding to the first scan based on the determination and the movement amount of the two position information sensors associated with the first scan, and controls the second scan based on the estimated positional deviation amount.

本開示の技術によれば、ハンドヘルド型の記録装置における走査間で発生する走査方向の位置ずれの影響を抑制することができる。 The technology disclosed herein can reduce the effects of misalignment in the scanning direction that occurs between scans in a handheld recording device.

ポータブルプリンタの構成を示す図である。FIG. 1 is a diagram showing a configuration of a portable printer. ポータブルプリンタのシステム構成を示すブロック図である。FIG. 1 is a block diagram showing a system configuration of a portable printer. 画像処理における各機能を示す図である。FIG. 2 is a diagram illustrating each function in image processing. 走査方向に1回走査して記録した場合の記録領域を示す模式図である。FIG. 2 is a schematic diagram showing a printing area when printing is performed by scanning once in the scanning direction. 位置情報センサの状態遷移を示す図である。FIG. 4 is a diagram illustrating state transitions of a position information sensor. 片方向走査により記録した場合の記録領域の比較例を示す模式図である。11A and 11B are schematic diagrams showing a comparative example of a printing area when printing is performed by unidirectional scanning; 走査間の最大位置ずれ量を抑制して記録する処理のフローを示す図である。FIG. 11 is a diagram showing a flow of a process for recording while suppressing the maximum amount of positional deviation between scans. 最大位置ずれ量dmの算出を説明するための図である。11 is a diagram for explaining calculation of a maximum positional deviation amount dm. FIG. 最大位置ずれ量を抑制して記録した場合の記録領域の模式図である。11 is a schematic diagram of a printing area when printing is performed while suppressing the maximum positional deviation amount. FIG. 最大位置ずれ量を抑制して記録した場合の記録領域の模式図である。11 is a schematic diagram of a printing area when printing is performed while suppressing the maximum positional deviation amount. FIG. 走査間の最大位置ずれ量を抑制して記録する処理のフローを示す図である。FIG. 11 is a diagram showing a flow of a process for recording while suppressing the maximum amount of positional deviation between scans. 画像変形の一例を説明するための模式図である。FIG. 11 is a schematic diagram for explaining an example of image deformation. 画像変形の一例を説明するための模式図である。FIG. 11 is a schematic diagram for explaining an example of image deformation. 往復走査により記録した場合の記録領域の比較例を示す模式図である。11A and 11B are schematic diagrams showing a comparative example of a printing area when printing is performed by reciprocating scanning. 走査間の最大位置ずれ量を抑制して記録する処理のフローを示す図である。FIG. 11 is a diagram showing a flow of a process for recording while suppressing the maximum amount of positional deviation between scans. 最大位置ずれ量を抑制して記録した場合の記録領域の模式図である。11 is a schematic diagram of a printing area when printing is performed while suppressing the maximum positional deviation amount. FIG. インクジェットの着弾位置ずれを説明するための模式図である。1A and 1B are schematic diagrams for explaining deviation of an inkjet landing position. 走査間の最大位置ずれ量を抑制して記録する処理のフローを示す図である。FIG. 11 is a diagram showing a flow of a process for recording while suppressing the maximum amount of positional deviation between scans. 次走査への移行位置を説明するための模式図である。FIG. 11 is a schematic diagram for explaining a transition position to the next scan.

以下、図面を参照して、本開示の技術の実施形態を例示的に説明する。ただし、以下の実施形態に記載されている構成要素はあくまで例示であり、本開示の技術の範囲は、以下の実施形態に記載されている構成要素のみに限定するものではない。 Embodiments of the technology disclosed herein are described below with reference to the drawings. However, the components described in the following embodiments are merely examples, and the scope of the technology disclosed herein is not limited to only the components described in the following embodiments.

<第1の実施形態>
紙等の記録媒体にトナーやインク等の記録材料を塗布して記録する記録装置は、給排紙機構により搬送される記録媒体上にプリントヘッドが記録材料を塗布する構成が一般的である。このような給排紙機構をもつ記録装置は、装置のサイズが大型となるため据え置き型が主流であった。一方、昨今のスマートデバイス等の普及等によって、小型で軽量な記録装置が開発されている。
First Embodiment
A recording device that applies a recording material such as toner or ink to a recording medium such as paper for recording is generally configured so that a print head applies the recording material onto the recording medium transported by a paper feed/discharge mechanism. Recording devices with such a paper feed/discharge mechanism tend to be large in size, so stationary models have been the norm. However, due to the recent spread of smart devices and the like, small and lightweight recording devices have been developed.

本実施形態では、給排紙機構を備えた記録装置における記録媒体の搬送方向および搬送方向と交差する走査方向に手動で記録装置を移動させることで、給排紙機構を備えた記録装置と同様の記録を行う手動走査式のハンドヘルド型の記録装置について説明する。 In this embodiment, we will describe a manual scanning handheld recording device that performs recording in the same way as a recording device with a paper feed/ejection mechanism by manually moving the recording medium in the transport direction and in a scanning direction that intersects the transport direction in a recording device with a paper feed/ejection mechanism.

[ポータブルプリンタの構成]
図1は、本実施形態における手動走査式のハンドヘルド型の記録装置であるポータブルプリンタ100の構成を説明するための図である。
[Portable Printer Configuration]
FIG. 1 is a diagram for explaining the configuration of a portable printer 100, which is a manual scanning handheld type recording apparatus according to this embodiment.

図1(a)は、ポータブルプリンタ100の底面図である。ポータブルプリンタ100の底面は、ポータブルプリンタ100が用紙等の記録媒体と対面して記録媒体に接する面である。プリントヘッド101は、インクを液滴として噴射して画像を記録するインクジェットヘッドであり、記録手段としてインクを吐出するインク吐出ノズル列102(以下、単にノズル列と記す)を備えている。図1(a)に示すノズル列102は、一列に配されたインクが吐出される物理的な複数の吐出口である。図1(a)では、ノズル列102は1列だけである例を図示しているが、実際には使用される色の数だけ、ノズル列を備えることが一般的である。 Figure 1(a) is a bottom view of the portable printer 100. The bottom surface of the portable printer 100 is the surface that faces a recording medium such as paper and comes into contact with the recording medium. The print head 101 is an inkjet head that ejects ink as droplets to record an image, and is provided with an ink ejection nozzle row 102 (hereinafter simply referred to as a nozzle row) that ejects ink as a recording means. The nozzle row 102 shown in Figure 1(a) is a plurality of physical ejection openings from which ink arranged in a row is ejected. Figure 1(a) shows an example in which there is only one nozzle row 102, but in practice, it is common to provide nozzle rows for the number of colors used.

なお、本実施形態のポータブルプリンタ100は、インクジェットヘッドを備えるインクジェットプリンタであるものとして説明するが、他にも、例えば熱転写型、またはインクリボン型等、本開示の技術を適用可能な他の記録手段を有するプリンタでもよい。 The portable printer 100 of this embodiment is described as an inkjet printer equipped with an inkjet head, but it may also be a printer with other recording means to which the technology disclosed herein can be applied, such as a thermal transfer type or an ink ribbon type.

ポータブルプリンタ100の底面には、記録媒体上の相対的な位置の情報を取得するための2つの位置情報センサ103a、103bが配されている。位置情報センサ103aはプリントヘッド101におけるノズル列102が延在する方向における上部に、位置情報センサ103bはプリントヘッド101におけるノズル列102が延在する方向における下部に、それぞれ配されている。ノズル列102における上部のノズルは、記録される画像の上部を記録するノズルである。 Two position information sensors 103a and 103b are arranged on the bottom surface of the portable printer 100 to obtain information on relative positions on the recording medium. The position information sensor 103a is arranged at the top in the direction in which the nozzle row 102 of the print head 101 extends, and the position information sensor 103b is arranged at the bottom in the direction in which the nozzle row 102 of the print head 101 extends. The upper nozzles in the nozzle row 102 are the nozzles that record the upper part of the image to be recorded.

位置情報センサ103a、103bは、マウス等で使用されている光学センサと同類のセンサである。位置情報センサ103a、103bは、ポータブルプリンタ100が置かれている記録媒体に光を照射し、その部分の状態を模様として読み取る。ポータブルプリンタ100の動きに対して、その模様がどのように変化するかを連続的に捉えることでポータブルプリンタ100の移動量が算出される。 The position information sensors 103a and 103b are similar to the optical sensors used in mice and the like. The position information sensors 103a and 103b shine light onto the recording medium on which the portable printer 100 is placed, and read the state of that area as a pattern. The amount of movement of the portable printer 100 is calculated by continuously capturing how the pattern changes in response to the movement of the portable printer 100.

図1に示す座標は、ポータブルプリンタ100の移動座標を示している。座標のY方向はノズル列102が配列している方向と並行な方向である。X方向は。ノズル列102が配列している方向と垂直な方向である。位置情報センサ103a、103bが読み取ることでX方向とY方向の位置情報(移動量)が取得される。 The coordinates shown in FIG. 1 indicate the movement coordinates of the portable printer 100. The Y direction of the coordinates is parallel to the direction in which the nozzle rows 102 are arranged. The X direction is perpendicular to the direction in which the nozzle rows 102 are arranged. Position information (amount of movement) in the X and Y directions is obtained by reading the position information sensors 103a and 103b.

ポータブルプリンタ100をX方向に移動するのを補助するために、プリントヘッド101の底面には、X方向の両端にそれぞれローラユニット104a、104bが配置されている。ローラユニット104a、104bは、それぞれ2つのローラ部を有する。即ち、ローラユニット104aは、ローラ部108a、108bを有し、ローラユニット104bは、ローラ部108c、108dを有する。ローラ部108a~dは、記録媒体に接触して回転することによりX方向に移動することを補助する。本実施形態のポータブルプリンタ100では、ローラ部108a~dを有しているが、X方向および後述のY方向に移動可能であれば、ローラ部108a~dが無い構成でもよい。 To assist the portable printer 100 in moving in the X direction, roller units 104a and 104b are arranged on both ends of the bottom surface of the print head 101 in the X direction. Each of the roller units 104a and 104b has two roller units. That is, the roller unit 104a has roller units 108a and 108b, and the roller unit 104b has roller units 108c and 108d. The roller units 108a-d assist the printer in moving in the X direction by rotating in contact with the recording medium. The portable printer 100 of this embodiment has roller units 108a-d, but it may be configured without roller units 108a-d as long as the printer is movable in the X direction and in the Y direction described below.

図1(b)は、ポータブルプリンタ100の上面の構成を示す上面図である。上面は、ポータブルプリンタ100とユーザの手とが接する面である。ポータブルプリンタ100の上面には、ポータブルプリンタ100の電源のONとOFFとを切り替えるための電源ボタン105、記録開始または記録停止等を切り替えるための制御ボタン106が配置されている。また、電源状態、記録状態、およびエラー等をユーザに通知するためのLED107が配置されている。本実施形態のポータブルプリンタ100は、記録媒体と接地した状態のまま、ユーザがポータブルプリンタ100を手動で+X方向に移動させることで記録が行われる。 Figure 1(b) is a top view showing the configuration of the top surface of the portable printer 100. The top surface is the surface that comes into contact with the portable printer 100 and the user's hand. On the top surface of the portable printer 100, there are arranged a power button 105 for switching the power of the portable printer 100 ON and OFF, and a control button 106 for switching between starting and stopping recording, etc. Also arranged is an LED 107 for notifying the user of the power status, recording status, errors, etc. In this embodiment, the portable printer 100 records by the user manually moving the portable printer 100 in the +X direction while it is grounded to the recording medium.

1走査分の記録が完了した後、ユーザが図1(a)に示すノズル列102の長さdの距離だけポータブルプリンタ100を-Y方向に移動させて改行を行うことで、次走査へ移行が行われる。長さd分の-Y方向への移動は、例えば、位置情報センサ103a、103bが距離dだけ-Y方向への移動を検出するまでユーザがポータブルプリンタ100を移動させることで行われる。または、-Y方向への移動を補助する不図示の改行機構を有し、ユーザが改行機構を操作することによって行われてもよい。ポータブルプリンタ100は、ユーザがX方向の走査と-Y方向の改行を繰り返し行うことにより、給排紙機構を持つプリンタと同様の記録手順で記録媒体上に画像を形成することができる。 After one scan's worth of printing is completed, the user moves the portable printer 100 in the -Y direction by a distance equal to the length d of the nozzle row 102 shown in FIG. 1A to perform a line feed, thereby moving on to the next scan. The movement in the -Y direction by the length d is performed, for example, by the user moving the portable printer 100 until the position information sensors 103a and 103b detect a movement in the -Y direction by the distance d. Alternatively, the portable printer 100 may have a line feed mechanism (not shown) that assists the movement in the -Y direction, and the user may operate the line feed mechanism to perform the movement. The portable printer 100 can form an image on the printing medium in the same printing procedure as a printer with a paper feed/discharge mechanism, by the user repeatedly performing scanning in the X direction and line feeds in the -Y direction.

[制御部の構成]
図2は、本実施形態のポータブルプリンタ100の制御部のハードウェア構成を説明するための図である。ポータブルプリンタの制御部200は、CPU201、画像処理アクセラレータ202、データ転送I/F203、RAM204、ROM205、ヘッドコントローラ206を有する。
[Configuration of control unit]
2 is a diagram for explaining the hardware configuration of the control unit of the portable printer 100 of this embodiment. The control unit 200 of the portable printer has a CPU 201, an image processing accelerator 202, a data transfer I/F 203, a RAM 204, a ROM 205, and a head controller 206.

CPU201はデータ演算処理を行う。画像処理アクセラレータ202はポータブルプリンタ100の画像処理演算に特化したブロックであり、CPU201と協働してデータ演算処理を行う。データ転送I/F203は、ポータブルプリンタ100の外部の装置、例えばパーソナルコンピュータ装置(PC)、スマートフォン等とデータのやり取りを行う。RAM204は、CPU201および画像処理アクセラレータ202が演算する際の一時記憶領域として用いられる。ROM205は、CPU201および画像処理アクセラレータ202が演算する際に用いるパラメータを保持している。ROM205から読みだされたパラメータはRAM204に展開されることがある。ヘッドコントローラ206は、プリントヘッド101によるインクの吐出を制御する。 The CPU 201 performs data calculation processing. The image processing accelerator 202 is a block specialized for image processing calculations of the portable printer 100, and performs data calculation processing in cooperation with the CPU 201. The data transfer I/F 203 exchanges data with devices external to the portable printer 100, such as a personal computer device (PC) or a smartphone. The RAM 204 is used as a temporary storage area when the CPU 201 and the image processing accelerator 202 perform calculations. The ROM 205 holds parameters used by the CPU 201 and the image processing accelerator 202 when performing calculations. Parameters read from the ROM 205 may be expanded in the RAM 204. The head controller 206 controls the ejection of ink by the print head 101.

電源ボタン105がユーザによって押下されることに応じて、制御部200への電源の供給の開始または終了が切り替えられる。また、制御ボタン106の押下は制御部200に伝えられ、制御部200は、記録状態に応じて、プリントヘッド101に記録の開始または記録の中止を実行させる。CPU201は、電源状態、記録状態、エラー等に応じてLED106を所定パターンで点灯、または所定の色で発光させる。 When the power button 105 is pressed by the user, the supply of power to the control unit 200 is switched on or off. Pressing the control button 106 is also transmitted to the control unit 200, which in turn causes the print head 101 to start or stop recording depending on the recording status. The CPU 201 causes the LED 106 to light up in a specified pattern or emit light in a specified color depending on the power status, recording status, error, etc.

記録の開始が可能な状態で制御ボタン106が押された際のポータブルプリンタ100の位置座標を原点とする。CPU201は、ポータブルプリンタ100の移動に応じて位置情報センサ103a、103bから位置情報を連続的に取得することで移動量を算出する。 The origin is the position coordinates of the portable printer 100 when the control button 106 is pressed in a state in which recording can be started. The CPU 201 calculates the amount of movement by continuously acquiring position information from the position information sensors 103a and 103b in response to the movement of the portable printer 100.

[画像処理の機能構成]
図3は、画像処理に係る制御部200の機能構成を示す図である。入力部301は、データ転送I/F203を介して受信した画像データと印刷設定を入力データとして取得する。取得された入力データは、画像処理アクセラレータ202に出力される。
[Image processing functional configuration]
3 is a diagram showing the functional configuration of the control unit 200 related to image processing. An input unit 301 acquires image data and print settings received via a data transfer I/F 203 as input data. The acquired input data is output to an image processing accelerator 202.

画像処理アクセラレータ202は、変倍部302、色補正部303、色分解部304、出力階調補正部305、量子化処理部306を有する。 The image processing accelerator 202 has a scaling unit 302, a color correction unit 303, a color separation unit 304, an output tone correction unit 305, and a quantization processing unit 306.

変倍部302は、ユーザが設定した印刷サイズに基づいて入力された画像を変倍する。印刷サイズとは、記録媒体上に形成される画像のサイズである。色補正部303は、画像データの色空間をポータブルプリンタ100固有の色空間に変換する。色分解部304は、色補正後のデータをインク色に対応する階調データに分解する。出力階調補正部305は、プリントヘッドが記録媒体に対してインクを付与した際に生じる特性を補正する。量子化処理部306は、インク色のそれぞれに対応する階調データに対し所定の量子化処理を行い、数ビットの量子化データに変換する。 The scaling unit 302 scales the input image based on the print size set by the user. The print size is the size of the image formed on the recording medium. The color correction unit 303 converts the color space of the image data into a color space specific to the portable printer 100. The color separation unit 304 separates the color-corrected data into gradation data corresponding to the ink colors. The output gradation correction unit 305 corrects the characteristics that arise when the print head applies ink to the recording medium. The quantization processing unit 306 performs a predetermined quantization process on the gradation data corresponding to each ink color, converting it into quantized data of several bits.

変倍部302、色補正部303、色分解部304、出力階調補正部305、量子化処理部306がそれぞれの処理を行うことで、画像データは、インク色ごとの印刷データに変換される。そして、印刷データに基づきプリントヘッド101がドットを吐出することで記録媒体上に画像が記録される。 The image data is converted into print data for each ink color by the magnification unit 302, color correction unit 303, color separation unit 304, output tone correction unit 305, and quantization processing unit 306 performing their respective processes. Then, the print head 101 ejects dots based on the print data to record an image on the recording medium.

本実施形態で画像処理される画像データは、予め画像のY方向のサイズが1走査分の記録で使用されるノズル列102長さに分割された画像のデータである。このため、1走査毎に対応するように分割された画像に対して画像処理が行われる。他にも、全体の画像のデータに対して上述の画像処理を実施した後に、Y方向のサイズがノズル列102長さとなるようにデータを分割して、1走査分の印刷データを生成してもよい。 The image data that is processed in this embodiment is data for an image in which the size in the Y direction of the image has been divided in advance to the length of the nozzle row 102 used in printing one scan. Therefore, image processing is performed on the image divided to correspond to each scan. Alternatively, after performing the above-mentioned image processing on the data for the entire image, the data may be divided so that the size in the Y direction is the length of the nozzle row 102 to generate print data for one scan.

また、本実施形態では画像処理をポータブルプリンタ100本体で行う例を示しているが、PC、スマートフォン等が、少なくとも一部の画像処理を行ってもよい。その場合、入力部301は、画像処理後のデータと印刷設定とを合わせて入力データとして取得してもよい。また、画像処理の内容は、上述した内容に限らず、任意の補正処理などが加えられてもよい。 In addition, although the present embodiment shows an example in which image processing is performed by the portable printer 100 itself, a PC, a smartphone, or the like may perform at least a part of the image processing. In that case, the input unit 301 may acquire the post-image processing data together with the print settings as input data. In addition, the contents of the image processing are not limited to those described above, and any correction processing may be added.

[記録領域の比較例について]
図4は、ポータブルプリンタ100が記録媒体上に1回走査した場合の記録領域を示す模式図である。記録領域とは、印刷データに基づく1走査分の画像を記録媒体上に記録するためにプリントヘッド101(ノズル列102)が走査する領域である。
[Comparative Example of Recording Area]
4 is a schematic diagram showing a printing area when the portable printer 100 scans once on a printing medium. The printing area is an area scanned by the print head 101 (nozzle array 102) to print an image for one scan on the printing medium based on print data.

図4(a)は、ポータブルプリンタ100が記録開始時におけるX方向に真っ直ぐ移動された場合の記録領域401を示す図である。図4(a)に示すようにこの場合の記録領域401は矩形の領域となる。 Figure 4(a) is a diagram showing the recording area 401 when the portable printer 100 is moved straight in the X direction at the start of recording. As shown in Figure 4(a), the recording area 401 in this case is a rectangular area.

図4(b)は、ポータブルプリンタ100が記録開始時のX方向に真っ直ぐ移動されず、湾曲して移動されたため、記録領域が扇形状となった例を示す図である。ローラユニット104a、104bに配された上部のローラ部108a、108cと下部のローラ部108b、108dの径に差が生じる場合がある。また、走査方向(X方向)に対して垂直に延在するように配置される2つのローラユニット104a、104b間の垂直度に差が生じることがある。また、ポータブルプリンタ100は、ローラ部の有り無しに関わらず、人の操作時に肘等の机上に接触した部分を支点として移動されることがある。このような場合、ポータブルプリンタ100は、記録開始時のX方向に直進して移動がされずに湾曲した移動がされることがある。 Figure 4(b) shows an example in which the portable printer 100 is not moved straight in the X direction at the start of recording, but is moved in a curved manner, resulting in a sector-shaped recording area. There may be a difference in the diameter of the upper roller parts 108a, 108c and the lower roller parts 108b, 108d arranged on the roller units 104a, 104b. There may also be a difference in the perpendicularity between the two roller units 104a, 104b arranged to extend perpendicularly to the scanning direction (X direction). In addition, the portable printer 100 may be moved with a part that touches the desk, such as an elbow, as a fulcrum when operated by a person, regardless of whether or not there is a roller part. In such a case, the portable printer 100 may not move straight in the X direction at the start of recording, but may move in a curved manner.

湾曲した移動がされると、本来は矩形となるはずの記録領域が、図4(b)の記録領域402のように扇形状の領域となる。なお、ポータブルプリンタ100が湾曲して移動がされた場合、記録領域402のような凸型の扇形状になる場合もあれば、凹型の扇形状になる場合もある。 When the portable printer 100 is moved in a curved manner, the printing area, which should be rectangular, becomes a sector-shaped area like printing area 402 in FIG. 4B. Note that when the portable printer 100 is moved in a curved manner, the printing area may become a convex sector-shaped area like printing area 402, or it may become a concave sector-shaped area.

ポータブルプリンタ100の移動量は、位置情報センサ103a、103bの検知結果に基づき連続的に算出されている。即ち、短い時間差で位置情報センサ103a、103bによって得られた短い距離の模様の変化が、位置の差として検出され移動量が得られる。 The amount of movement of the portable printer 100 is continuously calculated based on the detection results of the position information sensors 103a and 103b. In other words, the change in the pattern over a short distance obtained by the position information sensors 103a and 103b with a short time difference is detected as a difference in position, and the amount of movement is obtained.

図5は、位置情報センサ103aの状態遷移の違いを示したものである。図5(a)は、ポータブルプリンタ100が湾曲して移動された場合の位置情報センサ103aの位置の推移を示した図である。湾曲に移動された場合、模様の変化の差を取得してもY方向の位置の差は取得できない場合が多く、X方向の位置の差のみが検出される。一方、図5(b)は、ポータブルプリンタが斜めに直進して移動された場合の位置情報センサ103aの推移を示した図である。この場合は、X方向、Y方向いずれの位置の差も検出されることになる。 Figure 5 shows the difference in state transition of the position information sensor 103a. Figure 5(a) is a diagram showing the change in position of the position information sensor 103a when the portable printer 100 is moved in a curved manner. When moved in a curved manner, even if the difference in the pattern change is obtained, the difference in position in the Y direction is often not obtained, and only the difference in position in the X direction is detected. On the other hand, Figure 5(b) is a diagram showing the change in the position information sensor 103a when the portable printer is moved straight ahead at an angle. In this case, the difference in position in both the X direction and the Y direction is detected.

図4(b)の記録領域402となるようにポータブルプリンタ100が湾曲して移動された場合、位置情報センサ103a、103bの状態遷移は図5(a)の状態となる。このため、図4(a)、(b)のいずれにおいても、位置情報センサ103a、103bから取得される位置情報のY成分は0である。このように、湾曲して移動されたポータブルプリンタ100では、記録開始位置を原点としたX方向、Y方向の位置情報を正しく取得できない。ポータブルプリンタ100が取得するX方向の移動量は、位置情報センサ103a、103bの移動した道のりを表す距離(以後、道のり距離と記載する)の情報となる。 When the portable printer 100 is moved in a curved manner to become the recording area 402 in FIG. 4(b), the state transition of the position information sensors 103a and 103b becomes the state in FIG. 5(a). Therefore, in both FIG. 4(a) and (b), the Y component of the position information acquired from the position information sensors 103a and 103b is 0. In this way, when the portable printer 100 is moved in a curved manner, the position information in the X direction and Y direction with the recording start position as the origin cannot be acquired correctly. The amount of movement in the X direction acquired by the portable printer 100 is information on the distance (hereinafter referred to as the distance) indicating the path traveled by the position information sensors 103a and 103b.

図6は、図4に示す走査方向(X方向)に1回走査して記録をした後、本走査の記録を開始した位置から走査方向と垂直方向にノズル列102の長さdだけ移動して再度走査方向に記録する操作を繰り返し行った場合の記録領域を説明するための模式図である。記録領域601~606は2走査目以降の記録領域である。 Figure 6 is a schematic diagram for explaining the printing area when printing is performed by scanning once in the scanning direction (X direction) shown in Figure 4, and then the operation of moving from the position where printing of the main scan started in a direction perpendicular to the scanning direction by the length d of the nozzle row 102 and printing again in the scanning direction is repeated. Printing areas 601 to 606 are the printing areas for the second scan and onwards.

図6(a)は、図4(a)のように、1走査目および2走査以降も記録開始時におけるX方向に真っ直ぐ移動された場合の記録領域を示す図である。図6(a)は、前の走査の記録領域と本走査の記録領域の位置ずれが発生せず、画像データの通りに画像が記録されている。 Figure 6(a) is a diagram showing the print area when the first and second scans are moved straight in the X direction at the start of printing, as in Figure 4(a). In Figure 6(a), there is no misalignment between the print area of the previous scan and the print area of this scan, and the image is printed according to the image data.

一方、図6(b)は、図4(b)のように、1走査目および2走査目以降もポータブルプリンタ100が湾曲した移動がされた場合の記録領域の比較例を示す図である。図6(b)に示すように、ポータブルプリンタ100が湾曲して移動がされた場合、走査を進めるごとに前の走査による記録領域との位置ずれが大きくなり、記録終了時の記録領域の端部において前の走査の記録領域との位置ずれ量が最大となる。即ち、記録領域の端部において、図6(b)の太線部が示す道のり距離dmの位置ずれが発生してしまう。各走査の記録領域間で位置ずれが発生すると、記録媒体上に所望の画像が得られない虞がある。 On the other hand, FIG. 6(b) is a diagram showing a comparative example of the printing area when the portable printer 100 moves in a curved manner after the first and second scans, as in FIG. 4(b). As shown in FIG. 6(b), when the portable printer 100 moves in a curved manner, the positional deviation from the printing area of the previous scan increases with each scan, and the amount of positional deviation from the printing area of the previous scan is maximum at the end of the printing area when printing is completed. In other words, at the end of the printing area, a positional deviation of the distance dm indicated by the thick line in FIG. 6(b) occurs. If a positional deviation occurs between the printing areas of each scan, there is a risk that the desired image will not be obtained on the printing medium.

位置情報センサ103a、103bからは、前述したとおり、X方向の移動量として道のり距離が取得される。このため、例えば、位置情報センサが1つだけ配置されたポータブルプリンタでは、位置情報センサから得られる移動量だけでは、前の記録領域との位置ずれ量dmを推測することは困難である。一方、本実施形態では、位置情報センサを2つ設けていることから、後述するように、前の走査の記録領域と今回の記録領域との位置ずれ量を推定することができる。 As described above, the position information sensors 103a and 103b obtain the travel distance as the amount of movement in the X direction. For this reason, for example, in a portable printer equipped with only one position information sensor, it is difficult to estimate the amount of positional deviation dm from the previous printing area based on only the amount of movement obtained from the position information sensor. On the other hand, in this embodiment, two position information sensors are provided, so that it is possible to estimate the amount of positional deviation between the printing area of the previous scan and the current printing area, as described below.

位置情報センサ103a、位置情報センサ103bは、図1(a)に示すように、走査方向と交差する方向であるY方向において、離れた位置に配置するのが好ましい。例えば、図1(a)に示すように、位置情報センサ103aは、ローラ部108a、108cよりもさらに+Y方向に位置するように配置する。位置情報センサ103bは、ローラ部108b、108dよりもさらに-Y方向に位置するように配置する。このように位置情報センサ103aと、位置情報センサ103bと、の距離を十分にとって配置することにより、記録走査に対応する記録媒体上の記録領域の形状が推定しやすくなる。記録領域の形状の推定については後述する。 As shown in FIG. 1A, it is preferable to place the position information sensor 103a and the position information sensor 103b at positions separated from each other in the Y direction, which is a direction intersecting the scanning direction. For example, as shown in FIG. 1A, the position information sensor 103a is placed so as to be located further in the +Y direction than the roller portions 108a and 108c. The position information sensor 103b is placed so as to be located further in the -Y direction than the roller portions 108b and 108d. By placing the position information sensor 103a and the position information sensor 103b at a sufficient distance in this manner, it becomes easier to estimate the shape of the recording area on the recording medium corresponding to the recording scan. The estimation of the shape of the recording area will be described later.

[走査間の最大位置ずれ量を抑制する記録処理]
図7は、本実施形態の走査間の位置ずれの影響を抑制して記録を行う処理を説明するためのフローチャートである。図7のフローチャートで示される一連の処理は、制御部200のCPU201がROM203に記憶されているプログラムコードをRAM202に展開し実行することにより行われる。また、図7におけるステップの一部または全部の機能をASICまたは電子回路等のハードウェアで実現してもよい。なお、各処理の説明における記号「S」は、当該フローチャートにおけるステップであることを意味し、以後のフローチャートにおいても同様とする。
[Recording process that suppresses maximum positional deviation between scans]
Fig. 7 is a flowchart for explaining the process of recording while suppressing the influence of misalignment between scans in this embodiment. The series of processes shown in the flowchart in Fig. 7 are performed by the CPU 201 of the control unit 200 expanding the program code stored in the ROM 203 into the RAM 202 and executing it. In addition, some or all of the functions of the steps in Fig. 7 may be realized by hardware such as an ASIC or an electronic circuit. Note that the symbol "S" in the explanation of each process indicates a step in the flowchart, and the same applies to the subsequent flowcharts.

S701において入力部301は、データ転送I/F203を介して画像データを取得する。取得された画像データは、図3を用いて説明したように画像処理アクセラレータ202によって印刷データに変換されて、印刷データが取得される。入力部301は、印刷データをデータ転送I/F203を介して取得してもよい。 In S701, the input unit 301 acquires image data via the data transfer I/F 203. The acquired image data is converted into print data by the image processing accelerator 202 as described with reference to FIG. 3, and the print data is acquired. The input unit 301 may acquire the print data via the data transfer I/F 203.

S702においてCPU201は、制御ボタン106の押下を検出した後、ヘッドコントローラ206を介して、プリントヘッド101に1走査分の記録処理を実行させる。プリントヘッド101は、位置情報センサ103a、103bによってX方向の移動が検出されるのに伴って1走査分の記録処理を実行する。本ステップによる1走査分の記録は、S701で取得された印刷データに基づいて行われる。S702~S709のループ処理のうち、現在のループ処理における記録のための走査を本走査とよぶ。 In S702, the CPU 201 detects that the control button 106 has been pressed, and then causes the print head 101 to execute one scan's worth of recording processing via the head controller 206. The print head 101 executes one scan's worth of recording processing as movement in the X direction is detected by the position information sensors 103a and 103b. The recording of one scan's worth in this step is performed based on the print data acquired in S701. Of the loop processes from S702 to S709, the scan for recording in the current loop process is called the main scan.

S703においてCPU201は、2つの位置情報センサ103a、103bの検知結果に基づき、本走査の記録が完了した際の2つの位置情報センサ103a、103bの道のり距離を取得する。 In S703, the CPU 201 obtains the travel distances of the two position information sensors 103a and 103b when the main scan recording is completed based on the detection results of the two position information sensors 103a and 103b.

図8は、本走査の記録領域を説明するための図である。図8に示すように、本ステップでは、本走査を行った際の位置情報センサ103aの道のり距離laと、本走査を行った際の位置情報センサ103bの道のり距離lbと、が取得される。 Figure 8 is a diagram for explaining the recording area of the main scan. As shown in Figure 8, in this step, the travel distance la of the position information sensor 103a when the main scan is performed, and the travel distance lb of the position information sensor 103b when the main scan is performed are acquired.

なお、S703は、説明の便宜上、S702の次のステップとして記載したが、道のり距離la、道のり距離lbは、S702で走査が行われる都度、取得されてもよい。そして、道のり距離la、道のり距離lbに基づき記録走査が完了したかを判定してもよい。 For ease of explanation, S703 is described as the next step after S702, but the travel distance la and the travel distance lb may be obtained each time scanning is performed in S702. Then, it may be determined whether the recording scan is complete based on the travel distance la and the travel distance lb.

S704においてCPU201は、記録領域の形状が、凸型の扇形状であるか、凹型の扇形状であるかを決定する。 In S704, the CPU 201 determines whether the shape of the recording area is a convex sector shape or a concave sector shape.

図8(a)は、凸型の扇形状の記録領域が形成されるように本走査が行われた場合の記録領域と、位置情報センサの道のり距離を説明するための図である。記録領域801は、本走査の記録領域である。図6(b)の比較例のように開始位置の修正がされないで次走査以降の記録が実行された場合における次走査以降の記録領域802~804は破線で示している。 Figure 8(a) is a diagram for explaining the printing area when the main scan is performed to form a convex fan-shaped printing area, and the travel distance of the position information sensor. Printing area 801 is the printing area of the main scan. The printing areas 802-804 from the next scan onwards when printing from the next scan onwards is performed without correcting the start position as in the comparative example of Figure 6(b) are shown by dashed lines.

図8(b)は、凹型の扇形状の記録領域が形成されるように本走査が行われた場合の記録領域と、位置情報センサの道のり距離を説明するための図である。記録領域810は、本走査の記録領域であり、開始位置の修正がされない場合の次走査以降の記録領域821~823は破線で示している。 Figure 8(b) is a diagram for explaining the printing area when the main scan is performed to form a concave fan-shaped printing area, and the travel distance of the position information sensor. Printing area 810 is the printing area of the main scan, and printing areas 821-823 from the next scan onwards when the start position is not corrected are shown by dashed lines.

記録領域の形状を決定する方法は、位置情報センサ103aの道のり距離laと位置情報センサ103bの道のり距離lbとを比較して、道のり距離laの方が大きい場合は、凸型の扇形状と決定する。道のり距離lbの方が大きい場合は凹型の扇形状と決定すればよい。予備的な動作を行うことにより、記録領域が凸型の扇形状か凹型の扇形状か予め決定されている場合は、本ステップでは記録領域の形状が決定されなくてもよく、決定された記録領域の形状を取得すればよい。 The method for determining the shape of the recording area is to compare the path distance la of the position information sensor 103a with the path distance lb of the position information sensor 103b, and if the path distance la is greater, determine the shape to be a convex sector. If the path distance lb is greater, determine the shape to be a concave sector. If a preliminary operation has been performed to determine in advance whether the recording area is a convex sector or a concave sector, the shape of the recording area does not need to be determined in this step, and the determined shape of the recording area can be obtained.

S705においてCPU201は、位置情報センサ103aから位置情報センサ103bまでの長さls、およびノズル列102の長さdを取得する。この情報は、プリンタ本体毎に工場で測定することで、センサの取り付け位置ずれによって生ずる補正誤差量を低減可能である。 In S705, the CPU 201 acquires the length ls from the position information sensor 103a to the position information sensor 103b, and the length d of the nozzle row 102. This information can be measured at the factory for each printer body to reduce the amount of correction error caused by misalignment of the sensor installation position.

S706においてCPU201は、本走査の記録領域と次走査の記録領域との最大位置ずれ量dmを算出(推定)する。最大位置ずれ量の算出方法は、走査領域の形状が凸型の扇形状であるか、凹型の扇形状であるかで異なるため、S704の決定に応じた方法で算出する。 In S706, the CPU 201 calculates (estimates) the maximum positional deviation amount dm between the printing area of the main scan and the printing area of the next scan. The method for calculating the maximum positional deviation amount differs depending on whether the shape of the scanning area is a convex sector shape or a concave sector shape, so the calculation is performed using a method according to the determination made in S704.

はじめに、凸型の扇形状の場合の最大位置ずれ量の算出方法について説明する。CPU201は、図8(a)に示す半径rを、式(1)から算出する。凸型の扇形状の場合の半径rは、本走査により位置情報センサ103bが描く円弧の半径である。 First, a method for calculating the maximum positional deviation amount in the case of a convex sector shape will be described. The CPU 201 calculates the radius r shown in FIG. 8(a) from formula (1). The radius r in the case of a convex sector shape is the radius of the arc drawn by the position information sensor 103b during main scanning.

Figure 0007699991000001
Figure 0007699991000001

そして、CPU201は、最大位置ずれ量dmを、本走査の記録領域の上辺の距離lcおよび記録領域の下辺の距離ldとの差分に基づく式(4)により算出する。式(4)の右辺は、距離lcを求めるための式(2)から、距離ldを求めるための式(3)を差し引くことで得られたものである。 Then, the CPU 201 calculates the maximum positional deviation amount dm using equation (4) based on the difference between the distance lc of the upper side of the recording area in this scan and the distance ld of the lower side of the recording area. The right-hand side of equation (4) is obtained by subtracting equation (3) for calculating distance ld from equation (2) for calculating distance lc.

図8に示すように、距離lcは、プリントヘッド101のノズル列102の上端の道のり距離であり、距離ldは、プリントヘッド101のノズル列102の下端の道のり距離である。式(2)および式(3)におけるbは、図8に示すように、プリントヘッド101のノズル列102の下端から位置情報センサ103bまでの長さである。なお、式(4)は、距離lcと距離ldとの走査軌跡が略等しいものとして得られた式である。 As shown in FIG. 8, distance lc is the travel distance to the top end of nozzle row 102 of print head 101, and distance ld is the travel distance to the bottom end of nozzle row 102 of print head 101. As shown in FIG. 8, b in equations (2) and (3) is the length from the bottom end of nozzle row 102 of print head 101 to position information sensor 103b. Note that equation (4) is an equation obtained assuming that the scanning trajectories of distance lc and distance ld are approximately equal.

Figure 0007699991000002
Figure 0007699991000002

Figure 0007699991000003
Figure 0007699991000003

Figure 0007699991000004
Figure 0007699991000004

次に、凹型の扇形状の場合の最大位置ずれ量の算出方法について説明する。CPU201は、図8(b)に示す半径rを式(5)から算出する。凹型の扇形状の場合、半径rは本走査により位置情報センサ103aが描く円弧の半径である。 Next, a method for calculating the maximum positional deviation amount in the case of a concave sector shape will be described. The CPU 201 calculates the radius r shown in FIG. 8(b) from equation (5). In the case of a concave sector shape, the radius r is the radius of the arc drawn by the position information sensor 103a during main scanning.

Figure 0007699991000005
Figure 0007699991000005

そして、CPU201は、最大位置ずれ量dmを、記録領域の上辺の距離lcおよび記録領域の下辺の距離ldとの差分に基づく式(8)より算出する。式(8)の右辺は、式距離ldを求めるための式(7)から距離lcを求めるための式(6)を差し引くことで得られる式である。aは、図8に示すように、プリントヘッド101のノズル列102の上端から位置情報センサ103aまでの長さである。式(8)は、距離lcと距離ldとの走査軌跡が略等しいものとして得られた式である。 The CPU 201 then calculates the maximum positional deviation amount dm from equation (8) based on the difference between the distance lc of the upper edge of the printing area and the distance ld of the lower edge of the printing area. The right-hand side of equation (8) is obtained by subtracting equation (6) for calculating distance lc from equation (7) for calculating distance ld. As shown in FIG. 8, a is the length from the upper end of the nozzle row 102 of the print head 101 to the position information sensor 103a. Equation (8) is obtained assuming that the scanning trajectories of distance lc and distance ld are approximately equal.

Figure 0007699991000006
Figure 0007699991000006

Figure 0007699991000007
Figure 0007699991000007

Figure 0007699991000008
Figure 0007699991000008

なお、本走査における記録領域の上辺の距離lcと下辺の距離ldを算出してから、その差分を算出することで、最大位置ずれ量dmを算出してもよい。 The maximum positional deviation amount dm may be calculated by first calculating the distance lc of the upper side and the distance ld of the lower side of the printing area in this scan, and then calculating the difference between them.

位置情報センサ103a、103bの一方の道のり距離が距離lcと同じになり、他方の道のり距離が距離ldと同じになるように位置情報センサ103a、103bの配置を変更してもよい。この場合、位置情報センサ103a、103bから得られた2つの道のり距離の差分から最大位置ずれ量dmを算出してもよい。 The arrangement of the position information sensors 103a and 103b may be changed so that the path distance of one of the position information sensors 103a and 103b is the same as the distance lc and the path distance of the other is the same as the distance ld. In this case, the maximum position deviation amount dm may be calculated from the difference between the two path distances obtained from the position information sensors 103a and 103b.

そしてCPU201は、本走査の記録領域と次走査の記録領域との最大位置ずれ量dmから次走査の開始位置のオフセット量を算出する。本実施形態では最大位置ずれ量dmの半分(dm/2)をオフセット量とする。 Then, the CPU 201 calculates the offset amount of the start position of the next scan from the maximum positional deviation amount dm between the printing area of this scan and the printing area of the next scan. In this embodiment, the offset amount is set to half the maximum positional deviation amount dm (dm/2).

S707においてCPU201は、記録領域の形状が凸型の扇形状の場合、次走査の開始位置におけるX方向の位置を、本走査の開始位置におけるX方向の位置から走査方向とは反対の方向に所定量だけずらした位置に設定する。本実施形態では、S704で算出したオフセット量分だけずらした位置に設定する。記録領域の形状が凹型の扇形状の場合、次走査の開始位置におけるX方向の位置を、本走査の開始位置におけるX方向の位置から走査方向にS704で算出したオフセット量分だけずらした位置に設定する。 In S707, if the shape of the printing area is a convex sector shape, the CPU 201 sets the X-direction position of the start position of the next scan to a position shifted a predetermined amount in the direction opposite to the scanning direction from the X-direction position of the start position of the main scan. In this embodiment, it is set to a position shifted by the offset amount calculated in S704. If the shape of the printing area is a concave sector shape, the X-direction position of the start position of the next scan is set to a position shifted in the scanning direction from the X-direction position of the start position of the main scan by the offset amount calculated in S704.

S708においてCPU201は、次走査の開始位置をユーザに通知する処理を行う。 In S708, the CPU 201 performs processing to notify the user of the start position of the next scan.

本走査の記録処理(S702)においてポータブルプリンタ100を移動させることで本走査の記録領域の終了位置までプリントヘッド101が走査したら、CPU201はLED106を介して終了位置まで達したことをユーザに通知する。 When the portable printer 100 is moved during the main scan recording process (S702) so that the print head 101 scans to the end position of the main scan recording area, the CPU 201 notifies the user via the LED 106 that the end position has been reached.

終了位置の通知を受けたユーザは、本走査の走査方向とは反対の方向にポータブルプリンタ100を移動させる。このとき、位置情報センサ103a、103bの検知結果に基づき移動量が算出されている。そして、本ステップにおいてCPU201は、プリントヘッド101のX方向の位置が、次走査の開始位置におけるX方向の位置に到達するまで移動したと判定したら、次走査への移行可を表す通知を、LED106を介して行う。S706で決定されたオフセット量が0の場合は、本走査の開始位置まで移動したら次走査への移行可がユーザに通知されることになる。オフセット量が決定されている場合は、本走査の開始位置からオフセット量だけずらした位置まで移動したら、移行可がユーザに通知される。 Having been notified of the end position, the user moves the portable printer 100 in the direction opposite to the scanning direction of the main scan. At this time, the amount of movement is calculated based on the detection results of the position information sensors 103a and 103b. Then, in this step, when the CPU 201 determines that the X-direction position of the print head 101 has moved until it reaches the X-direction position at the start position of the next scan, it issues a notification via the LED 106 indicating that it is possible to proceed to the next scan. If the offset amount determined in S706 is 0, the user will be notified that it is possible to proceed to the next scan once it has moved to the start position of the main scan. If the offset amount has been determined, the user will be notified that it is possible to proceed once it has moved to a position shifted by the offset amount from the start position of the main scan.

次走査の移行可の通知を受けたユーザは、ポータブルプリンタ100を操作することにより、走査方向と垂直な方向に、ノズル列102の長さd分だけポータブルプリンタ100を移動させる。ユーザがこの操作を行うことにより、次走査の記録領域の開始位置にポータブルプリンタが移動させる。 When the user is notified that it is possible to proceed to the next scan, he or she operates the portable printer 100 to move the portable printer 100 by the length d of the nozzle row 102 in a direction perpendicular to the scanning direction. When the user performs this operation, the portable printer moves to the start position of the printing area for the next scan.

図9(a)は、記録領域が凸型の扇形状の場合において、上記処理により次走査の開始位置に移動された場合の記録領域を説明するための図である。図9(a)の記録領域801は、本走査の記録領域であり、図8(a)の記録領域801に対応するように模式的に図示している。記録領域902~904は、図8(a)の比較例の記録領域802~804に対応する記録領域である。 Figure 9(a) is a diagram for explaining the printing area when it is a convex sector shape and has been moved to the start position of the next scan by the above process. Printing area 801 in Figure 9(a) is the printing area for the main scan, and is illustrated diagrammatically to correspond to printing area 801 in Figure 8(a). Printing areas 902-904 are printing areas that correspond to printing areas 802-804 of the comparative example in Figure 8(a).

記録領域902は本実施形態の処理を行った場合の次走査の記録領域である。記録領域902の開始位置806は、本走査の記録領域801の開始位置805に比べてオフセット量dm/2だけずれている。比較例の図6(b)では、本走査と次走査との間の最大位置ずれ量はdmであったが、本実施形態では図9(a)に示すように、本走査と次走査との間の最大位置ずれ量がdm/2に抑制されている。このように本実施形態では、次走査の開始位置をdmに基づき設定して、その位置にポータブルプリンタが移動されるように制御を行うことで、実際の位置ずれ量の最大値を抑制することが可能である。その結果、画像データに対してより正しく記録領域を形成できる。 The print area 902 is the print area of the next scan when the processing of this embodiment is performed. The start position 806 of the print area 902 is shifted by an offset amount dm/2 from the start position 805 of the print area 801 of the main scan. In the comparative example of FIG. 6B, the maximum positional deviation between the main scan and the next scan is dm, but in this embodiment, as shown in FIG. 9A, the maximum positional deviation between the main scan and the next scan is suppressed to dm/2. In this manner, in this embodiment, the start position of the next scan is set based on dm, and the portable printer is controlled to move to that position, thereby suppressing the maximum actual positional deviation amount. As a result, a print area can be formed more accurately for the image data.

図9(b)は、記録領域が凹型の扇形状の場合において、上記処理により次走査の開始位置に移動された場合の記録領域を説明するための図である。図9(a)の記録領域810は、本走査の記録領域であり、図8(b)の記録領域810に対応するように模式的に図示している。記録領域921~922は、図8(b)の比較例の記録領域821~823に対応する記録領域である。 Figure 9(b) is a diagram for explaining the printing area when it is a concave sector shape and has been moved to the start position of the next scan by the above process. Printing area 810 in Figure 9(a) is the printing area for this scan, and is illustrated diagrammatically to correspond to printing area 810 in Figure 8(b). Printing areas 921-922 are printing areas that correspond to printing areas 821-823 of the comparative example in Figure 8(b).

記録領域921は、本実施形態の処理を行った場合の次走査の記録領域である。記録領域が凹型の扇形状の場合も、記録領域921の開始位置820は、本走査の記録領域810の開始位置811に比べてオフセット量dm/2だけずれている。このように記録領域が凹型の扇形状の場合においても実際の位置ずれ量の最大値を抑制することが可能である。 The printing area 921 is the printing area of the next scan when processing in this embodiment is performed. Even when the printing area is a concave sector shape, the start position 820 of the printing area 921 is shifted by an offset amount dm/2 from the start position 811 of the printing area 810 of the main scan. In this way, even when the printing area is a concave sector shape, it is possible to suppress the maximum actual positional deviation amount.

なお、上記の説明では、次走査の開始位置のオフセット量を最大位置ずれ量dmの半分とすることで本走査と次走査との走査領域の中心の位置における位置ずれが無くなるように位置ずれを抑制している。実際には記録領域の中でも、インクが吐出されないで画像が記録されない領域もあり、本走査で、プリントヘッド101(ノズル列102)が走査する記録領域の全てに画像が記録されるとは限らない。このため、本走査でノズル列102が走査する領域における画像の位置関係に応じてオフセット量を変更してもよい。 In the above explanation, the offset amount of the start position of the next scan is set to half the maximum positional deviation amount dm to suppress positional deviation so that there is no positional deviation at the center position of the scanning area between the main scan and the next scan. In reality, there are areas in the printing area where no ink is ejected and no image is printed, and images are not necessarily printed in all of the printing area scanned by the print head 101 (nozzle array 102) in the main scan. For this reason, the offset amount may be changed depending on the positional relationship of the image in the area scanned by the nozzle array 102 in the main scan.

また、次走査への移行をユーザに通知する方法として、CPU201は、LED106を介してユーザ通知する方法を説明したが、ユーザへの通知方法はLED106を介する方法に限られるものではい。通知方法は、ユーザに通知することが可能な手段であれば何でもよい。例えば、ポータブルプリンタ100にディスプレイを配置して、CPU201は、ディスプレイに画面を表示させてユーザに通知を行ってもよい。また、ブザー等による音の通知、ポータブルプリンタ100自身の振動によって通知が行われてもよい。また、ポータブルプリンタ100が通知を行うのではなく、PCやスマートデバイス等のホストを介して通知が行われてもよい。 In addition, as a method of notifying the user of the transition to the next scan, the method in which the CPU 201 notifies the user via the LED 106 has been described, but the method of notifying the user is not limited to the method via the LED 106. Any means capable of notifying the user may be used as the notification method. For example, a display may be provided on the portable printer 100, and the CPU 201 may notify the user by displaying a screen on the display. Notification may also be made by sound such as a buzzer, or by vibration of the portable printer 100 itself. Notification may also be made via a host such as a PC or smart device, rather than by the portable printer 100 itself.

S709においてCPU201は、次走査があるかを判定する。次走査がない場合には処理を終了する。次走査がある場合には、S702に戻り記録処理を継続する。なお、説明の便宜上、次走査のあるかの判定は、次走査の移行情報の通知の後に行われるものとして説明したが、例えば、次走査があるかを判定はS703の後でもよくその場合は、NOの場合は、S704~S708はスキップして終了してもよい。 In S709, the CPU 201 determines whether there is a next scan. If there is not, the process ends. If there is a next scan, the process returns to S702 and continues the recording process. Note that, for convenience of explanation, the determination of whether there is a next scan is described as being made after notification of the transition information for the next scan, but, for example, the determination of whether there is a next scan may be made after S703, in which case, if the result is NO, S704 to S708 may be skipped and the process may end.

なお、上記の説明では、位置情報センサ103a、103bから1走査分の道のり距離laおよび道のり距離lbを取得し、それに対応したオフセット量を算出した。つまり、本走査が完了した後から次走査が開始する前の間のタイミングでオフセット量を算出するものとして説明した。このタイミングでオフセット量の算出ができない場合は、本走査の途中で位置情報センサ103a、103bから得られた道のり距離から次走査の開始地位のオフセット量を算出してもよい。 In the above explanation, the travel distances la and lb for one scan are obtained from the position information sensors 103a and 103b, and the corresponding offset amount is calculated. In other words, the offset amount is calculated at a timing between the completion of the main scan and the start of the next scan. If the offset amount cannot be calculated at this timing, the offset amount for the start position of the next scan may be calculated from the travel distance obtained from the position information sensors 103a and 103b during the main scan.

具体的には、S702とS703は並行して実行され、S703においてCPU201は、本走査の途中の時点で、記録の開始から現時点までの期間における位置情報センサ103a、103bの夫々の道のり距離を取得する。その後、S706においてCPU201は、半径rを算出して、半径rと、本走査で記録を行う画像サイズと、から記録領域の上辺の距離lcと下辺の距離ldを推定する。そして、推定した距離lcと距離ldとに基づき最大位置ずれ量dmを算出してオフセット量を決定してもよい。または、本走査の開始前に本走査で既定している最大走査量に基づいてオフセット量を算出してもよい。 Specifically, steps S702 and S703 are executed in parallel, and in step S703, the CPU 201 acquires the travel distances of each of the position information sensors 103a and 103b during the period from the start of printing to the current time point during the main scan. Then, in step S706, the CPU 201 calculates the radius r, and estimates the distance lc of the upper side and the distance ld of the lower side of the printing area from the radius r and the image size to be printed during the main scan. The CPU 201 may then calculate the maximum positional deviation amount dm based on the estimated distances lc and ld to determine the offset amount. Alternatively, the offset amount may be calculated based on the maximum scanning amount that is preset for the main scan before the start of the main scan.

例えば、1走査分の画像を半分まで記録した時点で、位置情報センサ103a、103bの夫々の道のり距離を取得する。そして、取得した道のり距離から距離lcと距離ldとを算出して、算出された距離lcと距離ldとの差分の絶対値を2倍にした値を最大位置ずれ量dmとみなしてオフセット量を決定してもよい。 For example, when one scan's worth of image has been recorded halfway, the travel distances of the position information sensors 103a and 103b are acquired. Then, distances lc and ld are calculated from the acquired travel distances, and the offset amount may be determined by considering the absolute value of the difference between the calculated distances lc and ld multiplied by two as the maximum position deviation amount dm.

以上説明したように本実施形態によれば、複数回の走査において、ポータブルプリンタが湾曲して移動されるのに伴い画像の記録が行われた場合でも、走査間で発生する記録領域の位置ずれによる影響を抑制することができる。 As described above, according to this embodiment, even if an image is recorded during multiple scans while the portable printer is moving in a curved manner, the effects of misalignment of the recording area that occurs between scans can be suppressed.

なお、上記で説明した方法では、記録領域が凸型の扇形状の場合、図9(a)に示すように、開始位置は走査の度に左へずれる。このため、複数回、走査をして記録を続けると、記録媒体のサイズまたは記録媒体内の記録可能な領域のサイズによっては、記録可能な領域をはみ出してしまう場合がある。このため、最初の走査による記録の開始位置を調整してもよい。なお、凹型の扇形状の場合、図9(b)に示すとおり開始位置は走査の度に右にずれる。 In the method described above, if the printing area is a convex sector shape, the start position shifts to the left with each scan, as shown in Figure 9(a). For this reason, if printing is continued by scanning multiple times, depending on the size of the printing medium or the size of the printable area within the printing medium, the printing may go beyond the printable area. For this reason, the start position of printing by the first scan may be adjusted. In addition, if the printing area is a concave sector shape, the start position shifts to the right with each scan, as shown in Figure 9(b).

図10は、図9(a)とは異なる本走査の開始位置を説明するための図である。ポータブルプリンタ100を図10の位置1005に置いて、記録のための走査方向とは反対の方向にポータブルプリンタ100を移動させる。そして、本走査の記録により描かれる円弧の角度θの半分であるθ/2だけポータブルプリンタ100が移動された場合にCPU201がユーザに通知して、ポータブルプリンタ100の移動を停止させる。図10に示すように、CPU201の通知に基づき停止されたときのポータブルプリンタ100のプリントヘッド101の位置を本走査の記録の開始位置1006としてもよい。記録領域1001は、開始位置1006から走査を行うことでプリントヘッド101が記録のために走査する記録領域である。記録領域1002~1004は、次走査以降の記録領域である。 Figure 10 is a diagram for explaining the start position of the main scan, which is different from that of Figure 9(a). The portable printer 100 is placed at position 1005 in Figure 10, and the portable printer 100 is moved in the opposite direction to the scanning direction for recording. Then, when the portable printer 100 has moved by θ/2, which is half the angle θ of the arc drawn by the main scan recording, the CPU 201 notifies the user and stops the movement of the portable printer 100. As shown in Figure 10, the position of the print head 101 of the portable printer 100 when it is stopped based on the notification from the CPU 201 may be the start position 1006 for recording the main scan. The recording area 1001 is the recording area that the print head 101 scans for recording by scanning from the start position 1006. The recording areas 1002 to 1004 are the recording areas for the next scan and onwards.

本走査の記録領域1001が、図8(a)の記録領域801と同じサイズであれば、位置1005から走査方向とは反対の方向に、位置情報センサ103aから得られる道のり距離がla/2となるまでポータブルプリンタ100を移動させてもよい。この場合でもプリントヘッド101が開始位置1006に位置するようにポータブルプリンタ100を移動させることができる。上述したように、記録領域の上辺の距離および下辺の距離、またはオフセット量を事前に計測または算出してROM205内に保存しておくことができる。このため、ROM205に保存されている情報からθまたは距離laを推定することで、開始位置1006へ移動させる制御を行うことは可能である。これにより、決められた領域からポータブルプリンタ100がはみ出ることを抑制することができる。 If the print area 1001 of the main scan is the same size as the print area 801 in FIG. 8A, the portable printer 100 may be moved from the position 1005 in the direction opposite to the scan direction until the travel distance obtained from the position information sensor 103a becomes la/2. Even in this case, the portable printer 100 can be moved so that the print head 101 is located at the start position 1006. As described above, the distance of the upper side and the distance of the lower side of the print area, or the offset amount, can be measured or calculated in advance and stored in the ROM 205. Therefore, it is possible to control the movement to the start position 1006 by estimating θ or the distance la from the information stored in the ROM 205. This makes it possible to prevent the portable printer 100 from going beyond the determined area.

また、上記の説明では、2つの位置情報センサが配置されている例を説明したが、位置情報センサは3つ以上設けられていてもよい。この場合、3つ以上の位置情報センサのうちの少なくとも2つの位置情報センサの位置情報に基づき、最大位置ずれ量dmを算出してオフセット量を求めてもよいし、全ての位置情報センサの位置情報を用いて最大位置ずれ量dmを算出してもよい。 In the above description, an example in which two position information sensors are arranged has been described, but three or more position information sensors may be provided. In this case, the offset amount may be obtained by calculating the maximum position deviation amount dm based on the position information of at least two of the three or more position information sensors, or the maximum position deviation amount dm may be calculated using the position information of all of the position information sensors.

<第2の実施形態>
本実施形態では、第1の実施形態で説明した次走査の開始位置をオフセット量に基づき設定する方法に加えて、記録媒体上に記録する画像を変形することで、走査間の位置ずれの影響を抑制する方法を説明する。本実施形態については、第1の実施形態からの差分を中心に説明する。特に明記しない部分については第1の実施形態と同じ構成および処理である。
Second Embodiment
In this embodiment, in addition to the method of setting the start position of the next scan based on the offset amount described in the first embodiment, a method of suppressing the effects of misalignment between scans by modifying the image to be recorded on the recording medium will be described. This embodiment will be described focusing on the differences from the first embodiment. Portions not specifically mentioned have the same configuration and processing as the first embodiment.

図11は、本実施形態の走査間の位置ずれの影響を抑制して記録を行う処理を説明するためのフローチャートである。S1101~S1109の処理はS701~S709と同様の処理であるため説明を省略する。 Figure 11 is a flowchart for explaining the process of this embodiment for performing printing while suppressing the effects of misalignment between scans. The processes of S1101 to S1109 are similar to those of S701 to S709, so their explanation is omitted.

S1109において次走査があると判定された場合には、S1110に進みCPU201は、S1106で算出されたオフセット量に基づき、次走査の記録の対象となる画像の変形をデータ上で行う。 If it is determined in S1109 that there is a next scan, the process proceeds to S1110, where the CPU 201 performs deformation of the image data to be printed in the next scan based on the offset amount calculated in S1106.

図12は本実施形態の画像変形の方法の一例を説明するための図である。図12(a)は、次走査の記録に用いられる印刷データが示す画像である。即ち、記録領域が図4(a)のように矩形であれば、記録媒体上に形成される画像も、図12(a)のように矩形になることを示している。また、図12では、印刷データにおける画像は、記録領域が全て黒の画像であるものとし、記録走査の結果得られる実際の記録領域は、凸型の扇形状であるものとして説明する。 Figure 12 is a diagram for explaining an example of the image deformation method of this embodiment. Figure 12 (a) is an image indicated by the print data used for recording in the next scan. That is, if the recording area is rectangular as in Figure 4 (a), the image formed on the recording medium will also be rectangular as in Figure 12 (a). Also, in Figure 12, the image in the print data is assumed to be an image in which the recording area is entirely black, and the actual recording area obtained as a result of the recording scan is assumed to be a convex sector shape.

図12(b)は、図12(a)の画像を本ステップで変形した後の画像を示す図である。図12(b)に示すように、S1110においCPU201は、画像の上辺の左右のそれぞれがS1106で算出したオフセット量であるdm/2分だけ圧縮されるように、上辺の長さを変形し、下辺は圧縮がない状態となるように画像に変形する。凸型の扇形状の場合、画像の下辺の長さは、記録領域の下辺の距離lbと等しいものとして画像を変形する。 Figure 12(b) is a diagram showing the image of Figure 12(a) after it has been deformed in this step. As shown in Figure 12(b), in S1110, the CPU 201 deforms the image by deforming the length of the top side so that each of the left and right sides of the top side of the image is compressed by dm/2, which is the offset amount calculated in S1106, and by deforming the image so that the bottom side is not compressed. In the case of a convex sector shape, the image is deformed by assuming that the length of the bottom side of the image is equal to the distance lb of the bottom side of the recording area.

記録領域が凹型の扇形状となる場合は、下辺の左右のそれぞれがS1106で算出したオフセット量であるdm/2分だけ圧縮されるように下辺の長さを変形し、逆に上辺は圧縮がない状態となるように画像に変形される。 If the printing area is a concave sector shape, the length of the bottom side is modified so that each side of the bottom side is compressed by dm/2, which is the offset amount calculated in S1106, and conversely, the image is modified so that the top side is not compressed.

図12(a)に示すように、変形前の画像の横幅Wは、記録媒体上に矩形の記録領域が形成された場合の当該記録領域における走査方向の長さである。変形前の画像の高さdはプリントヘッド101のノズル列102の長さdとする。この場合、画像の下辺からの高さyの位置の変形後の横幅W´は、式(9)により算出される。 As shown in FIG. 12(a), the width W of the image before deformation is the length in the scanning direction of a rectangular recording area when that recording area is formed on the recording medium. The height d of the image before deformation is the length d of the nozzle row 102 of the print head 101. In this case, the width W' after deformation at a position at height y from the bottom edge of the image is calculated using formula (9).

Figure 0007699991000009
Figure 0007699991000009

横幅W´の画像になるようにデータに反映するには、画像の下辺からの高さyにおける画像の左右に式(10)で求まる余白A(白)を付加すればよい。 To reflect this in the data so that the image has a width of W', simply add a margin A (white) calculated using equation (10) to the left and right of the image at a height of y from the bottom edge of the image.

Figure 0007699991000010
Figure 0007699991000010

図12(c)は、S1110で変形された画像を用いて記録媒体上に記録された画像の図である。このように、各走査における記録に用いられる画像をデータ上で変形することで、記録媒体上に記録された画像の位置ずれを抑制することが可能である。その結果、印刷データが示す画像のように、より適切に記録媒体に画像を記録できる。 Figure 12(c) is a diagram of an image recorded on a recording medium using the image deformed in S1110. In this way, by deforming the image used for recording in each scan in terms of data, it is possible to suppress misalignment of the image recorded on the recording medium. As a result, the image can be more appropriately recorded on the recording medium, like the image indicated by the print data.

図13は、記録領域が凸型の扇形状となる場合において、記録媒体上に形成される画像が矩形となるように画像変形を行う例を示す。図13を用いてS1110で実行可能な他の画像変形の方法の例を説明する。 Figure 13 shows an example of image deformation in which the image formed on the recording medium becomes rectangular when the recording area is a convex sector shape. Using Figure 13, we will explain examples of other image deformation methods that can be executed in S1110.

図13(a)は、1走査で記録するために用いられる印刷データが示す画像1301の図である。図13(c)の画像1305は、図13(a)の画像1301に対してデータ上で画像変形した後の画像の図である。図13(b)は、図13(c)の画像を用いて1走査分の記録によって記録媒体上に形成された画像1302を示す図である。 Fig. 13(a) is a diagram of an image 1301 indicated by print data used for printing in one scan. Image 1305 in Fig. 13(c) is a diagram of an image obtained after image deformation has been performed on the data for image 1301 in Fig. 13(a). Fig. 13(b) is a diagram showing image 1302 formed on a print medium by printing one scan using the image in Fig. 13(c).

図13(b)における点線の領域は本走査の記録領域1303であり、図8(a)の記録領域801に対応している。図13(b)に示すように、プリントヘッド101(ノズル列102)が記録のために走査する記録領域1303は、図8の記録領域801と同じように凸型の扇形状となるものとして説明する。図13(c)に示す画像変形された画像1305に基づき記録を行う場合、プリントヘッド101(ノズル列102)が点線で示す記録領域1303を走査することにより、記録媒体上では実線で示す矩形の画像1302が記録される。図13(c)において、点線の矩形の領域1307は、図13(b)における凸型の扇形状の記録領域1303に対応する領域である。画像1305が示すように、記録領域が凸型の扇形状となる場合、記録媒体上で矩形の画像が記録されるようにするには、データ上の画像を凹形状に変形する必要がある。 The dotted area in FIG. 13B is the print area 1303 of the main scan, which corresponds to the print area 801 in FIG. 8A. As shown in FIG. 13B, the print area 1303 scanned by the print head 101 (nozzle array 102) for printing is assumed to be a convex fan-shaped area like the print area 801 in FIG. 8. When printing is performed based on the image-deformed image 1305 shown in FIG. 13C, the print head 101 (nozzle array 102) scans the print area 1303 shown by the dotted line, and a rectangular image 1302 shown by the solid line is printed on the print medium. In FIG. 13C, the dotted rectangular area 1307 corresponds to the convex fan-shaped print area 1303 in FIG. 13B. When the print area is a convex fan-shaped area as shown in the image 1305, the image on the data needs to be deformed to a concave shape in order to print a rectangular image on the print medium.

図13(c)に示す画像における各画素位置の画素データを算出する方法の一例を説明する。図13(c)の位置1306の画素データを算出する場合、はじめに、位置1306に対応する図13(b)の記録領域1303上の位置1304を決定する。そして、位置1304が、矩形の画像1302内におけるどの位置に対応するかを算出する。そして、画像1302における位置1304に対応する画像1301内の位置を決定する。図13(b)の画像1302は、画像変形前の画像1301に対応しているため、画像1302における位置1304に対応する画像1301内の位置を決定できる。そして、決定した画像1301の位置の画素データを、位置1306の画素データに決定する。このように、図13(c)に示す画像の各位置に対応する画素データを算出することで、図13(b)に示す矩形の画像1302を記録するために、図13(c)に示すように画像変形された画像を生成できる。 An example of a method for calculating pixel data at each pixel position in the image shown in FIG. 13(c) will be described. When calculating pixel data at position 1306 in FIG. 13(c), first, position 1304 on the recording area 1303 in FIG. 13(b) corresponding to position 1306 is determined. Then, it is calculated which position in the rectangular image 1302 the position 1304 corresponds to. Then, the position in the image 1301 corresponding to position 1304 in the image 1302 is determined. Since the image 1302 in FIG. 13(b) corresponds to the image 1301 before the image deformation, the position in the image 1301 corresponding to position 1304 in the image 1302 can be determined. Then, the pixel data at the determined position of the image 1301 is determined as the pixel data of position 1306. In this way, by calculating pixel data corresponding to each position of the image shown in FIG. 13(c), an image deformed as shown in FIG. 13(c) can be generated in order to record the rectangular image 1302 shown in FIG. 13(b).

図13の画像変形を行う場合は、次走査の移行するためのポータブルプリンタ100の移動量も変更してもよい。例えば、図13(b)に示す矩形の画像1302を、次走査でも連続して記録するために、図13(b)に示すd´を本走査の記録の際に算出し、ポータブルプリンタ100を走査方向と垂直な方向にd´だけ移動することで次走査へ移行してもよい。 When performing the image deformation of FIG. 13, the amount of movement of the portable printer 100 to move to the next scan may also be changed. For example, to continuously print the rectangular image 1302 shown in FIG. 13(b) in the next scan, d' shown in FIG. 13(b) may be calculated during printing in the main scan, and the portable printer 100 may be moved by d' in a direction perpendicular to the scanning direction to move to the next scan.

以上説明したように、本実施形態によれば、記録媒体上に記録する画像を変形することで、走査間で発生する走査方向の位置ずれの影響を抑制することができる。 As described above, according to this embodiment, the effect of misalignment in the scanning direction that occurs between scans can be suppressed by deforming the image to be recorded on the recording medium.

なお、上記の説明では、次走査の開始位置をオフセット量に基づき変更し、さらに画像の変形も行う方法を示した。他にも、次走査の開始位置は変更しないで、次走査で記録される画像の変形をするだけでもよい。即ち、図11のフローチャートではS1107はスキップしてもよい。画像の変形処理だけでも、本走査と次走査との走査間の画像の位置ずれを抑制するは可能である。 In the above explanation, a method was shown in which the start position of the next scan is changed based on the offset amount, and the image is also deformed. Alternatively, the start position of the next scan may not be changed, and only the image to be printed in the next scan may be deformed. In other words, in the flowchart of FIG. 11, S1107 may be skipped. Even with just the image deformation process, it is possible to suppress the misalignment of the image between the main scan and the next scan.

<第3の実施形態>
上述した実施形態では、片方向走査によって画像を記録するポータブルプリンタの形態について説明した。本実施形態では、走査方向(+X方向)に記録走査をした後に、走査方向と垂直な方向にノズル列102の長さdだけ移動して、反対の方向(-X方向)に走査して画像を記録する、往復走査による記録を行う形態について説明する。
Third Embodiment
In the above embodiment, a portable printer that records an image by unidirectional scanning has been described. In this embodiment, a recording scan is performed in the scanning direction (+X direction), and then the nozzle array 102 moves in a direction perpendicular to the scanning direction by the length d of the nozzle array 102, and scans in the opposite direction (-X direction) to record an image, thereby performing recording by reciprocating scanning.

図14は、ポータブルプリンタ100が往復走査によって画像を記録する場合の比較例を説明するため図である。図14は、記録領域が凸型の扇形状になるが開始位置がオフセット量に基づき変更されていない場合の記録領域を示す図である。記録領域1401は1走査目の記録領域である。2走査目以降の記録領域1402~1403は、点線で囲われた領域で示している。図14に示すように、往復走査によって画像を記録する場合、記録領域の端部では前の走査に基づく記録領域と間の位置ずれ量がdmであり、端部では最大の位置ずれが発生してしまう。そこで本実施形態では、往復走査によって画像を記録する場合でも、走査間での位置ずれ量の最大値を抑制する方法を説明する。本実施形態については、第1の実施形態からの差分を中心に説明する。特に明記しない部分については第1の実施形態と同じ構成および処理である。 Figure 14 is a diagram for explaining a comparative example when the portable printer 100 prints an image by reciprocating scanning. Figure 14 is a diagram showing a printing area when the printing area is a convex fan shape but the starting position is not changed based on the offset amount. Printing area 1401 is the printing area of the first scan. Printing areas 1402-1403 of the second and subsequent scans are shown as areas surrounded by dotted lines. As shown in Figure 14, when an image is printed by reciprocating scanning, the positional deviation amount between the printing area based on the previous scan at the end of the printing area is dm, and the maximum positional deviation occurs at the end. Therefore, in this embodiment, a method of suppressing the maximum positional deviation amount between scans even when an image is printed by reciprocating scanning will be described. This embodiment will be described mainly with respect to the differences from the first embodiment. Parts not specifically mentioned have the same configuration and processing as the first embodiment.

図15は、本実施形態の走査間の位置ずれの影響を抑制して記録を行う処理を説明するためのフローチャートである。S1501~S1506は、S701~S706と同様の処理であるため説明を省略する。 Figure 15 is a flowchart for explaining the process of printing while suppressing the effects of misalignment between scans in this embodiment. Steps S1501 to S1506 are similar to steps S701 to S706, so their explanation is omitted.

S1507では、S1504で決定された記録領域が、凸型の扇形状であったかを判定する。凸型の扇形状の場合(S1507がYES)、S1508においてCPU201は次走査への移行位置(改行位置)をオフセット量に基づき変更する。なお、本ステップで移行位置が変更されない場合、本走査の記録領域の終了位置が次走査への移行位置に設定される。 In S1507, it is determined whether the printing area determined in S1504 was a convex sector shape. If it is a convex sector shape (YES in S1507), in S1508 the CPU 201 changes the transition position (line feed position) to the next scan based on the offset amount. Note that if the transition position is not changed in this step, the end position of the printing area for this scan is set as the transition position to the next scan.

図16は、本実施形態の方法によって往復走査による記録をした場合の記録領域を説明するための図である。図16(a)は、記録領域が凸型の扇形状の場合の図である。記録領域1601は、本走査の記録を行う際にプリントヘッド101(ノズル列102)が走査する領域である。記録領域1602は、次走査によってノズル列102が走査する領域である。図14の比較例では、本走査の記録領域1401の終了位置1405を次走査の移行位置とする例である。一方、本実施形態では、図16(a)に示すように、本走査の記録領域の終了位置1603にオフセット量dm/2を加算した位置が、次走査の移行位置1604に変更される。 Figure 16 is a diagram for explaining the print area when printing is performed by reciprocating scanning using the method of this embodiment. Figure 16 (a) is a diagram when the print area is a convex fan shape. The print area 1601 is the area scanned by the print head 101 (nozzle array 102) when printing in the main scan. The print area 1602 is the area scanned by the nozzle array 102 in the next scan. The comparative example of Figure 14 is an example in which the end position 1405 of the print area 1401 of the main scan is set as the transition position for the next scan. On the other hand, in this embodiment, as shown in Figure 16 (a), the position obtained by adding the offset amount dm/2 to the end position 1603 of the print area of the main scan is changed to the transition position 1604 for the next scan.

図16(b)は、記録領域が凹型の扇形状の場合の図である。記録領域が凹型の扇形状の場合(S1507がNO)、移行位置は変更されず、本走査の記録領域1610の終了位置1622が移行位置となる。一方、S1509においてCPU201は、次走査の記録領域1620の開始位置をオフセット量に基づき変更する。本実施形態では、次走査における改行後の位置1623にオフセット量dm/2を加算した位置を次走査の記録領域1620の開始位置1621とする。 Figure 16B shows the case where the printing area is a concave sector shape. When the printing area is a concave sector shape (S1507 is NO), the transition position is not changed, and the end position 1622 of the printing area 1610 of the current scan becomes the transition position. Meanwhile, in S1509, the CPU 201 changes the start position of the printing area 1620 of the next scan based on the offset amount. In this embodiment, the position obtained by adding the offset amount dm/2 to the position 1623 after the line break in the next scan becomes the start position 1621 of the printing area 1620 of the next scan.

そして、S1510においてCPU201は、次走査への移行をユーザに通知する。記録領域が凸型の扇形状の場合、本走査の記録領域の終了位置1603にプリントヘッド101(ノズル列102)が位置するようにポータブルプリンタ100が移動されても、次走査への移行は不可である旨がユーザに通知される。即ち、終了位置1603からさらに走査方向へポータブルプリンタ100を移動するようにユーザに移動を促す。そして、S1508で算出された移行位置1604までプリントヘッド101(ノズル列102)が位置するようにポータブルプリンタ100が移動されたらLED106を介して次走査への移行可が通知される。 Then, in S1510, the CPU 201 notifies the user of the transition to the next scan. If the printing area is a convex sector shape, even if the portable printer 100 is moved so that the print head 101 (nozzle row 102) is positioned at the end position 1603 of the printing area of this scan, the user is notified that transition to the next scan is not possible. In other words, the user is prompted to move the portable printer 100 further in the scanning direction from the end position 1603. Then, when the portable printer 100 is moved so that the print head 101 (nozzle row 102) is positioned to the transition position 1604 calculated in S1508, the user is notified via the LED 106 that transition to the next scan is possible.

ポータブルプリンタ100は人によって移動がされて画像の記録を行う。このため、本走査のためのポータブルプリンタ100の移動を、記録領域1601の終了位置1603にプリントヘッド101が位置するまでを行うと、ユーザは、本走査の記録が完了したと判断して次走査のための操作に移行してしまう虞がある。つまり、ユーザは記録される画像を認識しているため、画像が記録されたことに応じてポータブルプリンタ100を次走査に移行してしまう虞がある。その結果、ポータブルプリンタ100は設定された開始位置から次走査の記録を行うことができなくなる。一方、本実施形態では、LED106を介してユーザに通知が行われるため、往復走査による記録を行う場合でも、オフセット量を考慮した位置で改行できる。 The portable printer 100 is moved by a person to record an image. Therefore, if the portable printer 100 is moved for the main scan until the print head 101 is positioned at the end position 1603 of the recording area 1601, the user may determine that the main scan is completed and proceed to the operation for the next scan. In other words, since the user is aware of the image to be recorded, there is a risk that the portable printer 100 may proceed to the next scan when the image is recorded. As a result, the portable printer 100 will not be able to record the next scan from the set start position. On the other hand, in this embodiment, the user is notified via the LED 106, so that a line feed can be started at a position that takes the offset amount into consideration, even when recording by reciprocating scanning.

一方、記録領域が凹型の扇形状の場合、S1510においてCPU201は、本走査の記録領域の終了位置1622にプリントヘッド101(ノズル列102)が位置するようにポータブルプリンタ100が移動されたら次走査への移行可を通知する。 On the other hand, if the printing area is a concave sector shape, in S1510, the CPU 201 notifies the portable printer 100 that it is possible to proceed to the next scan when the print head 101 (nozzle array 102) is moved so that it is positioned at the end position 1622 of the printing area of this scan.

LED106を介して移行可の通知を受けたユーザは、ポータブルプリンタ100を操作することにより、次走査するための位置に移動させる。その結果、本実施形態では、図16に示すように、前走査の記録領域との最大の位置ずれ量は、比較例のdmからdm/2に抑制される。 The user, who is notified via the LED 106 that transition is possible, operates the portable printer 100 to move it to the position for the next scan. As a result, in this embodiment, as shown in FIG. 16, the maximum positional deviation from the printing area of the previous scan is suppressed to dm/2 from dm in the comparative example.

LED106での移行不可の通知方法は、次走査への移行が可である通知の方法と異なる方法であればよい。例えば本実施形態では、移行が不可である通知は単色の点滅パターンとする。 The method of notifying that transition is not possible using LED 106 may be different from the method of notifying that transition to the next scan is possible. For example, in this embodiment, the notification that transition is not possible is a monochrome flashing pattern.

次にS1511においてCPU201は、次走査があるかを判定する。次走査がある場合には、S1502に進み、CPU201は、次走査による記録処理を行う。開始位置が変更されない場合、次走査へ移行した後の位置が、次走査の開始位置に設定される。このため、凸型の扇形状の場合、次走査の記録の開始する位置である記録領域の開始位置1605は、改行後の位置である。記録領域が凹型の扇形状の場合は改行後の位置からオフセット量だけ進んだ位置が開始位置1621となる。 Next, in S1511, the CPU 201 determines whether there is a next scan. If there is a next scan, the process proceeds to S1502, where the CPU 201 performs printing processing by the next scan. If the start position is not changed, the position after transition to the next scan is set as the start position of the next scan. Therefore, in the case of a convex sector shape, the start position 1605 of the printing area, which is the position where printing of the next scan starts, is the position after the line feed. In the case of a concave sector shape, the start position 1621 is the position advanced by the offset amount from the position after the line feed.

以上説明したように、本実施形態によれば、往復走査により記録を行う場合でも、本走査と次走査との走査間の画像の位置ずれを抑制ことができる。 As described above, according to this embodiment, even when printing is performed by reciprocating scanning, it is possible to suppress image position shifts between the main scan and the next scan.

<第4の実施形態>
本実施形態では、往復走査で記録をする場合において、インクドットの着弾ずれを考慮して、次走査への移行の通知を行う方法を説明する。本実施形態については、第3の実施形態からの差分を中心に説明する。特に明記しない部分については第3の実施形態と同じ構成および処理である。即ち、第3の実施形態と同様に、本実施形態のポータブルプリンタ100が往復走査によって記録を行う場合について説明する。
Fourth Embodiment
In this embodiment, a method of notifying the user of a transition to the next scan is described, taking into consideration the impact deviation of ink dots when printing by reciprocating scanning. The present embodiment will be described, focusing on the differences from the third embodiment. Portions not specifically mentioned have the same configuration and processing as the third embodiment. That is, as in the third embodiment, a case will be described where the portable printer 100 of this embodiment prints by reciprocating scanning.

インクを液滴として噴射して画像を記録するプリントヘッドを走査して記録を行うインクジェットプリンタでは、プリントヘッドのノズルからインクを吐出した後から記録媒体上に着弾するまでの間、プリントヘッドは記録媒体に対して相対的に移動している。このため、走査方向にインクの着弾位置がずれることになる。 In an inkjet printer, which records by scanning a print head that ejects ink as droplets to record an image, the print head moves relative to the recording medium from the time the ink is ejected from the nozzles of the print head until it lands on the recording medium. This causes the landing position of the ink to shift in the scanning direction.

図17は、インクジェットプリンタにおけるインクの着弾位置のずれを説明するための図である。図17(a)に示すように、プリントヘッド101の記録時の移動速度S、吐出された液滴の速度V、インクを吐出するノズル列から記録媒体までの距離D、の条件によって原則として走査方向への着弾位置ずれ量xdが決まる。一般的なインクジェットプリンタの液滴の速度V、記録媒体までの距離D、およびポータブルプリンタ100を人が移動させる移動速度Sを考えると、インクの着弾位置ずれ量xdは100μm程度である。 Figure 17 is a diagram for explaining the deviation of the ink landing position in an inkjet printer. As shown in Figure 17(a), the amount of deviation xd of the landing position in the scanning direction is determined in principle by the conditions of the movement speed S of the print head 101 during printing, the speed V of the ejected droplets, and the distance D from the nozzle row that ejects the ink to the recording medium. Considering the droplet speed V of a typical inkjet printer, the distance D to the recording medium, and the moving speed S at which a person moves the portable printer 100, the amount of deviation xd of the ink landing position is about 100 μm.

例えば、ポータブルプリンタ100が、図16(a)の記録領域1601の開始位置1600から、終了位置1603のさらに走査方向にある移行位置1604まで移動速度Sで移動するものとする。次走査でもポータブルプリンタ100は移動速度Sで移動するものとする。この場合、図17(b)に示すように、本走査の記録領域1601の終了位置1603では、次走査の記録領域1602における終了位置1603に対応する位置に対してxd×2分(200μm)だけ着弾位置がずれることになる。このため本走査によって記録媒体上に記録された画像に対して、次走査によって記録された画像にずれが生じて適切な画像が形成されない虞がある。そこで本実施形態では、着弾位置ずれを考慮して次走査への移行位置を変更する方法を説明する。 For example, the portable printer 100 moves at a moving speed S from the start position 1600 of the recording area 1601 in FIG. 16A to a transition position 1604, which is further in the scanning direction than the end position 1603. The portable printer 100 also moves at the moving speed S in the next scan. In this case, as shown in FIG. 17B, at the end position 1603 of the recording area 1601 of the main scan, the landing position is shifted by xd×2 (200 μm) from the position corresponding to the end position 1603 in the recording area 1602 of the next scan. For this reason, there is a risk that the image recorded by the next scan will be shifted from the image recorded on the recording medium by the main scan, resulting in an inappropriate image not being formed. Therefore, in this embodiment, a method of changing the transition position to the next scan taking into account the landing position shift will be described.

図18は、本実施形態の走査間の位置ずれの影響を抑制して記録を行う処理を説明するためのフローチャートである。S1801~S1807は、S1501~S1507と同様の処理であるため説明を省略する。また、S1810~S1812は、S1509~S1511と同様の処理であるため説明を省略する。 Figure 18 is a flowchart for explaining the process of printing while suppressing the effects of misalignment between scans in this embodiment. Steps S1801 to S1807 are similar to steps S1501 to S1507, and therefore their explanations are omitted. Steps S1810 to S1812 are similar to steps S1509 to S1511, and therefore their explanations are omitted.

記録領域が凸型の扇形状の場合(S1807がYES)、S1808においてCPU201は、オフセット量および着弾位置ずれを考慮して、本走査の記録領域の終了位置から本走査の走査方向へ所定量ずらした位置に、次走査の移行位置を変更する。 If the printing area is a convex sector shape (S1807: YES), in S1808, the CPU 201 changes the transition position for the next scan to a position shifted a predetermined amount in the scanning direction of the main scan from the end position of the printing area of the main scan, taking into account the offset amount and the impact position shift.

図19は、本実施形態の方法により変更された移行位置を説明するための図である。図19(a)は、記録領域が凸型の扇形状の場合の変更後の移行位置を説明するための図であり記録領域1902は次走査の記録領域である。本走査の記録領域1901の終了位置1903よりも、オフセット量dm/2と、本走査の着弾位置ずれ量xdおよび次走査の着弾位置ずれ量xdの合計xd×2と、を加算して得られた距離だけ、さらに走査方向に移動した位置に移行位置1905が変更される。 Figure 19 is a diagram for explaining the transition position changed by the method of this embodiment. Figure 19(a) is a diagram for explaining the transition position after the change when the printing area is a convex sector shape, and printing area 1902 is the printing area for the next scan. The transition position 1905 is changed to a position further moved in the scanning direction from the end position 1903 of the printing area 1901 of the main scan by a distance obtained by adding the offset amount dm/2 and the sum xd x 2 of the landing position deviation amount xd of the main scan and the landing position deviation amount xd of the next scan.

記録領域が凹型の扇形状の場合(S1807がNO)、S1809においてCPU201は、本走査の記録領域の終了位置よりも、着弾位置ずれを考慮した量xd×2だけ本走査の走査方向にずらした位置に次走査への移行位置を変更する。 If the printing area is a concave sector shape (S1807 is NO), in S1809, the CPU 201 changes the transition position to the next scan to a position shifted in the scanning direction of the main scan by an amount xd x 2, which takes into account the deviation in the landing position, from the end position of the printing area of the main scan.

以上説明したように本実施形態においては、着弾位置ずれを考慮した位置にプリントヘッド101が達するまで次走査への移行不可をユーザに通知し、プリントヘッド101が着弾位置ずれを考慮した位置に達すると次走査に移行可の通知を行う。この結果、走査間の着弾位置ずれを考慮した画像の記録を行うことが可能になる。 As described above, in this embodiment, the user is notified that transition to the next scan is not possible until the print head 101 reaches a position that takes into account the impact position shift, and is notified that transition to the next scan is possible when the print head 101 reaches a position that takes into account the impact position shift. As a result, it becomes possible to record an image that takes into account the impact position shift between scans.

なお、本実施形態は、図6(a)のような矩形の記録領域でありオフセット量を算出する必要が無い場合でも適用可能である。記録領域が矩形の場合は、図18のフローチャートでは、S1807ではNOと判定されS1809に進む。CPU201は、図19(b)に示すように、本走査の記録領域1910の終了位置1911から、本走査の着弾位置ずれ量xdおよび次走査の着弾位置ずれ量xdの合計であるxd×2を加算した位置1912へ、次走査の移行位置を変更する。記録領域1920は次走査の記録領域である。 This embodiment is also applicable to rectangular printing areas as shown in FIG. 6A, where there is no need to calculate the offset amount. When the printing area is rectangular, the flow chart in FIG. 18 returns NO in S1807 and proceeds to S1809. As shown in FIG. 19B, the CPU 201 changes the transition position for the next scan from the end position 1911 of the printing area 1910 of the main scan to position 1912 obtained by adding xd×2, which is the sum of the landing position shift amount xd of the main scan and the landing position shift amount xd of the next scan. The printing area 1920 is the printing area for the next scan.

この場合でも、走査間の着弾位置ずれにより適切に画像が記録されないことを抑制することができる。なお、記録領域が矩形となる場合は、オフセット量は0であることから、S1805~S1806およびS1810はスキップしてよい。 Even in this case, it is possible to prevent the image from being printed properly due to the misalignment of the landing position between scans. Note that if the printing area is rectangular, the offset amount is 0, so steps S1805 to S1806 and S1810 may be skipped.

<その他の実施形態>
上述した実施形態では、本走査の記録を完了した時点で次走査に移行する例を示した。他にも、本走査の記録領域外に、余分にポータブルプリンタ100が移動された状態で次走査に移行する場合でも、本実施形態を適用することが可能である。例えば、余分に移動した分の移動量を最大位置ずれ量dmの半分の値に加算または減算してオフセット量を決定してもよい。
<Other embodiments>
In the above embodiment, an example is shown in which the process proceeds to the next scan when the printing of the main scan is completed. This embodiment can also be applied to cases in which the process proceeds to the next scan after the portable printer 100 has been moved an extra amount outside the printing area of the main scan. For example, the offset amount may be determined by adding or subtracting the amount of extra movement to a value half the maximum positional deviation amount dm.

上述した実施形態では、次走査の開始位置のオフセット量または画像変形量を、走査間の最大位置ずれ量dmの半分としたが、オフセット量または画像変形量はその値に限られない。例えば、本走査の記録領域における左右領域の画像データ割合に応じて、次走査の開始位置のオフセット量や画像変形量を変更してもよい。 In the above-described embodiment, the offset amount or image deformation amount of the start position of the next scan is set to half the maximum positional deviation amount dm between scans, but the offset amount or image deformation amount is not limited to that value. For example, the offset amount or image deformation amount of the start position of the next scan may be changed depending on the image data ratio of the left and right areas in the recording area of the current scan.

本開示は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 The present disclosure can also be realized by supplying a program that realizes one or more of the functions of the above-described embodiments to a system or device via a network or a storage medium, and having one or more processors in the computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., an ASIC) that realizes one or more of the functions.

100 ポータブルプリンタ
101 プリントヘッド
103a 位置情報センサ
103b 位置情報センサ
201 CPU
100 Portable printer 101 Print head 103a Position information sensor 103b Position information sensor 201 CPU

Claims (18)

第1の方向に沿って延在する記録手段を有し、
前記第1の方向と交差する走査方向に移動されることによって、1走査分の画像を記録するために前記記録手段が記録媒体上を走査した領域である記録領域に、画像の記録をするハンドヘルド型の記録装置であって、
前記第1の方向における2つの異なる位置に配された2つの位置情報センサと、
前記第1の方向における2つの異なる位置に配された2つのローラと、
前記記録装置を制御する制御手段と、を有し、
前記制御手段は、
第1の走査の完了の後に、前記記録手段を前記第1の方向に所定の移動量だけ移動することで前記第1の走査の次の第2の走査を行う場合、
前記第1の走査に係る前記2つの位置情報センサの移動量に基づき、記録領域の形状が凸型の扇形状であるか、凹型の扇形状であるか決定し、
前記第1の走査に対応する第1の記録領域に対する、前記第2の走査に対応する第2の記録領域の前記走査方向の位置ずれ量を、前記決定と、前記第1の走査に係る前記2つの位置情報センサの移動量に基づき推定して、前記推定された位置ずれ量に基づき前記第2の走査を制御する
ことを特徴とする記録装置。
a recording means extending along a first direction;
a handheld recording device which is moved in a scanning direction intersecting the first direction to record an image in a recording area where the recording means scans a recording medium to record an image for one scan,
Two position information sensors arranged at two different positions in the first direction;
Two rollers disposed at two different positions in the first direction;
a control unit for controlling the recording device,
The control means
When a second scan following the first scan is performed by moving the recording means by a predetermined movement amount in the first direction after the completion of the first scan,
determining whether the shape of the recording area is a convex sector shape or a concave sector shape based on the amount of movement of the two position information sensors associated with the first scan;
a positional deviation amount in the scanning direction of a second printing area corresponding to the second scan relative to a first printing area corresponding to the first scan is estimated based on the determination and movement amounts of the two position information sensors related to the first scan, and the second scan is controlled based on the estimated positional deviation amount.
前記制御手段は、
前記第1の走査の開始から終了まで期間における前記2つの位置情報センサの移動量に基づき前記位置ずれ量を推定する
ことを特徴とする請求項1に記載の記録装置。
The control means
2. The recording apparatus according to claim 1, wherein the amount of positional deviation is estimated based on the amount of movement of the two position information sensors during the period from the start to the end of the first scan.
前記制御手段は、
前記第1の走査の開始から終了の前までの期間における前記2つの位置情報センサの移動量に基づき前記位置ずれ量を推定する
ことを特徴とする請求項1に記載の記録装置。
The control means
2. The recording apparatus according to claim 1, wherein the amount of positional deviation is estimated based on the amount of movement of the two position information sensors during the period from the start of the first scan to just before the end of the first scan.
前記制御手段は
前記第1の記録領域の上辺の距離と下辺の距離との差分に対応する量を、前記位置ずれ量として推定する
ことを特徴とする請求項1から3のいずれか1項に記載の記録装置。
4. The recording apparatus according to claim 1, wherein the control means estimates an amount corresponding to a difference between a distance between an upper side and a distance between a lower side of the first recording area as the amount of positional deviation.
前記制御手段は、
前記位置ずれ量に基づきオフセット量を決定し、前記第2の記録領域の開始位置を前記オフセット量に基づき設定する
ことを特徴とする請求項1から4のいずれか1項に記載の記録装置。
The control means
5. The recording apparatus according to claim 1, wherein an offset amount is determined based on the amount of positional deviation, and a start position of the second recording area is set based on the offset amount.
前記オフセット量は、前記位置ずれ量の半分の値である
ことを特徴とする請求項5に記載の記録装置。
6. The recording apparatus according to claim 5, wherein the offset amount is half the amount of the positional deviation.
前記制御手段は、
前記記録手段が記録を行うための画像を取得し、前記オフセット量に基づき前記画像を変形する処理を行い、
前記記録手段は、
前記変形がされた画像に基づき前記記録媒体上に記録を行う
ことを特徴とする請求項5または6に記載の記録装置。
The control means
The recording means acquires an image to be recorded, and performs a process of modifying the image based on the offset amount;
The recording means is
7. The recording apparatus according to claim 5, further comprising: a recording unit configured to record on the recording medium based on the transformed image.
前記第1の走査の前記走査方向と、前記第2の走査の前記走査方向と、は同じ方向であり、
前記制御手段は、
前記第1の記録領域が下辺より上辺が長い形状の場合、前記第1の記録領域の開始位置よりも前記走査方向と反対の方向に前記オフセット量ずらした位置に、前記第2の記録領域の開始位置を設定し、
前記第1の記録領域が上辺より下辺が長い形状の場合、前記第1の記録領域の開始位置よりも前記走査方向に前記オフセット量ずらした位置に、前記第2の記録領域の開始位置を設定する
ことを特徴とする請求項5から7のいずれか1項に記載の記録装置。
the scanning direction of the first scan and the scanning direction of the second scan are the same direction,
The control means
When the first recording area has a shape in which the upper side is longer than the lower side, a start position of the second recording area is set to a position shifted by the offset amount in a direction opposite to the scanning direction from a start position of the first recording area;
8. The recording device according to claim 5, wherein when the first recording area has a shape in which the bottom side is longer than the top side, the start position of the second recording area is set to a position shifted in the scanning direction by the offset amount from the start position of the first recording area.
前記制御手段は、
前記第1の走査の完了の後、設定した前記第2の記録領域の開始位置に前記記録手段が位置するまで、ユーザに前記記録装置を移動させるための制御を行う
ことを特徴とする請求項5から8のいずれか1項に記載の記録装置。
The control means
9. The recording apparatus according to claim 5, further comprising: a control unit that controls a user to move the recording apparatus until the recording means is positioned at a start position of the set second recording area after the first scan is completed.
前記第1の走査の前記走査方向である第1の走査方向は、前記第2の走査の前記走査方向である第2の走査方向とは反対の方向であり、
前記制御手段は、
前記第1の記録領域の終了位置から前記第1の走査方向に所定量ずらした位置に、前記第1の走査から前記第2の走査への移行位置を設定する
ことを特徴とする請求項1から7のいずれか1項に記載の記録装置。
a first scanning direction that is the scanning direction of the first scan is opposite to a second scanning direction that is the scanning direction of the second scan,
The control means
8. The printing apparatus according to claim 1, wherein a transition position from the first scan to the second scan is set at a position shifted a predetermined amount in the first scanning direction from an end position of the first printing area.
前記記録手段は記録材を吐出する複数の吐出口であり、
前記所定量は、前記吐出口から吐出された記録材の着弾ずれ量に基づく値である
ことを特徴とする請求項10に記載の記録装置。
the recording means is a plurality of ejection openings for ejecting a recording material;
11. The recording apparatus according to claim 10, wherein the predetermined amount is a value based on a landing deviation amount of the recording material discharged from the discharge port.
前記制御手段は、
前記第1の記録領域が下辺より上辺が長い形状の場合、前記位置ずれ量に基づく値と前記着弾ずれ量に基づく値の合計を前記所定量とする
ことを特徴とする請求項11に記載の記録装置。
The control means
12. The recording apparatus according to claim 11, wherein, when the first recording area has a shape in which an upper side is longer than a lower side, the predetermined amount is a sum of a value based on the amount of positional deviation and a value based on the amount of impact deviation.
ユーザに通知を行う通知手段をさらに有し、
前記制御手段は、
前記第1の走査による画像の記録が完了した後であっても、前記移行位置に前記記録手段が移動されるまでは前記第2の走査への移行が不可である旨を通知し、前記移行位置に前記記録手段が移動されたら前記第2の走査への移行を促す通知をするように、前記通知手段を制御する
ことを特徴とする請求項10から12のいずれか1項に記載の記録装置。
The method further includes a notification means for notifying a user,
The control means
The recording device according to any one of claims 10 to 12, characterized in that the notification means is controlled to notify the user that transition to the second scan is not possible until the recording means is moved to the transition position, even after the recording of an image by the first scan is completed, and to notify the user to prompt transition to the second scan when the recording means is moved to the transition position.
前記通知手段によって前記第2の走査への移行を促す通知がされた場合、前記ユーザが前記記録装置を操作することによって、前記第1の方向に前記所定の移動量、移動される
ことを特徴とする請求項13に記載の記録装置。
The recording device according to claim 13, characterized in that when the notification means issues a notification urging the user to transition to the second scan, the user operates the recording device to move the recording device by the specified movement amount in the first direction.
前記記録媒体上で接触することにより回転して前記記録装置の移動を補助する前記ローラ、前記第1の方向における一方の方向と他方の方向とにそれぞれ配されており、
前記2つの位置情報センサのうちの一方の位置情報センサは、前記一方の方向に配されている前記ローよりも、さらに前記一方の方向に配されており、
前記2つの位置情報センサのうちの他方の位置情報センサは、前記他方の方向に配されている前記ローよりも、さらに前記他方の方向に配されている
ことを特徴とする請求項1から14のいずれか1項に記載の記録装置。
the rollers that rotate by contacting the recording medium to assist the movement of the recording device are disposed in one direction and the other direction in the first direction,
one of the two position information sensors is disposed in the one direction further than the roller disposed in the one direction,
15. The recording apparatus according to claim 1, wherein the other of the two position information sensors is disposed in the other direction further than the roller disposed in the other direction.
前記制御手段は、記録領域の上辺の距離および記録領域の下辺の距離との差分に基づく最大位置ずれ量を算出し、前記最大位置ずれ量の半分ずらした位置から前記第2の走査による記録を開始する制御をする
ことを特徴とする請求項1から15のいずれか1項に記載の記録装置
The control means calculates a maximum positional deviation amount based on a difference between a distance to an upper side of a recording area and a distance to a lower side of the recording area, and controls the start of recording by the second scan from a position shifted by half the maximum positional deviation amount.
16. The recording apparatus according to claim 1 ,
第1の方向に沿って延在する記録手段と、
前記第1の方向における2つの異なる位置に配された2つの位置情報センサと、
を有し、
前記第1の方向と交差する走査方向に移動されることによって、1走査分の画像を記録するために前記記録手段が記録媒体上を走査した領域である記録領域に、画像の記録をするハンドヘルド型の記録装置の制御方法であって、
第1の走査の完了の後に、前記記録手段を前記第1の方向に所定の移動量だけ移動することで前記第1の走査の次の第2の走査を行う場合、
前記第1の走査に係る前記2つの位置情報センサの移動量に基づき、記録領域の形状が凸型の扇形状であるか、凹型の扇形状であるか決定し、
前記第1の走査に対応する第1の記録領域に対する、前記第2の走査に対応する第2の記録領域の前記走査方向の位置ずれ量を、前記決定と、前記第1の走査に係る前記2つの位置情報センサの移動量に基づき推定して、前記推定された位置ずれ量に基づき前記第2の走査を制御する工程を含む
ことを特徴とする制御方法。
a recording means extending along a first direction;
Two position information sensors arranged at two different positions in the first direction;
having
A method for controlling a handheld recording device which records an image in a recording area, which is an area scanned by the recording means on a recording medium to record an image for one scan by moving the recording means in a scanning direction intersecting the first direction, comprising the steps of:
When a second scan following the first scan is performed by moving the recording means by a predetermined movement amount in the first direction after the completion of the first scan,
determining whether the shape of the recording area is a convex sector shape or a concave sector shape based on the amount of movement of the two position information sensors associated with the first scan;
a step of estimating an amount of positional deviation in the scanning direction of a second printing area corresponding to the second scan relative to a first printing area corresponding to the first scan based on the determination and movement amounts of the two position information sensors related to the first scan, and controlling the second scan based on the estimated amount of positional deviation.
コンピュータに請求項1に記載の制御方法を実行させるためのプログラム。 A program for causing a computer to execute the control method according to claim 17 .
JP2021125323A 2021-07-30 2021-07-30 Recording device, control method, and program Active JP7699991B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021125323A JP7699991B2 (en) 2021-07-30 2021-07-30 Recording device, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021125323A JP7699991B2 (en) 2021-07-30 2021-07-30 Recording device, control method, and program

Publications (2)

Publication Number Publication Date
JP2023020128A JP2023020128A (en) 2023-02-09
JP7699991B2 true JP7699991B2 (en) 2025-06-30

Family

ID=85159462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021125323A Active JP7699991B2 (en) 2021-07-30 2021-07-30 Recording device, control method, and program

Country Status (1)

Country Link
JP (1) JP7699991B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES3056146A1 (en) * 2025-08-18 2026-02-18 Garcia Blanco Alberto Portable printing and scanning device with autonomous traceability and IoT connectivity

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003159817A (en) 2001-11-28 2003-06-03 Fuji Photo Film Co Ltd Scanning type printing apparatus and printing method thereby
DE10353875A1 (en) 2002-11-28 2004-09-23 Konrad, Hilmar, Dipl.-Ing. Hand operated printing device for labels, with scan unit to read existing text, symbol and/or bar-code to copy onto labels for similar items
US20070120937A1 (en) 2005-11-30 2007-05-31 Lexmark International, Inc. System and method for hand-held printing
JP2008080550A (en) 2006-09-26 2008-04-10 Brother Ind Ltd Manual printing device
JP2010110993A (en) 2008-11-06 2010-05-20 Brother Ind Ltd Recording apparatus, recording control method, and recording control program
JP2016215472A (en) 2015-05-19 2016-12-22 株式会社リコー Image forming apparatus, image forming method, and program
JP2018089802A (en) 2016-11-30 2018-06-14 キヤノン株式会社 Printing device
JP2019059182A (en) 2017-09-27 2019-04-18 カシオ計算機株式会社 Printing device, printing method and program
CN212353299U (en) 2020-04-26 2021-01-15 杭州旗捷科技有限公司 Frame type positioning device for handheld printer
JP2021102298A (en) 2019-12-25 2021-07-15 京セラドキュメントソリューションズ株式会社 Portable image forming apparatus and image forming method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003159817A (en) 2001-11-28 2003-06-03 Fuji Photo Film Co Ltd Scanning type printing apparatus and printing method thereby
DE10353875A1 (en) 2002-11-28 2004-09-23 Konrad, Hilmar, Dipl.-Ing. Hand operated printing device for labels, with scan unit to read existing text, symbol and/or bar-code to copy onto labels for similar items
US20070120937A1 (en) 2005-11-30 2007-05-31 Lexmark International, Inc. System and method for hand-held printing
JP2008080550A (en) 2006-09-26 2008-04-10 Brother Ind Ltd Manual printing device
JP2010110993A (en) 2008-11-06 2010-05-20 Brother Ind Ltd Recording apparatus, recording control method, and recording control program
JP2016215472A (en) 2015-05-19 2016-12-22 株式会社リコー Image forming apparatus, image forming method, and program
JP2018089802A (en) 2016-11-30 2018-06-14 キヤノン株式会社 Printing device
JP2019059182A (en) 2017-09-27 2019-04-18 カシオ計算機株式会社 Printing device, printing method and program
JP2021102298A (en) 2019-12-25 2021-07-15 京セラドキュメントソリューションズ株式会社 Portable image forming apparatus and image forming method
CN212353299U (en) 2020-04-26 2021-01-15 杭州旗捷科技有限公司 Frame type positioning device for handheld printer

Also Published As

Publication number Publication date
JP2023020128A (en) 2023-02-09

Similar Documents

Publication Publication Date Title
US8191986B2 (en) Image forming apparatus
US9656494B2 (en) Servicing a print head array
JP5482626B2 (en) Printing system, correspondence information creation method
JP2008229922A (en) Image forming apparatus, linear encoder contamination detection method, and linear encoder contamination detection image forming method
US20140111815A1 (en) Printing apparatus and method for correcting print position displacement
JP2003285518A (en) Image recorder
JP7699991B2 (en) Recording device, control method, and program
JP2004136551A (en) Printing equipment
JP2005246642A (en) Recording apparatus and control method thereof
JP4345379B2 (en) Recording apparatus and recording method
JP4640519B2 (en) Recording apparatus and recording method
US8646861B2 (en) Printing apparatus, printing system, and control method for the same system
JP2004142269A (en) Recording device
JP7690344B2 (en) Recording device, control method, and program
JP4337398B2 (en) Printing apparatus, printing method, and printing system
JP2002067460A (en) Printing apparatus and printing operation control method in printing apparatus
JP7516993B2 (en) PRINTING SYSTEM, PRINT CONTROL PROGRAM, AND METHOD FOR PRODUCING PRINTED MATERIALS
JP4640518B2 (en) Recording apparatus and recording method
JP2007326235A (en) Inkjet printer and image forming apparatus
JP5472806B2 (en) Image forming apparatus
JP6031952B2 (en) Inkjet recording device
CN113199876B (en) Printing apparatus and control method
JP7565228B2 (en) Image data creation device and printing system
JP5957868B2 (en) Image forming apparatus and program thereof
US10962915B2 (en) Image printing apparatus, reading apparatus, image printing method, and printing medium conveyance method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240718

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250416

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250618

R150 Certificate of patent or registration of utility model

Ref document number: 7699991

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150