JP2022185378A - Printer and control method of printer - Google Patents

Printer and control method of printer Download PDF

Info

Publication number
JP2022185378A
JP2022185378A JP2021093021A JP2021093021A JP2022185378A JP 2022185378 A JP2022185378 A JP 2022185378A JP 2021093021 A JP2021093021 A JP 2021093021A JP 2021093021 A JP2021093021 A JP 2021093021A JP 2022185378 A JP2022185378 A JP 2022185378A
Authority
JP
Japan
Prior art keywords
paper
width
recording paper
optical sensor
recording
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
JP2021093021A
Other languages
Japanese (ja)
Inventor
一貴 山本
Kazuki Yamamoto
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 JP2021093021A priority Critical patent/JP2022185378A/en
Publication of JP2022185378A publication Critical patent/JP2022185378A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Handling Of Continuous Sheets Of Paper (AREA)
  • Controlling Sheets Or Webs (AREA)

Abstract

To suppress an increase in the number of types of components mounted on a printer.SOLUTION: A printer comprises: a conveyance roller which conveys a recording sheet P1 with a first sheet width provided with a plurality of detection portions BM in the longitudinal direction or a recording sheet P2 with a second sheet width narrower than the first sheet width and provided with a plurality of detection portions BM in the longitudinal direction; a plurality of optical sensors which include a first optical sensor S1 that is provided at a position through which the detection portions BM of the recording sheet P1 with the first sheet width pass and a second optical sensor S2 that is provided at a position through which the detection portions BM of the recording sheet P2 with the second sheet width pass; and a control unit which detects the detection portions BM of the recording sheet P1 with the first sheet width on the basis of the output from the first optical sensor S1 and detects the detection portions of the recording sheet P2 with the second sheet width on the basis of the output from the second optical sensor S2. The control unit detects conveyance of any of the recording sheet P1 with the first sheet width and the recording sheet P2 with the second sheet width on the basis of the output from the plurality of optical sensors S.SELECTED DRAWING: Figure 7

Description

本発明は、印刷装置および印刷装置の制御方法に関するものである。 The present invention relates to a printing device and a control method for the printing device.

従来、特許文献1に開示されているように、複数種類の紙幅の記録紙を用いることが可能な印刷装置が知られている。この印刷装置は、記録紙の位置を規制する紙ガイドの取り付け状態を接触式センサーで検出し、検出した紙ガイドの取り付け状態が第1紙幅に対応する状態であって、紙幅の設定値が第1紙幅以外の紙幅を示す値の場合、紙幅の設定値を、第1紙幅を示す値に変更する。 2. Description of the Related Art Conventionally, as disclosed in Japanese Patent Application Laid-Open No. 2002-200010, there is known a printing apparatus capable of using recording paper of a plurality of types of paper widths. In this printing apparatus, a contact sensor detects the attachment state of a paper guide that regulates the position of the recording paper. In the case of a value indicating a paper width other than 1 paper width, the paper width setting value is changed to a value indicating the first paper width.

特開2017-035857号公報JP 2017-035857 A

印刷装置のなかには、長さ方向に複数の検出部位が設けられた記録紙を用いるものがある。この種の印刷装置は、記録紙の検出部位を検出することにより、記録紙の長さ方向における位置を認識する。特許文献1に開示されている印刷装置において、このような記録紙を用いると、紙ガイドの取り付け状態を検出する接触式センサーの他に、記録紙の検出部位を検出するセンサーが必要となり、部品種数が増加してしまう。また、特許文献1に開示されている印刷装置は、接触式センサーを用いているため、非接触式のセンサーを用いる場合と比較して、機械的な破損リスクが高い。 Some printing apparatuses use a recording sheet provided with a plurality of detection sites in the longitudinal direction. This type of printing apparatus recognizes the position of the recording paper in the longitudinal direction by detecting the detection portion of the recording paper. If such recording paper is used in the printing apparatus disclosed in Japanese Patent Application Laid-Open No. 2002-200010, a contact sensor for detecting the mounting state of the paper guide and a sensor for detecting the detection part of the recording paper are required. The number of varieties will increase. Further, since the printing apparatus disclosed in Patent Document 1 uses a contact sensor, the risk of mechanical damage is higher than when using a non-contact sensor.

本発明の印刷装置は、長さ方向に複数の検出部位が設けられた第1紙幅の記録紙、または、長さ方向に複数の検出部位が設けられ、第1紙幅よりも幅の狭い第2紙幅の記録紙を搬送する搬送ローラーと、第1紙幅の記録紙の検出部位が通過する位置に設けられた第1光学式センサーと、第2紙幅の記録紙の検出部位が通過する位置に設けられた第2光学式センサーと、を含む複数の光学式センサーと、第1光学式センサーからの出力に基づいて、第1紙幅の記録紙の検出部位を検出し、第2光学式センサーからの出力に基づいて、第2紙幅の記録紙の検出部位を検出する制御部と、を備え、制御部は、複数の光学式センサーからの出力に基づいて、第1紙幅の記録紙および第2紙幅の記録紙のいずれが搬送されるかを検出する。 The printing apparatus of the present invention can be used for recording paper having a first paper width in which a plurality of detection portions are provided in the length direction, or a recording paper having a width narrower than the first paper width, in which a plurality of detection portions are provided in the length direction. a first optical sensor provided at a position through which a detection portion for recording paper having the first paper width passes; and a first optical sensor provided at a position through which a detection portion for recording paper having the second paper width passes. a plurality of optical sensors including a second optical sensor mounted thereon; detecting the detection portion of the recording paper having the first paper width based on the output from the first optical sensor; a control unit for detecting detection positions of the recording paper of the second paper width based on the output, wherein the control unit controls the recording paper of the first paper width and the recording paper of the second paper width based on the outputs from the plurality of optical sensors. , which recording paper is being conveyed.

本発明の印刷装置の制御方法は、長さ方向に複数の検出部位が設けられた第1紙幅の記録紙、または、長さ方向に複数の検出部位が設けられ、第1紙幅よりも幅の狭い第2紙幅の記録紙を搬送する搬送ローラーと、第1紙幅の記録紙の検出部位が通過する位置に設けられた第1光学式センサーと、第2紙幅の記録紙の検出部位が通過する位置に設けられた第2光学式センサーと、を含む複数の光学式センサーと、制御部と、を備えた印刷装置の制御方法であって、制御部は、第1光学式センサーからの出力に基づいて、第1紙幅の記録紙の検出部位を検出するステップと、第2光学式センサーからの出力に基づいて、第2紙幅の記録紙の検出部位を検出するステップと、複数の光学式センサーからの出力に基づいて、第1紙幅の記録紙および第2紙幅の記録紙のいずれが搬送されるかを検出するステップと、を実行する。 The method of controlling a printing apparatus according to the present invention includes recording paper having a first paper width in which a plurality of detection portions are provided in the length direction, or recording paper having a width greater than the first paper width in which a plurality of detection portions are provided in the length direction. A conveying roller that conveys the recording paper of the second narrow paper width, a first optical sensor provided at a position where the detection portion of the recording paper of the first paper width passes, and the detection portion of the recording paper of the second paper width pass through. A method for controlling a printing apparatus, comprising: a plurality of optical sensors including a second optical sensor provided at a position; and a controller, wherein the controller controls output from the first optical sensor. a step of detecting a detection portion of a recording sheet having a first paper width based on the output from the second optical sensor; a step of detecting a detection portion of a recording sheet having a second paper width based on an output from the second optical sensor; and detecting which of the recording paper having the first paper width and the recording paper having the second paper width is conveyed based on the output from the.

開閉カバーが閉められた状態における印刷装置の斜視図である。FIG. 2 is a perspective view of the printing apparatus with the opening/closing cover closed; 開閉カバーが開かれた状態における印刷装置の斜視図である。1 is a perspective view of a printing device with an open/close cover opened; FIG. 印刷装置の断面図である。1 is a cross-sectional view of a printing device; FIG. ロール紙ホルダーに仕切り部材が装着されていない状態を示す図である。FIG. 4 is a diagram showing a state in which a partition member is not attached to the roll paper holder; ロール紙ホルダーに第1仕切り部材が装着された状態を示す図である。FIG. 4 is a diagram showing a state in which the first partition member is attached to the roll paper holder; 第1実施形態に係る、印刷装置のハードウェア構成を示すブロック図である。2 is a block diagram showing the hardware configuration of the printer according to the first embodiment; FIG. 2種類の紙幅の記録紙の搬送領域と、各記録紙に設けられたブラックマークと、2つの光学式センサーとの位置関係を示す図である。FIG. 2 is a diagram showing the positional relationship between the transport areas of recording paper of two types of paper widths, the black marks provided on each recording paper, and the two optical sensors; 第1実施形態に係る、記録紙検出処理を示すフローチャートである。6 is a flowchart showing recording paper detection processing according to the first embodiment. ロール紙ホルダーに第1仕切り部材および第2仕切り部材が装着された状態を示す図である。FIG. 4 is a diagram showing a state in which a first partition member and a second partition member are attached to the roll paper holder; 2種類の紙幅の記録紙の搬送領域と、各記録紙に設けられたブラックマークと、2つの光学式センサーとの他の位置関係を示す図である。FIG. 10 is a diagram showing another positional relationship between the conveyance areas of recording paper of two types of paper widths, black marks provided on each recording paper, and two optical sensors; 第1記録紙に設けられたブラックマークの他の例を示す図である。FIG. 8 is a diagram showing another example of black marks provided on the first recording paper; 第2実施形態に係る、印刷装置のハードウェア構成を示すブロック図である。FIG. 11 is a block diagram showing the hardware configuration of a printing apparatus according to the second embodiment; FIG. 3種類の紙幅の記録紙の搬送領域と、各記録紙に設けられたブラックマークと、3つの光学式センサーとの位置関係を示す図である。FIG. 3 is a diagram showing the positional relationship between the transport areas of recording paper of three types of paper widths, the black marks provided on each recording paper, and the three optical sensors; 第2実施形態に係る、記録紙検出処理を示すフローチャートである。9 is a flowchart showing recording paper detection processing according to the second embodiment. 3種類の紙幅の記録紙の搬送領域と、各記録紙に設けられたブラックマークと、3つの光学式センサーとの他の位置関係を示す図である。FIG. 10 is a diagram showing another positional relationship between the transport areas of recording paper of three types of paper widths, the black marks provided on each recording paper, and the three optical sensors; 4種類の紙幅の記録紙の搬送領域と、各記録紙に設けられたブラックマークと、3つの光学式センサーとの位置関係を示す図である。FIG. 3 is a diagram showing the positional relationship between the transport areas of recording paper of four types of paper widths, the black marks provided on each recording paper, and the three optical sensors;

[第1実施形態]
以下、添付の図面を参照して、印刷装置および印刷装置の制御方法の一実施形態について説明する。本実施形態の印刷装置1は、例えば、POS(Point of sale)システムにおいてレシートプリンターとして用いられるものである。以下では、一部の図面に示したXYZ直交座標系またはX座標系による方向を用いて説明するが、これらの方向は説明の便宜上のものにすぎず、以下の実施形態を何ら限定するものではない。なお、XYZ直交座標系を示す図面では、鉛直方向をZ方向としている。
[First embodiment]
An embodiment of a printing apparatus and a method of controlling the printing apparatus will be described below with reference to the accompanying drawings. The printing apparatus 1 of this embodiment is used, for example, as a receipt printer in a POS (Point of sale) system. In the following, the directions of the XYZ orthogonal coordinate system or the X coordinate system shown in some of the drawings will be used, but these directions are for convenience of explanation only and do not limit the following embodiments in any way. do not have. In addition, in the drawings showing the XYZ orthogonal coordinate system, the vertical direction is the Z direction.

図1および図2に基づいて、印刷装置1の外観構造について説明する。印刷装置1は、装置本体3と、開閉カバー5とを備えている。装置本体3は、-Y方向の面に開口部6が設けられた略直方体状に形成されており、装置本体3の内部には、ロール紙ホルダー8が設けられている。ロール紙ホルダー8には、印刷媒体である記録紙Pが巻かれたロール紙Rが収容される(図3参照)。開閉カバー5は、装置本体3の-Z方向の端部に回動可能に取り付けられており、開口部6を開閉する。 The external structure of the printing apparatus 1 will be described based on FIGS. 1 and 2. FIG. The printing device 1 includes a device main body 3 and an opening/closing cover 5 . The apparatus main body 3 is formed in a substantially rectangular parallelepiped shape with an opening 6 provided on the -Y direction surface, and a roll paper holder 8 is provided inside the apparatus main body 3 . The roll paper holder 8 accommodates the roll paper R wound with the recording paper P, which is a print medium (see FIG. 3). The opening/closing cover 5 is rotatably attached to the end of the device main body 3 in the -Z direction, and opens and closes the opening 6 .

印刷装置1は、外装として、本体外装部7と、上部外装部9と、カバー外装部11とを備えている。 The printing apparatus 1 includes a body exterior portion 7 , an upper exterior portion 9 , and a cover exterior portion 11 as exteriors.

本体外装部7および上部外装部9は、装置本体3の外装を構成している。本体外装部7は、-Y方向の面が開口した略直方体の箱状に形成されている。上部外装部9は、開閉カバー5に対して+Z方向に設けられている。上部外装部9と開閉カバー5との境界部には、排出口13が設けられている。排出口13からは、ロール紙ホルダー8に収容されたロール紙Rから繰り出された記録紙Pが、排出される。カバー外装部11は、開閉カバー5の外装を構成している。 The body exterior portion 7 and the upper exterior portion 9 constitute the exterior of the device body 3 . The body exterior part 7 is formed in a substantially rectangular parallelepiped box shape with an open surface in the -Y direction. The upper exterior part 9 is provided in the +Z direction with respect to the opening/closing cover 5 . A discharge port 13 is provided at the boundary between the upper exterior portion 9 and the opening/closing cover 5 . The recording paper P drawn out from the roll paper R housed in the roll paper holder 8 is discharged from the discharge port 13 . The cover exterior part 11 constitutes the exterior of the opening/closing cover 5 .

開閉カバー5の-X方向および+X方向の端部には、カバー摘み部15が設けられている。カバー摘み部15は、摘み部本体15aと、摘み部本体15aの+Y方向に設けられた摘み部係止部15bと、を有している。開閉カバー5は、この摘み部係止部15bが、装置本体3に設けられたカバー係止部(図示省略)に係止されることにより、閉状態が維持される。ユーザーは、摘み部本体15aを摘み、摘み部係止部15bの係止状態を解除することにより、開閉カバー5を開く。 Cover knobs 15 are provided at the ends of the opening/closing cover 5 in the -X direction and the +X direction. The cover knob portion 15 has a knob portion main body 15a and a knob portion locking portion 15b provided in the +Y direction of the knob portion main body 15a. The opening/closing cover 5 is maintained in a closed state by engaging the knob engaging portion 15b with a cover engaging portion (not shown) provided on the apparatus main body 3. As shown in FIG. The user opens the opening/closing cover 5 by pinching the knob main body 15a and releasing the locked state of the knob locking portion 15b.

印刷装置1は、電源ボタン17と、搬送ボタン19と、パネル部21とを備えている。電源ボタン17および搬送ボタン19は、開閉カバー5の-Y方向の面において、-X方向の端部に設けられている。また、パネル部21は、印刷装置1の-Y方向の面において、+Z方向の端部に設けられている。電源ボタン17が押されると、印刷装置1の電源オンと電源オフが切り替わる。搬送ボタン19が押されると、後述するプラテンローラー35が回転し、記録紙Pが排出口13に向けて送られる。パネル部21は、エラーなどの各種情報を、ユーザーに対して表示する。 The printer 1 includes a power button 17 , a transport button 19 and a panel section 21 . The power button 17 and the transport button 19 are provided at the −X direction end of the −Y direction surface of the opening/closing cover 5 . The panel section 21 is provided at the +Z-direction end of the −Y-direction surface of the printing apparatus 1 . When the power button 17 is pressed, the printer 1 is switched between power-on and power-off. When the transport button 19 is pressed, a platen roller 35 (to be described later) rotates and the recording paper P is transported toward the discharge port 13 . The panel unit 21 displays various information such as errors to the user.

図3ないし図5に基づいて、印刷装置1の内部構造について説明する。印刷装置1は、サーマルヘッド29と、カッターモーター31と、搬送モーター(図示省略)と、プラテンローラー35と、切断機構37と、センサーユニット39と、紙経路41と、ロール紙ホルダー8とを備えている。プラテンローラー35は、「搬送ローラー」の一例である。 The internal structure of the printer 1 will be described with reference to FIGS. 3 to 5. FIG. The printing apparatus 1 includes a thermal head 29, a cutter motor 31, a transport motor (not shown), a platen roller 35, a cutting mechanism 37, a sensor unit 39, a paper path 41, and a roll paper holder 8. ing. The platen roller 35 is an example of a "transport roller."

サーマルヘッド29は、装置本体3の+Z方向寄り且つ-Y方向寄りに設けられている。サーマルヘッド29は、複数の発熱素子(図示省略)を備えており、ロール紙Rから繰り出された記録紙Pに印刷を行う。サーマルヘッド29は、ばね(図示省略)によって、後述するプラテンローラー35に向けて力が付与されている。このため、サーマルヘッド29は、プラテンローラー35との間で記録紙Pを挟持する。 The thermal head 29 is provided near the +Z direction and the −Y direction of the apparatus main body 3 . The thermal head 29 includes a plurality of heating elements (not shown), and prints on the recording paper P fed out from the roll paper R. FIG. A force is applied to the thermal head 29 toward a platen roller 35 to be described later by a spring (not shown). Therefore, the thermal head 29 sandwiches the recording paper P between itself and the platen roller 35 .

搬送モーターは、装置本体3の+Z方向の端部に設けられている。搬送モーターは、プラテンローラー35の駆動源である。搬送モーターとしては、例えば、DCモーター(DC:Direct Current)を用いることができる。 The transport motor is provided at the end of the apparatus main body 3 in the +Z direction. The transport motor is a drive source for the platen roller 35 . As the transport motor, for example, a DC motor (DC: Direct Current) can be used.

プラテンローラー35は、開閉カバー5の+Y方向の面に回転可能に支持されている。プラテンローラー35は、開閉カバー5が閉められたときに、サーマルヘッド29と対向する。プラテンローラー35は、サーマルヘッド29との間で挟持した記録紙Pを、排出口13へ向けて搬送する。すなわち、プラテンローラー35が回転すると、記録紙Pがロール紙Rから繰り出されて、排出口13へ向けて搬送される。プラテンローラー35は、ばね(図示省略)によって、サーマルヘッド29に向けて力を付与する構成であってもよい。 The platen roller 35 is rotatably supported on the +Y direction surface of the opening/closing cover 5 . The platen roller 35 faces the thermal head 29 when the opening/closing cover 5 is closed. The platen roller 35 conveys the recording paper P sandwiched between itself and the thermal head 29 toward the discharge port 13 . That is, when the platen roller 35 rotates, the recording paper P is fed out from the roll paper R and conveyed toward the discharge port 13 . The platen roller 35 may be configured to apply force toward the thermal head 29 with a spring (not shown).

切断機構37は、カッターモーター31と、カッターモーター31によって駆動されて移動する可動刃(図示省略)とを備えている。可動刃および後述する固定刃は、プラテンローラー35と排出口13との間に設けられており、排出口13へ送られた記録紙Pを、印刷済み部分の後方で、記録紙Pの幅方向すなわちX方向に切断する。カッターモーター31は、装置本体3の+Z方向の端部に設けられている。なお、記録紙Pの幅方向は、プラテンローラー35の軸線方向に相当する。切断機構37は、記録紙Pが排出口13に留まるよう、記録紙PのX方向における一部を残して、記録紙Pを切断するパーシャルカットを行う。より具体的には、切断機構37の可動刃は開閉カバー5に設けられた固定刃と噛み合って移動し、記録紙Pを切断する。可動刃には切り欠き部分が設けられており、可動刃は、切り欠き部分で記録紙Pに切り残しを形成しつつ、切り欠き部分以外の刃部で記録紙Pを切断し、パーシャルカットを行う。可動刃は第1刃と記載してもよく、固定刃は第2刃と記載してもよい。 The cutting mechanism 37 includes a cutter motor 31 and a movable blade (not shown) that is driven by the cutter motor 31 to move. A movable blade and a fixed blade, which will be described later, are provided between the platen roller 35 and the discharge port 13, and move the recording paper P fed to the discharge port 13 in the width direction of the recording paper P behind the printed portion. That is, cutting is performed in the X direction. The cutter motor 31 is provided at the end of the device main body 3 in the +Z direction. The width direction of the recording paper P corresponds to the axial direction of the platen roller 35 . The cutting mechanism 37 performs a partial cut to cut the recording paper P, leaving a part of the recording paper P in the X direction so that the recording paper P remains in the discharge port 13 . More specifically, the movable blade of the cutting mechanism 37 moves while meshing with a fixed blade provided on the opening/closing cover 5 to cut the recording paper P. As shown in FIG. The movable blade is provided with a cutout portion, and the movable blade cuts the recording paper P with a blade portion other than the cutout portion while forming an uncut portion on the recording paper P at the cutout portion, thereby performing a partial cut. conduct. The movable blade may be described as the first blade, and the fixed blade may be described as the second blade.

センサーユニット39は、複数の光学式センサーSを備えている。光学式センサーSは、例えば、反射型光学式センサーを用いることができる。複数の光学式センサーSは、プラテンローラー35の軸線方向、すなわちX方向に並んで配置されている。つまり、複数の光学式センサーSは、それぞれの検出位置がX方向に並ぶように配置されている。センサーユニット39は、記録紙PのブラックマークBM(図7等参照)の検出と、記録紙Pの紙幅検出とに用いられる。 The sensor unit 39 includes a plurality of optical sensors S. For the optical sensor S, for example, a reflective optical sensor can be used. A plurality of optical sensors S are arranged side by side in the axial direction of the platen roller 35, that is, in the X direction. That is, the plurality of optical sensors S are arranged such that their detection positions are aligned in the X direction. The sensor unit 39 is used for detecting the black mark BM on the recording paper P (see FIG. 7, etc.) and for detecting the paper width of the recording paper P. FIG.

ブラックマークBMは、記録紙Pの一方の面の-X方向端部に、所定の間隙を存して複数設けられている。記録紙Pの他方の面は、サーマルヘッド29により印刷が行われる印刷面となる。また、記録紙Pに設けられる複数のブラックマークBMは、いずれも、X方向に長い黒色の長方形状であり、同サイズである。 A plurality of black marks BM are provided on one side of the recording paper P at the end in the -X direction with a predetermined gap therebetween. The other surface of the recording paper P is a printing surface on which printing is performed by the thermal head 29 . Also, the plurality of black marks BM provided on the recording paper P are all black rectangles elongated in the X direction and of the same size.

紙経路41は、ロール紙Rから繰り出された記録紙Pを、排出口13に向けて搬送する経路である。本実施形態に係る印刷装置1は、80mm幅の記録紙Pである第1記録紙P1と、58mm幅の記録紙Pである第2記録紙P2とのいずれかを選択的に用いることができる(図7参照)。なお、80mm幅は、「第1紙幅」の一例であり、58mm幅は、「第2紙幅」の一例である。 The paper path 41 is a path for conveying the recording paper P drawn out from the roll paper R toward the discharge port 13 . The printing apparatus 1 according to this embodiment can selectively use either the first recording paper P1, which is the recording paper P with a width of 80 mm, or the second recording paper P2, which is the recording paper P with a width of 58 mm. (See FIG. 7). The width of 80 mm is an example of the "first paper width", and the width of 58 mm is an example of the "second paper width".

ロール紙ホルダー8は、記録紙Pが巻かれたロール紙Rを収容する。58mm幅のロール紙Rが用いられる場合、ロール紙ホルダー8の-X方向の端部W1には、第1仕切り部材51が取り付けられる(図5参照)。第1仕切り部材51は、-Z方向に第1仕切り係止部(図示省略)が形成されており、この第1仕切り係止部が、ロール紙ホルダー8の底面に設けられた第1ホルダー係止部(図示省略)に係止されることにより、ロール紙ホルダー8の-X方向の端部W1に位置決めされる。 The roll paper holder 8 accommodates the roll paper R around which the recording paper P is wound. When the roll paper R with a width of 58 mm is used, a first partition member 51 is attached to the −X direction end W1 of the roll paper holder 8 (see FIG. 5). The first partition member 51 has a first partition locking portion (not shown) formed in the -Z direction. It is positioned at the −X-direction end W1 of the roll paper holder 8 by being engaged with a stopper (not shown).

第1仕切り部材51は、58mm幅のロール紙Rの-X方向の端面と接触し、58mm幅のロール紙RのX方向における位置を規制する。また、58mm幅のロール紙Rは、ロール紙ホルダー8の+X方向の側面45とも接触する。すなわち、58mm幅のロール紙Rは、第1仕切り部材51と、ロール紙ホルダー8の+X方向の側面45とにより、X方向における位置が規制される。 The first partition member 51 contacts the end surface of the roll paper R with a width of 58 mm in the -X direction, and regulates the position of the roll paper R with a width of 58 mm in the X direction. The 58 mm wide roll paper R also contacts the side surface 45 of the roll paper holder 8 in the +X direction. That is, the position of the roll paper R with a width of 58 mm in the X direction is restricted by the first partition member 51 and the +X direction side surface 45 of the roll paper holder 8 .

一方、80mm幅のロール紙Rが用いられる場合、図4に示すように、ロール紙ホルダー8からは、第1仕切り部材51が取り外される。80mm幅のロール紙Rは、ロール紙ホルダー8の-X方向の側面43と、ロール紙ホルダー8の+X方向の側面45とにより、X方向における位置が規制される。 On the other hand, when the roll paper R with a width of 80 mm is used, the first partition member 51 is removed from the roll paper holder 8 as shown in FIG. The roll paper R with a width of 80 mm is restricted in its position in the X direction by the −X direction side surface 43 of the roll paper holder 8 and the +X direction side surface 45 of the roll paper holder 8 .

図6に基づいて、印刷装置1のハードウェア構成について説明する。印刷装置1は、主なハードウェア構成として、制御部100と、印刷部140と、第1光学式センサーS1と、第2光学式センサーS2と、通信部150とを備えている。このうち、第1光学式センサーS1および第2光学式センサーS2は、センサーユニット39を構成している。 A hardware configuration of the printing apparatus 1 will be described based on FIG. The printing apparatus 1 includes a control section 100, a printing section 140, a first optical sensor S1, a second optical sensor S2, and a communication section 150 as main hardware components. Among them, the first optical sensor S1 and the second optical sensor S2 constitute a sensor unit 39. As shown in FIG.

制御部100は、CPU(Central Processing Unit)110と、ROM(Read Only Memory)120と、RAM(Random Access Memory)130と、を含む。 The control unit 100 includes a CPU (Central Processing Unit) 110 , a ROM (Read Only Memory) 120 and a RAM (Random Access Memory) 130 .

CPU110は、ROM120に記憶された各種制御プログラムをRAM130に展開して実行することにより、各種制御を行う。なお、制御部100は、CPU110に代え、ASIC(Application Specific Integrated Circuit)等のハードウェア回路をプロセッサーとして用いてもよい。また、プロセッサーは、1以上のCPUとASIC等のハードウェア回路が協働して動作する構成でもよい。 The CPU 110 performs various controls by developing various control programs stored in the ROM 120 in the RAM 130 and executing them. Note that the control unit 100 may use a hardware circuit such as an ASIC (Application Specific Integrated Circuit) as a processor instead of the CPU 110 . Also, the processor may be configured such that one or more CPUs and hardware circuits such as ASICs operate in cooperation with each other.

ROM120は、ファームウェア121など、各種制御プログラムを記憶する。CPU110は、このファームウェア121に基づいて、印刷装置1内のハードウェアを制御する。また、CPU110は、このファームウェア121に基づいて、後述する記録紙検出処理を行う。記録紙検出処理では、記録紙Pの紙幅が検出される。 ROM 120 stores various control programs such as firmware 121 . The CPU 110 controls the hardware inside the printer 1 based on this firmware 121 . Based on the firmware 121, the CPU 110 also performs recording paper detection processing, which will be described later. In the recording paper detection process, the paper width of the recording paper P is detected.

RAM130は、CPU110が各種制御を行うためのワークエリアとして用いられる。また、RAM130は、各種設定値を記憶する設定値記憶領域131を有している。設定値記憶領域131には、記録紙Pの紙幅を示す紙幅設定値などが記憶される。 The RAM 130 is used as a work area for the CPU 110 to perform various controls. The RAM 130 also has a setting value storage area 131 for storing various setting values. A paper width setting value indicating the paper width of the recording paper P and the like are stored in the setting value storage area 131 .

印刷部140は、記録紙Pへの印刷および記録紙Pの切断を行う機構であり、サーマルヘッド29と、搬送モーターと、切断機構37とを含む。切断機構37は、パーシャルカットを行う可動刃と、オートカッターを駆動するカッターモーター31とを含む。切断機構37は、パーシャルカットにより、第1記録紙P1のX方向における略中央部、および第2記録紙P2の-X方向端部に切り残しを形成する。 The printing unit 140 is a mechanism for printing on the recording paper P and cutting the recording paper P, and includes a thermal head 29 , a transport motor, and a cutting mechanism 37 . The cutting mechanism 37 includes a movable blade that performs partial cutting and a cutter motor 31 that drives an auto cutter. The cutting mechanism 37 partially cuts the first recording paper P1 in the X direction and forms an uncut portion in the -X direction end of the second recording paper P2.

第1光学式センサーS1は、紙経路41に対向し、第1記録紙P1の検出部位であるブラックマークBMが通過する位置に設けられ(図7参照)、記録紙Pが搬送されている間、検出位置に照射した照射光の反射光強度を測定する。 The first optical sensor S1 faces the paper path 41 and is provided at a position where the black mark BM, which is the detection portion of the first recording paper P1, passes (see FIG. 7). , the reflected light intensity of the irradiation light irradiated to the detection position is measured.

第2光学式センサーS2は、紙経路41に対向し、第2記録紙P2の検出部位であるブラックマークBMが通過する位置に設けられ(図7参照)、記録紙Pが搬送されている間、検出位置に照射した照射光の反射光強度を測定する。 The second optical sensor S2 faces the paper path 41 and is provided at a position where the black mark BM, which is the detection portion of the second recording paper P2, passes (see FIG. 7). , the reflected light intensity of the irradiation light irradiated to the detection position is measured.

後述する制御部100は、光学式センサーSで測定された反射光強度が第1閾値以下の場合、光学式センサーSからの出力が「紙なし」を示すと判別する。また、制御部100は、光学式センサーSで測定された反射光強度が第1閾値より大きく、第1閾値より大きい第2閾値以下の場合、光学式センサーSからの出力が「紙あり且つブラックマークあり」を示すと判別する。また、制御部100は、光学式センサーSで測定された反射光強度が第2閾値より大きい場合、光学式センサーSからの出力が「紙あり且つブラックマークなし」を示すと判別する。 The control unit 100, which will be described later, determines that the output from the optical sensor S indicates "out of paper" when the reflected light intensity measured by the optical sensor S is equal to or less than the first threshold value. Further, when the reflected light intensity measured by the optical sensor S is larger than the first threshold and equal to or smaller than the second threshold larger than the first threshold, the control unit 100 determines that the output from the optical sensor S is "paper present and black It is determined that "marked" is shown. Further, when the reflected light intensity measured by the optical sensor S is greater than the second threshold value, the control unit 100 determines that the output from the optical sensor S indicates "paper present and no black mark".

制御部100は、第1光学式センサーS1および第2光学式センサーS2の出力が、それぞれ「紙なし」、「紙あり且つブラックマークあり」および「紙あり且つブラックマークなし」のいずれを示すかに応じて、記録紙PのブラックマークBMの検出、および紙幅の検出を行う。「紙なし」は、光学式センサーSの検出位置に記録紙Pが存在しないことを意味する。また、「紙あり且つブラックマークあり」は、光学式センサーSの検出位置に記録紙Pが存在し、且つ、ブラックマークBMが存在することを意味する。また、「紙あり且つブラックマークなし」は、光学式センサーSの検出位置に記録紙Pが存在し、且つ、ブラックマークBMが存在しないことを意味する。 The control unit 100 determines whether the outputs of the first optical sensor S1 and the second optical sensor S2 indicate "no paper", "paper present and black mark present", or "paper present and black mark absent". , detection of the black mark BM of the recording paper P and detection of the paper width are performed. “No paper” means that the recording paper P does not exist at the detection position of the optical sensor S. "Paper present and black mark present" means that the recording paper P is present at the detection position of the optical sensor S and the black mark BM is present. "Paper present and no black mark" means that the recording paper P is present at the detection position of the optical sensor S and the black mark BM is not present.

通信部150は、ホストコンピューター200と、無線通信または有線通信を介して通信する。 The communication unit 150 communicates with the host computer 200 via wireless communication or wired communication.

制御部100は、上記の構成により、ホストコンピューター200から送信された印刷データに基づいて、記録紙Pに印刷を行う。また、制御部100は、印刷装置1が電源オンされたとき、および開閉カバー5が閉じられたときに、80mm幅の第1記録紙P1および58mm幅の第2記録紙P2のいずれが搬送されるかを検出する記録紙検出処理(図8参照)を行う。また、制御部100は、記録紙検出処理により検出した紙幅を、ホストコンピューター200に通知すると共に、紙幅を示す紙幅設定値を、設定値記憶領域131に記憶する。 The control unit 100 performs printing on the recording paper P based on the print data transmitted from the host computer 200 with the above configuration. Further, the control unit 100 determines which of the first recording paper P1 with a width of 80 mm and the second recording paper P2 with a width of 58 mm is conveyed when the printer 1 is powered on and when the opening/closing cover 5 is closed. Recording paper detection processing (see FIG. 8) is performed to detect whether the recording paper is Further, the control unit 100 notifies the host computer 200 of the paper width detected by the recording paper detection process, and stores the paper width setting value indicating the paper width in the setting value storage area 131 .

ホストコンピューター200は、印刷装置1から紙幅が通知されると、通知された紙幅を、印刷データの編集を行うための編集画面(図示省略)に表示したり、印刷データの編集に用いたりする。 When notified of the paper width from the printer 1, the host computer 200 displays the notified paper width on an edit screen (not shown) for editing print data or uses it for editing print data.

制御部100は、設定値記憶領域131に記憶された紙幅設定値に基づいて、印刷時における搬送モーターのトルクを設定する。より具体的には、制御部100は、紙幅設定値が80mmの紙幅を示す場合、紙幅設定値が58mmの紙幅を示す場合よりも、搬送モーターのトルクを低く設定する。これは、記録紙Pの紙幅が広い場合、紙幅が狭い場合よりも、プラテンローラー35の回転時に、プラテンローラー35とサーマルヘッド29との間で記録紙Pが介在する部分が大きく、プラテンローラー35とサーマルヘッド29との間に発生する摩擦力が小さくなるためである。このように、制御部100は、設定値記憶領域131に記憶された紙幅設定値に基づいて、印刷時における搬送モーターのトルクを設定することにより、記録紙Pを適切に搬送することができ、印刷品質の低下を抑制できる。 Based on the paper width setting value stored in the setting value storage area 131, the control unit 100 sets the torque of the transport motor during printing. More specifically, when the paper width setting value indicates a paper width of 80 mm, the control unit 100 sets the torque of the transport motor lower than when the paper width setting value indicates a paper width of 58 mm. This is because when the width of the recording paper P is wide, the portion where the recording paper P is interposed between the platen roller 35 and the thermal head 29 is larger when the platen roller 35 rotates than when the paper width is narrow. This is because the frictional force generated between it and the thermal head 29 is reduced. In this way, the control unit 100 can appropriately convey the recording paper P by setting the torque of the conveyance motor during printing based on the paper width setting value stored in the setting value storage area 131. It is possible to suppress deterioration of print quality.

また、制御部100は、設定値記憶領域131に記憶された紙幅設定値に基づいて、記録紙Pに印刷する文字列の改行位置を決定する。例えば、紙幅設定値が80mmの紙幅を示す場合、紙幅設定値が58mmの紙幅を示す場合よりも、一行あたりに印刷する文字数が多くなるように、文字列の改行位置を決定する。このように、制御部100は、設定値記憶領域131に記憶された紙幅設定値に基づいて、記録紙Pに印刷する文字列の改行位置を決定することにより、記録紙Pの紙幅をはみ出して印刷したり、記録紙Pの幅方向に不要な余白が生じたりすることを抑制できる。 Further, the control unit 100 determines the line feed position of the character string to be printed on the recording paper P based on the paper width setting value stored in the setting value storage area 131 . For example, when the paper width setting value indicates a paper width of 80 mm, the line feed position of the character string is determined so that the number of characters to be printed per line is greater than when the paper width setting value indicates a paper width of 58 mm. In this manner, the control unit 100 determines the line feed position of the character string to be printed on the recording paper P based on the paper width setting value stored in the setting value storage area 131 so that the paper width of the recording paper P is exceeded. Printing and generation of unnecessary margins in the width direction of the recording paper P can be suppressed.

また、制御部100は、設定値記憶領域131に記憶された紙幅設定値に基づいて、ブラックマークBMを検出する光学式センサーSを決定する。例えば、制御部100は、紙幅設定値が80mmの紙幅を示す場合、第1光学式センサーS1を、ブラックマークBMを検出する光学式センサーSとして決定する。つまり、制御部100は、紙幅設定値が80mmの紙幅を示す場合、印刷時、第1光学式センサーS1からの出力に基づいて、第1記録紙P1の長さ方向における位置を認識する。また、制御部100は、紙幅設定値が58mmの紙幅を示す場合、第2光学式センサーS2を、ブラックマークBMを検出する光学式センサーSとして決定する。つまり、制御部100は、紙幅設定値が58mmの紙幅を示す場合、印刷時、第2光学式センサーS2からの出力に基づいて、第2記録紙P2の長さ方向における位置を認識する。このように、制御部100は、印刷時、ブラックマークBMを検出することで、記録紙Pの長さ方向における位置を正確に認識でき、ひいては、記録紙Pへの印刷および記録紙Pの切断を適切に行うことができる。 Also, the control unit 100 determines the optical sensor S that detects the black mark BM based on the paper width setting value stored in the setting value storage area 131 . For example, when the paper width setting value indicates a paper width of 80 mm, the control unit 100 determines the first optical sensor S1 as the optical sensor S for detecting the black mark BM. That is, when the paper width setting value indicates a paper width of 80 mm, the controller 100 recognizes the position of the first recording paper P1 in the longitudinal direction based on the output from the first optical sensor S1 during printing. Further, when the paper width setting value indicates a paper width of 58 mm, the control unit 100 determines the second optical sensor S2 as the optical sensor S for detecting the black mark BM. That is, when the paper width setting value indicates a paper width of 58 mm, the controller 100 recognizes the position of the second recording paper P2 in the longitudinal direction based on the output from the second optical sensor S2 during printing. In this manner, the control unit 100 can accurately recognize the position of the recording paper P in the longitudinal direction by detecting the black mark BM during printing, and can also perform printing on the recording paper P and cutting of the recording paper P. can be done properly.

なお、制御部100は、ブラックマークBMの検出に用いられない光学式センサーSについては、印刷時、反射光強度の測定を行わせない、若しくは出力を無視する構成としてもよい。 Note that the control unit 100 may be configured not to measure the reflected light intensity or ignore the output of the optical sensors S that are not used for detecting the black marks BM during printing.

図7に基づいて、2種類の紙幅の記録紙Pの搬送領域と、各記録紙Pに設けられたブラックマークBMと、2つの光学式センサーSとの位置関係について説明する。 Based on FIG. 7, the positional relationship between the transport areas of the recording paper P of two types of paper widths, the black marks BM provided on each recording paper P, and the two optical sensors S will be described.

図7は、紙経路41において、80mm幅の第1記録紙P1および58mm幅の第2記録紙P2が搬送方向Aに搬送されている状態を示している。図4に示したとおり、第1記録紙P1を繰り出す80mm幅のロール紙Rは、ロール紙ホルダー8の-X方向の側面43と、+X方向の側面45とにより、X方向における位置が規制されている。また、図5に示したとおり、第2記録紙P2を繰り出す58mm幅のロール紙Rは、第1仕切り部材51と、ロール紙ホルダー8の+X方向の側面45とにより、X方向における位置が規制されている。したがって、第2記録紙P2の搬送領域である第2搬送領域E2は、第1記録紙P1の搬送領域である第1搬送領域E1の+X方向における一部領域となる。このように、本実施形態では、第2搬送領域E2の略全域が、第1搬送領域E1と重複している。 7 shows a state in which the first recording paper P1 with a width of 80 mm and the second recording paper P2 with a width of 58 mm are conveyed in the conveying direction A in the paper path 41. FIG. As shown in FIG. 4, the position of the 80 mm-wide roll paper R from which the first recording paper P1 is delivered is regulated in the X direction by the −X direction side surface 43 and the +X direction side surface 45 of the roll paper holder 8. ing. Further, as shown in FIG. 5, the position of the 58 mm-wide roll paper R from which the second recording paper P2 is delivered is regulated in the X direction by the first partition member 51 and the +X direction side surface 45 of the roll paper holder 8. It is Therefore, the second transport area E2, which is the transport area for the second recording paper P2, is a partial area in the +X direction of the first transport area E1, which is the transport area for the first recording paper P1. Thus, in this embodiment, substantially the entire area of the second transport area E2 overlaps with the first transport area E1.

また、図7に示すように、第1光学式センサーS1は、第2光学式センサーS2よりも-X方向に配置されている。また、上述のとおり、第1光学式センサーS1は、第1記録紙P1のブラックマークBMが通過する位置に設けられ、第2光学式センサーS2は、第2記録紙P2のブラックマークBMが通過する位置に設けられる。また、第1光学式センサーS1は、第1搬送領域E1のうち、第2搬送領域E2と重複しない領域に対応する位置に設けられる。また、第2光学式センサーS2は、第2搬送領域E2のうち、第1搬送領域E1と重複する領域に設けられる。 Also, as shown in FIG. 7, the first optical sensor S1 is arranged in the -X direction relative to the second optical sensor S2. Further, as described above, the first optical sensor S1 is provided at a position through which the black marks BM on the first recording paper P1 pass, and the second optical sensor S2 is provided at a position where the black marks BM on the second recording paper P2 pass. It is provided at a position where Also, the first optical sensor S1 is provided at a position corresponding to an area of the first transport area E1 that does not overlap with the second transport area E2. Also, the second optical sensor S2 is provided in an area of the second transport area E2 that overlaps the first transport area E1.

図8に基づいて、印刷装置1による記録紙検出処理について説明する。記録紙検出処理は、印刷装置1が電源オンされたこと、または、開閉カバー5が閉じられたこと、をトリガーとして開始される。なお、以下の説明では、80mm幅を「第1紙幅」、58mm幅を「第2紙幅」とも称する。 Recording paper detection processing by the printing apparatus 1 will be described with reference to FIG. The recording paper detection process is triggered by turning on the printer 1 or closing the open/close cover 5 . In the following description, the 80 mm width is also referred to as the "first paper width", and the 58 mm width is also referred to as the "second paper width".

ステップS01において、印刷装置1は、記録紙Pを搬送する。 In step S01, the printing apparatus 1 conveys the recording paper P. As shown in FIG.

ステップS02において、印刷装置1は、搬送モーターの回転量に基づいて、一定長さ分、記録紙Pを搬送したか否かを判別する。一定長さは、例えば30mmである。印刷装置1は、一定長さ分、記録紙Pを搬送したと判別した場合、ステップS03に進む。また、印刷装置1は、一定長さ分、記録紙Pを搬送していないと判別した場合、ステップS01に戻る。 In step S02, the printer 1 determines whether or not the recording paper P has been conveyed by a certain length based on the amount of rotation of the conveying motor. The fixed length is, for example, 30 mm. When the printing apparatus 1 determines that the recording paper P has been conveyed by the predetermined length, the process proceeds to step S03. If the printer 1 determines that the recording paper P has not been conveyed by the predetermined length, the process returns to step S01.

ステップS03において、印刷装置1は、一定長さ分、記録紙Pを搬送している間の2つの光学式センサーSの出力を判別する。印刷装置1は、一定長さ分、記録紙Pを搬送している間の第1光学式センサーS1および第2光学式センサーS2の出力が、いずれも「紙あり且つブラックマークあり」または「紙あり且つブラックマークなし」を示すと判別した場合、すなわち、いずれも「紙あり」を示すと判別した場合、ステップS04に進む。また、印刷装置1は、第1光学式センサーS1の出力が「紙なし」を示し、第2光学式センサーS2の出力が「紙あり」を示すと判別した場合、ステップS07に進む。なお、図示は省略するが、印刷装置1は、第1光学式センサーS1および第2光学式センサーS2の出力が、これら以外を示すものであった場合、パネル部21にエラー情報を表示する。 In step S03, the printer 1 determines outputs of the two optical sensors S while the recording paper P is conveyed by a certain length. While the printing apparatus 1 conveys the recording paper P by a certain length, the outputs of the first optical sensor S1 and the second optical sensor S2 are both “paper present and black mark present” or “paper If it is determined that both of them indicate that there is a black mark and there is no black mark, that is, if it is determined that they both indicate that there is a paper, the process proceeds to step S04. If the printer 1 determines that the output of the first optical sensor S1 indicates "no paper" and the output of the second optical sensor S2 indicates "paper present," the process proceeds to step S07. Although not shown, the printer 1 displays error information on the panel section 21 when the outputs of the first optical sensor S1 and the second optical sensor S2 indicate something other than these.

ステップS04において、印刷装置1は、第1紙幅の記録紙Pを検出する。 In step S04, the printer 1 detects the recording paper P having the first paper width.

ステップS05において、印刷装置1は、ホストコンピューター200に対し、搬送される記録紙Pが第1紙幅である旨を通知する。 In step S05, the printing apparatus 1 notifies the host computer 200 that the recording paper P to be transported has the first paper width.

ステップS06において、印刷装置1は、紙幅設定値として、第1紙幅を設定値記憶領域131に記憶する。 In step S06, the printing apparatus 1 stores the first paper width in the setting value storage area 131 as the paper width setting value.

ステップS07において、印刷装置1は、第2紙幅の記録紙Pを検出する。 In step S07, the printer 1 detects the recording paper P of the second paper width.

ステップS08において、印刷装置1は、ホストコンピューター200に対し、搬送される記録紙Pが第2紙幅である旨を通知する。 In step S08, the printing apparatus 1 notifies the host computer 200 that the recording paper P to be transported has the second paper width.

ステップS09において、印刷装置1は、紙幅設定値として、第2紙幅を設定値記憶領域131に記憶する。 In step S09, the printing apparatus 1 stores the second paper width in the setting value storage area 131 as the paper width setting value.

以上説明したとおり、本実施形態に係る印刷装置1は、第1光学式センサーS1および第2光学式センサーS2を、ブラックマークBMの検出と紙幅の検出とに兼用できるため、同一種類のセンサーを用いることができ、ひいては搭載する部品種数を抑えることができる。また、印刷装置1は、光学式センサーSを用いるため、接触式のセンサーを用いて紙幅を検出する場合と比較して、機械的な破損リスクを軽減できる。 As described above, the printing apparatus 1 according to the present embodiment can use the first optical sensor S1 and the second optical sensor S2 both for detecting the black mark BM and for detecting the paper width. can be used, and the number of types of parts to be mounted can be suppressed. Further, since the printing apparatus 1 uses the optical sensor S, the risk of mechanical damage can be reduced compared to the case where the paper width is detected using a contact sensor.

また、印刷装置1は、第2搬送領域E2が第1搬送領域E1と重複しているため、紙経路41の搬送領域を省スペース化することができる。また、第2光学式センサーS2は、第2搬送領域E2のうち、第1搬送領域E1と重複する領域に対応する位置に設けられるため、センサーユニット39の配置スペースを省スペース化することができる。 Further, in the printing apparatus 1, the second transport area E2 overlaps the first transport area E1, so the space of the transport area of the paper path 41 can be saved. In addition, since the second optical sensor S2 is provided at a position corresponding to an area of the second transport area E2 that overlaps with the first transport area E1, the space for arranging the sensor unit 39 can be saved. .

また、印刷装置1は、第2紙幅のロール紙Rの幅方向における位置を規制する第1仕切り部材51を備えるため、記録紙Pへの印刷中に、記録紙PがX方向にずれて印刷品質が低下することを抑制できる。 Further, since the printing apparatus 1 includes the first partition member 51 that regulates the position of the roll paper R of the second paper width in the width direction, the recording paper P shifts in the X direction during printing. It is possible to suppress deterioration in quality.

また、印刷装置1は、紙経路41のX方向における略中央部に切り残しを形成する切断機構37を備えるため、第1記録紙P1および第2記録紙P2のいずれにも切り残しを形成することができる。 In addition, since the printing apparatus 1 includes the cutting mechanism 37 that forms an uncut portion substantially in the center of the paper path 41 in the X direction, an uncut portion is formed on both the first recording paper P1 and the second recording paper P2. be able to.

また、印刷装置1は、X方向に並んで配置される複数の光学式センサーSを備えるため、センサーユニット39の配置スペースを省スペース化することができる。 Further, since the printing apparatus 1 includes a plurality of optical sensors S arranged side by side in the X direction, the space for arranging the sensor unit 39 can be saved.

なお、第1実施形態では、以下の変形例を採用可能である。
[変形例1-1]
印刷装置1は、第1仕切り部材51以外に、第2仕切り部材52を取り付け可能としてもよい。また、第2記録紙P2として、第1仕切り部材51および第2仕切り部材52により、ロール紙RのX方向における位置が規制される記録紙Pを用いてもよい。すなわち、第2記録紙P2として、第1実施形態に示した第2記録紙P2の紙幅である58mmより狭い紙幅、例えば40mm幅の記録紙Pを用いてもよい。図9は、ロール紙ホルダー8に第1仕切り部材51および第2仕切り部材52が装着された状態を示す図である。また、図10は、変形例1-1に係る第2記録紙P2を示す図である。なお、第1仕切り部材51および第2仕切り部材52は、ロール紙ホルダー8に脱着可能なものに限られず、ロール紙ホルダー8内をプラテンローラー35の軸線方向に移動可能なものであってもよい。
In addition, in the first embodiment, the following modifications can be adopted.
[Modification 1-1]
In addition to the first partition member 51 , the printing apparatus 1 may be attachable with the second partition member 52 . Also, as the second recording paper P2, the recording paper P whose position in the X direction of the roll paper R is regulated by the first partitioning member 51 and the second partitioning member 52 may be used. That is, as the second recording paper P2, a recording paper P having a width narrower than 58 mm, which is the paper width of the second recording paper P2 shown in the first embodiment, such as 40 mm, may be used. FIG. 9 shows a state in which the first partition member 51 and the second partition member 52 are attached to the roll paper holder 8. As shown in FIG. Also, FIG. 10 is a diagram showing a second recording sheet P2 according to modification 1-1. The first partition member 51 and the second partition member 52 are not limited to those that can be attached to and detached from the roll paper holder 8, and may be those that can move in the roll paper holder 8 in the axial direction of the platen roller 35. .

図9に示すように、第2仕切り部材52は、ロール紙ホルダー8の+X方向の端部W2(図4参照)に取り付けられる。第2仕切り部材52は、-Z方向に第2仕切り係止部(図示省略)が形成されており、この第2仕切り係止部が、ロール紙ホルダー8の底面に設けられた第2ホルダー係止部(図示省略)に係止されることにより、ロール紙ホルダー8の+X方向の端部W2に位置決めされる。 As shown in FIG. 9, the second partition member 52 is attached to the end W2 (see FIG. 4) of the roll paper holder 8 in the +X direction. The second partition member 52 has a second partition locking portion (not shown) formed in the -Z direction. It is positioned at the end W2 of the roll paper holder 8 in the +X direction by being engaged with a stopper (not shown).

変形例1-1に係る第1仕切り部材51は、40mm幅のロール紙Rの-X方向の端面と接触し、40mm幅のロール紙RのX方向における位置を規制する。また、第2仕切り部材52は、40mm幅のロール紙Rの+X方向の端面と接触し、40mm幅のロール紙RのX方向における位置を規制する。すなわち、40mm幅のロール紙Rは、第1仕切り部材51と、第2仕切り部材52とにより、X方向における位置が規制される。 The first partition member 51 according to Modification 1-1 contacts the end surface of the 40 mm wide roll paper R in the -X direction, and regulates the position of the 40 mm wide roll paper R in the X direction. In addition, the second partition member 52 contacts the +X-direction end surface of the 40-mm-wide roll paper R, and regulates the position of the 40-mm-wide roll paper R in the X direction. That is, the position of the roll paper R with a width of 40 mm in the X direction is restricted by the first partition member 51 and the second partition member 52 .

変形例1-1において、80mm幅のロール紙Rが用いられる場合、ロール紙ホルダー8からは、第1仕切り部材51および第2仕切り部材52が取り外される。また、40mm幅のロール紙Rが用いられる場合、ロール紙ホルダー8に、第1仕切り部材51および第2仕切り部材52が取り付けられる。 In Modified Example 1-1, when the roll paper R with a width of 80 mm is used, the first partition member 51 and the second partition member 52 are removed from the roll paper holder 8 . Also, when roll paper R with a width of 40 mm is used, first partition member 51 and second partition member 52 are attached to roll paper holder 8 .

また、変形例1-1において、第2記録紙P2の搬送領域である第2搬送領域E2は、第1記録紙P1の搬送領域である第1搬送領域E1のX方向における略中央部の一部領域となる。このように、変形例1-1では、第2搬送領域E2の略全域が、第1搬送領域E1と重複している。 Further, in the modification 1-1, the second transport area E2, which is the transport area for the second recording paper P2, is a part of the substantially central part in the X direction of the first transport area E1, which is the transport area for the first recording paper P1. area. Thus, in the modification 1-1, substantially the entire area of the second transport area E2 overlaps with the first transport area E1.

また、変形例1-1では、第1実施形態と同様に、第2光学式センサーS2は、第2記録紙P2のブラックマークBMが通過する位置に設けられ、第2搬送領域E2のうち、第1搬送領域E1と重複する領域に設けられる。 Further, in the modified example 1-1, as in the first embodiment, the second optical sensor S2 is provided at a position through which the black marks BM of the second recording paper P2 pass. It is provided in an area overlapping with the first transport area E1.

なお、変形例1-1において、切断機構37は、パーシャルカットにより、第1記録紙P1および第2記録紙P2のX方向における略中央部に切り残しを形成する。 Note that in the modification 1-1, the cutting mechanism 37 forms an uncut part at substantially the center of the first recording paper P1 and the second recording paper P2 in the X direction by partial cutting.

[変形例1-2]
記録紙Pは、記録紙Pの-X方向における端部ではなく、記録紙PのX方向における略全域に、ブラックマークBMが設けられる構成でもよい。図11は、変形例1-2に係る第1記録紙P1を示す図である。変形例1-2において、印刷装置1は、第1記録紙P1のブラックマークBMを、第2光学式センサーS2の出力に基づいて検出してもよい。また、図示は省略するが、印刷装置1は、58mm幅または40mm幅の第2記録紙P2のブラックマークBMも、第2光学式センサーS2の出力に基づいて検出してもよい。このように、変形例1-2において、印刷装置1は、共通の光学式センサーSの出力に基づいて、複数種類の紙幅の記録紙Pに設けられたブラックマークBMの検出を行ってもよい。
[Modification 1-2]
The recording paper P may be configured such that the black marks BM are provided not at the ends of the recording paper P in the -X direction, but over substantially the entire area of the recording paper P in the X direction. FIG. 11 is a diagram showing a first recording sheet P1 according to modification 1-2. In modification 1-2, the printing apparatus 1 may detect the black marks BM on the first recording paper P1 based on the output of the second optical sensor S2. Although not shown, the printing apparatus 1 may also detect the black marks BM on the second recording paper P2 with a width of 58 mm or 40 mm based on the output of the second optical sensor S2. As described above, in the modification 1-2, the printing apparatus 1 may detect the black marks BM provided on the recording paper P having a plurality of types of paper widths based on the output of the common optical sensor S. .

[第2実施形態]
本発明の第2実施形態について説明する。上記の第1実施形態に係る印刷装置1は、2つの光学式センサーSを備え、2種類の紙幅のうち、いずれの紙幅の記録紙Pが搬送されるかを検出したが、本実施形態に係る印刷装置1は、3つの光学式センサーSを備え、3種類の紙幅のうち、いずれの紙幅の記録紙Pが搬送されるかを検出する。また、本実施形態に係る記録紙Pは、記録紙Pの-X方向の端部と、+X方向の端部とに、ブラックマークBMが設けられる。以下、第1実施形態と異なる点のみ説明する。なお、本実施形態において、第1実施形態と同様の構成部分については同様の符号を付し、詳細な説明を省略する。また、第1実施形態と同様の構成部分について適用される変形例は、本実施形態についても同様に適用される。
[Second embodiment]
A second embodiment of the present invention will be described. The printing apparatus 1 according to the first embodiment described above includes two optical sensors S, and detects which width of the recording paper P is conveyed out of the two types of paper widths. The printing apparatus 1 includes three optical sensors S, and detects which width of the recording paper P is conveyed among the three types of paper widths. In addition, the recording paper P according to the present embodiment is provided with black marks BM at the ends of the recording paper P in the −X direction and the ends in the +X direction. Only points different from the first embodiment will be described below. In addition, in this embodiment, the same code|symbol is attached|subjected about the component similar to 1st Embodiment, and detailed description is abbreviate|omitted. Modifications applied to components similar to those of the first embodiment are also applied to this embodiment.

図12は、第2実施形態に係る、印刷装置1のハードウェア構成を示すブロック図である。本実施形態に係る印刷装置1は、80mm幅の第1記録紙P1と、58mm幅の第2記録紙P2と、40mm幅の第3記録紙P3とのいずれかを選択的に用いることができる。また、第2実施形態に係る印刷装置1は、図9に示した変形例1-1に係る印刷装置1と同様に、ロール紙ホルダー8に、第1仕切り部材51および第2仕切り部材52を取り付け可能である。 FIG. 12 is a block diagram showing the hardware configuration of the printer 1 according to the second embodiment. The printing apparatus 1 according to this embodiment can selectively use any of the first recording paper P1 with a width of 80 mm, the second recording paper P2 with a width of 58 mm, and the third recording paper P3 with a width of 40 mm. . Further, the printing apparatus 1 according to the second embodiment has the first partition member 51 and the second partition member 52 in the roll paper holder 8 in the same manner as the printing apparatus 1 according to the modified example 1-1 shown in FIG. can be installed.

第2実施形態において、80mm幅のロール紙Rが用いられる場合、ロール紙ホルダー8からは、第1仕切り部材51および第2仕切り部材52が取り外される。また、58mm幅のロール紙Rが用いられる場合、ロール紙ホルダー8に、第1仕切り部材51のみが取り付けられる。また、40mm幅のロール紙Rが用いられる場合、ロール紙ホルダー8に、第1仕切り部材51および第2仕切り部材52が取り付けられる。 In the second embodiment, when roll paper R with a width of 80 mm is used, the first partition member 51 and the second partition member 52 are removed from the roll paper holder 8 . Also, when the roll paper R with a width of 58 mm is used, only the first partition member 51 is attached to the roll paper holder 8 . Also, when roll paper R with a width of 40 mm is used, first partition member 51 and second partition member 52 are attached to roll paper holder 8 .

なお、第2実施形態において、切断機構37は、パーシャルカットにより、第1記録紙P1および第3記録紙P3のX方向における略中央部、および第2記録紙P2の-X方向端部に切り残しを形成する。 In the second embodiment, the cutting mechanism 37 partially cuts the first recording paper P1 and the third recording paper P3 at substantially the center in the X direction and the -X direction end of the second recording paper P2. form a residue.

図12に示すように、第2実施形態に係る印刷装置1は、第1実施形態に係る印刷装置1(図6参照)に、第3光学式センサーS3を追加した構成である。第2実施形態において、第1光学式センサーS1、第2光学式センサーS2および第3光学式センサーS3は、センサーユニット39を構成している。第3光学式センサーS3は、紙経路41に対向し、第3記録紙P3の検出部位であるブラックマークBMが通過する位置に設けられ(図13参照)、記録紙Pが搬送されている間、検出位置に照射した照射光の反射光強度を測定する。また、第1光学式センサーS1、第2光学式センサーS2および第3光学式センサーS3は、プラテンローラー35の軸線方向、すなわちX方向に並んで配置される。 As shown in FIG. 12, the printer 1 according to the second embodiment has a configuration in which a third optical sensor S3 is added to the printer 1 (see FIG. 6) according to the first embodiment. In the second embodiment, the first optical sensor S1, the second optical sensor S2 and the third optical sensor S3 constitute a sensor unit 39. FIG. The third optical sensor S3 faces the paper path 41 and is provided at a position where the black mark BM, which is the detection portion of the third recording paper P3, passes (see FIG. 13). , the reflected light intensity of the irradiation light irradiated to the detection position is measured. The first optical sensor S1, the second optical sensor S2, and the third optical sensor S3 are arranged side by side in the axial direction of the platen roller 35, that is, in the X direction.

制御部100は、第1光学式センサーS1、第2光学式センサーS2および第3光学式センサーS3の出力が、それぞれ「紙なし」、「紙あり且つブラックマークあり」および「紙あり且つブラックマークなし」のいずれを示すかに応じて、記録紙Pの検出部位の検出、および紙幅の検出を行う。 The control unit 100 controls that the outputs of the first optical sensor S1, the second optical sensor S2, and the third optical sensor S3 indicate "no paper," "paper present and black mark," and "paper present and black mark," respectively. Detecting the detection portion of the recording paper P and detecting the paper width are performed according to which of "none" is indicated.

また、制御部100は、設定値記憶領域131に記憶された紙幅設定値に基づいて、ブラックマークBMを検出する光学式センサーSを決定する。例えば、制御部100は、紙幅設定値が80mmの紙幅を示す場合、第1光学式センサーS1を、ブラックマークBMを検出する光学式センサーSとして決定する。つまり、制御部100は、印刷時、第1光学式センサーS1からの出力に基づいて、第1記録紙P1の長さ方向における位置を認識する。また、制御部100は、紙幅設定値が58mmの紙幅を示す場合、第2光学式センサーS2を、ブラックマークBMを検出する光学式センサーSとして決定する。つまり、制御部100は、印刷時、第2光学式センサーS2からの出力に基づいて、第2記録紙P2の長さ方向における位置を認識する。また、制御部100は、紙幅設定値が40mmの紙幅を示す場合、第3光学式センサーS3を、ブラックマークBMを検出する光学式センサーSとして決定する。つまり、制御部100は、印刷時、第3光学式センサーS3からの出力に基づいて、第3記録紙P3の長さ方向における位置を認識する。 Also, the control unit 100 determines the optical sensor S that detects the black mark BM based on the paper width setting value stored in the setting value storage area 131 . For example, when the paper width setting value indicates a paper width of 80 mm, the control unit 100 determines the first optical sensor S1 as the optical sensor S for detecting the black mark BM. That is, during printing, the control unit 100 recognizes the position of the first recording paper P1 in the longitudinal direction based on the output from the first optical sensor S1. Further, when the paper width setting value indicates a paper width of 58 mm, the control unit 100 determines the second optical sensor S2 as the optical sensor S for detecting the black mark BM. That is, during printing, the control unit 100 recognizes the position of the second recording paper P2 in the longitudinal direction based on the output from the second optical sensor S2. Further, when the paper width setting value indicates a paper width of 40 mm, the control unit 100 determines the third optical sensor S3 as the optical sensor S for detecting the black mark BM. That is, during printing, the control unit 100 recognizes the position of the third recording paper P3 in the longitudinal direction based on the output from the third optical sensor S3.

図13に基づいて、3種類の紙幅の記録紙Pの搬送領域と、各記録紙Pに設けられたブラックマークBMと、3つの光学式センサーSとの位置関係について説明する。 Based on FIG. 13, the positional relationship between the transport areas of the recording paper P of three types of paper widths, the black marks BM provided on each recording paper P, and the three optical sensors S will be described.

図13は、紙経路41において、80mm幅の第1記録紙P1、58mm幅の第2記録紙P2および40mm幅の第3記録紙P3が搬送方向Aに搬送されている状態を示している。3つの光学式センサーSは、-X方向から+X方向へ向けて、第1光学式センサーS1、第3光学式センサーS3および第2光学式センサーS2の順に並んで配置されている。第1光学式センサーS1は、第1記録紙P1の-X方向端部におけるブラックマークBMが通過する位置に設けられる。また、第2光学式センサーS2は、第2記録紙P2の+X方向端部におけるブラックマークBMが通過する位置に設けられる。また、第3光学式センサーS3は、第3記録紙P3の-X方向端部におけるブラックマークBMが通過する位置に設けられる。 FIG. 13 shows a state in which a first recording paper P1 with a width of 80 mm, a second recording paper P2 with a width of 58 mm, and a third recording paper P3 with a width of 40 mm are transported in the transport direction A in the paper path 41 . The three optical sensors S are arranged in the order of the first optical sensor S1, the third optical sensor S3 and the second optical sensor S2 from the -X direction to the +X direction. The first optical sensor S1 is provided at a position through which the black mark BM passes at the -X direction end of the first recording paper P1. Also, the second optical sensor S2 is provided at a position through which the black mark BM passes at the +X direction end of the second recording paper P2. Also, the third optical sensor S3 is provided at a position through which the black mark BM passes at the -X direction end of the third recording paper P3.

また、第1光学式センサーS1は、第1搬送領域E1のうち、第2搬送領域E2および第3搬送領域E3と重複しない領域に対応する位置に設けられる。また、第2光学式センサーS2は、第2搬送領域E2のうち、第1搬送領域E1と重複し、第3搬送領域E3と重複しない領域に対応する位置に設けられる。また、第3光学式センサーS3は、第3搬送領域E3のうち、第1搬送領域E1および第2搬送領域E2と重複する領域に対応する位置に設けられる。 Also, the first optical sensor S1 is provided at a position corresponding to an area in the first transport area E1 that does not overlap with the second transport area E2 and the third transport area E3. Also, the second optical sensor S2 is provided at a position corresponding to an area of the second transport area E2 that overlaps with the first transport area E1 but does not overlap with the third transport area E3. Also, the third optical sensor S3 is provided at a position corresponding to an area of the third transport area E3 that overlaps the first transport area E1 and the second transport area E2.

図14に基づいて、第2実施形態に係る記録紙検出処理について説明する。以下の説明では、80mm幅を「第1紙幅」、58mm幅を「第2紙幅」、40mm幅を「第3紙幅」とも称する。ステップS11およびステップS12は、第1実施形態に係る記録紙検出処理(図8参照)のステップS01およびステップS02と同様である。 Recording paper detection processing according to the second embodiment will be described with reference to FIG. In the following description, the 80 mm width is also referred to as the "first paper width", the 58 mm width as the "second paper width", and the 40 mm width as the "third paper width". Steps S11 and S12 are the same as steps S01 and S02 of the recording paper detection process (see FIG. 8) according to the first embodiment.

ステップS13において、印刷装置1は、一定長さ分、記録紙Pを搬送している間の3つの光学式センサーSの出力を判別する。印刷装置1は、一定長さ分、記録紙Pを搬送している間の第1光学式センサーS1、第2光学式センサーS2および第3光学式センサーS3の出力が、いずれも「紙あり」を示すと判別した場合、ステップS14に進む。また、印刷装置1は、第1光学式センサーS1の出力が「紙なし」を示し、第2光学式センサーS2および第3光学式センサーS3の出力が「紙あり」を示すと判別した場合、ステップS17に進む。また、印刷装置1は、第1光学式センサーS1および第2光学式センサーS2の出力が「紙なし」を示し、第3光学式センサーS3の出力が「紙あり」を示すと判別した場合、ステップS20に進む。なお、図示は省略するが、印刷装置1は、3つの光学式センサーSの出力が、これら以外を示すものであった場合、パネル部21にエラー情報を表示する。 In step S13, the printer 1 determines outputs of the three optical sensors S while the recording paper P is conveyed by a certain length. In the printing apparatus 1, the output of the first optical sensor S1, the second optical sensor S2, and the third optical sensor S3 while the recording paper P is being conveyed by a certain length is "paper present". , the process proceeds to step S14. Further, when the printer 1 determines that the output of the first optical sensor S1 indicates "no paper" and that the outputs of the second optical sensor S2 and the third optical sensor S3 indicate "paper present," Proceed to step S17. Further, when the printer 1 determines that the outputs of the first optical sensor S1 and the second optical sensor S2 indicate "no paper" and the output of the third optical sensor S3 indicates "paper present," Proceed to step S20. Although illustration is omitted, the printing apparatus 1 displays error information on the panel section 21 when the outputs of the three optical sensors S indicate something other than these.

ステップS14において、印刷装置1は、第1紙幅の記録紙Pを検出する。 In step S14, the printer 1 detects the recording paper P having the first paper width.

ステップS15において、印刷装置1は、ホストコンピューター200に対し、搬送される記録紙Pが第1紙幅である旨を通知する。 In step S15, the printing apparatus 1 notifies the host computer 200 that the recording paper P to be transported has the first paper width.

ステップS16において、印刷装置1は、紙幅設定値として、第1紙幅を設定値記憶領域131に記憶する。 In step S16, the printing apparatus 1 stores the first paper width in the setting value storage area 131 as the paper width setting value.

ステップS17において、印刷装置1は、第2紙幅の記録紙Pを検出する。 In step S17, the printer 1 detects the recording paper P of the second paper width.

ステップS18において、印刷装置1は、ホストコンピューター200に対し、搬送される記録紙Pが第2紙幅である旨を通知する。 In step S18, the printing apparatus 1 notifies the host computer 200 that the recording paper P to be conveyed has the second paper width.

ステップS19において、印刷装置1は、紙幅設定値として、第2紙幅を設定値記憶領域131に記憶する。 In step S19, the printing apparatus 1 stores the second paper width in the setting value storage area 131 as the paper width setting value.

ステップS20において、印刷装置1は、第3紙幅の記録紙Pを検出する。 In step S20, the printer 1 detects the recording paper P of the third paper width.

ステップS21において、印刷装置1は、ホストコンピューター200に対し、搬送される記録紙Pが第3紙幅である旨を通知する。 In step S21, the printing apparatus 1 notifies the host computer 200 that the recording paper P to be transported has the third paper width.

ステップS22において、印刷装置1は、紙幅設定値として、第3紙幅を設定値記憶領域131に記憶する。 In step S22, the printer 1 stores the third paper width in the setting value storage area 131 as the paper width setting value.

以上説明したとおり、第2実施形態に係る印刷装置1は、3つの光学式センサーSを備えたことにより、3種類の紙幅の検出を実現できる。また、印刷装置1は、第1光学式センサーS1、第2光学式センサーS2および第3光学式センサーS3を、ブラックマークBMの検出と紙幅の検出とに兼用できるため、搭載する部品種数を抑えることができる。 As described above, the printing apparatus 1 according to the second embodiment is provided with three optical sensors S, and thus can detect three types of paper widths. Further, since the printing apparatus 1 can use the first optical sensor S1, the second optical sensor S2, and the third optical sensor S3 for both the detection of the black mark BM and the detection of the paper width, the number of types of mounted parts can be reduced. can be suppressed.

また、第3搬送領域E3が、第1搬送領域E1および第2搬送領域E2と重複しているため、紙経路41の搬送領域を省スペース化することができる。また、第3光学式センサーS3は、第3搬送領域E3のうち、第1搬送領域E1および第2搬送領域E2と重複する領域に対応する位置に設けられるため、センサーユニット39の配置スペースを省スペース化することができる。 Further, since the third transport area E3 overlaps the first transport area E1 and the second transport area E2, the space of the transport area of the paper path 41 can be saved. In addition, since the third optical sensor S3 is provided at a position corresponding to an area in the third transport area E3 that overlaps with the first transport area E1 and the second transport area E2, the arrangement space of the sensor unit 39 can be saved. Can be spaced.

また、印刷装置1は、第1仕切り部材51の他、第3紙幅のロール紙Rの幅方向における位置を規制する第2仕切り部材52を備えるため、第3記録紙P3を用いた場合、第3記録紙P3への印刷中に、第3記録紙P3がX方向にずれて印刷品質が低下することを抑制できる。 In addition to the first partition member 51, the printing apparatus 1 includes the second partition member 52 for regulating the position of the roll paper R having the third paper width in the width direction. During printing on the third recording paper P3, it is possible to prevent the third recording paper P3 from deviating in the X direction and degrading the print quality.

また、印刷装置1は、紙経路41のX方向における略中央部に切り残しを形成する切断機構37を備えるため、第1記録紙P1、第2記録紙P2および第3記録紙P3のいずれにも切り残しを形成することができる。 In addition, since the printing apparatus 1 is provided with the cutting mechanism 37 that forms an uncut portion substantially in the center of the paper path 41 in the X direction, any one of the first recording paper P1, the second recording paper P2 and the third recording paper P3 can be cut. Incomplete cutting can also be formed.

また、印刷装置1は、X方向に並んで配置される3つの光学式センサーSを備えるため、センサーユニット39の配置スペースを省スペース化することができる。 In addition, since the printing apparatus 1 includes three optical sensors S arranged side by side in the X direction, the installation space of the sensor unit 39 can be saved.

なお、第2実施形態では、以下の変形例を採用可能である。
[変形例2-1]
記録紙Pは、第1実施形態と同様に、記録紙Pの-X方向における端部のみに、ブラックマークBMが設けられる構成でもよい。図15は、変形例2-1に係る、3種類の紙幅の記録紙Pの搬送領域と、各記録紙Pに設けられたブラックマークBMと、3つの光学式センサーSとの位置関係を示す図である。
In addition, in the second embodiment, the following modifications can be adopted.
[Modification 2-1]
As in the first embodiment, the recording paper P may be configured such that the black marks BM are provided only at the ends of the recording paper P in the -X direction. FIG. 15 shows the positional relationship between the transport areas of the recording paper P of three different paper widths, the black marks BM provided on each recording paper P, and the three optical sensors S according to Modification 2-1. It is a diagram.

変形例2-1において、印刷装置1は、第1記録紙P1のブラックマークBMを、第1光学式センサーS1からの出力に基づいて検出する。また、印刷装置1は、第2記録紙P2および第3記録紙P3のブラックマークBMを、第3光学式センサーS3からの出力に基づいて検出する。したがって、変形例2-1において、第2光学式センサーS2は、ブラックマークBMの検出には用いられず、紙幅検出のために用いられる。このように、紙幅の異なる複数種類の記録紙PのブラックマークBMを、共通の光学式センサーSからの出力に基づいて検出してもよい。 In modification 2-1, the printing apparatus 1 detects the black marks BM on the first recording paper P1 based on the output from the first optical sensor S1. The printing apparatus 1 also detects the black marks BM on the second recording paper P2 and the third recording paper P3 based on the output from the third optical sensor S3. Therefore, in modification 2-1, the second optical sensor S2 is not used for detecting the black marks BM, but is used for detecting the paper width. In this manner, the black marks BM of a plurality of types of recording paper P having different paper widths may be detected based on the output from the common optical sensor S.

[変形例2-2]
印刷装置1は、図16に示す4種類の紙幅の記録紙Pを選択的に用いることができる構成でもよい。この場合、印刷装置1は、第2実施形態に係る第1記録紙P1、第2記録紙P2および第3記録紙P3の他、例えば、62mm幅の第4記録紙P4を用いることができる構成でもよい。
[Modification 2-2]
The printing apparatus 1 may be configured to selectively use recording paper P of four widths shown in FIG. In this case, the printing apparatus 1 can use, for example, a fourth recording paper P4 having a width of 62 mm, in addition to the first recording paper P1, the second recording paper P2, and the third recording paper P3 according to the second embodiment. It's okay.

図16は、4種類の紙幅の記録紙Pの搬送領域と、各記録紙Pに設けられたブラックマークBMと、3つの光学式センサーSとの位置関係を示す図である。変形例2-2において、62mm幅の第4記録紙P4を繰り出すロール紙Rが用いられる場合、ロール紙ホルダー8には、第1仕切り部材51は取り付けられず、第2仕切り部材52が取り付けられる(図9参照)。第2仕切り部材52は、62mm幅のロール紙Rの+X方向の端面と接触し、62mm幅のロール紙RのX方向における位置を規制する。すなわち、62mm幅のロール紙Rは、ロール紙ホルダー8の-X方向の側面43と、第2仕切り部材52とにより、X方向における位置が規制される。したがって、第4記録紙P4の搬送領域である第4搬送領域E4は、第1記録紙P1の搬送領域である第1搬送領域E1の-X方向における一部領域となる。このように、変形例2-2では、第4搬送領域E4の略全域が、第1搬送領域E1と重複している。 16A and 16B are diagrams showing the positional relationship between the transport areas of the recording paper P of four types of paper widths, the black marks BM provided on each recording paper P, and the three optical sensors S. FIG. In the modification 2-2, when the roll paper R that feeds out the fourth recording paper P4 with a width of 62 mm is used, the first partition member 51 is not attached to the roll paper holder 8, and the second partition member 52 is attached. (See Figure 9). The second partition member 52 comes into contact with the +X direction end face of the 62 mm wide roll paper R, and regulates the position of the 62 mm wide roll paper R in the X direction. That is, the position of the roll paper R with a width of 62 mm in the X direction is restricted by the −X direction side surface 43 of the roll paper holder 8 and the second partition member 52 . Therefore, the fourth transport area E4, which is the transport area for the fourth recording paper P4, is a partial area in the -X direction of the first transport area E1, which is the transport area for the first recording paper P1. Thus, in the modification 2-2, substantially the entire fourth transport area E4 overlaps the first transport area E1.

変形例2-2では、図16に示すように、第4記録紙P4の-X方向における端部に設けられたブラックマークBMを、第1光学式センサーS1からの出力に基づいて検出する。 In modification 2-2, as shown in FIG. 16, the black mark BM provided at the edge in the -X direction of the fourth recording paper P4 is detected based on the output from the first optical sensor S1.

変形例2-2において、印刷装置1は、図14のフローチャートのステップS13において、一定長さ分、記録紙Pを搬送している間の第1光学式センサーS1および第3光学式センサーS3の出力が「紙あり」を示し、第2光学式センサーS2の出力が「紙なし」を示すと判別した場合、以下の工程を実行する。印刷装置1は、第4紙幅の記録紙P、すなわち第4記録紙P4を検出する。印刷装置1は、第4記録紙P4を検出した後、ホストコンピューター200に第4紙幅である旨を通知し、紙幅設定値として、第4紙幅を設定値記憶領域131に設定する。 In modification 2-2, in step S13 of the flowchart of FIG. 14, the printing apparatus 1 detects the first optical sensor S1 and the third optical sensor S3 while conveying the recording paper P by a certain length. When it is determined that the output indicates "paper present" and the output of the second optical sensor S2 indicates "paper absent", the following steps are performed. The printing apparatus 1 detects the recording paper P having the fourth paper width, that is, the fourth recording paper P4. After detecting the fourth recording paper P4, the printer 1 notifies the host computer 200 of the fourth paper width, and sets the fourth paper width in the setting value storage area 131 as the paper width setting value.

[変形例2-3]
第1記録紙P1および第3記録紙P3は、-X方向における端部のみにブラックマークBMが設けられ、第2記録紙P2は、+X方向における端部のみにブラックマークBMが設けられる構成でもよい。この構成によれば、第2実施形態と同様に、第1光学式センサーS1、第2光学式センサーS2および第3光学式センサーS3を、それぞれ第1記録紙P1、第2記録紙P2および第3記録紙P3のブラックマークBMの検出に用いることができる。
[Modification 2-3]
The first recording paper P1 and the third recording paper P3 may be provided with the black marks BM only at the ends in the -X direction, and the second recording paper P2 may be provided with the black marks BM only at the ends in the +X direction. good. According to this configuration, as in the second embodiment, the first optical sensor S1, the second optical sensor S2, and the third optical sensor S3 are connected to the first recording paper P1, the second recording paper P2, and the third optical sensor S3, respectively. 3 can be used to detect the black mark BM on the recording paper P3.

以上、2つの実施形態を示したが、両実施形態に共通して、以下の変形例を採用可能である。
[変形例3-1]
第2実施形態のように、記録紙Pの-X方向における端部と、記録紙Pの+X方向における端部とに、ブラックマークBMが設けられる場合(図13参照)、複数の光学式センサーSを用いて、ブラックマークBMを検出してもよい。同様に、変形例1-2のように、記録紙PのX方向における略全域に、ブラックマークBMが設けられる場合(図11参照)、複数の光学式センサーSを用いて、ブラックマークBMを検出してもよい。これらの場合、印刷装置1は、複数の光学式センサーSからの出力に基づいて、記録紙Pの長さ方向における位置を認識する。上述のとおり、複数の光学式センサーSは、それぞれの検出位置が、X方向に並ぶように配置されているため、複数の光学式センサーSからは、同じタイミングで「ブラックマークあり」または「ブラックマークなし」を示す出力が得られるはずである。したがって、印刷装置1は、複数の光学式センサーSを用いてブラックマークBMを検出することにより、ブラックマークBMの検出漏れや誤検出を抑制することができる。
Although two embodiments have been described above, the following modifications can be adopted in common to both embodiments.
[Modification 3-1]
As in the second embodiment, when black marks BM are provided at the edge of the recording paper P in the −X direction and the edge of the recording paper P in the +X direction (see FIG. 13), a plurality of optical sensors S may be used to detect the black mark BM. Similarly, when the black marks BM are provided over substantially the entire area of the recording paper P in the X direction (see FIG. 11) as in Modification 1-2, a plurality of optical sensors S are used to detect the black marks BM. may be detected. In these cases, the printing apparatus 1 recognizes the position of the recording paper P in the longitudinal direction based on the outputs from the plurality of optical sensors S. FIG. As described above, the plurality of optical sensors S are arranged so that their detection positions are aligned in the X direction. You should get an output stating "No marks". Therefore, by detecting the black marks BM using a plurality of optical sensors S, the printing apparatus 1 can suppress detection omissions and erroneous detections of the black marks BM.

[変形例3-2]
印刷装置1は、記録紙検出処理において、記録紙Pに設けられたブラックマークBMのX方向における位置を検出し、検出したブラックマークBMのX方向における位置に基づいて、印刷時にブラックマークBMを検出する光学式センサーSを決定してもよい。この場合、印刷装置1は、記録紙検出処理において、一定長さ分の記録紙Pの搬送を行っている間に、「紙あり且つブラックマークあり」を示す出力を行った光学式センサーSを、ブラックマークBMを検出する光学式センサーSとして決定すればよい。この構成によれば、記録紙PのX方向におけるブラックマークBMの位置によらず、ブラックマークBMを検出する光学式センサーSを適切に決定することができる。
[Modification 3-2]
In the recording paper detection process, the printing apparatus 1 detects the position of the black mark BM provided on the recording paper P in the X direction, and detects the black mark BM during printing based on the detected position of the black mark BM in the X direction. The optical sensor S to detect may be determined. In this case, in the recording paper detection process, the printing apparatus 1 detects the optical sensor S that outputs "paper present and black mark present" while the recording paper P is being conveyed by a certain length. , and the optical sensor S for detecting the black mark BM. According to this configuration, the optical sensor S that detects the black mark BM can be appropriately determined regardless of the position of the black mark BM on the recording paper P in the X direction.

[変形例3-3]
光学式センサーSとして、透過型光学式センサーを用いてもよい。この場合、制御部100は、光学式センサーSで測定された透過光強度が第1閾値以下の場合、光学式センサーSからの出力が「紙あり且つブラックマークあり」を示すと判別する。また、制御部100は、光学式センサーSで測定された反射光強度が第1閾値より大きく、第1閾値より大きい第2閾値以下の場合、光学式センサーSからの出力が「紙あり且つブラックマークなし」を示すと判別する。また、制御部100は、光学式センサーSで測定された反射光強度が第2閾値より大きい場合、光学式センサーSからの出力が「紙なし」を示すと判別する。
[Modification 3-3]
As the optical sensor S, a transmissive optical sensor may be used. In this case, when the transmitted light intensity measured by the optical sensor S is equal to or less than the first threshold value, the control unit 100 determines that the output from the optical sensor S indicates "paper present and black mark present". Further, when the reflected light intensity measured by the optical sensor S is larger than the first threshold and equal to or smaller than the second threshold larger than the first threshold, the control unit 100 determines that the output from the optical sensor S is "paper present and black "No mark" is determined. Further, when the reflected light intensity measured by the optical sensor S is greater than the second threshold value, the control unit 100 determines that the output from the optical sensor S indicates "no paper".

[変形例3-4]
記録紙Pに設けられたブラックマークBMは、長方形状に限らず、他の形状でもよい。また、複数のブラックマークBMは、必ずしも同サイズである必要はなく、複数種類のサイズを含むものでもよい。例えば、複数のブラックマークBMは、記録紙Pの長さ方向において、交互に配置される大サイズと小サイズを含むものでもよい。また、複数のブラックマークBMは、必ずしも記録紙Pの長さ方向に等間隔で設けられる必要はなく、異なる間隔で設けられてもよい。例えば、複数のブラックマークBMは、第1間隔と、第1間隔と異なる第2間隔とで交互に配置されるものでもよい。
[Modification 3-4]
The black marks BM provided on the recording paper P are not limited to rectangular shapes, and may be of other shapes. Also, the plurality of black marks BM do not necessarily have to have the same size, and may include a plurality of sizes. For example, the plurality of black marks BM may include large size and small size that are alternately arranged in the longitudinal direction of the recording paper P. FIG. Also, the plurality of black marks BM are not necessarily provided at equal intervals in the longitudinal direction of the recording paper P, and may be provided at different intervals. For example, the plurality of black marks BM may be alternately arranged at a first interval and a second interval different from the first interval.

[変形例3-5]
印刷装置1は、記録紙PのブラックマークBM以外の検出部位を検出することにより、記録紙Pの位置認識を行ってもよい。例えば、印刷装置1は、検出部位として、記録紙PのX方向の端面が凹状または凸状に切り欠かれた部位を検出してもよい。若しくは、印刷装置1は、検出部位として、記録紙Pの長さ方向に複数設けられた穴部を検出してもよい。
[Modification 3-5]
The printing apparatus 1 may recognize the position of the recording paper P by detecting a detection portion of the recording paper P other than the black marks BM. For example, the printing apparatus 1 may detect, as the detection portion, a portion where the end surface of the recording paper P in the X direction is notched in a concave or convex shape. Alternatively, the printing apparatus 1 may detect a plurality of holes provided in the lengthwise direction of the recording paper P as detection sites.

[変形例3-6]
印刷装置1は、記録紙Pの搬送を止めた状態で、記録紙Pの紙幅を検出してもよい。
[Modification 3-6]
The printing apparatus 1 may detect the paper width of the recording paper P while the recording paper P is not being conveyed.

[変形例3-7]
第2搬送領域E2は、その略全域が、第1搬送領域E1と重複するのではなく、一部領域が第1搬送領域E1と重複する構成でもよい。また、第2実施形態において、第3搬送領域E3は、その略全域が、第1搬送領域E1および第2搬送領域E2と重複するのではなく、一部領域が第1搬送領域E1および第2搬送領域E2と重複する構成でもよい。また、変形例2-2において、第4搬送領域E4は、その略全域が、第1搬送領域E1と重複するのではなく、一部領域が第1搬送領域E1と重複する構成でもよい。
[Modification 3-7]
The second transport area E2 may be configured so that a part of the second transport area E2 overlaps the first transport area E1 rather than substantially the entire area thereof overlapping the first transport area E1. In the second embodiment, the third transport area E3 does not substantially entirely overlap the first transport area E1 and the second transport area E2, but partially overlaps the first transport area E1 and the second transport area E2. It may be configured to overlap with the transport area E2. Further, in the modified example 2-2, the fourth transport area E4 may partially overlap the first transport area E1 instead of substantially entirely overlapping the first transport area E1.

[変形例3-8]
印刷装置1は、熱転写方式により印刷を行ったが、インクジェット方式など他の印刷方式により印刷を行ってもよい。また、印刷装置1は、ロール紙Rから繰り出された記録紙Pに印刷を行ったが、ファンフォールド紙など、ロール紙R以外の連続紙に印刷を行ってもよい。その他、本発明の要旨を逸脱しない範囲で、適宜変更が可能である。
[Modification 3-8]
The printing apparatus 1 performs printing using a thermal transfer method, but may perform printing using another printing method such as an inkjet method. Further, the printing apparatus 1 prints on the recording paper P fed out from the roll paper R, but may print on continuous paper other than the roll paper R, such as fanfold paper. In addition, appropriate modifications are possible without departing from the gist of the present invention.

[付記]
以下、印刷装置および印刷装置の制御方法について付記する。
印刷装置1は、長さ方向に複数の検出部位が設けられた第1紙幅の記録紙P、または、長さ方向に複数の検出部位が設けられ、第1紙幅よりも幅の狭い第2紙幅の記録紙Pを搬送するプラテンローラー35と、第1紙幅の記録紙Pの検出部位が通過する位置に設けられた第1光学式センサーS1と、第2紙幅の記録紙Pの検出部位が通過する位置に設けられた第2光学式センサーS2と、を含む複数の光学式センサーSと、第1光学式センサーS1からの出力に基づいて、第1紙幅の記録紙Pの検出部位を検出し、第2光学式センサーS2からの出力に基づいて、第2紙幅の記録紙Pの検出部位を検出する制御部100と、を備え、制御部100は、複数の光学式センサーSからの出力に基づいて、第1紙幅の記録紙Pおよび第2紙幅の記録紙Pのいずれが搬送されるかを検出する。
[Note]
The printing device and the method of controlling the printing device will be described below.
The printing apparatus 1 uses recording paper P of a first paper width provided with a plurality of detection sites in the length direction, or a second paper width narrower than the first paper width provided with a plurality of detection sites in the length direction. a platen roller 35 for conveying the recording paper P, a first optical sensor S1 provided at a position where the detection portion of the recording paper P of the first paper width passes, and the detection portion of the recording paper P of the second paper width passing through A detection portion of the recording paper P having the first paper width is detected based on outputs from a plurality of optical sensors S including a second optical sensor S2 provided at a position corresponding to the first optical sensor S1. , a control unit 100 for detecting the detection portion of the recording paper P having the second paper width based on the output from the second optical sensor S2, the control unit 100 detecting the output from the plurality of optical sensors S Based on this, it is detected which of the recording paper P having the first paper width and the recording paper P having the second paper width is conveyed.

印刷装置1の制御方法は、長さ方向に複数の検出部位が設けられた第1紙幅の記録紙P、または、長さ方向に複数の検出部位が設けられ、第1紙幅よりも幅の狭い第2紙幅の記録紙Pを搬送するプラテンローラー35と、第1紙幅の記録紙Pの検出部位が通過する位置に設けられた第1光学式センサーS1と、第2紙幅の記録紙Pの検出部位が通過する位置に設けられた第2光学式センサーS2と、を含む複数の光学式センサーSと、制御部100と、を備えた印刷装置1の制御方法であって、制御部100は、第1光学式センサーS1からの出力に基づいて、第1紙幅の記録紙Pの検出部位を検出するステップと、第2光学式センサーS2からの出力に基づいて、第2紙幅の記録紙Pの検出部位を検出するステップと、複数の光学式センサーSからの出力に基づいて、第1紙幅の記録紙Pおよび第2紙幅の記録紙Pのいずれが搬送されるかを検出するステップと、を実行する。 The control method of the printing apparatus 1 is as follows: recording paper P having a first paper width on which a plurality of detection portions are provided in the length direction; A platen roller 35 for conveying the recording paper P of the second paper width, a first optical sensor S1 provided at a position where the detection portion of the recording paper P of the first paper width passes, and detection of the recording paper P of the second paper width. A control method for a printing apparatus 1 including a plurality of optical sensors S including a second optical sensor S2 provided at a position through which a portion passes, and a control unit 100, wherein the control unit 100 includes: a step of detecting a detection portion of the recording paper P of the first paper width based on the output from the first optical sensor S1; a step of detecting the detection portion; and a step of detecting which of the recording paper P having the first paper width and the recording paper P having the second paper width is conveyed based on the outputs from the plurality of optical sensors S. Run.

この構成によれば、印刷装置1は、第1光学式センサーS1および第2光学式センサーS2を、検出部位の検出と紙幅の検出とに兼用できるため、同一種類のセンサーを用いることができ、ひいては搭載する部品種数を抑えることができる。また、印刷装置1は、光学式センサーSを用いるため、接触式のセンサーを用いて紙幅を検出する場合と比較して、機械的な破損リスクを軽減できる。 According to this configuration, the printing apparatus 1 can use the first optical sensor S1 and the second optical sensor S2 both for detection of the detection part and detection of the paper width. As a result, the number of types of parts to be mounted can be suppressed. Further, since the printing apparatus 1 uses the optical sensor S, the risk of mechanical damage can be reduced compared to the case where the paper width is detected using a contact sensor.

上記の印刷装置1において、第1紙幅の記録紙Pおよび第2紙幅の記録紙Pの紙経路41において、第2紙幅の記録紙Pの搬送領域の少なくとも一部は、第1紙幅の記録紙Pの搬送領域と重複しており、第1紙幅の記録紙Pの搬送領域のうち、第2紙幅の記録紙Pの搬送領域と重複しない領域に対応する位置に第1光学式センサーS1は設けられ、第2紙幅の記録紙Pの搬送領域のうち、第1紙幅の記録紙Pの搬送領域と重複する領域に対応する位置に第2光学式センサーS2は設けられる、ことが好ましい。 In the printing apparatus 1 described above, in the paper path 41 for the recording paper P of the first paper width and the recording paper P of the second paper width, at least part of the transport area of the recording paper P of the second paper width is the recording paper of the first paper width. The first optical sensor S1 is provided at a position corresponding to an area that overlaps with the transport area of the recording paper P of the first paper width and does not overlap with the transport area of the recording paper P of the second paper width. It is preferable that the second optical sensor S2 is provided at a position corresponding to an area in the transport area for the recording paper P having the second paper width that overlaps with the transport area for the recording paper P having the first paper width.

この構成によれば、印刷装置1は、第2紙幅の記録紙Pの搬送領域の少なくとも一部が、第1紙幅の記録紙Pの搬送領域と重複しているため、紙経路41の搬送領域を省スペース化することができる。また、第2光学式センサーS2は、第2紙幅の記録紙Pの搬送領域のうち、第1紙幅の記録紙Pの搬送領域と重複する領域に対応する位置に設けられるため、光学式センサーSの配置スペースを省スペース化することができる。 According to this configuration, in the printing apparatus 1, at least a part of the transport area for the recording paper P having the second paper width overlaps with the transport area for the recording paper P having the first paper width. can save space. Further, the second optical sensor S2 is provided at a position corresponding to an area of the transport area for the recording paper P having the second paper width that overlaps with the transport area for the recording paper P having the first paper width. can save space.

上記の印刷装置1において、記録紙Pが巻かれたロール紙Rを収容するロール紙ホルダー8と、第2紙幅のロール紙Rの端面と接触し、第2紙幅のロール紙Rの幅方向における位置を規制する第1仕切り部材51と、をさらに備える、ことが好ましい。 In the printing apparatus 1 described above, the roll paper holder 8 that accommodates the roll paper R on which the recording paper P is wound is in contact with the end face of the roll paper R of the second paper width, and in the width direction of the roll paper R of the second paper width It is preferable to further include a first partition member 51 that regulates the position.

この構成によれば、印刷装置1は、第1仕切り部材51により、第2紙幅のロール紙Rの幅方向における位置を規制することができる。 According to this configuration, the printing apparatus 1 can regulate the position of the roll paper R having the second paper width in the width direction by the first partition member 51 .

上記の印刷装置1において、プラテンローラー35は、さらに、長さ方向に複数の検出部位が設けられ、第2紙幅よりも幅の狭い第3紙幅の記録紙Pを搬送可能であり、複数の光学式センサーSは、第3紙幅の記録紙Pの検出部位が通過する位置に設けられた第3光学式センサーS3をさらに含み、制御部100は、第3光学式センサーS3で第3紙幅の記録紙Pの検出部位を検出し、複数の光学式センサーSからの出力に基づいて、第1紙幅の記録紙P、第2紙幅の記録紙Pおよび第3紙幅の記録紙Pのいずれが搬送されるかを検出する、ことが好ましい。 In the printing apparatus 1 described above, the platen roller 35 is further provided with a plurality of detection portions in the length direction, is capable of conveying the recording paper P having a third paper width narrower than the second paper width, and has a plurality of optical sensors. The type sensor S further includes a third optical sensor S3 provided at a position through which the detection portion of the recording paper P of the third paper width passes. Detecting portions of the paper P are detected, and based on outputs from a plurality of optical sensors S, which one of the recording paper P having the first paper width, the recording paper P having the second paper width, and the recording paper P having the third paper width is conveyed. It is preferable to detect whether

この構成によれば、印刷装置1は、第3光学式センサーS3をさらに備えることにより、3種類以上の紙幅の検出を実現できる。また、印刷装置1は、第1光学式センサーS1、第2光学式センサーS2および第3光学式センサーS3を、検出部位の検出と紙幅の検出とに兼用できるため、搭載する部品種数を抑えることができる。 According to this configuration, the printing apparatus 1 can detect three or more types of paper widths by further including the third optical sensor S3. In addition, since the printing apparatus 1 can use the first optical sensor S1, the second optical sensor S2, and the third optical sensor S3 for both detection of the detection part and detection of the paper width, the number of types of mounted parts can be reduced. be able to.

上記の印刷装置1において、紙経路41において、第3紙幅の記録紙Pの搬送領域の少なくとも一部は、第1紙幅の記録紙Pの搬送領域および第2紙幅の記録紙Pの搬送領域と重複しており、第1紙幅の記録紙Pの搬送領域のうち、第2紙幅の記録紙Pの搬送領域および第3紙幅の記録紙Pの搬送領域と重複しない領域に対応する位置に第1光学式センサーS1は設けられ、第2紙幅の記録紙Pの搬送領域のうち、第1紙幅の記録紙Pの搬送領域と重複し、第3紙幅の記録紙Pの搬送領域と重複しない領域に対応する位置に第2光学式センサーS2は設けられ、第3紙幅の記録紙Pの搬送領域のうち、第1紙幅の記録紙Pの搬送領域および第2紙幅の記録紙Pの搬送領域と重複する領域に対応する位置に第3光学式センサーS3は設けられる、ことが好ましい。 In the printing apparatus 1 described above, in the paper path 41, at least part of the transport area for the recording paper P having the third paper width is the transport area for the recording paper P having the first paper width and the transport area for the recording paper P having the second paper width. In the position corresponding to the area that does not overlap the transport area of the recording paper P of the second paper width and the transport area of the recording paper P of the third paper width among the transport areas of the recording paper P of the first paper width. The optical sensor S1 is provided in a region of the recording paper P having the second paper width that overlaps the recording paper P having the first paper width and does not overlap the recording paper P having the third paper width. A second optical sensor S2 is provided at a corresponding position, and of the recording paper P transport area of the third paper width, the transport area of the recording paper P of the first paper width and the transport area of the recording paper P of the second paper width overlap. It is preferable that the third optical sensor S3 is provided at a position corresponding to the area where the

この構成によれば、第3紙幅の記録紙Pの搬送領域の少なくとも一部が、第1紙幅の記録紙Pの搬送領域および第2紙幅の記録紙Pの搬送領域と重複しているため、紙経路41の搬送領域を省スペース化することができる。また、第3光学式センサーS3は、第3紙幅の記録紙Pの搬送領域のうち、第1紙幅の記録紙Pの搬送領域および第2紙幅の記録紙Pの搬送領域と重複する領域に対応する位置に設けられるため、光学式センサーSの配置スペースを省スペース化することができる。 According to this configuration, since at least a part of the transport area for the recording paper P having the third paper width overlaps with the transport area for the recording paper P having the first paper width and the transport area for the recording paper P having the second paper width, It is possible to save space in the transport area of the paper path 41 . Further, the third optical sensor S3 corresponds to the area overlapping the transport area of the recording paper P of the first paper width and the transport area of the recording paper P of the second paper width in the transport area of the recording paper P of the third paper width. Since it is provided at a position where the optical sensor S is located, the space for arranging the optical sensor S can be saved.

上記の印刷装置1において、第1仕切り部材51は、第2紙幅のロール紙Rの一方の端面、および第3紙幅のロール紙Rの一方の端面と接触し、第2紙幅のロール紙Rおよび第3紙幅のロール紙Rの幅方向における位置を規制し、第3紙幅のロール紙Rの他方の端面と接触し、第3紙幅のロール紙Rの幅方向における位置を規制する第2仕切り部材52をさらに備える、ことが好ましい。 In the printing apparatus 1 described above, the first partition member 51 is in contact with one end surface of the roll paper R having the second paper width and one end surface of the roll paper R having the third paper width. A second partition member that regulates the position in the width direction of the roll paper R of the third paper width, contacts the other end surface of the roll paper R of the third paper width, and regulates the position of the roll paper R in the width direction of the third paper width. 52 is preferably further provided.

この構成によれば、印刷装置1は、第1仕切り部材51により、第2紙幅のロール紙Rおよび第3紙幅のロール紙Rの幅方向における位置を規制し、第2仕切り部材52により、第3紙幅のロール紙Rの幅方向における位置を規制することができる。 According to this configuration, the printing apparatus 1 uses the first partition member 51 to regulate the positions of the roll paper R having the second paper width and the roll paper R having the third paper width in the width direction, The position in the width direction of the roll paper R having a width of 3 papers can be regulated.

上記の印刷装置1において、搬送される記録紙Pを切断する切断機構37をさらに備え、切断機構37は、プラテンローラー35の軸線方向において、第3紙幅の記録紙Pに切り残しを形成するパーシャルカットを行う、ことが好ましい。 The printing apparatus 1 further includes a cutting mechanism 37 that cuts the conveyed recording paper P. The cutting mechanism 37 is a partial cutting mechanism that forms an uncut portion of the recording paper P of the third paper width in the axial direction of the platen roller 35. Cutting is preferred.

この構成によれば、印刷装置1は、切断機構37を備えたことにより、紙幅の狭い第3紙幅の記録紙Pを用いた場合でも、記録紙Pに切り残しを形成することができる。 According to this configuration, the printing apparatus 1 is provided with the cutting mechanism 37, so that even when the recording paper P having the narrow third paper width is used, an uncut portion can be formed on the recording paper P.

上記の印刷装置1において、複数の光学式センサーSは、プラテンローラー35の軸線方向に並んで配置される、ことが好ましい。 In the printing apparatus 1 described above, it is preferable that the plurality of optical sensors S be arranged side by side in the axial direction of the platen roller 35 .

この構成によれば、印刷装置1は、複数の光学式センサーSが、プラテンローラー35の軸線方向に並んで配置されるため、複数の光学式センサーSの配置スペースを省スペース化することができる。 According to this configuration, in the printing apparatus 1, since the plurality of optical sensors S are arranged side by side in the axial direction of the platen roller 35, the space for arranging the plurality of optical sensors S can be saved. .

1…印刷装置、35…プラテンローラー、37…切断機構、41…紙経路、51…第1仕切り部材、52…第2仕切り部材、100…制御部、P…記録紙、R…ロール紙、S…光学式センサー、S1…第1光学式センサー、S2…第2光学式センサー、S3…第3光学式センサー。 Reference Signs List 1 printing device 35 platen roller 37 cutting mechanism 41 paper path 51 first partitioning member 52 second partitioning member 100 control unit P recording paper R paper roll S ... optical sensor, S1 ... first optical sensor, S2 ... second optical sensor, S3 ... third optical sensor.

Claims (9)

長さ方向に複数の検出部位が設けられた第1紙幅の記録紙、または、長さ方向に複数の前記検出部位が設けられ、前記第1紙幅よりも幅の狭い第2紙幅の記録紙を搬送する搬送ローラーと、
前記第1紙幅の記録紙の前記検出部位が通過する位置に設けられた第1光学式センサーと、前記第2紙幅の記録紙の前記検出部位が通過する位置に設けられた第2光学式センサーと、を含む複数の光学式センサーと、
前記第1光学式センサーからの出力に基づいて、前記第1紙幅の記録紙の前記検出部位を検出し、前記第2光学式センサーからの出力に基づいて、前記第2紙幅の記録紙の前記検出部位を検出する制御部と、を備え、
前記制御部は、
複数の前記光学式センサーからの出力に基づいて、前記第1紙幅の記録紙および前記第2紙幅の記録紙のいずれが搬送されるかを検出することを特徴とする印刷装置。
Recording paper having a first width in which a plurality of detection portions are provided in the length direction, or recording paper having a second width narrower than the first width and having a plurality of detection portions in the length direction. a conveying roller for conveying;
A first optical sensor provided at a position through which the detection portion of the recording paper having the first paper width passes; and a second optical sensor provided at a position through which the detection portion of the recording paper having the second paper width passes. a plurality of optical sensors including;
Based on the output from the first optical sensor, the detection portion of the recording paper having the first paper width is detected, and based on the output from the second optical sensor, the recording paper having the second paper width is detected. A control unit that detects the detection site,
The control unit
A printing apparatus that detects whether the recording paper having the first paper width or the recording paper having the second paper width is conveyed based on outputs from the plurality of optical sensors.
前記第1紙幅の記録紙および前記第2紙幅の記録紙の紙経路において、前記第2紙幅の記録紙の搬送領域の少なくとも一部は、前記第1紙幅の記録紙の搬送領域と重複しており、
前記第1紙幅の記録紙の搬送領域のうち、前記第2紙幅の記録紙の搬送領域と重複しない領域に対応する位置に前記第1光学式センサーは設けられ、
前記第2紙幅の記録紙の搬送領域のうち、前記第1紙幅の記録紙の搬送領域と重複する領域に対応する位置に前記第2光学式センサーは設けられる、ことを特徴とする請求項1に記載の印刷装置。
In the paper path of the recording paper of the first paper width and the recording paper of the second paper width, at least a part of the conveying area of the recording paper of the second paper width overlaps the conveying area of the recording paper of the first paper width. cage,
The first optical sensor is provided at a position corresponding to an area that does not overlap with the conveyance area of the recording paper of the second paper width in the conveyance area of the recording paper of the first paper width,
2. The second optical sensor is provided at a position corresponding to an area of the recording paper transport area of the second paper width that overlaps with the transport area of the recording paper of the first paper width. The printing device according to .
前記記録紙が巻かれたロール紙を収容するロール紙ホルダーと、
前記第2紙幅のロール紙の端面と接触し、前記第2紙幅のロール紙の幅方向における位置を規制する第1仕切り部材と、をさらに備える、ことを特徴とする請求項2に記載の印刷装置。
a roll paper holder that accommodates the roll paper on which the recording paper is wound;
3. The printing according to claim 2, further comprising a first partition member that contacts an end face of the roll paper of the second paper width and regulates the position of the roll paper of the second paper width in the width direction. Device.
前記搬送ローラーは、さらに、
長さ方向に複数の前記検出部位が設けられ、前記第2紙幅よりも幅の狭い第3紙幅の記録紙を搬送可能であり、
複数の前記光学式センサーは、前記第3紙幅の記録紙の前記検出部位が通過する位置に設けられた第3光学式センサーをさらに含み、
前記制御部は、
前記第3光学式センサーで前記第3紙幅の記録紙の前記検出部位を検出し、
複数の前記光学式センサーからの出力に基づいて、前記第1紙幅の記録紙、前記第2紙幅の記録紙および前記第3紙幅の記録紙のいずれが搬送されるかを検出する、ことを特徴とする請求項3に記載の印刷装置。
The transport roller further
A plurality of detection portions are provided in the length direction, and recording paper having a third paper width narrower than the second paper width can be conveyed,
The plurality of optical sensors further includes a third optical sensor provided at a position through which the detection portion of the recording paper having the third paper width passes,
The control unit
detecting the detection portion of the recording paper having the third paper width with the third optical sensor;
According to outputs from the plurality of optical sensors, it is detected which of the recording paper having the first paper width, the recording paper having the second paper width, and the recording paper having the third paper width is conveyed. 4. The printing apparatus according to claim 3.
前記紙経路において、前記第3紙幅の記録紙の搬送領域の少なくとも一部は、前記第1紙幅の記録紙の搬送領域および前記第2紙幅の記録紙の搬送領域と重複しており、
前記第1紙幅の記録紙の搬送領域のうち、前記第2紙幅の記録紙の搬送領域および前記第3紙幅の記録紙の搬送領域と重複しない領域に対応する位置に前記第1光学式センサーは設けられ、
前記第2紙幅の記録紙の搬送領域のうち、前記第1紙幅の記録紙の搬送領域と重複し、前記第3紙幅の記録紙の搬送領域と重複しない領域に対応する位置に前記第2光学式センサーは設けられ、
前記第3紙幅の記録紙の搬送領域のうち、前記第1紙幅の記録紙の搬送領域および前記第2紙幅の記録紙の搬送領域と重複する領域に対応する位置に前記第3光学式センサーは設けられる、ことを特徴とする請求項4に記載の印刷装置。
In the paper path, at least a part of the transport area for the recording paper having the third paper width overlaps with the transport area for the recording paper having the first paper width and the transport area for the recording paper having the second paper width,
The first optical sensor is positioned at a position corresponding to an area of the recording paper transport area of the first paper width that does not overlap the transport area of the recording paper of the second paper width and the transport area of the recording paper of the third paper width. provided,
The second optical system is positioned at a position corresponding to an area of the recording paper transport area of the second paper width that overlaps the recording paper transport area of the first paper width and does not overlap the recording paper transport area of the third paper width. A formula sensor is provided,
The third optical sensor is positioned at a position corresponding to an area of the recording paper transport area of the third paper width that overlaps the transport area of the recording paper of the first paper width and the transport area of the recording paper of the second paper width. 5. The printing device of claim 4, wherein a printing device is provided.
前記第1仕切り部材は、
前記第2紙幅のロール紙の一方の端面、および前記第3紙幅のロール紙の一方の端面と接触し、前記第2紙幅のロール紙および前記第3紙幅のロール紙の幅方向における位置を規制し、
前記第3紙幅のロール紙の他方の端面と接触し、前記第3紙幅のロール紙の幅方向における位置を規制する第2仕切り部材をさらに備える、ことを特徴とする請求項4または5に記載の印刷装置。
The first partition member is
contacting one end face of the roll paper of the second paper width and one end face of the roll paper of the third paper width, and regulating the positions in the width direction of the roll paper of the second paper width and the roll paper of the third paper width; death,
6. The apparatus according to claim 4, further comprising a second partition member that contacts the other end surface of the roll paper of the third paper width and regulates the position of the roll paper of the third paper width in the width direction. printing device.
搬送される前記記録紙を切断する切断機構をさらに備え、
前記切断機構は、
前記搬送ローラーの軸線方向において、前記第3紙幅の記録紙に切り残しを形成するパーシャルカットを行う、ことを特徴とする請求項6に記載の印刷装置。
further comprising a cutting mechanism for cutting the conveyed recording paper,
The cutting mechanism is
7. The printing apparatus according to claim 6, wherein a partial cut is performed to form an uncut portion of the recording paper of the third paper width in the axial direction of the transport roller.
複数の前記光学式センサーは、
前記搬送ローラーの軸線方向に並んで配置される、ことを特徴とする請求項1ないし7のいずれか1項に記載の印刷装置。
The plurality of optical sensors are
8. The printing apparatus according to any one of claims 1 to 7, wherein the printing apparatus is arranged side by side in the axial direction of the transport roller.
長さ方向に複数の検出部位が設けられた第1紙幅の記録紙、または、長さ方向に複数の前記検出部位が設けられ、前記第1紙幅よりも幅の狭い第2紙幅の記録紙を搬送する搬送ローラーと、
前記第1紙幅の記録紙の前記検出部位が通過する位置に設けられた第1光学式センサーと、前記第2紙幅の記録紙の前記検出部位が通過する位置に設けられた第2光学式センサーと、を含む複数の光学式センサーと、
制御部と、を備えた印刷装置の制御方法であって、
前記制御部は、
前記第1光学式センサーからの出力に基づいて、前記第1紙幅の記録紙の前記検出部位を検出するステップと、
前記第2光学式センサーからの出力に基づいて、前記第2紙幅の記録紙の前記検出部位を検出するステップと、
複数の前記光学式センサーからの出力に基づいて、前記第1紙幅の記録紙および前記第2紙幅の記録紙のいずれが搬送されるかを検出するステップと、を実行する、ことを特徴とする印刷装置の制御方法。
Recording paper having a first width in which a plurality of detection portions are provided in the length direction, or recording paper having a second width narrower than the first width and having a plurality of detection portions in the length direction. a conveying roller for conveying;
A first optical sensor provided at a position through which the detection portion of the recording paper having the first paper width passes; and a second optical sensor provided at a position through which the detection portion of the recording paper having the second paper width passes. a plurality of optical sensors including;
A control method for a printing device comprising a control unit,
The control unit
detecting the detection portion of the recording paper having the first paper width based on the output from the first optical sensor;
detecting the detection portion of the recording paper having the second paper width based on the output from the second optical sensor;
and detecting which of the recording paper having the first paper width and the recording paper having the second paper width is conveyed based on outputs from the plurality of optical sensors. A method of controlling a printing device.
JP2021093021A 2021-06-02 2021-06-02 Printer and control method of printer Pending JP2022185378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021093021A JP2022185378A (en) 2021-06-02 2021-06-02 Printer and control method of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021093021A JP2022185378A (en) 2021-06-02 2021-06-02 Printer and control method of printer

Publications (1)

Publication Number Publication Date
JP2022185378A true JP2022185378A (en) 2022-12-14

Family

ID=84438657

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021093021A Pending JP2022185378A (en) 2021-06-02 2021-06-02 Printer and control method of printer

Country Status (1)

Country Link
JP (1) JP2022185378A (en)

Similar Documents

Publication Publication Date Title
JP4592925B2 (en) Printer
WO2023140341A1 (en) Printing device
EP2918418B1 (en) Image forming apparatus
JP2022185378A (en) Printer and control method of printer
JP2004223815A (en) Device for detecting side edge of recording paper and printer sheet
CN114851727B (en) Printing apparatus, control method for printing apparatus, and program
JP2006044900A (en) Roll paper guide device, roll paper guide method, roll paper support device, and image forming device
JP2014051010A (en) Double-sided printer device
JP2018192695A (en) Printer
JP2020196192A (en) Printer and control method of printer
JP2014051011A (en) Double-sided printer device
JP6077283B2 (en) Thermal printer
JP5867172B2 (en) Print head mechanism, flap mechanism, and medium processing apparatus
JP2005262585A (en) Device for detecting position of side edge of recording sheet, and printer
WO2023068095A1 (en) Printing device and cutting device
JP3349044B2 (en) Recording medium cutting device
JP4328137B2 (en) Printer stacker device
JP2005075551A (en) Paper guide of cutter
JP3832364B2 (en) Recording device
JP4139299B2 (en) RECORDING BODY CUTTING DEVICE AND IMAGE RECORDING DEVICE HAVING THE RECORDING BODY CUTTING DEVICE
JP2003291435A (en) Recorder, its controlling method and program, and recording medium
JP2003266826A (en) Medium measuring instrument and recorder
JP5670718B2 (en) Medium guide mechanism and verification device
JP2002302310A (en) Image recording device
JP2023061197A (en) Printing device