JP7173381B2 - PRINTING DEVICE, PRINTING METHOD AND PROGRAM - Google Patents

PRINTING DEVICE, PRINTING METHOD AND PROGRAM Download PDF

Info

Publication number
JP7173381B2
JP7173381B2 JP2022000393A JP2022000393A JP7173381B2 JP 7173381 B2 JP7173381 B2 JP 7173381B2 JP 2022000393 A JP2022000393 A JP 2022000393A JP 2022000393 A JP2022000393 A JP 2022000393A JP 7173381 B2 JP7173381 B2 JP 7173381B2
Authority
JP
Japan
Prior art keywords
image
printed
printing
print head
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2022000393A
Other languages
Japanese (ja)
Other versions
JP2022040208A (en
Inventor
茂人 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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
Priority claimed from JP2017245837A external-priority patent/JP7006247B2/en
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2022000393A priority Critical patent/JP7173381B2/en
Publication of JP2022040208A publication Critical patent/JP2022040208A/en
Application granted granted Critical
Publication of JP7173381B2 publication Critical patent/JP7173381B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、印刷装置、印刷方法及びプログラムに関する。 The present invention relates to a printing device , printing method and program.

筐体を把持して手動走査することにより、印刷媒体に文字、記号、ロゴ、マーク等の印刷対象の画像を印刷する手動走査型の印刷装置が知られている。 2. Description of the Related Art A manual scanning printing apparatus is known that prints images to be printed, such as characters, symbols, logos, marks, etc., on a printing medium by gripping a housing and manually scanning.

特許文献1は、印刷媒体上を走査されて印刷ヘッドにより印刷対象の画像を印刷媒体に印刷する手動走査型の印刷装置を開示している。 Japanese Patent Application Laid-Open No. 2002-200000 discloses a manual scanning printing apparatus that scans a print medium and prints an image to be printed on the print medium with a print head.

特開2001-225512号公報Japanese Patent Application Laid-Open No. 2001-225512

特許文献1に開示された印刷装置に限らず、手動走査型の印刷装置では、印刷対象の画像を示すデータをRAM(Random Access Memory)に記憶し、RAMに記憶した画像を示すデータを印刷ヘッドに出力することにより、印刷対象の画像を印刷している。ここで用いるRAMは、データの出力速度を大きくするため、CPU(Central Processing Unit)に内蔵されているRAMを用いている。このため、RAMの容量に限界があり、走査方向における印刷対象の画像の長さが制限され、走査方向に長い印刷対象の画像を印刷することが容易でない。 Not limited to the printing apparatus disclosed in Japanese Patent Application Laid-Open No. 2002-200010, in a manual scanning type printing apparatus, data indicating an image to be printed is stored in a RAM (random access memory), and the data indicating the image stored in the RAM is transferred to the print head. The image to be printed is printed by outputting to . The RAM used here is a RAM built in a CPU (Central Processing Unit) in order to increase the data output speed. Therefore, the RAM capacity is limited, the length of the image to be printed in the scanning direction is limited, and it is not easy to print the image to be printed that is long in the scanning direction.

本発明は、上記のような課題を解決するためになされたものであり、一方向に長い印刷対象の画像を印刷できる印刷装置、印刷方法及びプログラムを提供することを目的とする。 SUMMARY OF THE INVENTION The present invention has been made to solve the problems described above, and an object of the present invention is to provide a printing apparatus , a printing method, and a program capable of printing an image to be printed that is long in one direction.

上記の目的を達成するため、本発明に係る印刷装置は、印字素子が第1の方向に配列された印刷ヘッドを備え、前記第1の方向に直交する第2の方向における第1の側から第2の側に向けた前記印刷ヘッドの移動に伴わせて第1の印刷対象画像を被印刷媒体に印刷した後に前記第1の印刷対象画像と同じ行となるように第2の印刷対象画像を前記被印刷媒体に印刷可能な印刷装置であって、前記第1の印刷対象画像の印刷後に、前記印刷ヘッドを一旦前記第2の側から前記第1の側に戻す旨をユーザに報知するとともに前記第2の印刷対象画像の外部装置からの取得を開始し、前記印刷ヘッドが前記第2の側から前記第1の側に一旦戻された後に再度前記第2の側に移動されることで前記印刷ヘッドが前記被印刷媒体に印刷された前記第1の印刷対象画像の末端に対応する位置になった場合に、前記外部装置から取得した前記第2の印刷対象画像の印刷を開始させる制御手段を備える、ことを特徴とする
また、本発明に係る印刷方法は、印字素子が第1の方向に配列された印刷ヘッドを備え、前記第1の方向に直交する第2の方向における第1の側から第2の側に向けた前記印刷ヘッドの移動に伴わせて第1の印刷対象画像を被印刷媒体に印刷した後に前記第1の印刷対象画像と同じ行となるように第2の印刷対象画像を前記被印刷媒体に印刷可能な印刷装置、が実行する印刷方法であって、前記第1の印刷対象画像の印刷後に、前記印刷ヘッドを一旦前記第2の側から前記第1の側に戻す旨をユーザに報知するとともに前記第2の印刷対象画像の外部装置からの取得を開始し、前記印刷ヘッドが前記第2の側から前記第1の側に一旦戻された後に再度前記第2の側に移動されることで前記印刷ヘッドが前記被印刷媒体に印刷された前記第1の印刷対象画像の末端に対応する位置になった場合に、前記外部装置から取得した前記第2の印刷対象画像の印刷を開始させる制御処理を含む、ことを特徴とする
また、本発明に係るプログラムは、印字素子が第1の方向に配列された印刷ヘッドを備え、前記第1の方向に直交する第2の方向における第1の側から第2の側に向けた前記印刷ヘッドの移動に伴わせて第1の印刷対象画像を被印刷媒体に印刷した後に前記第1の印刷対象画像と同じ行となるように第2の印刷対象画像を前記被印刷媒体に印刷可能な印刷装置のコンピュータを、前記第1の印刷対象画像の印刷後に、前記印刷ヘッドを一旦前記第2の側から前記第1の側に戻す旨をユーザに報知するとともに前記第2の印刷対象画像の外部装置からの取得を開始し、前記印刷ヘッドが前記第2の側から前記第1の側に一旦戻された後に再度前記第2の側に移動されることで前記印刷ヘッドが前記被印刷媒体に印刷された前記第1の印刷対象画像の末端に対応する位置になった場合に、前記外部装置から取得した前記第2の印刷対象画像の印刷を開始させる制御手段として機能させる、ことを特徴とする
In order to achieve the above object, a printing apparatus according to the present invention includes a print head having printing elements arranged in a first direction, and from a first side in a second direction orthogonal to the first direction. a second image to be printed so as to be on the same line as the first image to be printed after printing the first image to be printed on a receiving medium as the print head is moved toward the second side; on the print medium, wherein the user is notified that the print head is once returned from the second side to the first side after printing the first image to be printed. and starting to acquire the second image to be printed from an external device, and after the print head is once returned from the second side to the first side, it is moved again to the second side. when the print head is at a position corresponding to the end of the first image to be printed printed on the medium to be printed, printing of the second image to be printed obtained from the external device is started. A control means is provided .
Further, the printing method according to the present invention is provided with a print head in which printing elements are arranged in a first direction, and from a first side to a second side in a second direction orthogonal to the first direction. After the first image to be printed is printed on the medium to be printed in accordance with the movement of the print head, the second image to be printed is printed on the medium to be printed so as to be on the same line as the first image to be printed. A printing method executed by a printing device capable of printing, wherein after printing the first image to be printed, the user is notified that the print head is once returned from the second side to the first side. and starting to acquire the second image to be printed from an external device, and after the print head is once returned from the second side to the first side, it is moved again to the second side. when the print head is at a position corresponding to the end of the first image to be printed printed on the medium to be printed, printing of the second image to be printed obtained from the external device is started. It is characterized by including control processing .
Further, a program according to the present invention includes a print head having printing elements arranged in a first direction, and printing from a first side to a second side in a second direction perpendicular to the first direction. After printing the first image to be printed on the printing medium along with the movement of the print head toward the printing head, the second image to be printed is printed on the printing medium so as to be on the same line as the first image to be printed. the computer of the printing device capable of printing on the second side, after printing the first image to be printed, the user is informed that the print head is once returned from the second side to the first side; Acquisition of an image to be printed from an external device is started, and the print head is once returned from the second side to the first side and then moved again to the second side, thereby moving the print head. Function as control means for starting printing of the second image to be printed obtained from the external device when the end of the first image to be printed printed on the medium to be printed reaches a position corresponding to the end of the image to be printed. , characterized in that

本発明によれば、一方向に長い印刷対象の画像を印刷できる印刷装置、印刷方法及びプログラムを提供することができる。 According to the present invention, it is possible to provide a printing apparatus , a printing method, and a program capable of printing an image to be printed that is long in one direction.

本発明の実施の形態に係るハンディプリンタおよび端末装置を示す図である。1A and 1B are diagrams showing a handy printer and a terminal device according to an embodiment of the present invention; FIG. 本発明の実施の形態に係るハンディプリンタを示す上面図である。1 is a top view showing a handy printer according to an embodiment of the invention; FIG. 本発明の実施の形態に係るハンディプリンタを示す底面図である。It is a bottom view showing a handy printer according to an embodiment of the present invention. 本発明の実施の形態に係るハンディプリンタの構成を示すブロック図である。1 is a block diagram showing the configuration of a handy printer according to an embodiment of the invention; FIG. 本発明の実施の形態に係る端末装置の構成を示すブロック図である。It is a block diagram which shows the structure of the terminal device which concerns on embodiment of this invention. 本発明の実施の形態に係る端末装置が実行する印刷対象送信処理を示すフローチャートである。5 is a flowchart showing print target transmission processing executed by the terminal device according to the embodiment of the present invention; 本発明の実施の形態に係るハンディプリンタが実行する印刷処理を示すフローチャートである。4 is a flow chart showing print processing executed by the handy printer according to the embodiment of the present invention; 本発明の実施の形態に係るハンディプリンタが実行する第1の印刷実行処理を示すフローチャートである。4 is a flow chart showing first print execution processing executed by the handy printer according to the embodiment of the present invention; 本発明の実施の形態に係るハンディプリンタが実行する第2の印刷実行処理を示すフローチャートである。9 is a flow chart showing second print execution processing executed by the handy printer according to the embodiment of the present invention; 本発明の実施の形態に係るハンディプリンタが実行する印刷処理を説明する図である。FIG. 4 is a diagram illustrating print processing executed by the handy printer according to the embodiment of the present invention; 本発明の実施の形態に係るハンディプリンタが実行する印刷処理を説明する図である。FIG. 4 is a diagram illustrating print processing executed by the handy printer according to the embodiment of the present invention; 本発明の実施の形態に係るハンディプリンタが実行する印刷処理を説明する図である。FIG. 4 is a diagram illustrating print processing executed by the handy printer according to the embodiment of the present invention; 本発明の実施の形態に係るハンディプリンタが実行する印刷処理を説明する図である。FIG. 4 is a diagram illustrating print processing executed by the handy printer according to the embodiment of the present invention; 本発明の実施の形態に係るハンディプリンタが実行する印刷処理を説明する図である。FIG. 4 is a diagram illustrating print processing executed by the handy printer according to the embodiment of the present invention; 本発明の実施の形態に係るハンディプリンタが実行する印刷処理を説明する図である。FIG. 4 is a diagram illustrating print processing executed by the handy printer according to the embodiment of the present invention; 変形例に係るハンディプリンタを示す底面図である。It is a bottom view showing a handy printer according to a modification. 変形例に係るハンディプリンタが実行する印刷処理を説明する図である。FIG. 10 is a diagram illustrating print processing executed by a handy printer according to a modification;

以下、本発明を実施するための形態に係る印刷装置を図面を参照しながら説明する。 Hereinafter, a printing apparatus according to an embodiment of the present invention will be described with reference to the drawings.

本実施の形態に係るハンディプリンタ(印刷装置)100は、図1に示すように、ユーザが手で把持しやすい大きさを有する筐体101を備え、ユーザにより第1の副走査方向に走査されて、文字、記号、ロゴ、キャラクタ、マーク、図形等の印刷対象画像を印刷媒体Rに印刷するものである。ハンディプリンタ100が印刷する印刷対象画像を示すデータは、端末装置(他の装置)200から送信される。端末装置200は、例えば、ディスプレイ230を備えるスマートホン、タブレットPC(Personal Computer)から構成される。ハンディプリンタ100と端末装置200とは、無線回線を通じて相互に通信可能に構成される。なお、ハンディプリンタ100と端末装置200は、印刷システム1を構成する。 As shown in FIG. 1, a handy printer (printing device) 100 according to the present embodiment includes a housing 101 having a size that is easy for a user to hold by hand. Then, an image to be printed, such as characters, symbols, logos, characters, marks, figures, etc., is printed on the printing medium R. Data indicating an image to be printed by the handy printer 100 is transmitted from the terminal device (another device) 200 . The terminal device 200 is configured by, for example, a smart phone or a tablet PC (Personal Computer) having a display 230 . The handy printer 100 and the terminal device 200 are configured to be able to communicate with each other through a wireless line. The handy printer 100 and the terminal device 200 constitute a printing system 1. FIG.

ハンディプリンタ100の上面には、図2に示すように、印刷開始の指示を受け付ける決定ボタン120と、ユーザに走査する方向を示す第1のインジケータ130Aおよび第2のインジケータ130Bと、が設けられている。 As shown in FIG. 2, the top surface of the handy printer 100 is provided with a determination button 120 for receiving an instruction to start printing, and a first indicator 130A and a second indicator 130B that indicate the scanning direction to the user. there is

第1のインジケータ130Aは、ユーザに第1の副走査方向に走査することを示す部分である。第2のインジケータ130Bは、ユーザに第2の副走査方向に走査することを示す部分である。第1のインジケータ130Aが配置されている位置を右端部とし、第2のインジケータ130Bが配置されている位置を左端部とする。第1および第2のインジケータ130A、130Bは、導光板と赤色に発光するLED(Light Emitting Diode)、緑色に発光するLED、および青色に発光するLEDとを有し、任意の色に発光する。ハンディプリンタ100を上から見て、第1のインジケータ130Aは、第1の副走査方向に後述する基準距離移動すると印刷ヘッド150と重なる位置に配置されている。 A first indicator 130A is a portion that indicates to the user that scanning is to be performed in the first sub-scanning direction. A second indicator 130B is a portion that indicates to the user that scanning is to be performed in the second sub-scanning direction. The position where the first indicator 130A is arranged is the right end, and the position where the second indicator 130B is arranged is the left end. The first and second indicators 130A, 130B have a light guide plate and LEDs (Light Emitting Diodes) that emit red light, LEDs that emit green light, and LEDs that emit blue light, and emit light in arbitrary colors. When the handy printer 100 is viewed from above, the first indicator 130A is arranged at a position overlapping the print head 150 when moved by a reference distance described later in the first sub-scanning direction.

ハンディプリンタ100の筐体101の底面には、図3に示すように、走査距離検出部140と、印刷ヘッド150とが設けられている。 A scanning distance detector 140 and a print head 150 are provided on the bottom surface of the housing 101 of the handy printer 100, as shown in FIG.

走査距離検出部140は、LEDなどの光源と、光学センサとから構成され、ハンディプリンタ100が第1または第2の副走査方向に走査された距離を検出する。 The scanning distance detection unit 140 is composed of a light source such as an LED and an optical sensor, and detects the distance by which the handy printer 100 is scanned in the first or second sub-scanning direction.

印刷ヘッド150は、マゼンタ色のインクを吐出するマゼンタ色印刷ヘッド150Mと、シアン色のインクを吐出するシアン色印刷ヘッド150Cと、黄色のインクを吐出する黄色印刷ヘッド150Yと、図示しない各色のインクタンクと、から構成される。印刷ヘッド150M、150C、150Yには、それぞれ印字素子であるノズルが主走査方向に向けてライン状に並んで設けられている。なお、主走査方向は、第1および第2の副走査方向と直交する。印刷ヘッド150は、印刷対象の画像に対応した通電により、ノズルから選択的にインクを吐出する。マゼンタ色印刷ヘッド150Mは、第1のインジケータ130Aの端部から基準距離d1離れた位置に配置されている。シアン色印刷ヘッド150Cは、第1のインジケータ130Aの端部から基準距離d2、マゼンタ色印刷ヘッド150Mから基準距離d4離れた位置に配置されている。黄色印刷ヘッド150Yは、第1のインジケータ130Aの端部から基準距離d3、マゼンタ色印刷ヘッド150Mから基準距離d5離れた位置に配置されている。 The print head 150 includes a magenta print head 150M that ejects magenta ink, a cyan print head 150C that ejects cyan ink, a yellow print head 150Y that ejects yellow ink, and inks of each color (not shown). It consists of a tank and The print heads 150M, 150C, and 150Y each have nozzles, which are printing elements, arranged in a line in the main scanning direction. Note that the main scanning direction is orthogonal to the first and second sub-scanning directions. The print head 150 selectively ejects ink from the nozzles by energization corresponding to the image to be printed. The magenta print head 150M is arranged at a position separated by a reference distance d1 from the end of the first indicator 130A. The cyan print head 150C is located at a reference distance d2 from the end of the first indicator 130A and at a reference distance d4 from the magenta print head 150M. The yellow print head 150Y is located at a reference distance d3 from the end of the first indicator 130A and at a reference distance d5 from the magenta print head 150M.

ハンディプリンタ100は、電気的構成として、図4に示すように、上述した決定ボタン120と、第1および第2のインジケータ130A、130Bと、走査距離検出部140と、印刷ヘッド150と、に加えて、制御部110と、通信部160と、ROM(Read Only Memory)170と、RAM(Random Access Memory)180と、を備える。 As an electrical configuration, the handy printer 100 includes, as shown in FIG. It includes a control unit 110 , a communication unit 160 , a ROM (Read Only Memory) 170 and a RAM (Random Access Memory) 180 .

制御部110は、CPU(Central Processing Unit)等から構成される。制御部110は、ROM170に記憶したプログラムを実行することにより、印刷対象取得部111と、インジケータ表示制御部112と、走査距離判定部113と、印刷ヘッド制御部114として機能する。 The control unit 110 is composed of a CPU (Central Processing Unit) and the like. The control unit 110 functions as a print target acquisition unit 111 , an indicator display control unit 112 , a scanning distance determination unit 113 , and a print head control unit 114 by executing programs stored in the ROM 170 .

印刷対象取得部111は、通信部160を介して、端末装置200から送信された第1と第2の印刷対象画像を示すデータを取得し、RAM180に格納する。第2の印刷対象画像は、第1の印刷対象画像の末端部に続けて印刷する画像である。詳細には、印刷対象取得部111は、端末装置200から送信された第1の印刷対象画像を示すデータを取得し、RAM180に格納する。第1の印刷対象画像の印刷が終了すると、印刷対象取得部111は、RAM180に格納された第1の印刷対象画像を示すデータを消去し、端末装置200に第1の印刷対象画像の印刷が終了した旨を示すデータを送信する。その後、印刷対象取得部111は、端末装置200から送信された第2の印刷対象画像を示すデータを取得し、RAM180に格納する。なお、RAM180に記憶した第1の印刷対象画像を示すデータを消去し、第2の印刷対象画像を示すデータをRAM180に記憶する構成には、RAM180に記憶した第1の印刷対象画像を示すデータに第2の印刷対象画像を示すデータを上書きする構成も含む。 The print target acquisition unit 111 acquires data indicating the first and second print target images transmitted from the terminal device 200 via the communication unit 160 and stores the data in the RAM 180 . The second image to be printed is an image to be printed after the end of the first image to be printed. Specifically, the print target acquisition unit 111 acquires data indicating the first print target image transmitted from the terminal device 200 and stores the data in the RAM 180 . When the printing of the first image to be printed is finished, the print object acquiring unit 111 erases the data indicating the first image to be printed stored in the RAM 180, and the terminal device 200 starts printing the first image to be printed. Send data indicating that it has finished. After that, the print target acquisition unit 111 acquires data indicating the second print target image transmitted from the terminal device 200 and stores the data in the RAM 180 . Note that the data representing the first image to be printed stored in RAM 180 is erased and the data representing the second image to be printed is stored in RAM 180. Also includes a configuration for overwriting the data indicating the second image to be printed on the .

インジケータ表示制御部112は、第1のインジケータ130Aまたは第2のインジケータ130Bを点灯し、ユーザに走査方向を示す。印刷対象取得部111が第1の印刷対象画像を示すデータを取得し、印刷待機状態になると、インジケータ表示制御部112は第1のインジケータ130Aを緑色に点灯する。決定ボタン120が押されると、インジケータ表示制御部112は、第1のインジケータ130Aの点灯色を白色に変更する。ハンディプリンタ100が第1の副走査方向に走査されて、第1の印刷対象画像の印刷を終了すると、インジケータ表示制御部112は、第1のインジケータ130Aを消灯し、第2のインジケータ130Bを緑色に点灯する。ハンディプリンタ100が第1の印刷対象画像の印刷を終了した後、走査距離判定部113が第1の副走査方向に走査された距離(第1の走査距離)L1以上第2の副走査方向に走査されたと判定し、印刷対象取得部111が第2の印刷対象画像を示すデータを取得し、印刷待機状態になると、インジケータ表示制御部112は第2のインジケータ130Bを消灯し、第1のインジケータ130Aを緑色に点灯する。第1の副走査方向に走査されて印刷が開始すると、インジケータ表示制御部112は、第1のインジケータ130Aの点灯色を白色に変更する。ハンディプリンタ100が第1の副走査方向に走査されて、第2の印刷対象画像の印刷を終了すると、インジケータ表示制御部112は、第1のインジケータ130Aを青色に点灯する。その後、所定時間経過すると、インジケータ表示制御部112は、第1のインジケータ130Aを消灯する。 Indicator display control unit 112 lights first indicator 130A or second indicator 130B to indicate the scanning direction to the user. When the print target acquisition unit 111 acquires the data indicating the first print target image and enters the print standby state, the indicator display control unit 112 lights the first indicator 130A in green. When the enter button 120 is pressed, the indicator display control section 112 changes the lighting color of the first indicator 130A to white. When the handy printer 100 is scanned in the first sub-scanning direction and printing of the first image to be printed is completed, the indicator display control unit 112 turns off the first indicator 130A and turns the second indicator 130B green. lights up. After the handy printer 100 finishes printing the first image to be printed, the scanning distance determination unit 113 determines that the distance scanned in the first sub-scanning direction (first scanning distance) L1 or more in the second sub-scanning direction. When it is determined that the image has been scanned, the print target acquisition unit 111 acquires data indicating the second print target image, and enters a print standby state, the indicator display control unit 112 turns off the second indicator 130B, and turns off the first indicator. 130A is lit green. When scanning in the first sub-scanning direction and printing starts, the indicator display control unit 112 changes the lighting color of the first indicator 130A to white. When the handy printer 100 is scanned in the first sub-scanning direction and printing of the second image to be printed is completed, the indicator display control section 112 lights the first indicator 130A in blue. After that, after a predetermined time has passed, the indicator display control unit 112 turns off the first indicator 130A.

走査距離判定部113は、第1または第2の副走査方向に所定距離走査されたか否か判定し、所定距離走査されたと判定すると、印刷ヘッド制御部114の制御により印刷ヘッド150に第1または第2の印刷対象画像の印刷を開始させる。具体的には、走査距離判定部113は、決定ボタン120が押されてからハンディプリンタ100が基準距離走査されたか否かを判定し、基準距離走査されたと判定すると、印刷ヘッド制御部114の制御により印刷ヘッド150に第1の印刷対象画像の印刷を開始させる。走査距離判定部113は、決定ボタン120が押されてからハンディプリンタ100が基準距離d1走査されたと判定すると、マゼンタ色印刷ヘッド150Mに印刷を開始させる。走査距離判定部113は、基準距離d2走査されたと判定すると、シアン色印刷ヘッド150Cに印刷を開始させ、基準距離d3走査されたと判定すると、黄色印刷ヘッド150Yに印刷を開始させる。 The scanning distance determination unit 113 determines whether or not scanning has been performed for a predetermined distance in the first or second sub-scanning direction. The printing of the second image to be printed is started. Specifically, the scanning distance determination unit 113 determines whether or not the handy printer 100 has scanned the reference distance since the enter button 120 was pressed. causes the print head 150 to start printing the first image to be printed. When the scanning distance determination unit 113 determines that the handy printer 100 has scanned the reference distance d1 after the enter button 120 is pressed, it causes the magenta print head 150M to start printing. The scanning distance determination unit 113 causes the cyan print head 150C to start printing when it determines that the reference distance d2 has been scanned, and causes the yellow print head 150Y to start printing when it determines that the reference distance d3 has been scanned.

第1の印刷対象画像の印刷が終了すると、走査距離判定部113は、第2の副走査方向に走査され、さらに第1の副走査方向に走査されたとき、印刷ヘッド150が第1の印刷対象画像の末端部に達しているか否かを判定する。詳細には、走査距離判定部113は、第1の印刷対象画像の印刷が終了した後、第2の副走査方向に走査されるまで第1の副走査方向に走査された距離L1を取得する。マゼンタ色印刷ヘッド150Mは、黄色印刷ヘッド150Yの印刷が終了するまでに、印刷せずに第1の副走査方向に基準距離d5走査されているので、印刷が終了した後、第1の副走査方向に距離L1走査されると、マゼンタ色印刷ヘッド150Mは、距離L1+基準距離5d走査された位置に配置されている。この後、第2の副走査方向に走査されると、走査距離判定部113は、第2の副走査方向に走査された距離Lが距離L1+基準距離5d以上であるか否かを判定する。走査距離判定部113によって、距離Lが距離L1+基準距離5d以上であると判定されると、走査距離判定部113は、距離Lが距離L1+基準距離5d以上である旨を示すデータをインジケータ表示制御部112に出力する。その後、走査距離判定部113は、第2の副走査方向に走査を開始されてから第1の副走査方向に走査されるまでの距離(第2の走査距離)L2を取得する。このときマゼンタ色印刷ヘッド150Mは、距離L1+基準距離5d-距離L2走査された位置に配置されている。この位置から第1の副走査方向に走査されると、走査距離判定部113は、第1の副走査方向に走査された距離L3を取得し、距離L3=距離L2-距離L1-基準距離d5であるか否かを判定する。第1の副走査方向に距離L3=距離L2-距離L1-基準距離d5走査されると、マゼンタ色印刷ヘッド150Mは、第1の印刷対象画像の末端部に位置している。走査距離判定部113は、距離L3=距離L2-距離L1-基準距離d5であると判定されると、印刷ヘッド制御部114に第2の印刷対象画像を印刷させる旨のデータを出力する。 When the printing of the first image to be printed is completed, the scanning distance determination unit 113 scans in the second sub-scanning direction, and when the scanning is further performed in the first sub-scanning direction, the print head 150 moves to the first printing position. It is determined whether or not the end of the target image has been reached. Specifically, the scanning distance determining unit 113 acquires the distance L1 scanned in the first sub-scanning direction after the printing of the first image to be printed is completed until the scanning is performed in the second sub-scanning direction. . The magenta print head 150M is scanned in the first sub-scanning direction by the reference distance d5 without printing before the yellow print head 150Y finishes printing. When scanned in the direction by a distance L1, the magenta print head 150M is located at a position scanned by a distance L1+a reference distance of 5d. Thereafter, when scanning is performed in the second sub-scanning direction, the scanning distance determination unit 113 determines whether or not the distance L scanned in the second sub-scanning direction is equal to or greater than the distance L1+reference distance 5d. When the scanning distance determination unit 113 determines that the distance L is equal to or greater than the distance L1+reference distance 5d, the scanning distance determination unit 113 controls the indicator display of data indicating that the distance L is equal to or greater than the distance L1+reference distance 5d. Output to unit 112 . After that, the scanning distance determination unit 113 acquires the distance (second scanning distance) L2 from the start of scanning in the second sub-scanning direction to the scanning in the first sub-scanning direction. At this time, the magenta print head 150M is arranged at a position scanned by distance L1+reference distance 5d−distance L2. When scanning is performed from this position in the first sub-scanning direction, the scanning distance determination unit 113 obtains the distance L3 scanned in the first sub-scanning direction, and the distance L3=distance L2−distance L1−reference distance d5. It is determined whether or not. When the distance L3=distance L2−distance L1−reference distance d5 is scanned in the first sub-scanning direction, the magenta print head 150M is positioned at the end of the first image to be printed. When scanning distance determination unit 113 determines that distance L3=distance L2−distance L1−reference distance d5, it outputs data to print head control unit 114 to print the second image to be printed.

印刷ヘッド制御部114は、走査距離判定部113により基準距離走査されたと判定された後、走査距離検出部140が検出した副走査方向に走査された走査距離に基づいて、印刷ヘッド150を制御して第1の印刷対象画像を印刷させる。走査距離判定部113により、第1の印刷対象画像の印刷が終了した後、第2の副走査方向に走査され、さらに第1の副走査方向に走査されたとき、印刷ヘッド150が第1の印刷対象画像の末端部に位置していると判定されると、印刷ヘッド制御部114は、印刷ヘッド150を制御して第2の印刷対象画像を印刷させる。具体的には、印刷ヘッド制御部114は、印刷ヘッド150が第1の副走査方向に1ドットピッチに相当する距離を走査される度、RAM180に記憶された第1と第2の印刷対象画像をYMC(Yellow Magenta Cyan)毎に主走査方向にライン状に並んだ1画素のラインである1ドットラインを印刷ヘッド150に印刷させる。 The print head control unit 114 controls the print head 150 based on the scanning distance in the sub-scanning direction detected by the scanning distance detection unit 140 after the scanning distance determination unit 113 determines that scanning has been performed for the reference distance. to print the first image to be printed. Scanning distance determination unit 113 scans in the second sub-scanning direction after printing of the first image to be printed is completed, and scans in the first sub-scanning direction. If it is determined that it is positioned at the end of the image to be printed, the print head controller 114 controls the print head 150 to print the second image to be printed. Specifically, each time the print head 150 scans a distance corresponding to one dot pitch in the first sub-scanning direction, the print head control unit 114 updates the first and second images to be printed stored in the RAM 180. The print head 150 is caused to print a 1-dot line, which is a line of 1 pixel arranged in a line in the main scanning direction for each YMC (Yellow Magenta Cyan).

決定ボタン120は、ユーザの操作に基づいて、印刷媒体Rにおける第1のインジケータ130Aが配置された位置を印刷開始位置として受け付けるとともに印刷開始を指示するものである。 The decision button 120 accepts the position where the first indicator 130A is arranged on the print medium R as the print start position and instructs the print start based on the user's operation.

走査距離検出部140は、上述したように、印刷媒体Rに対して印刷ヘッド150が走査された距離である走査済み距離を検出し、検出された走査済み距離を示すデータを制御部110に出力する。 As described above, the scanning distance detection unit 140 detects the scanned distance, which is the distance over which the print head 150 scans the print medium R, and outputs data indicating the detected scanned distance to the control unit 110. do.

印刷ヘッド150は、上述したように、印刷ヘッド制御部114の制御に基づいて、印刷ヘッド150に設けられたノズルから印刷データに応じてインクを選択的に吐出させる。吐出したインクは、印刷媒体Rに付着し、印刷ヘッド150の主走査方向に向けてライン状に並んだ画素(1ドットライン)が印刷される。 As described above, the print head 150 selectively ejects ink from the nozzles provided in the print head 150 according to the print data under the control of the print head controller 114 . The ejected ink adheres to the print medium R, and pixels (one dot line) arranged in a line in the main scanning direction of the print head 150 are printed.

通信部160は、端末装置200から印刷対象画像を示すデータを受信する。通信部160は、無線LAN(Local Area Network)、Bluetooth(登録商標)などの無線通信モジュールから構成される。 The communication unit 160 receives data indicating an image to be printed from the terminal device 200 . The communication unit 160 is composed of a wireless communication module such as a wireless LAN (Local Area Network) or Bluetooth (registered trademark).

ROM170は、フラッシュメモリ等の不揮発性メモリから構成され、上述したように制御部110が各種機能を実現するためのプログラムおよび基準距離d1~d5を記憶する。RAM180は、揮発性メモリから構成され、制御部110が各種処理を行うためのプログラムを実行するための作業領域として用いられる。また、RAM180は、第1と第2の印刷対象画像のYMCの画像データ、距離L、L1~L3などの走査距離のデータを記憶する。なお、RAM180は、CPUに内蔵されたものであり、第1の印刷対象画像のYMCの画像データと第2の印刷対象画像のYMCの画像データとを両方を記憶する容量を有しないとする。 The ROM 170 is composed of a non-volatile memory such as a flash memory, and stores programs and reference distances d1 to d5 for the control section 110 to implement various functions as described above. The RAM 180 is composed of a volatile memory, and is used as a working area for executing programs for the control unit 110 to perform various processes. The RAM 180 also stores YMC image data of the first and second print target images, and scanning distance data such as the distances L and L1 to L3. Note that the RAM 180 is built in the CPU and does not have the capacity to store both the YMC image data of the first image to be printed and the YMC image data of the second image to be printed.

端末装置200は、図5に示すように、制御部210と、通信部220と、ディスプレイ230と、操作部240と、ROM250と、RAM260と、を備える。 The terminal device 200 includes a control unit 210, a communication unit 220, a display 230, an operation unit 240, a ROM 250, and a RAM 260, as shown in FIG.

制御部210は、CPU等から構成される。制御部210は、ROM250に記憶されたプログラムを実行することにより、印刷対象取得部211と、印刷対象分割部212と、印刷対象送信部213として機能する。 The control unit 210 is composed of a CPU and the like. The control unit 210 functions as a print object acquisition unit 211 , a print object division unit 212 , and a print object transmission unit 213 by executing programs stored in the ROM 250 .

印刷対象取得部211は、操作部240が取得した、または通信部220が受信した印刷対象画像を示すデータを取得し、RAM260に格納する。 The print target acquisition unit 211 acquires data indicating a print target image acquired by the operation unit 240 or received by the communication unit 220 and stores the data in the RAM 260 .

印刷対象分割部212は、印刷対象取得部211が取得した印刷対象画像の副走査方向における長さTLが基準長さBL以上であるか否かを判定する。印刷対象画像の長さTLが基準長さBL以上であると判定すると、印刷対象分割部212は、副走査方向において、印刷対象画像の先頭から基準長さBLまでを第1の印刷対象画像、印刷対象画像の基準長さBLから末端までを第2の印刷対象画像となるように、印刷対象画像示すデータを第1の印刷対象画像を示すデータと第2の印刷対象画像を示すデータに分割する。なお、印刷対象画像の長さTLは、基準長さBLの2倍を超えないものとする。基準長さBLは、ハンディプリンタ100のRAM180の容量により決定され、一回の走査で印刷できる長さであり、例えば15cmである。 The print target dividing unit 212 determines whether or not the length TL in the sub-scanning direction of the print target image acquired by the print target acquisition unit 211 is equal to or greater than the reference length BL. When determining that the length TL of the image to be printed is equal to or greater than the reference length BL, the image to be printed division unit 212 divides the first image to be printed from the beginning of the image to be printed to the reference length BL in the sub-scanning direction. The data representing the image to be printed is divided into data representing the first image to be printed and data representing the second image to be printed so that the second image to be printed extends from the reference length BL to the end of the image to be printed. do. Note that the length TL of the image to be printed does not exceed twice the reference length BL. The reference length BL is determined by the capacity of the RAM 180 of the handy printer 100 and is the length that can be printed in one scan, for example 15 cm.

印刷対象送信部213は、第1と第2の印刷対象画像を示すデータを通信部220を介して、ハンディプリンタ100に送信する。 The print target transmission unit 213 transmits data representing the first and second print target images to the handy printer 100 via the communication unit 220 .

通信部220は、ハンディプリンタ100に印刷対象画像を示すデータを送信する。通信部220は、上述した通信部160と同様に、無線LAN、Bluetooth(登録商標)などの無線通信モジュールから構成される。 The communication unit 220 transmits data indicating an image to be printed to the handy printer 100 . The communication unit 220, like the communication unit 160 described above, is composed of a wireless communication module such as a wireless LAN or Bluetooth (registered trademark).

ディスプレイ230は、入力された印刷対象の画像や操作に必要な画像を表示するものであり、LCD(Liquid Crystal Display)などから構成される。 The display 230 displays an input image to be printed and an image required for operation, and is configured by an LCD (Liquid Crystal Display) or the like.

操作部240は、ユーザの入力に基づいて、印刷対象画像を示すデータや印刷処理の開始、終了の指示を受け付けるものである。なお、操作部240とディスプレイ230とは、タッチパネルディスプレイ装置を構成する。 The operation unit 240 receives data representing an image to be printed and instructions for starting and ending print processing based on user input. Operation unit 240 and display 230 constitute a touch panel display device.

ROM250は、フラッシュメモリ等の不揮発性メモリから構成され、制御部210が各種機能を実現するためのプログラムを記憶する。RAM260は、揮発性メモリから構成され、制御部210が各種処理を行うためのプログラムを実行するための作業領域として用いられる。また、RAM260は、印刷対象画像を示すデータを記憶する。 The ROM 250 is composed of a non-volatile memory such as a flash memory, and stores programs for the control section 210 to implement various functions. The RAM 260 is composed of a volatile memory, and is used as a work area for executing programs for the control unit 210 to perform various processes. Also, the RAM 260 stores data indicating an image to be printed.

つぎに、以上の構成を有する端末装置200からハンディプリンタ100に印刷対象画像を送信し、ハンディプリンタ100が印刷対象画像を印刷する例について、ハンディプリンタ100が実行する印刷処理、および端末装置200が実行する印刷対象送信処理について説明する。 Next, regarding an example in which an image to be printed is transmitted from the terminal device 200 having the above configuration to the handy printer 100 and the handy printer 100 prints the image to be printed, the printing process executed by the handy printer 100 and the terminal device 200 The print target transmission process to be executed will be described.

端末装置200は、ユーザによる処理を開始させる指示に応答し、図6に示す印刷対象送信処理を開始する。また、ハンディプリンタ100は、ユーザによる処理を開始させる指示に応答し、図7に示す印刷処理を開始する。以下、端末装置200が実行する印刷対象送信処理およびハンディプリンタ100が実行する印刷処理を、フローチャートを用いて説明する。なお、ここでは、印刷対象画像を分割しない例及び第1の印刷対象画像と第2の印刷対象画像に分割する例について説明する。 The terminal device 200 starts the print target transmission process shown in FIG. 6 in response to the user's instruction to start the process. Also, the handy printer 100 starts the printing process shown in FIG. 7 in response to the user's instruction to start the process. The print target transmission process executed by the terminal device 200 and the print process executed by the handy printer 100 will be described below using flowcharts. Here, an example in which the image to be printed is not divided and an example in which the image to be printed is divided into a first image to be printed and a second image to be printed will be described.

まず、図6に示すように、印刷対象取得部211は、操作部240に入力された印刷対象画像を示すデータを取得する(ステップS101)。印刷対象取得部211は、取得した印刷対象画像を示すデータをRAM260に記憶する。つぎに、印刷対象送信部213は、印刷対象画像を示すデータを送信する指示を受け付けたか否かを判定する(ステップS102)。データを送信する指示を受け付けていない場合(ステップS102;No)、ステップS102を繰り返す。 First, as shown in FIG. 6, the print target acquisition unit 211 acquires data indicating a print target image input to the operation unit 240 (step S101). The print target acquisition unit 211 stores data indicating the acquired print target image in the RAM 260 . Next, the print target transmission unit 213 determines whether or not an instruction to transmit data representing the print target image has been received (step S102). If an instruction to transmit data has not been received (step S102; No), step S102 is repeated.

データを送信する指示を受け付けた場合(ステップS102;Yes)、印刷対象分割部212は、印刷対象取得部211が取得した印刷対象画像の副走査方向における長さTLが基準長さBL以上であるか否かを判定する(ステップS103)。印刷対象画像の長さTLが基準長さBL以上であると判定されると(ステップS103;Yes)、印刷対象分割部212は、副走査方向において、印刷対象画像の先頭から基準長さBLまでを第1の印刷対象画像、印刷対象画像の基準長さBLから末端までを第2の印刷対象画像となるように、印刷対象画像示すデータを第1の印刷対象画像を示すデータと第2の印刷対象画像を示すデータに分割する(ステップS104)。印刷対象画像の長さTLが基準長さBL以上でないと判定されると(ステップS103;No)、印刷対象取得部211が取得した印刷対象画像を第1の印刷対象画像とし、ステップS105へ進む。 If an instruction to transmit data is received (step S102; Yes), the print target dividing unit 212 determines that the length TL in the sub-scanning direction of the print target image acquired by the print target acquisition unit 211 is equal to or greater than the reference length BL. It is determined whether or not (step S103). If it is determined that the length TL of the image to be printed is greater than or equal to the reference length BL (step S103; Yes), the print target dividing unit 212 divides the length of the image to be printed from the top of the image to be printed to the reference length BL in the sub-scanning direction. is the first image to be printed, and the data indicating the first image to be printed and the data indicating the second image to be printed so that the reference length BL to the end of the image to be printed is the second image to be printed. The image is divided into data representing the image to be printed (step S104). If it is determined that the length TL of the image to be printed is not equal to or greater than the reference length BL (step S103; No), the image to be printed acquired by the print target acquisition unit 211 is set as the first image to be printed, and the process proceeds to step S105. .

つぎに、印刷対象送信部213は、変数n=1とする(ステップS105)。つぎに、印刷対象送信部213は、第1の印刷対象画像を示すデータを、通信部220を介して、ハンディプリンタ100に送信する(ステップS106)。つぎに、印刷対象送信部213は、第1の印刷対象画像の印刷を完了したか否かを判定する(ステップS107)。第1の印刷対象画像の印刷を完了したか否かは、ハンディプリンタ100から第1の印刷対象画像の印刷が完了した旨のデータが送信されたか否かにより判定する。印刷対象送信部213は、第1の印刷対象画像の印刷を完了していないと判定すると(ステップS107;No)、ステップS107を繰り返す。印刷対象送信部213は、第1の印刷対象画像の印刷を完了したと判定すると(ステップS107;Yes)、印刷対象送信部213は、第1の印刷対象画像が最後の画像か否かを判定する(ステップS108)。ステップS103で印刷対象画像の長さTLが基準長さBL以上でないと判定された場合、第1の印刷対象画像が最後の画像であると判定し(ステップS108;Yes)、印刷対象送信部213は、印刷完了を示す旨のデータを送信する(ステップS109)。 Next, the print target transmission unit 213 sets the variable n=1 (step S105). Next, the print target transmission unit 213 transmits data representing the first print target image to the handy printer 100 via the communication unit 220 (step S106). Next, the print target transmission unit 213 determines whether or not printing of the first print target image is completed (step S107). Whether or not printing of the first image to be printed is completed is determined by whether or not data indicating that printing of the first image to be printed has been completed has been transmitted from the handy printer 100 . When the print target transmission unit 213 determines that printing of the first print target image has not been completed (step S107; No), step S107 is repeated. When the print target transmission unit 213 determines that printing of the first print target image is completed (step S107; Yes), the print target transmission unit 213 determines whether the first print target image is the last image. (step S108). If it is determined in step S103 that the length TL of the image to be printed is not equal to or greater than the reference length BL, the first image to be printed is determined to be the last image (step S108; Yes). transmits data indicating completion of printing (step S109).

印刷対象送信部213は、第1の印刷対象画像が最後の画像でないと判定すると(ステップS108;No)、変数nをインクリメントし(ステップS110)、印刷対象送信部213は、第2の印刷対象画像のデータをハンディプリンタ100に送信する(ステップS106)。つぎに、印刷対象送信部213は、第2の印刷対象画像の印刷を完了したか否かを判定する(ステップS107)。印刷対象送信部213は、第2の印刷対象画像の印刷を完了していないと判定すると(ステップS107;No)、ステップS107を繰り返す。印刷対象送信部213は、第2の印刷対象画像の印刷を完了したと判定すると(ステップS107;Yes)、印刷対象送信部213は、第2の印刷対象画像が最後の画像か否かを判定する(ステップS108)。第2の印刷対象画像は分割した2つめの画像であるので、印刷対象送信部213は、第2の印刷対象画像を最後の画像であると判定し(ステップS108;Yes)、印刷完了を示す旨のデータを送信する(ステップS109)。その後、終了指示が入力されているか否かを判定し(ステップS111)、終了指示が入力されていないと判定すると(ステップS111;No)、ステップS101に戻る。終了指示が入力されたと判定すると(ステップS111;Yes)、印刷対象送信処理を終了する。 When the print object transmission unit 213 determines that the first print object image is not the last image (step S108; No), the print object transmission unit 213 increments the variable n (step S110). The image data is transmitted to the handy printer 100 (step S106). Next, the print target transmission unit 213 determines whether or not printing of the second print target image is completed (step S107). When the print target transmission unit 213 determines that the printing of the second print target image has not been completed (step S107; No), step S107 is repeated. When the print target transmission unit 213 determines that the printing of the second print target image is completed (step S107; Yes), the print target transmission unit 213 determines whether the second print target image is the last image. (step S108). Since the second image to be printed is the second divided image, the print target transmission unit 213 determines that the second image to be printed is the last image (step S108; Yes), indicating completion of printing. Data to that effect is transmitted (step S109). Thereafter, it is determined whether or not an end instruction has been input (step S111), and if it is determined that an end instruction has not been input (step S111; No), the process returns to step S101. If it is determined that an end instruction has been input (step S111; Yes), the print target transmission process is ended.

端末装置200から第1の印刷対象画像を示すデータが送信されると、図7に示すように、ハンディプリンタ100の印刷対象取得部111は、通信部160を介して端末装置200から送信された第1の印刷対象画像を示すデータを取得し、RAM180に格納する(ステップS201)。つぎに、インジケータ表示制御部112は、第1のインジケータ130Aを緑色に点灯する(ステップS202)。これにより、ハンディプリンタ100は印刷待機状態になる。 When data indicating the first image to be printed is transmitted from the terminal device 200, as shown in FIG. Data representing the first image to be printed is acquired and stored in the RAM 180 (step S201). Next, the indicator display control unit 112 lights the first indicator 130A in green (step S202). As a result, the handy printer 100 is ready for printing.

つぎに、インジケータ表示制御部112は、決定ボタン120が押されたか否かを判定する(ステップS203)。決定ボタン120が押されていないと判定されると(ステップS203;No)、ステップS203を繰り返す。決定ボタン120が押されたと判定されると(ステップS203;Yes)、インジケータ表示制御部112の制御により、第1のインジケータ130Aは白色に点灯する(ステップS204)。つぎに、走査距離判定部113は、第1の印刷開始処理を開始する(ステップS205)。 Next, the indicator display control unit 112 determines whether or not the enter button 120 has been pressed (step S203). If it is determined that the decision button 120 has not been pressed (step S203; No), step S203 is repeated. When it is determined that the enter button 120 has been pressed (step S203; Yes), the first indicator 130A is lit in white under the control of the indicator display control section 112 (step S204). Next, the scanning distance determination unit 113 starts the first print start process (step S205).

図8に示す第1の印刷開始処理が開始すると、走査距離判定部113は、決定ボタン120が押されてからハンディプリンタ100が基準距離d1走査されたか否かを判定する(ステップS301)。基準距離d1走査されていないと判定すると(ステップS301;No)、ステップS301を繰り返す。基準距離d1走査されたと判定すると、(ステップS301;Yes)、走査距離判定部113は、印刷ヘッド制御部114を介してマゼンタ色印刷ヘッド150Mに印刷を開始させ(ステップS302)、印刷ヘッド制御部114は、走査距離検出部140が検出した副走査方向に走査された走査距離に基づいて、マゼンタ色印刷ヘッド150Mに画像を印刷させる。 When the first print start process shown in FIG. 8 starts, the scanning distance determination unit 113 determines whether or not the handy printer 100 has scanned the reference distance d1 after the decision button 120 was pressed (step S301). If it is determined that the reference distance d1 has not been scanned (step S301; No), step S301 is repeated. When it is determined that the reference distance d1 has been scanned (step S301; Yes), the scanning distance determination unit 113 causes the magenta print head 150M to start printing via the print head control unit 114 (step S302), and the print head control unit 114 causes the magenta print head 150M to print an image based on the scanning distance detected by the scanning distance detection unit 140 and scanned in the sub-scanning direction.

つぎに、走査距離判定部113は、決定ボタン120が押されてからハンディプリンタ100が基準距離d2走査されたか否かを判定する(ステップS303)。基準距離d2走査されていないと判定すると(ステップS303;No)、ステップS303を繰り返す。基準距離d2走査されたと判定すると(ステップS303;Yes)、走査距離判定部113は、印刷ヘッド制御部114を介してシアン色印刷ヘッド150Cに印刷を開始させ(ステップS304)、印刷ヘッド制御部114は、走査距離検出部140が検出した副走査方向に走査された走査距離に基づいて、シアン色印刷ヘッド150Cに画像を印刷させる。 Next, the scanning distance determination unit 113 determines whether or not the handy printer 100 has scanned the reference distance d2 after the decision button 120 was pressed (step S303). If it is determined that the reference distance d2 has not been scanned (step S303; No), step S303 is repeated. If it is determined that the reference distance d2 has been scanned (step S303; Yes), the scanning distance determination unit 113 causes the cyan print head 150C to start printing via the print head control unit 114 (step S304), and the print head control unit 114 causes the cyan print head 150C to print an image based on the scanning distance in the sub-scanning direction detected by the scanning distance detection unit 140 .

つぎに、走査距離判定部113は、決定ボタン120が押されてからハンディプリンタ100が基準距離d3走査されたか否かを判定する(ステップS305)。基準距離d3走査されていないと判定すると(ステップS305;No)、ステップS305を繰り返す。基準距離d3走査されたと判定すると(ステップS305;Yes)、走査距離判定部113は、印刷ヘッド制御部114を介して黄色印刷ヘッド150Yに印刷を開始させ(ステップS306)、印刷ヘッド制御部114は、走査距離検出部140が検出した副走査方向に走査された走査距離に基づいて、黄色印刷ヘッド150Yに画像を印刷させる。 Next, the scanning distance determination unit 113 determines whether or not the handy printer 100 has scanned the reference distance d3 after the decision button 120 was pressed (step S305). If it is determined that the reference distance d3 has not been scanned (step S305; No), step S305 is repeated. When it is determined that the reference distance d3 has been scanned (step S305; Yes), the scanning distance determination unit 113 causes the yellow print head 150Y to start printing via the print head control unit 114 (step S306), and the print head control unit 114 , based on the scanning distance scanned in the sub-scanning direction detected by the scanning distance detection unit 140, causes the yellow print head 150Y to print an image.

つぎに、走査距離検出部140は、印刷が終了したか否かを判定する(ステップS307)。印刷が終了していないと判定すると(ステップS307;No)、ステップS307を繰り返す。印刷が終了したと判定すると(ステップS307;Yes)、印刷対象取得部111は、RAM180に格納された第1の印刷対象画像を示すデータを消去する(ステップS308)。このとき、マゼンタ色印刷ヘッド150Mは、黄色印刷ヘッド150Yの印刷が終了するまでに、印刷せずに第1の副走査方向に基準距離d5走査されている。つぎに、走査距離判定部113は、第1の印刷対象画像の印刷を終了した後、第2の副走査方向に走査されるまで第1の副走査方向に走査された距離L1を取得する(ステップS309)。その後、第1の印刷実行処理を終了し、図7に示す印刷処理に戻る。 Next, the scanning distance detection unit 140 determines whether or not printing has ended (step S307). If it is determined that printing has not ended (step S307; No), step S307 is repeated. When it is determined that the printing is completed (step S307; Yes), the print target acquisition unit 111 erases the data representing the first print target image stored in the RAM 180 (step S308). At this time, the magenta print head 150M is scanned by the reference distance d5 in the first sub-scanning direction without printing until the yellow print head 150Y finishes printing. Next, the scanning distance determination unit 113 acquires the distance L1 scanned in the first sub-scanning direction until the scanning in the second sub-scanning direction after the printing of the first image to be printed is finished ( step S309). After that, the first print execution process ends, and the process returns to the print process shown in FIG.

つぎに、端末装置200に第1の印刷対象画像の印刷が終了した旨を示すデータを送信する(ステップS206)。つぎに、印刷対象取得部111は、端末装置200から印刷完了を示す旨のデータを受信したか否かを判定する(ステップS207)。ここでは、印刷対象画像が基準長さBL以下の場合、印刷完了を示すデータを受信する。印刷完了を示す旨のデータを受信しなかったと判定すると(ステップS207;No)、インジケータ表示制御部112は、第1のインジケータ130Aを消灯し、第2のインジケータ130Bを緑色に点灯する(ステップS208)。つぎに、印刷対象取得部111は、端末装置200から送信された第2の印刷対象画像を示すデータを取得し(ステップS209)、第2の印刷対象画像を示すデータをRAM180に格納する(ステップS210)。つぎに、第2の副走査方向に走査されると、走査距離判定部113は、第2の副走査方向に走査された距離Lが距離L1+基準距離5d以上であるか否かを判定する(ステップS211)。距離Lが距離L1以上でないと判定されると(ステップS211;No)、ステップS211を繰り返す。距離Lが距離L1以上であると判定されると(ステップS211;Yes)、インジケータ表示制御部112は第2のインジケータ130Bを消灯し、第1のインジケータ130Aを緑色に点灯する(ステップS212)。つぎに、走査距離判定部113は、第2の副走査方向に走査を開始されてから第1の副走査方向に走査されるまでの距離L2を取得する(ステップS213)。このときマゼンタ色印刷ヘッド150Mは、距離L1+基準距離5d-距離L2走査された位置に配置されている。つぎに、走査距離判定部113は、第2の印刷実行処理を開始する(ステップS214)。 Next, data indicating that printing of the first image to be printed is completed is transmitted to the terminal device 200 (step S206). Next, the print target acquisition unit 111 determines whether or not data indicating completion of printing has been received from the terminal device 200 (step S207). Here, if the image to be printed has a reference length BL or less, data indicating completion of printing is received. If it is determined that the data indicating the completion of printing has not been received (step S207; No), the indicator display control unit 112 turns off the first indicator 130A and turns on the second indicator 130B in green (step S208). ). Next, the print target acquisition unit 111 acquires data representing the second print target image transmitted from the terminal device 200 (step S209), and stores the data representing the second print target image in the RAM 180 (step S209). S210). Next, when scanning is performed in the second sub-scanning direction, the scanning distance determination unit 113 determines whether or not the distance L scanned in the second sub-scanning direction is greater than or equal to the distance L1+reference distance 5d ( step S211). If it is determined that the distance L is not equal to or greater than the distance L1 (step S211; No), step S211 is repeated. When it is determined that the distance L is equal to or greater than the distance L1 (step S211; Yes), the indicator display control unit 112 turns off the second indicator 130B and turns on the first indicator 130A in green (step S212). Next, the scanning distance determination unit 113 acquires the distance L2 from the start of scanning in the second sub-scanning direction to the scanning in the first sub-scanning direction (step S213). At this time, the magenta print head 150M is arranged at a position scanned by distance L1+reference distance 5d−distance L2. Next, the scanning distance determination unit 113 starts the second print execution process (step S214).

図9に示す第2の印刷実行処理が開始すると、走査距離判定部113は、第1の副走査方向に走査された距離L3を取得する(ステップS401)。つぎに、走査距離判定部113は、距離L3=距離L2-距離L1-基準距離d5であるか否かを判定する(ステップS402)。距離L3=距離L2-距離L1-基準距離d5でないと判定されると(ステップS402;No)、ステップS401に戻る。距離L3=距離L2-距離L1-基準距離d5であると判定されると(ステップS402;Yes)、インジケータ表示制御部112は、第1のインジケータ130Aの点灯色を白色に変更する(ステップS403)。つぎに、走査距離判定部113は、印刷ヘッド制御部114を介してマゼンタ色印刷ヘッド150Mに第2の印刷対象画像の印刷を開始させ(ステップS404)、印刷ヘッド制御部114は、走査距離検出部140が検出した副走査方向に走査された走査距離に基づいて、マゼンタ色印刷ヘッド150Mに画像を印刷させる。 When the second print execution process shown in FIG. 9 starts, the scanning distance determination unit 113 acquires the distance L3 scanned in the first sub-scanning direction (step S401). Next, the scanning distance determination unit 113 determines whether or not distance L3=distance L2−distance L1−reference distance d5 (step S402). If it is determined that distance L3 is not equal to distance L2-distance L1-reference distance d5 (step S402; No), the process returns to step S401. When it is determined that distance L3=distance L2−distance L1−reference distance d5 (step S402; Yes), indicator display control unit 112 changes the lighting color of first indicator 130A to white (step S403). . Next, the scanning distance determination unit 113 causes the magenta print head 150M to start printing the second image to be printed via the print head control unit 114 (step S404), and the print head control unit 114 detects the scanning distance. Based on the scanning distance scanned in the sub-scanning direction detected by the unit 140, the magenta print head 150M is caused to print an image.

つぎに、走査距離判定部113は、マゼンタ色印刷ヘッド150Mが印刷を開始してからハンディプリンタ100が基準距離d4走査されたか否かを判定する(ステップS405)。基準距離d4走査されていないと判定すると(ステップS405;No)、ステップS405を繰り返す。基準距離d4走査されたと判定すると(ステップS405;Yes)、走査距離判定部113は、印刷ヘッド制御部114を介してシアン色印刷ヘッド150Cに第2の印刷対象画像の印刷を開始させ(ステップS406)、印刷ヘッド制御部114は、走査距離検出部140が検出した副走査方向に走査された走査距離に基づいて、シアン色印刷ヘッド150Cに画像を印刷させる。 Next, the scanning distance determination unit 113 determines whether or not the handy printer 100 has scanned the reference distance d4 after the magenta print head 150M started printing (step S405). If it is determined that the reference distance d4 has not been scanned (step S405; No), step S405 is repeated. If it is determined that the reference distance d4 has been scanned (step S405; Yes), the scanning distance determination unit 113 causes the cyan print head 150C to start printing the second image to be printed via the print head control unit 114 (step S406). ), the print head controller 114 causes the cyan print head 150C to print an image based on the scanning distance detected by the scanning distance detector 140 and scanned in the sub-scanning direction.

つぎに、走査距離判定部113は、マゼンタ色印刷ヘッド150Mが印刷を開始してからハンディプリンタ100が基準距離d5走査されたか否かを判定する(ステップS407)。基準距離d5走査されていないと判定すると(ステップS407;No)、ステップS407を繰り返す。基準距離d5走査されたと判定すると(ステップS407;Yes)、走査距離判定部113は、印刷ヘッド制御部114を介して黄色印刷ヘッド150Yに第2の印刷対象画像の印刷を開始させ(ステップS408)、印刷ヘッド制御部114は、走査距離検出部140が検出した副走査方向に走査された走査距離に基づいて、黄色印刷ヘッド150Yに画像を印刷させる。 Next, the scanning distance determination unit 113 determines whether or not the handy printer 100 has scanned the reference distance d5 after the magenta print head 150M started printing (step S407). If it is determined that the reference distance d5 has not been scanned (step S407; No), step S407 is repeated. If it is determined that the reference distance d5 has been scanned (step S407; Yes), the scanning distance determination unit 113 causes the yellow print head 150Y to start printing the second image to be printed via the print head control unit 114 (step S408). , the print head control unit 114 causes the yellow print head 150Y to print an image based on the scanning distance detected by the scanning distance detection unit 140 and scanned in the sub-scanning direction.

つぎに、走査距離検出部140は、印刷が終了したか否かを判定する(ステップS409)。印刷が終了していないと判定すると(ステップS409;No)、ステップS409を繰り返す。印刷が終了したと判定すると(ステップS409;Yes)、第2の印刷対象画像の印刷が了した旨のデータを端末装置200に送信し(ステップS410)、第2の印刷実行処理を終了し、図7に示す印刷処理に戻る。 Next, the scanning distance detection unit 140 determines whether or not printing has ended (step S409). If it is determined that printing has not ended (step S409; No), step S409 is repeated. If it is determined that the printing has been completed (step S409; Yes), data indicating that the printing of the second image to be printed has been completed is transmitted to the terminal device 200 (step S410), the second print execution process is terminated, Returning to the printing process shown in FIG.

つぎに、インジケータ表示制御部112は、第1のインジケータ130Aを青色に点灯する(ステップS215)。その後、所定時間経過すると、インジケータ表示制御部112は、第1のインジケータ130Aを消灯する(ステップS216)。その後、印刷処理を終了する。また、ステップS207で印刷完了を示す旨のデータを受信したと判定した場合(ステップS207;Yes)、インジケータ表示制御部112は、第1のインジケータ130Aを青色に点灯し(ステップS215)、所定時間経過すると、インジケータ表示制御部112は、第1のインジケータ130Aを消灯する(ステップS216)。その後、印刷処理を終了する。 Next, the indicator display control unit 112 lights the first indicator 130A in blue (step S215). After that, after a predetermined time has passed, the indicator display control unit 112 turns off the first indicator 130A (step S216). After that, the print processing ends. If it is determined in step S207 that the data indicating the completion of printing has been received (step S207; Yes), the indicator display control unit 112 lights the first indicator 130A in blue (step S215) and After the time elapses, the indicator display control unit 112 turns off the first indicator 130A (step S216). After that, the print processing ends.

つぎに、本実施の形態に係るハンディプリンタ100および端末装置200が実行する処理を具体例に基づいて図10~図15を参照しながら説明する。この例で印刷する印刷対象画像は、「ABCDEFGH」である。この印刷対象画像は、副走査方向における長さTLが、一回の走査で印刷できる長さである基準長さBL以上である。 Next, the processing executed by the handy printer 100 and the terminal device 200 according to the present embodiment will be described based on specific examples with reference to FIGS. 10 to 15. FIG. The image to be printed in this example is "ABCDEFGH". This print target image has a length TL in the sub-scanning direction equal to or greater than a reference length BL, which is a length that can be printed in one scan.

ユーザによる処理を開始させる指示に応答し、ハンディプリンタ100が印刷処理を開始し、端末装置200が、印刷対象送信処理を開始する。端末装置200が、印刷対象送信処理を開始すると、印刷対象取得部211は、操作部240に入力された印刷対象画像を示すデータを取得する(ステップS101;図6)。ここで入力された印刷対象画像は、「ABCDEFGH」である。印刷対象取得部211は、取得した印刷対象画像を示すデータをRAM260に記憶する。 In response to the user's instruction to start processing, the handy printer 100 starts print processing, and the terminal device 200 starts print target transmission processing. When the terminal device 200 starts the print target transmission process, the print target acquisition unit 211 acquires data indicating the print target image input to the operation unit 240 (step S101; FIG. 6). The image to be printed that is input here is "ABCDEFGH". The print target acquisition unit 211 stores data indicating the acquired print target image in the RAM 260 .

つぎに、印刷対象送信部213が、データを送信する指示を受け付けると(ステップS102;Yes;図6)、印刷対象分割部212は、印刷対象取得部211が取得した印刷対象画像の副走査方向における長さTLが基準長さBL以上であるか否かを判定する(ステップS103:図6)。この例では、印刷対象画像の副走査方向における長さTLが基準長さBL以上であるので、印刷対象画像の長さTLを基準長さBL以上であると判定する(ステップS103;Yes;図6)。 Next, when the print target transmission unit 213 receives an instruction to transmit data (step S102; Yes; FIG. 6), the print target division unit 212 divides the print target image acquired by the print target acquisition unit 211 in the sub-scanning direction. is equal to or greater than the reference length BL (step S103: FIG. 6). In this example, since the length TL of the image to be printed in the sub-scanning direction is equal to or greater than the reference length BL, it is determined that the length TL of the image to be printed is equal to or greater than the reference length BL (step S103; Yes; FIG. 6).

つぎに、印刷対象分割部212は、副走査方向において、印刷対象画像の先頭から基準長さBLまでを第1の印刷対象画像、印刷対象画像の基準長さBLから末端までを第2の印刷対象画像となるように、印刷対象画像示すデータを第1の印刷対象画像を示すデータと第2の印刷対象画像を示すデータに分割する(ステップS104;図6)。この例では、第1の印刷対象画像は「ABCD」、第2の印刷対象画像は「EFGH」である。つぎに、印刷対象送信部213は、変数n=1とする(ステップS105;図6)。つぎに、印刷対象送信部213は、第1の印刷対象画像を示すデータを、通信部220を介して、ハンディプリンタ100に送信する(ステップS106;図6)。 Next, in the sub-scanning direction, the print target dividing unit 212 performs the first print target image from the beginning of the print target image to the reference length BL, and the second print target image from the reference length BL to the end of the print target image. The data representing the image to be printed is divided into the data representing the first image to be printed and the data representing the second image to be printed so as to form the target image (step S104; FIG. 6). In this example, the first image to be printed is "ABCD" and the second image to be printed is "EFGH". Next, the print target transmission unit 213 sets the variable n=1 (step S105; FIG. 6). Next, the print target transmission unit 213 transmits data indicating the first print target image to the handy printer 100 via the communication unit 220 (step S106; FIG. 6).

端末装置200から第1の印刷対象画像を示すデータが送信されると、ハンディプリンタ100の印刷対象取得部111は、端末装置200から送信された第1の印刷対象画像を示すデータを取得し、RAM180に格納する(ステップS201;図7)。つぎに、インジケータ表示制御部112は、第1のインジケータ130Aを緑色に点灯する(ステップS202;図7)。これにより、ユーザは、ハンディプリンタ100は印刷待機状態になったことを確認できる。 When data representing the first image to be printed is transmitted from the terminal device 200, the print target acquiring unit 111 of the handy printer 100 acquires the data representing the first image to be printed transmitted from the terminal device 200, Store in RAM 180 (step S201; FIG. 7). Next, the indicator display control unit 112 lights the first indicator 130A in green (step S202; FIG. 7). This allows the user to confirm that the handy printer 100 is ready for printing.

つぎに、ユーザが、緑色に点灯した第1のインジケータ130Aを印刷予定位置Pの左端部に合わせ、決定ボタン120を押すと(ステップS203;Yes;図7)、インジケータ表示制御部112の制御により、第1のインジケータ130Aは白色に点灯する(ステップS204;図7)。つぎに、ユーザが、白色に点灯した第1のインジケータ130Aを見て、第1の副走査方向に走査すると、走査距離判定部113により第1の印刷開始処理が開始する(ステップS205;図7)。 Next, when the user aligns the green-lighted first indicator 130A with the left end of the planned print position P and presses the decision button 120 (step S203; Yes; FIG. 7), the indicator display control unit 112 controls the , the first indicator 130A lights up in white (step S204; FIG. 7). Next, when the user sees the first indicator 130A illuminated in white and scans in the first sub-scanning direction, the scanning distance determination unit 113 starts the first print start process (step S205; FIG. 7). ).

第1の印刷開始処理が開始し、決定ボタン120が押されてからハンディプリンタ100が基準距離d1走査されると(ステップS301;Yes;図8)、走査距離判定部113は、マゼンタ色印刷ヘッド150Mに印刷を開始させる(ステップS302;図8)。ハンディプリンタ100が基準距離d2走査されると(ステップS303;Yes;図8)、走査距離判定部113は、シアン色印刷ヘッド150Cに印刷を開始させる(ステップS304;図8)。ハンディプリンタ100が基準距離d3走査されると(ステップS305;Yes;図8)、走査距離判定部113は、黄色印刷ヘッド150Yに印刷を開始させる(ステップS306;図8)。ユーザがハンディプリンタ100を第1の副走査方向に走査すると、第1の印刷対象画像「ABCD」が印刷される。 When the first print start process starts and the handy printer 100 scans the reference distance d1 after the decision button 120 is pressed (step S301; Yes; FIG. 8), the scanning distance determination unit 113 determines whether the magenta print head 150M starts printing (step S302; FIG. 8). When the handy printer 100 scans the reference distance d2 (step S303; Yes; FIG. 8), the scanning distance determination unit 113 causes the cyan print head 150C to start printing (step S304; FIG. 8). When the handy printer 100 scans the reference distance d3 (step S305; Yes; FIG. 8), the scanning distance determination unit 113 causes the yellow print head 150Y to start printing (step S306; FIG. 8). When the user scans the handy printer 100 in the first sub-scanning direction, the first image to be printed "ABCD" is printed.

その後、走査距離検出部140により印刷が終了したと判定され(ステップS307;Yes;図8)、印刷対象取得部111は、RAM180に格納された第1の印刷対象画像を示すデータを消去する(ステップS308;図8)。このとき、マゼンタ色印刷ヘッド150Mは、黄色印刷ヘッド150Yの印刷が終了するまでに、印刷せずに第1の副走査方向に基準距離d5走査されている。つぎに、走査距離判定部113は、第1の印刷対象画像の印刷を終了した後、第2の副走査方向に走査されるまで第1の副走査方向に走査された距離L1を取得する(ステップS309;図8)。このときハンディプリンタ100は、図11に示す位置まで走査され、第1の副走査方向に距離L1走査されているとすると、マゼンタ色印刷ヘッド150Mは、距離L1+基準距離5d走査された位置に配置されている。その後、第1の印刷実行処理を終了する。つぎに、端末装置200に第1の印刷対象画像の印刷が終了した旨を示すデータを送信する(ステップS206;図7)。 After that, the scanning distance detection unit 140 determines that printing has ended (step S307; Yes; FIG. 8), and the print target acquisition unit 111 deletes the data indicating the first print target image stored in the RAM 180 ( Step S308; FIG. 8). At this time, the magenta print head 150M is scanned by the reference distance d5 in the first sub-scanning direction without printing until the yellow print head 150Y finishes printing. Next, the scanning distance determination unit 113 acquires the distance L1 scanned in the first sub-scanning direction until the scanning in the second sub-scanning direction after the printing of the first image to be printed is finished ( Step S309; FIG. 8). At this time, the handy printer 100 is scanned to the position shown in FIG. 11, and if the distance L1 is scanned in the first sub-scanning direction, the magenta color print head 150M is arranged at a position scanned by the distance L1+the reference distance 5d. It is After that, the first print execution process ends. Next, data indicating that printing of the first image to be printed is completed is transmitted to the terminal device 200 (step S206; FIG. 7).

つぎに、端末装置200の印刷対象送信部213は、第1の印刷対象画像の印刷を完了したか否かを判定する(ステップS107;図6)。ハンディプリンタ100から第1の印刷対象画像の印刷が完了した旨のデータが送信されたので、印刷対象送信部213は、第1の印刷対象画像の印刷を完了したと判定する(ステップS107;Yes;図6)。つぎに、印刷対象送信部213は、第1の印刷対象画像が最後の画像か否かを判定する(ステップS108;図6)。印刷対象取得部211が取得した印刷対象画像がステップS104で分割されているので、第1の印刷対象画像が最後の画像でないと判定し(ステップS108;No;図6)、変数nをインクリメントする(ステップS110;図6)。つぎに、印刷対象送信部213は、第2の印刷対象画像「EFGH」を示すデータをハンディプリンタ100に送信する(ステップS106;図6)。 Next, the print target transmission unit 213 of the terminal device 200 determines whether or not printing of the first print target image is completed (step S107; FIG. 6). Since the handy printer 100 has transmitted the data indicating that the printing of the first image to be printed has been completed, the printing object transmission unit 213 determines that the printing of the first image to be printed has been completed (step S107; Yes). ; FIG. 6). Next, the print target transmission unit 213 determines whether or not the first print target image is the last image (step S108; FIG. 6). Since the print target image acquired by the print target acquisition unit 211 is divided in step S104, it is determined that the first print target image is not the last image (step S108; No; FIG. 6), and the variable n is incremented. (Step S110; FIG. 6). Next, the print target transmission unit 213 transmits data indicating the second print target image "EFGH" to the handy printer 100 (step S106; FIG. 6).

つぎに、ハンディプリンタ100が印刷完了を示す旨のデータを受信しなかったと判定すると(ステップS207;No;図7)、インジケータ表示制御部112は、第1のインジケータ130Aを消灯し、第2のインジケータ130Bを緑色に点灯する(ステップS208;図7)。つぎに、印刷対象取得部111は、端末装置200から送信された第2の印刷対象画像を示すデータを取得する(ステップS209;図7)。つぎに、第2の印刷対象画像を示すデータをRAM180に格納する(ステップS210;図7)。つぎに、緑色に点灯した第2のインジケータ130Bを見たユーザは、図12に示すように、第2の副走査方向にハンディプリンタ100を走査する。走査距離判定部113は、第2の副走査方向に走査された距離Lが距離L1+基準距離5d以上であるか否かを判定する(ステップS211;図7)。距離Lが距離L1以上であると判定されると、インジケータ表示制御部112は第2のインジケータ130Bを消灯し、第1のインジケータ130Aを緑色に点灯する(ステップS212;図7)。緑色に点灯した第1のインジケータ130Aを見たユーザは、ハンディプリンタ100を第1の副走査方向に走査する。つぎに、走査距離判定部113は、第2の副走査方向に走査を開始されてから第1の副走査方向に走査されるまでの距離L2を取得する(ステップS213;図7)。このときマゼンタ色印刷ヘッド150Mは、距離L1+基準距離5d-距離L2走査された位置に配置されている。つぎに、走査距離判定部113は、第2の印刷実行処理を開始する(ステップS214;図7)。 Next, when it is determined that the handy printer 100 has not received the data indicating the completion of printing (step S207; No; FIG. 7), the indicator display control section 112 turns off the first indicator 130A and turns off the second indicator 130A. The indicator 130B is lit green (step S208; FIG. 7). Next, the print target acquisition unit 111 acquires data indicating the second print target image transmitted from the terminal device 200 (step S209; FIG. 7). Next, data representing the second image to be printed is stored in the RAM 180 (step S210; FIG. 7). Next, the user who sees the second indicator 130B lit in green scans the handy printer 100 in the second sub-scanning direction as shown in FIG. The scanning distance determination unit 113 determines whether or not the distance L scanned in the second sub-scanning direction is equal to or greater than the distance L1+reference distance 5d (step S211; FIG. 7). When it is determined that the distance L is equal to or greater than the distance L1, the indicator display control unit 112 turns off the second indicator 130B and turns on the first indicator 130A in green (step S212; FIG. 7). The user who sees the green first indicator 130A scans the handy printer 100 in the first sub-scanning direction. Next, the scanning distance determination unit 113 acquires the distance L2 from the start of scanning in the second sub-scanning direction to the scanning in the first sub-scanning direction (step S213; FIG. 7). At this time, the magenta print head 150M is arranged at a position scanned by distance L1+reference distance 5d−distance L2. Next, the scanning distance determination unit 113 starts the second print execution process (step S214; FIG. 7).

第2の印刷実行処理が開始すると、走査距離判定部113は、第1の副走査方向に走査された距離L3を取得する(ステップS401;図9)。つぎに、ハンディプリンタ100が、図13に示すように、第1の副走査方向に距離L3=距離L2-距離L1-基準距離d5走査されると(ステップS402;Yes;図9)、インジケータ表示制御部112は、第1のインジケータ130Aの点灯色を白色に変更する(ステップS403;図9)。つぎに、図14に示すように、走査距離判定部113は、印刷ヘッド制御部114を介してマゼンタ色印刷ヘッド150Mに第2の印刷対象画像の印刷を開始させる(ステップS404;図9)。つぎに、走査距離判定部113は、マゼンタ色印刷ヘッド150Mが印刷を開始してからハンディプリンタ100が基準距離d4走査されたと判定すると(ステップS405;Yes;図9)、走査距離判定部113は、印刷ヘッド制御部114を介してシアン色印刷ヘッド150Cに第2の印刷対象画像の印刷を開始させる(ステップS406;図9)。つぎに、走査距離判定部113は、マゼンタ色印刷ヘッド150Mが印刷を開始してからハンディプリンタ100が基準距離d5走査されたと判定すると(ステップS407;Yes;図9)、走査距離判定部113は、印刷ヘッド制御部114を介して黄色印刷ヘッド150Yに第2の印刷対象画像の印刷を開始させる(ステップS408;図9)。その後、図15に示すように、第2の印刷対象画像の印刷が完了すると、走査距離検出部140が、印刷が終了したと判定し(ステップS409;Yes;図9)、第2の印刷対象画像の印刷が了した旨のデータを端末装置200に送信し(ステップS410;図9)、第2の印刷実行処理を終了する。 When the second print execution process starts, the scanning distance determination unit 113 acquires the distance L3 scanned in the first sub-scanning direction (step S401; FIG. 9). Next, as shown in FIG. 13, when the handy printer 100 is scanned in the first sub-scanning direction by distance L3=distance L2-distance L1-reference distance d5 (step S402; Yes; FIG. 9), an indicator is displayed. Control unit 112 changes the lighting color of first indicator 130A to white (step S403; FIG. 9). Next, as shown in FIG. 14, the scanning distance determination unit 113 causes the magenta print head 150M to start printing the second image to be printed via the print head control unit 114 (step S404; FIG. 9). Next, when the scanning distance determination unit 113 determines that the handy printer 100 has scanned the reference distance d4 after the magenta print head 150M started printing (step S405; Yes; FIG. 9), the scanning distance determination unit 113 , causes the cyan print head 150C to start printing the second image to be printed via the print head controller 114 (step S406; FIG. 9). Next, when the scanning distance determination unit 113 determines that the handy printer 100 has scanned the reference distance d5 after the magenta print head 150M started printing (step S407; Yes; FIG. 9), the scanning distance determination unit 113 , causes the yellow print head 150Y to start printing the second image to be printed via the print head controller 114 (step S408; FIG. 9). After that, as shown in FIG. 15, when the printing of the second image to be printed is completed, the scanning distance detection unit 140 determines that the printing has been completed (step S409; Yes; FIG. 9). Data indicating that the image has been printed is transmitted to the terminal device 200 (step S410; FIG. 9), and the second print execution process ends.

つぎに、インジケータ表示制御部112は、第1のインジケータ130Aを青色に点灯する(ステップS215;図7)。青色に点灯した第1のインジケータ130Aを見たユーザは、第1と第2の印刷対象画像の全てが印刷完了したことを知ることができる。その後、所定時間経過すると、インジケータ表示制御部112は、第1のインジケータ130Aを消灯する(ステップS216;図7;図7)。 Next, the indicator display control unit 112 lights the first indicator 130A in blue (step S215; FIG. 7). A user who sees the first indicator 130A lit in blue can know that printing of all the first and second images to be printed has been completed. After that, after a predetermined time has passed, the indicator display control unit 112 turns off the first indicator 130A (step S216; FIG. 7; FIG. 7).

以上のように、本実施の形態のハンディプリンタ100によれば、第1の印刷対象画像に続けて第2の印刷対象画像を印刷できる。これにより、印刷対象画像の副走査方向における長さTLが基準長さBL以上である場合でも印刷できる。特に、RAM180の容量が小さく基準長さBLを大きくできない場合に有効である。また、RAM180は、CPUに内蔵されたものであるため、データの出力速度が速く、印刷する際の最大走査速度を大きくできる。また、CPUに内蔵されたRAM180を用いることで、筐体101の大きさを小さくでき、CPUに内蔵されたRAM180以外のRAMを備える場合に比べてコストダウンできる。また、第1の印刷対象画像を印刷した後、第2の印刷対象画像を印刷するまで、第1の副走査方向および第2の副走査方向に走査された距離を走査距離検出部140で検出しているので、第1の印刷対象画像と第2の印刷対象画像を連続して隙間なく印刷できる。 As described above, according to the handy printer 100 of the present embodiment, the second image to be printed can be printed following the first image to be printed. As a result, even when the length TL of the image to be printed in the sub-scanning direction is equal to or greater than the reference length BL, the image can be printed. In particular, it is effective when the capacity of the RAM 180 is small and the reference length BL cannot be increased. Further, since the RAM 180 is built in the CPU, the data output speed is high, and the maximum scanning speed during printing can be increased. Moreover, by using the RAM 180 built in the CPU, the size of the housing 101 can be reduced, and the cost can be reduced compared to the case where a RAM other than the RAM 180 built in the CPU is provided. Further, the scanning distance detection unit 140 detects the distance scanned in the first sub-scanning direction and the second sub-scanning direction until the second image to be printed is printed after the first image to be printed is printed. Therefore, the first image to be printed and the second image to be printed can be printed continuously without gaps.

(変形例)
上述の実施の形態では、端末装置200からハンディプリンタ100に第1の印刷対象画像を示すデータと第2の印刷対象画像を示すデータを2回に分けて送信する例について説明した。ハンディプリンタ100は、第1の印刷対象画像と第2の印刷対象画像を連続して印刷することができればよい。例えば、ハンディプリンタ100は、CPUに内蔵されたRAM180以外に外部RAMを備え、外部RAMに第1の印刷対象画像を示すデータと第2の印刷対象画像を示すデータを記憶してもよい。RAM180は、第1の印刷対象画像を示すデータまたは第2の印刷対象画像を示すデータを記憶する第1の記憶部として機能する。外部RAMは、例えばCPUが配置された基板に配置されたものであり、第2の印刷対象画像を示すデータおよび第2の印刷対象画像を示すデータを記憶する第2の記憶部として機能する。この場合、外部RAMからRAM180に第1の印刷対象画像を示すデータを出力し、RAM180に第1の印刷対象画像を示すデータを記憶し、第1の印刷対象画像を印刷する。第1の印刷対象画像の印刷が終了すると、RAM180に記憶した第1の印刷対象画像を示すデータを消去する。つぎに、外部RAMからRAM180に第2の印刷対象画像を示すデータを出力し、RAM180に第2の印刷対象画像を示すデータを記憶し、第2の印刷対象画像を印刷する。RAM180に記憶した第1の印刷対象画像を示すデータを消去し、第2の印刷対象画像を示すデータをRAM180に記憶する構成には、RAM180に記憶した第1の印刷対象画像を示すデータに第2の印刷対象画像を示すデータを上書きする構成も含む。その他の構成は、上述の実施の形態のハンディプリンタ100と同様である。このようにすることで、端末装置200がなくてもハンディプリンタ100単体で、印刷対象画像の副走査方向における長さTLが基準長さBL以上である場合でも印刷できる。
(Modification)
In the above-described embodiment, an example has been described in which data indicating the first image to be printed and data indicating the second image to be printed are transmitted from the terminal device 200 to the handy printer 100 in two batches. The handy printer 100 only needs to be able to continuously print the first image to be printed and the second image to be printed. For example, the handy printer 100 may include an external RAM in addition to the RAM 180 built into the CPU, and may store data representing the first image to be printed and data representing the second image to be printed in the external RAM. The RAM 180 functions as a first storage unit that stores data representing a first image to be printed or data representing a second image to be printed. The external RAM is arranged, for example, on the substrate on which the CPU is arranged, and functions as a second storage unit that stores data representing the second image to be printed and data representing the second image to be printed. In this case, data representing the first image to be printed is output from the external RAM to RAM 180, data representing the first image to be printed is stored in RAM 180, and the first image to be printed is printed. When the printing of the first image to be printed is completed, the data representing the first image to be printed stored in the RAM 180 is erased. Next, the data representing the second image to be printed is output from the external RAM to the RAM 180, the data representing the second image to be printed is stored in the RAM 180, and the second image to be printed is printed. In the configuration in which the data representing the first image to be printed stored in the RAM 180 is erased and the data representing the second image to be printed is stored in the RAM 180, the data representing the first image to be printed stored in the RAM 180 is stored in the RAM 180. It also includes a configuration for overwriting the data indicating the image to be printed in No. 2. Other configurations are the same as those of the handy printer 100 of the above-described embodiment. By doing so, even if the length TL in the sub-scanning direction of the image to be printed is equal to or greater than the reference length BL, the image can be printed by the handy printer 100 alone without the terminal device 200 .

上述の実施の形態では、第1の印刷対象画像を印刷した後、第2の印刷対象画像を印刷するまでに走査された距離を走査距離検出部140で検出する例について説明した。ハンディプリンタ100は、第1の印刷対象画像と第2の印刷対象画像を連続して隙間なく印刷できればよい。例えば、図16に示すように、ハンディプリンタ100は、印刷ヘッド150と平行に配置されたスキャナ190を備えてもよい。スキャナ190は、印刷ヘッド150と主走査方向と平行な向きにライン状に受光素子が並んで設けられたものである。マゼンタ色印刷ヘッド150Mとスキャナ190の中心との間隔を基準距離d6とする。第1のインジケータ130Aおよび第2のインジケータ130Bは、印刷ヘッド150の主走査方向の長さと同じ長さを有し、ハンディプリンタ100を上面から見て、第1または第2の副走査方向に走査されたとき重なる位置に配置され、印刷ヘッド150の位置を示す目印となっている。第1の印刷対象画像を印刷した後、ユーザが再度、図17に示すように、ハンディプリンタ100を第1の印刷対象画像の上に印刷ヘッド150が通過するように第1の副走査方向に走査する。スキャナ190が第1の印刷対象画像の末端部を検知し、末端部を検知してから末端部を検知した際の末端部とマゼンタ色印刷ヘッド150M間の距離(ここではマゼンタ色印刷ヘッド150Mとスキャナ190の中心との間隔を基準距離d6とする)走査されると、マゼンタ色印刷ヘッド150Mが第2の印刷対象画像の印刷を開始する。その後、シアン色印刷ヘッド150C、黄色印刷ヘッド150Yに印刷を開始させる。ユーザは、第1のインジケータ130Aと第2のインジケータ130Bとを目印として、第1の印刷対象画像に合わせて走査することで、ハンディプリンタ100を第1の印刷対象画像の上に印刷ヘッド150が通過するように第1の副走査方向に走査することができる。この場合、第1の印刷対象画像を印刷した後、ハンディプリンタ100を印刷媒体Rから離したとしても第2の印刷対象画像を第1の印刷対象画像に連続して隙間なく印刷できる。 In the above-described embodiment, an example has been described in which the scanning distance detection unit 140 detects the distance scanned from the printing of the first image to be printed until the printing of the second image to be printed. The handy printer 100 only needs to be able to print the first image to be printed and the second image to be printed continuously without gaps. For example, as shown in FIG. 16, the handy printer 100 may have a scanner 190 arranged parallel to the print head 150 . The scanner 190 is provided with light receiving elements arranged in a line in a direction parallel to the print head 150 and the main scanning direction. The distance between the magenta print head 150M and the center of the scanner 190 is defined as a reference distance d6. The first indicator 130A and the second indicator 130B have the same length as the length of the print head 150 in the main scanning direction. It is positioned so that it overlaps when folded, and serves as a mark indicating the position of the print head 150 . After printing the first image to be printed, the user moves the handy printer 100 again in the first sub-scanning direction so that the print head 150 passes over the first image to be printed, as shown in FIG. Scan. The scanner 190 detects the end of the first image to be printed, and the distance between the end and the magenta print head 150M when the end is detected and then the end is detected (here, the magenta print head 150M and When scanned, the magenta print head 150M begins printing the second image to be printed. After that, the cyan print head 150C and the yellow print head 150Y are caused to start printing. Using the first indicator 130A and the second indicator 130B as marks, the user scans the first image to be printed so that the handy printer 100 is positioned over the first image to be printed. It is possible to scan in the first sub-scanning direction so as to pass through. In this case, even if the handy printer 100 is separated from the printing medium R after printing the first image to be printed, the second image to be printed can be printed continuously on the first image to be printed without gaps.

上述の実施の形態では、第2の印刷対象画像を取得すると、印刷ヘッド制御部114が印刷ヘッド150に第2の印刷対象画像を印刷させる例について説明したが、ハンディプリンタ100は、第2の印刷対象画像の印刷準備が完了したか否かを判定する印刷準備判定部を更に備えてもよい。この場合、インジケータ表示制御部112は、走査距離判定部113により、第1の副走査方向に走査された第1の走査距離L1より第2に副走査方向に走査された第2の走査距離L2が大きいと判定されると、第2のインジケータ130Bを消灯した後、印刷準備判定部によって第2の印刷対象画像の印刷準備が完了したと判定されると第1のインジケータ130Aを点灯する。ハンディプリンタ100が、印刷準備判定部を更に備えることで、印刷準備が完了する前にユーザによりハンディプリンタ100が走査されることを防ぐことができる。 In the above-described embodiment, when the second image to be printed is acquired, the print head control unit 114 causes the print head 150 to print the second image to be printed. A print preparation determination unit that determines whether the print preparation for the image to be printed is completed may be further provided. In this case, the indicator display control unit 112 causes the scanning distance determination unit 113 to determine the second scanning distance L2 scanned in the second sub-scanning direction from the first scanning distance L1 scanned in the first sub-scanning direction. is large, the second indicator 130B is turned off, and then the first indicator 130A is turned on when the print preparation determination unit determines that the print preparation for the second image to be printed is completed. Since the handy printer 100 further includes a print preparation determination unit, it is possible to prevent the user from scanning the handy printer 100 before the print preparation is completed.

上述の実施の形態では、印刷対象画像を第1の印刷対象画像と第2の印刷対象画像に分割する例について説明したが、ハンディプリンタ100は、印刷対象画像を複数の印刷対象画像に分割し、複数の印刷対象画像を連続して隙間なく印刷できればよい。例えば、印刷対象画像を副走査方向において、第1の印刷対象画像から第Mの印刷対象画像に分割してもよい。Mは2以上の自然数である。この場合、第m-1の印刷対象画像を印刷した後、第mの印刷対象画像を印刷する。m=2、・・・M-1、Mである。このようにすることで、副走査方向における印刷対象画像の長さの制限を無くすことができる。 In the above-described embodiment, an example in which an image to be printed is divided into a first image to be printed and a second image to be printed has been described. , a plurality of images to be printed should be continuously printed without gaps. For example, the image to be printed may be divided into the first image to be printed to the Mth image to be printed in the sub-scanning direction. M is a natural number of 2 or more. In this case, after printing the (m-1)th image to be printed, the mth image to be printed is printed. m=2, . . . M−1,M. By doing so, it is possible to remove the limitation on the length of the image to be printed in the sub-scanning direction.

上述の実施の形態では、印刷ヘッド150がノズルからマゼンタ色、シアン色、黄色のインクをそれぞれ吐出する例について説明したが、印刷ヘッド150は、単色またはインクを吐出するものでもよく、4色以上のインクを吐出する物でもよい。また、印刷ヘッド150が、ライン状にノズルが並んで設けられているインクジェット式の例について説明したが、印刷ヘッド150は、サーマル式のものであってもよく、他の方式であってもよい。 In the above-described embodiment, an example in which the print head 150 ejects magenta, cyan, and yellow inks from the nozzles has been described. of ink may be used. Further, although the print head 150 is of an ink jet type in which nozzles are arranged in a line has been described, the print head 150 may be of a thermal type or of another type. .

上述の実施の形態では、第1および第2のインジケータ130A、130Bが設けられる例について説明したが、インジケータは1つ設けられればよく、筐体101の右端または左端に1つのインジケータが設けられてもよい。 In the above-described embodiment, an example in which the first and second indicators 130A and 130B are provided has been described. good too.

また、CPU、RAM、ROM等から構成されるハンディプリンタ100、端末装置200が実行する印刷対象送信処理、印刷処理を行う中心となる部分は、専用のシステムによらず、通常の情報携帯端末(スマートフォン、タブレットPC)、パーソナルコンピュータなどを用いて実行可能である。たとえば、上述の動作を実行するためのコンピュータプログラムを、コンピュータが読み取り可能な記録媒体(フレキシブルディスク、CD-ROM(Compact Disc Read Only Memory)、DVD-ROM(Digital Versatile Disc Read Only Memory)等)に格納して配布し、このコンピュータプログラムを情報携帯端末などにインストールすることにより、上述の処理を実行する情報端末を構成してもよい。また、インターネット等の通信ネットワーク上のサーバ装置が有する記憶装置にこのコンピュータプログラムを格納しておき、通常の情報処理端末などがダウンロード等することで情報処理装置を構成してもよい。 In addition, the main part of the print target transmission processing and print processing executed by the handy printer 100 and the terminal device 200, which are composed of a CPU, RAM, ROM, etc., is not based on a dedicated system, but a normal information portable terminal ( Smart phones, tablet PCs), personal computers, etc. can be used. For example, a computer program for executing the above-described operations can be stored on a computer-readable recording medium (flexible disk, CD-ROM (Compact Disc Read Only Memory), DVD-ROM (Digital Versatile Disc Read Only Memory), etc.). By storing, distributing, and installing this computer program in a portable information terminal or the like, an information terminal that executes the above processing may be configured. Alternatively, the computer program may be stored in a storage device of a server device on a communication network such as the Internet, and may be downloaded by an ordinary information processing terminal to constitute an information processing device.

また、ハンディプリンタ100、端末装置200の機能を、OS(Operating System)とアプリケーションプログラムとの分担、またはOSとアプリケーションプログラムとの協働により実現する場合などには、アプリケーションプログラム部分のみを記録媒体や記憶装置に格納してもよい。 In addition, when the functions of the handy printer 100 and the terminal device 200 are shared between an OS (Operating System) and an application program, or by cooperation between the OS and an application program, only the application program portion can be stored as a recording medium or a recording medium. It may be stored in a storage device.

また、搬送波にコンピュータプログラムを重畳し、通信ネットワークを介して配信することも可能である。例えば、通信ネットワーク上の掲示板(BBS:Bulletin Board System)にこのコンピュータプログラムを掲示し、ネットワークを介してこのコンピュータプログラムを配信してもよい。そして、このコンピュータプログラムを起動し、OSの制御下で、他のアプリケーションプログラムと同様に実行することにより、上述の処理を実行できるように構成してもよい。 It is also possible to superimpose a computer program on a carrier wave and distribute it via a communication network. For example, the computer program may be posted on a bulletin board (BBS: Bulletin Board System) on a communication network, and the computer program may be distributed over the network. Then, the above-described processing may be performed by activating this computer program and executing it in the same manner as other application programs under the control of the OS.

以上、本発明の好ましい実施形態について説明したが、本発明は係る特定の実施形態に限定されるものではなく、本発明には、特許請求の範囲に記載された発明とその均等の範囲とが含まれる。以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。 Although the preferred embodiments of the present invention have been described above, the present invention is not limited to such specific embodiments, and the present invention includes the invention described in the claims and their equivalents. included. The invention described in the original claims of the present application is added below.

(付記1)
主走査方向に向けてライン状に印字素子が並んで設けられた印刷ヘッドと、
底面に前記印刷ヘッドを備える筐体と、
前記筐体が副走査方向に走査された距離を検出する走査距離検出手段と、
第1の印刷対象画像および第2の印刷対象画像を示すデータを取得する印刷対象取得手段と、
前記筐体の前記副走査方向への走査に応じた前記第1の印刷対象画像の印刷後、前記筐体が前記副走査方向に走査されることにより、前記印刷ヘッドが前記第1の印刷対象画像の末端部に達したか否かを判定する走査距離判定手段と、
前記走査距離判定手段により印刷開始位置が第1の印刷対象画像の末端部に達したと判定されると、前記印刷ヘッドによる前記第2の印刷対象画像の印刷を開始させる印刷ヘッド制御手段と、
を備えることを特徴とする印刷装置。
(Appendix 1)
a print head in which printing elements are arranged in a line in the main scanning direction;
a housing having the print head on its bottom surface;
scanning distance detection means for detecting the distance by which the housing is scanned in the sub-scanning direction;
print target acquisition means for acquiring data indicating the first print target image and the second print target image;
After printing the first image to be printed in accordance with the scanning of the housing in the sub-scanning direction, the housing is scanned in the sub-scanning direction so that the print head moves to the first print target. scanning distance determination means for determining whether or not the end of the image has been reached;
print head control means for causing the print head to start printing the second image to be printed when the scanning distance determination means determines that the print start position has reached the end portion of the first image to be printed;
A printing device comprising:

(付記2)
前記印刷ヘッド制御手段は、前記筐体の第1の副走査方向に走査に応じて前記第1の印刷対象画像を印刷し、
前記走査距離判定手段は、前記第1の印刷対象画像を印刷した後、前記筐体が前記第1の副走査方向とは逆方向である第2の副走査方向に走査され、再び前記第1の副走査方向に走査すると前記印刷ヘッドが前記第1の印刷対象画像の末端部に達したか否かを判定し、
前記印刷ヘッド制御手段は、前記走査距離判定手段により前記印刷ヘッドが前記第1の印刷対象画像の末端部に達したと判定されると、前記第1の副走査方向への走査に応じて前記印刷ヘッドによる前記第2の印刷対象画像の印刷を開始する、
ことを特徴とする付記1に記載の印刷装置。
(Appendix 2)
The print head control means prints the first image to be printed in response to scanning of the housing in a first sub-scanning direction,
The scanning distance determining means scans the housing in a second sub-scanning direction opposite to the first sub-scanning direction after printing the first image to be printed, and scans the housing again in the first sub-scanning direction. determining whether or not the print head has reached the end of the first image to be printed when scanning in the sub-scanning direction of
When the scanning distance determining means determines that the print head has reached the end portion of the first image to be printed, the print head control means controls the scanning in the first sub-scanning direction. initiating printing of the second image to be printed by a print head;
The printing apparatus according to appendix 1, characterized by:

(付記3)
前記走査距離判定手段は、前記第1の印刷対象画像の印刷を終了してから前記筐体が前記第2の副走査方向に走査されるまで第1の副走査方向に走査された第1の走査距離を取得し、前記筐体が前記第2の副走査方向に走査されると第1の副走査方向に走査されるまで前記第2の副走査方向に走査された第2の走査距離を取得し、再度前記筐体が前記第1の副走査方向に走査されると、前記第1の副走査方向に前記第2の走査距離から前記第1の走査距離を差し引いた距離を走査されたか否かを判定し、
前記印刷ヘッド制御手段は、前記走査距離判定手段が前記第1の副走査方向に前記第2の走査距離から前記第1の走査距離を差し引いた距離を走査されたと判定した場合に、前記印刷ヘッドによる前記第1の副走査方向への走査に応じた前記第2の印刷対象画像の印刷を開始する、
ことを特徴とする付記2に記載の印刷装置。
(Appendix 3)
The scanning distance determining means determines the first distance scanned in the first sub-scanning direction until the housing is scanned in the second sub-scanning direction after printing of the first image to be printed is completed. A scanning distance is acquired, and when the housing is scanned in the second sub-scanning direction, the second scanning distance scanned in the second sub-scanning direction is obtained until the housing is scanned in the first sub-scanning direction. When the housing is scanned in the first sub-scanning direction again, is the distance obtained by subtracting the first scanning distance from the second scanning distance scanned in the first sub-scanning direction? determine whether or not
When the scanning distance determination unit determines that the scanning distance determination unit scans a distance obtained by subtracting the first scanning distance from the second scanning distance in the first sub-scanning direction, the printing head control unit start printing the second image to be printed according to scanning in the first sub-scanning direction by
The printing apparatus according to appendix 2, characterized by:

(付記4)
第1の副走査方向に走査することを示す第1のインジケータと、
前記第1の副走査方向と逆向きの第2の副走査方向に走査することを示す第2のインジケータと、
前記第1のインジケータおよび前記第2のインジケータの点灯を制御するインジケータ表示制御手段と、を備え、
前記インジケータ表示制御手段は、前記第1の印刷対象画像を印刷するとき、前記第1のインジケータを点灯し、前記第1の印刷対象画像の印刷が完了すると、前記第2のインジケータを点灯する、
ことを特徴とする付記1から3の何れか1つに記載の印刷装置。
(Appendix 4)
a first indicator indicating scanning in a first sub-scanning direction;
a second indicator indicating scanning in a second sub-scanning direction opposite to the first sub-scanning direction;
and indicator display control means for controlling lighting of the first indicator and the second indicator,
The indicator display control means lights the first indicator when printing the first image to be printed, and lights the second indicator when printing of the first image to be printed is completed.
The printing apparatus according to any one of appendices 1 to 3, characterized by:

(付記5)
前記走査距離判定手段が、第1の副走査方向に走査された第1の走査距離より第2に副走査方向に走査された第2の走査距離が大きいと判定すると、前記インジケータ表示制御手段は、前記第2のインジケータを消灯する、
ことを特徴とする付記4に記載の印刷装置。
(Appendix 5)
When the scanning distance determining means determines that the second scanning distance scanned in the second sub-scanning direction is larger than the first scanning distance scanned in the first sub-scanning direction, the indicator display control means , extinguishing the second indicator;
The printing apparatus according to appendix 4, characterized by:

(付記6)
前記第2の印刷対象画像の印刷準備が完了したか否かを判定する印刷準備判定手段を更に備え、
前記インジケータ表示制御手段は、前記走査距離判定手段により第1の副走査方向に走査された第1の走査距離より第2に副走査方向に走査された第2の走査距離が大きいと判定され、前記第2のインジケータを消灯した後、前記印刷準備判定手段によって前記第2の印刷対象画像の印刷準備が完了したと判定されると前記第1のインジケータを点灯する、
ことを特徴とする付記5に記載の印刷装置。
(Appendix 6)
further comprising print preparation determination means for determining whether or not preparation for printing of the second image to be printed is completed;
The indicator display control means determines that the second scanning distance scanned in the second sub-scanning direction is greater than the first scanning distance scanned in the first sub-scanning direction by the scanning distance determination means, After turning off the second indicator, turning on the first indicator when the print preparation determining means determines that the printing preparation for the second image to be printed is completed;
The printing apparatus according to appendix 5, characterized by:

(付記7)
前記印刷ヘッドの主走査方向と平行な向きにライン状に受光素子が並んで設けられたスキャナを備え、
前記走査距離判定手段は、前記スキャナにより印刷された前記第1の印刷対象画像の末端部を検知すると、前記末端部を検知した際の前記末端部と前記印刷ヘッド間の距離を前記筐体が前記副走査方向に走査されたか否かを判定する、
ことを特徴とする付記1から6の何れか1つに記載の印刷装置。
(Appendix 7)
A scanner provided with light receiving elements arranged in a line in a direction parallel to the main scanning direction of the print head,
When detecting the end portion of the first image to be printed printed by the scanner, the scanning distance determination means determines the distance between the end portion and the print head when the end portion is detected. determining whether scanning is performed in the sub-scanning direction;
7. The printing apparatus according to any one of appendices 1 to 6, characterized by:

(付記8)
前記第1の印刷対象画像を示すデータまたは前記第2の印刷対象画像を示すデータを記憶する第1の記憶部と、
前記第1の印刷対象画像を示すデータおよび前記第2の印刷対象画像を示すデータを記憶する第2の記憶部と、
を備え、
前記印刷対象取得手段は、前記第1の印刷対象画像および前記第2の印刷対象画像を示すデータを取得し、取得した前記第1と第2の印刷対象画像を示すデータを第2の記憶部に記憶し、前記第1の印刷対象画像を印刷する際、前記第1の印刷対象画像を示すデータを前記第1の記憶部に記憶し、前記印刷ヘッド制御手段により前記第1の記憶部に記憶された前記第1の印刷対象画像を示すデータに基づく前記第1の印刷対象画像が印刷されると、前記第1の記憶部に記憶した前記第1の印刷対象画像を示すデータを消去し、前記第2の印刷対象画像を示すデータを第1の記憶部に記憶する、
ことを特徴とする付記1から7の何れか1つに記載の印刷装置。
(Appendix 8)
a first storage unit that stores data representing the first image to be printed or data representing the second image to be printed;
a second storage unit that stores data representing the first image to be printed and data representing the second image to be printed;
with
The print target acquisition means acquires data representing the first print target image and the second print target image, and stores the acquired data representing the first and second print target images in a second storage unit. When printing the first image to be printed, the data representing the first image to be printed is stored in the first storage unit, and the print head control means stores the data representing the first image to be printed in the first storage unit. When the first image to be printed based on the stored data representing the first image to be printed is printed, the data representing the first image to be printed stored in the first storage unit is erased. , storing data indicating the second image to be printed in a first storage unit;
8. The printing apparatus according to any one of appendices 1 to 7, characterized by:

(付記9)
前記印刷対象取得手段は、
前記第1の印刷対象画像の印刷が完了すると、前記第2の印刷対象画像を示すデータを取得する、
ことを特徴とする付記1から7の何れか1つに記載の印刷装置。
(Appendix 9)
The print target acquisition means includes:
obtaining data indicating the second image to be printed when printing of the first image to be printed is completed;
8. The printing apparatus according to any one of appendices 1 to 7, characterized by:

(付記10)
前記印刷対象取得手段は、
前記第1の印刷対象画像および第2の印刷対象画像を示すデータを他の装置から受信する受信手段を備え、
前記受信手段は、
前記第1の印刷対象画像の印刷が完了すると、前記第2の印刷対象画像を示すデータの受信を開始する、
ことを特徴とする付記9に記載の印刷装置。
(Appendix 10)
The print target acquisition means includes:
receiving means for receiving data indicating the first image to be printed and the second image to be printed from another device;
The receiving means
When printing of the first image to be printed is completed, reception of data indicating the second image to be printed is started;
The printing apparatus according to appendix 9, characterized by:

(付記11)
付記1から10の何れか1つに記載の印刷装置と、
前記印刷装置に前記第1の印刷対象画像および前記第2の印刷対象画像を示すデータを送信する他の装置と、
を備える印刷システムであって、
前記他の装置から前記第1の印刷対象画像が前記印刷装置に送信され、前記印刷装置により前記第1の印刷対象画像の印刷が完了すると、前記他の装置は前記第2の印刷対象画像を示すデータを前記印刷装置に送信する、
ことを特徴とする印刷システム。
(Appendix 11)
The printing device according to any one of Appendices 1 to 10;
another device that transmits data indicating the first image to be printed and the second image to be printed to the printing device;
A printing system comprising:
When the first image to be printed is transmitted from the other device to the printing device, and printing of the first image to be printed by the printing device is completed, the other device prints the second image to be printed. sending data indicating to the printing device;
A printing system characterized by:

(付記12)
前記他の装置は、印刷対象画像の長さが基準長さ以上であると判定すると該印刷対象画像を前記第1の印刷対象画像と前記第2の印刷対象画像に分割する印刷対象分割手段を備える、
ことを特徴とする付記11に記載の印刷システム。
(Appendix 12)
The other apparatus includes print target dividing means for dividing the print target image into the first print target image and the second print target image when it is determined that the length of the print target image is equal to or greater than the reference length. prepare
The printing system according to appendix 11, characterized by:

(付記13)
前記印刷対象分割手段は、副走査方向において、前記印刷対象画像の先頭から前記基準長さまでを前記第1の印刷対象画像、前記印刷対象画像の前記基準長さから末端までを前記第2の印刷対象画像となるように、前記印刷対象画像を示すデータを前記第1の印刷対象画像を示すデータと前記第2の印刷対象画像を示すデータに分割する、
ことを特徴とする付記12に記載の印刷システム。
(Appendix 13)
In the sub-scanning direction, the print target image dividing unit divides the print target image from the beginning to the reference length into the first print target image, and the print target image from the reference length to the end into the second print target image. dividing the data representing the image to be printed into data representing the first image to be printed and data representing the second image to be printed so as to form target images;
13. The printing system according to appendix 12, characterized by:

(付記14)
主走査方向に向けてライン状に印字素子が並んで設けられた印刷ヘッドと、
底面に前記印刷ヘッドを備える筐体と、
前記筐体が副走査方向に走査された距離を検出する走査距離検出手段と、を備える印刷装置を用いて印刷する印刷方法であって、
第1の印刷対象画像および第2の印刷対象画像を示すデータを取得する印刷対象取得ステップと、
前記筐体の前記副走査方向への走査に応じて前記第1の印刷対象画像を前記印刷ヘッドに印刷させる印刷ステップと、
前記印刷ステップによって印刷された前記第1の印刷対象画像の末端部に前記印刷ヘッドが副走査方向に走査されて達したか否かを判定する走査距離判定ステップと、
前記走査距離判定ステップにより前記印刷ヘッドが第1の印刷対象画像の末端部に達したと判定されると前記第2の印刷対象画像を前記印刷ヘッドに印刷させる印刷ヘッド制御ステップと、
を備えることを特徴とする印刷方法。
(Appendix 14)
a print head in which printing elements are arranged in a line in the main scanning direction;
a housing having the print head on its bottom surface;
A printing method for printing using a printing device including scanning distance detection means for detecting a distance by which the casing is scanned in the sub-scanning direction,
a print target acquisition step of acquiring data indicating a first print target image and a second print target image;
a printing step of causing the print head to print the first image to be printed according to scanning of the housing in the sub-scanning direction;
a scanning distance determination step of determining whether or not the print head has reached the end portion of the first image to be printed printed by the printing step by scanning in the sub-scanning direction;
a print head control step of causing the print head to print the second image to be printed when the scanning distance determining step determines that the print head has reached the end portion of the first image to be printed;
A printing method comprising:

(付記15)
主走査方向に向けてライン状に印字素子が並んで設けられた印刷ヘッドと、
底面に前記印刷ヘッドを備える筐体と、
前記筐体が副走査方向に走査された距離を検出する走査距離検出手段と、を備える印刷装置を制御するコンピュータを、
第1の印刷対象画像および第2の印刷対象画像を示すデータを取得する印刷対象取得手段、
前記印刷装置が印刷した前記第1の印刷対象画像の末端部に前記印刷ヘッドが副走査方向に走査されて達したか否かを判定する走査距離判定手段、
前記走査距離判定手段により前記印刷ヘッドが第1の印刷対象画像の末端部に達したと判定されると前記第2の印刷対象画像を前記印刷ヘッドに印刷させる印刷ヘッド制御手段、
として機能させるプログラム。
(Appendix 15)
a print head in which printing elements are arranged in a line in the main scanning direction;
a housing having the print head on its bottom surface;
a computer for controlling a printing apparatus comprising scanning distance detection means for detecting the distance by which the housing is scanned in the sub-scanning direction;
print target acquisition means for acquiring data indicating the first print target image and the second print target image;
scanning distance determination means for determining whether or not the print head has reached the end portion of the first image to be printed printed by the printing device by scanning in the sub-scanning direction;
print head control means for causing the print head to print the second image to be printed when the scanning distance determination means determines that the print head has reached the end portion of the first image to be printed;
A program that acts as a

1…印刷システム、100…ハンディプリンタ、101…筐体、110、210…制御部、111、211…印刷対象取得部、112…インジケータ表示制御部、113…走査距離判定部、114…印刷ヘッド制御部、120…決定ボタン、130A…第1のインジケータ、130B…第2のインジケータ、140…走査距離検出部、150…印刷ヘッド、150M…マゼンタ色印刷ヘッド、150C…シアン色印刷ヘッド、150Y…黄色印刷ヘッド、160、220…通信部、170、250…ROM、180、260…RAM、190…スキャナ、200…端末装置、212…印刷対象分割部、213…印刷対象送信部、230…ディスプレイ、240…操作部、R…印刷媒体、L、L1~L3…長さ、d1~d6…基準距離 DESCRIPTION OF SYMBOLS 1... Printing system 100... Handy printer 101... Case 110, 210... Control part 111, 211... Print object acquisition part 112... Indicator display control part 113... Scanning distance determination part 114... Print head control Part 120... Enter button 130A... First indicator 130B... Second indicator 140... Scanning distance detector 150... Print head 150M... Magenta print head 150C... Cyan print head 150Y... Yellow Print head 160, 220 Communication unit 170, 250 ROM 180, 260 RAM 190 Scanner 200 Terminal device 212 Print target division unit 213 Print target transmission unit 230 Display 240 ... operation part, R ... printing medium, L, L1 to L3 ... length, d1 to d6 ... reference distance

Claims (4)

印字素子が第1の方向に配列された印刷ヘッドを備え、
前記第1の方向に直交する第2の方向における第1の側から第2の側に向けた前記印刷ヘッドの移動に伴わせて第1の印刷対象画像を被印刷媒体に印刷した後に前記第1の印刷対象画像と同じ行となるように第2の印刷対象画像を前記被印刷媒体に印刷可能な印刷装置であって、
前記第1の印刷対象画像の印刷後に、前記印刷ヘッドを一旦前記第2の側から前記第1の側に戻す旨をユーザに報知するとともに前記第2の印刷対象画像の外部装置からの取得を開始し、前記印刷ヘッドが前記第2の側から前記第1の側に一旦戻された後に再度前記第2の側に移動されることで前記印刷ヘッドが前記被印刷媒体に印刷された前記第1の印刷対象画像の末端に対応する位置になった場合に、前記外部装置から取得した前記第2の印刷対象画像の印刷を開始させる制御手段を備える、
ことを特徴とする印刷装置。
a print head having printing elements arranged in a first direction;
After printing the first image to be printed on the print medium in accordance with the movement of the print head from the first side toward the second side in the second direction orthogonal to the first direction, A printing device capable of printing a second image to be printed on the print medium so as to be on the same line as the first image to be printed,
After printing the first image to be printed, the user is notified that the print head is temporarily returned from the second side to the first side, and acquisition of the second image to be printed from an external device is requested. the print head is once returned from the second side to the first side and then moved again to the second side, whereby the print head prints on the print medium; a control means for starting printing of the second image to be printed obtained from the external device when the position corresponding to the end of the first image to be printed is reached;
A printing device characterized by:
前記制御手段は、前記印刷ヘッドが前記第2の側から前記第1の側に一旦戻される場合の戻し距離が所定の距離になった場合に、再度前記第2の側に移動させる旨をユーザに報知する、
ことを特徴とする請求項1に記載の印刷装置。
The control means instructs the user to move the print head to the second side again when the return distance when the print head is temporarily returned from the second side to the first side reaches a predetermined distance. to inform
2. The printing apparatus according to claim 1, wherein:
印字素子が第1の方向に配列された印刷ヘッドを備え、
前記第1の方向に直交する第2の方向における第1の側から第2の側に向けた前記印刷ヘッドの移動に伴わせて第1の印刷対象画像を被印刷媒体に印刷した後に前記第1の印刷対象画像と同じ行となるように第2の印刷対象画像を前記被印刷媒体に印刷可能な印刷装置、が実行する印刷方法であって、
前記第1の印刷対象画像の印刷後に、前記印刷ヘッドを一旦前記第2の側から前記第1の側に戻す旨をユーザに報知するとともに前記第2の印刷対象画像の外部装置からの取得を開始し、前記印刷ヘッドが前記第2の側から前記第1の側に一旦戻された後に再度前記第2の側に移動されることで前記印刷ヘッドが前記被印刷媒体に印刷された前記第1の印刷対象画像の末端に対応する位置になった場合に、前記外部装置から取得した前記第2の印刷対象画像の印刷を開始させる制御処理を含む、
ことを特徴とする印刷方法。
a print head having printing elements arranged in a first direction;
After printing the first image to be printed on the print medium in accordance with the movement of the print head from the first side toward the second side in the second direction orthogonal to the first direction, A printing method executed by a printing device capable of printing a second image to be printed on the printing medium so as to be on the same line as the first image to be printed,
After printing the first image to be printed, the user is notified that the print head is temporarily returned from the second side to the first side, and acquisition of the second image to be printed from an external device is requested. the print head is once returned from the second side to the first side and then moved again to the second side, whereby the print head prints on the print medium; including control processing for starting printing of the second image to be printed obtained from the external device when the position corresponding to the end of one image to be printed is reached;
A printing method characterized by:
印字素子が第1の方向に配列された印刷ヘッドを備え、
前記第1の方向に直交する第2の方向における第1の側から第2の側に向けた前記印刷ヘッドの移動に伴わせて第1の印刷対象画像を被印刷媒体に印刷した後に前記第1の印刷対象画像と同じ行となるように第2の印刷対象画像を前記被印刷媒体に印刷可能な印刷装置のコンピュータを、
前記第1の印刷対象画像の印刷後に、前記印刷ヘッドを一旦前記第2の側から前記第1の側に戻す旨をユーザに報知するとともに前記第2の印刷対象画像の外部装置からの取得を開始し、前記印刷ヘッドが前記第2の側から前記第1の側に一旦戻された後に再度前記第2の側に移動されることで前記印刷ヘッドが前記被印刷媒体に印刷された前記第1の印刷対象画像の末端に対応する位置になった場合に、前記外部装置から取得した前記第2の印刷対象画像の印刷を開始させる制御手段として機能させる、
ことを特徴とするプログラム。
a print head having printing elements arranged in a first direction;
After printing the first image to be printed on the print medium in accordance with the movement of the print head from the first side toward the second side in the second direction orthogonal to the first direction, A computer of a printing device capable of printing a second image to be printed on the print medium so as to be on the same line as the first image to be printed,
After printing the first image to be printed, the user is notified that the print head is temporarily returned from the second side to the first side, and acquisition of the second image to be printed from an external device is requested. the print head is once returned from the second side to the first side and then moved again to the second side, whereby the print head prints on the print medium; functioning as control means for starting printing of the second image to be printed obtained from the external device when the position corresponding to the end of the first image to be printed is reached;
A program characterized by
JP2022000393A 2017-12-22 2022-01-05 PRINTING DEVICE, PRINTING METHOD AND PROGRAM Active JP7173381B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022000393A JP7173381B2 (en) 2017-12-22 2022-01-05 PRINTING DEVICE, PRINTING METHOD AND PROGRAM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017245837A JP7006247B2 (en) 2017-12-22 2017-12-22 Printing equipment, printing systems, printing methods and programs
JP2022000393A JP7173381B2 (en) 2017-12-22 2022-01-05 PRINTING DEVICE, PRINTING METHOD AND PROGRAM

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017245837A Division JP7006247B2 (en) 2017-12-22 2017-12-22 Printing equipment, printing systems, printing methods and programs

Publications (2)

Publication Number Publication Date
JP2022040208A JP2022040208A (en) 2022-03-10
JP7173381B2 true JP7173381B2 (en) 2022-11-16

Family

ID=87884888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022000393A Active JP7173381B2 (en) 2017-12-22 2022-01-05 PRINTING DEVICE, PRINTING METHOD AND PROGRAM

Country Status (1)

Country Link
JP (1) JP7173381B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000172453A (en) 1998-12-10 2000-06-23 Seiko Epson Corp Print system and host device of same system
JP2001225512A (en) 2000-02-16 2001-08-21 Canon Inc Handy printer
JP2008073974A (en) 2006-09-22 2008-04-03 Brother Ind Ltd Manual printer
JP2017013295A (en) 2015-06-30 2017-01-19 カシオ計算機株式会社 Printer, notification method, and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63292757A (en) * 1987-05-25 1988-11-30 Casio Comput Co Ltd Manual scanning type electronic device
JPH10193691A (en) * 1996-12-28 1998-07-28 Brother Ind Ltd Small printer
JPH11157162A (en) * 1997-11-27 1999-06-15 Seiko Epson Corp Methods and apparatus for forming and for printing divided image in tape-printing apparatus, and device therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000172453A (en) 1998-12-10 2000-06-23 Seiko Epson Corp Print system and host device of same system
JP2001225512A (en) 2000-02-16 2001-08-21 Canon Inc Handy printer
JP2008073974A (en) 2006-09-22 2008-04-03 Brother Ind Ltd Manual printer
JP2017013295A (en) 2015-06-30 2017-01-19 カシオ計算機株式会社 Printer, notification method, and program

Also Published As

Publication number Publication date
JP2022040208A (en) 2022-03-10

Similar Documents

Publication Publication Date Title
US10308014B2 (en) Non-transitory recording medium, image forming device, and image forming system
CN109532246B (en) Printing apparatus, printing method, and recording medium
US9908353B2 (en) Print assisting device, printing device, printing system, determining method, and non-transitory computer readable recording medium
US10377157B2 (en) Printing device, printing method and recording medium
EP2093658A2 (en) Printing control system, printing request terminal, printer, printing control program, and printing control method
JP6724464B2 (en) Printing assistance device, printing device, printing system, printing assistance method and program
JP7040040B2 (en) Printing equipment, printing support methods and programs
CN111251727B (en) Printing apparatus, printing method, and recording medium
JP7183642B2 (en) Data generation system, communication terminal, image forming apparatus and program
JP7056467B2 (en) Printing equipment, printing systems, printing methods and programs
JP7006247B2 (en) Printing equipment, printing systems, printing methods and programs
JP7173381B2 (en) PRINTING DEVICE, PRINTING METHOD AND PROGRAM
JP6954421B2 (en) Printing equipment, printing methods and programs
JP7056282B2 (en) Handy printer, printing method and program
JP2019166661A (en) Printer, printing system, printing method, and program
JP7298344B2 (en) IMAGE FORMING APPARATUS, INFORMATION PROCESSING APPARATUS, IMAGE FORMING METHOD, AND PROGRAM
CN110877487B (en) Image forming apparatus, image forming method, information processing apparatus, and storage medium
JP2018099832A (en) Printer, printing method and program
JP2020175618A (en) Printer, printing system, printing method and program
US11738566B2 (en) Printing program and producing method for print
KR101634610B1 (en) Pen having security function and method of operation the same
JP2021074955A (en) Image forming apparatus and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220117

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220906

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220926

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20221004

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221017

R150 Certificate of patent or registration of utility model

Ref document number: 7173381

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150