JP7119576B2 - Application program and printer control module - Google Patents

Application program and printer control module Download PDF

Info

Publication number
JP7119576B2
JP7119576B2 JP2018100415A JP2018100415A JP7119576B2 JP 7119576 B2 JP7119576 B2 JP 7119576B2 JP 2018100415 A JP2018100415 A JP 2018100415A JP 2018100415 A JP2018100415 A JP 2018100415A JP 7119576 B2 JP7119576 B2 JP 7119576B2
Authority
JP
Japan
Prior art keywords
split
image data
control module
width
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018100415A
Other languages
Japanese (ja)
Other versions
JP2019204400A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2018100415A priority Critical patent/JP7119576B2/en
Publication of JP2019204400A publication Critical patent/JP2019204400A/en
Application granted granted Critical
Publication of JP7119576B2 publication Critical patent/JP7119576B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本明細書に開示される技術分野は、プリンタと通信可能な情報処理装置のコンピュータが実行可能なアプリケーションプログラム及びプリンタ制御モジュールに関する。 The technical field disclosed in this specification relates to a computer-executable application program and a printer control module for an information processing device that can communicate with a printer.

従来、プリンタに印刷させる画像データを編集するアプリケーションプログラムに関する技術が知られている。例えば特許文献1には、操作端末が、ラベルプリンタに印刷させるテキストや画像等のオブジェクトで構成されたテンプレートの編集操作を受け付ける技術が開示されている。 2. Description of the Related Art Conventionally, techniques related to application programs for editing image data to be printed by a printer are known. For example, Patent Literature 1 discloses a technique in which an operation terminal receives an editing operation for a template composed of objects such as text and images to be printed by a label printer.

特開2014-71584号公報JP 2014-71584 A

近年、印刷機能が多様化し、プリンタの用途も多様化していることから、アプリケーションプログラムには、目的に適した画像を編集する機能や、目的に適したユーザインタフェースが提供されることが望まれる。このような状況から、アプリケーションプログラムには、目的に適した画像編集を行うための操作を、目的に適した画面を介してユーザから受け付けるだけでなく、多様な画像をプリンタに印刷させるためのデータを作成する機能や、多様な機能を有するプリンタを制御する機能も求められる。 2. Description of the Related Art In recent years, print functions have diversified, and the uses of printers have also diversified. Therefore, it is desired that an application program be provided with a function of editing an image suitable for the purpose and a user interface suitable for the purpose. Under such circumstances, the application program not only accepts the operation for performing image editing suitable for the purpose from the user via the screen suitable for the purpose, but also provides data for printing various images on the printer. and a function to control printers with various functions.

本明細書に開示される技術は、前記した従来の技術が有する問題点を解決するためになされたものである。すなわちその課題とするところは、プリンタに印刷させる画像データの編集において、画像データの編集機能と、プリンタの制御機能と、の双方にとって、多様な用途に対応し易い技術を提供することにある。 The technology disclosed in this specification was made to solve the problems of the conventional technology described above. That is, the object is to provide a technique that can easily handle various uses for both the image data editing function and the printer control function in editing the image data to be printed by the printer.

この課題の解決を目的としてなされたアプリケーションプログラムは、情報処理装置のコンピュータによって実行可能であり、画面制御モジュールと、プリンタ制御モジュールと、を備えるアプリケーションプログラムであって、前記画面制御モジュールは、前記コンピュータに、スプリット印刷処理の対象となる対象画像の編集指示と、前記スプリット印刷処理の設定指示と、前記スプリット印刷処理の実行指示と、をユーザインタフェースを介して受け付けるスプリット印刷編集画面を、ディスプレイに表示させる画面表示処理を実行させ、前記スプリット印刷処理は、1つの画像を分割した各スプリット画像を印刷媒体に印刷するスプリット印刷をプリンタに行わせる処理であり、前記スプリット印刷処理の対象となる前記対象画像は、前記各スプリット画像に分割する前の状態の画像であり、前記スプリット印刷処理の設定には、前記スプリット印刷の対象となる印刷媒体の幅と、前記スプリット印刷の分割数と、が含まれ、さらに前記画面制御モジュールは、前記コンピュータに、前記スプリット印刷編集画面を前記ディスプレイに表示させた後に、前記ユーザインタフェースを介して前記スプリット印刷処理の前記実行指示を受け付けた場合に、画像情報と、幅設定データと、分割数設定データと、を含む実行コマンドを、前記プリンタ制御モジュールに入力する実行コマンド入力処理を実行させ、前記画像情報は、前記ユーザインタフェースを介した前記編集指示によって編集された前記対象画像を示す対象画像データを示す情報であり、前記幅設定データは、前記ユーザインタフェースを介した前記設定指示による設定を示すデータであって、前記スプリット印刷の対象となる前記印刷媒体の幅を示すデータであり、前記分割数設定データは、前記ユーザインタフェースを介した前記設定指示による設定を示すデータであって、前記分割数を示すデータであり、前記幅設定データと前記分割数設定データとは、互いに独立したデータであり、前記プリンタ制御モジュールは、前記コンピュータに、前記画面制御モジュールから前記実行コマンドが入力された場合に、前記実行コマンドに含まれる前記幅設定データと前記分割数設定データとに基づいて、前記実行コマンドに含まれる前記画像情報に示される前記対象画像データを分割し、前記スプリット印刷に用いるスプリット画像データを生成するスプリット画像データ生成処理を実行させ、前記スプリット画像データは、前記対象画像を、前記幅設定データが示す幅で、前記分割数設定データが示す分割数に分割した画像である前記スプリット画像を示す画像データであり、さらに前記プリンタ制御モジュールは、前記コンピュータに、前記スプリット画像データ生成処理によって生成された前記スプリット画像データを、前記情報処理装置の通信インタフェースを介して、前記プリンタに送信するスプリット画像データ送信処理と、を実行させる、ことを特徴としている。 An application program designed to solve this problem is executable by a computer of an information processing apparatus and includes a screen control module and a printer control module, wherein the screen control module a split print editing screen for accepting, via a user interface, an instruction to edit an image to be split print processed, an instruction to set the split print process, and an instruction to execute the split print process, is displayed on the display. and the split printing process is a process for causing a printer to perform split printing for printing split images obtained by dividing one image onto a printing medium, and the target to be subjected to the split printing process. The image is an image in a state before being divided into the split images, and the setting of the split printing process includes the width of the print medium to be the target of the split printing and the division number of the split printing. Further, the screen control module causes the computer to display the split print edit screen on the display, and then receives the execution instruction of the split print process via the user interface. , width setting data, and division number setting data to the printer control module, and the image information is edited by the editing instruction via the user interface. The width setting data is information indicating target image data indicating the target image, and the width setting data is data indicating the setting by the setting instruction via the user interface, and the width setting data is data indicating the setting of the print medium to be the target of the split printing. The division number setting data is data indicative of a width, and the division number setting data is data indicative of the setting according to the setting instruction through the user interface, and is data indicative of the division number, wherein the width setting data and the division number setting. The data are mutually independent data, and when the execution command is input from the screen control module to the computer, the printer control module controls the width setting data and the division number contained in the execution command. splitting the target image data indicated in the image information included in the execution command based on setting data to generate split image data to be used in the split printing; and the split image data indicates the split image obtained by dividing the target image into the number of divisions indicated by the number of divisions setting data with the width indicated by the width setting data. Further, the printer control module causes the computer to transmit the split image data generated by the split image data generation process to the printer via the communication interface of the information processing device. It is characterized by executing a data transmission process.

本明細書に開示されるアプリケーションプログラムが組み込まれることで、情報処理装置のコンピュータは、画面制御モジュールによる処理とプリンタ制御モジュールによる処理とを実行可能になる。すなわち、コンピュータは、画面制御モジュールにてスプリット印刷処理に関する指示を受け付け、幅設定データと分割数設定データとを互いに独立したデータとして含む実行コマンドを、プリンタ制御モジュールに入力する。幅設定データと分割数設定データとが互いに独立したデータであるので、画面制御モジュールにおける設定の自由度が高く、スプリット印刷の多様な用途に対応し易い。また、プリンタ制御モジュールにとっても、多様な用途に対応したスプリット印刷をプリンタに行わせることができる。 By incorporating the application program disclosed in this specification, the computer of the information processing apparatus can execute processing by the screen control module and processing by the printer control module. That is, the computer receives an instruction regarding split printing processing in the screen control module, and inputs an execution command including width setting data and division number setting data as mutually independent data to the printer control module. Since the width setting data and the division number setting data are data independent of each other, the screen control module has a high degree of freedom in setting, and can easily handle various uses of split printing. Also, the printer control module can cause the printer to perform split printing corresponding to various uses.

上記機能を実現するための制御方法、アプリケーションプログラムを格納するコンピュータにて読取可能な記憶媒体も、新規で有用である。 A computer-readable storage medium storing a control method and an application program for realizing the above functions is also novel and useful.

本明細書に開示される技術によれば、プリンタに印刷させる画像データの編集において、画像データの編集機能と、プリンタの制御機能と、の双方にとって、多様な用途に対応し易い。 According to the technology disclosed in this specification, in editing image data to be printed by a printer, both the image data editing function and the printer control function can easily accommodate various uses.

実施の形態にかかる印刷システムの概略構成図である。1 is a schematic configuration diagram of a printing system according to an embodiment; FIG. ラベルを作成するソフトウェアの構成を示す説明図である。FIG. 4 is an explanatory diagram showing the configuration of software for creating labels; 画面制御処理の手順を示すフローチャートである。4 is a flowchart showing the procedure of screen control processing; 指示受付画面の例を示す説明図である。FIG. 11 is an explanatory diagram showing an example of an instruction acceptance screen; プレビュー表示の例を示す説明図である。FIG. 10 is an explanatory diagram showing an example of preview display; 印刷ジョブ生成処理の手順を示すフローチャートである。7 is a flowchart showing the procedure of print job generation processing; プリンタ制御処理の手順を示すフローチャートである。4 is a flow chart showing a procedure of printer control processing; 分割画像データ生成処理の手順を示すフローチャートである。4 is a flow chart showing a procedure of divided image data generation processing; サイズ超エラー処理の手順を示すフローチャートである。10 is a flow chart showing a procedure of over-size error processing; 分割不能エラー処理の手順を示すフローチャートである。10 is a flow chart showing a procedure of indivisible error processing;

以下、多様な印刷を実施できる印刷システムを具体化した実施の形態について、添付図面を参照しつつ詳細に説明する。本形態は、ラベル用紙に印刷するプリンタに接続されるパーソナルコンピュータ(以下、「PC」とする)にて実行されるプログラムを開示するものである。 An embodiment embodying a printing system capable of performing various printings will be described in detail below with reference to the accompanying drawings. This embodiment discloses a program executed by a personal computer (hereinafter referred to as "PC") connected to a printer that prints on label paper.

本形態の印刷システムは、図1に示すように、PC1と、プリンタ2とを有し、互いに通信可能に接続されている。PC1は、プリンタ2に印刷させるための処理を実行する装置である。PC1は、情報処理装置の一例である。具体的に、PC1は、画像データの生成及び編集、編集中の画像のプレビュー表示、プリンタ2への印刷コマンドの送信等を行う。PC1に代えて、例えば、スマートフォン、タブレットコンピュータを用いることもできる。 As shown in FIG. 1, the printing system of this embodiment has a PC 1 and a printer 2, which are communicably connected to each other. The PC 1 is a device that executes processing for causing the printer 2 to print. The PC 1 is an example of an information processing device. Specifically, the PC 1 generates and edits image data, previews an image being edited, and transmits a print command to the printer 2 . For example, a smart phone or a tablet computer can be used instead of the PC 1 .

本形態のプリンタ2は、例えば、所定の幅を持つ連続した帯状の印刷媒体への印刷と、印刷媒体の搬送と、を行うラベルプリンタである。印刷媒体の幅方向の大きさを、「テープ幅」とする。テープ幅は、印刷媒体の幅の一例である。プリンタ2は、例えば、内蔵するロール状のラベルテープを巻き出しつつ印刷を行い、印刷済みの部分を切り取ってラベルを製造する。印刷媒体は、帯状の基材にラベルサイズの印刷用紙が貼付されているものでも良い。以下、帯状の印刷媒体がプリンタ2に搬送されて進行する方向を「長さ方向」とする。 The printer 2 of this embodiment is, for example, a label printer that prints on a continuous belt-shaped print medium having a predetermined width and transports the print medium. The size in the width direction of the print medium is referred to as "tape width". The tape width is an example of the width of the print medium. For example, the printer 2 performs printing while unwinding a built-in roll-shaped label tape, and cuts off the printed portion to manufacture a label. The print medium may be a strip-shaped base material to which a label-sized print sheet is attached. Hereinafter, the direction in which the belt-shaped print medium is transported to the printer 2 and advances is referred to as the "longitudinal direction".

プリンタ2は、例えば、熱転写方式の印刷ヘッドを備える。印刷ヘッドには、発熱素子である複数の印字ピンが1列に並んでいる。プリンタ2は、各印字ピンを選択的に発熱させることで、幅方向にテープ幅全体であって長さ方向に1ドット分の印刷を行う。プリンタ2は、複数種類のテープ幅に対応しており、装着されている印刷媒体に応じて使用する印字ピンの範囲を決定する。そして、プリンタ2にて幅方向に印刷可能な印刷ドット数の上限は、印刷ヘッドの構成によって、テープ幅ごとに決まっている。 The printer 2 includes, for example, a thermal transfer print head. A plurality of printing pins, which are heating elements, are arranged in a line in the print head. The printer 2 selectively heats each print pin to print one dot in the length direction over the entire tape width in the width direction. The printer 2 is compatible with multiple types of tape widths, and determines the range of print pins to be used according to the mounted print medium. The upper limit of the number of print dots that can be printed in the width direction by the printer 2 is determined for each tape width depending on the configuration of the print head.

PC1は、図1に示すように、CPU11と、ROM12と、RAM13と、不揮発性メモリ14と、を含む制御基板10を備えている。さらに、PC1は、ネットワークインタフェース(以下、「ネットワークIF」とする)16と、USBインタフェース(以下、「USB-IF」とする)17と、入力インタフェース(以下、「入力IF」とする)18と、ディスプレイ19と、を備え、これらが制御基板10に電気的に接続されている。なお、図1中の制御基板10は、PC1の制御に利用されるハードウェアやソフトウェアを纏めた総称であって、実際にPC1に存在する単一のハードウェアを表すとは限らない。 The PC 1 includes a control board 10 including a CPU 11, a ROM 12, a RAM 13, and a nonvolatile memory 14, as shown in FIG. Furthermore, the PC 1 includes a network interface (hereinafter referred to as "network IF") 16, a USB interface (hereinafter referred to as "USB-IF") 17, and an input interface (hereinafter referred to as "input IF") 18. , and a display 19 , which are electrically connected to the control board 10 . Note that the control board 10 in FIG. 1 is a collective term for hardware and software used to control the PC 1, and does not necessarily represent a single piece of hardware that actually exists in the PC 1. FIG.

CPU11は、ROM12や不揮発性メモリ14から読み出したプログラムに従って、また、ユーザの操作に基づいて、各種の処理を実行する。CPU11は、コンピュータの一例である。ROM12には、PC1を起動するための起動プログラム等が記憶されている。RAM13は、各種の処理が実行される際の作業領域として、あるいは、データを一時的に記憶する記憶領域として利用される。不揮発性メモリ14は、例えば、HDD、フラッシュメモリであり、各種のプログラムや画像データ、文書データ等のデータや各種設定を記憶する領域として利用される。ROM12、RAM13および不揮発性メモリ14は、いずれもメモリの一例である。また、CPU11がCPUバッファを備えているものであれば、CPUバッファもメモリの一例である。 The CPU 11 executes various processes according to programs read from the ROM 12 and the nonvolatile memory 14 and based on user's operations. The CPU 11 is an example of a computer. The ROM 12 stores a boot program and the like for booting the PC 1 . The RAM 13 is used as a work area when various processes are executed, or as a storage area for temporarily storing data. The nonvolatile memory 14 is, for example, an HDD or a flash memory, and is used as an area for storing various programs, data such as image data and document data, and various settings. The ROM 12, RAM 13 and non-volatile memory 14 are all examples of memory. Further, if the CPU 11 has a CPU buffer, the CPU buffer is also an example of memory.

メモリの一例はいずれも、コンピュータが読み取り可能なストレージ媒体であってもよい。コンピュータが読み取り可能なストレージ媒体とは、non-transitoryな媒体である。non-transitoryな媒体には、上記の例の他に、CD-ROM、DVD-ROM等の記録媒体も含まれる。また、non-transitoryな媒体は、tangibleな媒体でもある。一方、インターネット上のサーバなどからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non-transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。 Any of the examples of memory may be a computer-readable storage medium. A computer-readable storage medium is a non-transitory medium. In addition to the above examples, non-transitory media include recording media such as CD-ROMs and DVD-ROMs. A non-transitory medium is also a tangible medium. On the other hand, an electrical signal that carries a program downloaded from a server on the Internet is a computer-readable signal medium, which is a kind of computer-readable medium, but is a non-transitory computer-readable storage. Not included in media.

ネットワークIF16は、インターネット等のネットワークを介して、外部装置との通信を行うためのハードウェアを含む。ネットワークIF16の通信方式は、無線でも有線でもよく、どのような規格の方式でもよい。USB-IF17は、USB規格に基づいた通信を行うためのハードウェアを含む。PC1とプリンタ2との通信は、ネットワークIF16を用いて行っても良いし、USB-IF17を用いて行っても良い。ネットワークIF16またはUSB-IF17は、通信インタフェースの一例である。 The network IF 16 includes hardware for communicating with external devices via a network such as the Internet. The communication method of the network IF 16 may be wireless or wired, and may be of any standard. The USB-IF 17 includes hardware for performing communication based on the USB standard. Communication between the PC 1 and the printer 2 may be performed using the network IF 16 or the USB-IF 17 . Network IF 16 or USB-IF 17 is an example of a communication interface.

入力IF18は、キーボード、マウス等のユーザによる入力操作を受け付けるハードウェアを含む。入力IF18は、ユーザインタフェースの一例である。ディスプレイ19は、情報を画面に表示するハードウェアを含む。なお、PC1は、入力IF18とディスプレイ19との両方の機能を備えたタッチパネル等を有していても良い。 The input IF 18 includes hardware such as a keyboard and a mouse that accepts user input operations. The input IF 18 is an example of a user interface. Display 19 includes hardware for displaying information on a screen. Note that the PC 1 may have a touch panel or the like having the functions of both the input IF 18 and the display 19 .

本形態のPC1は、図1に示すように、不揮発性メモリ14に、ラベル作成用アプリケーションプログラム(以下、「ラベル作成アプリ」とする)40と、オペレーティングシステム(以下、「OS」とする)41と、を備えている。ラベル作成アプリ40は、ラベル用の画像の編集と、プリンタ2の制御とを行うプログラムである。ラベル作成アプリ40には、画面制御モジュール42と、プリンタ制御モジュール43と、が含まれる。ラベル作成アプリ40は、アプリケーションプログラムの一例である。画面制御モジュール42やプリンタ制御モジュール43は、ソフトウェアモジュールである。 As shown in FIG. 1, the PC 1 of the present embodiment stores a label creation application program (hereinafter referred to as "label creation application") 40 and an operating system (hereinafter referred to as "OS") 41 in the nonvolatile memory 14. and have. The label creation application 40 is a program for editing label images and controlling the printer 2 . The label creation application 40 includes a screen control module 42 and a printer control module 43 . The label creation application 40 is an example of an application program. The screen control module 42 and the printer control module 43 are software modules.

本形態のラベル作成アプリ40は、図2に示すように、印刷コマンドを生成してプリンタ2に送信する。また、ラベル作成アプリ40の画面制御モジュール42は、ラベル用の画像を編集する画面をディスプレイ19に表示させ、入力IF18を介してユーザの指示入力を受け付ける。さらに、画面制御モジュール42は、受け付けた指示入力に基づいて印刷ジョブを生成し、生成した印刷ジョブを実行させる実行コマンドをプリンタ制御モジュール43に入力する。プリンタ制御モジュール43は、画面制御モジュール42にて生成された印刷ジョブを受け付け、印刷コマンドを生成してプリンタ2へ送信する。印刷コマンドには、印刷対象の画像データと、プリンタ2を制御するための設定情報等とが含まれる。 The label creation application 40 of this embodiment generates a print command and transmits it to the printer 2, as shown in FIG. Further, the screen control module 42 of the label creation application 40 causes the display 19 to display a screen for editing the image for the label, and receives a user instruction input via the input IF 18 . Further, the screen control module 42 generates a print job based on the received instruction input, and inputs an execution command for executing the generated print job to the printer control module 43 . The printer control module 43 receives the print job generated by the screen control module 42 , generates a print command, and transmits it to the printer 2 . The print command includes image data to be printed, setting information for controlling the printer 2, and the like.

続いて、画面制御モジュール42とプリンタ制御モジュール43とによる各処理について説明する。なお、以下の処理およびフローチャートの各処理ステップは、基本的に、各プログラムに記述された命令に従ったCPU11の処理を示す。すなわち、以下の説明における「判断」、「選択」、「決定」、「取得」、「受付」、「制御」等の処理は、CPU11の処理を表している。CPU11による処理は、PC1のOS41のAPIを用いたハードウェア制御も含む。本明細書では、OS41の記載を省略して各プログラムの動作を説明する。すなわち、以下の説明において、「プログラムBがハードウェアCを制御する」という趣旨の記載は、「プログラムBがOS41のAPIを用いてハードウェアCを制御する」ことを指してもよい。また、プログラムに記述された命令に従ったCPU11の処理を、省略した文言で記載することがある。例えば、「CPU11が行う」、「画面制御モジュール42が行う」のように記載することがある。 Next, each process performed by the screen control module 42 and the printer control module 43 will be described. It should be noted that the following processing and each processing step in the flow chart basically indicate the processing of the CPU 11 in accordance with the instructions described in each program. That is, the processing such as “judgment”, “selection”, “decision”, “acquisition”, “acceptance”, “control” in the following description represents the processing of the CPU 11 . Processing by the CPU 11 also includes hardware control using the API of the OS 41 of the PC 1 . In this specification, the description of the OS 41 will be omitted and the operation of each program will be described. That is, in the following description, the description to the effect that "the program B controls the hardware C" may refer to "the program B controls the hardware C using the API of the OS 41". Also, the processing of the CPU 11 according to the instructions written in the program may be described with abbreviated words. For example, it may be described as "performed by the CPU 11" or "performed by the screen control module 42".

なお、「取得」は要求を必須とはしない概念で用いる。すなわち、CPU11が要求することなくデータを受信するという処理も、「CPU11がデータを取得する」という概念に含まれる。また、本明細書中の「データ」とは、コンピュータに読取可能なビット列で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。また、「要求する」、「指示する」とは、要求していることを示す情報や、指示していることを示す情報を相手に出力することを示す概念である。また、要求していることを示す情報や指示していることを示す情報のことを、単に、「要求」、「指示」とも記載する。 Note that "acquisition" is used as a concept that does not require a request. That is, the process of receiving data without the CPU 11 requesting it is also included in the concept of "the CPU 11 acquires data." Also, "data" in this specification is represented by a computer-readable bit string. Data having substantially the same meaning and content but different formats are treated as the same data. The same applies to "information" in this specification. Further, "request" and "instruct" are concepts indicating outputting information indicating requesting or instructing to the other party. Also, information indicating a request or information indicating an instruction is simply referred to as a "request" or an "instruction."

また、CPU11による、情報Aは事柄Bであることを示しているか否かを判断する処理を、「情報Aから、事柄Bであるか否かを判断する」のように概念的に記載することがある。CPU11による、情報Aが事柄Bであることを示しているか、事柄Cであることを示しているか、を判断する処理を、「情報Aから、事柄Bであるか事柄Cであるかを判断する」のように概念的に記載することがある。 Also, the process of judging by the CPU 11 whether or not the information A indicates that the matter B is conceptually described as "judging whether or not the information A is the matter B". There is The processing by the CPU 11 to determine whether information A indicates matter B or matter C is referred to as "judging whether information A is matter B or matter C". It may be described conceptually as

以下、画面制御モジュール42によって実行される画面制御処理の手順について、図3のフローチャートを参照して説明する。この画面制御処理は、画面制御モジュール42が起動されたことを契機に、PC1のCPU11にて実行される。 The procedure of screen control processing executed by the screen control module 42 will be described below with reference to the flowchart of FIG. This screen control process is executed by the CPU 11 of the PC 1 when the screen control module 42 is activated.

画面制御処理では、CPU11は、まず、ディスプレイ19を制御して、図4に示すように、指示受付画面50を表示させる(S101)。指示受付画面50は、スプリット印刷編集画面の一例であり、S101は、画面表示処理の一例である。指示受付画面50には、例えば、印刷を実行させる装置の選択を受け付けるプリンタ選択欄51、印刷媒体の設定を受け付ける用紙設定欄52、各種のオブジェクトの追加指示を受け付けるオブジェクト指定欄53、印刷実行の指示を受け付ける印刷実行ボタン54、が表示される。そして、CPU11は、入力IF18を介して、各欄への指示入力を受け付ける。 In the screen control process, the CPU 11 first controls the display 19 to display an instruction acceptance screen 50 as shown in FIG. 4 (S101). The instruction acceptance screen 50 is an example of a split print editing screen, and S101 is an example of screen display processing. The instruction reception screen 50 includes, for example, a printer selection field 51 for receiving selection of a device for executing printing, a paper setting field 52 for receiving settings of a printing medium, an object designation field 53 for receiving additional instructions for various objects, and a A print execution button 54 for accepting an instruction is displayed. Then, the CPU 11 receives instruction input to each column via the input IF 18 .

CPU11は、プリンタ選択欄51への指示入力を受け付けたか否かを判断する(S102)。CPU11は、例えば、プルダウンメニューによって選択可能なプリンタの選択肢をプリンタ選択欄51へ表示させ、表示された選択肢の1つへの選択入力によってプリンタ選択欄51への指示入力を受け付ける。 The CPU 11 determines whether or not an instruction input to the printer selection field 51 has been received (S102). For example, the CPU 11 displays selectable printer options from a pull-down menu in the printer selection field 51, and receives an instruction input to the printer selection field 51 by selecting and inputting one of the displayed options.

プリンタ選択欄51への指示入力を受け付けたと判断した場合(S102:YES)、CPU11は、選択されたプリンタをプリンタ選択欄51に表示させる(S103)。なお、CPU11は、選択されたプリンタとの通信により、現在装着されている印刷媒体の種類を検出し、検出した印刷媒体の種類を初期設定として用紙設定欄52へ表示しても良い。また、選択されたプリンタと通信することなく、所定の印刷媒体の種類を初期設定としても良い。 When determining that an instruction input to the printer selection field 51 has been received (S102: YES), the CPU 11 displays the selected printer in the printer selection field 51 (S103). It should be noted that the CPU 11 may detect the type of print medium currently loaded by communicating with the selected printer, and display the detected type of print medium in the paper setting field 52 as an initial setting. Alternatively, a predetermined print medium type may be set as an initial setting without communicating with the selected printer.

プリンタ選択欄51への指示入力を受け付けていないと判断した場合(S102:NO)、CPU11は、用紙設定欄52への指示入力を受け付けたか否かを判断する(S104)。用紙設定欄52では、例えば、テープ幅及び分割数の指定と、長さ方向のラベルの大きさの指定と、マージンの設定と、を受け付ける。分割数は、1つの画像を分割して、複数のテープに各分割部分を印刷するスプリット印刷を行う際の、テープの枚数である。なお、ラベルの長さやマージンの大きさは、印刷対象の画像に応じて自動的に決定しても良い。 When determining that an instruction input to the printer selection field 51 has not been received (S102: NO), the CPU 11 determines whether or not an instruction input to the paper setting field 52 has been received (S104). The paper setting field 52 accepts, for example, specification of the tape width and number of divisions, specification of the label size in the length direction, and margin setting. The number of divisions is the number of tapes when performing split printing in which one image is divided and each divided portion is printed on a plurality of tapes. Note that the length of the label and the size of the margin may be automatically determined according to the image to be printed.

用紙設定欄52への指示入力を受け付けたと判断した場合(S104:YES)、CPU11は、指示入力に基づいて、テープ幅と分割数とを特定する(S105)。用紙設定欄52への指示入力では、CPU11は、例えば、図5に示すように、用紙設定欄52に複数の選択肢を表示させ、表示させた選択肢のうちから1つの選択を受け付ける。複数の選択肢には、テープ幅のみを示す選択肢と、テープ幅と分割数との組合せを示す選択肢とが含まれる。CPU11は、用紙設定欄52への指示入力に基づいて、選択された選択肢に対応するテープ幅と分割数とをそれぞれ特定する。 When determining that an instruction input to the paper setting field 52 has been received (S104: YES), the CPU 11 specifies the tape width and the number of divisions based on the instruction input (S105). In inputting an instruction to the paper setting field 52, for example, as shown in FIG. 5, the CPU 11 displays a plurality of options in the paper setting field 52 and accepts one selection from the displayed options. The multiple options include options indicating only the tape width and options indicating a combination of the tape width and the number of divisions. The CPU 11 specifies the tape width and division number corresponding to the selected option based on the instruction input to the paper setting field 52 .

例えば、図5に示すように、「24mm×3」の選択肢52aが選択された場合、CPU11は、テープ幅として「24mm」、分割数として「3」を特定する。また、「24mm」の選択肢が選択された場合、CPU11は、テープ幅として「24mm」、分割数として「1」を特定する。すなわち、テープ幅のみが示されている選択肢は、テープ幅と分割数「1」との組合せを示す選択肢であるとも言える。そして、分割数が2以上の選択肢は、対象画像のスプリット印刷を指示する選択肢であるとも言える。 For example, as shown in FIG. 5, when the option 52a of "24 mm×3" is selected, the CPU 11 specifies "24 mm" as the tape width and "3" as the number of divisions. When the option "24 mm" is selected, the CPU 11 specifies "24 mm" as the tape width and "1" as the number of divisions. That is, it can be said that an option showing only the tape width is an option showing a combination of the tape width and the number of divisions "1". In addition, it can be said that the option for which the number of divisions is 2 or more is an option for instructing split printing of the target image.

CPU11は、対象画像のスプリット印刷の指示を受け付けると、対象画像を幅方向に分割した複数の部分画像を示す画像データを生成する。そして、生成した画像データに基づいた各部分画像の印刷コマンドをプリンタ2に入力する。これにより、プリンタ2は、各部分画像を印刷した複数のラベルを作成する。作成された複数のラベルを幅方向に並べると、対象画像が再現される。すなわち、プリンタ2のユーザは、スプリット印刷を指示することで、テープ幅よりも大きい幅で対象画像を印刷した印刷物を得ることができる。 Upon receiving an instruction to split print the target image, the CPU 11 generates image data representing a plurality of partial images obtained by splitting the target image in the width direction. A print command for each partial image based on the generated image data is input to the printer 2 . As a result, the printer 2 creates a plurality of labels on which each partial image is printed. The target image is reproduced by arranging the created labels in the width direction. That is, by instructing split printing, the user of the printer 2 can obtain a printed material in which the target image is printed with a width larger than the tape width.

さらに、CPU11は、例えば、図5に示すように、指示受付画面50中に設定された用紙を示す用紙枠62を表示させるための用紙枠データを生成する(S106)。例えば、分割数「3」の選択肢52aが選択された場合、CPU11は、3分割された用紙枠62を含む用紙枠データを生成する。分割数が2以上である場合の用紙設定欄52への指示入力は、スプリット印刷処理の設定指示の一例である。 Further, the CPU 11 generates paper frame data for displaying a paper frame 62 indicating the paper set in the instruction reception screen 50, as shown in FIG. 5 (S106). For example, when the option 52a with the division number "3" is selected, the CPU 11 generates paper frame data including the paper frame 62 divided into three. An instruction input to the paper setting field 52 when the number of divisions is 2 or more is an example of a setting instruction for split printing processing.

用紙設定欄52への指示入力を受け付けていないと判断した場合(S104:NO)、CPU11は、オブジェクト指定欄53への指示入力を受け付けたか否かを判断する(S107)。オブジェクト指定欄53への指示入力を受け付けたと判断した場合(S107:YES)、CPU11は、指定されたオブジェクトを含んだ対象画像のプレビュー表示用の画像データを生成する(S108)。分割数が2以上である場合、S108は、表示用画像データ生成処理の一例であり、S108にて生成されるプレビュー表示用の画像データは、表示用画像データの一例である。 When determining that an instruction input to the paper setting field 52 has not been received (S104: NO), the CPU 11 determines whether or not an instruction input to the object designation field 53 has been received (S107). When determining that an instruction input to the object designation field 53 has been received (S107: YES), the CPU 11 generates image data for preview display of the target image including the designated object (S108). If the number of divisions is 2 or more, S108 is an example of display image data generation processing, and the image data for preview display generated in S108 is an example of display image data.

なお、オブジェクトを含んだ対象画像がプレビュー表示されている状態で、オブジェクト指定欄53への指示入力を受け付けた場合、CPU11は、プレビュー表示されている対象画像に新たに指定されたオブジェクトを追加して新たな対象画像とする。CPU11は、S108にて、新たな対象画像のプレビュー表示用の画像データを生成する。 Note that when an instruction input to the object designation field 53 is received while the target image including the object is being preview-displayed, the CPU 11 adds the newly specified object to the target image being preview-displayed. is used as a new target image. In S108, the CPU 11 generates image data for preview display of the new target image.

オブジェクトは、印刷対象の画像であり、例えば、テキスト、フレーム、画像ファイルに基づく画像、シンボル、図形が含まれる。オブジェクト指定欄53には、オブジェクトの種類の指定を受け付ける各種のボタンが表示される。例えば、オブジェクトとしてテキストの追加指示を受け付けた場合、CPU11は、さらに文字列の入力を受け付け、入力された文字列の画像を対象画像とする。 Objects are images to be printed, and include, for example, text, frames, images based on image files, symbols, and graphics. Various buttons for receiving designation of the type of object are displayed in the object designation column 53 . For example, when receiving an instruction to add text as an object, the CPU 11 further receives input of a character string, and sets the image of the input character string as the target image.

なお、印刷媒体が設定されていない状態でオブジェクト指定欄53への指示入力を受け付けた場合、仮の用紙枠62を設定しても良いし、印刷媒体の設定を促す表示を行っても良い。 Note that when an instruction input to the object designation field 53 is accepted while the print medium is not set, a temporary paper frame 62 may be set, or a display prompting the user to set the print medium may be displayed.

オブジェクト指定欄53への指示入力を受け付けていないと判断した場合(S107:NO)、CPU11は、プレビュー表示中のオブジェクトへの編集指示を受け付けたか否かを判断する(S109)。CPU11は、プレビュー表示中のオブジェクトの1つの指定を受け付け、指定されたオブジェクトの編集指示として、例えば、削除、移動、サイズ変更、文字の変更の指示を受け付ける。オブジェクトへの編集指示を受け付けたと判断した場合(S109:YES)、CPU11は、編集指示に基づいて、プレビュー表示用の画像データを更新する(S110)。 When determining that an instruction input to the object designation field 53 has not been received (S107: NO), the CPU 11 determines whether or not an instruction to edit the object being previewed has been received (S109). The CPU 11 accepts designation of one of the objects being displayed in preview, and receives, for example, instructions to delete, move, change the size of, or change characters as editing instructions for the designated object. When determining that an instruction to edit the object has been received (S109: YES), the CPU 11 updates the image data for preview display based on the instruction to edit (S110).

S103、S106、S108、S110のいずれかの後、CPU11は、生成または更新したプレビュー表示用の画像データに基づいて、指示受付画面50にプレビュー表示させる(S111)。S111は、プレビュー処理の一例である。プレビュー表示は、S102で選択されたプリンタにて、S102やS104で設定された用紙に、S107やS109にて指定されたオブジェクトを、印刷させた状態を示す表示である。図5に示したように、CPU11は、指示受付画面50中に、用紙枠62や指定されたオブジェクトを含む対象画像61を表示させる。 After any one of S103, S106, S108, and S110, the CPU 11 displays a preview on the instruction acceptance screen 50 based on the generated or updated image data for preview display (S111). S111 is an example of preview processing. The preview display is a display showing a state in which the object specified in S107 or S109 is printed on the paper set in S102 or S104 by the printer selected in S102. As shown in FIG. 5, the CPU 11 displays the target image 61 including the paper frame 62 and the designated object in the instruction reception screen 50 .

図5は、文字列「TEXT」を含むオブジェクトである対象画像61を用紙枠62内に配置したプレビュー表示の例である。図5の例では、幅方向のサイズがテープ幅より大きい画像である対象画像61を幅方向に分割し、3つの部分画像61a、61b、61cに分割した状態を示している。部分画像61a、61b、61cは、スプリット画像の一例である。なお、印刷対象のオブジェクトが1つも指定されていない場合には、用紙枠62のみを表示しても良い。また、用紙枠62の設定も受け付けていない場合には、S111をスキップしても良い。 FIG. 5 is an example of preview display in which a target image 61, which is an object containing the character string “TEXT”, is arranged in a paper frame 62. FIG. In the example of FIG. 5, a target image 61, which is an image whose size in the width direction is larger than the width of the tape, is divided in the width direction into three partial images 61a, 61b, and 61c. The partial images 61a, 61b, and 61c are examples of split images. Note that only the paper frame 62 may be displayed when no object to be printed is specified. Also, if the setting of the paper frame 62 has not been accepted, S111 may be skipped.

オブジェクトへの編集指示を受け付けていないと判断した場合(S109:NO)、CPU11は、印刷実行ボタン54への指示入力を受け付けたか否かを判断する(S112)。印刷実行ボタン54への指示入力を受け付けたと判断した場合(S112:YES)、CPU11は、印刷ジョブ生成処理を実行する(S113)。印刷ジョブ生成処理は、印刷ジョブを生成して、生成した印刷ジョブを実行させる実行コマンドをプリンタ制御モジュール43に入力する処理である。分割数が2以上である場合の印刷実行ボタン54への指示入力は、スプリット印刷処理の実行指示の一例である。 When determining that an instruction to edit the object has not been received (S109: NO), the CPU 11 determines whether or not an instruction input to the print execution button 54 has been received (S112). When determining that an instruction input to the print execution button 54 has been received (S112: YES), the CPU 11 executes print job generation processing (S113). The print job generation process is a process of generating a print job and inputting an execution command for executing the generated print job to the printer control module 43 . An instruction input to the print execution button 54 when the number of divisions is two or more is an example of an instruction to execute split printing processing.

なお、印刷対象のオブジェクトが1つも指定されておらず、プレビュー表示中ではない状態で印刷実行ボタン54への指示入力を受け付けた場合には、印刷対象の画像が未設定であることを示すメッセージを表示させて、印刷ジョブ生成処理を実行しないとしても良い。また、プレビュー表示中でなければ印刷実行ボタン54への指示入力を受け付けない構成としても良い。 Note that if an instruction input to the print execution button 54 is accepted in a state where no object to be printed is specified and the preview is not being displayed, a message indicating that the image to be printed has not been set is displayed. may be displayed and the print job generation process may not be executed. Further, it may be configured such that an instruction input to the print execution button 54 is not accepted unless the preview is being displayed.

印刷ジョブ生成処理の手順について、図6のフローチャートを参照して説明する。印刷ジョブ生成処理では、CPU11は、印刷対象の画像の画像データを示す情報を生成してメモリに保存する(S202)。RAM13は、CPU11がデータの保存に用いるメモリの一例である。保存の対象となる画像データは、分割された部分画像を示す画像データではなく、分割前の対象画像を示す画像データである。 The procedure of print job generation processing will be described with reference to the flowchart of FIG. In the print job generation process, the CPU 11 generates information indicating image data of an image to be printed, and stores the information in the memory (S202). The RAM 13 is an example of memory used by the CPU 11 to store data. The image data to be saved is not the image data representing the divided partial images, but the image data representing the target image before division.

なお、S202で保存される情報は、画像データそのものでなくても良い。例えば、画像データを記憶する記憶領域を示す情報であっても良い。画像データがインターネット上にある場合には、その保存先を示すURLであっても良い。プリンタ制御モジュール43が、その情報に基づいて画像データを特定できる情報であればよい。 Note that the information saved in S202 may not be the image data itself. For example, it may be information indicating a storage area for storing image data. If the image data is on the Internet, it may be a URL indicating the storage destination. Any information that allows the printer control module 43 to identify the image data based on the information may be used.

そして、CPU11は、画像データを示す情報に、指示受付画面50にて選択されているプリンタ2の情報、設定されている用紙の情報、各種の印刷設定を示す情報などを加え、印刷ジョブを生成する(S203)。用紙の情報には、テープ幅を含むテープ種の情報と、分割数の情報とが含まれる。なお、印刷ジョブに含まれるテープ幅の情報と分割数の情報とは、互いに独立した情報である。 Then, the CPU 11 adds information about the printer 2 selected on the instruction acceptance screen 50, information about the set paper, information indicating various print settings, etc. to the information indicating the image data, and generates a print job. (S203). The paper information includes tape type information including tape width and division number information. Note that the tape width information and the division number information included in the print job are information independent of each other.

さらに、CPU11は、生成した印刷ジョブを実行させる実行コマンドをプリンタ制御モジュール43に入力する(S204)。分割数が2以上である場合のS204は、実行コマンド入力処理の一例である。印刷ジョブに含まれる画像データを示す情報は、画像情報の一例であり、当該情報によって示される画像データは、対象画像データの一例である。また、印刷ジョブに含まれるテープ種の情報は、幅設定データの一例であり、印刷ジョブに含まれる分割数の情報は、分割数設定データの一例である。 Further, the CPU 11 inputs an execution command for executing the generated print job to the printer control module 43 (S204). S204 when the number of divisions is 2 or more is an example of execution command input processing. Information indicating image data included in a print job is an example of image information, and image data indicated by the information is an example of target image data. The tape type information included in the print job is an example of width setting data, and the division number information included in the print job is an example of division number setting data.

S204の後、CPU11は、プリンタ制御モジュール43からエラーコマンドを受け付けたか否かを判断する(S205)。エラーコマンドを受け付けたと判断した場合(S205:YES)、CPU11は、受け付けたエラーコマンドに含まれるエラーの情報が分割エラーを示す情報であるか否かを判断する(S206)。分割エラーを示す情報であると判断した場合(S206:YES)、CPU11は、分割エラーへの対処方法を示す対処コマンドを決定して(S207)、決定した対処コマンドをプリンタ制御モジュール43に入力する(S208)。 After S204, the CPU 11 determines whether an error command has been received from the printer control module 43 (S205). When determining that an error command has been received (S205: YES), the CPU 11 determines whether or not the error information included in the received error command is information indicating a division error (S206). If it is determined that the information indicates a division error (S206: YES), the CPU 11 determines a coping command indicating a coping method for the division error (S207), and inputs the determined coping command to the printer control module 43. (S208).

プリンタ制御モジュール43は、S204にて入力された印刷ジョブに基づいて印刷用データを生成し、プリンタ2に送信する。プリンタ制御モジュール43による印刷用データの生成過程やプリンタ2による印刷実行過程で、エラーが発生する可能性がある。エラーとしては、例えば、スプリット印刷の分割エラー、プリンタ2のテープ切れ、印刷ジョブとプリンタ2とのテープ種の不一致、がある。 The printer control module 43 generates print data based on the print job input in S<b>204 and transmits the print data to the printer 2 . An error may occur in the process of generating print data by the printer control module 43 or in the process of executing printing by the printer 2 . Errors include, for example, split printing division error, printer 2 running out of tape, and tape type mismatch between the print job and the printer 2 .

分割エラーは、スプリット印刷における画像データのサイズと分割数との関係が、適切な分割が困難な関係であることを示すエラーである。プリンタ制御モジュール43は、受け付けた印刷ジョブにスプリット印刷が含まれている場合であって、分割エラーであると判断した場合に、分割エラーの情報を含むエラーコマンドを、画面制御モジュール42に返す。プリンタ制御モジュール43の処理については、後述する。 A division error is an error indicating that the relationship between the size of image data and the number of divisions in split printing is such that proper division is difficult. The printer control module 43 returns an error command including split error information to the screen control module 42 when split printing is included in the received print job and the division error is determined. Processing of the printer control module 43 will be described later.

なお、分割エラーには複数の種類が有り、それぞれの分割エラーに対して対処コマンドは複数有る。対処コマンドとしては、例えば、印刷中止、画像の一部削除、画像の拡縮がある。CPU11は、例えば、画像を編集中のユーザのユーザ名や印刷対象の画像の枚数等に基づいて、印刷ジョブごとに対処コマンドを決定しても良い。あるいは、分割エラーの種類ごとに予め決定した対処コマンドを不揮発性メモリ14に記憶しておき、S207では、CPU11は、記憶している対処コマンドを読み出しても良い。また、分割エラーの発生時にユーザによる対処方法の選択を受け付け、ユーザの選択に基づいて対処コマンドを決定しても良い。分割エラーと対処コマンドの詳細については後述する。 Note that there are multiple types of division errors, and multiple coping commands for each division error. The coping commands include, for example, canceling printing, deleting a part of the image, and scaling the image. The CPU 11 may determine a handling command for each print job based on, for example, the user name of the user who is editing the image, the number of images to be printed, and the like. Alternatively, countermeasure commands determined in advance for each type of division error may be stored in the nonvolatile memory 14, and in S207, the CPU 11 may read out the stored countermeasure commands. Alternatively, when a division error occurs, a user's selection of a coping method may be accepted, and a coping command may be determined based on the user's selection. Details of division errors and coping commands will be described later.

一方、分割エラーではないと判断した場合(S206:NO)、CPU11は、ディスプレイ19を制御して、エラーの内容に応じたエラーメッセージを表示させる(S209)。分割エラー以外のエラーについては、従来と同様の処理とすればよく、ここでは説明を省略する。 On the other hand, when determining that it is not a division error (S206: NO), the CPU 11 controls the display 19 to display an error message according to the content of the error (S209). Errors other than the division error may be processed in the same manner as in the conventional art, and description thereof will be omitted here.

S208またはS209の後、CPU11は、プリンタ制御モジュール43から処理中止の情報が入力されたか否かを判断する(S210)。対処コマンドとして印刷処理を中止させるコマンドが送信された場合、プリンタ制御モジュール43は、処理を中止する。また、エラーが解消されない場合やプリンタ2にてユーザから印刷をキャンセルする指示を受け付けた場合に、プリンタ制御モジュール43は、処理を中止する場合がある。そして、プリンタ制御モジュール43は、処理を中止する場合には、中止の情報を画面制御モジュール42に入力する。 After S208 or S209, the CPU 11 determines whether or not information to stop processing has been input from the printer control module 43 (S210). When a command to stop the printing process is sent as the countermeasure command, the printer control module 43 stops the process. Further, if the error is not resolved or if the printer 2 receives an instruction to cancel printing from the user, the printer control module 43 may stop processing. When the printer control module 43 cancels the process, the printer control module 43 inputs cancellation information to the screen control module 42 .

プリンタ制御モジュール43から中止の情報が入力されたと判断した場合(S210:YES)、CPU11は、印刷ジョブ生成処理を終了して、画面制御処理に戻る。エラーを受信していないと判断した場合(S205:NO)、または、中止の情報が入力されていないと判断した場合(S210:NO)、CPU11は、プリンタ制御モジュール43から印刷終了の情報を受信したか否かを判断する(S211)。印刷終了を受信していないと判断した場合(S211:NO)、CPU11は、S205に戻り、エラーまたは印刷終了を受信するまで待機する。印刷終了を受信したと判断した場合(S211:YES)、CPU11は、印刷ジョブ生成処理を終了して、画面制御処理に戻る。 If it is determined that information for canceling has been input from the printer control module 43 (S210: YES), the CPU 11 ends the print job generation process and returns to the screen control process. If it is determined that an error has not been received (S205: NO), or if it is determined that information for canceling has not been input (S210: NO), the CPU 11 receives information for printing end from the printer control module 43. It is determined whether or not (S211). If it is determined that the print end has not been received (S211: NO), the CPU 11 returns to S205 and waits until an error or print end is received. When determining that the print end has been received (S211: YES), the CPU 11 ends the print job generation process and returns to the screen control process.

図3の画面制御処理の説明に戻り、印刷実行ボタン54への指示入力を受け付けていないと判断した場合(S112:NO)、CPU11は、終了指示を受け付けたか否かを判断する(S114)。終了指示を受け付けていないと判断した場合(S114:NO)、または、S113の印刷ジョブ生成処理の後、または、S111のプレビュー表示の後、CPU11は、S102に戻り、各種の指示入力を受け付ける。終了指示を受け付けたと判断した場合(S114:YES)、CPU11は、画面制御処理を終了する。 Returning to the description of the screen control process in FIG. 3, when determining that an instruction input to the print execution button 54 has not been received (S112: NO), the CPU 11 determines whether or not an end instruction has been received (S114). If it is determined that the end instruction has not been received (S114: NO), or after the print job generation process of S113 or after the preview display of S111, the CPU 11 returns to S102 and receives various instruction inputs. When determining that the end instruction has been received (S114: YES), the CPU 11 ends the screen control process.

次に、プリンタ制御モジュール43によって実行されるプリンタ制御処理の手順について、図7のフローチャートを参照して説明する。このプリンタ制御処理は、例えば、前述した印刷ジョブ生成処理のS204にて入力される実行コマンドを受け付けたことを契機に、PC1のCPU11にて実行される。なお、プリンタ制御処理の実行契機となる実行コマンドは、ラベル作成アプリ40の画面制御モジュール42から入力されるものに限らない。プリンタ制御モジュール43は、プリンタ2にて印刷を実行させる各種のプログラムから印刷ジョブを含む実行コマンドを受け付け、受け付けた印刷ジョブに基づいて、プリンタ制御処理を実行する。 Next, the procedure of printer control processing executed by the printer control module 43 will be described with reference to the flowchart of FIG. This printer control process is executed by the CPU 11 of the PC 1 when, for example, an execution command input in S204 of the print job generation process described above is received. Note that the execution command that triggers execution of the printer control process is not limited to that input from the screen control module 42 of the label creation application 40 . The printer control module 43 receives execution commands including print jobs from various programs that cause the printer 2 to execute printing, and executes printer control processing based on the received print jobs.

プリンタ制御モジュール43に入力される実行コマンドには、例えば、スプリット印刷の印刷ジョブが含まれる。プリンタ制御モジュール43にて、スプリット印刷の印刷ジョブを含む実行コマンドを受け付ける処理は、コマンド受付処理の一例である。スプリット印刷の印刷ジョブには、印刷対象の画像データを示す情報と、印刷媒体の幅を示す情報と、スプリット印刷の分割数を示す情報と、が含まれる。実行コマンドにスプリット印刷の印刷ジョブが含まれる場合、印刷ジョブに含まれる情報のうち、印刷対象の画像データを示す情報は、画像情報の一例であり、印刷媒体の幅を示す情報は、幅設定データの一例であり、スプリット印刷の分割数を示す情報は、分割数設定データの一例である。 The execution command input to the printer control module 43 includes, for example, a print job for split printing. The process of receiving an execution command including a print job of split printing in the printer control module 43 is an example of the command receiving process. A print job for split printing includes information indicating image data to be printed, information indicating the width of the print medium, and information indicating the number of divisions for split printing. When the execution command includes a print job for split printing, among the information included in the print job, the information indicating the image data to be printed is an example of image information, and the information indicating the width of the print medium is the width setting. Information indicating the division number of split printing is an example of data, and an example of division number setting data.

印刷対象の画像データを示す情報は、画像データが保存されるメモリ内の記憶領域の先頭アドレスでも良いし、画像データを含むファイルを示す識別情報であっても良い。画像データは、ベクタデータでもラスタデータでも良い。印刷媒体の幅を示す情報は、テープ幅の数値を示す情報でも良いし、テープの種類を示す識別情報でも良い。スプリット印刷の分割数を示す情報は、例えば、1以上の数値である。プリンタ制御モジュール43は、印刷媒体の幅を示す情報と、スプリット印刷の分割数を示す情報とを、互いに独立したデータとして受け取る。 The information indicating the image data to be printed may be the top address of the storage area in the memory in which the image data is saved, or may be identification information indicating the file containing the image data. The image data may be vector data or raster data. The information indicating the width of the print medium may be information indicating the numerical value of the tape width, or may be identification information indicating the type of tape. The information indicating the division number of split printing is, for example, a numerical value of 1 or more. The printer control module 43 receives information indicating the width of the print medium and information indicating the number of divisions for split printing as independent data.

プリンタ制御処理では、CPU11は、印刷対象の画像データをメモリに保存する(S302)。例えば、画面制御モジュール42から実行コマンドを受け付けた場合、CPU11は、印刷ジョブ生成処理のS204にて入力された印刷ジョブに含まれる画像データをメモリに保存する。 In the printer control process, the CPU 11 stores image data to be printed in the memory (S302). For example, when receiving an execution command from the screen control module 42, the CPU 11 saves in the memory image data included in the print job input in S204 of the print job generation process.

次に、CPU11は、メモリから画像データを読み出して印刷用データを生成する。CPU11は、印刷用データの生成に必要な画像データが、所定の記憶領域にキャッシュされているか否かを判断する(S303)。CPU11が備えるバッファ(不図示)は、キャッシュに用いられる記憶領域の一例である。キャッシュされていないと判断した場合には(S303:NO)、CPU11は、S302にて保存した画像データをメモリから読み出してキャッシュする(S304)。キャッシュされていると判断した場合には(S303:YES)、CPU11は、所定の記憶領域からキャッシュされている画像データを読み出す(S305)。画像データをキャッシュすることで、スプリット印刷の印刷ジョブのように同じ画像データを繰り返して使用する場合に、画像データを読み出す時間を短縮できる。 Next, the CPU 11 reads the image data from the memory and generates print data. The CPU 11 determines whether image data necessary for generating print data is cached in a predetermined storage area (S303). A buffer (not shown) provided in the CPU 11 is an example of a storage area used for cache. When determining that the image data is not cached (S303: NO), the CPU 11 reads the image data saved in S302 from the memory and caches it (S304). When determining that the image data is cached (S303: YES), the CPU 11 reads out the cached image data from the predetermined storage area (S305). By caching the image data, it is possible to reduce the time required to read the image data when the same image data is used repeatedly, such as in a print job of split printing.

S304またはS305の後、CPU11は、実行中の印刷ジョブの分割数が、2より小さいか否かを判断する(S306)。分割数が2より小さい場合には、スプリット印刷ではないので、画像を分割せず、画像の全体を1つのラベルに印刷させる。つまり、分割数が2より小さいと判断した場合(S306:YES)、CPU11は、読み出した画像データを二値化して、二値画像データを取得し(S307)、さらに、二値画像データをラスタライズして印刷用データを生成する(S308)。プリンタ2が複数の階調を印刷できるものであれば、CPU11は、二値画像データに代えて階調画像データに基づく印刷用データを生成しても良い。 After S304 or S305, the CPU 11 determines whether the number of divisions of the print job being executed is less than 2 (S306). If the number of divisions is smaller than 2, it is not split printing, so the image is not divided and the entire image is printed on one label. That is, when determining that the number of divisions is smaller than 2 (S306: YES), the CPU 11 binarizes the read image data to obtain binary image data (S307), and further rasterizes the binary image data. to generate print data (S308). If the printer 2 can print multiple gradations, the CPU 11 may generate print data based on gradation image data instead of binary image data.

さらに、CPU11は、生成した印刷用データに、印刷媒体の情報、印刷設定等を付加して印刷コマンドを生成する(S309)。そして、CPU11は、PC1のネットワークIF16またはUSB-IF17を制御して、図2に示したように、生成した印刷コマンドをプリンタ2に送信させ(S310)、プリンタ制御処理を終了する。 Further, the CPU 11 adds information about the print medium, print settings, etc. to the generated print data to generate a print command (S309). Then, the CPU 11 controls the network IF 16 or USB-IF 17 of the PC 1 to transmit the generated print command to the printer 2 (S310) as shown in FIG. 2, and terminates the printer control process.

なお、プリンタ制御モジュール43からプリンタ2への印刷コマンドの送信は、PC1からプリンタ2へ直接送信するものに限らず、中継する装置を介しても良い。例えば、プリンタ2が印刷サーバ等に接続され、印刷サーバ経由で信号を受け付ける構成であってもよい。その場合、PC1は、印刷サーバに印刷コマンドを送信し、プリンタ2への印刷コマンドの送信を印刷サーバに依頼する。 The transmission of the print command from the printer control module 43 to the printer 2 is not limited to direct transmission from the PC 1 to the printer 2, but may be via a relay device. For example, the printer 2 may be connected to a print server or the like and receive signals via the print server. In that case, the PC 1 transmits a print command to the print server and requests the print server to transmit the print command to the printer 2 .

一方、分割数が2以上であると判断した場合(S306:NO)、CPU11は、分割画像データ生成処理を実行する(S312)。分割数が2以上である場合には、CPU11は、スプリット印刷を行う。分割画像データ生成処理は、スプリット印刷の対象である画像データに対し、画像データの一部分を切り出して印刷対象の画像データを生成する処理である。分割画像データ生成処理は、スプリット画像データ生成処理の一例である。分割画像データ生成処理の手順について、図8のフローチャートを参照して説明する。 On the other hand, when determining that the number of divisions is 2 or more (S306: NO), the CPU 11 executes division image data generation processing (S312). If the number of divisions is 2 or more, the CPU 11 performs split printing. The split image data generation process is a process for generating image data to be printed by cutting out a portion of the image data to be split printed. Split image data generation processing is an example of split image data generation processing. The procedure of the divided image data generation process will be described with reference to the flowchart of FIG.

分割画像データ生成処理では、CPU11は、まず、分割数が上限を超えているか否かを判断する(S401)。プリンタ制御モジュール43では、分割数に上限を設け、現実的ではないほど多数の分割を行わないようにしている。分割数の上限は、例えば、実行コマンドに付加して画面制御モジュール42から受け付けても良いし、プリンタ制御モジュール43に予め設定されていても良い。本形態のプリンタ制御モジュール43は、上限を例えば1000とする。 In the divided image data generation process, the CPU 11 first determines whether or not the number of divisions exceeds the upper limit (S401). The printer control module 43 sets an upper limit on the number of divisions so that an unrealistically large number of divisions is not performed. The upper limit of the number of divisions may be added to the execution command and received from the screen control module 42, or may be preset in the printer control module 43, for example. The printer control module 43 of this embodiment sets the upper limit to 1000, for example.

分割数が上限を超えていないと判断した場合(S401:NO)、CPU11は、画像データの幅方向の大きさを取得する(S402)。本形態では、図5に示したように、画像データを幅方向に分割する。幅方向に分割する場合の画像データの幅方向の大きさは、画像データの分割方向のサイズの一例である。なお、画像データの大きさは、画像データに基づく印刷用データのドット数に対応する。CPU11は、画像データがラスタデータであれば、画像データのドット数に基づいて画像データの大きさを取得し、画像データがベクタデータであれば、画像データをラスタライズしたデータに基づいて画像データの大きさを取得する。 When determining that the number of divisions does not exceed the upper limit (S401: NO), the CPU 11 acquires the size of the image data in the width direction (S402). In this embodiment, as shown in FIG. 5, image data is divided in the width direction. The size of the image data in the width direction when the image data is divided in the width direction is an example of the size of the image data in the division direction. Note that the size of the image data corresponds to the number of dots of print data based on the image data. If the image data is raster data, the CPU 11 acquires the size of the image data based on the number of dots in the image data. get the size.

そして、CPU11は、画像データの幅方向の大きさを、印刷ジョブに設定されている分割数で割る(S403)。CPU11は、画像データの大きさを分割数で割った商が1以上であるか否かを判断する(S404)。 Then, the CPU 11 divides the size of the image data in the width direction by the number of divisions set in the print job (S403). The CPU 11 determines whether the quotient obtained by dividing the size of the image data by the number of divisions is 1 or more (S404).

商が1以上ではないと判断した場合(S404:NO)、CPU11は、サイズ超エラー処理を実行する(S405)。商が1未満であるとは、画像データの幅方向の大きさが分割数よりも小さいことを意味する。この場合、幅方向の1ドット分の画像を1つのテープに印刷したとしても、画像全体のテープ数が分割数より小さく適切な分割とならないため、CPU11は、商が1未満である場合、分割エラーであると判断する。例えば、画像データの幅方向の大きさが200であって、分割数が300である場合が該当する。本形態では、1つの画像データを分割可能な最大の分割数は、画像データの幅方向の大きさである。分割可能な最大の分割数は、最大の分割可能数の一例である。 If it is determined that the quotient is not equal to or greater than 1 (S404: NO), the CPU 11 executes oversize error processing (S405). A quotient of less than 1 means that the size of the image data in the width direction is smaller than the number of divisions. In this case, even if an image for one dot in the width direction is printed on one tape, the number of tapes for the entire image is smaller than the number of divisions, and appropriate division is not achieved. Judge it as an error. For example, the size of the image data in the width direction is 200, and the number of divisions is 300. In this embodiment, the maximum number of divisions into which one piece of image data can be divided is the size of the image data in the width direction. The maximum divisible number of divisions is an example of the maximum divisible number.

サイズ超エラー処理の手順について、図9のフローチャートを参照して説明する。CPU11は、サイズ超エラーが発生したことを示す情報であるサイズ超エラーコマンドを、今回のプリンタ制御処理の実行契機となった実行コマンドを出力したプログラムに入力する(S501)。 The procedure of the size exceeded error processing will be described with reference to the flowchart of FIG. The CPU 11 inputs an over-size error command, which is information indicating that an over-size error has occurred, to the program that output the execution command that triggered execution of the current printer control process (S501).

今回の実行契機が、画面制御モジュール42であれば、CPU11は、サイズ超エラーコマンドを画面制御モジュール42に入力する。S501は、サイズ超エラー入力処理の一例である。これにより、画面制御モジュール42は、前述した図6の印刷ジョブ生成処理のS206にて分割エラーの1つであるサイズ超エラーが発生したと判断し、S209にてプリンタ制御モジュール43に対処コマンドを入力する。この場合、入力される対処コマンドは、サイズ超エラー対処コマンドの一例であり、S209は、サイズ超エラー対処コマンド入力処理の一例である。 If the execution trigger this time is the screen control module 42 , the CPU 11 inputs an oversize error command to the screen control module 42 . S501 is an example of over-size error input processing. As a result, the screen control module 42 determines that an over-size error, which is one of division errors, has occurred in S206 of the print job generation process of FIG. input. In this case, the countermeasure command to be input is an example of an oversize error countermeasure command, and S209 is an example of an oversize error countermeasure command input process.

図9のサイズ超エラー処理では、CPU11は、S501にて入力したエラーコマンドに対する対処を示す対処コマンドを受信する(S502)。本形態のプリンタ制御モジュール43は、サイズ超エラーに対する対策処理として、印刷の中止と画像の引き伸ばしとの2種類の対策処理を備えている。CPU11は、S502にて受信した対処コマンドに基づいて、いずれの対策処理を実行するかを決定する。 In the oversize error process of FIG. 9, the CPU 11 receives a countermeasure command indicating countermeasures for the error command input in S501 (S502). The printer control module 43 of the present embodiment has two types of countermeasures against an oversize error: stopping printing and enlarging an image. The CPU 11 determines which countermeasure process to execute based on the countermeasure command received in S502.

CPU11は、受信した対処コマンドが印刷の中止を示すコマンドであるか否かを判断する(S503)。印刷の中止を示すコマンドであると判断した場合(S503:YES)、CPU11は、サイズ超エラー処理を終了して、分割画像データ生成処理に戻る。 The CPU 11 determines whether the received coping command is a command to stop printing (S503). If it is determined that the command indicates to stop printing (S503: YES), the CPU 11 terminates the oversize error process and returns to the divided image data generation process.

一方、印刷の中止を示すコマンドではないと判断した場合(S503:NO)、CPU11は、ディスプレイ19を制御して、警告メッセージを表示させる(S504)。例えば、CPU11は、画像データの幅方向の大きさが分割数に満たないため、引き伸ばした画像を印刷することを警告するメッセージを表示させる。 On the other hand, if the CPU 11 determines that the command is not a command to stop printing (S503: NO), the CPU 11 controls the display 19 to display a warning message (S504). For example, since the size of the image data in the width direction is less than the number of divisions, the CPU 11 displays a message warning that an enlarged image will be printed.

さらに、CPU11は、元の画像データの幅方向の大きさを引き伸ばした画像データを生成する(S505)。S505は、拡張処理の一例である。CPU11は、分割数にて分割可能な大きさ以上となるまで画像データを幅方向に引き伸ばす。CPU11は、例えば、画像データの幅方向を分割可能な最大の分割数が、実行コマンドに含まれる分割数となる最小の大きさまで引き伸ばす。引き伸ばす処理として、CPU11は、例えば、空白データの追加、画像全体の拡大、を実行する。CPU11は、画像データを長さ方向にも引き伸ばしても良い。S505にて生成される画像データは、拡張画像データの一例である。そして、CPU11は、サイズ超エラー処理を終了して、分割画像データ生成処理に戻る。 Further, the CPU 11 generates image data by enlarging the size of the original image data in the width direction (S505). S505 is an example of expansion processing. The CPU 11 stretches the image data in the width direction until it reaches a size that can be divided by the number of divisions. For example, the CPU 11 expands the image data to the minimum size in which the maximum number of divisions that can be divided in the width direction of the image data becomes the number of divisions included in the execution command. As the stretching process, the CPU 11 executes, for example, addition of blank data and enlargement of the entire image. The CPU 11 may also stretch the image data in the length direction. The image data generated in S505 is an example of extended image data. Then, the CPU 11 terminates the oversize error process and returns to the divided image data generation process.

図8の分割画像データ生成処理の説明に戻り、画像データの大きさを分割数で割った商が1以上であると判断した場合(S404:YES)、CPU11は、余りがあるか否かを判断する(S406)。余りがあると判断した場合(S406:YES)、CPU11は、分割不能エラー処理を実行する(S407)。余りがあるとは、画像データの幅方向の大きさが、分割数の倍数ではなく、均等に分割できないことを意味する。この場合、そのままでは均等に分割できないことから、CPU11は、余りがある場合、分割エラーであると判断する。例えば、画像データの幅方向の大きさが100であって、分割数が3である場合が該当する。この場合、100を3で割った余りである1ドット分に対応する画像データが、余剰量分の画像データである。 Returning to the description of the divided image data generation process in FIG. 8, when determining that the quotient obtained by dividing the size of the image data by the number of divisions is 1 or more (S404: YES), the CPU 11 determines whether there is a remainder. It judges (S406). If it is determined that there is a remainder (S406: YES), the CPU 11 executes indivisible error processing (S407). The remainder means that the size of the image data in the width direction is not a multiple of the number of divisions and cannot be divided evenly. In this case, since it cannot be divided equally as it is, the CPU 11 determines that there is a division error when there is a remainder. For example, the size of the image data in the width direction is 100, and the number of divisions is 3. In this case, the image data corresponding to one dot, which is the remainder obtained by dividing 100 by 3, is the image data for the surplus amount.

分割不能エラー処理の手順について、図10のフローチャートを参照して説明する。CPU11は、分割不能エラーが発生したことを示す情報である分割不能エラーコマンドを、今回のプリンタ制御処理の実行契機となった実行コマンドを出力したプログラムに入力する(S601)。 The procedure of the indivisibility error processing will be described with reference to the flowchart of FIG. The CPU 11 inputs an indivisible error command, which is information indicating that an indivisible error has occurred, to the program that output the execution command that triggered the execution of the current printer control process (S601).

今回の実行契機が、画面制御モジュール42であれば、CPU11は、分割不能エラーコマンドを画面制御モジュール42に入力する。S601は、分割不能エラー入力処理の一例である。これにより、画面制御モジュール42は、前述した図6の印刷ジョブ生成処理のS206にて分割エラーの1つである分割不能エラーが発生したと判断し、S209にてプリンタ制御モジュール43に対処コマンドを入力する。この場合、入力される対処コマンドは、分割不能エラー対処コマンドの一例であり、S209は、分割不能エラー対処コマンド入力処理の一例である。 If the current execution trigger is the screen control module 42 , the CPU 11 inputs an undividable error command to the screen control module 42 . S601 is an example of an indivisible error input process. As a result, the screen control module 42 determines that an undividable error, which is one of the division errors, has occurred in S206 of the print job generation process of FIG. input. In this case, the countermeasure command to be input is an example of an undividable error countermeasure command, and S209 is an example of an indivisible error countermeasure command input process.

図10の分割不能エラー処理では、CPU11は、S601にて入力したエラーコマンドに対する対処を示す対処コマンドを受信する(S602)。本形態のプリンタ制御モジュール43は、分割不能エラーに対する対策処理として、印刷の中止と画像の一部削除と画像の引き伸ばしとの3種類の対策処理を備えている。CPU11は、S602にて受信した対処コマンドに基づいて、いずれの対策処理を実行するかを決定する。 In the indivisible error process of FIG. 10, the CPU 11 receives a countermeasure command indicating countermeasures for the error command input in S601 (S602). The printer control module 43 of the present embodiment has three kinds of countermeasures against an indivisible error, that is, stopping printing, deleting a part of an image, and enlarging an image. The CPU 11 determines which countermeasure process to execute based on the countermeasure command received in S602.

CPU11は、受信した対処コマンドが印刷の中止を示すコマンドであるか否かを判断する(S603)。印刷の中止を示すコマンドであると判断した場合(S603:YES)、CPU11は、分割不能エラー処理を終了して、分割画像データ生成処理に戻る。 The CPU 11 determines whether the received command is a command to stop printing (S603). If it is determined that the command indicates to stop printing (S603: YES), the CPU 11 terminates the undividable error process and returns to the divided image data generation process.

一方、印刷の中止を示すコマンドではないと判断した場合(S603:NO)、CPU11は、受信した対処コマンドが画像の一部削除を示すコマンドであるか否かを判断する(S604)。画像の一部削除を示すコマンドであると判断した場合(S604:YES)、CPU11は、ディスプレイ19を制御して、警告メッセージを表示させる(S605)。例えば、CPU11は、画像データの幅方向の大きさが分割数で均等に分割できないため、余り分を削除して印刷することを警告するメッセージを表示させる。 On the other hand, if the CPU 11 determines that the received command is not a command to stop printing (S603: NO), the CPU 11 determines whether the received command is a command to partially delete the image (S604). If it is determined that the command indicates partial deletion of the image (S604: YES), the CPU 11 controls the display 19 to display a warning message (S605). For example, since the size of the image data in the width direction cannot be evenly divided by the number of divisions, the CPU 11 displays a warning message to delete the remainder before printing.

さらに、CPU11は、余りに相当する部分の画像データを削除する(S606)。S606は、削除処理の一例である。画像の一部削除の処理として、CPU11は、例えば、画像の上端または下端から余りに相当する部分を削除した画像データを生成する。S606にて生成される画像データは、一部削除画像データの一例である。 Further, the CPU 11 deletes the image data corresponding to the excess (S606). S606 is an example of deletion processing. As part of the image deletion process, the CPU 11, for example, generates image data in which a portion excessively corresponding to the upper end or the lower end of the image is deleted. The image data generated in S606 is an example of partially deleted image data.

画像の一部削除を示すコマンドではないと判断した場合(S604:NO)、CPU11は、ディスプレイ19を制御して、警告メッセージを表示させる(S607)。例えば、CPU11は、画像データの幅方向の大きさが分割数で均等に分割できないため、引き伸ばした画像を印刷することを警告するメッセージを表示させる。 If it is determined that the command does not indicate partial deletion of the image (S604: NO), the CPU 11 controls the display 19 to display a warning message (S607). For example, the CPU 11 displays a message warning that an enlarged image will be printed because the size of the image data in the width direction cannot be evenly divided by the number of divisions.

さらに、CPU11は、元の画像データの幅方向の大きさを引き伸ばした画像データを生成する(S608)。S608は、余剰分拡張処理の一例である。CPU11は、余りが出ない大きさとなるまで画像データを幅方向に引き伸ばす。CPU11は、例えば、画像データの幅方向の大きさを均等に分割できる最小の大きさまで引き伸ばす。引き伸ばす処理として、CPU11は、例えば、空白データの追加、画像全体の拡大、を実行する。CPU11は、画像データを長さ方向にも引き伸ばしても良い。S607にて生成される画像データは、余剰分拡張画像データの一例である。S606またはS608の後、CPU11は、分割不能エラー処理を終了して、分割画像データ生成処理に戻る。 Further, the CPU 11 generates image data by enlarging the size of the original image data in the width direction (S608). S608 is an example of surplus extension processing. The CPU 11 stretches the image data in the width direction until the size is such that there is no remainder. For example, the CPU 11 expands the size of the image data in the width direction to the minimum size that can be divided equally. As the stretching process, the CPU 11 executes, for example, addition of blank data and enlargement of the entire image. The CPU 11 may also stretch the image data in the length direction. The image data generated in S607 is an example of surplus extended image data. After S606 or S608, the CPU 11 ends the division impossible error processing and returns to the divided image data generation processing.

なお、サイズ超エラー処理のS504、分割不能エラー処理のS605、S607にて警告メッセージを表示させた後、処理を継続するか否かをユーザに問い合わせてもよい。そして、継続する指示を受け付けた場合に画像データを生成するとしても良い。 After the warning message is displayed in S504 for the oversize error process and S605 and S607 for the undividable error process, the user may be asked whether to continue the process. Then, image data may be generated when an instruction to continue is received.

図8の分割画像データ生成処理の説明に戻り、S405のサイズ超エラー処理やS407の分割不能エラー処理にて、印刷を中止すると決定したか否かを判断する(S408)。印刷を中止すると決定したと判断した場合(S408:YES)、または、分割数が上限を超えていると判断した場合(S401:YES)、CPU11は、印刷中止の情報を今回のプリンタ制御処理の実行契機となった実行コマンドを出力したプログラムに入力し(S409)、分割画像データ生成処理を終了して、プリンタ制御処理に戻る。 Returning to the description of the divided image data generation processing in FIG. 8, it is determined whether or not it is decided to stop printing in the over-size error processing in S405 and the undividable error processing in S407 (S408). If it is determined that printing is to be stopped (S408: YES), or if it is determined that the number of divisions exceeds the upper limit (S401: YES), the CPU 11 transfers the printing stop information to the current printer control process. The execution command that triggered the execution is input to the output program (S409), the divided image data generation process is terminated, and the process returns to the printer control process.

今回の実行契機が、画面制御モジュール42であれば、CPU11は、印刷中止の情報を画面制御モジュール42に入力する。画面制御モジュール42は、プリンタ制御モジュール43から印刷中止の情報を受信した場合、前述した図6の印刷ジョブ生成処理のS210にてYESと判断する。 If the execution trigger of this time is the screen control module 42 , the CPU 11 inputs to the screen control module 42 the information to stop printing. When the screen control module 42 receives the print cancellation information from the printer control module 43, the screen control module 42 determines YES in S210 of the print job generation process in FIG.

一方、余りがないと判断した場合(S406:NO)、または、印刷を中止しないと決定したと判断した場合(S408:NO)、CPU11は、元の画像データから各印刷領域に対応する画像データを切り出す(S410)。CPU11は、元の画像データ、または、サイズ超エラー処理や分割不能エラー処理にて生成した画像データから、印刷対象の領域の画像データを切り出して、各部分画像の画像データを生成し、生成した各部分画像の画像データをメモリに保存する。S410にて生成される部分画像の画像データは、スプリット画像データの一例である。さらに、CPU11は、分割画像データ生成処理を終了して、プリンタ制御処理に戻る。 On the other hand, if it is determined that there is no remainder (S406: NO), or if it is determined that printing is not to be canceled (S408: NO), the CPU 11 extracts image data corresponding to each print area from the original image data. is cut out (S410). The CPU 11 cuts out the image data of the area to be printed from the original image data or the image data generated by the oversize error process or the undividable error process, and generates the image data of each partial image. Image data of each partial image is stored in memory. The image data of the partial image generated in S410 is an example of split image data. Further, the CPU 11 ends the divided image data generation process and returns to the printer control process.

図7のプリンタ制御処理の説明に戻り、S312の分割画像データ生成処理の後、印刷を中止したか否かを判断する(S313)。印刷を中止しないと判断した場合(S313:NO)、CPU11は、分割画像データ生成処理のS410にて切り出した各画像データに対して順に、S307~S310と同様の処理を実行する。つまり、CPU11は、画像データを二値化し(S314)、ラスタライズして(S315)、印刷データを生成し(S316)、生成した印刷データを含む印刷コマンドをプリンタ2に送信する(S317)。S317は、スプリット画像データ送信処理の一例である。 Returning to the description of the printer control process in FIG. 7, after the divided image data generation process of S312, it is determined whether printing has been stopped (S313). If it is determined not to stop printing (S313: NO), the CPU 11 sequentially executes the same processes as S307 to S310 for each image data cut out in S410 of the divided image data generation process. That is, the CPU 11 binarizes the image data (S314), rasterizes it (S315), generates print data (S316), and transmits a print command including the generated print data to the printer 2 (S317). S317 is an example of split image data transmission processing.

そして、CPU11は、分割画像データ生成処理にて切り出した全ての画像データについて処理が終了したか否かを判断する(S318)。終了していないと判断した場合(S318:NO)、CPU11は、次の画像データについて、S314~S317を実行する。終了したと判断した場合(S318:YES)、または、印刷を中止したと判断した場合(S313:YES)、CPU11は、プリンタ制御処理を終了する。 Then, the CPU 11 determines whether all the image data cut out in the divided image data generation process have been processed (S318). When determining that the processing has not ended (S318: NO), the CPU 11 executes S314 to S317 for the next image data. If the CPU 11 determines that the printing has ended (S318: YES), or if it determines that the printing has been stopped (S313: YES), the CPU 11 ends the printer control process.

前述したように、本形態のプリンタ制御モジュール43は、各分割エラーの対策処理を複数備え、分割エラーであると判断した場合に画面制御モジュール42から対処コマンドを受信する。従って、画面制御モジュール42におけるエラー対策の選択の幅が広い。画面制御モジュール42は、採用する対策処理を自動的に決定しても良いし、エラーが発生した時点でユーザの選択を受け付けて決定しても良い。 As described above, the printer control module 43 of this embodiment has a plurality of countermeasure processes for each division error, and receives a countermeasure command from the screen control module 42 when it is determined that there is a division error. Therefore, there is a wide range of options for error countermeasures in the screen control module 42 . The screen control module 42 may automatically determine the countermeasure process to be adopted, or may accept the user's selection when an error occurs.

また、画面制御モジュール42は、採用する対策処理を予めユーザに選択させておき、選択された情報を記憶しておいても良い。例えば、指示受付画面50中に、分割エラーの対策処理を、分割エラーの種類ごとに選択させる対策選択オブジェクトを設けてもよい。この場合、対策選択オブジェクトにて設定を受け付ける処理は、サイズ超対策設定処理の一例であり、対策選択オブジェクトにて設定を受け付ける処理は、分割不能対策設定処理の一例である。また、対策選択オブジェクトにて選択可能な複数種類の対策処理は、サイズ超対策処理の一例であり、対策選択オブジェクトにて選択可能な複数種類の対策処理は、分割不能対策処理の一例である。 Further, the screen control module 42 may allow the user to select in advance the countermeasure process to be adopted, and store the selected information. For example, a countermeasure selection object may be provided in the instruction reception screen 50 for selecting a division error countermeasure process for each division error type. In this case, the process of receiving settings in the countermeasure selection object is an example of the oversize countermeasure setting process, and the process of receiving settings in the countermeasure selection object is an example of the undividable countermeasure setting process. Further, the plurality of types of countermeasure processing that can be selected by the countermeasure selection object is an example of oversize countermeasure processing, and the plurality of types of countermeasure processing that can be selected by the countermeasure selection object is an example of indivisible countermeasure processing.

そして、画面制御モジュール42は、対策選択オブジェクトにて受け付けた対策処理を示す情報を、分割エラーの種類ごとに不揮発性メモリ14の所定の領域に記憶する。所定の領域は、画面制御モジュール42とプリンタ制御モジュール43とが、いずれもアクセス可能な領域である。画面制御モジュール42は、この領域に情報を書き込むことができ、プリンタ制御モジュール43は、この領域から情報を読み出すことができる。選択された対策を示す情報は、サイズ超対策情報または分割不能対策情報の一例であり、選択された対策を示す情報を記憶する処理は、サイズ超対策情報記憶処理または分割不能対策情報記憶処理の一例である。 Then, the screen control module 42 stores, in a predetermined area of the non-volatile memory 14, information indicating the countermeasure processing received in the countermeasure selection object for each division error type. The predetermined area is an area accessible by both the screen control module 42 and the printer control module 43 . The screen control module 42 can write information to this area, and the printer control module 43 can read information from this area. The information indicating the selected countermeasure is an example of the oversize countermeasure information or the undividable countermeasure information, and the process of storing the information indicating the selected countermeasure is the oversized countermeasure information storage process or the undividable countermeasure information storage process. An example.

この場合、プリンタ制御モジュール43は、分割画像データ生成処理において、分割エラーであると判断した場合、画面制御モジュール42にエラーコマンドを送信して画面制御モジュール42から対処コマンドを受信する代わりに、不揮発性メモリ14から対策を示す情報を読み出す。具体的には、サイズ超エラー処理のS501とS502、および、分割不能エラー処理のS601とS602に代えて、それぞれ所定の領域から選択された対策を示す情報を読み出すステップを設ける。このようにすれば、プリンタ制御モジュール43は、エラー発生時に画面制御モジュール42との情報のやり取りを行う必要はなく、ユーザに選択された対策を選択して実行できる。 In this case, when the printer control module 43 determines that there is a division error in the divided image data generation process, instead of transmitting an error command to the screen control module 42 and receiving a countermeasure command from the screen control module 42, Information indicating countermeasures is read out from the security memory 14 . Specifically, in place of S501 and S502 of the oversize error processing and S601 and S602 of the undivisible error processing, a step of reading out information indicating the countermeasure selected from each predetermined area is provided. In this way, the printer control module 43 does not need to exchange information with the screen control module 42 when an error occurs, and can select and execute the countermeasure selected by the user.

なお、プリンタ制御モジュール43は、例えば、印刷ジョブの大きさや分割数の大きさに基づいて自身で対策処理を決定しても良い。あるいは、プリンタ制御モジュール43は、分割エラーの対策処理として1つの処理のみを備えていても良い。これらの場合にも、プリンタ制御モジュール43は、画面制御モジュール42へのエラーコマンドの入力や対処コマンドの受信を行う必要はなく、決定した対策処理を実行する。 Note that the printer control module 43 may determine countermeasure processing by itself, for example, based on the size of the print job or the size of the number of divisions. Alternatively, the printer control module 43 may have only one process as a division error countermeasure process. In these cases, the printer control module 43 does not need to input an error command to the screen control module 42 or receive a countermeasure command, and executes the determined countermeasure processing.

また、上述した実施の形態では、画面制御モジュール42は、図5に示したように、用紙設定欄52に、テープ幅と分割数との組合せの複数の選択肢を表示するとした。用紙設定欄52としてテープ幅と分割数との組合せを表示させる指示受付画面50は、第1スプリット印刷編集画面の一例である。この指示受付画面50を表示する画面制御モジュール42は、第1画面制御モジュールの一例である。テープ幅と分割数との組合せの複数の選択肢から用紙の設定を受け付ける画面制御モジュール42から入力される実行コマンドは、第1実行コマンドの一例である。 Further, in the above-described embodiment, the screen control module 42 displays a plurality of options for combinations of tape widths and division numbers in the paper setting field 52, as shown in FIG. The instruction acceptance screen 50 that displays the combination of the tape width and the number of divisions as the paper setting field 52 is an example of the first split print editing screen. The screen control module 42 that displays the instruction acceptance screen 50 is an example of a first screen control module. An execution command input from the screen control module 42 that accepts paper settings from a plurality of options for combinations of tape widths and division numbers is an example of a first execution command.

一方、画面制御モジュール42は、テープ幅と分割数との組合せの複数の選択肢を表示する代わりに、テープ幅と分割数とをそれぞれ入力できる入力オブジェクトを表示してもよい。例えば、指示受付画面50の用紙設定欄52に、テープ幅の数値入力を受け付ける幅入力オブジェクトと、分割数の数値入力を受け付ける分割数入力オブジェクトとを表示しても良い。あるいは、各入力オブジェクトに複数の選択肢を表示して、選択を受け付けても良い。テープ幅と分割数とをそれぞれ入力できることで、予め用意した組合せ以外の組合せにも対応できる。 On the other hand, the screen control module 42 may display an input object for inputting the tape width and the number of divisions, instead of displaying a plurality of options for combinations of the tape width and the number of divisions. For example, the paper setting field 52 of the instruction acceptance screen 50 may display a width input object for accepting numerical input of the tape width and a division number input object for accepting numerical input of the number of divisions. Alternatively, a plurality of options may be displayed on each input object to accept selection. By inputting the tape width and the number of divisions, combinations other than those prepared in advance can be handled.

例えば、用紙設定欄52としてテープ幅と分割数とをそれぞれ入力できる入力オブジェクトを表示させる指示受付画面50は、第2スプリット印刷編集画面の一例である。この指示受付画面50を表示する画面制御モジュール42は、第2画面制御モジュールの一例である。テープ幅と分割数とをそれぞれ入力できる入力オブジェクトにて入力を受け付ける画面制御モジュール42から入力される実行コマンドは、第2実行コマンドの一例である。 For example, the instruction acceptance screen 50 that displays an input object for inputting the tape width and the number of divisions as the paper setting field 52 is an example of the second split print editing screen. The screen control module 42 that displays the instruction acceptance screen 50 is an example of a second screen control module. The execution command input from the screen control module 42, which accepts input with an input object capable of inputting the tape width and the number of divisions, is an example of the second execution command.

そして、本形態のプリンタ制御モジュール43は、テープ幅と分割数との組合せの複数の選択肢から用紙の設定を受け付けるプログラムから入力される実行コマンドも、テープ幅と分割数とをそれぞれ入力できる入力オブジェクトにて用紙の設定を受け付けるプログラムから入力される実行コマンドも、受け付け可能である。また、プリンタ制御モジュール43は、画面制御モジュール42だけでなく、テープ幅と分割数との設定方法の異なる他のプログラムからの実行コマンドも受け付ける。いずれのプログラムから受け付ける実行コマンドも、テープ幅と分割数とをそれぞれ独立した情報として含む。 The printer control module 43 of this embodiment is an input object capable of inputting the tape width and the number of divisions as well as the execution command input from the program that accepts paper settings from a plurality of options for the combination of the tape width and the number of divisions. It is also possible to accept an execution command input from a program that accepts paper settings in . The printer control module 43 also accepts execution commands not only from the screen control module 42 but also from other programs that use different methods of setting the tape width and division number. An execution command received from any program includes the tape width and the number of divisions as independent information.

なお、プリンタ制御モジュールとしては、例えば、テープ幅と分割数との組合せの複数の選択肢から選択された組合せを示す情報の入力を受け付けることも考えられる。このようにすれば、入力する情報量を減らすことができる一方で、呼び出し側のプログラムとプリンタ制御モジュールとで、組合せを示す情報に対応するテープ幅と分割数の情報を共有する必要がある。そのため、例えば、組合せの選択肢を増やす場合には、呼び出し側のプログラムとプリンタ制御モジュールとの両方を修正する必要があり、プリンタ制御モジュールの汎用性が低い。本形態のプリンタ制御モジュール43は、テープ幅と分割数とを独立した情報として含む実行コマンドを受け付けることから、選択肢を増やす場合でも呼び出し側のプログラムのみを修正すれば良く、汎用性が高い。 Note that the printer control module may, for example, receive input of information indicating a combination selected from a plurality of options for combinations of tape width and number of divisions. In this way, while the amount of information to be input can be reduced, it is necessary to share the tape width and division number information corresponding to the combination information between the calling program and the printer control module. Therefore, for example, to increase the number of combination options, it is necessary to modify both the calling program and the printer control module, and the versatility of the printer control module is low. Since the printer control module 43 of this embodiment accepts an execution command that includes the tape width and the number of divisions as independent information, only the program on the calling side needs to be modified to increase the number of options, and versatility is high.

以上、詳細に説明したように、本明細書に記載の印刷システムによれば、画面制御モジュール42は、印刷媒体の幅とスプリット印刷における分割数とを独立したデータとしてプリンタ制御モジュール43に入力する。プリンタ制御モジュール43は、入力された各データに基づいて画像データを分割してスプリット印刷の処理を行う。従って、例えば、画面制御モジュール42にて受け付ける印刷媒体の幅や分割数の選択肢が増えても、プリンタ制御モジュール43は修正することなく対応でき、適切にスプリット印刷の処理を実行できる。すなわち、スプリット印刷をプリンタ2に行わせるための画像データの編集において、画面制御モジュール42とプリンタ制御モジュール43との双方にとって、印刷媒体の幅や分割数の選択の自由度が高く、多様な用途にも対応できる。 As described in detail above, according to the printing system described in this specification, the screen control module 42 inputs the width of the print medium and the number of divisions in split printing to the printer control module 43 as independent data. . The printer control module 43 divides the image data based on each input data and performs split printing. Therefore, for example, even if the screen control module 42 accepts more options for the width of the print medium and the number of divisions, the printer control module 43 can cope without modification, and the split printing process can be executed appropriately. That is, in editing image data for causing the printer 2 to perform split printing, both the screen control module 42 and the printer control module 43 have a high degree of freedom in selecting the width of the print medium and the number of divisions, and can be used for various purposes. can also handle

さらに、画面制御モジュール42がプレビュー表示用の画像データを生成して指示受付画面50にプレビュー表示し、編集結果を反映してプレビュー表示を更新することで、ユーザは、プレビュー表示を確認しながら、用紙の設定指示ないし画像の編集指示を行うことができる。また、画面制御モジュール42がプレビュー表示されている情報をプリンタ制御モジュール43に入力する制御を行うことで、画面制御モジュール42がプレビュー表示している画像と同じ画像の印刷物が得られる可能性が高まる。 Furthermore, the screen control module 42 generates image data for preview display, previews it on the instruction reception screen 50, and updates the preview display by reflecting the editing results. A paper setting instruction or an image editing instruction can be given. In addition, by controlling the screen control module 42 to input the information displayed in preview to the printer control module 43, the possibility of obtaining printed matter with the same image as the image preview-displayed by the screen control module 42 increases. .

また、画面制御モジュール42が指示受付画面50にて指示を受け付けたか否かを判断する順序は、上述した画面制御処理の順序に限らない。つまり、図3に示した画面制御処理において、S102、S104、S107、S109、S112の判断は、図示の順に限るものではなく、ユーザによる指示入力を受け付けたものから処理を実行するとよい。いずれの順であっても、画面制御モジュール42は、実行指示を受け付けた際にプレビュー表示されている情報をプリンタ制御モジュール43に入力する。これにより、画面制御モジュール42がプレビュー表示している画像と同じ画像の印刷物が得られる可能性が高まる。 Further, the order in which the screen control module 42 determines whether or not an instruction has been received on the instruction reception screen 50 is not limited to the order of the screen control processing described above. That is, in the screen control process shown in FIG. 3, the determinations of S102, S104, S107, S109, and S112 are not limited to the order shown in the figure, and it is preferable to execute the process from the instruction input by the user. Regardless of the order, the screen control module 42 inputs the preview-displayed information to the printer control module 43 when the execution instruction is received. This increases the possibility of obtaining a printed matter having the same image as the image preview-displayed by the screen control module 42 .

また、本明細書では、スプリット印刷の分割方向として、テープ状の印刷媒体の幅方向とした。分割方向を一方向に限定することで、制御がシンプルになる。また、スプリット印刷は、複数枚のラベルを並べることでより大きな画像を表現できることから、ラベルプリンタに好適である。ただし、分割方向は、幅方向のみとは限らず、長さ方向への分割を行っても良い。長さ方向に分割する場合も、本形態のラベル作成アプリ40と同様の処理によって、複数の印刷媒体へのスプリット印刷を実行できる。 Also, in this specification, the width direction of the tape-shaped print medium is used as the dividing direction for split printing. Limiting the division direction to one direction simplifies control. In addition, split printing is suitable for label printers because a larger image can be expressed by arranging a plurality of labels. However, the division direction is not limited to the width direction, and the division may be performed in the length direction. Even when dividing in the length direction, split printing can be performed on a plurality of print media by the same processing as the label creation application 40 of the present embodiment.

また、指示受付画面50の用紙設定欄52にて、図5に示したように、テープ幅と分割数とを組合せた選択肢を表示し、予め用意した選択肢をユーザに選択させることで、イレギュラーな情報の入力を回避できる。あるいは、テープ幅と分割数とのそれぞれの数値入力を受け付けるようにすれば、設定可能な印刷媒体の幅および分割数の自由度が高まることから、さらに多様な用途にも対応できる。 In addition, as shown in FIG. 5, in the paper setting field 52 of the instruction reception screen 50, options that combine the tape width and the number of divisions are displayed, and the user is allowed to select options prepared in advance. You can avoid entering unnecessary information. Alternatively, if numerical inputs for the tape width and the number of divisions are accepted, the width of the print medium and the number of divisions that can be set are increased, so that a wider variety of applications can be accommodated.

また、分割数が画像データの分割方向のサイズに対応する最大の分割可能数を超える場合、事実上、分割が不可能であるため、プリンタ制御モジュール43にてサイズ超エラーに対処する処理を行うことで、異常な動作を抑制できる。例えば、プリンタ制御モジュール43が画面制御モジュール42の指示に従った対処を行えば、画面制御モジュール42の設計により適切な対処を選択できる。また、例えば、プリンタ制御モジュール43が対象画像データを自動的に拡張し、印刷を可能にすれば、印刷物が得られない状況を回避できる。また、例えば、プリンタ制御モジュール43が対策を複数用意し、ユーザに対策を選択させれば、アプリケーションプログラムの使い勝手が向上する。 If the number of divisions exceeds the maximum possible number of divisions corresponding to the size of the image data in the direction of division, the division is practically impossible. By doing so, abnormal operations can be suppressed. For example, if the printer control module 43 takes action according to instructions from the screen control module 42 , an appropriate action can be selected by designing the screen control module 42 . Also, for example, if the printer control module 43 automatically expands the target image data and enables printing, it is possible to avoid a situation in which printed matter cannot be obtained. Further, for example, if the printer control module 43 prepares a plurality of countermeasures and allows the user to select the countermeasure, the usability of the application program will be improved.

また、対象画像データが分割数で割り切れない場合、均等の分割が不可能であり、ユーザが希望するスプリット印刷ができない可能性が高いため、プリンタ制御モジュール43にて分割不能エラーに対処する処理を行うことで、異常な動作を抑制できる。例えば、プリンタ制御モジュール43が画面制御モジュール42の指示に従った対処を行えば、画面制御モジュール42の設計により適切な対処を選択できる。また、例えば、プリンタ制御モジュール43が余剰分を印刷しないこととし、それ以外の部分の印刷を可能にすれば、印刷物が得られない状況を回避できる。また、例えば、プリンタ制御モジュール43が余剰分が発生しないように画像データを拡張し、印刷を可能にすれば、印刷物が得られない状況を回避できる。また、例えば、プリンタ制御モジュール43が対策を複数用意し、ユーザに対策を選択させれば、アプリケーションプログラムの使い勝手が向上する。 If the target image data is not divisible by the number of divisions, even division is not possible, and there is a high possibility that the split printing desired by the user cannot be performed. By doing so, it is possible to suppress abnormal operations. For example, if the printer control module 43 takes action according to instructions from the screen control module 42 , an appropriate action can be selected by designing the screen control module 42 . Also, for example, if the printer control module 43 does not print the surplus portion and allows printing of the other portion, it is possible to avoid a situation in which the printed matter cannot be obtained. Also, for example, if the printer control module 43 expands the image data so as not to generate surplus data and enables printing, it is possible to avoid a situation in which printed matter cannot be obtained. Further, for example, if the printer control module 43 prepares a plurality of countermeasures and allows the user to select the countermeasure, the usability of the application program will be improved.

また、画面制御モジュール42は、テープ幅と分割数との組合せを示す選択肢を選択させても良いし、テープ幅と分割数とのそれぞれの数値入力を受け付けても良い。本明細書に記載のプリンタ制御モジュール43は、いずれの画面制御モジュール42からの実行コマンドも受け付ける。従って、画面制御モジュール42の設計の自由度が高く、多様な用途に対応できる。 In addition, the screen control module 42 may select an option indicating a combination of the tape width and the number of divisions, or accept numerical input of each of the tape width and the number of divisions. The printer control module 43 described herein accepts execution commands from any screen control module 42 . Therefore, the screen control module 42 can be designed with a high degree of freedom and can be used for various purposes.

なお、本実施の形態は単なる例示にすぎず、本発明を何ら限定するものではない。したがって本発明は当然に、その要旨を逸脱しない範囲内で種々の改良、変形が可能である。例えば、PC1やプリンタ2は、それぞれ1台に限らず、複数台が接続された印刷システムでも良い。 It should be noted that the present embodiment is merely an example, and does not limit the present invention in any way. Therefore, the present invention can naturally be improved and modified in various ways without departing from the scope of the invention. For example, the number of PC 1 and printer 2 is not limited to one, and a printing system in which a plurality of units are connected may be used.

また、プリンタ2はラベルプリンタに限らない。印刷方式は、熱転写方式に限らず、例えば、インクジェット方式、電子写真方式、感熱方式でもよい。また、印刷媒体は、テープに限らず、例えば、ロール紙、普通紙、はがき、カードでもよい。印刷媒体の大きさや材質は、何でもよい。 Also, the printer 2 is not limited to a label printer. The printing method is not limited to the thermal transfer method, and may be, for example, an inkjet method, an electrophotographic method, or a thermal method. Also, the print medium is not limited to tape, and may be roll paper, plain paper, postcards, or cards, for example. The size and material of the print medium can be anything.

また、入力IF18としては、PC1にてユーザから直接入力を受け付けるものに限らず、例えば、ネットワーク等による通信を介して入力を受け付けるものも含む。例えば、入力を受け付けるウェブページ等のデータを他の装置に送信し、当該ウェブページへの入力を他の装置で受け付け、入力済みのウェブページをPC1が受信することで、入力されたデータを受け付ける構成であっても良い。その場合、PC1は、入力IF18とディスプレイ19との少なくとも一方を備えていなくても良い。 Further, the input IF 18 is not limited to one that directly receives input from the user at the PC 1, and includes one that receives input via communication via a network or the like, for example. For example, data such as a web page that accepts input is sent to another device, the input to the web page is accepted by the other device, and the input data is accepted by receiving the entered web page by the PC 1. It may be a configuration. In that case, the PC 1 may not have at least one of the input IF 18 and the display 19 .

また、画面制御モジュール42は、複数の画像の編集や印刷を受け付けても良い。例えば、画面制御モジュール42は、複数の画像を含む画像ファイルに基づく印刷や、同じ画像を複数回印刷するコピー印刷等にてスプリット印刷の指示を受け付けてもよい。その場合、プリンタ制御モジュール43は、画面制御モジュール42から複数の画像を含む印刷ジョブを受信し、前述した処理を受信したジョブの数だけ繰り返す。 Also, the screen control module 42 may accept editing and printing of a plurality of images. For example, the screen control module 42 may accept an instruction for split printing in printing based on an image file containing multiple images, copy printing in which the same image is printed multiple times, or the like. In that case, the printer control module 43 receives a print job including a plurality of images from the screen control module 42, and repeats the above-described processing by the number of received jobs.

また、実施の形態に開示されている処理は、単一のCPU、複数のCPU、ASICなどのハードウェア、またはそれらの組合せで実行されてもよい。また、実施の形態に開示されている処理は、その処理を実行するためのプログラムを記録した記録媒体、または方法等の種々の態様で実現することができる。 Also, the processing disclosed in the embodiments may be performed by a single CPU, multiple CPUs, hardware such as an ASIC, or a combination thereof. Further, the processes disclosed in the embodiments can be realized in various forms such as a recording medium recording a program for executing the processes, a method, and the like.

1 PC
2 プリンタ
11 CPU
14 不揮発性メモリ
16 ネットワークIF
17 USB-IF
18 入力IF
19 ディスプレイ
40 ラベル作成アプリ
42 画面制御モジュール
43 プリンタ制御モジュール
50 指示受付画面
1 PC
2 Printer 11 CPU
14 non-volatile memory 16 network IF
17 USB-IF
18 input interface
19 display 40 label creation application 42 screen control module 43 printer control module 50 instruction acceptance screen

Claims (12)

情報処理装置のコンピュータによって実行可能であり、画面制御モジュールと、プリンタ制御モジュールと、を備えるアプリケーションプログラムであって、
前記画面制御モジュールは、前記コンピュータに、
スプリット印刷処理の対象となる対象画像の編集指示と、前記スプリット印刷処理の設定指示と、前記スプリット印刷処理の実行指示と、をユーザインタフェースを介して受け付けるスプリット印刷編集画面を、ディスプレイに表示させる画面表示処理を実行させ、前記スプリット印刷処理は、1つの画像を分割した各スプリット画像を印刷媒体に印刷するスプリット印刷をプリンタに行わせる処理であり、前記スプリット印刷処理の対象となる前記対象画像は、前記各スプリット画像に分割する前の状態の画像であり、前記スプリット印刷処理の設定には、前記スプリット印刷の対象となる印刷媒体の幅と、前記スプリット印刷の分割数と、が含まれ、
さらに前記画面制御モジュールは、前記コンピュータに、
前記スプリット印刷編集画面を前記ディスプレイに表示させた後に、前記ユーザインタフェースを介して前記スプリット印刷処理の前記実行指示を受け付けた場合に、画像情報と、幅設定データと、分割数設定データと、を含む実行コマンドを、前記プリンタ制御モジュールに入力する実行コマンド入力処理を実行させ、前記画像情報は、前記ユーザインタフェースを介した前記編集指示によって編集された前記対象画像を示す対象画像データを示す情報であり、前記幅設定データは、前記ユーザインタフェースを介した前記設定指示による設定を示すデータであって、前記スプリット印刷の対象となる前記印刷媒体の幅を示すデータであり、前記分割数設定データは、前記ユーザインタフェースを介した前記設定指示による設定を示すデータであって、前記分割数を示すデータであり、前記幅設定データと前記分割数設定データとは、互いに独立したデータであり、
前記プリンタ制御モジュールは、前記コンピュータに、
前記画面制御モジュールから前記実行コマンドが入力された場合に、前記実行コマンドに含まれる前記幅設定データと前記分割数設定データとに基づいて、前記実行コマンドに含まれる前記画像情報に示される前記対象画像データを分割し、前記スプリット印刷に用いるスプリット画像データを生成するスプリット画像データ生成処理を実行させ、前記スプリット画像データは、前記対象画像を、前記幅設定データが示す幅で、前記分割数設定データが示す分割数に分割した画像である前記スプリット画像を示す画像データであり、
さらに前記プリンタ制御モジュールは、前記コンピュータに、
前記スプリット画像データ生成処理によって生成された前記スプリット画像データを、前記情報処理装置の通信インタフェースを介して、前記プリンタに送信するスプリット画像データ送信処理と、
を実行させ
さらに前記画面制御モジュールは、前記コンピュータに、
前記画面表示処理では、
前記スプリット印刷の対象となる前記印刷媒体の幅の数値入力を受け付ける幅入力オブジェクトと、前記スプリット印刷の分割数の数値入力を受け付ける分割数入力オブジェクトと、を前記スプリット印刷編集画面に表示させ、
前記実行コマンド入力処理では、
前記スプリット印刷編集画面に表示されている前記幅入力オブジェクトおよび前記分割数入力オブジェクトにそれぞれ数値が入力されている状態で、前記ユーザインタフェースを介して前記実行指示を受け付けた場合に、前記幅入力オブジェクトに入力されている数値を示す前記幅設定データと、前記分割数入力オブジェクトに入力されている数値を示す前記分割数設定データと、を含む前記実行コマンドを、前記プリンタ制御モジュールに入力させ、
さらに前記プリンタ制御モジュールは、
前記実行コマンドに含まれる前記分割数設定データによって示される前記分割数が、前記実行コマンドに含まれる前記画像情報に示される前記対象画像データの分割方向のサイズに対応する最大の分割可能数を超える場合、
分割数が画像データのサイズを超えることを示すサイズ超エラーコマンドを、前記画面制御モジュールに入力するサイズ超エラー入力処理を、前記コンピュータに実行させ、
前記画面制御モジュールは、
前記サイズ超エラーコマンドが入力された場合に、前記サイズ超エラーコマンドに対処するサイズ超エラー対処コマンドを、前記プリンタ制御モジュールに入力するサイズ超エラー対処コマンド入力処理を、前記コンピュータに実行させ、
前記プリンタ制御モジュールは、
前記サイズ超エラー対処コマンドが入力された場合に、前記サイズ超エラー対処コマンドに対応する処理を前記コンピュータに実行させる、
ことを特徴とするアプリケーションプログラム。
An application program executable by a computer of an information processing device and comprising a screen control module and a printer control module,
The screen control module causes the computer to:
A screen for displaying, on a display, a split print edit screen for accepting, via a user interface, an instruction to edit an image to be split print processed, an instruction to set the split print process, and an instruction to execute the split print process. Display processing is executed, and the split printing processing is processing for causing a printer to perform split printing in which split images obtained by dividing one image are printed on a printing medium, and the target image to be subjected to the split printing processing is , an image in a state before being divided into the split images, and the setting of the split printing process includes the width of the print medium to be the target of the split printing and the number of divisions of the split printing,
Further, the screen control module causes the computer to:
After the split print edit screen is displayed on the display, when the execution instruction for the split print process is accepted via the user interface, image information, width setting data, and division number setting data are transferred to each other. execution command input processing for inputting an execution command including an execution command to the printer control module, and the image information is information indicating target image data indicating the target image edited by the editing instruction via the user interface. The width setting data is data indicating the setting according to the setting instruction via the user interface, and is data indicating the width of the printing medium to be subjected to the split printing, and the division number setting data is , the data indicating the setting by the setting instruction through the user interface, the data indicating the division number, the width setting data and the division number setting data being independent data;
The printer control module causes the computer to:
When the execution command is input from the screen control module, the object indicated in the image information included in the execution command is determined based on the width setting data and the division number setting data included in the execution command. Split image data generation processing is executed for dividing image data and generating split image data to be used for the split printing, wherein the split image data divides the target image into the width indicated by the width setting data, and the number of divisions is set. image data representing the split image, which is an image divided into the number of divisions indicated by the data;
Further, the printer control module causes the computer to:
split image data transmission processing for transmitting the split image data generated by the split image data generation processing to the printer via a communication interface of the information processing device;
and
Further, the screen control module causes the computer to:
In the screen display process,
displaying on the split print edit screen a width input object for accepting a numerical input for the width of the print medium to be split printed and a division number input object for accepting a numerical input for the number of divisions for split printing;
In the execution command input process,
When the execution instruction is received via the user interface in a state in which numerical values are input to the width input object and the division number input object displayed on the split print editing screen, the width input object causing the printer control module to input the execution command including the width setting data indicating the numerical value input to the division number input object and the division number setting data indicating the numerical value input to the division number input object;
Further, the printer control module
The number of divisions indicated by the number of divisions setting data included in the execution command exceeds the maximum number of possible divisions corresponding to the size of the target image data in the direction of division indicated by the image information included in the execution command. case,
causing the computer to execute an over-size error input process of inputting an over-size error command indicating that the number of divisions exceeds the size of the image data to the screen control module;
The screen control module is
causing the computer to execute an over-size error handling command input process of inputting an over-size error handling command for handling the over-size error command into the printer control module when the over-size error command is input;
The printer control module includes:
causing the computer to execute a process corresponding to the over-size error handling command when the over-size error handling command is input ;
An application program characterized by:
情報処理装置のコンピュータによって実行可能であり、画面制御モジュールと、プリンタ制御モジュールと、を備えるアプリケーションプログラムであって、
前記画面制御モジュールは、前記コンピュータに、
スプリット印刷処理の対象となる対象画像の編集指示と、前記スプリット印刷処理の設定指示と、前記スプリット印刷処理の実行指示と、をユーザインタフェースを介して受け付けるスプリット印刷編集画面を、ディスプレイに表示させる画面表示処理を実行させ、前記スプリット印刷処理は、1つの画像を分割した各スプリット画像を印刷媒体に印刷するスプリット印刷をプリンタに行わせる処理であり、前記スプリット印刷処理の対象となる前記対象画像は、前記各スプリット画像に分割する前の状態の画像であり、前記スプリット印刷処理の設定には、前記スプリット印刷の対象となる印刷媒体の幅と、前記スプリット印刷の分割数と、が含まれ、
さらに前記画面制御モジュールは、前記コンピュータに、
前記スプリット印刷編集画面を前記ディスプレイに表示させた後に、前記ユーザインタフェースを介して前記スプリット印刷処理の前記実行指示を受け付けた場合に、画像情報と、幅設定データと、分割数設定データと、を含む実行コマンドを、前記プリンタ制御モジュールに入力する実行コマンド入力処理を実行させ、前記画像情報は、前記ユーザインタフェースを介した前記編集指示によって編集された前記対象画像を示す対象画像データを示す情報であり、前記幅設定データは、前記ユーザインタフェースを介した前記設定指示による設定を示すデータであって、前記スプリット印刷の対象となる前記印刷媒体の幅を示すデータであり、前記分割数設定データは、前記ユーザインタフェースを介した前記設定指示による設定を示すデータであって、前記分割数を示すデータであり、前記幅設定データと前記分割数設定データとは、互いに独立したデータであり、
前記プリンタ制御モジュールは、前記コンピュータに、
前記画面制御モジュールから前記実行コマンドが入力された場合に、前記実行コマンドに含まれる前記幅設定データと前記分割数設定データとに基づいて、前記実行コマンドに含まれる前記画像情報に示される前記対象画像データを分割し、前記スプリット印刷に用いるスプリット画像データを生成するスプリット画像データ生成処理を実行させ、前記スプリット画像データは、前記対象画像を、前記幅設定データが示す幅で、前記分割数設定データが示す分割数に分割した画像である前記スプリット画像を示す画像データであり、
さらに前記プリンタ制御モジュールは、前記コンピュータに、
前記スプリット画像データ生成処理によって生成された前記スプリット画像データを、前記情報処理装置の通信インタフェースを介して、前記プリンタに送信するスプリット画像データ送信処理と、
を実行させ
さらに前記画面制御モジュールは、前記コンピュータに、
前記画面表示処理では、
前記スプリット印刷の対象となる前記印刷媒体の幅の数値入力を受け付ける幅入力オブジェクトと、前記スプリット印刷の分割数の数値入力を受け付ける分割数入力オブジェクトと、を前記スプリット印刷編集画面に表示させ、
前記実行コマンド入力処理では、
前記スプリット印刷編集画面に表示されている前記幅入力オブジェクトおよび前記分割数入力オブジェクトにそれぞれ数値が入力されている状態で、前記ユーザインタフェースを介して前記実行指示を受け付けた場合に、前記幅入力オブジェクトに入力されている数値を示す前記幅設定データと、前記分割数入力オブジェクトに入力されている数値を示す前記分割数設定データと、を含む前記実行コマンドを、前記プリンタ制御モジュールに入力させ、
さらに前記プリンタ制御モジュールは、
前記実行コマンドに含まれる前記分割数設定データによって示される前記分割数が、前記実行コマンドに含まれる前記画像情報に示される前記対象画像データの分割方向のサイズに対応する最大の分割可能数を超える場合に実行されるサイズ超対策処理として、複数種類の前記サイズ超対策処理が実行可能であり、
前記画面制御モジュールは、前記コンピュータに、
前記複数種類の前記サイズ超対策処理のうち、実行する前記サイズ超対策処理の設定を受け付けるサイズ超対策設定処理と、
前記サイズ超対策設定処理にて設定された前記サイズ超対策処理を示すサイズ超対策情報を、前記情報処理装置のメモリに記憶するサイズ超対策情報記憶処理と、
を実行させ、
前記プリンタ制御モジュールは、前記コンピュータに、
前記実行コマンドに含まれる前記分割数設定データによって示される前記分割数が、前記実行コマンドに含まれる前記画像情報に示される前記対象画像データの分割方向のサイズに対応する前記最大の分割可能数を超える場合に、前記メモリから前記サイズ超対策情報を読み出させ、読み出された前記サイズ超対策情報によって示される前記サイズ超対策処理を実行させる、
ことを特徴とするアプリケーションプログラム。
An application program executable by a computer of an information processing device and comprising a screen control module and a printer control module,
The screen control module causes the computer to:
A screen for displaying, on a display, a split print edit screen for accepting, via a user interface, an instruction to edit an image to be split print processed, an instruction to set the split print process, and an instruction to execute the split print process. Display processing is executed, and the split printing processing is processing for causing a printer to perform split printing in which split images obtained by dividing one image are printed on a printing medium, and the target image to be subjected to the split printing processing is , an image in a state before being divided into the split images, and the setting of the split printing process includes the width of the print medium to be the target of the split printing and the number of divisions of the split printing,
Further, the screen control module causes the computer to:
After the split print edit screen is displayed on the display, when the execution instruction for the split print process is accepted via the user interface, image information, width setting data, and division number setting data are transferred to each other. execution command input processing for inputting an execution command including an execution command to the printer control module, and the image information is information indicating target image data indicating the target image edited by the editing instruction via the user interface. The width setting data is data indicating the setting according to the setting instruction via the user interface, and is data indicating the width of the printing medium to be subjected to the split printing, and the division number setting data is , the data indicating the setting by the setting instruction through the user interface, the data indicating the division number, the width setting data and the division number setting data being independent data;
The printer control module causes the computer to:
When the execution command is input from the screen control module, the object indicated in the image information included in the execution command is determined based on the width setting data and the division number setting data included in the execution command. Split image data generation processing is executed for dividing image data and generating split image data to be used for the split printing, wherein the split image data divides the target image into the width indicated by the width setting data, and the number of divisions is set. image data representing the split image, which is an image divided into the number of divisions indicated by the data;
Further, the printer control module causes the computer to:
split image data transmission processing for transmitting the split image data generated by the split image data generation processing to the printer via a communication interface of the information processing device;
and
Further, the screen control module causes the computer to:
In the screen display process,
displaying on the split print edit screen a width input object for accepting a numerical input for the width of the print medium to be split printed and a division number input object for accepting a numerical input for the number of divisions for split printing;
In the execution command input process,
When the execution instruction is received via the user interface in a state in which numerical values are input to the width input object and the division number input object displayed on the split print editing screen, the width input object causing the printer control module to input the execution command including the width setting data indicating the numerical value input to the division number input object and the division number setting data indicating the numerical value input to the division number input object;
Further, the printer control module
The number of divisions indicated by the number of divisions setting data included in the execution command exceeds the maximum number of possible divisions corresponding to the size of the target image data in the direction of division indicated by the image information included in the execution command. a plurality of types of over-size countermeasure processing can be executed as the over-size countermeasure processing executed when
The screen control module causes the computer to:
an over-size countermeasure setting process for receiving a setting of the over-size countermeasure process to be executed among the plurality of types of over-size countermeasure processes;
an over-size countermeasure information storage process for storing, in a memory of the information processing apparatus, over-size countermeasure information indicating the over-size countermeasure process set in the over-size countermeasure setting process;
and
The printer control module causes the computer to:
The division number indicated by the division number setting data included in the execution command is the maximum divisible number corresponding to the size in the division direction of the target image data indicated in the image information included in the execution command. if the size exceeds, reading the over-size countermeasure information from the memory and executing the over-size countermeasure processing indicated by the read over-size countermeasure information ;
An application program characterized by:
請求項1または請求項2に記載するアプリケーションプログラムであって、
前記プリンタ制御モジュールは、
前記実行コマンドに含まれる前記画像情報に示される前記対象画像データが、前記実行コマンドに含まれる前記分割数設定データによって示される前記分割数で均等に分割できない場合、
前記実行コマンドに含まれる前記幅設定データと前記分割数設定データとに基づいて、前記実行コマンドに含まれる前記画像情報によって示される対象画像データの分割方向のサイズを、前記実行コマンドに含まれる前記画像情報に示される前記対象画像データを前記実行コマンドに含まれる前記分割数設定データによって示される前記分割数で均等に分割した場合に余剰分が発生しないサイズに拡張する余剰分拡張処理を、前記コンピュータに実行させ、
前記スプリット画像データ生成処理では、前記余剰分拡張処理によって前記対象画像データから拡張された画像データである余剰分拡張画像データを分割して前記スプリット画像データを生成し、
前記スプリット画像データ送信処理では、前記余剰分拡張画像データを分割して生成された前記スプリット画像データを、前記プリンタに送信する、
ことを特徴とするアプリケーションプログラム。
The application program according to claim 1 or claim 2 ,
The printer control module includes:
When the target image data indicated by the image information included in the execution command cannot be evenly divided by the division number indicated by the division number setting data included in the execution command,
The division direction size of the target image data indicated by the image information included in the execution command is determined based on the width setting data and the division number setting data included in the execution command. surplus expansion processing for expanding the target image data indicated by the image information to a size that does not generate a surplus when the target image data indicated by the image information is evenly divided by the division number indicated by the division number setting data included in the execution command; let the computer run
In the split image data generating process, the surplus extended image data, which is image data extended from the target image data by the surplus extension process, is divided to generate the split image data;
In the split image data transmission process, the split image data generated by dividing the surplus extended image data is transmitted to the printer.
An application program characterized by:
情報処理装置のコンピュータによって実行可能であり、画面制御モジュールと、プリンタ制御モジュールと、を備えるアプリケーションプログラムであって、
前記画面制御モジュールは、前記コンピュータに、
スプリット印刷処理の対象となる対象画像の編集指示と、前記スプリット印刷処理の設定指示と、前記スプリット印刷処理の実行指示と、をユーザインタフェースを介して受け付けるスプリット印刷編集画面を、ディスプレイに表示させる画面表示処理を実行させ、前記スプリット印刷処理は、1つの画像を分割した各スプリット画像を印刷媒体に印刷するスプリット印刷をプリンタに行わせる処理であり、前記スプリット印刷処理の対象となる前記対象画像は、前記各スプリット画像に分割する前の状態の画像であり、前記スプリット印刷処理の設定には、前記スプリット印刷の対象となる印刷媒体の幅と、前記スプリット印刷の分割数と、が含まれ、
さらに前記画面制御モジュールは、前記コンピュータに、
前記スプリット印刷編集画面を前記ディスプレイに表示させた後に、前記ユーザインタフェースを介して前記スプリット印刷処理の前記実行指示を受け付けた場合に、画像情報と、幅設定データと、分割数設定データと、を含む実行コマンドを、前記プリンタ制御モジュールに入力する実行コマンド入力処理を実行させ、前記画像情報は、前記ユーザインタフェースを介した前記編集指示によって編集された前記対象画像を示す対象画像データを示す情報であり、前記幅設定データは、前記ユーザインタフェースを介した前記設定指示による設定を示すデータであって、前記スプリット印刷の対象となる前記印刷媒体の幅を示すデータであり、前記分割数設定データは、前記ユーザインタフェースを介した前記設定指示による設定を示すデータであって、前記分割数を示すデータであり、前記幅設定データと前記分割数設定データとは、互いに独立したデータであり、
前記プリンタ制御モジュールは、前記コンピュータに、
前記画面制御モジュールから前記実行コマンドが入力された場合に、前記実行コマンドに含まれる前記幅設定データと前記分割数設定データとに基づいて、前記実行コマンドに含まれる前記画像情報に示される前記対象画像データを分割し、前記スプリット印刷に用いるスプリット画像データを生成するスプリット画像データ生成処理を実行させ、前記スプリット画像データは、前記対象画像を、前記幅設定データが示す幅で、前記分割数設定データが示す分割数に分割した画像である前記スプリット画像を示す画像データであり、
さらに前記プリンタ制御モジュールは、前記コンピュータに、
前記スプリット画像データ生成処理によって生成された前記スプリット画像データを、前記情報処理装置の通信インタフェースを介して、前記プリンタに送信するスプリット画像データ送信処理と、
を実行させ
さらに前記画面制御モジュールは、前記コンピュータに、
前記画面表示処理では、
前記スプリット印刷の対象となる前記印刷媒体の幅の数値入力を受け付ける幅入力オブジェクトと、前記スプリット印刷の分割数の数値入力を受け付ける分割数入力オブジェクトと、を前記スプリット印刷編集画面に表示させ、
前記実行コマンド入力処理では、
前記スプリット印刷編集画面に表示されている前記幅入力オブジェクトおよび前記分割数入力オブジェクトにそれぞれ数値が入力されている状態で、前記ユーザインタフェースを介して前記実行指示を受け付けた場合に、前記幅入力オブジェクトに入力されている数値を示す前記幅設定データと、前記分割数入力オブジェクトに入力されている数値を示す前記分割数設定データと、を含む前記実行コマンドを、前記プリンタ制御モジュールに入力させ、
さらに前記プリンタ制御モジュールは、
前記実行コマンドに含まれる前記画像情報に示される前記対象画像データが、前記実行コマンドに含まれる前記分割数設定データによって示される前記分割数で均等に分割できない場合、
分割不能を示す分割不能エラーコマンドを、前記画面制御モジュールに入力する分割不能エラー入力処理を、前記コンピュータに実行させ、
前記画面制御モジュールは、
前記分割不能エラーコマンドが入力された場合に、前記分割不能エラーコマンドに対処する分割不能エラー対処コマンドを、前記プリンタ制御モジュールに入力する分割不能エラー対処コマンド入力処理を、前記コンピュータに実行させ、
前記プリンタ制御モジュールは、
前記分割不能エラー対処コマンドが入力された場合に、前記分割不能エラー対処コマンドに対応する処理を前記コンピュータに実行させる、
ことを特徴とするアプリケーションプログラム。
An application program executable by a computer of an information processing device and comprising a screen control module and a printer control module,
The screen control module causes the computer to:
A screen for displaying, on a display, a split print edit screen for accepting, via a user interface, an instruction to edit an image to be split print processed, an instruction to set the split print process, and an instruction to execute the split print process. Display processing is executed, and the split printing processing is processing for causing a printer to perform split printing in which split images obtained by dividing one image are printed on a printing medium, and the target image to be subjected to the split printing processing is , an image in a state before being divided into the split images, and the setting of the split printing process includes the width of the print medium to be the target of the split printing and the number of divisions of the split printing,
Further, the screen control module causes the computer to:
After the split print edit screen is displayed on the display, when the execution instruction for the split print process is accepted via the user interface, image information, width setting data, and division number setting data are transferred to each other. execution command input processing for inputting an execution command including an execution command to the printer control module, and the image information is information indicating target image data indicating the target image edited by the editing instruction via the user interface. The width setting data is data indicating the setting according to the setting instruction via the user interface, and is data indicating the width of the printing medium to be subjected to the split printing, and the division number setting data is , the data indicating the setting by the setting instruction through the user interface, the data indicating the division number, the width setting data and the division number setting data being independent data;
The printer control module causes the computer to:
When the execution command is input from the screen control module, the object indicated in the image information included in the execution command is determined based on the width setting data and the division number setting data included in the execution command. Split image data generation processing is executed for dividing image data and generating split image data to be used for the split printing, wherein the split image data divides the target image into the width indicated by the width setting data, and the number of divisions is set. image data representing the split image, which is an image divided into the number of divisions indicated by the data;
Further, the printer control module causes the computer to:
split image data transmission processing for transmitting the split image data generated by the split image data generation processing to the printer via a communication interface of the information processing device;
and
Further, the screen control module causes the computer to:
In the screen display process,
displaying on the split print edit screen a width input object for accepting a numerical input for the width of the print medium to be split printed and a division number input object for accepting a numerical input for the number of divisions for split printing;
In the execution command input process,
When the execution instruction is received via the user interface in a state in which numerical values are input to the width input object and the division number input object displayed on the split print editing screen, the width input object causing the printer control module to input the execution command including the width setting data indicating the numerical value input to the division number input object and the division number setting data indicating the numerical value input to the division number input object;
Further, the printer control module
When the target image data indicated by the image information included in the execution command cannot be evenly divided by the division number indicated by the division number setting data included in the execution command,
causing the computer to execute an undividable error input process of inputting an undividable error command indicating undividable into the screen control module;
The screen control module is
causing the computer to execute an indivisible error coping command input process of inputting an indivisible error coping command for coping with the indivisible error command to the printer control module when the indivisible error command is input;
The printer control module includes:
causing the computer to execute a process corresponding to the indivisible error handling command when the indivisible error handling command is input ;
An application program characterized by:
情報処理装置のコンピュータによって実行可能であり、画面制御モジュールと、プリンタ制御モジュールと、を備えるアプリケーションプログラムであって、
前記画面制御モジュールは、前記コンピュータに、
スプリット印刷処理の対象となる対象画像の編集指示と、前記スプリット印刷処理の設定指示と、前記スプリット印刷処理の実行指示と、をユーザインタフェースを介して受け付けるスプリット印刷編集画面を、ディスプレイに表示させる画面表示処理を実行させ、前記スプリット印刷処理は、1つの画像を分割した各スプリット画像を印刷媒体に印刷するスプリット印刷をプリンタに行わせる処理であり、前記スプリット印刷処理の対象となる前記対象画像は、前記各スプリット画像に分割する前の状態の画像であり、前記スプリット印刷処理の設定には、前記スプリット印刷の対象となる印刷媒体の幅と、前記スプリット印刷の分割数と、が含まれ、
さらに前記画面制御モジュールは、前記コンピュータに、
前記スプリット印刷編集画面を前記ディスプレイに表示させた後に、前記ユーザインタフェースを介して前記スプリット印刷処理の前記実行指示を受け付けた場合に、画像情報と、幅設定データと、分割数設定データと、を含む実行コマンドを、前記プリンタ制御モジュールに入力する実行コマンド入力処理を実行させ、前記画像情報は、前記ユーザインタフェースを介した前記編集指示によって編集された前記対象画像を示す対象画像データを示す情報であり、前記幅設定データは、前記ユーザインタフェースを介した前記設定指示による設定を示すデータであって、前記スプリット印刷の対象となる前記印刷媒体の幅を示すデータであり、前記分割数設定データは、前記ユーザインタフェースを介した前記設定指示による設定を示すデータであって、前記分割数を示すデータであり、前記幅設定データと前記分割数設定データとは、互いに独立したデータであり、
前記プリンタ制御モジュールは、前記コンピュータに、
前記画面制御モジュールから前記実行コマンドが入力された場合に、前記実行コマンドに含まれる前記幅設定データと前記分割数設定データとに基づいて、前記実行コマンドに含まれる前記画像情報に示される前記対象画像データを分割し、前記スプリット印刷に用いるスプリット画像データを生成するスプリット画像データ生成処理を実行させ、前記スプリット画像データは、前記対象画像を、前記幅設定データが示す幅で、前記分割数設定データが示す分割数に分割した画像である前記スプリット画像を示す画像データであり、
さらに前記プリンタ制御モジュールは、前記コンピュータに、
前記スプリット画像データ生成処理によって生成された前記スプリット画像データを、前記情報処理装置の通信インタフェースを介して、前記プリンタに送信するスプリット画像データ送信処理と、
を実行させ
さらに前記画面制御モジュールは、前記コンピュータに、
前記画面表示処理では、
前記スプリット印刷の対象となる前記印刷媒体の幅の数値入力を受け付ける幅入力オブジェクトと、前記スプリット印刷の分割数の数値入力を受け付ける分割数入力オブジェクトと、を前記スプリット印刷編集画面に表示させ、
前記実行コマンド入力処理では、
前記スプリット印刷編集画面に表示されている前記幅入力オブジェクトおよび前記分割数入力オブジェクトにそれぞれ数値が入力されている状態で、前記ユーザインタフェースを介して前記実行指示を受け付けた場合に、前記幅入力オブジェクトに入力されている数値を示す前記幅設定データと、前記分割数入力オブジェクトに入力されている数値を示す前記分割数設定データと、を含む前記実行コマンドを、前記プリンタ制御モジュールに入力させ、
さらに前記プリンタ制御モジュールは、
前記実行コマンドに含まれる前記画像情報に示される前記対象画像データが、前記実行コマンドに含まれる前記分割数設定データによって示される前記分割数で均等に分割できない場合、
前記実行コマンドに含まれる前記幅設定データと前記分割数設定データとに基づいて、前記実行コマンドに含まれる前記画像情報に示される前記対象画像データから、余剰量分の画像データを削除する削除処理を、前記コンピュータに実行させ、
前記スプリット画像データ生成処理では、前記削除処理によって前記対象画像データから余剰量分の画像データが削除された画像データである一部削除画像データを分割して前記スプリット画像データを生成し、
前記スプリット画像データ送信処理では、前記一部削除画像データを分割して生成された前記スプリット画像データを、前記プリンタに送信する、
ことを特徴とするアプリケーションプログラム。
An application program executable by a computer of an information processing device and comprising a screen control module and a printer control module,
The screen control module causes the computer to:
A screen for displaying, on a display, a split print edit screen for accepting, via a user interface, an instruction to edit an image to be split print processed, an instruction to set the split print process, and an instruction to execute the split print process. Display processing is executed, and the split printing processing is processing for causing a printer to perform split printing in which split images obtained by dividing one image are printed on a printing medium, and the target image to be subjected to the split printing processing is , an image in a state before being divided into the split images, and the setting of the split printing process includes the width of the print medium to be the target of the split printing and the number of divisions of the split printing,
Further, the screen control module causes the computer to:
After the split print edit screen is displayed on the display, when the execution instruction for the split print process is accepted via the user interface, image information, width setting data, and division number setting data are transferred to each other. execution command input processing for inputting an execution command including an execution command to the printer control module, and the image information is information indicating target image data indicating the target image edited by the editing instruction via the user interface. The width setting data is data indicating the setting according to the setting instruction via the user interface, and is data indicating the width of the printing medium to be subjected to the split printing, and the division number setting data is , the data indicating the setting by the setting instruction through the user interface, the data indicating the division number, the width setting data and the division number setting data being independent data;
The printer control module causes the computer to:
When the execution command is input from the screen control module, the object indicated in the image information included in the execution command is determined based on the width setting data and the division number setting data included in the execution command. Split image data generation processing is executed for dividing image data and generating split image data to be used for the split printing, wherein the split image data divides the target image into the width indicated by the width setting data, and the number of divisions is set. image data representing the split image, which is an image divided into the number of divisions indicated by the data;
Further, the printer control module causes the computer to:
split image data transmission processing for transmitting the split image data generated by the split image data generation processing to the printer via a communication interface of the information processing device;
and
Further, the screen control module causes the computer to:
In the screen display process,
displaying on the split print edit screen a width input object for accepting a numerical input for the width of the print medium to be split printed and a division number input object for accepting a numerical input for the number of divisions for split printing;
In the execution command input process,
When the execution instruction is received via the user interface in a state in which numerical values are input to the width input object and the division number input object displayed on the split print editing screen, the width input object causing the printer control module to input the execution command including the width setting data indicating the numerical value input to the division number input object and the division number setting data indicating the numerical value input to the division number input object;
Further, the printer control module
When the target image data indicated by the image information included in the execution command cannot be evenly divided by the division number indicated by the division number setting data included in the execution command,
Deletion processing for deleting a surplus amount of image data from the target image data indicated by the image information included in the execution command based on the width setting data and the division number setting data included in the execution command. causing the computer to execute
In the split image data generating process, split image data is generated by dividing partially deleted image data, which is image data obtained by deleting a surplus amount of image data from the target image data by the deleting process, and
In the split image data transmission process, the split image data generated by dividing the partially deleted image data is transmitted to the printer .
An application program characterized by:
情報処理装置のコンピュータによって実行可能であり、画面制御モジュールと、プリンタ制御モジュールと、を備えるアプリケーションプログラムであって、
前記画面制御モジュールは、前記コンピュータに、
スプリット印刷処理の対象となる対象画像の編集指示と、前記スプリット印刷処理の設定指示と、前記スプリット印刷処理の実行指示と、をユーザインタフェースを介して受け付けるスプリット印刷編集画面を、ディスプレイに表示させる画面表示処理を実行させ、前記スプリット印刷処理は、1つの画像を分割した各スプリット画像を印刷媒体に印刷するスプリット印刷をプリンタに行わせる処理であり、前記スプリット印刷処理の対象となる前記対象画像は、前記各スプリット画像に分割する前の状態の画像であり、前記スプリット印刷処理の設定には、前記スプリット印刷の対象となる印刷媒体の幅と、前記スプリット印刷の分割数と、が含まれ、
さらに前記画面制御モジュールは、前記コンピュータに、
前記スプリット印刷編集画面を前記ディスプレイに表示させた後に、前記ユーザインタフェースを介して前記スプリット印刷処理の前記実行指示を受け付けた場合に、画像情報と、幅設定データと、分割数設定データと、を含む実行コマンドを、前記プリンタ制御モジュールに入力する実行コマンド入力処理を実行させ、前記画像情報は、前記ユーザインタフェースを介した前記編集指示によって編集された前記対象画像を示す対象画像データを示す情報であり、前記幅設定データは、前記ユーザインタフェースを介した前記設定指示による設定を示すデータであって、前記スプリット印刷の対象となる前記印刷媒体の幅を示すデータであり、前記分割数設定データは、前記ユーザインタフェースを介した前記設定指示による設定を示すデータであって、前記分割数を示すデータであり、前記幅設定データと前記分割数設定データとは、互いに独立したデータであり、
前記プリンタ制御モジュールは、前記コンピュータに、
前記画面制御モジュールから前記実行コマンドが入力された場合に、前記実行コマンドに含まれる前記幅設定データと前記分割数設定データとに基づいて、前記実行コマンドに含まれる前記画像情報に示される前記対象画像データを分割し、前記スプリット印刷に用いるスプリット画像データを生成するスプリット画像データ生成処理を実行させ、前記スプリット画像データは、前記対象画像を、前記幅設定データが示す幅で、前記分割数設定データが示す分割数に分割した画像である前記スプリット画像を示す画像データであり、
さらに前記プリンタ制御モジュールは、前記コンピュータに、
前記スプリット画像データ生成処理によって生成された前記スプリット画像データを、前記情報処理装置の通信インタフェースを介して、前記プリンタに送信するスプリット画像データ送信処理と、
を実行させ
さらに前記画面制御モジュールは、前記コンピュータに、
前記画面表示処理では、
前記スプリット印刷の対象となる前記印刷媒体の幅の数値入力を受け付ける幅入力オブジェクトと、前記スプリット印刷の分割数の数値入力を受け付ける分割数入力オブジェクトと、を前記スプリット印刷編集画面に表示させ、
前記実行コマンド入力処理では、
前記スプリット印刷編集画面に表示されている前記幅入力オブジェクトおよび前記分割数入力オブジェクトにそれぞれ数値が入力されている状態で、前記ユーザインタフェースを介して前記実行指示を受け付けた場合に、前記幅入力オブジェクトに入力されている数値を示す前記幅設定データと、前記分割数入力オブジェクトに入力されている数値を示す前記分割数設定データと、を含む前記実行コマンドを、前記プリンタ制御モジュールに入力させ、
さらに前記プリンタ制御モジュールは、
前記実行コマンドに含まれる前記画像情報に示される前記対象画像データが、前記実行コマンドに含まれる前記分割数設定データによって示される前記分割数で均等に分割できない場合に実行される分割不能対策処理として、複数種類の前記分割不能対策処理が実行可能であり、
前記画面制御モジュールは、前記コンピュータに、
前記複数種類の前記分割不能対策処理のうち、実行する前記分割不能対策処理の設定を受け付ける分割不能対策設定処理と、
前記分割不能対策設定処理にて設定された前記分割不能対策処理を示す分割不能対策情報を、前記情報処理装置のメモリに記憶する分割不能対策情報記憶処理と、
を実行させ、
前記プリンタ制御モジュールは、前記コンピュータに、
前記実行コマンドに含まれる前記画像情報に示される前記対象画像データが、前記実行コマンドに含まれる前記分割数設定データによって示される前記分割数で均等に分割できない場合に、前記メモリから前記分割不能対策情報を読み出させ、読み出された前記分割不能対策情報によって示される前記分割不能対策処理を実行させる、
ことを特徴とするアプリケーションプログラム。
An application program executable by a computer of an information processing device and comprising a screen control module and a printer control module,
The screen control module causes the computer to:
A screen for displaying, on a display, a split print edit screen for accepting, via a user interface, an instruction to edit an image to be split print processed, an instruction to set the split print process, and an instruction to execute the split print process. Display processing is executed, and the split printing processing is processing for causing a printer to perform split printing in which split images obtained by dividing one image are printed on a printing medium, and the target image to be subjected to the split printing processing is , an image in a state before being divided into the split images, and the setting of the split printing process includes the width of the print medium to be the target of the split printing and the number of divisions of the split printing,
Further, the screen control module causes the computer to:
After the split print edit screen is displayed on the display, when the execution instruction for the split print process is accepted via the user interface, image information, width setting data, and division number setting data are transferred to each other. execution command input processing for inputting an execution command including an execution command to the printer control module, and the image information is information indicating target image data indicating the target image edited by the editing instruction via the user interface. The width setting data is data indicating the setting according to the setting instruction via the user interface, and is data indicating the width of the printing medium to be subjected to the split printing, and the division number setting data is , the data indicating the setting by the setting instruction through the user interface, the data indicating the division number, the width setting data and the division number setting data being independent data;
The printer control module causes the computer to:
When the execution command is input from the screen control module, the object indicated in the image information included in the execution command is determined based on the width setting data and the division number setting data included in the execution command. Split image data generation processing is executed for dividing image data and generating split image data to be used for the split printing, wherein the split image data divides the target image into the width indicated by the width setting data, and the number of divisions is set. image data representing the split image, which is an image divided into the number of divisions indicated by the data;
Further, the printer control module causes the computer to:
split image data transmission processing for transmitting the split image data generated by the split image data generation processing to the printer via a communication interface of the information processing device;
and
Further, the screen control module causes the computer to:
In the screen display process,
displaying on the split print edit screen a width input object for accepting a numerical input for the width of the print medium to be split printed and a division number input object for accepting a numerical input for the number of divisions for split printing;
In the execution command input process,
When the execution instruction is received via the user interface in a state in which numerical values are input to the width input object and the division number input object displayed on the split print editing screen, the width input object causing the printer control module to input the execution command including the width setting data indicating the numerical value input to the division number input object and the division number setting data indicating the numerical value input to the division number input object;
Further, the printer control module
Indivisible countermeasure processing executed when the target image data indicated by the image information included in the execution command cannot be evenly divided by the division number indicated by the division number setting data included in the execution command. , a plurality of types of the indivisibility countermeasure processing can be executed,
The screen control module causes the computer to:
an indivisibility countermeasure setting process for receiving a setting of the indivisibility countermeasure process to be executed among the plurality of types of the indivisibility countermeasure process;
an indivisibility countermeasure information storage process for storing, in a memory of the information processing apparatus, indivisibility countermeasure information indicating the indivisibility countermeasure set in the indivisibility countermeasure setting process;
and
The printer control module causes the computer to:
When the target image data indicated by the image information included in the execution command cannot be evenly divided by the number of divisions indicated by the number of divisions setting data included in the execution command, the indivisible countermeasure is taken from the memory. read information and execute the indivisibility countermeasure processing indicated by the read indivisibility countermeasure information ;
An application program characterized by:
請求項4から請求項6のいずれか1つに記載するアプリケーションプログラムであって、
前記プリンタ制御モジュールは、
前記実行コマンドに含まれる前記分割数設定データによって示される前記分割数が、前記実行コマンドに含まれる前記画像情報に示される前記対象画像データの分割方向のサイズに対応する最大の分割可能数を超える場合、
前記実行コマンドに含まれる前記画像情報によって示される前記対象画像データの分割方向のサイズを、前記実行コマンドに含まれる前記分割数設定データによって示される前記分割数を前記最大の分割可能数とした場合に対応する画像データの分割方向のサイズ以上に拡張する拡張処理を、前記コンピュータに実行させ、
前記スプリット画像データ生成処理では、前記拡張処理によって前記対象画像データから拡張された画像データである拡張画像データを分割して前記スプリット画像データを生成し、
前記スプリット画像データ送信処理では、前記拡張画像データを分割して生成された前記スプリット画像データを、前記プリンタに送信する、
ことを特徴とするアプリケーションプログラム。
An application program according to any one of claims 4 to 6 ,
The printer control module includes:
The number of divisions indicated by the number of divisions setting data included in the execution command exceeds the maximum number of possible divisions corresponding to the size of the target image data in the direction of division indicated by the image information included in the execution command. case,
When the size in the division direction of the target image data indicated by the image information included in the execution command is set to the maximum divisible number indicated by the division number setting data included in the execution command. causing the computer to perform an expansion process for expanding the size of the image data corresponding to the division direction or more,
In the split image data generation process, the split image data is generated by dividing extended image data, which is image data extended from the target image data by the extension process, and
In the split image data transmission process, the split image data generated by dividing the extended image data is transmitted to the printer.
An application program characterized by:
請求項1から請求項7のいずれか1つに記載するアプリケーションプログラムであって、
前記画面制御モジュールは、前記コンピュータに、
前記スプリット印刷編集画面を前記ディスプレイに表示させた後に、前記ユーザインタフェースを介して前記設定指示を受け付けた場合に、受け付けた前記設定指示によって指示された、前記スプリット印刷の対象となる前記印刷媒体の幅の前記スプリット画像を、受け付けた前記設定指示によって指示された、前記スプリット印刷の分割数並べて形成される前記対象画像を示す、プレビュー表示用の画像データである表示用画像データを生成する表示用画像データ生成処理と、
前記表示用画像データ生成処理にて生成された前記表示用画像データに基づく前記対象画像を、前記スプリット印刷編集画面にプレビュー表示させるプレビュー処理と、
を実行させ、
前記表示用画像データ生成処理では、前記対象画像が前記プレビュー処理によってプレビュー表示されている状態で、前記ユーザインタフェースを介して前記編集指示を受け付けた場合に、受け付けた前記編集指示によって指示された編集を施した状態の前記対象画像を示す画像データを、新たに前記表示用画像データとして生成し、
前記プレビュー処理では、前記表示用画像データ生成処理が前記表示用画像データを生成する都度、新たに生成された前記表示用画像データに基づく前記対象画像を、前記スプリット印刷編集画面にプレビュー表示させ、
前記実行コマンド入力処理では、前記対象画像が前記プレビュー処理によってプレビュー表示されている状態で、前記ユーザインタフェースを介して前記実行指示を受け付けた場合に、前記プレビュー表示されている状態の前記対象画像を示す前記対象画像データを示す前記画像情報と、前記プレビュー表示されている状態の前記対象画像に含まれる前記スプリット画像の幅を示す前記幅設定データと、前記プレビュー表示されている状態の前記対象画像に含まれる前記スプリット画像の数を示す前記分割数設定データと、を含む前記実行コマンドを、前記プリンタ制御モジュールに入力する、
ことを特徴とするアプリケーションプログラム。
An application program according to any one of claims 1 to 7 ,
The screen control module causes the computer to:
When the setting instruction is received via the user interface after the split print editing screen is displayed on the display, the print medium to be split printed as instructed by the received setting instruction. for generating display image data, which is image data for preview display, showing the target image formed by arranging the split images of the width in the number of divisions of the split printing instructed by the received setting instruction; image data generation processing;
preview processing for preview-displaying the target image based on the display image data generated in the display image data generation processing on the split print editing screen;
and
In the display image data generating process, when the target image is preview-displayed by the preview process and the editing instruction is received via the user interface, the editing specified by the received editing instruction is performed. newly generating image data representing the target image to which the is applied as the display image data;
In the preview processing, each time the display image data generation processing generates the display image data, the target image based on the newly generated display image data is preview-displayed on the split print editing screen;
In the execution command input process, when the target image is preview-displayed by the preview process and the execution instruction is received via the user interface, the target image in the preview-displayed state is displayed. the width setting data indicating the width of the split image included in the target image being previewed; and the target image being previewed. inputting the execution command including the division number setting data indicating the number of the split images included in the printer control module;
An application program characterized by:
請求項1から請求項7のいずれか1つに記載するアプリケーションプログラムであって、
前記画面制御モジュールは、前記コンピュータに、
前記スプリット印刷編集画面を前記ディスプレイに表示させた後に、前記ユーザインタフェースを介して前記編集指示を受け付けた場合に、受け付けた前記編集指示によって指示された編集を施した状態の前記対象画像を示す、プレビュー表示用の画像データである表示用画像データを生成する表示用画像データ生成処理と、
前記表示用画像データ生成処理にて生成された前記表示用画像データに基づく前記対象画像を、前記スプリット印刷編集画面にプレビュー表示させるプレビュー処理と、
を実行させ、
前記表示用画像データ生成処理では、前記対象画像が前記プレビュー処理によってプレビュー表示されている状態で、前記ユーザインタフェースを介して前記設定指示を受け付けた場合に、受け付けた前記設定指示によって指示された、前記スプリット印刷の対象となる前記印刷媒体の幅の前記スプリット画像を、受け付けた前記設定指示によって指示された、前記スプリット印刷の分割数並べて形成される前記対象画像を示す画像データを、新たに前記表示用画像データとして生成し、
前記プレビュー処理では、前記表示用画像データ生成処理が前記表示用画像データを生成する都度、新たに生成された前記表示用画像データに基づく前記対象画像を、前記スプリット印刷編集画面にプレビュー表示させ、
前記実行コマンド入力処理では、前記対象画像が前記プレビュー処理によってプレビュー表示されている状態で、前記ユーザインタフェースを介して前記実行指示を受け付けた場合に、前記プレビュー表示されている状態の前記対象画像を示す前記対象画像データを示す前記画像情報と、前記プレビュー表示されている状態の前記対象画像に含まれる前記スプリット画像の幅を示す前記幅設定データと、前記プレビュー表示されている状態の前記対象画像に含まれる前記スプリット画像の数を示す前記分割数設定データと、を含む前記実行コマンドを、前記プリンタ制御モジュールに入力する、
ことを特徴とするアプリケーションプログラム。
An application program according to any one of claims 1 to 7 ,
The screen control module causes the computer to:
After the split print editing screen is displayed on the display, when the editing instruction is received via the user interface, the target image is shown in a state in which the editing indicated by the received editing instruction is performed. display image data generation processing for generating display image data that is image data for preview display;
preview processing for preview-displaying the target image based on the display image data generated in the display image data generation processing on the split print editing screen;
and
In the display image data generating process, when the target image is preview-displayed by the preview process and the setting instruction is accepted via the user interface, the setting instruction is instructed by the accepted setting instruction. The image data indicating the target image formed by arranging the split images of the width of the print medium to be split-printed by the number of divisions of the split-printing specified by the received setting instruction is newly added to the above-described method. Generated as image data for display,
In the preview processing, each time the display image data generation processing generates the display image data, the target image based on the newly generated display image data is preview-displayed on the split print editing screen;
In the execution command input process, when the target image is preview-displayed by the preview process and the execution instruction is received via the user interface, the target image in the preview-displayed state is displayed. the width setting data indicating the width of the split image included in the target image being previewed; and the target image being previewed. inputting the execution command including the division number setting data indicating the number of the split images included in the printer control module;
An application program characterized by:
請求項1から請求項のいずれか1つに記載するアプリケーションプログラムであって、
前記スプリット印刷の対象となる前記印刷媒体の方向には、幅方向と長さ方向とがあり、
前記スプリット印刷の前記分割数は、前記スプリット印刷の対象となる前記印刷媒体の前記幅方向に対する分割数であり、
前記スプリット画像を前記幅方向に並べた画像が、前記対象画像である、
ことを特徴とするアプリケーションプログラム。
An application program according to any one of claims 1 to 9 ,
The direction of the print medium to be split-printed includes a width direction and a length direction,
The number of divisions in the split printing is the number of divisions in the width direction of the print medium to be the target of the split printing,
An image obtained by arranging the split images in the width direction is the target image.
An application program characterized by:
請求項10に記載するアプリケーションプログラムであって、
前記スプリット印刷を行わせる前記プリンタは、テープ状の前記印刷媒体を搬送させながら印刷を行うラベルプリンタであり、
前記印刷媒体の前記幅方向は、前記ラベルプリンタによって前記印刷媒体が搬送される搬送方向に交わる方向である、
ことを特徴とするアプリケーションプログラム。
An application program according to claim 10 ,
The printer that performs the split printing is a label printer that performs printing while conveying the tape-shaped print medium,
The width direction of the print medium is a direction that intersects the transport direction in which the print medium is transported by the label printer,
An application program characterized by:
情報処理装置のコンピュータによって実行可能なプリンタ制御モジュールであって、
前記コンピュータに、
スプリット印刷処理の実行コマンドを受け付けるコマンド受付処理を実行させ、前記スプリット印刷処理は、1つの画像を分割した各スプリット画像を印刷媒体に印刷するスプリット印刷をプリンタに行わせる処理であり、前記実行コマンドには、画像情報と、幅設定データと、分割数設定データと、が含まれ、前記画像情報は、前記スプリット印刷処理の対象となる対象画像を示す対象画像データを示す情報であり、前記幅設定データは、前記スプリット印刷の対象となる前記印刷媒体の幅を示すデータであり、前記分割数設定データは、前記スプリット印刷の分割数を示すデータであり、前記幅設定データと前記分割数設定データとは、互いに独立したデータであり、
さらに前記コンピュータに、
前記コマンド受付処理にて前記実行コマンドを受け付けた場合に、前記実行コマンドに含まれる前記幅設定データと前記分割数設定データとに基づいて、前記実行コマンドに含まれる画像情報に示される画像データを分割し、スプリット印刷に用いるスプリット画像データを生成するスプリット画像データ生成処理を実行させ、前記スプリット画像データは、前記対象画像を、前記幅設定データが示す幅で、前記分割数設定データが示す分割数に分割した画像であるスプリット画像を示す画像データであり、
さらに前記コンピュータに、
前記スプリット画像データ生成処理によって生成された前記スプリット画像データを、前記情報処理装置の通信インタフェースを介して、前記プリンタに送信するスプリット画像データ送信処理と、
を実行させ、
前記コマンド受付処理では、
前記スプリット印刷の対象となる前記印刷媒体の幅と前記スプリット印刷の前記分割数との組合せを示す複数の選択肢を有する第1スプリット印刷編集画面を表示する第1画面制御モジュールからの前記実行コマンドである第1実行コマンドと、
前記スプリット印刷の対象となる前記印刷媒体の幅の数値入力を受け付ける幅入力オブジェクトと前記スプリット印刷の前記分割数の数値入力を受け付ける分割数入力オブジェクトとを有する第2スプリット印刷編集画面を表示する第2画面制御モジュールからの前記実行コマンドである第2実行コマンドと、
を受け付け可能であり、
前記第1実行コマンドを受け付けた場合、前記第1スプリット印刷編集画面にて選択されている前記選択肢に対応する、前記印刷媒体の幅を示す前記幅設定データと、前記スプリット印刷の前記分割数を示す前記分割数設定データと、を含む前記第1実行コマンドを受け付け、
前記第2実行コマンドを受け付けた場合、前記第2スプリット印刷編集画面に表示されている、前記幅入力オブジェクトに入力されている数値を示す前記幅設定データと、前記分割数入力オブジェクトに入力されている数値を示す前記分割数設定データと、を含む前記第2実行コマンドを受け付け
前記第2実行コマンドに含まれる前記画像情報に示される前記対象画像データが、前記第2実行コマンドに含まれる前記分割数設定データによって示される前記分割数で均等に分割できない場合、
前記第2実行コマンドに含まれる前記幅設定データと前記分割数設定データとに基づいて、前記第2実行コマンドに含まれる前記画像情報に示される前記対象画像データから、余剰量分の画像データを削除する削除処理を、前記コンピュータに実行させ、
前記スプリット画像データ生成処理では、前記削除処理によって前記対象画像データから余剰量分の画像データが削除された画像データである一部削除画像データを分割して前記スプリット画像データを生成し、
前記スプリット画像データ送信処理では、前記一部削除画像データを分割して生成された前記スプリット画像データを、前記プリンタに送信する、
ことを特徴とするプリンタ制御モジュール。
A printer control module executable by a computer of an information processing device, comprising:
to the computer;
command reception processing for receiving an execution command for split printing processing is executed, the split printing processing is processing for causing the printer to perform split printing for printing split images obtained by dividing one image on a print medium, and the execution command includes image information, width setting data, and division number setting data. The image information is information indicating target image data indicating a target image to be subjected to the split printing process, and the width The setting data is data indicating the width of the print medium to be subjected to the split printing, the division number setting data is data indicating the division number of the split printing, and the width setting data and the division number are data. Configuration data is data independent of each other,
Furthermore, in said computer,
When the execution command is received in the command reception process, the image data indicated by the image information included in the execution command is generated based on the width setting data and the division number setting data included in the execution command. Split image data generation processing is executed for dividing and generating split image data to be used for split printing, and the split image data is obtained by dividing the target image by the width indicated by the width setting data and by dividing the target image by the division number setting data. image data representing a split image, which is an image divided into a number;
Furthermore, in said computer,
split image data transmission processing for transmitting the split image data generated by the split image data generation processing to the printer via a communication interface of the information processing device;
and
In the command reception process,
the execution command from the first screen control module for displaying a first split print editing screen having a plurality of options indicating a combination of the width of the print medium to be split printed and the number of divisions of the split print; a first execution command;
displaying a second split print edit screen having a width input object for accepting a numerical input of the width of the print medium to be split printed and a division number input object for accepting a numerical input of the division number of the split printing; a second execution command which is the execution command from the two-screen control module;
can accept
When the first execution command is received, the width setting data indicating the width of the print medium and the number of divisions of the split printing corresponding to the option selected on the first split print editing screen are set. receiving the first execution command including the division number setting data indicating
When the second execution command is received, the width setting data indicating the numerical value input to the width input object and the division number input object displayed on the second split print editing screen are displayed. receiving the second execution command including the division number setting data indicating a numerical value ;
When the target image data indicated by the image information included in the second execution command cannot be evenly divided by the division number indicated by the division number setting data included in the second execution command,
Based on the width setting data and the division number setting data included in the second execution command, a surplus amount of image data is extracted from the target image data indicated in the image information included in the second execution command. cause the computer to execute a deletion process to delete,
In the split image data generating process, split image data is generated by dividing partially deleted image data, which is image data obtained by deleting a surplus amount of image data from the target image data by the deleting process, and
In the split image data transmission process, the split image data generated by dividing the partially deleted image data is transmitted to the printer .
A printer control module characterized by:
JP2018100415A 2018-05-25 2018-05-25 Application program and printer control module Active JP7119576B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018100415A JP7119576B2 (en) 2018-05-25 2018-05-25 Application program and printer control module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018100415A JP7119576B2 (en) 2018-05-25 2018-05-25 Application program and printer control module

Publications (2)

Publication Number Publication Date
JP2019204400A JP2019204400A (en) 2019-11-28
JP7119576B2 true JP7119576B2 (en) 2022-08-17

Family

ID=68727083

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018100415A Active JP7119576B2 (en) 2018-05-25 2018-05-25 Application program and printer control module

Country Status (1)

Country Link
JP (1) JP7119576B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003271371A (en) 2002-03-15 2003-09-26 Canon Inc Print controller and print control method
JP2004058327A (en) 2002-07-25 2004-02-26 Olympus Corp Image recorder, imaging method using it, and imaging processing program
JP2007026234A (en) 2005-07-20 2007-02-01 Brother Ind Ltd Label production device, label production program and computer-readable recording medium recording label production program
JP2008283647A (en) 2007-05-14 2008-11-20 Seiko Epson Corp Image data generator, tape printing apparatus, printing system and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6328671A (en) * 1986-07-22 1988-02-06 Kanzaki Paper Mfg Co Ltd Label printer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003271371A (en) 2002-03-15 2003-09-26 Canon Inc Print controller and print control method
JP2004058327A (en) 2002-07-25 2004-02-26 Olympus Corp Image recorder, imaging method using it, and imaging processing program
JP2007026234A (en) 2005-07-20 2007-02-01 Brother Ind Ltd Label production device, label production program and computer-readable recording medium recording label production program
JP2008283647A (en) 2007-05-14 2008-11-20 Seiko Epson Corp Image data generator, tape printing apparatus, printing system and program

Also Published As

Publication number Publication date
JP2019204400A (en) 2019-11-28

Similar Documents

Publication Publication Date Title
US20070171446A1 (en) Font downloading apparatus, font downloading program, font downloading method and recording medium
US11048457B2 (en) Non-transitory computer-readable medium storing computer-readable instructions
US8928916B2 (en) Display device, portable terminal, control method for display device, and program product
JP7119490B2 (en) application program
JP3679448B2 (en) Printing control method in host computer
JP7119576B2 (en) Application program and printer control module
US11269565B2 (en) Image forming apparatus that edits page description language based on a delete instruction, and a related control method and storage medium
JP6714872B2 (en) Image forming device
JP2006072824A (en) Electronic album editing device, its control method, its program, and computer-readable storage medium for storing the program
JP7287179B2 (en) program
JP4710743B2 (en) Print server, print server program
JP7243484B2 (en) Control program and information processing device
JP7238482B2 (en) program
JP7024547B2 (en) Application program
JP7287013B2 (en) Control program and information processing device
JP7250605B2 (en) PRINTING METHOD, PRINTING SYSTEM AND PRINTING APPARATUS
JP6059488B2 (en) Print control device
US10318219B1 (en) Image forming system, image forming apparatus, and image forming method to process reference image with fixed location for variable data printing
JP7215003B2 (en) Control program and information processing device
JP2017177352A (en) Print control device, printer, printing system, printing method and program
JP2019204347A (en) Information processing device, control method therefor, and program
JP6300447B2 (en) Drawing apparatus, drawing method, and program
JP2015069414A (en) Program and information processor
JP3854914B2 (en) Information processing system, information processing apparatus, control method therefor, and program
JP2021026267A (en) Program and information processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210511

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220426

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220620

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220718

R150 Certificate of patent or registration of utility model

Ref document number: 7119576

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150