JP2008142899A - Printer, method of detecting paper width of printer, and control program of printer - Google Patents

Printer, method of detecting paper width of printer, and control program of printer Download PDF

Info

Publication number
JP2008142899A
JP2008142899A JP2006328898A JP2006328898A JP2008142899A JP 2008142899 A JP2008142899 A JP 2008142899A JP 2006328898 A JP2006328898 A JP 2006328898A JP 2006328898 A JP2006328898 A JP 2006328898A JP 2008142899 A JP2008142899 A JP 2008142899A
Authority
JP
Japan
Prior art keywords
paper
width
paper width
roll paper
standard value
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.)
Withdrawn
Application number
JP2006328898A
Other languages
Japanese (ja)
Inventor
Dan Iwata
弾 岩田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2006328898A priority Critical patent/JP2008142899A/en
Publication of JP2008142899A publication Critical patent/JP2008142899A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Handling Of Sheets (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Controlling Sheets Or Webs (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To correctly detect a paper width in a printer which can print to a plurality of kinds of papers of different widths and carries out the detection of the paper width by measuring the width of the paper supplied before printing, thereby specifying a standard value of the paper width from an actually measured value. <P>SOLUTION: After a rolled paper is supplied (step S101), the width is measured (S102), and at the same time a relative humidity near the rolled paper is detected (S103). A permissible range of an error of the rolled paper width according to the humidity is read from a storage part (S104). Standard values of the rolled paper width which agree within the permissible range of the error with the actually measured value of the rolled paper width are searched from standard values of a plurality of kinds of rolled paper widths stored in the storage part by a sequence according to a priority preliminarily set by the operation of a user (S105-S107). The standard value of the rolled paper width which first agrees is specified and displayed as the standard value of the width of the supplied rolled paper (S108). <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、幅が異なる複数種類の用紙に印刷可能であり、印刷前に給紙された用紙の幅を計測し、その実測値から当該用紙の幅の規格値を特定する用紙幅検知を行う印刷装置、その用紙幅検知方法、及びその制御プログラムに関するものである。   The present invention is capable of printing on a plurality of types of paper having different widths, measures the width of the paper fed before printing, and performs paper width detection for specifying the standard value of the width of the paper from the measured value. The present invention relates to a printing apparatus, a paper width detection method thereof, and a control program thereof.

サイズが異なる複数種類の用紙に印刷可能なプリンタなどの印刷装置では、印刷データの(ユーザが意図した)用紙サイズと一致しないサイズの用紙に印刷を行うと、印刷を失敗し、用紙、インク、及び処理時間が無駄になる。このため、用紙サイズの不一致による印刷の失敗を回避する様々な方法が提案されている。   In a printing device such as a printer that can print on multiple types of paper of different sizes, if you print on paper that does not match the paper size of the print data (as intended by the user), the printing will fail, and paper, ink, And processing time is wasted. For this reason, various methods have been proposed for avoiding printing failure due to paper size mismatch.

例えば、装填された用紙(カット紙)の幅を検知し、印刷データの用紙サイズの長辺または短辺の長さと一致しない場合に、印刷を保留して適切なサイズの用紙を装填し直すことをユーザに促すエラー表示を行なう方法がある(例えば特許文献1参照)。   For example, if the width of the loaded paper (cut paper) is detected and does not match the long side or the short side length of the print data, printing is suspended and a paper of an appropriate size is loaded. There is a method of displaying an error to prompt the user (see, for example, Patent Document 1).

なお、用紙幅の検知方法として、例えばドットシリアルプリンタにおいて、プラテンと平行に往復動作を行うキャリッジ上の印刷ヘッド近傍に光反射型の用紙検出用センサを設けて検知する方法がある(例えば特許文献2参照)。この方法では、キャリッジの往復動作に伴って用紙検出用センサにより用紙の幅方向の両端を検知し、その間のキャリッジの移動量で用紙幅を計測する。従来のロール紙に印刷を行なう大判インクジェットプリンタでは、この方法でロール紙の幅を計測して検知している。   As a paper width detection method, for example, in a dot serial printer, there is a method in which a light reflection type paper detection sensor is provided in the vicinity of a print head on a carriage that reciprocates in parallel with a platen (for example, patent document). 2). In this method, both ends of the sheet in the width direction are detected by a sheet detection sensor as the carriage reciprocates, and the sheet width is measured by the amount of movement of the carriage between them. In a conventional large-format ink jet printer that prints on roll paper, the width of the roll paper is measured and detected by this method.

一方、ホストコンピュータから受信する印刷データでは、ユーザが印刷を想定したロール紙の幅を印刷制御コマンドにより指定可能である。印刷データのロール紙の幅指定と、給紙したロール紙の幅が一致しない場合には、印刷を保留してプリンタの操作パネルの表示器等によりユーザに警告表示を行い、後処理の選択(印刷の実行またはキャンセル)を促す。   On the other hand, in the print data received from the host computer, the user can designate the width of the roll paper assumed to be printed by a print control command. If the width of the roll paper in the print data and the width of the supplied roll paper do not match, printing is suspended and a warning is displayed to the user via the display on the printer's operation panel, etc., and post-processing selection ( Execute or cancel printing).

この方法は、ホストコンピュータ上のプリンタドライバで元の画像を印刷するロール紙の幅に合わせて拡大印刷する場合や、縁なし印刷を行う場合に特に効果がある。すなわち、拡大印刷や縁なし印刷では、指定された用紙サイズに印刷しなければ有効な印刷物にならない。指定された用紙サイズではないロール紙に印刷すると、ロール紙の幅が小さい場合には画像が途中で切れ、大きい場合には余分な余白ができてしまう。   This method is particularly effective when performing enlarged printing in accordance with the width of the roll paper on which the original image is printed by the printer driver on the host computer, or when performing borderless printing. That is, in enlarged printing and borderless printing, an effective printed matter cannot be obtained unless printing is performed on a designated paper size. When printing on roll paper that is not of the specified paper size, if the width of the roll paper is small, the image is cut off halfway, and if it is large, extra margins are created.

一方、ロール紙は、その置かれた環境の湿度の高低により、空気中の水分を吸収することで膨張、ないしは乾燥することで収縮するので、本来の規格通りの幅を検知できる保障はない。そのため、印刷を保障する最悪の環境でもロール紙の本来の幅の規格値を特定できるように、ロール紙の幅の規格値に対して一定の誤差の許容範囲(例えば±1.0%)を定めている。プリンタは、印刷可能な複数種類の用紙サイズの幅の規格値を記憶しており、上記センサを介して計測したロール紙幅の実測値に対して誤差の許容範囲内で一致する規格値を検索して、そのロール紙の本来の幅の規格値を特定している。
特開2005−88364号公報(段落[0027],[0028]、図2) 特開平5−69608号公報 (段落[0012],[0013]、図2)
On the other hand, the roll paper expands by absorbing moisture in the air due to the high and low humidity of the environment in which it is placed, or contracts by drying, so there is no guarantee that the width as per the original standard can be detected. For this reason, a certain error tolerance (for example, ± 1.0%) with respect to the standard value of the roll paper width is specified so that the standard value of the original width of the roll paper can be specified even in the worst environment that guarantees printing. It has established. The printer stores the standard values for the widths of multiple types of paper that can be printed, and searches for the standard value that matches the measured value of the roll paper width measured through the sensor within an allowable range of errors. Thus, the standard value of the original width of the roll paper is specified.
JP 2005-88364 A (paragraphs [0027], [0028], FIG. 2) JP-A-5-69608 (paragraphs [0012], [0013], FIG. 2)

しかしながら、ロール紙幅の規格値には、例えば300mm幅とISO A3幅(297mm)という近似した規格値がある。この2つの規格値について誤差の許容範囲(±1.0%)を考えると、300mm幅(297.0〜303.0mm)、ISO A3幅(294.1〜299.9mm)となり、お互いの許容範囲で重複する領域(297.0〜299.9mm)が存在する。つまり、プリンタは、給紙したロール紙の幅の実測値が前記の重複する領域内の値である場合、そのロール紙の幅の本来の規格値が300mmなのかISO A3幅の297mmなのかを区別することができない。   However, the standard value of the roll paper width includes approximate standard values of, for example, a 300 mm width and an ISO A3 width (297 mm). Considering the error tolerance range (± 1.0%) for these two standard values, the width becomes 300 mm (297.0-303.0 mm) and ISO A3 width (294.1-299.9 mm). There are overlapping areas (297.0-299.9 mm) in the range. In other words, the printer determines whether the original standard value of the width of the roll paper is 300 mm or the ISO A3 width of 297 mm when the measured value of the width of the supplied roll paper is a value within the overlapping area. Cannot be distinguished.

この場合の対処方法として、プリンタは、例えばロール紙幅の検索の処理の順序で先に一致したロール紙の幅の規格値に特定して処理を続行するような方法を取らざるを得ない。この場合、ロール紙幅を誤検知する可能性がある。   As a coping method in this case, for example, the printer has to take a method of continuing the processing by specifying the standard value of the width of the roll paper that matches first in the processing order of the roll paper width search. In this case, the roll paper width may be erroneously detected.

また、ロール紙の装着の度にユーザにロール紙の幅の規格値を入力させる方法もあるが、ユーザにとって手間がかかり、煩わしいものとなってしまう。   Also, there is a method of allowing the user to input a standard value for the width of the roll paper every time the roll paper is loaded, but this is troublesome and troublesome for the user.

さらに、ロール紙幅の規格値として300mm幅または297mm幅が検知された場合にロール紙の幅検知の処理自身を無効にするという方法もあるが、これでは幅検知を行う意味がない。   Furthermore, there is a method of invalidating the roll paper width detection process itself when the standard value of the roll paper width is 300 mm or 297 mm, but this does not make sense for width detection.

本発明は、ロール紙に限らず、幅が異なる複数種類の用紙に印刷可能であり、印刷前に給紙された用紙の幅を計測し、その実測値から当該用紙の幅の規格値を特定する用紙幅検知を行う印刷装置において、上記のような問題を解決するためになされたものである。本発明の課題は、前記の印刷装置において、ユーザに手間がかからない方法で、用紙幅の検知で近似した用紙幅の規格値どうしの間での誤検知をせずに正確に検知できるようにすることにある。   The present invention is not limited to roll paper, and can be printed on a plurality of types of paper having different widths. The width of the paper fed before printing is measured, and the standard value of the width of the paper is specified from the measured value. The present invention has been made to solve the above problems in a printing apparatus that performs sheet width detection. SUMMARY OF THE INVENTION An object of the present invention is to enable accurate detection without erroneous detection between standard values of paper widths approximated by paper width detection in a method that does not require a user's trouble in the printing apparatus. There is.

上記の課題を解決するため、本発明(請求項1)は、
幅が異なる複数種類の用紙に印刷可能であり、印刷前に給紙された用紙の幅を計測し、その実測値から当該用紙の幅の規格値を特定する用紙幅検知を行う印刷装置であって、
印刷可能な複数種類の用紙幅の規格値を記憶した用紙幅記憶手段と、
ユーザの操作に応じて、前記複数種類の用紙幅の規格値について用紙幅検知のための検索の優先順位を可変に設定する優先順位設定手段と、
給紙された用紙の幅を計測する計測手段と、
前記複数種類の用紙幅の規格値の内から前記計測手段により計測された用紙幅の実測値に対して予め設定された誤差の許容範囲内で一致する用紙幅の規格値を前記優先順位設定手段により設定された優先順位に従った順序で検索し、最初に該当した用紙幅の規格値を給紙された用紙の幅の規格値として特定する検索手段を有することを特徴とする。
In order to solve the above problems, the present invention (Claim 1)
It is a printing device that can print on multiple types of paper with different widths, measures the width of the paper fed before printing, and performs paper width detection that identifies the standard value of the paper width from the measured value. And
Paper width storage means for storing standard values of a plurality of types of printable paper widths;
Priority setting means for variably setting search priority for paper width detection with respect to the standard values of the plurality of types of paper widths in accordance with a user operation;
A measuring means for measuring the width of the fed paper,
Among the standard values of the plurality of types of paper widths, a paper width standard value that matches a measured value of the paper width measured by the measuring unit within a preset allowable error range is the priority order setting unit. And searching means for searching in the order in accordance with the priority order set by the above, and specifying the standard value of the paper width corresponding first as the standard value of the width of the fed paper.

また、本発明(請求項3)は、
幅が異なる複数種類の用紙に印刷可能であり、印刷前に給紙された用紙の幅を計測し、その実測値から当該用紙の幅の規格値を特定する用紙幅検知を行う印刷装置であって、
印刷可能な複数種類の用紙幅の規格値を記憶した用紙幅記憶手段と、
給紙された用紙の幅を計測する計測手段と、
給紙された用紙の近傍の相対湿度を検出する湿度検出手段と、
該湿度検出手段により検出された相対湿度に応じて用紙幅検知のための検索時の誤差の許容範囲を可変に設定する許容範囲設定手段と、
前記複数種類の用紙幅の規格値の内から前記計測手段により計測された用紙幅の実測値に対して前記許容範囲設定手段により設定された誤差の許容範囲内で一致する用紙幅の規格値を検索し、該当した用紙幅の規格値を給紙された用紙の幅の規格値として特定する検索手段を有することを特徴とする。
The present invention (Claim 3)
It is a printing device that can print on multiple types of paper with different widths, measures the width of the paper fed before printing, and performs paper width detection that identifies the standard value of the paper width from the measured value. And
Paper width storage means for storing standard values of a plurality of types of printable paper widths;
A measuring means for measuring the width of the fed paper,
Humidity detecting means for detecting the relative humidity in the vicinity of the fed paper;
An allowable range setting means for variably setting an error allowable range at the time of searching for paper width detection according to the relative humidity detected by the humidity detection means;
A standard value of the paper width that matches the actual value of the paper width measured by the measuring means from the standard values of the plurality of types of paper widths within an allowable range of errors set by the allowable range setting means. Searching means for searching and specifying the standard value of the corresponding paper width as the standard value of the width of the fed paper is provided.

また、本発明では上記本発明に係る印刷装置の構成に対応する印刷装置の用紙幅検知方法及び印刷装置の制御プログラムの構成を採用した。   In the present invention, the configuration of the sheet width detection method of the printing apparatus and the control program of the printing apparatus corresponding to the configuration of the printing apparatus according to the present invention is employed.

本発明(請求項1)によれば、ユーザの操作で複数種類の用紙幅の規格値についての用紙幅検知のための検索の優先順位を適当に設定することにより、用紙幅検知で近似した用紙幅の規格値どうしの間での誤検知をせずに正確に検知することができる。また、優先順位の設定のためのユーザの操作は、必要に応じてごくたまに行うだけでよく、手間は殆どかからない。   According to the present invention (claim 1), a sheet approximated by sheet width detection is set by appropriately setting a search priority for sheet width detection for a plurality of types of sheet width standard values by a user operation. Accurate detection can be performed without erroneous detection between standard width values. Further, the user's operation for setting the priority order only needs to be performed occasionally as necessary, and it does not take much time and effort.

また、本発明(請求項3)によれば、給紙された用紙の近傍の相対湿度に応じて用紙幅検知のための検索時の誤差の許容範囲が可変に設定される。従って、例えば用紙の膨張ないし収縮が小さい中湿度の環境下では誤差の許容範囲を狭く設定するというようなことができ、それにより、用紙幅検知で近似した用紙幅の規格値どうしの間での誤検知をせずに正確に検知することができる。また、ユーザは特別な操作を行う必要がなく、手間はかからない。   According to the present invention (Claim 3), the allowable error range at the time of searching for paper width detection is variably set according to the relative humidity in the vicinity of the fed paper. Therefore, for example, in an environment of medium humidity where the expansion or contraction of the paper is small, the allowable range of error can be set narrowly, so that the standard value of the paper width approximated by the paper width detection can be reduced. Accurate detection can be performed without erroneous detection. In addition, the user does not need to perform a special operation and does not take time and effort.

以下、図を参照して本発明を実施するための最良の形態の実施例を説明する。ここでは、図1に示すようにLAN(Local Area Network)を介してホストコンピュータに接続される印刷装置としてのインクジェットプリンタにおける実施例を説明する。実施例のインクジェットプリンタは、用紙として幅が異なる複数種類のロール紙に印刷可能なものとする。なお、ロール紙の材質は文字通りの紙からなるものに限らず、プラスチックなど紙以外の材料からなるものも含むものとする。   Hereinafter, embodiments of the best mode for carrying out the present invention will be described with reference to the drawings. Here, an embodiment of an ink jet printer as a printing apparatus connected to a host computer via a LAN (Local Area Network) as shown in FIG. 1 will be described. The ink jet printer of the embodiment can print on a plurality of types of roll paper having different widths as paper. The material of the roll paper is not limited to what is literally made of paper, but includes that made of materials other than paper such as plastic.

[ホストコンピュータの構成]
図1は、LAN190を介して本実施例のインクジェットプリンタ(以下、プリンタと略す)200に接続されるホストコンピュータ(以下、ホストと略す)100の制御系の構成を示している。ホスト100の制御系はシステムバス109で互いに接続された以下の各部から構成される。
[Host computer configuration]
FIG. 1 shows a configuration of a control system of a host computer (hereinafter abbreviated as a host) 100 connected to an ink jet printer (hereinafter abbreviated as a printer) 200 of this embodiment via a LAN 190. The control system of the host 100 includes the following units connected to each other via a system bus 109.

CPU101はホスト100全体の制御を司る。RAM102は各種の実行プログラムやデータの書込みと読出しに用いられる。ROM103は各種のデータやプログラムを記憶しており、読み出しにのみ用いられる。FDD105はホスト100で作成された文書ファイルなどのデータの書込みと読み出しに用いられる。HDD106はブートプログラム、各種のアプリケーションソフト、プリンタドライバ(印刷コマンド生成プログラム)1061などを格納している。VRAM107には各種の画像データが逐次書き込まれる。その画像データによる画像がCRT108により表示される。ユーザが各種の印刷条件を設定するための印刷設定画面もCRT108により表示される。また、LAN I/F104はLAN190を介してプリンタ200などの外部と通信を行うための通信手段である。   The CPU 101 controls the entire host 100. The RAM 102 is used for writing and reading various execution programs and data. The ROM 103 stores various data and programs and is used only for reading. The FDD 105 is used for writing and reading data such as a document file created by the host 100. The HDD 106 stores a boot program, various application software, a printer driver (print command generation program) 1061, and the like. Various image data are sequentially written in the VRAM 107. An image based on the image data is displayed on the CRT 108. A print setting screen for the user to set various printing conditions is also displayed by the CRT 108. The LAN I / F 104 is a communication unit for communicating with the outside such as the printer 200 via the LAN 190.

プリンタドライバ1061は、一般に知られるプリンタドライバとしての機能の他に、ユーザが指定したロール紙幅一杯に印刷画像を拡大した縁無し印刷データを作成して出力する機能を有するものとする。印刷するロール紙幅の選択は、ユーザが印刷設定画面上で行う。プリンタドライバ1061が出力する印刷データには、印刷制御コマンドの一部としてロール紙幅指定コマンドが含まれる。ロール紙幅指定コマンドはロール紙幅を示すIDをパラメータとして有している。   The printer driver 1061 has a function of creating and outputting borderless print data in which a print image is enlarged to the full roll paper width specified by the user, in addition to a generally known printer driver function. The user selects the roll paper width to be printed on the print setting screen. The print data output from the printer driver 1061 includes a roll paper width designation command as part of the print control command. The roll paper width designation command has an ID indicating the roll paper width as a parameter.

[プリンタの構成]
図2は、プリンタ200の制御系の構成を示しており、図3及び図4はプリンタ200の要部の機械的構成を示している。まず図2の構成を説明する。
[Printer configuration]
FIG. 2 shows the configuration of the control system of the printer 200, and FIGS. 3 and 4 show the mechanical configuration of the main part of the printer 200. First, the configuration of FIG. 2 will be described.

図2に示す構成は、システムバス211により互いに接続された以下の各部からなる。   The configuration shown in FIG. 2 includes the following units connected to each other by a system bus 211.

CPU201はプリンタ200の全体の制御を司る。RAM202は、プリント動作時に各種データの書込みや読出しに用いられる。ROM203は、CPU201が実行する制御プログラムなどのデータを格納している。その制御プログラムには、後述する図8、図10及び図11のフローチャートの処理手順に対応した制御プログラムが含まれる。また、ROM203は後述する記憶部2031〜2033を有している。LAN I/F204は、LANを介して外部のホストなどと通信するための通信手段である。   The CPU 201 governs overall control of the printer 200. The RAM 202 is used for writing and reading various data during a printing operation. The ROM 203 stores data such as a control program executed by the CPU 201. The control program includes a control program corresponding to the processing procedure of flowcharts shown in FIGS. The ROM 203 has storage units 2031 to 2033 described later. A LAN I / F 204 is a communication unit for communicating with an external host or the like via a LAN.

操作パネル205は、ユーザが各種操作の入力を行うための入力キー群とともに、表示を行なうLCD(液晶ディスプレイ)とLED(発光ダイオード)を備えている。操作パネル205は、LCDによりメニューなどを表示してユーザへプリンタの状態を知らせ、またキー入力によるユーザの指示、設定を受信するインターフェースである。   The operation panel 205 includes an input key group for a user to input various operations, and an LCD (liquid crystal display) and an LED (light emitting diode) for displaying. The operation panel 205 is an interface that displays a menu or the like on the LCD to inform the user of the printer status, and receives user instructions and settings by key input.

LFモータ(紙送りモータ)206は、図3,4中のLFローラ(紙送りローラ)302を駆動してロール紙301を搬送するモータである。   An LF motor (paper feed motor) 206 is a motor that drives the LF roller (paper feed roller) 302 in FIGS.

CRモータ(キャリッジモータ)207は、図3,4中の印刷ヘッド(インクジェットヘッド)306を搭載したキャリッジ305をロール紙301の幅方向に沿って往復移動するモータである。   The CR motor (carriage motor) 207 is a motor that reciprocates along the width direction of the roll paper 301 on the carriage 305 on which the print head (inkjet head) 306 shown in FIGS.

吸引ファン208は、図3,4中の吸引プラテン304に形成された不図示の複数の穴から下側に向かって空気を吸引するために使用するファンである。吸引ファン208により吸引プラテン304上に搬送されたロール紙301に空気の吸引力を作用させることでロール紙301を吸引プラテン304上に平らに保持することが可能である。   The suction fan 208 is a fan used to suck air downward from a plurality of holes (not shown) formed in the suction platen 304 in FIGS. The roll paper 301 can be held flat on the suction platen 304 by applying an air suction force to the roll paper 301 conveyed onto the suction platen 304 by the suction fan 208.

読取りセンサ209は、プリンタ200に装着されて給紙されたロール紙301の幅を計測するために、ロール紙301の幅方向の両端を検出する手段であって、光源と受光部を有する光センサとして構成され、図4に示すようにキャリッジ305に搭載される。キャリッジ305をロール紙301の幅方向に沿って移動させつつ、読取りセンサ209の光源から発した光の反射光を受光部で受けて読取ることで、ロール紙301の両端を検出することができる。つまり、読取りセンサ209がロール紙301の端の上を通過するときに、ロール紙301と吸引プラテン304の光の反射率の相違によって読取りセンサ209の出力が変化するので、この変化により端を検出することができる。なお、読取りセンサ209はロール紙301の先端を検出するためにも用いられる。   The reading sensor 209 is a means for detecting both ends in the width direction of the roll paper 301 in order to measure the width of the roll paper 301 that is mounted and fed to the printer 200, and is an optical sensor having a light source and a light receiving unit. And mounted on the carriage 305 as shown in FIG. Both ends of the roll paper 301 can be detected by moving the carriage 305 along the width direction of the roll paper 301 and receiving the light reflected from the light source of the reading sensor 209 and reading it. That is, when the reading sensor 209 passes over the end of the roll paper 301, the output of the reading sensor 209 changes due to the difference in light reflectance between the roll paper 301 and the suction platen 304. can do. Note that the reading sensor 209 is also used to detect the leading edge of the roll paper 301.

温湿度センサ210は、図3,4に示すように、プリンタのロール紙301の装着部近傍(詳しくはロール紙301の巻回部分から引き出される部分の上側近傍)の位置に設けられる。そして、その位置での温度(気温)と相対湿度を検出する。   As shown in FIGS. 3 and 4, the temperature / humidity sensor 210 is provided in the vicinity of the mounting portion of the roll paper 301 of the printer (specifically, in the vicinity of the upper side of the portion drawn from the winding portion of the roll paper 301). Then, the temperature (air temperature) and relative humidity at that position are detected.

ところで、ROM203は、対応用紙幅記憶部2031、検索優先順位記憶部2032、及び湿度/幅誤差記憶部2033を有している。   The ROM 203 includes a corresponding paper width storage unit 2031, a search priority storage unit 2032, and a humidity / width error storage unit 2033.

対応用紙幅記憶部2031は、プリンタ200が印刷可能な複数の用紙(ロール紙)の幅の規格値のデータを記憶したもので、具体的には例えば図5に示すような内容のデータテーブルである。このテーブルは、プリンタ200が対応する(印刷可能な)ロール紙幅のIDと、ロール紙幅の規格値(Width)のデータを対応づけて番号(No)順に並べたデータテーブルである。なお、番号はロール紙幅の規格値の小さい順に付されている。ロール紙幅の規格値の内でISOA3幅(ID_ISOA3)と300mm幅(ID_300MM)が僅かに3mmの差で近似している。   The corresponding sheet width storage unit 2031 stores data of standard values of widths of a plurality of sheets (roll sheets) that can be printed by the printer 200. Specifically, for example, the corresponding sheet width storage unit 2031 is a data table having contents as shown in FIG. is there. This table is a data table in which IDs of roll paper widths corresponding to the printer 200 (printable) and data of standard values (Width) of roll paper widths are associated with each other in the order of numbers (No). The numbers are assigned in ascending order of the standard value of the roll paper width. Among the standard values of the roll paper width, the ISOA3 width (ID_ISOA3) and the 300 mm width (ID_300MM) are approximated by a difference of only 3 mm.

検索優先順位記憶部2032は、後述のようにCPU201が読取りセンサ209を介して計測したロール紙幅の実測値に対応するロール紙幅の規格値を対応用紙幅記憶部2031から検索するときの各ロール紙幅の規格値の検索の優先順位を記憶している。検索優先順位記憶部2032は、具体的には例えば図6の(a)或いは(b)に示すような内容のデータテーブルである。CPU201は、このテーブルの優先順位に従った順序(Order)で、対応用紙幅記憶部2031からロール紙幅の実測値に対応するロール紙幅の規格値を検索する。例えば、図6の(a)の例では、図5のテーブルをNo.0,1,2,3,4,・・・の順に検索する。また、(b)の例では、No.0,1,3,2,4,・・・の順に検索する。そして、初めて誤差の許容範囲内で実測値に一致した規格値をプリンタ200に装着されたロール紙の幅の規格値であると認識する。   The search priority storage unit 2032 retrieves each roll paper width when a standard value of the roll paper width corresponding to the actual measured value of the roll paper width measured by the CPU 201 via the reading sensor 209 is searched from the corresponding paper width storage unit 2031 as described later. This stores the priority order of the standard value search. Specifically, the search priority storage unit 2032 is a data table having contents as shown in FIG. 6 (a) or (b), for example. The CPU 201 searches the standard value of the roll paper width corresponding to the actual measured value of the roll paper width from the corresponding paper width storage unit 2031 in the order according to the priority order of this table (Order). For example, in the example of FIG. Search in the order of 0, 1, 2, 3, 4,. In the example of (b), no. Search in the order of 0, 1, 3, 2, 4,. For the first time, the standard value that matches the actual measurement value within the allowable range of error is recognized as the standard value of the width of the roll paper loaded in the printer 200.

なお、図6の(a)の例では、ISOA3幅を3番目として4番目の300mm幅より優先して検索することになる。また、(b)の例では、300mm幅を3番目として4番目のISOA3幅より優先して検索することになる。   In the example of FIG. 6A, the ISOA3 width is set as the third, and the search is performed with priority over the fourth 300 mm width. In the example of (b), the 300 mm width is set as the third, and the search is performed with priority over the fourth ISOA3 width.

ROM203内で少なくとも検索優先順位記憶部2032はEEPROMなどで書き換え可能に構成され、そのデータが後述のように操作パネル205の操作に応じて、例えば図6の(a)から(b)のように、或いはその逆に書き換えられるものとする。   In the ROM 203, at least the search priority storage unit 2032 is configured to be rewritable by an EEPROM or the like, and the data is changed according to the operation of the operation panel 205 as described later, for example, as shown in FIGS. Or vice versa.

湿度/幅誤差記憶部2033は、温湿度センサ210により検出されるプリンタ200のロール紙301の装着部近傍の相対湿度に応じて、CPU201が上記ロール紙幅の検索を行なう際のロール紙幅の誤差の許容範囲の設定値を変化させるために用いられる。同記憶部2033は、例えば図7に示すような内容のデータテーブルであり、相対湿度の高、中、低の区分毎にロール紙幅の誤差の許容範囲を定めている。ここで相対湿度の区分は、例えば、高湿度が80%RH以上、中湿度が40%RH以上80%RH未満、低湿度が40%RH未満とする。そして高湿度と低湿度ではロール紙幅の誤差の許容範囲を±1.0%とし、中湿度では±0.5%とする。このようにして、印刷に適した相対湿度である中湿度のときに誤差の許容範囲を狭めるように設定している。   The humidity / width error storage unit 2033 detects an error of the roll paper width when the CPU 201 searches the roll paper width according to the relative humidity in the vicinity of the mounting portion of the roll paper 301 of the printer 200 detected by the temperature / humidity sensor 210. Used to change the set value of the allowable range. The storage unit 2033 is a data table having contents as shown in FIG. 7, for example, and defines an allowable range of roll paper width error for each of high, medium, and low relative humidity. Here, the relative humidity is classified into, for example, a high humidity of 80% RH or more, a medium humidity of 40% RH or more and less than 80% RH, and a low humidity of less than 40% RH. The tolerance of the roll paper width error is ± 1.0% at high and low humidity, and ± 0.5% at medium humidity. In this manner, the allowable range of error is set to be narrowed at medium humidity, which is a relative humidity suitable for printing.

次に図3及び図4の構成とその動作について説明する。   Next, the configuration and operation of FIGS. 3 and 4 will be described.

図3及び図4において、ロール紙301の巻回部分はロール紙ホルダ309により回転可能に保持されている。ロール紙301の巻回部分から引き出された部分は、ロール紙301がセットされたときに、LFローラ302と、これにロール紙301を圧接する圧接ローラ303の間を通って吸引プラテン304上まで引き出されている。LFローラ302が図2中のLFモータ206により回転すると、ロール紙301の引き出された部分が吸引プラテン304上を図中で左方向に搬送される。   3 and 4, the winding portion of the roll paper 301 is rotatably held by a roll paper holder 309. When the roll paper 301 is set, the part pulled out from the winding part of the roll paper 301 passes between the LF roller 302 and the pressure contact roller 303 that presses the roll paper 301 to the top of the suction platen 304. Has been pulled out. When the LF roller 302 is rotated by the LF motor 206 in FIG. 2, the drawn portion of the roll paper 301 is conveyed on the suction platen 304 in the left direction in the drawing.

LFローラ302の一端にはLFローラ302と一体的に回転するLFエンコーダ308が設けられている。不図示のセンサによりLFエンコーダ308を介してLFローラ302の回転量を計測することで、CPU201はロール紙301の搬送量を測定することができる。   One end of the LF roller 302 is provided with an LF encoder 308 that rotates integrally with the LF roller 302. By measuring the rotation amount of the LF roller 302 via the LF encoder 308 by a sensor (not shown), the CPU 201 can measure the transport amount of the roll paper 301.

圧接ローラ303はLFローラ302と連動してロール紙301を挟み、キャリッジ305が通過する領域より前の位置でロール紙301を吸引プラテン304上に押える。吸引プラテン304は、印刷する際にロール紙301を下から支える部材であり、前述したように図2中の吸引ファン208による吸引力によりロール紙301を平らに保持することができる。   The pressure roller 303 sandwiches the roll paper 301 in conjunction with the LF roller 302 and presses the roll paper 301 onto the suction platen 304 at a position before the area through which the carriage 305 passes. The suction platen 304 is a member that supports the roll paper 301 from below when printing, and can hold the roll paper 301 flat by the suction force of the suction fan 208 in FIG. 2 as described above.

キャリッジ305は、印刷ヘッド306と読取りセンサ209を搭載しており、図2中のCRモータ207の駆動により、ロール紙301の搬送方向に直交するロール紙301の幅方向に沿って往復移動する。その往復方向の一方向または両方向を主走査方向として、キャリッジ301の主走査方向への移動に伴って印刷ヘッド306が駆動され、不図示の複数のノズルからインク滴を吐出することにより、吸引プラテン304上のロール紙301に印刷が行なわれる。1回の主走査で1バンド分の印刷がなされ、1回の主走査と1バンド分のロール紙301の搬送動作を交互に繰り返すことにより、順次1バンド分ずつ印刷がなされる。なお不図示のインクタンクから印刷ヘッド306にインクが供給される。   The carriage 305 is mounted with a print head 306 and a reading sensor 209, and reciprocates along the width direction of the roll paper 301 perpendicular to the conveyance direction of the roll paper 301 by driving the CR motor 207 in FIG. With the one or both directions of the reciprocating direction as the main scanning direction, the print head 306 is driven as the carriage 301 moves in the main scanning direction, and ink droplets are ejected from a plurality of nozzles (not shown). Printing is performed on the roll paper 301 on 304. One band is printed in one main scan, and one band is sequentially printed by alternately repeating one main scan and the conveyance operation of the roll paper 301 for one band. Ink is supplied to the print head 306 from an ink tank (not shown).

また、キャリッジ305の移動方向に沿ってCRエンコーダ307が設けられている。キャリッジ305を移動させながら、キャリッジ305に設けられた不図示のセンサによってCRエンコーダ307の不図示のスリットを読取ってカウントすることで、CPU201はキャリッジ305の移動量を計測することができる。そして、キャリッジ305を一方向に移動させながら、読取りセンサ209によりロール紙301の幅方向の一端を検出してから他端を検出するまでのキャリッジ305の移動量を計測することで、ロール紙301の幅を計測することができる。   A CR encoder 307 is provided along the moving direction of the carriage 305. The CPU 201 can measure the amount of movement of the carriage 305 by reading a slit (not shown) of the CR encoder 307 and counting by a sensor (not shown) provided on the carriage 305 while moving the carriage 305. Then, while the carriage 305 is moved in one direction, the movement amount of the carriage 305 from when one end in the width direction of the roll paper 301 is detected by the reading sensor 209 until the other end is detected is measured. Can be measured.

[優先用紙幅の設定]
本実施例では、ロール紙幅検索で互いに近似したロール紙幅であるISOA3幅(ID_ISOA3)と300mm幅(ID_300MM)のどちらを優先して検索するかを可変に設定できる。この2つのロール紙幅の内で優先されるように設定されたロール紙幅を以下では優先用紙幅ないし優先ロール紙幅という。その設定は、ユーザによる操作パネル205の操作に応じて行なわれる。その設定動作を図8及び図9により以下に説明する。
[Priority paper width setting]
In the present embodiment, it is possible to variably set which of the ISOA3 width (ID_ISOA3) and 300 mm width (ID_300MM), which are roll paper widths approximate to each other in the roll paper width search, is to be preferentially searched. The roll paper width that is set to be given priority among the two roll paper widths is hereinafter referred to as priority paper width or priority roll paper width. The setting is performed according to the operation of the operation panel 205 by the user. The setting operation will be described below with reference to FIGS.

なお、図8は、優先用紙幅の設定動作において図9の(c)の表示がなされた以降のCPU201の処理手順を示すフローチャート図である。図9は、操作パネル205に設けられた不図示のメニューキー、カーソルキーの下キーや左右キー、及び確定キーなどの操作に応じた同パネルのLCDによる優先用紙幅の設定動作における表示の変化を示している。   FIG. 8 is a flowchart showing the processing procedure of the CPU 201 after the display of FIG. 9C is performed in the priority sheet width setting operation. FIG. 9 shows a change in display in the priority sheet width setting operation by the LCD of the same panel in response to an operation of a menu key (not shown) provided on the operation panel 205, a down key, a left / right key, and a confirmation key of the cursor key. Is shown.

なお、CPU201の優先用紙幅の設定動作を制御するための制御プログラムは、検索優先順位記憶部2032において、互いに近似したロール紙幅どうしの優先順位が何番目と何番目の順位に当たるかを予め決めた上で作成されているものとする。図6では3番目と4番目の順位がこれにあたる。つまり、図6の(a)では3番目の順位のNoの値がISOA3幅に対応する「2」で、4番目の順位のNoの値が300mm幅に対応する「3」となっており、(b)ではその逆になっている。   Note that a control program for controlling the priority sheet width setting operation of the CPU 201 previously determined in the search priority storage unit 2032 what number and what order the priority order of the roll paper widths approximated to each other corresponds to. Assume that it has been created above. In FIG. 6, the third and fourth ranks correspond to this. That is, in FIG. 6A, the third rank No value is “2” corresponding to the ISOA 3 width, and the fourth rank No value is “3” corresponding to the 300 mm width. In (b), the reverse is true.

まず、ユーザが操作パネル205上のオンラインキーをオフした状態でメニューキーを押下すると、CPU201は操作パネル205(のLCD)に図9の(a)に示すメインメニューを表示させる。さらに左右キーを押下すると、(b)に示すメインメニュー中の用紙設定メニューを表示させる。さらに下キー押下で用紙設定メニューのサブメニューに入り、サブメニューにおいて左右キー押下で(c)に示す優先ロール紙幅設定メニューを表示させる。   First, when the user presses the menu key with the online key on the operation panel 205 turned off, the CPU 201 displays the main menu shown in FIG. 9A on the operation panel 205 (LCD). When the left and right keys are further pressed, the paper setting menu in the main menu shown in (b) is displayed. Further, the sub-menu of the paper setting menu is entered when the down key is pressed, and the priority roll paper width setting menu shown in FIG.

この状態で図8の処理を開始し、まずステップS81において、優先ロール紙幅設定メニューが表示された状態で、下キーが押下されたか判断し、押下されていなければ押下されるのを待つ。   In this state, the processing of FIG. 8 is started. First, in step S81, it is determined whether or not the down key has been pressed while the priority roll paper width setting menu is displayed.

そして押下されたら、ステップS82において、検索優先順位記憶部2032の優先順位の3番目の値(No)を読み込み、更にその値に対応するIDを対応用紙幅記憶部2031から読み込み、現在設定されている優先ロール紙幅のIDとして記憶する。そして、そのIDのロール紙幅が現在設定されている優先ロール紙幅である旨を操作パネル205に表示させる。すなわち、そのIDがID_ISOA3の場合には図9の(d)のように設定されている優先ロール紙幅がISOA3幅である旨を表示させる。また、そのIDがID_300MMの場合には(e)のように優先ロール紙幅が300mm幅である旨を表示させる。例えば、検索優先順位記憶部2032のデータテーブルの内容が図6の(a)の状態である場合には、優先順位の3番目の値は「2」なので、ID_ISOA3のロール紙幅が優先ロール紙幅として設定されていることになり、CPU201は図9の(d)の表示を行なわせる。   If pressed, in step S82, the third value (No) of the priority in the search priority storage unit 2032 is read, and the ID corresponding to that value is read from the corresponding paper width storage unit 2031 and is currently set. It is stored as the ID of the priority roll paper width. Then, it is displayed on the operation panel 205 that the roll paper width of that ID is the currently set priority roll paper width. That is, when the ID is ID_ISOA3, a message indicating that the priority roll paper width set as shown in FIG. 9D is the ISOA3 width is displayed. If the ID is ID_300MM, a message indicating that the priority roll paper width is 300 mm is displayed as shown in (e). For example, when the content of the data table of the search priority storage unit 2032 is in the state of FIG. 6A, the third priority value is “2”, so the roll paper width of ID_ISOA3 is set as the priority roll paper width. Thus, the CPU 201 causes the display of FIG. 9D to be performed.

次にステップS83において左右キーが押下されたか判断する。そして押下されたら、ステップS84において、現在設定され記憶されている優先ロール紙幅のIDをそれに近似しているロール紙幅のIDに変更し、設定されている優先ロール紙幅の表示を変更したIDのロール紙幅の表示に変更する。例えば、それまで優先ロール紙幅のIDがID_ISOA3に設定されていて図9の(d)の表示がなされた状態で左右キーが押下されると、優先ロール紙幅のIDがID_300MMに変更され、(d)の表示が(e)の表示に変更される。左右キーを1回押下するごとに、優先ロール紙幅のIDがID_ISOA3とID_300MMの間で交互に変更され、(d)と(e)の表示が交互に変更される。   In step S83, it is determined whether the left / right key is pressed. Then, in step S84, the ID of the priority roll paper width that is currently set and stored is changed to an ID of the roll paper width that approximates it, and the roll of the ID that has changed the display of the set priority roll paper width. Change to the paper width display. For example, if the priority roll paper width ID has been set to ID_ISOA3 and the left and right keys are pressed in the state shown in FIG. 9D, the priority roll paper width ID is changed to ID_300MM and (d ) Is changed to (e). Each time the left / right key is pressed once, the ID of the priority roll paper width is alternately changed between ID_ISOA3 and ID_300MM, and the displays of (d) and (e) are alternately changed.

ステップS84の次、及びステップS83で左右キーの押下がなかった場合は、ステップS85で確定キーが押下されたか判断し、押下されなかったらステップS83に戻ってステップS83〜S85の処理を繰り返すが、押下されたらステップS86に進む。   If the left and right keys have not been pressed in step S84 and in step S83, it is determined in step S85 whether the confirm key has been pressed. If not, the process returns to step S83 to repeat steps S83 to S85. If pressed, the process proceeds to step S86.

ステップS86では、確定キーの押下時点で設定されていた優先ロール紙幅のIDを確定されたものとして、確定画面を表示させると共に、確定されたIDのNoの値のデータを検索優先順位記憶部2032の優先順位の3番目の値のデータに上書きする。さらに、前記IDのロール紙幅に近似したロール紙幅のIDのNoの値のデータを優先順位の4番目の値のデータに上書きする。   In step S86, it is assumed that the ID of the priority roll paper width set at the time of pressing the confirmation key is confirmed, a confirmation screen is displayed, and the data of the confirmed ID No value is searched for the search priority storage unit 2032. Overwrite the data of the third value of the priority. Further, the data of the No value of the roll paper width ID approximate to the roll paper width of the ID is overwritten on the data of the fourth value of the priority order.

例えば、図9(e)の表示状態で確定キーが押下され、優先ロール紙幅のIDとしてID_300MMが確定されると、(f)のような確定画面を表示すると共に、図6(b)の状態となるように、優先順位の3番目にID_300MMに対応するNoの値「3」を書き込む。また優先順位の4番目にID_ISOA3に対応するNoの値「2」を書き込む。   For example, when the confirmation key is pressed in the display state of FIG. 9E and ID_300MM is confirmed as the ID of the priority roll paper width, a confirmation screen as shown in FIG. 9F is displayed and the state of FIG. Thus, the value “3” of No corresponding to ID_300MM is written in the third priority order. In addition, the value “2” of No corresponding to ID_ISOA3 is written in the fourth priority.

このような書き込みで優先ロール紙幅を確定した後、操作パネル205の表示を図9(f)の確定画面から(c)の優先ロール紙幅設定のメニュー画面に戻して処理を一応終了する。ここで下キーの押下があれば図8の処理が再び行なわれるが、ユーザが下キーを押下せずにオンラインキーを押下(オン)することで処理の終了が確定する。   After the priority roll paper width is confirmed by such writing, the display on the operation panel 205 is returned from the confirmation screen in FIG. 9F to the menu screen for setting the priority roll paper width in FIG. If the down key is pressed, the process of FIG. 8 is performed again, but the end of the process is confirmed when the user presses (turns on) the online key without pressing the down key.

以上のようにして、ロール紙幅検索で近似したロール紙幅どうしのISOA3幅と300mm幅のどちらを優先して検索するかについて優先順位を可変に設定することができる。   As described above, it is possible to variably set the priority order as to which of the ISOA 3 width and the 300 mm width between the roll paper widths approximated by the roll paper width search is to be preferentially searched.

[ロール紙幅検知]
本実施例のプリンタでは、ユーザがロール紙をセットしたときに、セットされたロール紙を給紙すると共にそのロール紙の本来の幅の値(規格値)を検知する。すなわち、そのロール紙幅のIDを特定する。その動作を図10により以下に説明する。図10はロール紙の給紙とロール紙幅検知を行なうためのCPU201の処理手順を示すフローチャート図である。
[Roll paper width detection]
In the printer of this embodiment, when the user sets roll paper, the roll paper set is fed and the original width value (standard value) of the roll paper is detected. That is, the roll paper width ID is specified. The operation will be described below with reference to FIG. FIG. 10 is a flowchart showing a processing procedure of the CPU 201 for performing roll paper feeding and roll paper width detection.

図10の処理は、ユーザがロール紙301をプリンタ200にセットしたときに開始される。ロール紙301をセットするには、ユーザがまず図3,4中でロール紙301(の巻回部分)をロール紙ホルダ309に装着する。そして不図示の紙押さえレバーを解除して圧接ローラ303を上げる。そして、ロール紙301を巻回部分から引き出してLFローラ302と圧接ローラ303の間に通し、吸引プラテン304上まで引き出す。そして紙押さえレバーをセットして圧接ローラ303を下げてLFローラ302との間にロール紙を挟み込ませる。ここでは、例えば規格値300mm幅のロール紙をセットしたとする。   The process in FIG. 10 is started when the user sets the roll paper 301 in the printer 200. In order to set the roll paper 301, the user first loads the roll paper 301 (the winding portion thereof) in the roll paper holder 309 in FIGS. Then, the paper pressing lever (not shown) is released and the pressure roller 303 is raised. Then, the roll paper 301 is pulled out from the winding portion, passed between the LF roller 302 and the pressure roller 303, and pulled out onto the suction platen 304. Then, the paper pressing lever is set, the pressure roller 303 is lowered, and the roll paper is sandwiched between the LF roller 302. Here, for example, it is assumed that roll paper having a standard value width of 300 mm is set.

CPU201は、不図示のセンサによりロール紙301が吸引プラテン304上にセットされたことを検知すると、図10の処理を開始し、まずステップS101においてロール紙の給紙を行なわせる。すなわち、まずLFモータ206の駆動によりLFローラ302を所定量だけ正回転、つまり図4中で反時計方向に回転させ、ロール紙301を巻回部分から引き出す左方向に所定量だけ搬送させる。同時にCRモータ207の駆動によりキャリッジ305をロール紙301上に移動させる。その後、LFローラ302を逆回転させてロール紙301を逆送りし、読取りセンサ209によりロール紙の先端を検出したらLFローラ302を停止させてロール紙の逆送りを停止させる。   When the CPU 201 detects that the roll paper 301 is set on the suction platen 304 by a sensor (not shown), the CPU 201 starts the process of FIG. 10 and first feeds the roll paper in step S101. That is, first, the LF motor 206 is driven to rotate in the forward direction by a predetermined amount, that is, in the counterclockwise direction in FIG. At the same time, the carriage 305 is moved onto the roll paper 301 by driving the CR motor 207. Thereafter, the LF roller 302 is reversely rotated to reversely feed the roll paper 301. When the leading edge of the roll paper is detected by the reading sensor 209, the LF roller 302 is stopped to stop the reverse feed of the roll paper.

次に、ステップS102において、ロール紙301の幅を計測する。このため、まずLFローラ302を所定量だけ正回転させてロール紙301を所定量だけ引き出す方向に搬送させる。そして、キャリッジ305をロール紙301の幅方向に沿った一方向に吸引プラテン304上の端から端まで移動させながら読取りセンサ209によりロール紙301の左右の両端を検出する。その間CRエンコーダ307を使用して、左右の一端を検出してから他端を検出するまでのキャリッジ305の移動量を計測することで、ロール紙301の幅の実測値を例えば精度0.1[mm]で取得する。ここでは、実測値が例えば2990[mm/10]であったものとする。   Next, in step S102, the width of the roll paper 301 is measured. For this reason, first, the LF roller 302 is rotated forward by a predetermined amount to convey the roll paper 301 in a direction to pull out the predetermined amount. Then, the reading sensor 209 detects the left and right ends of the roll paper 301 while moving the carriage 305 in one direction along the width direction of the roll paper 301 from end to end on the suction platen 304. Meanwhile, the CR encoder 307 is used to measure the amount of movement of the carriage 305 from the detection of the left and right ends to the detection of the other end. mm]. Here, it is assumed that the actual measurement value is 2990 [mm / 10], for example.

次に、ステップS103において、温湿度センサ210によりロール紙301の装着部近傍の相対湿度、つまりロール紙301の置かれた環境の相対湿度を検出する。ここでは検出された相対湿度が例えば60%RHであったものとする。   Next, in step S103, the temperature and humidity sensor 210 detects the relative humidity in the vicinity of the mounting portion of the roll paper 301, that is, the relative humidity of the environment where the roll paper 301 is placed. Here, it is assumed that the detected relative humidity is 60% RH, for example.

次に、ステップS104において、検出された相対湿度に対応するロール紙幅の誤差の許容範囲を図7の湿度/幅誤差記憶部2033から読み込む。例えば、検出された相対湿度が60%の場合、許容範囲は±0.5%となる。   Next, in step S104, an allowable range of roll paper width error corresponding to the detected relative humidity is read from the humidity / width error storage unit 2033 in FIG. For example, when the detected relative humidity is 60%, the allowable range is ± 0.5%.

次に、ステップS105〜S107のループの処理の繰り返しでロール紙幅検索を行なう。   Next, a roll paper width search is performed by repeating the loop processing of steps S105 to S107.

ステップS105では、検索優先順位記憶部2032から検索するロール紙幅のNoの値を優先順位の昇順に1つ読み込む。例えば、同記憶部2032の内容が図6の(a)の場合、上記ループの繰り返しでステップS105になるたびに、Noの値を順次、0, 1,2,3,4,…というように1つずつ読み込む。   In step S <b> 105, one roll paper width No value to be searched is read from the search priority storage unit 2032 in ascending order of priority. For example, when the content of the storage unit 2032 is (a) in FIG. 6, the value of No is sequentially changed to 0, 1, 2, 3, 4,... Read one by one.

ステップS106では、ステップS105での読み込みでNoの値が取得できなかったか或いはできたかにより、全Noの検索が終了したか否かを判断する。そして検索が終了した場合は、現在セットされているロール紙がプリンタの対応していないロール紙であることを意味するので、ステップS109で操作パネル205にロール紙の交換をユーザに促す旨のエラー表示を行なわせた後、処理を終了する。   In step S106, it is determined whether or not the search for all Nos is completed depending on whether or not the value of No could be acquired by reading in step S105. If the search is completed, it means that the currently set roll paper is a roll paper that is not compatible with the printer. Therefore, an error message that prompts the user to replace the roll paper in the operation panel 205 in step S109. After displaying, the process is terminated.

また、検索終了でなかった場合、つまり上記読み込みで1つのNoの値を取得できた場合は、ステップS107でそのNoに対応するロール紙幅の規格値を対応用紙幅記憶部2031から読み込む。そして、その規格値に対して、ステップS102で計測したロール紙幅の実測値がステップS104で読み込んだ誤差の許容範囲内で一致するか否か判定する。   If the search is not completed, that is, if one reading value can be obtained by reading, the standard value of the roll paper width corresponding to the No is read from the corresponding paper width storage unit 2031 in step S107. Then, it is determined whether or not the measured value of the roll paper width measured in step S102 matches the standard value within the allowable range of the error read in step S104.

ここで一致しない場合はステップS105に戻ってステップS105〜S107の処理を繰り返す。また、一致した場合は、ステップS108でセットされているロール紙の幅の規格値を上記一致した規格値であると特定し、ロール紙幅の検索結果として、特定したロール紙幅の規格値のIDを記憶すると共に、そのロール紙幅を操作パネル205に表示させる。その後、処理を終了する。   If they do not match, the process returns to step S105 to repeat the processes of steps S105 to S107. If they match, the standard value of the roll paper width set in step S108 is specified as the standard value that matches, and the ID of the standard value of the specified roll paper width is obtained as the roll paper width search result. The roll paper width is displayed on the operation panel 205 while being stored. Thereafter, the process ends.

ここで例えば、検索優先順位記憶部2032の内容が図6の(a)であり、ロール紙幅の実測値が2990[mm/10]、相対湿度が60%RHで誤差の許容範囲が±0.5%である場合に、ステップS105〜S107の処理を繰り返したとする。その場合、順次No.0, 1, 2と規格値と実測値の一致の判定を繰り返し、No.3の3000[mm/10]±0.5%で初めて実測値2990[mm/10]が誤差の許容範囲内で規格値と一致する。このため、給紙したロール紙の幅はID_300MMの300mm幅であると特定する。   Here, for example, the content of the search priority storage unit 2032 is (a) of FIG. 6, the measured value of the roll paper width is 2990 [mm / 10], the relative humidity is 60% RH, and the allowable error range is ± 0. In the case of 5%, it is assumed that the processing of steps S105 to S107 is repeated. In that case, in order 0, 1, 2 and the determination of coincidence between the standard value and the actual measurement value is repeated. The actual measured value 2990 [mm / 10] is equal to the standard value within the allowable range of error for the first time at 3000 [mm / 10] ± 0.5% of 3. For this reason, the width of the fed roll paper is specified to be 300 mm width of ID_300MM.

従来では、先述したように誤差の許容範囲を一律に例えば±1.0%に固定していた。この場合にステップS105〜S107の処理を繰り返すと、No.2の2970[mm/10]±1.0%で初めて実測値2990[mm/10]が誤差の許容範囲内で規格値と一致する。このため給紙したロール紙の幅がID_ISOA3の297mmであると誤って特定してしまうことになる。   Conventionally, as described above, the allowable range of error is uniformly fixed to ± 1.0%, for example. In this case, if the processing of steps S105 to S107 is repeated, No. 5 is obtained. The measured value 2990 [mm / 10] is equal to the standard value within the allowable error range for the first time at 2970 [mm / 10] ± 1.0%. Therefore, the width of the fed roll paper is erroneously specified as 297 mm of ID_ISOA3.

これに対して本実施例では、印刷に適した(ロール紙の膨張ないし収縮が小さい)中湿度の環境においては、高湿度ないし低湿度の環境におけるよりも誤差の許容範囲を狭めるので、互いに近似したロール紙幅どうしの間でもロール紙幅を正しく特定することができる。つまり、300mm幅とISO A3幅(297mm)で誤差の許容範囲(±0.5%)を考えると、300mm幅(298.5〜301.5mm)、ISO A3幅(295.515〜298.485mm)となる。すなわち、お互いの許容範囲で重複する領域は存在しない。従って、両者の検索の優先順位に拘わらず、正しく特定することができる。   On the other hand, in the present embodiment, in a medium humidity environment suitable for printing (roll paper expansion or contraction is small), the allowable range of error is narrower than that in a high humidity or low humidity environment, and therefore approximate to each other. The roll paper width can be correctly specified even between the roll paper widths. In other words, considering an error tolerance (± 0.5%) between 300 mm width and ISO A3 width (297 mm), 300 mm width (298.5-301.5 mm) and ISO A3 width (295.515-298.485 mm). ) That is, there is no overlapping area within the allowable range of each other. Therefore, it is possible to specify correctly regardless of the priority order of both searches.

またプリンタがID_ISOA3とID_300MMのロール紙幅に対応していても、ユーザが両者の内でID_300MMのロール紙しか使用しない場合は、優先用紙幅の設定で検索優先順位記憶部2032のデータを図6(b)のように設定しておけばよい。すなわちID_300MMのロール紙幅をID_ISOA3のロール紙幅より優先するように設定しておけばよい。こうすれば、高湿度ないし低湿度の環境でも、ID_300MMとID_ISOA3の内でID_300MMを正しく特定することができる。   If the printer supports ID_ISOA3 and ID_300MM roll paper widths, but the user uses only ID_300MM roll paper, the data in the search priority storage unit 2032 is set in the priority paper width setting in FIG. It may be set as shown in b). That is, the roll paper width of ID_300MM may be set to have priority over the roll paper width of ID_ISOA3. In this way, ID_300MM can be correctly specified in ID_300MM and ID_ISOA3 even in a high or low humidity environment.

[ロール紙幅指定に応じた印刷制御]
本実施例のプリンタでは、上述したように、ロール紙がセットされたときにロール紙を給紙してロール紙幅を検知する。その後、印刷データを受信して、印刷データ中に、検知したロール紙幅と異なるロール紙幅を指定するコマンドがあった場合、エラー表示を行なってユーザに印刷を実行するか否かを選択させ、その選択に応じて印刷を実行する。このようなロール紙幅指定に応じた印刷の制御動作を図11により以下に説明する。図11は、ロール紙幅指定に応じた印刷制御を行なうCPU201の処理手順を示すフローチャート図である。
[Print control according to roll paper width specification]
In the printer of this embodiment, as described above, when roll paper is set, the roll paper is fed to detect the roll paper width. After that, when print data is received and there is a command for specifying a roll paper width different from the detected roll paper width in the print data, an error is displayed and the user is asked to select whether or not to execute printing. Printing is performed according to the selection. The printing control operation corresponding to such roll paper width designation will be described below with reference to FIG. FIG. 11 is a flowchart showing a processing procedure of the CPU 201 that performs print control in accordance with the roll paper width designation.

図11の処理は、プリンタ200がホスト100から印刷データを受信したときに開始される。   The process of FIG. 11 is started when the printer 200 receives print data from the host 100.

まずステップS111において、CPU201は印刷データを解析する。   First, in step S111, the CPU 201 analyzes the print data.

次に、ステップS112において、解析の結果、印刷データ中にロール紙幅指定コマンドがあるか否か判定する。ここで、ロール紙幅指定コマンドは、前述した図5中のロール紙幅のIDでロール紙幅を指定するものとする。   Next, in step S112, it is determined whether there is a roll paper width designation command in the print data as a result of the analysis. Here, it is assumed that the roll paper width designation command designates the roll paper width by the roll paper width ID in FIG. 5 described above.

このロール紙幅指定コマンドがなかった場合にはステップS116にジャンプして、受信した印刷データの印刷処理を行い、その後、処理を終了する。   If there is no roll paper width designation command, the process jumps to step S116 to perform print processing of the received print data, and thereafter ends the processing.

一方、ロール紙幅指定コマンドがあった場合には、ステップS113に進み、前記コマンドにより指定されたロール紙幅のIDと、給紙したロール紙の幅(検知した幅)のIDとが一致するかを判定する。そして、一致していた場合にはステップS116にジャンプして、受信した印刷データの印刷処理を行い、その後、処理を終了する。   On the other hand, if there is a roll paper width designation command, the process advances to step S113 to check whether the roll paper width ID designated by the command matches the roll paper width ID (detected width) supplied. judge. If they match, the process jumps to step S116 to perform print processing of the received print data, and thereafter ends the processing.

また、一致していなかった場合には、ステップS114において指定されたロール紙幅と給紙したロール紙の幅が不一致である旨をユーザに報知するエラー表示を操作パネル205のLCDに行わせる。このエラー表示は、更に、ユーザに印刷を実行するか否かを、例えば操作パネル205上のオンラインキー或いはキャンセルキーなどの押下によって選択することを促す表示とする。   If they do not coincide with each other, an error is displayed on the LCD of the operation panel 205 to notify the user that the roll paper width designated in step S114 does not coincide with the width of the fed roll paper. This error display is further a display prompting the user to select whether or not to execute printing by pressing an online key or a cancel key on the operation panel 205, for example.

次に、ステップS115において、ユーザによる上記キーの押下によって印刷を実行することが選択されたか否か判断する。そしてオンラインキーなどの押下で印刷の実行が選択されたら、ステップS116において、受信した印刷データの印刷処理を行い、その後、処理を終了する。また、キャンセルキーなどの押下で印刷を実行しないことが選択されたら、ステップS117において、受信した印刷データの印刷をキャンセルする処理を行い、その後、処理を終了する。   Next, in step S115, it is determined whether or not execution of printing is selected by pressing the key by the user. If execution of printing is selected by pressing an online key or the like, in step S116, the received print data is printed, and then the process ends. If it is selected not to execute printing by pressing the cancel key or the like, in step S117, a process for canceling printing of the received print data is performed, and then the process ends.

なお、ステップS116で印刷処理する印刷データ内には従来の用紙サイズ設定データが含まれており、描画サイズはこの用紙サイズ設定で論理的に決まる。この論理的に決まる描画サイズの幅の値が給紙したロール紙の幅の実測値より大きい場合、吸引プラテン304に印刷してしまわないように、CPU201は論理的に決まる描画サイズの幅の値をロール紙幅の実測値でクリップして印刷処理を行う。   Note that the print data to be printed in step S116 includes conventional paper size setting data, and the drawing size is logically determined by this paper size setting. If this logically determined drawing size width value is larger than the actually measured width of the fed roll paper, the CPU 201 avoids printing on the suction platen 304 so that the CPU 201 logically determines the drawing size width value. Is clipped with the actual measured value of the roll paper width and printed.

以上では、ロール紙を給紙してロール紙幅を検知した後で印刷データを受信するように説明したが、印刷データの受信直後からステップS112の処理を行う前までの間でロール紙の給紙とロール紙幅検知を行うようにしてもよい。   In the above description, the print data is received after the roll paper is fed and the roll paper width is detected. However, the roll paper is fed between immediately after the print data is received and before the process of step S112 is performed. The roll paper width may be detected.

以上のような本実施例によれば、前述したように、プリンタにセットされ給紙したロール紙の幅を検知する処理で近似したロール紙幅の規格値どうしの300mm幅とISOA3幅の297mm幅との間で誤検知せずに正確に検知することができる。そして、この正確な検知結果に基づいて、図11で説明したロール紙幅指定に応じた印刷制御を適切に行うことができる。   According to the present embodiment as described above, as described above, the standard value of the roll paper width approximated by the process of detecting the width of the roll paper set and fed to the printer, and the ISOA3 width of 297 mm Can be detected accurately without erroneous detection. Then, based on this accurate detection result, it is possible to appropriately perform printing control according to the roll paper width designation described in FIG.

また、本実施例では、上記の近似したロール紙幅の規格値どうしの間での誤検知を防ぐために、ユーザは、必要に応じて、図9で説明した優先用紙幅の設定のためのキー操作をごくたまに行うだけでよい。すなわち、従来のようにロール紙の装着のたびにユーザがロール紙幅を入力するような方法に比べて、手間が殆どかからず、煩わしくない。   Further, in this embodiment, in order to prevent erroneous detection between the approximate standard values of the roll paper width described above, the user operates the key operation for setting the priority paper width described in FIG. 9 as necessary. You only need to do it occasionally. That is, as compared with the conventional method in which the user inputs the roll paper width each time the roll paper is loaded, it takes less time and is not troublesome.

なお、実施例のプリンタでは、幅の異なる複数種類のロール紙に印刷可能としてロール紙幅の検知を行うものとした。しかし、これに限らず、用紙として幅の異なる定型サイズなどの複数種類のカット紙に印刷可能として、セットされ給紙したカット紙の幅の検知をロール紙の場合と同様にして行い、定型サイズの判定処理などに適用してもよい。   In the printer of the embodiment, the roll paper width is detected so that printing can be performed on a plurality of types of roll paper having different widths. However, the present invention is not limited to this, and it is possible to print on multiple types of cut sheets such as standard sizes with different widths as paper. It may be applied to the determination process.

また、図7で説明した湿度/幅誤差記憶部2033の内容では、ロール紙幅の誤差の許容範囲をロール紙の種類に拘わらず相対湿度に応じて一律に設定するものとした。しかし、ロール紙の種類(カット紙に印刷する場合はカット紙の種類)毎に別々に誤差の許容範囲を相対湿度に応じて設定するものとしてもよい。これにより、検出された相対湿度とともに給紙されたロール紙の種類に応じて、誤差の許容範囲が可変に設定されることになる。   Further, in the contents of the humidity / width error storage unit 2033 described with reference to FIG. 7, the allowable range of the roll paper width error is uniformly set according to the relative humidity regardless of the type of roll paper. However, the error tolerance range may be set separately for each type of roll paper (type of cut paper when printing on cut paper) according to the relative humidity. As a result, the allowable range of error is variably set according to the type of roll paper fed together with the detected relative humidity.

また、実施例では相対湿度のみに応じてロール紙幅の誤差の許容範囲を設定するものとしたが、温湿度センサ210に検出される相対湿度と温度の組み合わせに応じて誤差の許容範囲を設定するものとしてもよい。その場合、記憶部2033のデータテーブルは、相対湿度の範囲と温度の範囲との複数の組み合わせのデータと前記組み合わせのそれぞれに対応する誤差の許容範囲のそれぞれのデータを対応付けて記憶したものとする。そして、このデータテーブルに基づいて誤差の許容範囲を設定する。   In the embodiment, the allowable range of the roll paper width error is set only according to the relative humidity. However, the allowable error range is set according to the combination of the relative humidity and the temperature detected by the temperature / humidity sensor 210. It may be a thing. In that case, the data table of the storage unit 2033 stores the data of a plurality of combinations of the relative humidity range and the temperature range and the data of the error tolerance ranges corresponding to each of the combinations in association with each other. To do. Then, an allowable range of error is set based on this data table.

また、実施例では優先用紙幅の設定で優先順位の可変な設定の対象となるロール紙幅の規格値を2つだけとしたが、3つ以上としてもよく、全部を対象としてもよい。   Further, in the embodiment, only two roll paper width standard values for which priority order can be changed by setting the priority paper width are set to two, but three or more may be set, or all may be set.

実施例のインクジェットプリンタに接続されるホストコンピュータの制御系の構成を示すブロック図である。It is a block diagram which shows the structure of the control system of the host computer connected to the inkjet printer of an Example. 実施例のプリンタの制御系の構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of a control system of the printer according to the embodiment. 実施例のプリンタの要部の機械的構成を示す上面図である。It is a top view which shows the mechanical structure of the principal part of the printer of an Example. 実施例のプリンタの要部の機械的構成を示す側断面図である。FIG. 2 is a side sectional view showing a mechanical configuration of a main part of the printer of the embodiment. 図2中の対応用紙幅記憶部のデータテーブルの内容を示す表図である。It is a table | surface figure which shows the content of the data table of the corresponding paper width memory | storage part in FIG. 図2中の検索優先順位記憶部のデータテーブルの内容を示す表図である。It is a table | surface figure which shows the content of the data table of the search priority order memory | storage part in FIG. 図2中の湿度/幅誤差記憶部のデータテーブルの内容を示す表図である。It is a table | surface figure which shows the content of the data table of the humidity / width error memory | storage part in FIG. 優先用紙幅の設定動作に関わるCPUの処理手順を示すフローチャート図である。FIG. 10 is a flowchart illustrating a processing procedure of a CPU related to a priority sheet width setting operation. 操作パネルのキー操作に応じた同パネルのLCDによる優先用紙幅の設定動作における表示の変化を示す説明図である。It is explanatory drawing which shows the change of the display in the setting operation | movement of the priority paper width by LCD of the panel according to key operation of the operation panel. ロール紙の給紙とロール紙幅検知を行うためのCPUの処理手順を示すフローチャート図である。FIG. 10 is a flowchart illustrating a processing procedure of a CPU for performing roll paper feeding and roll paper width detection. ロール紙幅指定に応じた印刷制御を行うためのCPUの処理手順を示すフローチャート図である。FIG. 9 is a flowchart illustrating a processing procedure of a CPU for performing printing control in accordance with roll paper width designation.

符号の説明Explanation of symbols

100 ホストコンピュータ
200 インクジェットプリンタ
201 CPU
202 RAM
203 ROM
205 操作パネル
206 LFモータ
207 CRモータ
209 読取りセンサ
210 温湿度センサ
301 ロール紙
302 LFローラ
305 キャリッジ
306 印刷ヘッド
307 CRエンコーダ
2031 対応用紙幅記憶部
2032 検索優先順位記憶部
2033 湿度/幅誤差記憶部
100 Host computer 200 Inkjet printer 201 CPU
202 RAM
203 ROM
205 Operation Panel 206 LF Motor 207 CR Motor 209 Reading Sensor 210 Temperature / Humidity Sensor 301 Roll Paper 302 LF Roller 305 Carriage 306 Print Head 307 CR Encoder 2031 Corresponding Paper Width Storage Unit 2032 Search Priority Storage Unit 2033 Humidity / Width Error Storage Unit

Claims (8)

幅が異なる複数種類の用紙に印刷可能であり、印刷前に給紙された用紙の幅を計測し、その実測値から当該用紙の幅の規格値を特定する用紙幅検知を行う印刷装置であって、
印刷可能な複数種類の用紙幅の規格値を記憶した用紙幅記憶手段と、
ユーザの操作に応じて、前記複数種類の用紙幅の規格値について用紙幅検知のための検索の優先順位を可変に設定する優先順位設定手段と、
給紙された用紙の幅を計測する計測手段と、
前記複数種類の用紙幅の規格値の内から前記計測手段により計測された用紙幅の実測値に対して予め設定された誤差の許容範囲内で一致する用紙幅の規格値を前記優先順位設定手段により設定された優先順位に従った順序で検索し、最初に該当した用紙幅の規格値を給紙された用紙の幅の規格値として特定する検索手段を有することを特徴とする印刷装置。
It is a printing device that can print on multiple types of paper with different widths, measures the width of the paper fed before printing, and performs paper width detection that identifies the standard value of the paper width from the measured value. And
Paper width storage means for storing standard values of a plurality of types of printable paper widths;
Priority setting means for variably setting search priority for paper width detection with respect to the standard values of the plurality of types of paper widths in accordance with a user operation;
A measuring means for measuring the width of the fed paper,
Among the standard values of the plurality of types of paper widths, a paper width standard value that matches a measured value of the paper width measured by the measuring unit within a preset allowable error range is the priority order setting unit. A printing apparatus comprising: search means for searching in an order according to the priority order set by the step, and specifying a standard value of a paper width corresponding first as a standard value of a width of a fed paper.
給紙された用紙の近傍の相対湿度を検出する湿度検出手段と、
該湿度検出手段により検出された相対湿度に応じて前記検索手段による検索時の誤差の許容範囲を可変に設定する許容範囲設定手段を有することを特徴とする請求項1に記載の印刷装置。
Humidity detecting means for detecting the relative humidity in the vicinity of the fed paper;
The printing apparatus according to claim 1, further comprising an allowable range setting unit that variably sets an allowable range of an error during the search by the search unit according to the relative humidity detected by the humidity detection unit.
幅が異なる複数種類の用紙に印刷可能であり、印刷前に給紙された用紙の幅を計測し、その実測値から当該用紙の幅の規格値を特定する用紙幅検知を行う印刷装置であって、
印刷可能な複数種類の用紙幅の規格値を記憶した用紙幅記憶手段と、
給紙された用紙の幅を計測する計測手段と、
給紙された用紙の近傍の相対湿度を検出する湿度検出手段と、
該湿度検出手段により検出された相対湿度に応じて用紙幅検知のための検索時の誤差の許容範囲を可変に設定する許容範囲設定手段と、
前記複数種類の用紙幅の規格値の内から前記計測手段により計測された用紙幅の実測値に対して前記許容範囲設定手段により設定された誤差の許容範囲内で一致する用紙幅の規格値を検索し、該当した用紙幅の規格値を給紙された用紙の幅の規格値として特定する検索手段を有することを特徴とする印刷装置。
It is a printing device that can print on multiple types of paper with different widths, measures the width of the paper fed before printing, and performs paper width detection that identifies the standard value of the paper width from the measured value. And
Paper width storage means for storing standard values of a plurality of types of printable paper widths;
A measuring means for measuring the width of the fed paper,
Humidity detecting means for detecting the relative humidity in the vicinity of the fed paper;
An allowable range setting means for variably setting an error allowable range at the time of searching for paper width detection according to the relative humidity detected by the humidity detection means;
A standard value of the paper width that matches the actual value of the paper width measured by the measuring means from the standard values of the plurality of types of paper widths within an allowable range of errors set by the allowable range setting means. A printing apparatus comprising search means for searching and specifying the standard value of the corresponding paper width as the standard value of the width of the fed paper.
前記許容範囲設定手段は、前記湿度検出手段により検出された相対湿度とともに給紙された用紙の種類に応じて前記検索時の誤差の許容範囲を可変に設定することを特徴とする請求項2または3に記載の印刷装置。   3. The allowable range setting unit variably sets an allowable range of error during the search according to the type of paper fed together with the relative humidity detected by the humidity detection unit. The printing apparatus according to 3. 幅が異なる複数種類の用紙に印刷可能であり、印刷前に給紙された用紙の幅を計測し、その実測値から当該用紙の幅の規格値を特定する用紙幅検知を行う印刷装置の用紙幅検知方法であって、
ユーザの操作に応じて、記憶手段に記憶された印刷可能な複数種類の用紙幅の規格値について用紙幅検知のための検索の優先順位を可変に設定する優先順位設定工程と、
給紙された用紙の幅を計測する計測工程と、
前記複数種類の用紙幅の規格値の内から前記計測工程で計測された用紙幅の実測値に対して予め設定された誤差の許容範囲内で一致する用紙幅の規格値を前記優先順位設定工程で設定された優先順位に従った順序で検索し、最初に該当した用紙幅の規格値を給紙された用紙の幅の規格値として特定する検索工程を実行することを特徴とする印刷装置の用紙幅検知方法。
Printing device paper that can print on multiple types of paper with different widths, measures the width of the paper fed before printing, and performs paper width detection that identifies the standard value of the paper width from the measured value A width detection method,
A priority setting step for variably setting a search priority for paper width detection with respect to standard values of a plurality of types of printable paper widths stored in the storage means in accordance with a user operation;
A measurement process for measuring the width of the fed paper,
Of the plurality of types of paper width standard values, a paper width standard value that coincides within a preset allowable error range with respect to the actual paper width value measured in the measurement step is set in the priority order setting step. And performing a search process for specifying the standard value of the corresponding paper width as the standard value of the width of the fed paper first. Paper width detection method.
幅が異なる複数種類の用紙に印刷可能であり、印刷前に給紙された用紙の幅を計測し、その実測値から当該用紙の幅の規格値を特定する用紙幅検知を行う印刷装置の用紙幅検知方法であって、
給紙された用紙の幅を計測する計測工程と、
給紙された用紙の近傍の相対湿度を検出する湿度検出工程と、
該湿度検出工程で検出された相対湿度に応じて用紙幅検知のための検索時の誤差の許容範囲を可変に設定する許容範囲設定工程と、
記憶手段に記憶された印刷可能な複数種類の用紙幅の規格値の内から前記計測工程で計測された用紙幅の実測値に対して前記許容範囲設定工程で設定された誤差の許容範囲内で一致する用紙幅の規格値を検索し、該当した用紙幅の規格値を給紙された用紙の幅の規格値として特定する検索工程を実行することを特徴とする印刷装置の用紙幅検知方法。
Printing device paper that can print on multiple types of paper with different widths, measures the width of the paper fed before printing, and performs paper width detection that identifies the standard value of the paper width from the measured value A width detection method,
A measurement process for measuring the width of the fed paper,
A humidity detection step for detecting the relative humidity in the vicinity of the fed paper;
An allowable range setting step of variably setting an allowable range of error at the time of searching for paper width detection according to the relative humidity detected in the humidity detection step;
Within the tolerance range of the error set in the tolerance range setting step with respect to the actually measured value of the sheet width measured in the measurement step from among the standard values of a plurality of printable sheet widths stored in the storage means. A paper width detection method for a printing apparatus, comprising: searching for a matching standard value of a paper width, and performing a search step of specifying the standard value of the corresponding paper width as a standard value of the width of a fed paper.
幅が異なる複数種類の用紙に印刷可能であり、印刷前に給紙された用紙の幅を計測し、その実測値から当該用紙の幅の規格値を特定する用紙幅検知を行う印刷装置の制御プログラムであって、
請求項5に記載の印刷装置の用紙幅検知方法で用紙幅を検知するための制御手順を含むことを特徴とする印刷装置の制御プログラム。
Control of a printing device that can print on multiple types of paper with different widths and measures the width of the paper fed before printing and performs paper width detection that identifies the standard value of the paper width from the measured value A program,
A control program for a printing apparatus, comprising a control procedure for detecting a paper width by the paper width detection method for a printing apparatus according to claim 5.
幅が異なる複数種類の用紙に印刷可能であり、印刷前に給紙された用紙の幅を計測し、その実測値から当該用紙の幅の規格値を特定する用紙幅検知を行う印刷装置の制御プログラムであって、
請求項6に記載の印刷装置の用紙幅検知方法で用紙幅を検知するための制御手順を含むことを特徴とする印刷装置の制御プログラム。
Control of a printing device that can print on multiple types of paper with different widths and measures the width of the paper fed before printing and performs paper width detection that identifies the standard value of the paper width from the measured value A program,
A control program for a printing apparatus, comprising a control procedure for detecting a paper width by the paper width detection method for a printing apparatus according to claim 6.
JP2006328898A 2006-12-06 2006-12-06 Printer, method of detecting paper width of printer, and control program of printer Withdrawn JP2008142899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006328898A JP2008142899A (en) 2006-12-06 2006-12-06 Printer, method of detecting paper width of printer, and control program of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006328898A JP2008142899A (en) 2006-12-06 2006-12-06 Printer, method of detecting paper width of printer, and control program of printer

Publications (1)

Publication Number Publication Date
JP2008142899A true JP2008142899A (en) 2008-06-26

Family

ID=39603614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006328898A Withdrawn JP2008142899A (en) 2006-12-06 2006-12-06 Printer, method of detecting paper width of printer, and control program of printer

Country Status (1)

Country Link
JP (1) JP2008142899A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010030752A (en) * 2008-07-30 2010-02-12 Seiko Epson Corp Paper width detecting method for label printer and printing control method for label printer, and label printer
JP2017165047A (en) * 2016-03-18 2017-09-21 株式会社沖データ Image formation apparatus, image formation system, setting method, and program
JP7483411B2 (en) 2020-03-03 2024-05-15 キヤノン株式会社 Recording device and method for determining width of recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010030752A (en) * 2008-07-30 2010-02-12 Seiko Epson Corp Paper width detecting method for label printer and printing control method for label printer, and label printer
JP2017165047A (en) * 2016-03-18 2017-09-21 株式会社沖データ Image formation apparatus, image formation system, setting method, and program
JP7483411B2 (en) 2020-03-03 2024-05-15 キヤノン株式会社 Recording device and method for determining width of recording medium

Similar Documents

Publication Publication Date Title
US8191984B2 (en) Recording medium detection method and label printer
US9656486B2 (en) Printer and printing system
JP6362382B2 (en) Printing control apparatus and control method therefor
JP5962919B2 (en) Printing device
JP6650720B2 (en) Recording device, recording device control method, and program
US8646996B2 (en) Method of setting paper in a printer, and a printer
JP2006127500A (en) Printer, printing system and driver program for printer
JP2008142899A (en) Printer, method of detecting paper width of printer, and control program of printer
JP2013151129A (en) Printing apparatus, and method for controlling the same
JP5783812B2 (en) Display control apparatus, display control method, and program
US20120050445A1 (en) Printer, roll and method for use of the same
US6821037B2 (en) Printing device provided with cutter to cut recording paper
US9493018B2 (en) Printing apparatus with cut unit configured to cut a sheet according to an operator&#39;s instructions
JP5063317B2 (en) Printer
JP4143001B2 (en) Label continuum and printer
JP2010023387A (en) Method for cutting recording paper in printer and printer
JP2000020274A (en) Printer, print instruction generating device, and print system
JP2007153602A (en) Ink jet printer
US11993073B2 (en) Printing apparatus and printing method
JP2007161467A (en) Printer and control by paper residual quantity of roll paper
JP2019123095A (en) Printer and printing processing program
JP2016139173A (en) Print control device, print control method and print system
US11590777B2 (en) Printing apparatus and printing method
JP2001001617A (en) Image-recording apparatus
US20220317938A1 (en) Print device, print quality judgment method, and non-transitory computer-readable storage medium

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20100302