JP2006062142A - Printer, printing method, program and printing system - Google Patents

Printer, printing method, program and printing system Download PDF

Info

Publication number
JP2006062142A
JP2006062142A JP2004245443A JP2004245443A JP2006062142A JP 2006062142 A JP2006062142 A JP 2006062142A JP 2004245443 A JP2004245443 A JP 2004245443A JP 2004245443 A JP2004245443 A JP 2004245443A JP 2006062142 A JP2006062142 A JP 2006062142A
Authority
JP
Japan
Prior art keywords
medium
paper
guide
printing
feeding unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004245443A
Other languages
Japanese (ja)
Inventor
Hironori Endo
宏典 遠藤
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2004245443A priority Critical patent/JP2006062142A/en
Priority to US11/210,782 priority patent/US20060045601A1/en
Publication of JP2006062142A publication Critical patent/JP2006062142A/en
Pending legal-status Critical Current

Links

Landscapes

  • Handling Of Cut Paper (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)
  • Controlling Sheets Or Webs (AREA)
  • Sheets, Magazines, And Separation Thereof (AREA)
  • Ink Jet (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To acquire a correct width size of a size medium other than a fixed form size set at a sheet feeding part. <P>SOLUTION: The printer is equipped with (A) the sheet feeding part where a medium to be printed is set, (B) a regulating guide set to be relatively movable to the sheet feeding part so as to regulate a positional deviation of the medium in the vicinity of an end of the medium set in the sheet feeding part, and (C) a position sensor capable of detecting an arbitrary position of the regulating guide to the sheet feeding part. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、給紙部にセットされた媒体の端部近傍にて媒体の位置ずれを規制するために、給紙部に対して相対的に移動自在に設けられた規制ガイドを備えた印刷装置、印刷方法、プログラム、および印刷システムに関する。   The present invention relates to a printing apparatus provided with a regulation guide that is movably provided relative to the paper feed unit in order to regulate the positional deviation of the medium in the vicinity of the end of the medium set in the paper feed unit. , A printing method, a program, and a printing system.

インクジェットプリンタをはじめとする各種印刷装置では、例えば、普通紙や写真専用紙、マット紙、フィルム、はがきなど、様々な種類の媒体に対して印刷が行われる。また、これらの媒体には、さまざま種類のサイズがある。例えば、「A4」や「B5」、「A5」、「はがき」、「letter」など、様々な種類のサイズがある。印刷を行う場合には、印刷装置の給紙部にセットされた媒体の種類やサイズをユーザーにより設定するようになっている。しかしながら、ユーザーにより設定された媒体の種類やサイズが、実際に給紙部にセットされた媒体の種類やサイズと大きく異なると、画像がぴったり媒体に収まらなかったり、また画質が悪くなるなどの不具合が生じる場合がある。   In various printing apparatuses including an ink jet printer, printing is performed on various types of media such as plain paper, photo-dedicated paper, matte paper, film, and postcard. These media also have various sizes. For example, there are various types of sizes such as “A4”, “B5”, “A5”, “postcard”, and “letter”. When printing is performed, the user sets the type and size of the medium set in the paper feeding unit of the printing apparatus. However, if the media type or size set by the user is significantly different from the media type or size actually set in the paper feed unit, the image will not fit on the media or the image quality will deteriorate. May occur.

そこで、従来より、各種印刷装置には、印刷しようとする媒体のサイズがどのようなサイズなのかをチェックすることが行われている。印刷しようとする媒体のサイズをチェックする方法としては、次のようなものがあった。
(1)印刷時に媒体が給紙された際に、媒体に対して相対的に移動しながらインクを吐出するヘッド等に設けられた光学センサ等により媒体の横幅を検知する(特許文献1、2参照)。
(2)給紙カセットなどに設けられた媒体の定形サイズを示す機械的なスイッチ、例えば、「A4」サイズや「B4」サイズ、「はがき」などといった各種定形サイズを示すスイッチを読み取って、媒体のサイズをチェックする。
特開2004−74706号公報 特開2002−103721号公報
Therefore, conventionally, various printing apparatuses have been checked for the size of the medium to be printed. There are the following methods for checking the size of the medium to be printed.
(1) When a medium is fed during printing, the lateral width of the medium is detected by an optical sensor or the like provided in a head or the like that ejects ink while moving relative to the medium (Patent Documents 1 and 2). reference).
(2) A mechanical switch indicating a standard size of a medium provided in a paper feed cassette or the like, for example, a switch indicating various standard sizes such as “A4” size, “B4” size, “postcard”, etc. Check the size.
JP 2004-74706 A JP 2002-103721 A

しかしながら、これらの方法にあっては、次のような問題があった。すなわち、(1)の場合には、実際に印刷時に給紙部から媒体が送られてくるまで、媒体のサイズを調べることはできなかった。
また、(2)の場合には、印刷前に媒体のサイズをチェックすることができるものの、「A4」サイズや「B4」サイズ、「はがき」などといった定形サイズしかチェックすることができなかった。このため、定形のサイズ以外のサイズについては、一切サイズのチェックが行われていなかった。これにより、定形のサイズ以外のサイズの媒体を印刷する場合には、媒体のサイズを正確に把握することはきわめて難しかった。
However, these methods have the following problems. That is, in the case of (1), the size of the medium cannot be checked until the medium is actually sent from the paper feeding unit during printing.
In the case of (2), although the size of the medium can be checked before printing, only standard sizes such as “A4” size, “B4” size, and “postcard” can be checked. For this reason, no size check has been performed for sizes other than the standard size. As a result, when printing a medium having a size other than the standard size, it is extremely difficult to accurately grasp the medium size.

本発明は、このような事情に鑑みてなされたものであって、その目的は、定形サイズ以外のサイズの媒体が給紙部にセットされた場合であっても、その媒体の正確な幅寸法を把握することができるようにすることにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to accurately measure the width of the medium even when a medium of a size other than the standard size is set in the paper feeding unit. It is to be able to grasp.

前記目的を達成するための主たる発明は、(A)印刷される媒体がセットされる給紙部と、(B)前記給紙部にセットされた前記媒体の端部近傍にて前記媒体の位置ずれを規制するために、前記給紙部に対して相対的に移動自在に設けられた規制ガイドと、(C)前記給紙部に対する前記規制ガイドの任意の位置を検出可能な位置センサと、(D)を備えたことを特徴とする印刷装置である。   The main invention for achieving the object is as follows: (A) a paper feeding unit on which a medium to be printed is set; and (B) a position of the medium in the vicinity of an end of the medium set on the paper feeding unit. A restriction guide provided so as to be relatively movable with respect to the paper feed unit in order to regulate a shift; and (C) a position sensor capable of detecting an arbitrary position of the regulation guide with respect to the paper feed unit; A printing apparatus including (D).

本発明の他の特徴は、本明細書及び添付図面の記載により明らかにする。   Other features of the present invention will become apparent from the description of the present specification and the accompanying drawings.

===開示の概要===
本明細書及び添付図面の記載により、少なくとも以下の事項が明らかとなる。
=== Summary of disclosure ===
At least the following matters will become apparent from the description of the present specification and the accompanying drawings.

(A)印刷される媒体がセットされる給紙部と、
(B)前記給紙部にセットされた前記媒体の端部近傍にて前記媒体の位置ずれを規制するために、前記給紙部に対して相対的に移動自在に設けられた規制ガイドと、
(C)前記給紙部に対する前記規制ガイドの任意の位置を検出可能な位置センサと、
(D)を備えたことを特徴とする印刷装置。
このような印刷装置にあっては、給紙部に対する規制ガイドの任意の位置を検出可能な位置センサを備えたことで、規制ガイドの位置をより正確に検出することができる。これによって、印刷時などにおいて、給紙部にセットされた媒体のサイズを調べることができる。
(A) a paper feed unit on which a medium to be printed is set;
(B) a regulation guide provided to be movable relative to the paper feed unit in order to regulate the positional deviation of the medium in the vicinity of the end of the medium set in the paper feed unit;
(C) a position sensor capable of detecting an arbitrary position of the regulation guide with respect to the paper feeding unit;
A printing apparatus comprising (D).
In such a printing apparatus, the position of the restriction guide can be detected more accurately by including a position sensor that can detect an arbitrary position of the restriction guide with respect to the paper feeding unit. This makes it possible to check the size of the medium set in the paper feed unit during printing.

かかる印刷装置にあっては、前記位置センサは、前記給紙部に対する前記規制ガイドの位置に応じて抵抗値が変化する可変抵抗器を有していても良い。このような可変抵抗器を位置センサが有していれば、規制ガイドの任意の位置を簡単に検出することができる。   In such a printing apparatus, the position sensor may include a variable resistor whose resistance value changes in accordance with the position of the restriction guide with respect to the paper feeding unit. If the position sensor has such a variable resistor, an arbitrary position of the regulation guide can be easily detected.

また、かかる印刷装置にあっては、前記可変抵抗器は、回転式可変抵抗器またはスライド式可変抵抗器であっても良い。このように可変抵抗器が、回転式可変抵抗器またはスライド式可変抵抗器であれば、規制ガイドの任意の位置を簡単に検出することができる。   In such a printing apparatus, the variable resistor may be a rotary variable resistor or a slide variable resistor. Thus, if the variable resistor is a rotary variable resistor or a slide variable resistor, an arbitrary position of the regulation guide can be easily detected.

また、かかる印刷装置にあっては、前記位置センサは、前記給紙部に対する前記規制ガイドの位置を検出するために、前記給紙部側に設けられた位置検出用パターンと、前記規制ガイド側に設けられ、前記位置検出用パターンに向けて光を発する発光部と、前記位置検出用パターンから反射された光を受ける受光部とを有し、前記受光部が受けた光の強さに応じた信号を出力する光学センサと、前記光学センサから出力された前記信号に基づき、前記給紙部に対する前記規制ガイドの位置を検出する検出部とを有していても良い。このよな構成の位置センサを備えれば、規制ガイドの任意の位置を簡単に検出することができる。   In this printing apparatus, the position sensor includes a position detection pattern provided on the sheet feeding unit side and the regulation guide side to detect the position of the regulation guide with respect to the sheet feeding unit. A light emitting unit that emits light toward the position detection pattern, and a light receiving unit that receives light reflected from the position detection pattern, and according to the intensity of light received by the light receiving unit An optical sensor that outputs a signal, and a detection unit that detects the position of the restriction guide with respect to the paper feeding unit based on the signal output from the optical sensor. If the position sensor having such a configuration is provided, an arbitrary position of the regulation guide can be easily detected.

また、かかる印刷装置にあっては、前記位置検出用パターンは、前記規制ガイドの移動方向に沿って、前記発光部から発せられた光の反射率が異なるパターンであっても良い。このように位置検出用パターンが、規制ガイドの移動方向に沿って、発光部から発せられた光の反射率が異なるパターンが設けられれば、規制ガイドの給紙部に対する任意の位置を簡単に検出することができる。   In the printing apparatus, the position detection pattern may be a pattern in which the reflectance of the light emitted from the light emitting unit is different along the movement direction of the regulation guide. In this way, if the pattern for position detection is provided with a pattern in which the reflectance of the light emitted from the light emitting unit is different along the movement direction of the regulation guide, any position of the regulation guide with respect to the paper feeding unit can be easily detected. can do.

また、かかる印刷装置にあっては、前記光の反射率が異なるパターンは、少なくとも2以上の異なる色の領域を有し、各色の領域の割合が前記規制ガイドの移動方向に沿って異なるパターンであっても良い。このように光の反射率が異なるパターンとして、少なくとも2以上の異なる色の領域を有し、各色の領域の割合が前記規制ガイドの移動方向に沿って異なるパターンが設けられていれば、規制ガイドの給紙部に対する任意の位置をより簡単に検出することができる。   Further, in such a printing apparatus, the patterns having different light reflectivities have at least two or more different color areas, and the ratios of the respective color areas are different patterns along the movement direction of the regulation guide. There may be. In this way, as a pattern having different light reflectivities, if there is a pattern having at least two or more different color areas and the ratio of each color area being different along the moving direction of the regulation guide, the regulation guide It is possible to more easily detect an arbitrary position with respect to the paper feeding unit.

また、かかる印刷装置にあっては、前記光の反射率が異なるパターンは、前記規制ガイドの移動方向に沿って色の濃度が異なるパターンであっても良い。このように光の反射率が異なるパターンとして、前記規制ガイドの移動方向に沿って、色の濃度が異なるパターンが設けられていれば、規制ガイドの給紙部に対する任意の位置をより簡単に検出することができる。   In such a printing apparatus, the patterns having different light reflectances may be patterns having different color densities along the movement direction of the regulation guide. If a pattern with different color density is provided along the movement direction of the regulation guide as a pattern with different light reflectivities in this way, it is possible to more easily detect an arbitrary position of the regulation guide with respect to the paper feeding unit. can do.

また、かかる印刷装置にあっては、前記規制ガイドとは反対の側から前記媒体の端部近傍にて前記媒体の位置ずれを規制するために、他の規制ガイドが設けられていても良い。このような他の規制ガイドが設けられれば、給紙部にセットされた媒体の位置ずれを十分に規制することができる。   In this printing apparatus, another restriction guide may be provided in order to regulate the positional deviation of the medium in the vicinity of the end of the medium from the side opposite to the regulation guide. If such another regulation guide is provided, the positional deviation of the medium set in the sheet feeding unit can be sufficiently regulated.

また、かかる印刷装置にあっては、前記位置センサによる前記規制ガイドの前記任意の位置の検出は、前記媒体に対して印刷を施す際に行われても良い。このように規制ガイドの任意の位置の検出が、媒体に対して印刷を施す際に行われれば、印刷前に媒体のサイズを調べることができ、媒体のサイズにあった印刷も実施可能となる。   In such a printing apparatus, detection of the arbitrary position of the restriction guide by the position sensor may be performed when printing is performed on the medium. In this way, if detection of an arbitrary position of the regulation guide is performed when printing is performed on the medium, the size of the medium can be checked before printing, and printing that matches the size of the medium can also be performed. .

(A)印刷される媒体がセットされる給紙部と、
(B)前記給紙部にセットされた前記媒体の端部近傍にて前記媒体の位置ずれを規制するために、前記給紙部に対して相対的に移動自在に設けられた規制ガイドと、
(C)前記給紙部に対する前記規制ガイドの任意の位置を検出可能な位置センサと、
(D)を備え、
(E)前記位置センサは、前記給紙部に対する前記規制ガイドの位置に応じて抵抗値が変化する可変抵抗器を有し、
(F)前記可変抵抗器は、スライド式可変抵抗器または回転式可変抵抗器であり、
(G)前記規制ガイドの反対側から前記媒体の端部近傍にて前記媒体の位置ずれを規制するための他の規制ガイドが設けられ、
(H)前記位置センサによる前記規制ガイドの前記任意の位置の検出は、前記媒体に対して印刷を施す際に行われる
(I)ことを特徴とする印刷装置。
(A) a paper feed unit on which a medium to be printed is set;
(B) a regulation guide provided to be movable relative to the paper feed unit in order to regulate the positional deviation of the medium in the vicinity of the end of the medium set in the paper feed unit;
(C) a position sensor capable of detecting an arbitrary position of the regulation guide with respect to the paper feeding unit;
(D)
(E) The position sensor includes a variable resistor whose resistance value changes in accordance with the position of the restriction guide with respect to the paper feeding unit,
(F) The variable resistor is a slide type variable resistor or a rotary type variable resistor,
(G) another regulation guide is provided for regulating positional deviation of the medium in the vicinity of the end of the medium from the opposite side of the regulation guide;
(H) The printing apparatus according to (I), wherein the detection of the arbitrary position of the restriction guide by the position sensor is performed when printing is performed on the medium (I).

給紙部にセットされた媒体の端部近傍にて前記媒体の位置ずれを規制するために、前記給紙部に対して相対的に移動自在に設けられた規制ガイドの前記給紙部に対する任意の位置を、前記媒体に対して印刷を施す際に、位置センサにより検出することを特徴とする印刷方法。   In order to regulate the positional deviation of the medium in the vicinity of the end of the medium set in the paper feeding unit, an arbitrary restriction guide provided relative to the paper feeding unit with respect to the paper feeding unit is provided. The position is detected by a position sensor when printing is performed on the medium.

給紙部にセットされた媒体の端部近傍にて前記媒体の位置ずれを規制するために、前記給紙部に対して相対的に移動自在に設けられた規制ガイドの前記給紙部に対する任意の位置を、前記媒体に対して印刷を施す際に、位置センサにより検出するステップを実行することを特徴とするプログラム。   In order to regulate the positional deviation of the medium in the vicinity of the end of the medium set in the paper feeding unit, an arbitrary restriction guide provided relative to the paper feeding unit with respect to the paper feeding unit is provided. A program for executing a step of detecting a position of the position by a position sensor when printing on the medium.

コンピュータと、このコンピュータと通信可能な印刷装置とを具備した印刷システムであって、
前記印刷装置は、印刷される媒体がセットされる給紙部と、
前記給紙部にセットされた前記媒体の端部近傍にて前記媒体の位置ずれを規制するために、前記給紙部に対して相対的に移動自在に設けられた規制ガイドと、
前記給紙部に対する前記規制ガイドの任意の位置を検出可能な位置センサと、
を備えたことを特徴とする印刷システム。
A printing system comprising a computer and a printing device capable of communicating with the computer,
The printing apparatus includes a paper feeding unit on which a medium to be printed is set,
A regulation guide provided so as to be relatively movable with respect to the sheet feeding unit in order to regulate the positional deviation of the medium in the vicinity of the end of the medium set in the sheet feeding unit;
A position sensor capable of detecting an arbitrary position of the regulation guide with respect to the sheet feeding unit;
A printing system comprising:

===印刷装置の概要===
本発明に係る印刷装置の実施の形態について、インクジェットプリンタを例にとり説明する。図1〜図4は、そのインクジェットプリンタ1を示したものである。図1は、そのインクジェットプリンタ1の外観を示す。図2は、そのインクジェットプリンタ1の内部構成を示す。図3は、そのインクジェットプリンタ1の搬送部の構成を示す。図4は、そのインクジェットプリンタ1のシステム構成を示す。
=== Overview of Printing Apparatus ===
An embodiment of a printing apparatus according to the present invention will be described by taking an inkjet printer as an example. 1 to 4 show the ink jet printer 1. FIG. 1 shows the appearance of the inkjet printer 1. FIG. 2 shows the internal configuration of the inkjet printer 1. FIG. 3 shows the configuration of the transport section of the inkjet printer 1. FIG. 4 shows the system configuration of the inkjet printer 1.

このインクジェットプリンタ1は、図1に示すように、背面から供給された印刷用紙等の媒体を前面から排出する構造を備えており、その前面部には操作パネル2および排紙部3が設けられ、その背面部には、給紙ユニット4が設けられている。操作パネル2には、各種操作ボタン5および表示ランプ6が設けられている。また、排紙部3には、不使用時に排紙口を塞ぐ排紙トレイ7が設けられている。給紙ユニット4には、カット紙などの媒体を保持するための給紙トレイ8が設けられている。この給紙トレイ8は、本発明の給紙部に相当する。給紙トレイ8には、当該給紙トレイ8にセットされた用紙等の媒体の位置ずれを規制するための用紙ガイド9(本発明の規制ガイドに相当)が設けられている。給紙ユニット4の構成については、後で詳しく説明する。   As shown in FIG. 1, the inkjet printer 1 has a structure for discharging a medium such as printing paper supplied from the back side from the front side, and an operation panel 2 and a paper discharge unit 3 are provided on the front side. The paper feeding unit 4 is provided on the rear surface. Various operation buttons 5 and display lamps 6 are provided on the operation panel 2. The paper discharge unit 3 is provided with a paper discharge tray 7 that closes the paper discharge port when not in use. The paper feed unit 4 is provided with a paper feed tray 8 for holding a medium such as cut paper. The paper feed tray 8 corresponds to a paper feed unit of the present invention. The paper feed tray 8 is provided with a paper guide 9 (corresponding to a regulation guide of the present invention) for regulating the positional deviation of a medium such as paper set in the paper feed tray 8. The configuration of the paper feed unit 4 will be described in detail later.

このインクジェットプリンタ1の内部には、図2に示すように、キャリッジ41が設けられている。このキャリッジ41は、左右方向に沿って相対的に移動可能に設けられている。キャリッジ41の周辺には、キャリッジモータ42と、プーリ44と、タイミングベルト45と、ガイドレール46とが設けられている。キャリッジモータ42は、DCモータなどにより構成され、キャリッジ41を左右方向(以下、キャリッジ移動方向ともいう)に沿って相対的に移動させるための駆動源である。タイミングベルト45は、プーリ44を介してキャリッジモータ42に接続されるとともに、その一部がキャリッジ41に接続され、キャリッジモータ42の回転駆動によってキャリッジ41をキャリッジ移動方向(左右方向)に沿って相対的に移動させる。ガイドレール46は、キャリッジ41をキャリッジ移動方向(左右方向)に沿って案内する。   Inside the ink jet printer 1, a carriage 41 is provided as shown in FIG. The carriage 41 is provided to be relatively movable along the left-right direction. Around the carriage 41, a carriage motor 42, a pulley 44, a timing belt 45, and a guide rail 46 are provided. The carriage motor 42 is constituted by a DC motor or the like, and is a drive source for relatively moving the carriage 41 in the left-right direction (hereinafter also referred to as the carriage movement direction). The timing belt 45 is connected to the carriage motor 42 via the pulley 44, and a part of the timing belt 45 is connected to the carriage 41. The carriage 41 is moved relative to the carriage 41 in the carriage movement direction (left-right direction) by the rotation of the carriage motor 42. Move. The guide rail 46 guides the carriage 41 along the carriage movement direction (left-right direction).

この他に、キャリッジ41の周辺には、キャリッジ41の位置を検出するリニア式エンコーダ51と、媒体Sをキャリッジ41の移動方向と交差する方向(図中、前後方向。以下、搬送方向ともいう)に沿って搬送するための搬送ローラ17Aと、この搬送ローラ17Aを回転駆動させる搬送モータ15とが設けられている。   In addition, in the periphery of the carriage 41, a linear encoder 51 that detects the position of the carriage 41 and a direction in which the medium S intersects the moving direction of the carriage 41 (the front-rear direction in the figure, hereinafter also referred to as the transport direction). A transport roller 17A for transporting along the transport path 17 and a transport motor 15 for rotationally driving the transport roller 17A are provided.

一方、キャリッジ41には、各種インクを収容したインクカートリッジ48と、媒体Sに対して印刷を行うヘッド21とが設けられている。インクカートリッジ48は、例えば、イエロ(Y)やマゼンダ(M)、シアン(C)、ブラック(K)などの各色のインクを収容しており、キャリッジ41に設けられたカートリッジ装着部49に着脱可能に装着されている。また、ヘッド21は、本実施形態では、媒体Sに対してインクを吐出して印刷を施す。このために、ヘッド21には、インクを吐出するための多数のノズルが設けられている。   On the other hand, the carriage 41 is provided with an ink cartridge 48 that stores various inks, and a head 21 that performs printing on the medium S. The ink cartridge 48 contains, for example, each color ink such as yellow (Y), magenta (M), cyan (C), black (K), and is detachable from a cartridge mounting portion 49 provided on the carriage 41. It is attached to. In the present embodiment, the head 21 performs printing by ejecting ink onto the medium S. For this purpose, the head 21 is provided with a number of nozzles for ejecting ink.

この他に、このインクジェットプリンタ1の内部には、ヘッド21のノズルの目詰まりを解消するためにノズルからインクを吸い出すポンプ装置31や、ヘッド21のノズルの目詰まりを防止するために、印刷を行わないとき(待機時など)にヘッド21のノズルを封止するキャッピング装置35などが設けられている。   In addition to this, in the inkjet printer 1, printing is performed in order to prevent clogging of the nozzles of the head 21 and the pump device 31 that sucks out ink from the nozzles in order to eliminate clogging of the nozzles of the head 21. A capping device 35 that seals the nozzles of the head 21 when not in use (such as during standby) is provided.

次にこのインクジェットプリンタ1の搬送部について説明する。この搬送部には、図3に示すように、給紙ローラ13と、紙検知センサ53と、搬送ローラ17Aと、排紙ローラ17Bと、プラテン14と、フリーローラ18A、18Bとが設けられている。   Next, the conveyance unit of the inkjet printer 1 will be described. As shown in FIG. 3, the transport unit includes a paper feed roller 13, a paper detection sensor 53, a transport roller 17A, a paper discharge roller 17B, a platen 14, and free rollers 18A and 18B. Yes.

印刷される媒体Sは、給紙トレイ8にセットされる。給紙トレイ8にセットされた媒体Sは、断面略D形状に成形された給紙ローラ13により、図中矢印A方向に沿って搬送されて、インクジェットプリンタ1の内部へと送られる。インクジェットプリンタ1の内部に送られてきた媒体Sは、紙検知センサ53と接触する。この紙検知センサ53は、給紙ローラ13と、搬送ローラ17Aとの間に設置されたもので、給紙ローラ13により給紙された媒体Sを検知する。   The medium S to be printed is set in the paper feed tray 8. The medium S set in the paper feed tray 8 is conveyed along the direction of arrow A in the drawing by the paper feed roller 13 having a substantially D-shaped cross section, and is sent into the ink jet printer 1. The medium S sent to the inside of the ink jet printer 1 comes into contact with the paper detection sensor 53. The paper detection sensor 53 is installed between the paper feed roller 13 and the transport roller 17A, and detects the medium S fed by the paper feed roller 13.

紙検知センサ53により検知された媒体Sは、搬送ローラ17Aによって、印刷が実施されるプラテン14へと順次搬送される。搬送ローラ17Aの対向位置には、フリーローラ18Aが設けられている。このフリーローラ18Aと搬送ローラ17Aとの間に、媒体Sを挟み込むことによって、媒体Sをスムーズに搬送する。   The medium S detected by the paper detection sensor 53 is sequentially transported to the platen 14 on which printing is performed by the transport roller 17A. A free roller 18A is provided at a position facing the conveying roller 17A. The medium S is smoothly transported by sandwiching the medium S between the free roller 18A and the transport roller 17A.

プラテン14へと送り込まれた媒体Sは、ヘッド21から吐出されたインクによって順次印刷される。プラテン14は、ヘッド21と対向して設けられ、印刷される媒体Sを下側から支持する。   The medium S sent to the platen 14 is sequentially printed by the ink ejected from the head 21. The platen 14 is provided to face the head 21 and supports the medium S to be printed from below.

印刷が施された媒体Sは、排紙ローラ17Bにより順次、プリンタ外部へと排出される。排紙ローラ17Bは、搬送モータ15と同期に駆動されていて、当該排紙ローラ17Bに対向して設けられたフリーローラ18Bとの間に媒体Sを挟み込んで、媒体Sをプリンタ外部へと排出する。   The medium S on which printing has been performed is sequentially discharged out of the printer by the paper discharge roller 17B. The paper discharge roller 17B is driven in synchronism with the transport motor 15, and sandwiches the medium S with the free roller 18B provided facing the paper discharge roller 17B, and discharges the medium S to the outside of the printer. To do.

<システム構成>
次にこのインクジェットプリンタ1のシステム構成について説明する。このインクジェットプリンタ1は、図4に示すように、バッファメモリ122と、イメージバッファ124と、コントローラ126と、メインメモリ127と、通信インターフェース129と、キャリッジモータ制御部128と、搬送制御部130と、ヘッド駆動部132とを備えている。
<System configuration>
Next, the system configuration of the inkjet printer 1 will be described. As shown in FIG. 4, the inkjet printer 1 includes a buffer memory 122, an image buffer 124, a controller 126, a main memory 127, a communication interface 129, a carriage motor control unit 128, a transport control unit 130, A head driving unit 132.

通信インターフェース129は、当該インクジェットプリンタ1が、例えばパーソナルコンピュータ等の外部のコンピュータ140とデータのやりとりを行うたものである。通信インターフェース129は、外部のコンピュータ140と有線または無線等により通信可能に接続され、コンピュータ140から送信された印刷データ等の各種データを受信する。   The communication interface 129 is used when the inkjet printer 1 exchanges data with an external computer 140 such as a personal computer. The communication interface 129 is communicably connected to the external computer 140 by wire or wireless, and receives various data such as print data transmitted from the computer 140.

バッファメモリ122には、通信インターフェース129により受信された印刷データ等の各種データが一時的に記憶される。また、イメージバッファ124には、バッファメモリに記憶された印刷データが順次記憶される。イメージバッファ124に記憶された印刷データは、順次、ヘッド駆動部132へと送られる。また、メインメモリ127は、ROMやRAM、EEPROMなどにより構成される。メインメモリ127には、当該インクジェットプリンタ1を制御するための各種プログラムや各種設定データなどが記憶される。   Various data such as print data received by the communication interface 129 are temporarily stored in the buffer memory 122. Further, the image buffer 124 sequentially stores print data stored in the buffer memory. The print data stored in the image buffer 124 is sequentially sent to the head driving unit 132. The main memory 127 is composed of ROM, RAM, EEPROM, and the like. The main memory 127 stores various programs for controlling the inkjet printer 1 and various setting data.

コントローラ126は、メインメモリ127から制御用プログラムや各設定データなどを読み出して、当該制御用プログラムや各種設定データに従ってインクジェットプリンタ1全体の制御を行う。また、コントローラ126には、ロータリ式エンコーダ134やリニア式エンコーダ51、紙検知センサ53などの各種センサからの検出信号が入力される。   The controller 126 reads a control program, each setting data, and the like from the main memory 127, and controls the entire inkjet printer 1 according to the control program and various setting data. The controller 126 receives detection signals from various sensors such as the rotary encoder 134, the linear encoder 51, and the paper detection sensor 53.

コントローラ126は、外部のコンピュータ140から送られてきた印刷データ等の各種データが通信インターフェース129により受信されてバッファメモリ122に格納されると、その格納されたデータの中から必要な情報をバッファメモリ122から読み出す。コントローラ126は、その読み出した情報に基づき、リニア式エンコーダ51やロータリ式エンコーダ134からの出力を参照しながら、制御用プログラムに従って、キャリッジモータ制御部128や搬送制御部130、ヘッド駆動部132などを各々制御する。   When various data such as print data sent from the external computer 140 is received by the communication interface 129 and stored in the buffer memory 122, the controller 126 stores necessary information from the stored data in the buffer memory. Read from 122. Based on the read information, the controller 126 refers to the output from the linear encoder 51 and the rotary encoder 134 and controls the carriage motor control unit 128, the conveyance control unit 130, the head drive unit 132, and the like according to the control program. Control each one.

キャリッジモータ制御部128は、コントローラ126からの命令に従って、キャリッジモータ42の回転方向や回転数、トルクなどを駆動制御する。搬送制御部130は、コントローラ126からの命令に従って、搬送ローラ17Aを回転駆動する搬送モータ15などの駆動を制御する。   The carriage motor control unit 128 drives and controls the rotation direction, number of rotations, torque, and the like of the carriage motor 42 in accordance with instructions from the controller 126. The conveyance control unit 130 controls driving of the conveyance motor 15 that rotationally drives the conveyance roller 17 </ b> A according to a command from the controller 126.

ヘッド駆動部132は、コントローラ126からの命令に従って、イメージバッファ124に格納された印刷データに基づき、ヘッド21に設けられた各色のノズルを駆動制御する。   The head drive unit 132 drives and controls the nozzles of each color provided in the head 21 based on the print data stored in the image buffer 124 in accordance with a command from the controller 126.

この他に、本実施形態に係るインクジェットプリンタ1にあっては、用紙ガイド9の位置を検出する位置センサ150を備えている。この位置センサ150については、後で詳しく説明する。   In addition, the inkjet printer 1 according to the present embodiment includes a position sensor 150 that detects the position of the paper guide 9. The position sensor 150 will be described in detail later.

===印刷動作===
次に前述したインクジェットプリンタ1の印刷動作について説明する。ここでは、「双方向印刷」を例にして説明する。図5は、インクジェットプリンタ1の印刷動作の処理手順の一例を示したフローチャートである。以下で説明される各処理は、コントローラ126が、メインメモリ127からプログラムを読み出して、当該プログラムに従って、キャリッジモータ制御部128や搬送制御部130、ヘッド駆動部132などを各々制御することにより実行される。
=== Printing operation ===
Next, the printing operation of the above-described ink jet printer 1 will be described. Here, “bidirectional printing” will be described as an example. FIG. 5 is a flowchart showing an example of the processing procedure of the printing operation of the inkjet printer 1. Each process described below is executed by the controller 126 reading a program from the main memory 127 and controlling the carriage motor control unit 128, the conveyance control unit 130, the head driving unit 132, and the like according to the program. The

コントローラ126は、コンピュータ140から印刷データを受信すると、その印刷データに基づき印刷を実行すべく、まず、給紙処理を行う(S102)。給紙処理は、印刷しようとする媒体Sをインクジェットプリンタ1内に供給し、印刷開始位置(頭出し位置とも言う)まで搬送する処理である。コントローラ126は、給紙ローラ13を回転させて、印刷しようとする媒体Sを搬送ローラ17Aまで送る。コントローラ126は、搬送ローラ17Aを回転させて、給紙ローラ13から送られてきた媒体Sを印刷開始位置(プラテン14の上方付近)に位置決めする。   Upon receiving print data from the computer 140, the controller 126 first performs a paper feed process to execute printing based on the print data (S102). The paper feed process is a process of supplying the medium S to be printed into the ink jet printer 1 and transporting it to a print start position (also referred to as a cue position). The controller 126 rotates the paper feed roller 13 to send the medium S to be printed to the transport roller 17A. The controller 126 rotates the transport roller 17A to position the medium S sent from the paper feed roller 13 at the print start position (near the upper side of the platen 14).

次に、コントローラ126は、キャリッジモータ制御部128を通じてキャリッジモータ42を駆動して、キャリッジ41を媒体Sに対して相対的に移動させて媒体Sに対して印刷を施す印刷処理を実行する。ここでは、まず、キャリッジ41をガイドレール46に沿って一の方向に向かって移動させながら、ヘッド21からインクを吐出する往路印刷を実行する(S104)。コントローラ126は、キャリッジモータ42を駆動してキャリッジ41を移動させるとともに、印刷データに基づきヘッド21を駆動してインクを吐出する。ヘッド21から吐出されたインクは、媒体Sに到達してドットとして形成される。   Next, the controller 126 drives the carriage motor 42 through the carriage motor control unit 128 and moves the carriage 41 relative to the medium S to execute a printing process for printing on the medium S. Here, first, forward printing is performed to eject ink from the head 21 while moving the carriage 41 in one direction along the guide rail 46 (S104). The controller 126 drives the carriage motor 42 to move the carriage 41 and drives the head 21 based on the print data to eject ink. The ink ejected from the head 21 reaches the medium S and is formed as dots.

このようにして印刷を行った後、次に、コントローラ126は、媒体Sを所定量だけ搬送する搬送処理を実行する(S106)。ここでは、コントローラ126は、搬送制御部130を通じて搬送モータ15を駆動して搬送ローラ17Aを回転させて、媒体Sをヘッド21に対して相対的に搬送方向に所定量だけ搬送する。この搬送処理により、ヘッド21は、先ほどの印刷した領域とは異なる領域に印刷をすることが可能になる。   After printing in this way, the controller 126 next executes a transport process for transporting the medium S by a predetermined amount (S106). Here, the controller 126 drives the conveyance motor 15 through the conveyance control unit 130 to rotate the conveyance roller 17A, and conveys the medium S by a predetermined amount relative to the head 21 in the conveyance direction. By this carrying process, the head 21 can print in an area different from the previously printed area.

このようにして搬送処理を行った後、コントローラ126は、排紙すべきか否か排紙判断を実行する(S108)。ここで、コントローラ126は、印刷中の媒体Sに印刷すべき他のデータがなければ、排紙処理を実行する(S116)。一方、コントローラ126は、印刷中の媒体Sに印刷すべき他のデータがあれば、排紙処理は行わずに、復路印刷を実行する(S110)。この復路印刷は、キャリッジ41をガイドレール46に沿って先ほどの往路印刷とは反対の方向に移動させて印刷を行う。ここでも、コントローラ126は、キャリッジモータ制御部128を通じてキャリッジモータ42を先ほどとは逆に回転駆動させてキャリッジ41を移動させるとともに、印刷データに基づきヘッド21を駆動してインクを吐出して、印刷を施す。   After performing the carrying process in this manner, the controller 126 determines whether or not to discharge paper (S108). Here, if there is no other data to be printed on the medium S being printed, the controller 126 executes a paper discharge process (S116). On the other hand, if there is other data to be printed on the medium S being printed, the controller 126 performs the backward printing without performing the paper discharge process (S110). In this backward printing, printing is performed by moving the carriage 41 along the guide rail 46 in the direction opposite to the previous forward printing. Again, the controller 126 rotates the carriage motor 42 through the carriage motor control unit 128 to move the carriage 41 in the reverse direction, and also drives the head 21 based on the print data to eject ink and print. Apply.

復路印刷を実行した後、搬送処理を実行し(S112)、その後、排紙判断を行う(S114)。ここで、印刷中の媒体Sに印刷すべき他のデータがあれば、排紙処理は行わずに、ステップS104に戻って、再度往路印刷を実行する(S104)。一方、印刷中の媒体Sに印刷すべき他のデータがなければ、排紙処理を実行する(S116)。   After performing the return pass printing, a carrying process is executed (S112), and then a paper discharge determination is made (S114). Here, if there is other data to be printed on the medium S being printed, the paper discharge process is not performed, the process returns to step S104, and the forward printing is executed again (S104). On the other hand, if there is no other data to be printed on the medium S being printed, a paper discharge process is executed (S116).

排紙処理を行った後、次に、印刷終了か否かを判断する印刷終了判断を実行する(S118)。ここでは、次にコンピュータ140から印刷データに基づき、次に印刷すべき媒体Sがないかどうかチェックする。ここで、次に印刷すべき媒体Sがある場合には、ステップS102に戻り、再び給紙処理を実行して、印刷を開始する。一方、次に印刷すべき媒体Sがない場合には、印刷処理を終了する。   After the paper discharge process is performed, next, a print end determination is performed to determine whether or not to end printing (S118). Here, based on the print data from the computer 140, it is checked whether there is a medium S to be printed next. If there is a medium S to be printed next, the process returns to step S102, the paper feed process is executed again, and printing is started. On the other hand, if there is no medium S to be printed next, the printing process is terminated.

===給紙ユニットの構成===
図6は、本実施形態のインクジェットプリンタの給紙ユニット4の構成を詳しく示したものである。給紙ユニット4には、図1でも説明したように、給紙トレイ8と、給紙トレイ8にセットされた用紙等の媒体Sの位置ずれを規制するための用紙ガイド9とが設けられている。給紙トレイ8には、印刷される媒体Sがセットされる。給紙トレイ8にセットされる媒体Sの枚数としては、1枚〜数十枚ほどである。給紙トレイ8の左右両側には、図6に示すように、給紙トレイ8の側縁部に沿って(媒体Sの給紙方向に沿って)突起部62A、62Bが設けられている。これら2つの突起部62A、62Bの間隔Lmは、当該インクジェットプリンタ1が印刷可能な媒体Sの最大サイズに対応して設定されている。媒体Sは、これら2つの突起部62A、62Bの間にセットされる。
=== Configuration of Paper Feed Unit ===
FIG. 6 shows the configuration of the paper feeding unit 4 of the ink jet printer of this embodiment in detail. As described with reference to FIG. 1, the paper feed unit 4 is provided with a paper feed tray 8 and a paper guide 9 for regulating the positional deviation of the medium S such as paper set in the paper feed tray 8. Yes. A medium S to be printed is set in the paper feed tray 8. The number of media S set in the paper feed tray 8 is about 1 to several tens. As shown in FIG. 6, protrusions 62 </ b> A and 62 </ b> B are provided on the left and right sides of the paper feed tray 8 along the side edges of the paper feed tray 8 (along the paper S feeding direction). The distance Lm between the two protrusions 62A and 62B is set corresponding to the maximum size of the medium S that can be printed by the inkjet printer 1. The medium S is set between these two protrusions 62A and 62B.

一方、用紙ガイド9は、同図に示すように、給紙トレイ8の横幅方向、即ち図中矢印B方向に沿ってスライド移動自在に設けられている。この用紙ガイド9は、給紙トレイ8にセットされた媒体Sの幅寸法Mに合わせて移動される。媒体Sは、この用紙ガイド9と、給紙トレイ8の突起部62A、62Bのうちの一方の突起部、ここでは右側の突起部62Bとの間にセットされる。用紙ガイド9は、給紙トレイ8にセットされた媒体Sの端部近傍、ここでは媒体Sの左端近傍にて設置される。そして、給紙トレイ8にセットされた媒体Sが、印刷時に、印刷部、即ちプラテン14側へと送られるときに、用紙ガイド9は、右側の突起部62Bとの間に媒体Sを挟み込んで、媒体Sに位置ずれが生じないように媒体Sを案内する。   On the other hand, the paper guide 9 is provided so as to be slidable along the width direction of the paper feed tray 8, that is, in the direction of arrow B in the figure, as shown in FIG. The paper guide 9 is moved in accordance with the width dimension M of the medium S set on the paper feed tray 8. The medium S is set between the paper guide 9 and one of the protrusions 62A and 62B of the paper feed tray 8, here the right protrusion 62B. The paper guide 9 is installed in the vicinity of the end of the medium S set on the paper feed tray 8, here in the vicinity of the left end of the medium S. When the medium S set in the paper feed tray 8 is sent to the printing unit, that is, the platen 14 side at the time of printing, the paper guide 9 sandwiches the medium S between the right protrusion 62B. Then, the medium S is guided so that no positional deviation occurs in the medium S.

この用紙ガイド9の位置調節は、ユーザーにより行われる。ユーザーは、用紙ガイド9に設けられたつまみ部10をつまんで、給紙トレイ8にセットされる媒体Sの横幅寸法Mに合わせて、媒体Sの端部近傍に位置するように、用紙ガイド9を移動させる。   The position adjustment of the paper guide 9 is performed by the user. The user pinches the knob portion 10 provided on the paper guide 9 and matches the width dimension M of the medium S set on the paper feed tray 8 so that the paper guide 9 is positioned near the end of the medium S. Move.

===位置センサ===
<センサの概要>
本実施形態に係るインクジェットプリンタ1にあっては、給紙トレイ8に設けられた用紙ガイド9の現在位置を検出するために、位置センサ150を備えている。この位置センサ150は、給紙トレイ8に対する用紙ガイド9の任意の位置を検出することができる。この位置センサ150は、例えば、給紙トレイ8の裏面部等に設けられている。位置センサ150の検出結果については、図4に示すように、コントローラ126に伝達される。すなわち、位置センサ150からコントローラ126へと、用紙ガイド9の位置に応じた検出信号が出力される。コントローラ126は、位置センサ150からの検出信号に基づき、用紙ガイド9の現在位置に関する情報を取得する。
=== Position sensor ===
<Outline of sensor>
The ink jet printer 1 according to the present embodiment includes a position sensor 150 for detecting the current position of the paper guide 9 provided in the paper feed tray 8. The position sensor 150 can detect an arbitrary position of the paper guide 9 with respect to the paper feed tray 8. The position sensor 150 is provided, for example, on the back surface of the paper feed tray 8. The detection result of the position sensor 150 is transmitted to the controller 126 as shown in FIG. That is, a detection signal corresponding to the position of the paper guide 9 is output from the position sensor 150 to the controller 126. The controller 126 acquires information related to the current position of the paper guide 9 based on the detection signal from the position sensor 150.

<センサの構成(1)>
図7は、本実施形態に係るインクジェットプリンタ1に設けられる位置センサ150の構成例を簡略的に示したものである。図7Aは、その位置センサ150の構成を説明する平面図であり、図7Bは、その位置センサ150の構成を説明する側面図である。
<Configuration of sensor (1)>
FIG. 7 schematically illustrates an exemplary configuration of the position sensor 150 provided in the inkjet printer 1 according to the present embodiment. FIG. 7A is a plan view illustrating the configuration of the position sensor 150, and FIG. 7B is a side view illustrating the configuration of the position sensor 150.

この位置センサ150は、図7A及び図7Bに示すように、用紙ガイド9に一体的に接合されたターンベルト70と、ターンベルト70の一端部側に設けられたプーリー72と、ターンベルト70の他端部側にプーリー74を介して設けられた回転式可変抵抗器76とを備えている。ターンベルト70は、用紙ガイド9の移動方向に沿って設けられたものである。その長さLtは、用紙ガイド9の移動範囲に対応して設定されている。また、ターンベルト70は、2つのプーリー72、74の間に掛け渡されている。   As shown in FIGS. 7A and 7B, the position sensor 150 includes a turn belt 70 integrally joined to the paper guide 9, a pulley 72 provided on one end side of the turn belt 70, and the turn belt 70. A rotary variable resistor 76 provided on the other end side via a pulley 74 is provided. The turn belt 70 is provided along the moving direction of the paper guide 9. The length Lt is set corresponding to the movement range of the paper guide 9. The turn belt 70 is stretched between two pulleys 72 and 74.

一方、回転式可変抵抗器76は、プーリー74が一体的に設けられた回転軸78と、この回転軸78の回転量を検出する可変抵抗器本体80とを備えている。回転軸78は、用紙ガイド9の移動によりターンベルト70が回転すると、プーリー74を介して回転する。可変抵抗器本体80は、この回転軸78の回転量に応じて抵抗値が変動する。すなわち、用紙ガイド9が、例えば、左の方向に向かって移動したときには、抵抗値が増大し、また、用紙ガイド9が、その方向とは反対の方向、即ち右の方向に向かって移動したときには、抵抗値が減少する。これにより、可変抵抗器本体80の現在の抵抗値から、用紙ガイド9の現在のポジジョンを取得することができる。   On the other hand, the rotary variable resistor 76 includes a rotary shaft 78 with which a pulley 74 is integrally provided, and a variable resistor main body 80 that detects the amount of rotation of the rotary shaft 78. The rotation shaft 78 rotates via the pulley 74 when the turn belt 70 rotates due to the movement of the paper guide 9. The resistance value of the variable resistor main body 80 varies according to the amount of rotation of the rotating shaft 78. That is, for example, when the paper guide 9 moves in the left direction, the resistance value increases, and when the paper guide 9 moves in the opposite direction, that is, in the right direction. The resistance value decreases. Thereby, the current position of the paper guide 9 can be obtained from the current resistance value of the variable resistor body 80.

可変抵抗器本体80の抵抗値に関する情報は、コントローラ126へと伝達される。コントローラ126は、可変抵抗器本体80の抵抗値に関する情報に基づき、用紙ガイド9の現在位置を検出する。   Information regarding the resistance value of the variable resistor body 80 is transmitted to the controller 126. The controller 126 detects the current position of the paper guide 9 based on information regarding the resistance value of the variable resistor body 80.

<センサの構成(2)>
図8は、本実施形態に係るインクジェットプリンタ1に設けられる位置センサ150として、他の可変抵抗器を用いた場合の構成について説明したものである。図8Aは、その位置センサ150の構成を説明する平面図であり、図8Bは、その位置センサ150の構成を説明する側面図である。
<Configuration of sensor (2)>
FIG. 8 illustrates a configuration in which another variable resistor is used as the position sensor 150 provided in the inkjet printer 1 according to the present embodiment. FIG. 8A is a plan view illustrating the configuration of the position sensor 150, and FIG. 8B is a side view illustrating the configuration of the position sensor 150.

この位置センサ150は、図8Aおよび図8Bに示すように、可変抵抗器として、スライド式可変抵抗器82を備えたものである。ここで、スライド式可変抵抗器82は、用紙ガイド9と一体的に接合されたスライダ84と、このスライダ84の移動量を検出することができる可変抵抗器本体86とを備えている。   As shown in FIGS. 8A and 8B, the position sensor 150 includes a slide type variable resistor 82 as a variable resistor. Here, the slide type variable resistor 82 includes a slider 84 that is integrally joined to the paper guide 9 and a variable resistor body 86 that can detect the amount of movement of the slider 84.

可変抵抗器本体86は、用紙ガイド9の移動方向に沿って設けられている。この可変抵抗器本体86には、図8Aに示すように、スライダ84を案内するためのガイド溝88が設けられている。このガイド溝88は、用紙ガイド9の移動方向に沿って形成されたもので、その長さLsは、用紙ガイド9の移動範囲に対応して設定されている。スライダ84は、用紙ガイド9が移動すると、ガイド溝88に沿って相対的に移動する。   The variable resistor body 86 is provided along the moving direction of the paper guide 9. As shown in FIG. 8A, the variable resistor body 86 is provided with a guide groove 88 for guiding the slider 84. The guide groove 88 is formed along the movement direction of the paper guide 9, and its length Ls is set corresponding to the movement range of the paper guide 9. The slider 84 relatively moves along the guide groove 88 when the paper guide 9 moves.

一方、可変抵抗器本体86は、スライダ84がガイド溝88に沿って移動すると、その移動量に応じて抵抗値が変動する。すなわち、例えば、用紙ガイド9が、左の方向に向かって移動したときには、抵抗値が増大し、また、用紙ガイド9が、その方向とは反対の方向、即ち右の方向に向かって移動したときには、抵抗値が減少する。これにより、可変抵抗器本体86の現在の抵抗値から、用紙ガイド9の現在のポジジョンを取得することができる。   On the other hand, when the slider 84 moves along the guide groove 88, the resistance value of the variable resistor main body 86 varies according to the amount of movement. That is, for example, when the paper guide 9 moves in the left direction, the resistance value increases, and when the paper guide 9 moves in the opposite direction, that is, in the right direction. The resistance value decreases. Thereby, the current position of the paper guide 9 can be obtained from the current resistance value of the variable resistor body 86.

この可変抵抗器本体86の抵抗値に関する情報がコントローラ126へと伝達される。コントローラ126は、可変抵抗器本体86の抵抗値に関する情報に基づき、用紙ガイド9の現在位置を検出する。   Information regarding the resistance value of the variable resistor body 86 is transmitted to the controller 126. The controller 126 detects the current position of the paper guide 9 based on information regarding the resistance value of the variable resistor body 86.

===コントローラ等の処理==
コントローラ126は、外部に接続されたコンピュータ140からの指示により、位置センサ150から用紙ガイド9の現在位置に関する情報を取得する。そして、コントローラ126は、位置センサ150から取得した情報をコンピュータ140に伝達する。コンピュータ140は、コントローラ126から取得した用紙ガイド9の現在位置に関する情報に基づき、印刷処理を実行する。
=== Processing by the controller, etc. ==
The controller 126 acquires information on the current position of the paper guide 9 from the position sensor 150 according to an instruction from the computer 140 connected to the outside. Then, the controller 126 transmits information acquired from the position sensor 150 to the computer 140. The computer 140 executes a printing process based on the information regarding the current position of the paper guide 9 acquired from the controller 126.

図9は、コントローラ126とコンピュータ140との間の一連のやりとりの一例を説明したものである。コンピュータ140は、ユーザーから印刷命令があると(S202)、インクジェットプリンタ1に対して、用紙ガイド9の位置を検出するように命令を発行する(S204)。   FIG. 9 illustrates an example of a series of exchanges between the controller 126 and the computer 140. When there is a print command from the user (S202), the computer 140 issues a command to the inkjet printer 1 to detect the position of the paper guide 9 (S204).

インクジェットプリンタ1のコントローラ126は、印刷待機状態にて(S232)、コンピュータ140から用紙ガイド9の位置検出命令を受けると(S234)、位置センサ150から可変抵抗器76、82の抵抗値に関する情報を取得する(S236)。コントローラ126は、可変抵抗器76、82の抵抗値に関する情報から用紙ガイド9の現在位置に関する情報を取得し、その情報をコンピュータ140に向けて送信する(S238)。   When the controller 126 of the inkjet printer 1 receives a position detection command for the paper guide 9 from the computer 140 in a print standby state (S 232) (S 234), the controller 126 receives information on the resistance values of the variable resistors 76 and 82 from the position sensor 150. Obtain (S236). The controller 126 acquires information related to the current position of the paper guide 9 from information related to the resistance values of the variable resistors 76 and 82, and transmits the information to the computer 140 (S238).

コンピュータ140は、インクジェットプリンタ1から用紙ガイド9の現在位置に関する情報を受信する(S208)。そして、コンピュータ140は、受信した情報に基づき、印刷データを生成する(S210)。ここでは、コンピュータ140は、インクジェットプリンタ1から送られてきた用紙ガイド9の現在位置に関する情報から、給紙トレイ8に実際にセットされている媒体Sのサイズに関する情報を取得し、その情報から、これから印刷しようとする媒体Sのサイズに合うように画像が印刷されるような印刷データを生成する。コンピュータ140は、生成した印刷データをインクジェットプリンタ1に向けて送信する(S212)。   The computer 140 receives information related to the current position of the paper guide 9 from the inkjet printer 1 (S208). Then, the computer 140 generates print data based on the received information (S210). Here, the computer 140 acquires information on the size of the medium S actually set in the paper feed tray 8 from the information on the current position of the paper guide 9 sent from the inkjet printer 1, and from the information, Print data is generated so that an image is printed to fit the size of the medium S to be printed. The computer 140 transmits the generated print data to the inkjet printer 1 (S212).

インクジェットプリンタ1のコントローラ126は、コンピュータ140からの印刷データを受信すると(S240)、その受信した印刷データに基づき印刷処理を実行し(S242)、媒体Sに印刷を施す。   When the controller 126 of the inkjet printer 1 receives the print data from the computer 140 (S240), the controller 126 executes a print process based on the received print data (S242), and prints on the medium S.

===媒体のサイズと横幅寸法の関係===
図10は、媒体Sの各種定形サイズと、その横幅寸法とを具体的に示したものである。図11は、各種媒体Sの横幅寸法の関係を具体的に示したものである。ここでは、最も大きいサイズの媒体が「letter」となっている。この「letter」から、「A4」、「往復はがき」、「B5」、「A5」、「2L」、「A6」、「はがき」、「L」、「名刺」、「カード」の順に横幅寸法が小さくなっている。このように媒体Sの種類に応じて横幅寸法が異なることから、横幅寸法を検出することによって、媒体Sの種類を判別することも可能となる。
=== Relationship between media size and width dimension ===
FIG. 10 specifically shows various standard sizes of the medium S and the width dimensions thereof. FIG. 11 specifically shows the relationship between the width dimensions of various media S. Here, the medium of the largest size is “letter”. From this “letter”, “A4”, “round-trip postcard”, “B5”, “A5”, “2L”, “A6”, “postcard”, “L”, “business card”, “card” in this order. Is getting smaller. As described above, since the width dimension varies depending on the type of the medium S, it is possible to determine the type of the medium S by detecting the width dimension.

しかも、本実施形態に係るインクジェットプリンタ1では、位置センサ150により、用紙ガイド9の任意の位置を検出することができる。このことから、横幅寸法にあまり差がない媒体、例えば、「letter」と「A4」や、「A4」と「はがき」、「A6」と「はがき」、「名刺」と「カード」などについても、用紙ガイド9の位置を的確に検出して、媒体Sの種類をそれぞれ比較的簡単に判別することも可能となる。   In addition, in the inkjet printer 1 according to the present embodiment, the position sensor 150 can detect an arbitrary position of the paper guide 9. For this reason, media with little difference in width, such as “letter” and “A4”, “A4” and “postcard”, “A6” and “postcard”, “business card” and “card”, etc. It is also possible to detect the position of the paper guide 9 accurately and determine the type of the medium S relatively easily.

なお、ここで行われる位置センサ150からの検出結果に基づく媒体Sの種類を判別する処理は、インクジェットプリンタ1のコントローラ126により行われても良く、また外部に接続されたコンピュータ140により行われても良い。   Note that the processing for determining the type of the medium S based on the detection result from the position sensor 150 may be performed by the controller 126 of the inkjet printer 1 or performed by the computer 140 connected to the outside. Also good.

===まとめ===
以上本実施形態に係るインクジェットプリンタ1にあっては、給紙トレイ8に対する用紙ガイド9の任意の位置を検出することができる位置センサ150を備えたことから、給紙トレイ8にセットされた媒体Sのサイズを的確に取得することができる。これによって、印刷時等において、印刷しようとする媒体Sのサイズを調べることができる。
=== Summary ===
As described above, the inkjet printer 1 according to the present embodiment includes the position sensor 150 that can detect an arbitrary position of the paper guide 9 with respect to the paper feed tray 8. The size of S can be acquired accurately. Thereby, the size of the medium S to be printed can be checked during printing or the like.

また、本実施形態にあっては、位置センサ150が可変抵抗器76、82により構成されることで、用紙ガイド9の位置を精度良く簡単に検出することができる。   In the present embodiment, the position sensor 150 includes the variable resistors 76 and 82, so that the position of the paper guide 9 can be detected easily with high accuracy.

また、本実施形態にあっては、位置センサ150により、用紙ガイド9の任意の位置を検出することができることから、横幅寸法にあまり差がない媒体、例えば、「letter」と「A4」や、「A4」と「はがき」、「A6」と「はがき」、「名刺」と「カード」などについても、各々簡単に判別することも可能にすることができる。   In the present embodiment, since the position sensor 150 can detect an arbitrary position of the paper guide 9, a medium that does not have a great difference in width, such as “letter” and “A4”, “A4” and “postcard”, “A6” and “postcard”, “business card” and “card”, etc. can also be easily discriminated.

また、本実施形態にあっては、給紙トレイ8にセットされた媒体Sのサイズを位置センサ150により印刷前に事前に調べることができることによって、印刷しようとする媒体Sのサイズの合わせて印刷データを生成することができる。これにより、ユーザーにより設定された媒体Sのサイズが、実際に印刷しようとする媒体Sのサイズと異なる場合であっても、実際に印刷しようとする媒体Sのサイズに合った適切な印刷処理を実行することができる。   In the present embodiment, the size of the medium S set in the paper feed tray 8 can be checked in advance by the position sensor 150 before printing, so that printing is performed according to the size of the medium S to be printed. Data can be generated. Thereby, even when the size of the medium S set by the user is different from the size of the medium S to be actually printed, an appropriate printing process suitable for the size of the medium S to be actually printed is performed. Can be executed.

===他の給紙ユニットの構成===
図12は、他の給紙ユニット4の構成について説明するための図である。ここでは、給紙ユニット4には、給紙トレイ8と、用紙ガイド9A、9Bとが設けられている。給紙トレイ8には、印刷される媒体Sがセットされる。用紙ガイド9A、9Bは、給紙トレイ8にセットされた用紙等の媒体Sの位置ずれを規制するために設けられている。媒体Sは、これら2つの用紙ガイド9A、9Bの間にセットされる。2つの用紙ガイド9A、9Bは、給紙トレイ8にセットされた媒体Sを左右両側から挟み込んで、印刷時に媒体Sが、印刷部、即ちプラテン14側へと送られるときに、媒体Sに位置ずれが生じないように媒体Sを案内するようになっている。なお、これら2つの用紙ガイド9A、9Bのうちのいずれか一方は、本発明の規制ガイドに相当し、また他方は、本発明の他の規制ガイドに相当する。
=== Configuration of other paper feeding units ===
FIG. 12 is a diagram for explaining the configuration of another sheet feeding unit 4. Here, the paper feed unit 4 is provided with a paper feed tray 8 and paper guides 9A and 9B. A medium S to be printed is set in the paper feed tray 8. The paper guides 9 </ b> A and 9 </ b> B are provided to restrict the positional deviation of the medium S such as paper set in the paper feed tray 8. The medium S is set between these two paper guides 9A and 9B. The two paper guides 9A and 9B sandwich the medium S set on the paper feed tray 8 from the left and right sides, and are positioned on the medium S when the medium S is sent to the printing unit, that is, the platen 14 side during printing. The medium S is guided so that no deviation occurs. One of these two paper guides 9A and 9B corresponds to the regulation guide of the present invention, and the other corresponds to the other regulation guide of the present invention.

また、2つの用紙ガイド9A、9Bは、同図に示すように、給紙トレイ8の横幅方向、即ち図中矢印C方向に沿ってそれぞれスライド移動自在に設けられている。2つの用紙ガイド9A、9Bは、相互に連動して図中矢印C方向に沿って移動するように構成されている。すなわち、一方の用紙ガイド9Aが移動すると、他方の用紙ガイド9Bも連動して移動するようになっている。つまり、これら2つの用紙ガイド9A、9Bを相互に連動して移動させるような図示しない機構が給紙トレイ8の裏部等に設けられている。ここでは、一方の用紙ガイド9Aが他方の用紙ガイド9Bから離れる方向に移動した場合、他方の用紙ガイド9Bもこれに連動して、一方の用紙ガイド9Aから離れる方向に移動するようになっている。また、一方の用紙ガイド9Aが他方の用紙ガイド9Bに接近する方向に移動した場合には、他方の用紙ガイド9Bについてもこれに連動して、一方の用紙ガイド9Aに接近する方向に移動するようになっている。これにより、給紙トレイ8にセットされる媒体Sが、必ず給紙トレイ8の中央にセットされるようにすることができる。   Further, as shown in the figure, the two paper guides 9A and 9B are provided so as to be slidable along the lateral width direction of the paper feed tray 8, that is, in the direction of arrow C in the figure. The two paper guides 9A and 9B are configured to move in the direction of arrow C in the drawing in conjunction with each other. That is, when one paper guide 9A moves, the other paper guide 9B also moves in conjunction with it. That is, a mechanism (not shown) that moves these two paper guides 9A and 9B in conjunction with each other is provided on the back of the paper feed tray 8 or the like. Here, when one paper guide 9A moves in a direction away from the other paper guide 9B, the other paper guide 9B also moves in a direction away from one paper guide 9A. . Further, when one paper guide 9A moves in a direction approaching the other paper guide 9B, the other paper guide 9B also moves in a direction approaching one paper guide 9A in conjunction with this. It has become. Thereby, the medium S set in the paper feed tray 8 can be surely set in the center of the paper feed tray 8.

このように各々スライド移動自在に設けられた2つの用紙ガイド9A、9Bを備えた場合には、2つの用紙ガイド9A、9Bのうちの少なくとも一方の用紙ガイドの位置を検出することができれば、給紙トレイ8にセットされた媒体Sの横幅寸法を取得することができる。これにより、媒体Sのサイズや種類についても判別することができる。   In the case where the two paper guides 9A and 9B are provided so as to be freely slidable as described above, if the position of at least one of the two paper guides 9A and 9B can be detected, the paper supply The width of the medium S set on the paper tray 8 can be acquired. Thereby, the size and type of the medium S can also be determined.

===他の位置センサ===
<センサの概要>
図13は、他の位置センサの構成について説明したものである。この位置センサ152は、図13に示すように、位置検出用パターン90と、この位置検出用パターン90を読み取る光学センサ100とを備えている。位置検出用パターン90は、用紙ガイド9の位置を検出するために、給紙トレイ8側に設けられている。位置検出用パターン90は、給紙トレイ8の上面上に、用紙ガイド9の移動方向、即ちキャリッジ41の移動方向に沿って帯状に形成されている。この位置検出用パターン90は、シート材や接着テープなどに印刷されたりして給紙トレイ8上に貼付等により設けられている。
=== Other position sensors ===
<Outline of sensor>
FIG. 13 illustrates the configuration of another position sensor. As shown in FIG. 13, the position sensor 152 includes a position detection pattern 90 and an optical sensor 100 that reads the position detection pattern 90. The position detection pattern 90 is provided on the paper feed tray 8 side in order to detect the position of the paper guide 9. The position detection pattern 90 is formed in a band shape on the upper surface of the paper feed tray 8 along the movement direction of the paper guide 9, that is, the movement direction of the carriage 41. The position detection pattern 90 is printed on a sheet material, an adhesive tape, or the like, and is provided on the paper feed tray 8 by pasting or the like.

一方、光学センサ100は、同図に示すように、用紙ガイド9に設けられている。この光学センサ100は、給紙トレイ8に設けられた位置検出用パターン90の上方に、位置検出用パターン90に対向して設けられている。用紙ガイド9が移動すると、用紙ガイド9とともに、光学センサ100が、位置検出用パターン90の上方を位置検出用パターン90に沿って相対的に移動する。   On the other hand, the optical sensor 100 is provided in the paper guide 9 as shown in FIG. The optical sensor 100 is provided above the position detection pattern 90 provided on the paper feed tray 8 so as to face the position detection pattern 90. When the paper guide 9 moves, the optical sensor 100 moves relative to the position detection pattern 90 along the position detection pattern 90 together with the paper guide 9.

<光学センサの構成>
図14は、光学センサ100の構成を詳しく説明したものである。この光学センサ100は、反射型光学センサであり、同図に示すように、光を発光する発光部102と、光を受光する受光部104とを備えている。これら発光部102および受光部104は、位置検出用パターン90に対して所定の間隔Dをあけて、位置検出用パターン90に対向して配置される。発光部102は、例えば、発光ダイオードなどにより構成され、位置検出用パターン90に向けて光を発する。一方、受光部104は、例えば、フォトトランジスタなどにより構成され、位置検出用パターン90によって反射された光を受光する。
<Configuration of optical sensor>
FIG. 14 illustrates the configuration of the optical sensor 100 in detail. The optical sensor 100 is a reflective optical sensor and includes a light emitting unit 102 that emits light and a light receiving unit 104 that receives light, as shown in FIG. The light emitting unit 102 and the light receiving unit 104 are arranged to face the position detection pattern 90 with a predetermined distance D from the position detection pattern 90. The light emitting unit 102 is configured by a light emitting diode, for example, and emits light toward the position detection pattern 90. On the other hand, the light receiving unit 104 is configured by, for example, a phototransistor, and receives light reflected by the position detection pattern 90.

発光部102が発光する光のスポット径は、位置検出用パターン90の縦幅寸法Nとほぼ等しいか、若しくはそれよりも大きく設定される。これにより、発光部102から発せられた光は、位置検出用パターン90の縦幅方向全体にわたって照射される。受光部104には、位置検出用パターン90の縦幅方向全体にわたって反射された光が入射する。   The spot diameter of light emitted from the light emitting unit 102 is set to be approximately equal to or greater than the vertical width dimension N of the position detection pattern 90. Thereby, the light emitted from the light emitting unit 102 is irradiated over the entire length direction of the position detection pattern 90. The light reflected from the entire length direction of the position detection pattern 90 is incident on the light receiving unit 104.

受光部104は、当該受光部104に入射した光の強さに応じた信号を生成して出力する。つまり、受光部104に入射した光の強さが強い場合には、例えば、レベルの高い信号を生成して出力する。また、受光部104に入射した光の強さが弱い場合には、例えば、レベルの低い信号を生成して出力する。   The light receiving unit 104 generates and outputs a signal corresponding to the intensity of light incident on the light receiving unit 104. That is, when the intensity of light incident on the light receiving unit 104 is strong, for example, a high level signal is generated and output. When the intensity of light incident on the light receiving unit 104 is weak, for example, a low level signal is generated and output.

受光部104により生成された信号は、光学センサ100から検出信号として外部へと出力される。本実施形態では、光学センサ100の受光部104にて生成された信号は、コントローラ126へと出力される。   The signal generated by the light receiving unit 104 is output from the optical sensor 100 to the outside as a detection signal. In the present embodiment, the signal generated by the light receiving unit 104 of the optical sensor 100 is output to the controller 126.

<位置検出用パターン>
位置検出用パターン90について説明する。図15は、この位置検出用パターン90を詳しく示したものである。本実施形態の位置検出用パターン90は、同図に示すように、直角三角形状に形成された白色の領域WHと、同じく直角三角形状に形成された黒色の領域BKとの2つの異なる色の領域を有している。これら直角三角形状の白色の領域WHと、黒色の領域BKとは、相互に斜辺どうしが密着し、これら2つの直角三角形状の領域WH、BKによって、長方形状の横長な位置検出用パターン90が形成されている。
<Position for position detection>
The position detection pattern 90 will be described. FIG. 15 shows the position detection pattern 90 in detail. As shown in the figure, the position detection pattern 90 of the present embodiment has two different colors, a white area WH formed in a right triangle shape and a black area BK also formed in a right triangle shape. Has an area. The right triangle triangular white area WH and the black area BK are in close contact with each other, and the two rectangular triangle areas WH and BK form a rectangular horizontally long position detection pattern 90. Is formed.

白色の領域WHは、位置検出用パターン90の左部側に偏って設けられている。また、黒色の領域BKは、位置検出用パターン90の右部側に偏って設けられている。これにより、白色の領域WHと黒色の領域BKとの割合が、用紙ガイド9の移動方向に沿って異なっている。つまり、位置検出用パターン90の左側の部分では、黒色の領域BKの割合が、白色の領域WHの割合よりも大きくなっている。また、位置検出用パターン90の右側の部分では、白色の領域WHの割合が、黒色の領域BKの割合よりも大きくなっている。   The white region WH is provided so as to be biased to the left side of the position detection pattern 90. Further, the black region BK is provided so as to be biased toward the right side of the position detection pattern 90. Thereby, the ratio of the white area | region WH and the black area | region BK differs along the moving direction of the paper guide 9. FIG. That is, in the left portion of the position detection pattern 90, the ratio of the black area BK is larger than the ratio of the white area WH. In the right portion of the position detection pattern 90, the ratio of the white area WH is larger than the ratio of the black area BK.

このように白色の領域WHと黒色の領域BKとの割合が、位置検出用パターン90上の位置に応じて異なることで、発光部102から発光された光の反射率が異なっている。つまり、白色の領域WHの割合が黒色の領域BKの割合よりも大きい位置検出用パターン90の右側の部分では、光の反射率が低くなっている。また、白色の領域WHの割合が黒色の領域BKの割合よりも大きい位置検出用パターン90の右側の部分では、光の反射率が高くなっている。つまり、発光部102から発光された光の反射率は、位置検出用パターン90の右側の部分から左側の部分にかけて、用紙ガイド9の移動方向に沿って徐々に低くなっている。   As described above, the ratio of the white region WH and the black region BK varies depending on the position on the position detection pattern 90, so that the reflectance of the light emitted from the light emitting unit 102 is different. That is, the light reflectance is low in the right portion of the position detection pattern 90 in which the ratio of the white area WH is larger than the ratio of the black area BK. In addition, in the portion on the right side of the position detection pattern 90 in which the ratio of the white area WH is larger than the ratio of the black area BK, the light reflectance is high. That is, the reflectance of the light emitted from the light emitting unit 102 gradually decreases along the moving direction of the paper guide 9 from the right part to the left part of the position detection pattern 90.

このように位置検出用パターン90上の位置に応じて、発光部102から発光された光の反射率が異なることで、用紙ガイド9の現在位置を検出することができる。つまり、位置検出用パターン90上の位置に応じて反射される光の強さが異なるから、その反射された光の強さを調べることで、用紙ガイド9の位置を検出することができる。   As described above, the reflectance of the light emitted from the light emitting unit 102 varies depending on the position on the position detection pattern 90, so that the current position of the paper guide 9 can be detected. That is, since the intensity of the reflected light differs depending on the position on the position detection pattern 90, the position of the paper guide 9 can be detected by examining the intensity of the reflected light.

特に、本実施形態の位置検出用パターン90では、白色の領域WHと黒色の領域BKとの割合が、用紙ガイド9の移動方向に沿って徐々に変化していることから、給紙トレイ8に対する用紙ガイド9の任意の位置を検出することができる。   In particular, in the position detection pattern 90 of the present embodiment, the ratio of the white area WH and the black area BK gradually changes along the movement direction of the paper guide 9. An arbitrary position of the paper guide 9 can be detected.

また、位置検出用パターン90の長さLmは、用紙ガイド9の移動範囲に対応して設定されているから、用紙ガイド9がどこの位置に設置されていても、これを検出することができる。   Further, since the length Lm of the position detection pattern 90 is set corresponding to the movement range of the paper guide 9, it can be detected regardless of the position where the paper guide 9 is installed. .

<センサ制御部>
本実施形態の光学センサ100は、センサ制御部110により駆動制御されている。図16は、光学センサ100と、センサ制御部110とを備えた場合の本実施形態のインクジェットプリンタ1のシステム構成を示したものである。なお、光学センサ100とセンサ制御部110以外の他の構成要素については、先に説明してあるので、説明を省略する。
<Sensor control unit>
The optical sensor 100 of the present embodiment is driven and controlled by the sensor control unit 110. FIG. 16 shows a system configuration of the inkjet printer 1 of the present embodiment in the case where the optical sensor 100 and the sensor control unit 110 are provided. In addition, since it is demonstrated previously about other components other than the optical sensor 100 and the sensor control part 110, description is abbreviate | omitted.

センサ制御部110は、コントローラ126からの命令に従って光学センサ100を駆動する。つまり、センサ制御部110は、コントローラ126から命令があると、光学センサ100の発光部102から光を発光させたり、発光部102による発光を停止させたりする。さらに、センサ制御部110は、A/D変換部112を備え、このA/D変換部112により、光学センサ100の受光部104から出力された信号をアナログ信号からデジタル信号へと変換する。具体的には、センサ制御部110は、光学センサ100から出力された信号をA/D変換してデジタル信号に変換してデジタルデータとしてコントローラ126に出力する。   The sensor control unit 110 drives the optical sensor 100 in accordance with a command from the controller 126. In other words, the sensor control unit 110 causes the light emitting unit 102 of the optical sensor 100 to emit light or stops the light emission by the light emitting unit 102 when instructed by the controller 126. Further, the sensor control unit 110 includes an A / D conversion unit 112, and the A / D conversion unit 112 converts the signal output from the light receiving unit 104 of the optical sensor 100 from an analog signal to a digital signal. Specifically, the sensor control unit 110 performs A / D conversion on the signal output from the optical sensor 100, converts the signal into a digital signal, and outputs the digital signal to the controller 126.

<コントローラの処理>
コントローラ126は、センサ制御部110から出力された、光学センサ100の受光部104が受光した光の強さに関する情報に基づき、用紙ガイド9の現在位置を検出する。つまり、ここで、コントローラ126は、例えば、受光部104が受光した光の強さが強ければ強いほど、用紙ガイド9が給紙トレイ8の右側に移動していると判断する。一方、コントローラ126は、受光部104が受光した光の強さが弱ければ弱いほど、用紙ガイド9が給紙トレイ8の左側に移動していると判断する。
<Controller processing>
The controller 126 detects the current position of the paper guide 9 based on information regarding the intensity of light received by the light receiving unit 104 of the optical sensor 100 output from the sensor control unit 110. That is, here, for example, the controller 126 determines that the paper guide 9 is moved to the right side of the paper feed tray 8 as the intensity of light received by the light receiving unit 104 increases. On the other hand, the controller 126 determines that the paper guide 9 is moved to the left side of the paper feed tray 8 as the intensity of the light received by the light receiving unit 104 is weaker.

これにより、コントローラ126は、用紙ガイド9の現在位置を検出することができる。しかも、位置検出用パターン90は、図15に示すように、右側部から左側部にかけて、光学センサ100の発光部102が発光する光の反射率が異なっているから、コントローラ126は、用紙ガイド9の任意の位置を検出することができる。なお、本実施形態のコントローラ126は、本発明の検出部に相当する。   Thereby, the controller 126 can detect the current position of the paper guide 9. In addition, as shown in FIG. 15, the position detection pattern 90 has different reflectances of light emitted from the light emitting unit 102 of the optical sensor 100 from the right side to the left side. Can be detected at any position. Note that the controller 126 of this embodiment corresponds to a detection unit of the present invention.

===他の位置検出用パターン<1>===
図17は、他のタイプの位置検出用パターン92の一例を説明するものである。ここで用いられた位置検出用パターン92は、同図に示すように、用紙ガイド9の移動方向Bに沿って色の濃度が異なるパターンである。ここでは、黒色の濃度が用紙ガイド9の移動方向Bに沿って異なっている。また、位置検出用パターン92の右端部から左端部にかけて、色の濃度が徐々に濃くなるように設定されている。つまり、位置検出用パターン92の右端部では、黒色の濃度が薄く、白色に近い色となっている。また、位置検出用パターン92の左端部では、黒色の濃度が濃く、黒色に近い色となっている。位置検出用パターン92の右端部から左端部にかけては、灰色が徐々に濃くなっている。
=== Other Position Detection Pattern <1> ===
FIG. 17 illustrates an example of another type of position detection pattern 92. The position detection pattern 92 used here is a pattern having different color densities along the movement direction B of the paper guide 9 as shown in FIG. Here, the density of black is different along the moving direction B of the paper guide 9. Further, the color density is set to gradually increase from the right end to the left end of the position detection pattern 92. That is, at the right end portion of the position detection pattern 92, the density of black is light and the color is close to white. Further, at the left end portion of the position detection pattern 92, the black density is high and the color is close to black. From the right end portion to the left end portion of the position detection pattern 92, gray is gradually darkened.

このように色の濃度が、用紙ガイド9の移動方向に沿って位置検出用パターン92上の位置に応じて異なることで、発光部102から発光された光の反射率も異なる。つまり、ここでは、黒色の濃度が薄い位置検出用パターン92の右端部では、光の反射率が低く、また、黒色の濃度が濃い位置検出用パターン92の左端部では、光の反射率が高くなっている。   As described above, the color density varies depending on the position on the position detection pattern 92 along the movement direction of the paper guide 9, so that the reflectance of the light emitted from the light emitting unit 102 also varies. That is, here, the light reflectance is low at the right end portion of the position detection pattern 92 with a low black density, and the light reflectance is high at the left end portion of the position detection pattern 92 with a high black density. It has become.

このように位置検出用パターン92上の位置に応じて、発光部102から発光された光の反射率が異なることで、用紙ガイド9の現在位置を検出することができる。特に、この位置検出用パターン92においては、色の濃度が、用紙ガイド9の移動方向に沿って徐々に変化していることから、給紙トレイ8に対する用紙ガイド9の任意の位置を検出することができる。   As described above, the reflectance of the light emitted from the light emitting unit 102 differs depending on the position on the position detection pattern 92, so that the current position of the paper guide 9 can be detected. In particular, in this position detection pattern 92, since the color density gradually changes along the movement direction of the paper guide 9, an arbitrary position of the paper guide 9 with respect to the paper feed tray 8 is detected. Can do.

なお、この場合、光学センサ100の発光部102のスポット径については、前述した実施形態のように、位置検出用パターン92の幅寸法Nとほぼ等しいか、若しくはそれよりも大きく設定される必要はない。つまり、ここでは、色の濃度が異なることにより、光の反射率が異なっているから、位置検出用パターン92上のどのポイントに発光部102から光を照射しても、位置検出用パターン92上の位置に応じた光の反射率の相違を検出することができる。このような位置検出用パターン92であっても、用紙ガイド9の任意の位置を検出することができる。   In this case, the spot diameter of the light emitting unit 102 of the optical sensor 100 needs to be set substantially equal to or larger than the width dimension N of the position detection pattern 92 as in the above-described embodiment. Absent. That is, here, since the reflectance of light varies depending on the color density, no matter which point on the position detection pattern 92 is irradiated with light from the light emitting unit 102, It is possible to detect a difference in the reflectance of light according to the position. Even with such a position detection pattern 92, an arbitrary position of the paper guide 9 can be detected.

===他の位置検出用パターン<2>===
図18は、本発明の位置検出用パターンとして、他の位置検出用パターンの例を示したものである。ここでは、位置検出用パターンとして、直角三角形状の黒色の領域BKを1つ有する第1パターン98Aと、直角三角形状の黒色の領域BK1、BK2、BK3を複数有する第2パターン98Bとが設けられている。ここで、第1パターン98Aは、直角三角形状に形成された黒色の領域BKと、同じく直角三角形状に形成された白色の領域WHとを有している。これら2つの領域BK、WHは、相互に斜辺どうしが密着して、横長な長方形状の第1パターン98Aをなしている。
=== Other Position Detection Pattern <2> ===
FIG. 18 shows another example of the position detection pattern as the position detection pattern of the present invention. Here, as a position detection pattern, a first pattern 98A having one black triangle-shaped area BK and a second pattern 98B having a plurality of right-triangle black areas BK1, BK2, BK3 are provided. ing. Here, the first pattern 98A has a black region BK formed in a right triangle shape and a white region WH similarly formed in a right triangle shape. These two regions BK and WH are in contact with each other at the hypotenuse to form a horizontally long first pattern 98A.

一方、第2パターン98Bは、ここでは、直角三角形状の黒色の領域BK1、BK2、BK3を3つ有している。各黒色の領域BK1、BK2、BK3は、用紙ガイド9の移動方向に沿って、相互に間隔をあけて離散して配置されている。さらに本実施形態では、各黒色の領域BK1、BK2、BK3の大きさが異なっている。ここでは、黒色の領域BK1の大きさが最も大きく、次に黒色の領域BK2、黒色の領域BK3の順になっている。これら黒色の領域BK1、BK2、BK3は、用紙ガイド9の位置検出をより高精度に行うために設けられている。   On the other hand, the second pattern 98B has three black areas BK1, BK2, and BK3 in a right triangle shape here. The black areas BK1, BK2, and BK3 are discretely arranged at intervals from each other along the moving direction of the paper guide 9. Furthermore, in the present embodiment, the sizes of the black areas BK1, BK2, and BK3 are different. Here, the size of the black region BK1 is the largest, followed by the black region BK2 and the black region BK3 in this order. These black areas BK1, BK2, BK3 are provided in order to detect the position of the paper guide 9 with higher accuracy.

すなわち、第1パターン98Aでは、直角三角形状の黒色の領域BKが1つしか設けられていないことから、この第1パターン98Aのみ基づいて用紙ガイド9の位置検出を行った場合に、横幅寸法にあまり差がない媒体Sの場合に、媒体Sの横幅寸法を正確に検出することができず、媒体Sの種類を的確に把握することが困難になる虞がある。そこで、第1パターン98Aの他に、第2パターン98Bも併用して位置検出を行う。   That is, in the first pattern 98A, only one right-angled triangular black region BK is provided. Therefore, when the position of the paper guide 9 is detected based only on the first pattern 98A, the width dimension is reduced. In the case of the medium S that is not so different, the width dimension of the medium S cannot be accurately detected, and it may be difficult to accurately grasp the type of the medium S. Therefore, position detection is performed using the second pattern 98B in addition to the first pattern 98A.

第2パターン98Bの3つの黒色の領域BK1、BK2、BK3は、それぞれ横幅寸法にあまり差がない媒体Sの種類をより正確に判別することができるようにするために、それらの媒体Sの横幅寸法に対応する位置付近にそれぞれ設けられている。例えば、黒色の領域BK1は、「letter」、「A4」および「往復はがき」の間の判別をより正確に行うために設けられる。また、黒色の領域BK2は、「A6」、「はがき」および「L」の間の判別をより正確に行うために設けられる。また、黒色の領域BK3は、「名刺」および「カード」の間の判別をより正確に行うために設けられる。これら3つの黒色の領域BK1、BK2、BK3が設けられていることによって、横幅寸法が非常に近い媒体Sの種類をより高精度に判別することができるようになる。   The three black areas BK1, BK2, and BK3 of the second pattern 98B are arranged so that the width of the medium S can be more accurately determined. It is provided in the vicinity of the position corresponding to the dimension. For example, the black region BK1 is provided in order to more accurately determine between “letter”, “A4”, and “reciprocal postcard”. The black region BK2 is provided to more accurately determine “A6”, “postcard”, and “L”. Further, the black area BK3 is provided for more accurately discriminating between “business card” and “card”. By providing these three black areas BK1, BK2, and BK3, the type of the medium S having a very horizontal width can be determined with higher accuracy.

なお、ここでは、これら第1パターン98Aおよび第2パターン98Bを各々個別に検出するために、2つの光学センサ100A、100Bが、用紙ガイド9に一体的に設けられている。   Here, in order to individually detect the first pattern 98A and the second pattern 98B, two optical sensors 100A and 100B are integrally provided on the paper guide 9.

また、ここでは、直角三角形状の黒色の領域BK、BK1、BK2、BK3を有する第1パターン98Aおよび第2パターン98Bを用いた場合について説明したが、これら第1パターン98Aおよび第2パターン98Bの代わりに、図17で説明するような、用紙ガイド9の移動方向に沿って色の濃度が異なるパターンが設けられても良い。   Further, here, the case where the first pattern 98A and the second pattern 98B having black areas BK, BK1, BK2, and BK3 having a right triangle shape are used has been described. However, the first pattern 98A and the second pattern 98B Instead, patterns having different color densities may be provided along the movement direction of the paper guide 9 as described in FIG.

===印刷システム等の構成===
次に、本発明に係る印刷システムの一実施形態について、印刷装置としてインクジェットプリンタ1を備えた場合を例に説明する。図19は、本発明に係る印刷システムの一実施形態の外観構成を示したものである。この印刷システム300は、コンピュータ140と、表示装置304と、入力装置306とを備えている。コンピュータ140は、パーソナルコンピュータなどをはじめとする各種コンピュータにより構成される。
=== Configuration of Printing System etc. ===
Next, an embodiment of a printing system according to the present invention will be described by taking as an example a case where the inkjet printer 1 is provided as a printing apparatus. FIG. 19 shows an external configuration of an embodiment of a printing system according to the present invention. The printing system 300 includes a computer 140, a display device 304, and an input device 306. The computer 140 includes various computers such as a personal computer.

コンピュータ140は、フロッピーディスクドライブ装置314やCD−ROMドライブ装置316などの読み取り装置312を備える。この他に、コンピュータ140は、例えば、MO(Magnet Optical)ディスクドライブ装置やDVDドライブ装置などを備えても良い。また、表示装置304は、CRTディスプレイやプラズマディスプレイ、液晶ディスプレイ等など、各種表示装置により構成される。入力装置306は、キーボード308やマウス310などにより構成される。   The computer 140 includes a reading device 312 such as a floppy disk drive device 314 and a CD-ROM drive device 316. In addition, the computer 140 may include, for example, an MO (Magnet Optical) disk drive device or a DVD drive device. The display device 304 includes various display devices such as a CRT display, a plasma display, and a liquid crystal display. The input device 306 includes a keyboard 308, a mouse 310, and the like.

図20は、本実施形態の印刷システムのシステム構成の一例を示したブロック構成図である。コンピュータ140は、フロッピーディスクドライブ装置314やCD−ROMドライブ装置316などの読み取り装置312の他に、CPU318と、メモリ320と、ハードディスクドライブ322とを備えている。   FIG. 20 is a block diagram showing an example of the system configuration of the printing system according to the present embodiment. The computer 140 includes a CPU 318, a memory 320, and a hard disk drive 322 in addition to a reading device 312 such as a floppy disk drive device 314 and a CD-ROM drive device 316.

CPU318は、コンピュータ140の全体の制御を行う。また、メモリ320には、各種データが記憶される。ハードディスクドライブ322には、本実施形態のインクジェットプリンタ1等の印刷装置を制御するためのプログラムとして、プリンタドライバなどがインストールされている。CPU318は、ハードディスクドライブ322に記憶されたプリンタドライバなどのプログラムを読み込んで、プログラムに従って動作する。また、CPU318には、コンピュータ140の外部に設置された表示装置304や入力装置306、インクジェットプリンタ1などが接続される。   The CPU 318 performs overall control of the computer 140. The memory 320 stores various data. A printer driver or the like is installed in the hard disk drive 322 as a program for controlling a printing apparatus such as the ink jet printer 1 of the present embodiment. The CPU 318 reads a program such as a printer driver stored in the hard disk drive 322 and operates according to the program. The CPU 318 is connected to a display device 304, an input device 306, the ink jet printer 1, and the like installed outside the computer 140.

なお、このようにして実現された印刷システム300は、システム全体として従来システムよりも優れたシステムとなる。   The printing system 300 realized in this way is a system that is superior to the conventional system as a whole system.

===その他の実施の形態===
以上、一実施形態に基づき、本発明に係るプリンタ等の印刷装置について説明したが、上記の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更または改良され得るとともに、本発明には、その等価物が含まれることは言うまでもない。特に、以下に述べる実施形態であっても、本発明に係る印刷装置に含まれるものである。
=== Other Embodiments ===
As described above, the printing apparatus such as a printer according to the present invention has been described based on one embodiment. However, the above-described embodiment is for facilitating the understanding of the present invention, and the present invention is limited and interpreted. Not meant to be The present invention can be changed or improved without departing from the gist thereof, and needless to say, the present invention includes equivalents thereof. In particular, even the embodiments described below are included in the printing apparatus according to the present invention.

また、本実施形態において、ハードウェアによって実現されていた構成の一部又は全部をソフトウェアによって置き換えてもよく、逆に、ソフトウェアによって実現されていた構成の一部をハードウェアによって置き換えてもよい。   In the present embodiment, part or all of the configuration realized by hardware may be replaced by software, and conversely, part of the configuration realized by software may be replaced by hardware.

また、印刷装置(インクジェットプリンタ1等)側にて行っていた処理の一部をコンピュータ140側にて行ってよく、また印刷装置(インクジェットプリンタ1等)とコンピュータ140との間に専用の処理装置を介設して、この処理装置にて処理の一部を行わせるようにしてもよい。   Further, a part of the processing performed on the printing apparatus (inkjet printer 1 or the like) side may be performed on the computer 140 side, and a dedicated processing apparatus is provided between the printing apparatus (inkjet printer 1 or the like) and the computer 140. A part of the processing may be performed by this processing apparatus.

<給紙部について>
前述した実施の形態では、本発明の給紙部として、印刷装置(インクジェットプリンタ1)の背部に、媒体Sが斜めにセットされるような給紙トレイ8を例にして説明したが、本発明の給紙部にあっては、このような給紙部に限らない。つまり、媒体Sが斜めではなく水平にセットされる給紙トレイを備えた給紙部であっても良い。また、印刷装置に着脱自在に装着されるような給紙カセットなども、本発明の給紙部に該当する。この他、印刷される媒体Sがセットされる部位であれば、いかなる部位も、本発明の給紙部に該当する。
<About the paper feed unit>
In the above-described embodiment, the paper feed tray 8 in which the medium S is obliquely set on the back of the printing apparatus (inkjet printer 1) has been described as an example of the paper feed unit of the present invention. However, the sheet feeding unit is not limited to such a sheet feeding unit. That is, it may be a paper feed unit having a paper feed tray on which the medium S is set not horizontally but horizontally. A paper feed cassette that is detachably attached to the printing apparatus also corresponds to the paper feed unit of the present invention. In addition, any part as long as the medium S to be printed is set corresponds to the paper feeding unit of the present invention.

<規制ガイドについて>
前述した実施の形態では、本発明の規制ガイドとして、図1や図6、図7、図8、図12、図13に示すようなつまみ部10を有する長方形状の用紙ガイド9を例にして説明したが、本発明の規制ガイドにあっては、このような用紙ガイド9に限らない。つまり、給紙トレイ8にセットされた媒体Sの端部近傍にて媒体Sの位置ずれを規制するために、給紙トレイ8に相対的に移動自在に設けられたガイドであれば、どのようなタイプや形状の規制ガイドであっても構わない。
<Regulation guide>
In the embodiment described above, a rectangular paper guide 9 having a knob portion 10 as shown in FIGS. 1, 6, 7, 8, 12, and 13 is taken as an example of the regulation guide of the present invention. As described above, the regulation guide of the present invention is not limited to such a paper guide 9. That is, as long as the guide is provided so as to be relatively movable on the paper feed tray 8 in order to regulate the positional deviation of the medium S in the vicinity of the end of the medium S set on the paper feed tray 8 It may be a regulation guide of any type or shape.

<可変抵抗器について>
前述した実施の形態では、本発明の可変抵抗器として、回転式可変抵抗器76やスライド式可変抵抗器82が開示されていたが、本発明の可変抵抗器にあっては、これらの可変抵抗器76、82に限らず、給紙部に対する規制ガイド(用紙ガイド9)の任意の位置に応じて抵抗値が変化する抵抗器であれば、どのような抵抗器であっても良い。
<About variable resistors>
In the above-described embodiment, the rotary variable resistor 76 and the slide type variable resistor 82 are disclosed as the variable resistors of the present invention. However, in the variable resistor of the present invention, these variable resistors are disclosed. Any resistor may be used as long as it is a resistor whose resistance value changes in accordance with an arbitrary position of the regulation guide (sheet guide 9) with respect to the sheet feeding unit.

<位置センサについて>
前述した実施の形態では、本発明の位置センサとして、回転式可変抵抗器76やスライド式可変抵抗器82等の可変抵抗器を備えた位置センサ150や、位置検出用パターン90、92や光学センサ100を備えた位置センサ152が、具体的に例示されていたが、本発明にあっては、このような位置センサに限らない。すなわち、本発明の位置センサとしては、給紙トレイ8に対する規制ガイド(用紙ガイド9)の任意の位置を検出することができるセンサであれば、どのようなセンサであっても構わない。
<About the position sensor>
In the above-described embodiment, as the position sensor of the present invention, the position sensor 150 including variable resistors such as the rotary variable resistor 76 and the slide type variable resistor 82, the position detection patterns 90 and 92, and the optical sensor. Although the position sensor 152 having 100 is specifically exemplified, the present invention is not limited to such a position sensor. That is, the position sensor of the present invention may be any sensor as long as it can detect an arbitrary position of the regulation guide (paper guide 9) with respect to the paper feed tray 8.

<光学センサについて>
前述した実施の形態では、本発明の光学センサとして、図13や図14、図17に示すような、給紙方向に沿って発光部102および受光部104が配列された光学センサ100が開示されていたが、本発明の光学センサは、必ずしもこのような構成にする必要はない。つまり、給紙部側に設けられた位置検出用パターンに向けて光を発する発光部と、位置検出用パターンによって反射された光を受ける受光部とを備えれば、どのようなタイプの光学センサであっても構わない。
<About optical sensors>
In the above-described embodiment, an optical sensor 100 in which the light emitting unit 102 and the light receiving unit 104 are arranged along the paper feeding direction as shown in FIGS. 13, 14, and 17 is disclosed as the optical sensor of the present invention. However, the optical sensor of the present invention does not necessarily have such a configuration. In other words, any type of optical sensor may be used as long as it includes a light emitting unit that emits light toward a position detection pattern provided on the paper feeding unit side and a light receiving unit that receives light reflected by the position detection pattern. It does not matter.

<位置検出用パターンについて>
前述した実施の形態では、本発明の位置検出用パターンとして、少なくとも2以上の異なる色の領域を有し、各色の領域の割合が規制ガイド(用紙ガイド9)の移動方向に沿って異なる位置検出用パターン90と、規制ガイド(用紙ガイド9)の移動方向に沿って色の濃度が異なる位置検出用パターン92とを例にして説明したが、本発明の位置検出用パターンにあっては、これらのパターンに限られない。すなわち、規制ガイド(用紙ガイド9)の給紙部に対する位置を検出するためのパターンであれば、どのようなパターンであっても構わない。
<Regarding the pattern for position detection>
In the embodiment described above, the position detection pattern of the present invention has at least two or more different color areas, and the ratio of each color area varies along the moving direction of the regulation guide (paper guide 9). The pattern 90 for detection and the position detection pattern 92 having different color densities along the movement direction of the regulation guide (paper guide 9) have been described as examples. However, in the position detection pattern of the present invention, these It is not limited to the pattern. That is, any pattern may be used as long as it is a pattern for detecting the position of the regulation guide (paper guide 9) with respect to the paper feed unit.

また、前述した実施の形態では、給紙トレイ8へとの位置検出用パターン90、92の形成方法として、シート材や接着テープなどに印刷されたりして給紙トレイ8に貼付等により設ける方法を開示したが、本発明の位置検出用パターンを給紙部側に設ける方法としては、このような方法に限らない。すなわち、位置検出用パターンは、必ずしも給紙トレイ8に設けられる必要はなく、また、貼付などにより必ずしも設けられる必要はない。例えば、給紙トレイ8の表面に、コーティングや塗装等により直接パターンを形成したり、また、ざらつき面を加工により形成するなどして、規制ガイド(用紙ガイド9)の移動方向に沿って光の反射率が異なるパターンを形成しても良い。また、この他に、光学センサ100と反射部との間の距離に応じて、光学センサ100から発せられた光の反射率が異なることを利用して、給紙トレイ8上に凹凸部を設けて位置検出用パターンを形成するようにしても良い。   In the above-described embodiment, as a method of forming the position detection patterns 90 and 92 on the paper feed tray 8, a method of printing on a sheet material, adhesive tape, or the like and providing the paper feed tray 8 by pasting or the like. However, the method of providing the position detection pattern of the present invention on the sheet feeding unit side is not limited to such a method. That is, the position detection pattern does not necessarily have to be provided on the paper feed tray 8 and does not necessarily have to be provided by sticking or the like. For example, a pattern is directly formed on the surface of the paper feed tray 8 by coating or painting, or a rough surface is formed by processing, so that the light guides along the moving direction of the regulation guide (paper guide 9). Patterns with different reflectivities may be formed. In addition to this, an uneven portion is provided on the paper feed tray 8 by utilizing the fact that the reflectance of the light emitted from the optical sensor 100 differs depending on the distance between the optical sensor 100 and the reflecting portion. Thus, a position detection pattern may be formed.

また、光の反射率が異なるパターンとして、少なくとも2以上の異なる色の領域を有し、各色の領域の割合が規制ガイド(用紙ガイド9)の移動方向に沿って異なる位置検出用パターン90と、規制ガイド(用紙ガイド9)の移動方向に沿って色の濃度が異なる位置検出用パターン92とを例にして説明したが、これらの位置検出用パターン90、92に限られない。すなわち、規制ガイド(用紙ガイド9)の移動方向に沿って光の反射率が異なるパターンであれば、どのようなパターンであっても良い。   Further, as a pattern having different light reflectance, there are at least two or more different color regions, and the position detection pattern 90 in which the proportion of each color region is different along the movement direction of the regulation guide (paper guide 9); The position detection patterns 92 having different color densities along the movement direction of the regulation guide (paper guide 9) have been described as an example. However, the position detection patterns 90 and 92 are not limited thereto. That is, any pattern may be used as long as the reflectance of light varies along the movement direction of the regulation guide (paper guide 9).

<位置検出用パターンの色>
前述した実施の形態では、位置検出用パターン90、92の色として、白色と黒色とを用いていたが、本発明の位置検出用パターンにあっては、このような色に限られない。すなわち、例えば、すなわち、例えば、ブルーやイエロ、レッド、グリーンなど、様々な色が用いられても良い。
<Color of position detection pattern>
In the embodiment described above, white and black are used as the colors of the position detection patterns 90 and 92. However, the position detection pattern of the present invention is not limited to such colors. That is, for example, various colors such as blue, yellow, red, and green may be used.

また、位置検出用パターン90、92を構成するための1つの色として、給紙トレイ8等の給紙トレイ8の下地色を用いても良い。つまり、例えば、図6や図8で説明するような位置検出用パターンの場合には、直角三角形状の黒色の領域BKまたは白色の領域WHを、給紙トレイ8の下地色により形成しても良い。すなわち、黒色の領域BKおよび白色の領域WHのうちのどちらか一方のみを印刷やシール等により形成する。   In addition, the background color of the paper feed tray 8 such as the paper feed tray 8 may be used as one color for configuring the position detection patterns 90 and 92. That is, for example, in the case of the position detection pattern described with reference to FIGS. 6 and 8, the black area BK or the white area WH having a right triangle shape may be formed by the background color of the paper feed tray 8. good. That is, only one of the black region BK and the white region WH is formed by printing, sealing, or the like.

<検出部について>
前述した実施の形態では、本発明の検出部として、印刷装置(インクジェットプリンタ1)のコントローラ126により、光学センサから出力された信号に基づき、規制ガイド(用紙ガイド9)の位置を検出していたが、本発明の検出部にあっては、このような場合に限らない。すなわち、本発明の検出部としては、光学センサから出力された信号に基づき、規制ガイドの位置を検出するための専用の処理装置等を備えていても良い。
<About the detector>
In the embodiment described above, the position of the regulation guide (paper guide 9) is detected based on the signal output from the optical sensor by the controller 126 of the printing apparatus (inkjet printer 1) as the detection unit of the present invention. However, the detection unit of the present invention is not limited to such a case. That is, the detection unit of the present invention may include a dedicated processing device for detecting the position of the regulation guide based on the signal output from the optical sensor.

<他の規制ガイドについて>
前述した実施の形態では、本発明の他の規制ガイドとして、図6で説明したような給紙トレイ8の右側に沿って設けられた突起部62Bと、図13で説明したように、給紙部に対して相対的に移動自在に設けられた用紙ガイド9Bとを例にして説明したが、本発明の他の規制ガイドにあっては、これらに限られない。
<About other regulation guides>
In the above-described embodiment, as another regulation guide of the present invention, the protrusion 62B provided along the right side of the paper feed tray 8 as described in FIG. 6 and the paper feed as described in FIG. The sheet guide 9B provided so as to be relatively movable with respect to the section has been described as an example. However, other restriction guides of the present invention are not limited thereto.

<印刷装置について>
前述した実施の形態では、本発明に係る印刷装置としては、前述したようなインクジェットプリンタ1の場合を例にして説明したが、このような印刷装置に限らず、他の方式によりインクを吐出するインクジェットプリンタをはじめ、その他、インクを吐出しないタイプのプリンタ、例えば、ドットインパクト式プリンタや熱転写プリンタ、またレーザービーム式プリンタなど、印刷機能を備えた装置であれば、どのような装置であっても本発明の印刷装置に含まれる。
<About printing devices>
In the above-described embodiment, the case of the ink jet printer 1 as described above has been described as an example of the printing apparatus according to the present invention. However, the present invention is not limited to such a printing apparatus, and ink is ejected by other methods. Inkjet printers and other types of printers that do not eject ink, such as dot impact printers, thermal transfer printers, and laser beam printers, are any devices that have a printing function. It is included in the printing apparatus of the present invention.

<媒体について>
媒体Sについては、普通紙やマット紙、カット紙、光沢紙、ロール紙、用紙、写真用紙、ロールタイプ写真用紙等をはじめ、これらの他に、OHPフィルムや光沢フィルム等のフィルム材や布材、金属板材などであっても構わない。すなわち、印刷対象となり得るものであれば、どのような媒体であっても構わない。
<About media>
The medium S includes plain paper, matte paper, cut paper, glossy paper, roll paper, paper, photographic paper, roll-type photographic paper, etc. In addition to these, film materials and cloth materials such as OHP film and glossy film Alternatively, a metal plate material or the like may be used. That is, any medium can be used as long as it can be a printing target.

本発明に係る印刷装置の一実施形態の斜視図。1 is a perspective view of an embodiment of a printing apparatus according to the present invention. 印刷装置の内部構成を説明した斜視図。FIG. 3 is a perspective view illustrating an internal configuration of the printing apparatus. 印刷装置の搬送部を示す断面図。Sectional drawing which shows the conveyance part of a printing apparatus. 印刷装置のシステム構成を示すブロック構成図。1 is a block configuration diagram showing a system configuration of a printing apparatus. 印刷処理の一例を説明するフローチャート。6 is a flowchart for explaining an example of printing processing. 給紙ユニットを説明するための説明図。Explanatory drawing for demonstrating a paper feed unit. 図7Aは、位置センサの構成を説明する平面図であり、図7Bは、位置センサの構成を説明する側面図である。FIG. 7A is a plan view illustrating the configuration of the position sensor, and FIG. 7B is a side view illustrating the configuration of the position sensor. 図8Aは、他の位置センサの構成を説明する平面図であり、図8Bは、他の位置センサの構成を説明する側面図である。FIG. 8A is a plan view illustrating the configuration of another position sensor, and FIG. 8B is a side view illustrating the configuration of another position sensor. 印刷装置とコンピュータとの間のやりとりの一例を説明する図。FIG. 3 is a diagram illustrating an example of an exchange between a printing apparatus and a computer. 媒体の各種定形サイズと、その横幅寸法とを説明する図。The figure explaining various fixed size of a medium, and its width dimension. 各種定形サイズの媒体の横幅寸法の関係を説明する図。The figure explaining the relationship of the width dimension of the medium of various fixed sizes. 給紙ユニットの他の構成例について説明する図。FIG. 6 is a diagram illustrating another configuration example of a sheet feeding unit. 他のタイプの位置センサの構成を説明する平面図。The top view explaining the structure of the position sensor of another type. 他のタイプの位置センサの構成を説明する側面図。The side view explaining the structure of another type of position sensor. 位置検出用パターンの一例を詳しく示した図。The figure which showed in detail an example of the pattern for position detection. 他のタイプの位置センサを備えたときのシステム構成図。The system block diagram when providing another type of position sensor. 他のタイプの位置検出用パターンの一例を示した図。The figure which showed an example of the pattern for another type of position detection. 他のタイプの位置検出用パターンの一例を示した図。The figure which showed an example of the pattern for another type of position detection. 本発明に係る印刷システムの一例の外観を示す斜視図。1 is a perspective view showing an appearance of an example of a printing system according to the present invention. 本発明に係る印刷システムの一例のシステム構成を示すブロック構成図。1 is a block configuration diagram showing a system configuration of an example of a printing system according to the present invention.

符号の説明Explanation of symbols

1 インクジェットプリンタ、2 操作パネル、3 排紙部、4 給紙ユニット、
5 操作ボタン、6 表示ランプ、7 排紙トレイ、8 給紙トレイ、9 用紙ガイド、
9A 用紙ガイド、9B 用紙ガイド、10 つまみ部、13 給紙ローラ、
14 プラテン、15 搬送モータ、17A 搬送ローラ、17B 排紙ローラ、
18A フリーローラ、18B フリーローラ、21 ヘッド、31 ポンプ装置、
35 キャッピング装置、41 キャリッジ、42 キャリッジモータ、
44 プーリ、45 タイミングベルト、46 ガイドレール、
48 インクカートリッジ、49 カートリッジ装着部、51 リニア式エンコーダ、
53 紙検知センサ、62A 突起部、62B 突起部、
70 ターンベルト、72 プーリー、74 プーリー、76 回転式可変抵抗器、
78 回転軸、80 可変抵抗器本体、82 スライド式可変抵抗器、
84 スライダ、86 可変抵抗器本体、88 ガイド溝、
90 位置検出用パターン、92 位置検出用パターン、98A 第1パターン、
98B 第2パターン、100 光学センサ、100A 光学センサ、
100B 光学センサ、102 発光部、104 受光部、110 センサ制御部、
112 A/D変換部、122 バッファメモリ、124 イメージバッファ、
126 コントローラ、127 メインメモリ、128 キャリッジモータ制御部、
129 通信インターフェース、130 搬送制御部、132 ヘッド駆動部、
134 ロータリ式エンコーダ、140 コンピュータ、150 位置センサ、
152 位置センサ、211Y ノズル群、211M ノズル群、211C ノズル群、
211K ノズル群、300 印刷システム、304 表示装置、306 入力装置、
308 キーボード、310 マウス、312 読み取り装置、
314 フロッピーディスクドライブ装置、316 CD−ROMドライブ装置、
318 CPU、320 メモリ、322 ハードディスクドライブ
1 Inkjet printer, 2 operation panel, 3 paper discharge unit, 4 paper feed unit,
5 operation buttons, 6 indicator lamps, 7 paper discharge tray, 8 paper feed tray, 9 paper guide,
9A paper guide, 9B paper guide, 10 knob, 13 paper feed roller,
14 platen, 15 transport motor, 17A transport roller, 17B paper discharge roller,
18A free roller, 18B free roller, 21 heads, 31 pump device,
35 capping device, 41 carriage, 42 carriage motor,
44 pulley, 45 timing belt, 46 guide rail,
48 ink cartridge, 49 cartridge mounting part, 51 linear encoder,
53 Paper detection sensor, 62A protrusion, 62B protrusion,
70 turn belts, 72 pulleys, 74 pulleys, 76 rotary variable resistors,
78 rotating shaft, 80 variable resistor body, 82 sliding variable resistor,
84 Slider, 86 Variable resistor body, 88 Guide groove,
90 position detection pattern, 92 position detection pattern, 98A first pattern,
98B second pattern, 100 optical sensor, 100A optical sensor,
100B optical sensor, 102 light emitting unit, 104 light receiving unit, 110 sensor control unit,
112 A / D converter, 122 buffer memory, 124 image buffer,
126 controller, 127 main memory, 128 carriage motor control unit,
129 communication interface, 130 transport control unit, 132 head drive unit,
134 rotary encoder, 140 computer, 150 position sensor,
152 position sensor, 211Y nozzle group, 211M nozzle group, 211C nozzle group,
211K nozzle group, 300 printing system, 304 display device, 306 input device,
308 keyboard, 310 mouse, 312 reader,
314 floppy disk drive device, 316 CD-ROM drive device,
318 CPU, 320 memory, 322 hard disk drive

Claims (13)

(A)印刷される媒体がセットされる給紙部と、
(B)前記給紙部にセットされた前記媒体の端部近傍にて前記媒体の位置ずれを規制するために、前記給紙部に対して相対的に移動自在に設けられた規制ガイドと、
(C)前記給紙部に対する前記規制ガイドの任意の位置を検出可能な位置センサと、
(D)を備えたことを特徴とする印刷装置。
(A) a paper feed unit on which a medium to be printed is set;
(B) a regulation guide provided to be movable relative to the paper feed unit in order to regulate the positional deviation of the medium in the vicinity of the end of the medium set in the paper feed unit;
(C) a position sensor capable of detecting an arbitrary position of the regulation guide with respect to the paper feeding unit;
A printing apparatus comprising (D).
前記位置センサは、前記給紙部に対する前記規制ガイドの位置に応じて抵抗値が変化する可変抵抗器を有していることを特徴とする請求項1に記載の印刷装置。   The printing apparatus according to claim 1, wherein the position sensor includes a variable resistor whose resistance value changes in accordance with a position of the regulation guide with respect to the sheet feeding unit. 前記可変抵抗器は、回転式可変抵抗器またはスライド式可変抵抗器であることを特徴とする請求項2に記載の印刷装置。   The printing apparatus according to claim 2, wherein the variable resistor is a rotary variable resistor or a slide type variable resistor. 前記位置センサは、前記給紙部に対する前記規制ガイドの位置を検出するために、前記給紙部側に設けられた位置検出用パターンと、
前記規制ガイド側に設けられ、前記位置検出用パターンに向けて光を発する発光部と、前記位置検出用パターンから反射された光を受ける受光部とを有し、前記受光部が受けた光の強さに応じた信号を出力する光学センサと、
前記光学センサから出力された前記信号に基づき、前記給紙部に対する前記規制ガイドの位置を検出する検出部とを有していることを特徴とする請求項2に記載の印刷装置。
The position sensor includes a position detection pattern provided on the sheet feeding unit side in order to detect the position of the regulation guide with respect to the sheet feeding unit.
A light-emitting unit that is provided on the regulation guide side and emits light toward the position detection pattern; and a light-receiving unit that receives light reflected from the position detection pattern. An optical sensor that outputs a signal corresponding to the strength;
The printing apparatus according to claim 2, further comprising: a detection unit configured to detect a position of the restriction guide with respect to the sheet feeding unit based on the signal output from the optical sensor.
前記位置検出用パターンは、前記規制ガイドの移動方向に沿って、前記発光部から発せられた光の反射率が異なるパターンであることを特徴とする請求項4に記載の印刷装置。   The printing apparatus according to claim 4, wherein the position detection pattern is a pattern in which a reflectance of light emitted from the light emitting unit is different along a moving direction of the regulation guide. 前記光の反射率が異なるパターンは、少なくとも2以上の異なる色の領域を有し、各色の領域の割合が前記規制ガイドの移動方向に沿って異なるパターンであることを特徴とする請求項5に記載の印刷装置。   The pattern having different light reflectances includes at least two or more different color areas, and the ratio of each color area is different along the moving direction of the regulation guide. The printing apparatus as described. 前記光の反射率が異なるパターンは、前記規制ガイドの移動方向に沿って色の濃度が異なるパターンであることを特徴とする請求項5に記載の印刷装置。   The printing apparatus according to claim 5, wherein the patterns having different light reflectances are patterns having different color densities along a movement direction of the regulation guide. 前記規制ガイドとは反対の側から前記媒体の端部近傍にて前記媒体の位置ずれを規制するために、他の規制ガイドが設けられていることを特徴とする請求項1〜7のいずれか1項に記載の印刷装置。   The other regulation guide is provided in order to regulate the position shift of the medium in the vicinity of the end of the medium from the side opposite to the regulation guide. The printing apparatus according to item 1. 前記位置センサによる前記規制ガイドの前記任意の位置の検出は、前記媒体に対して印刷を施す際に行われることを特徴とする請求項1〜8のいずれか1項に記載の印刷装置。   The printing apparatus according to claim 1, wherein the arbitrary position of the restriction guide is detected by the position sensor when printing is performed on the medium. (A)印刷される媒体がセットされる給紙部と、
(B)前記給紙部にセットされた前記媒体の端部近傍にて前記媒体の位置ずれを規制するために、前記給紙部に対して相対的に移動自在に設けられた規制ガイドと、
(C)前記給紙部に対する前記規制ガイドの任意の位置を検出可能な位置センサと、
(D)を備え、
(E)前記位置センサは、前記給紙部に対する前記規制ガイドの位置に応じて抵抗値が変化する可変抵抗器を有し、
(F)前記可変抵抗器は、スライド式可変抵抗器または回転式可変抵抗器であり、
(G)前記規制ガイドの反対側から前記媒体の端部近傍にて前記媒体の位置ずれを規制するための他の規制ガイドが設けられ、
(H)前記位置センサによる前記規制ガイドの前記任意の位置の検出は、前記媒体に対して印刷を施す際に行われる
(I)ことを特徴とする印刷装置。
(A) a paper feed unit on which a medium to be printed is set;
(B) a regulation guide provided to be movable relative to the paper feed unit in order to regulate the positional deviation of the medium in the vicinity of the end of the medium set in the paper feed unit;
(C) a position sensor capable of detecting an arbitrary position of the regulation guide with respect to the paper feeding unit;
(D)
(E) The position sensor includes a variable resistor whose resistance value changes in accordance with the position of the restriction guide with respect to the paper feeding unit,
(F) The variable resistor is a slide type variable resistor or a rotary type variable resistor,
(G) another regulation guide is provided for regulating positional deviation of the medium in the vicinity of the end of the medium from the opposite side of the regulation guide;
(H) The printing apparatus according to (I), wherein the detection of the arbitrary position of the restriction guide by the position sensor is performed when printing is performed on the medium (I).
給紙部にセットされた媒体の端部近傍にて前記媒体の位置ずれを規制するために、前記給紙部に対して相対的に移動自在に設けられた規制ガイドの前記給紙部に対する任意の位置を、前記媒体に対して印刷を施す際に、位置センサにより検出することを特徴とする印刷方法。   In order to regulate the positional deviation of the medium in the vicinity of the end of the medium set in the paper feeding unit, an arbitrary restriction guide provided relative to the paper feeding unit with respect to the paper feeding unit is provided. The position is detected by a position sensor when printing is performed on the medium. 給紙部にセットされた媒体の端部近傍にて前記媒体の位置ずれを規制するために、前記給紙部に対して相対的に移動自在に設けられた規制ガイドの前記給紙部に対する任意の位置を、前記媒体に対して印刷を施す際に、位置センサにより検出するステップを実行することを特徴とするプログラム。   In order to regulate the positional deviation of the medium in the vicinity of the end of the medium set in the paper feeding unit, an arbitrary restriction guide provided relative to the paper feeding unit with respect to the paper feeding unit is provided. A program for executing a step of detecting a position of the position by a position sensor when printing on the medium. コンピュータと、このコンピュータと通信可能な印刷装置とを具備した印刷システムであって、
前記印刷装置は、印刷される媒体がセットされる給紙部と、
前記給紙部にセットされた前記媒体の端部近傍にて前記媒体の位置ずれを規制するために、前記給紙部に対して相対的に移動自在に設けられた規制ガイドと、
前記給紙部に対する前記規制ガイドの任意の位置を検出可能な位置センサと、
を備えたことを特徴とする印刷システム。
A printing system comprising a computer and a printing device capable of communicating with the computer,
The printing apparatus includes a paper feeding unit on which a medium to be printed is set,
A regulation guide provided so as to be relatively movable with respect to the sheet feeding unit in order to regulate the positional deviation of the medium in the vicinity of the end of the medium set in the sheet feeding unit;
A position sensor capable of detecting an arbitrary position of the regulation guide with respect to the sheet feeding unit;
A printing system comprising:
JP2004245443A 2004-08-25 2004-08-25 Printer, printing method, program and printing system Pending JP2006062142A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004245443A JP2006062142A (en) 2004-08-25 2004-08-25 Printer, printing method, program and printing system
US11/210,782 US20060045601A1 (en) 2004-08-25 2005-08-25 Printing apparatus and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004245443A JP2006062142A (en) 2004-08-25 2004-08-25 Printer, printing method, program and printing system

Publications (1)

Publication Number Publication Date
JP2006062142A true JP2006062142A (en) 2006-03-09

Family

ID=36109031

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004245443A Pending JP2006062142A (en) 2004-08-25 2004-08-25 Printer, printing method, program and printing system

Country Status (1)

Country Link
JP (1) JP2006062142A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009132108A (en) * 2007-11-30 2009-06-18 Brother Ind Ltd Inkjet recording device, and control program
US8595641B2 (en) 2008-05-13 2013-11-26 Cyandia, Inc. Methods, apparatus and systems for displaying and/or facilitating interaction with secure information via channel grid framework
JP2019006552A (en) * 2017-06-23 2019-01-17 京セラドキュメントソリューションズ株式会社 Sheet feeder and image forming apparatus comprising the same
US11167943B2 (en) 2019-03-06 2021-11-09 Canon Kabushiki Kaisha Sheet feeding apparatus and image forming apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009132108A (en) * 2007-11-30 2009-06-18 Brother Ind Ltd Inkjet recording device, and control program
US8226200B2 (en) 2007-11-30 2012-07-24 Brother Kogyo Kabushiki Kaisha Printing device and computer-readable record medium storing program therefor
US8595641B2 (en) 2008-05-13 2013-11-26 Cyandia, Inc. Methods, apparatus and systems for displaying and/or facilitating interaction with secure information via channel grid framework
JP2019006552A (en) * 2017-06-23 2019-01-17 京セラドキュメントソリューションズ株式会社 Sheet feeder and image forming apparatus comprising the same
US11167943B2 (en) 2019-03-06 2021-11-09 Canon Kabushiki Kaisha Sheet feeding apparatus and image forming apparatus

Similar Documents

Publication Publication Date Title
US20060045601A1 (en) Printing apparatus and printing method
US7708366B2 (en) Liquid ejection apparatus, liquid ejection system, and liquid ejection method
JP4107327B2 (en) Printing apparatus and printing system
JP4465999B2 (en) Printing apparatus, ejection inspection method, ejection inspection pattern forming method, program, and printing system
WO2004011262A1 (en) Liquid-discharging device and printing system
JP2008132613A (en) Image recorder and image recording method
JP2009286139A (en) Printer
JP2011121271A (en) Recording method
US8075087B2 (en) Liquid ejection method and liquid ejecting apparatus
JP4496725B2 (en) Printing device
JP2003246129A (en) Printer, computer program, computer system and printing method
JP2006062142A (en) Printer, printing method, program and printing system
JP2009148954A (en) Recording device and conveying control method
JP3982455B2 (en) Liquid ejection apparatus, printing apparatus, adjustment method, and printing system
JP2006062144A (en) Printer, printing method, program, and printing system
JP2003254721A (en) Device for discriminating printing sheet, printer, computer program, computer system, and method of discriminating printing sheet
JP2005280274A (en) Medium discrimination device, medium discrimination method, printing device, program and printing system
JP2011102197A (en) Printing device, printed body lower end determining method, computer program, and computer system
JP2006062143A (en) Printer, printing method, program and printing system
JP2003334979A (en) Color ink jet printer
JP2005212101A (en) Printing apparatus and printing system
JP2004091112A (en) Identification device, printer, program and computer system
JP4803129B2 (en) Printing apparatus and printing method
JP4466263B2 (en) Printing apparatus, printing method, and printing system
JP2003341023A (en) Printer, printing method, computer program, and computer system