JP2021026736A - program - Google Patents

program Download PDF

Info

Publication number
JP2021026736A
JP2021026736A JP2019146986A JP2019146986A JP2021026736A JP 2021026736 A JP2021026736 A JP 2021026736A JP 2019146986 A JP2019146986 A JP 2019146986A JP 2019146986 A JP2019146986 A JP 2019146986A JP 2021026736 A JP2021026736 A JP 2021026736A
Authority
JP
Japan
Prior art keywords
display
image
display frame
images
program
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.)
Granted
Application number
JP2019146986A
Other languages
Japanese (ja)
Other versions
JP7379921B2 (en
Inventor
真知子 渡邉
Machiko Watanabe
真知子 渡邉
昌範 小田
Masanori Oda
昌範 小田
竜竜 阮
Long Long Ruan
竜竜 阮
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 JP2019146986A priority Critical patent/JP7379921B2/en
Priority to CN202010787489.7A priority patent/CN112346671A/en
Publication of JP2021026736A publication Critical patent/JP2021026736A/en
Application granted granted Critical
Publication of JP7379921B2 publication Critical patent/JP7379921B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1242Image or content composition onto a page
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/125Page layout or assigning input pages onto output media, e.g. imposition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1257Configuration of print job parameters, e.g. using UI at the client by using pre-stored settings, e.g. job templates, presets, print styles

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

To provide, in a program for displaying a plurality of images on a device, a new technology that is expected to give visual freshness to a user.SOLUTION: A label creation application 42 that can be executed in a CPU 11 of a device 1 causes the CPU 11 to insert, into each of a plurality of display frames whose sizes are randomly determined, at least part of one image of a plurality of use example images G1, G2 whose display order is determined in advance, display, on a user IF 20 of the device 1, a top screen 50 including an image area 53 where the plurality of use example images inserted into the display frames are arranged in the display order, receive, through the user IF 20, an instruction to select one of the use example images in a state where the plurality of use example images are displayed, and specify an image to be printed based on the selected use example image.SELECTED DRAWING: Figure 3

Description

本明細書に開示される技術分野は、複数の画像をデバイスに表示させるプログラムに関する。 The technical fields disclosed herein relate to programs that display multiple images on a device.

複数の画像を表示する機能を有するデバイスにおいて、画像の表示態様を変化させる技術が知られている。例えば、特許文献1には、画像全体を分割し、それら分割画像をランダムな順番で表示する構成が開示されている。 A technique for changing the display mode of an image is known in a device having a function of displaying a plurality of images. For example, Patent Document 1 discloses a configuration in which an entire image is divided and the divided images are displayed in a random order.

特開2000−276122号公報Japanese Unexamined Patent Publication No. 2000-276122

複数の画像をデバイスに表示させるプログラムにおいて、複数の画像を毎回同じレイアウトで表示させても新鮮味に欠ける。特許文献1のように分割画像をランダムに表示することで、複数の画像の表示途中にはユーザに視覚的な新鮮味を与えられるが、各画像のレイアウトは変わらない。そのため、複数の画像の表示態様については、ユーザに新鮮味を付与する上で改善が望まれる。 In a program that displays multiple images on a device, even if multiple images are displayed in the same layout each time, the freshness is lacking. By randomly displaying the divided images as in Patent Document 1, the user can be given a visual freshness while displaying the plurality of images, but the layout of each image does not change. Therefore, it is desired to improve the display mode of the plurality of images in order to give the user a fresh taste.

本明細書は、複数の画像をデバイスに表示させるプログラムにおいて、ユーザに視覚的な新鮮味を付与することが期待できる新たな技術を開示する。 The present specification discloses a new technique that can be expected to give a user a visual freshness in a program for displaying a plurality of images on a device.

この課題の解決を目的としてなされたプログラムは、複数の画像を表示する機能を有するデバイスのコンピュータが実行可能なプログラムであって、前記コンピュータに、サイズがランダムに決定される複数の表示枠のそれぞれに、あらかじめ表示順が定められた前記複数の画像のうちの1つの画像の少なくとも一部を挿入する挿入処理と、前記表示枠に挿入された前記複数の画像が表示順で配置された画面を前記デバイスの表示部に表示させる表示処理と、前記表示処理によって前記複数の画像が表示された状態で前記複数の画像の1つを選択する選択指示を、前記デバイスの入力インタフェースを介して受け付ける選択指示受付処理と、前記選択指示受付処理によって選択された画像に基づき、印刷対象となる画像を特定する特定処理と、を実行させる、ことを特徴としている。 The program made for the purpose of solving this problem is a program that can be executed by a computer of a device having a function of displaying a plurality of images, and each of a plurality of display frames whose size is randomly determined on the computer. An insertion process for inserting at least a part of one of the plurality of images whose display order is predetermined, and a screen in which the plurality of images inserted in the display frame are arranged in the display order. A selection process for displaying on the display unit of the device and a selection instruction for selecting one of the plurality of images while the plurality of images are displayed by the display process are received via the input interface of the device. It is characterized in that an instruction reception process and a specific process for specifying an image to be printed are executed based on the image selected by the selection instruction reception process.

本明細書に開示されるプログラムを実行することで、情報処理装置は、あらかじめ表示順が定められた複数の画像を、サイズがランダムに決定される複数の表示枠のそれぞれに各画像の少なくとも一部を挿入し、挿入された画像を表示順に表示する。つまり、表示処理を実行する度に、各画像とその画像が挿入される表示枠との組み合わせが変化し、複数の画像のそれぞれの表示サイズが変わる可能性がある。そのため、複数の画像の表示に際して、ユーザに視覚的な新鮮味を付与することが期待できる。 By executing the program disclosed in the present specification, the information processing apparatus displays a plurality of images whose display order is predetermined, and at least one of the plurality of images in each of the plurality of display frames whose size is randomly determined. Insert a part and display the inserted images in the display order. That is, each time the display process is executed, the combination of each image and the display frame into which the image is inserted may change, and the display size of each of the plurality of images may change. Therefore, it can be expected to give the user a visual freshness when displaying a plurality of images.

上記プログラムの機能を実現する情報処理装置、プログラムの機能を実現するための制御方法、プログラムを格納するコンピュータにて読取可能な記憶媒体も、新規で有用である。 An information processing device that realizes the function of the program, a control method for realizing the function of the program, and a storage medium that can be read by a computer that stores the program are also new and useful.

本明細書に開示される技術によれば、複数の画像をデバイスに表示させるプログラムにおいて、ユーザに視覚的な新鮮味を付与することが期待できる新たな技術が実現される。 According to the technology disclosed in the present specification, a new technology that can be expected to give a user a visual freshness is realized in a program for displaying a plurality of images on a device.

実施の形態にかかるデバイスの概略構成図である。It is a schematic block diagram of the device which concerns on embodiment. ラベル作成処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a label making process. トップ画面の例を示す説明図である。It is explanatory drawing which shows the example of the top screen. オブジェクト配置処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the object arrangement processing. 表示枠設定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the display frame setting process. 第1枠群の例を示す説明図である。It is explanatory drawing which shows the example of the 1st frame group. 第2枠群の例を示す説明図である。It is explanatory drawing which shows the example of the 2nd frame group. トリミングの例を示す説明図である。It is explanatory drawing which shows the example of trimming. トップ画面の例を示す説明図である。It is explanatory drawing which shows the example of the top screen. 編集画面の例を示す説明図である。It is explanatory drawing which shows the example of the edit screen.

以下、デバイスに組み込まれたプログラムを具体化した実施の形態について、添付図面を参照しつつ詳細に説明する。本形態は、スマートフォンなどの携帯可能であって画像を表示できるデバイスに組み込まれたアプリケーションプログラム(以下、「アプリ」とする)を開示するものである。 Hereinafter, embodiments in which the program incorporated in the device is embodied will be described in detail with reference to the accompanying drawings. This embodiment discloses an application program (hereinafter referred to as "application") incorporated in a portable device such as a smartphone that can display an image.

本形態のデバイス1は、図1に示すように、CPU11と、メモリ12と、を含むコントローラ10を備え、プリンタ2に接続可能なものである。さらに、デバイス1は、ユーザインタフェース(以下、「ユーザIF」とする)20と、通信インタフェース(以下、「通信IF」とする)30と、を備え、これらがコントローラ10に電気的に接続されている。デバイス1は、例えば、プリンタ2に印刷させるための各種のアプリを実行可能な装置である。なお、図1中のコントローラ10は、デバイス1の制御に利用されるハードウェアやソフトウェアを纏めた総称であって、実際にデバイス1に存在する単一のハードウェアを表すとは限らない。 As shown in FIG. 1, the device 1 of the present embodiment includes a controller 10 including a CPU 11 and a memory 12, and can be connected to the printer 2. Further, the device 1 includes a user interface (hereinafter referred to as "user IF") 20 and a communication interface (hereinafter referred to as "communication IF") 30, which are electrically connected to the controller 10. There is. The device 1 is, for example, a device capable of executing various applications for printing on the printer 2. Note that the controller 10 in FIG. 1 is a general term for the hardware and software used for controlling the device 1, and does not necessarily represent a single piece of hardware that actually exists in the device 1.

CPU11は、メモリ12から読み出したプログラムに従って、また、ユーザの操作に基づいて、各種の処理を実行する。CPU11は、コンピュータの一例である。メモリ12は、ROM、RAMを含み、さらにHDD、フラッシュメモリ等の不揮発性メモリを含み、各種のプログラムやデータを記憶する。 The CPU 11 executes various processes according to the program read from the memory 12 and based on the user's operation. The CPU 11 is an example of a computer. The memory 12 includes a ROM and a RAM, and further includes a non-volatile memory such as an HDD and a flash memory, and stores various programs and data.

ユーザIF20は、表示機能と操作受付機能との両方を備えたタッチパネルを含む。ユーザIF20は、表示部の一例であり、入力インタフェースの一例である。なお、ユーザIF20は、情報を表示するディスプレイ等と、ユーザによる入力操作を受け付けるキーボードやマウス等と、の組み合わせを含んでいても良い。 The user IF 20 includes a touch panel having both a display function and an operation reception function. The user IF 20 is an example of a display unit and an example of an input interface. The user IF 20 may include a combination of a display or the like that displays information and a keyboard, a mouse, or the like that accepts input operations by the user.

通信IF30は、プリンタ2等の外部装置との通信を行うためのハードウェアを含む。通信IF30の通信方式は、無線でも有線でもよく、また、Wi−Fi(登録商標)、Bluetooth(登録商標)、USB、LAN等、どのような規格の方式でもよい。なお、本形態のデバイス1は、通信IF30を介して、インターネットに接続する機能を有していても良い。 The communication IF 30 includes hardware for communicating with an external device such as a printer 2. The communication method of the communication IF30 may be wireless or wired, and may be any standard method such as Wi-Fi (registered trademark), Bluetooth (registered trademark), USB, and LAN. The device 1 of the present embodiment may have a function of connecting to the Internet via the communication IF30.

本形態のデバイス1のメモリ12には、図1に示すように、オペレーティングシステム(以下、「OS」とする)41と、ラベル作成アプリ42と、画像データベース(以下、「画像DB」とする)43と、が組み込まれている。OS41は、例えば、iOS(登録商標)、Android(登録商標)、Windows(登録商標)、MacOS(登録商標)、Linux(登録商標)のいずれかである。 As shown in FIG. 1, the memory 12 of the device 1 of the present embodiment includes an operating system (hereinafter referred to as “OS”) 41, a label creation application 42, and an image database (hereinafter referred to as “image DB”). 43 and are incorporated. OS41 is, for example, one of iOS (registered trademark), Android (registered trademark), Windows (registered trademark), MacOS (registered trademark), and Linux (registered trademark).

本形態のプリンタ2は、例えば、熱転写方式の印刷ヘッドを備え、ロール状に巻き取られたラベル紙を収容し、ラベル紙を巻き出しつつ印刷を行う、いわゆるラベルプリンタである。プリンタ2は、例えば、デバイス1から受信した印刷ジョブに基づいて、収容されているラベル紙への画像の印刷とラベル紙の搬送とを行い、印刷済みの部分を機外へ突出させる。 The printer 2 of this embodiment is, for example, a so-called label printer provided with a thermal transfer type printing head, accommodating a label paper wound in a roll shape, and printing while unwinding the label paper. The printer 2 prints an image on the contained label paper and conveys the label paper based on the print job received from the device 1, for example, and projects the printed portion to the outside of the machine.

本形態のラベル作成アプリ42は、プリンタ2を使用して各種のラベルを作成するためのアプリである。ラベル作成アプリ42は、プログラムの一例である。ラベル作成アプリ42は、プリンタ2に印刷させる画像の作成や編集の指示を受け付け、指示を受け付けた画像をユーザIF20に表示させる。また、ラベル作成アプリ42は、表示中の画像の印刷実行の指示を受け付け、表示中の画像に基づく印刷ジョブを生成して、プリンタ2に送信する。なお、本形態のラベル作成アプリ42は、ユーザの実行指示に基づいて独立して実行可能なプログラムでも良いし、他のプログラムの実行中にそのプログラムから呼び出されて実行されるプログラムでも良い。 The label creation application 42 of this embodiment is an application for creating various labels using the printer 2. The label creation application 42 is an example of a program. The label creation application 42 receives instructions for creating and editing an image to be printed by the printer 2, and causes the user IF 20 to display the image for which the instructions have been received. Further, the label creation application 42 receives an instruction to execute printing of the displayed image, generates a print job based on the displayed image, and transmits the print job to the printer 2. The label creation application 42 of this embodiment may be a program that can be executed independently based on a user's execution instruction, or a program that is called and executed from the program during the execution of another program.

画像DB43は、ラベル作成アプリ42用の各種の画像の画像データを記憶する記憶領域である。ラベル作成アプリ42は、ユーザの指示に基づいて、画像DB43に記憶される画像データの画像をユーザIF20に表示させる。なお、画像DB43に記憶される画像データは、常時記憶されていても良いし、必要に応じてサーバ等から取得しても良い。 The image DB 43 is a storage area for storing image data of various images for the label creation application 42. The label creation application 42 causes the user IF 20 to display an image of the image data stored in the image DB 43 based on the user's instruction. The image data stored in the image DB 43 may be stored at all times, or may be acquired from a server or the like as needed.

本形態では、画像DB43に、例えば、ラベル作成アプリ42にて選択可能な複数のテンプレートと、各テンプレートに対応して、それぞれの使用例を示す複数の使用例画像の画像データと、が記憶される。ラベル作成アプリ42にて使用されるテンプレートは、ラベル作成用のひな形の画像データであり、文字列、コード画像、枠画像、イラストなどのサンプルを含む。ユーザは、例えば、複数の使用例画像を参照して、複数のテンプレートから作成したいラベルと似たテンプレートを選択し、選択したテンプレートを編集して印刷させることができる。ユーザは、例えば、テンプレートの文字列を希望の文字に変更して印刷させることで、容易に希望のラベルを作成できる。 In this embodiment, the image DB 43 stores, for example, a plurality of templates that can be selected by the label creation application 42, and image data of a plurality of usage example images that correspond to each template and indicate each usage example. To. The template used in the label creation application 42 is image data of a template for label creation, and includes samples such as a character string, a code image, a frame image, and an illustration. For example, the user can refer to a plurality of use case images, select a template similar to a label to be created from a plurality of templates, edit the selected template, and print the selected template. The user can easily create a desired label by, for example, changing the character string of the template to a desired character and printing it.

続いて、本形態のラベル作成アプリ42によるラベル作成処理の手順について、図2のフローチャートを参照して説明する。ラベル作成処理は、ラベル作成アプリ42の実行指示を受け付けたことを契機に、デバイス1のCPU11にて実行される。なお、以下の処理およびフローチャートの各処理ステップは、基本的に、各プログラムに記述された命令に従ったCPU11の処理を示す。CPU11による処理は、デバイス1のOS41のAPIを用いたハードウェア制御も含む。本明細書では、OS41の記載を省略して各プログラムの動作を説明する。 Subsequently, the procedure of the label creation process by the label creation application 42 of this embodiment will be described with reference to the flowchart of FIG. The label creation process is executed by the CPU 11 of the device 1 when the execution instruction of the label creation application 42 is received. The following processing and each processing step in the flowchart basically indicate the processing of the CPU 11 according to the instructions described in each program. The processing by the CPU 11 also includes hardware control using the API of the OS 41 of the device 1. In this specification, the operation of each program will be described by omitting the description of OS 41.

ラベル作成処理では、CPU11は、まず、ユーザIF20にトップ画面を表示させるための処理であるオブジェクト配置処理を実行する(S101)。本形態のトップ画面50には、例えば、図3に示すように、タイトル51と、トップ画像52と、ラベルの使用例を表す複数の使用例画像G1、G2などを含む画像領域53と、が含まれる。タイトル51には、設定ボタン511が含まれる。なお、本形態の各使用例画像は、テンプレートの指定を受け付けるオブジェクトであり、使用例画像の1つがタップされると、その使用例画像に示されているラベルのテンプレートの編集画面に移行するように構成されている。 In the label creation process, the CPU 11 first executes an object placement process, which is a process for displaying the top screen on the user IF 20 (S101). On the top screen 50 of this embodiment, for example, as shown in FIG. 3, a title 51, a top image 52, and an image area 53 including a plurality of usage example images G1 and G2 representing usage examples of labels are provided. included. The title 51 includes a setting button 511. Each usage example image of this embodiment is an object that accepts template specification, and when one of the usage example images is tapped, the screen shifts to the template editing screen of the label shown in the usage example image. It is configured in.

また、本形態のラベル作成アプリ42は、縦横2方向へのスクロール表示機能を備える。以下では、図3中に矢印で示したように、スクロール方向をX方向、スクロール方向に直交する方向をY方向とする。そして、画像領域53には、複数の使用例画像G1、G2などが、Y方向に2以上の所定値の列に分かれて、各列ごとにX方向に並んで表示される。以下では、画像領域53中に使用例画像を並べるY方向の列の数を、「表示列数」とする。図3の例では、スクロール方向は縦方向であり、表示列数は2である。 Further, the label creation application 42 of this embodiment has a scroll display function in two vertical and horizontal directions. In the following, as indicated by the arrows in FIG. 3, the scroll direction is the X direction, and the direction orthogonal to the scroll direction is the Y direction. Then, in the image area 53, a plurality of usage example images G1, G2, etc. are divided into columns of two or more predetermined values in the Y direction, and each column is displayed side by side in the X direction. In the following, the number of columns in the Y direction in which the usage example images are arranged in the image area 53 is referred to as “the number of display columns”. In the example of FIG. 3, the scroll direction is the vertical direction, and the number of display columns is 2.

そして、ラベル作成アプリ42は、設定ボタン511への操作によって、スクロール方向と表示列数との切り換え指示を受け付ける。ラベル作成アプリ42は、受け付けた設定内容をメモリ12に記憶する。そして、ラベル作成アプリ42は、起動時、または起動後の必要に応じて、メモリ12から設定内容を読み出す。なお、スクロール方向やデバイス1のユーザIF20の画面サイズ等に応じて、設定可能な表示列数の範囲が限定されていても良い。 Then, the label creation application 42 receives an instruction to switch between the scroll direction and the number of display columns by operating the setting button 511. The label creation application 42 stores the received setting contents in the memory 12. Then, the label creation application 42 reads the setting contents from the memory 12 at the time of starting or as needed after starting. The range of the number of display columns that can be set may be limited according to the scroll direction, the screen size of the user IF20 of the device 1, and the like.

ラベル作成処理のS101にて実行されるオブジェクト配置処理の手順について、図4のフローチャートを参照して説明する。オブジェクト配置処理は、画像領域53中に表示される各使用例画像の配置を決定する処理である。オブジェクト配置処理では、CPU11は、まず、表示枠設定処理を実行する(S201)。表示枠設定処理は、各使用例画像の表示範囲である表示枠を設定する処理である。 The procedure of the object placement process executed in S101 of the label creation process will be described with reference to the flowchart of FIG. The object arrangement process is a process for determining the arrangement of each use example image displayed in the image area 53. In the object placement process, the CPU 11 first executes the display frame setting process (S201). The display frame setting process is a process of setting a display frame which is a display range of each usage example image.

表示枠設定処理の手順について、図5のフローチャートを参照して説明する。表示枠設定処理では、CPU11は、まず、スクロール方向であるX方向と表示列数とを取得する(S301)。そして、CPU11は、X方向が縦方向であるか否かを判断する(S302)。縦スクロールであると判断した場合(S302:YES)、CPU11は、表示枠群として、縦スクロール用の表示枠群である第1枠群を使用すると決定する(S303)。第1枠群は、例えば、図6に示すように、Y方向のサイズは全て同じ幅Wであって、X方向のサイズがそれぞれ異なる高さT1〜T4である4つの表示枠A、B、C、Dを含む表示枠群である。第1枠群は、第1の表示枠群の一例である。 The procedure of the display frame setting process will be described with reference to the flowchart of FIG. In the display frame setting process, the CPU 11 first acquires the X direction, which is the scroll direction, and the number of display columns (S301). Then, the CPU 11 determines whether or not the X direction is the vertical direction (S302). When it is determined that the vertical scrolling is performed (S302: YES), the CPU 11 determines to use the first frame group, which is the display frame group for vertical scrolling, as the display frame group (S303). In the first frame group, for example, as shown in FIG. 6, four display frames A, B, which have the same width W in the Y direction and heights T1 to T4 having different sizes in the X direction. It is a display frame group including C and D. The first frame group is an example of the first display frame group.

表示枠群の各表示枠は、視覚的にはっきり異なって見える大きさが選択されている。例えば、図6の例では、表示枠Bが正方形、すなわちT2=Wであり、他の各表示枠の高さは、以下の通りの関係となっている。
T1 = T2 × 2/3
T3 = T2 × 4/3
T4 = T2 × 5/3
The size of each display frame of the display frame group is selected so that it looks clearly different visually. For example, in the example of FIG. 6, the display frame B is a square, that is, T2 = W, and the heights of the other display frames have the following relationship.
T1 = T2 x 2/3
T3 = T2 x 4/3
T4 = T2 x 5/3

一方、X方向が横方向、すなわち、横スクロールであると判断した場合(S302:NO)、CPU11は、表示枠群として、横スクロール用の表示枠群である第2枠群を使用すると決定する(S304)。第2枠群は、例えば、図7に示すように、Y方向のサイズは全て同じ高さTであって、X方向のサイズがそれぞれ異なる幅W1〜W4である4つの表示枠E、F、G、Hを含む表示枠群である。第2枠群は、第2の表示枠群の一例である。第2枠群の各表示枠の幅W1〜W4は、図6に示した第1枠群における高さT1〜T4と同様に、視覚的に違いが明確な大きさである。 On the other hand, when it is determined that the X direction is the horizontal direction, that is, horizontal scrolling (S302: NO), the CPU 11 determines to use the second frame group, which is a display frame group for horizontal scrolling, as the display frame group. (S304). In the second frame group, for example, as shown in FIG. 7, four display frames E, F, having the same height T in the Y direction and different widths W1 to W4 in the X direction. It is a display frame group including G and H. The second frame group is an example of the second display frame group. The widths W1 to W4 of each display frame of the second frame group are visually different in size, similar to the heights T1 to T4 in the first frame group shown in FIG.

次に、CPU11は、ユーザIF20の表示画面のサイズを取得する(S305)。そして、S301にて取得した表示列数と、S305にて取得した表示画面のサイズと、から、各表示枠のY方向のサイズを決定する(S306)。S306では、選択されている表示枠群が第1枠群である場合には、図6に示す幅Wが、選択されている表示枠群が第2枠群である場合には、図7に示す高さTが、それぞれ決定される。さらに、CPU11は、決定したY方向のサイズと前述した関係とに基づいて、各表示枠のX方向のサイズを決定し(S307)、表示枠設定処理を終了して、オブジェクト配置処理に戻る。 Next, the CPU 11 acquires the size of the display screen of the user IF 20 (S305). Then, the size of each display frame in the Y direction is determined from the number of display columns acquired in S301 and the size of the display screen acquired in S305 (S306). In S306, when the selected display frame group is the first frame group, the width W shown in FIG. 6 is shown in FIG. 7, and when the selected display frame group is the second frame group, FIG. 7 is shown. The indicated height T is determined respectively. Further, the CPU 11 determines the size of each display frame in the X direction based on the determined size in the Y direction and the relationship described above (S307), ends the display frame setting process, and returns to the object placement process.

表示枠設定処理によって、使用例画像を表示するための各表示枠のサイズが決定される。本形態では、表示枠群に第1枠群と第2枠群とが含まれることから、縦スクロールと横スクロールとの切り替えが可能なデバイスであっても、スクロール方向と表示列数とに応じてY方向のサイズが決定される。そして、各表示枠群ではY方向のサイズが固定されていることから、各表示枠をX方向に並べて配置することが容易であり、Y方向への配置のバランスも取りやすい。なお、各表示枠群に含まれる表示枠の種類の数は、4に限らず、複数であればよい。 The display frame setting process determines the size of each display frame for displaying the usage example image. In this embodiment, since the display frame group includes the first frame group and the second frame group, even if the device can switch between vertical scrolling and horizontal scrolling, it depends on the scroll direction and the number of display columns. The size in the Y direction is determined. Since the size of each display frame group is fixed in the Y direction, it is easy to arrange the display frames side by side in the X direction, and it is easy to balance the arrangement in the Y direction. The number of types of display frames included in each display frame group is not limited to 4, and may be plural.

図4のオブジェクト配置処理の説明に戻る。S201の表示枠設定処理の後、CPU11は、各使用例画像として表示する一連の画像の画像データを取得する(S202)。各画像データは、デバイス1のメモリ12に記憶されていても良いし、通信IF30を介して、サーバ等の外部装置から取得しても良い。なお、各使用例画像の表示順は予め決まっており、CPU11は、各画像データを、その表示順の情報とともに取得する。CPU11は、表示順に画像データを1つずつ取得して、1つずつ処理を行っても良い。 Returning to the description of the object placement process of FIG. After the display frame setting process of S201, the CPU 11 acquires image data of a series of images to be displayed as each use example image (S202). Each image data may be stored in the memory 12 of the device 1 or may be acquired from an external device such as a server via the communication IF 30. The display order of each usage example image is predetermined, and the CPU 11 acquires each image data together with the information of the display order. The CPU 11 may acquire image data one by one in the display order and perform processing one by one.

CPU11は、S202にて取得した画像データのうち、次に表示する使用例画像の画像データを取得する(S203)。初回のS203では、CPU11は、最初に表示する使用例画像の画像データを取得する。さらに、CPU11は、表示枠設定処理にて決定した各表示枠のうち、S203にて取得した画像データが対応可能な表示枠を抽出する(S204)。各画像データには、例えば、プロパティとして、対応可能な表示枠のサイズの範囲の情報が関連付けられている。 Of the image data acquired in S202, the CPU 11 acquires the image data of the usage example image to be displayed next (S203). In the first S203, the CPU 11 acquires the image data of the usage example image to be displayed first. Further, the CPU 11 extracts a display frame to which the image data acquired in S203 can correspond from each display frame determined in the display frame setting process (S204). For example, as a property, information on a range of compatible display frame sizes is associated with each image data.

画像によっては表示枠が小さすぎると画像を認識困難になる。また、画像のサイズに比較して表示枠が大きすぎても余白が多くなり、無駄が大きい。本形態では、画像ごとに表示枠の対応可否の情報を設け、対応可能な表示枠から1つを選択するので、画像ごとに表示に好適な表示枠が選択される。なお、CPU11は、画像データのサイズに基づいて表示枠の対応可否を決定しても良い。CPU11は、例えば、X方向のサイズが画像データのサイズの半分以上である表示枠を抽出しても良い。 Depending on the image, if the display frame is too small, it will be difficult to recognize the image. Further, even if the display frame is too large compared to the size of the image, the margin becomes large and waste is large. In this embodiment, information on whether or not the display frame can be supported is provided for each image, and one of the compatible display frames is selected. Therefore, a display frame suitable for display is selected for each image. The CPU 11 may determine whether or not to support the display frame based on the size of the image data. The CPU 11 may extract, for example, a display frame whose size in the X direction is at least half the size of the image data.

そして、CPU11は、抽出された表示枠のうちからランダムに1つを選択し(S205)、選択した表示枠にS203にて取得した画像データの画像を挿入する(S206)。S205は、選択処理の一例であり、S206は、挿入処理の一例である。画像ごとに表示枠の対応可否の情報を設け、S205では、CPU11は対応可能な表示枠から1つをランダムに選択するので、画像ごとに表示に好適な表示枠がランダムに選択される。 Then, the CPU 11 randomly selects one of the extracted display frames (S205), and inserts an image of the image data acquired in S203 into the selected display frame (S206). S205 is an example of the selection process, and S206 is an example of the insertion process. Information on whether or not the display frame can be supported is provided for each image, and in S205, the CPU 11 randomly selects one of the supportable display frames, so that a display frame suitable for display is randomly selected for each image.

なお、選択した表示枠が画像よりも小さい場合、CPU11は、例えば、画像をトリミングして表示枠のサイズの画像を生成する。CPU11は、例えば、図8(A)に示すように、横長の画像61の左右の端部を削除し、表示枠Bに挿入される画像62として画像61の中央部の画像を生成する。また、CPU11は、例えば、図8(B)に示すように、横長の画像63の上下の端部を削除し、表示枠Bに挿入される画像64を生成する。なお、トリミングする範囲は予め指定されていても良いし、ランダムにトリミングしても良い。一方、選択した表示枠が画像よりも大きい場合、CPU11は、表示枠の中央位置に画像を配置し、画像の周囲に空白、または所定の地色のベタ画像を加えて、表示枠のサイズの画像を生成する。なお、トリミングやベタ画像の追加に代えて、画像の拡縮を行っても良い。 When the selected display frame is smaller than the image, the CPU 11 trims the image to generate an image of the size of the display frame, for example. For example, as shown in FIG. 8A, the CPU 11 deletes the left and right end portions of the horizontally long image 61 and generates an image of the central portion of the image 61 as the image 62 to be inserted into the display frame B. Further, for example, as shown in FIG. 8B, the CPU 11 deletes the upper and lower ends of the horizontally long image 63 to generate an image 64 to be inserted into the display frame B. The range to be trimmed may be specified in advance, or may be trimmed randomly. On the other hand, when the selected display frame is larger than the image, the CPU 11 arranges the image at the center position of the display frame and adds a blank or a solid image of a predetermined background color around the image to make the size of the display frame. Generate an image. Instead of trimming or adding a solid image, the image may be enlarged or reduced.

そして、CPU11は、配置済みの使用例画像の末尾が最短の列を選択し(S207)、選択した列の配置済みの使用例画像の後ろの位置に、表示枠に挿入した今回の画像を追加して配置する(S208)。CPU11は、S207にて、各列に既に配置済みの使用例画像について、末尾のX方向の位置が最も小さい列を選択する。また、X方向に同じ位置の列がある場合には、CPU11は、Y方向の位置が小さい列を選択する。なお、使用例画像の末尾とは、X方向について、その使用例画像の表示範囲に含まれるX座標の最大値である。 Then, the CPU 11 selects the column having the shortest end of the arranged usage example image (S207), and adds the current image inserted in the display frame to the position behind the arranged usage example image in the selected column. (S208). In S207, the CPU 11 selects the column having the smallest position in the X direction at the end of the usage example images already arranged in each column. If there are rows at the same position in the X direction, the CPU 11 selects a row with a smaller position in the Y direction. The end of the usage example image is the maximum value of the X coordinate included in the display range of the usage example image in the X direction.

CPU11は、S203にて取得した画像の配置後、S202にて取得した画像群のうち未配置の画像が残っているか否かを判断する(S209)。残りの画像があると判断した場合(S209:YES)、CPU11は、S203に戻って、次の表示順の画像を取得する。画像が残っていないと判断した場合(S209:NO)、CPU11は、オブジェクト配置処理を終了して、ラベル作成処理に戻る。 After arranging the images acquired in S203, the CPU 11 determines whether or not an unarranged image remains in the image group acquired in S202 (S209). If it is determined that there are remaining images (S209: YES), the CPU 11 returns to S203 and acquires images in the next display order. When it is determined that no image remains (S209: NO), the CPU 11 ends the object placement process and returns to the label creation process.

各使用例画像の配置の例について、図3を参照して説明する。最初の使用例画像G1と2番目の使用例画像G2は、画像領域53の最も上側の位置に左から順に配置される。具体的には、使用例画像G1は、左列の点(X1,Y1)から右下の範囲に配置され、次の使用例画像G2は、使用例画像G1の表示範囲から所定の間隔を空けて、右列の点(X1,Y2)から右下の範囲に配置される。そして、使用例画像G1の表示枠が使用例画像G2の表示枠より大きく、使用例画像G1のX方向の末尾が使用例画像G2のX方向の末尾より下方にあることから、3つめの使用例画像G3は、右列の使用例画像G2の下方に、使用例画像G2の表示範囲から所定の間隔を空けた点(X2,Y2)に配置される。さらに、右列の使用例画像G3の末尾よりも左列の使用例画像G1の末尾の位置Xの値が小さいことから、次の使用例画像G4は、左列の点(X3,Y1)に追加される。末尾が最短の列に次の使用例画像を配置することから、各列のバランスが良い配置となる。なお、各使用例画像の間に設けた間隔は、無くても良い。 An example of arranging each usage example image will be described with reference to FIG. The first use example image G1 and the second use example image G2 are arranged in order from the left at the uppermost position of the image area 53. Specifically, the usage example image G1 is arranged in the lower right range from the points (X1, Y1) in the left column, and the next usage example image G2 is spaced from the display range of the usage example image G1 at a predetermined interval. It is arranged in the lower right range from the points (X1, Y2) in the right column. Since the display frame of the usage example image G1 is larger than the display frame of the usage example image G2 and the end of the usage example image G1 in the X direction is lower than the end of the usage example image G2 in the X direction, the third use The example image G3 is arranged below the usage example image G2 in the right column at points (X2, Y2) at a predetermined interval from the display range of the usage example image G2. Further, since the value of the position X at the end of the usage example image G1 in the left column is smaller than the end of the usage example image G3 in the right column, the next usage example image G4 is located at the point (X3, Y1) in the left column. Will be added. Since the following usage example image is placed in the column with the shortest end, each column is well-balanced. It should be noted that the interval provided between the images of each use example may not be provided.

図2のラベル作成処理の説明に戻る。CPU11は、S101のオブジェクト配置処理の後、ユーザIF20にトップ画面50を表示させる(S102)。S102は、表示処理の一例である。トップ画面50の画像領域53には、例えば、図3に示したように、各使用例画像がその表示順に従って、オブジェクト配置処理にて決定した配置で表示される。なお、1画面中にはトップ画面50の一部だけが表示される場合もあるが、トップ画面50には、オブジェクト配置処理のS202にて取得した全ての使用例画像が含まれ、スクロール表示によって全ての使用例画像を表示可能である。 Returning to the description of the label creation process of FIG. After the object placement process of S101, the CPU 11 causes the user IF 20 to display the top screen 50 (S102). S102 is an example of display processing. In the image area 53 of the top screen 50, for example, as shown in FIG. 3, each use example image is displayed in an arrangement determined by the object arrangement process according to the display order. In addition, although only a part of the top screen 50 may be displayed in one screen, the top screen 50 includes all the usage example images acquired in S202 of the object placement process, and can be displayed by scrolling. All usage example images can be displayed.

オブジェクト配置処理によって、最短の列に次の使用例画像が追加されていることから、トップ画面50の各使用例画像は、予め決められた表示順に従って表示される。また、各使用例画像の表示枠は、視覚的に大きさの違いが明確な4種の表示枠の中からランダムに選択されるので、各使用例画像の表示されるサイズの違いが明確であり、また、実行する度に異なるサイズで表示される。図3では、表示枠がC、B、D、Aの順で選択された例を示したが、例えば、表示枠がA、C、B、Bの順で選択された場合には、各使用例画像の配置は、図9に示すようになる。このように、実行の度に配置が大きく異なるトップ画面50となることから、視覚的な新鮮味が大きい表示となる。 Since the following usage example images are added to the shortest column by the object arrangement processing, each usage example image on the top screen 50 is displayed in a predetermined display order. In addition, since the display frame of each use example image is randomly selected from four types of display frames whose size difference is visually clear, the difference in the display size of each use example image is clear. Yes, and it is displayed in a different size each time it is executed. FIG. 3 shows an example in which the display frame is selected in the order of C, B, D, A. For example, when the display frame is selected in the order of A, C, B, B, each use The arrangement of the example images is as shown in FIG. In this way, since the top screen 50 is arranged in a significantly different manner each time it is executed, the display has a great visual freshness.

CPU11は、表示したトップ画面50にて、使用例画像を含む各オブジェクトの1つを選択する選択指示を受け付けたか否かを判断する(S103)。S103は、選択指示受付処理の一例である。使用例画像の選択指示を受け付けたと判断した場合(S103:YES)、CPU11は、選択された使用例画像によって示されるテンプレートを特定する(S104)。S104は、特定処理の一例である。 The CPU 11 determines on the displayed top screen 50 whether or not the selection instruction for selecting one of the objects including the usage example image is accepted (S103). S103 is an example of the selection instruction acceptance process. When it is determined that the usage example image selection instruction has been accepted (S103: YES), the CPU 11 specifies the template indicated by the selected usage example image (S104). S104 is an example of the specific process.

さらに、CPU11は、特定したテンプレートを含む編集画面をユーザIF20に表示させる(S105)。編集画面70は、例えば、図10に示すように、使用例画像71と、テンプレート72と、編集ボタン73と、印刷ボタン74と、戻るボタン75と、を含む。使用例画像71は、例えば、トップ画面50中で選択された使用例画像と同じ画像である。テンプレート72は、使用例画像に表示されているラベルを作成するための印刷対象の画像である。編集ボタン73は、テンプレート72への編集指示を受け付けるボタンである。印刷ボタン74は、テンプレート72の印刷指示を受け付けるボタンである。戻るボタン75は、編集画面70を閉じてトップ画面50に戻る指示を受け付けるボタンである。 Further, the CPU 11 causes the user IF 20 to display an edit screen including the specified template (S105). The edit screen 70 includes, for example, a usage example image 71, a template 72, an edit button 73, a print button 74, and a back button 75, as shown in FIG. The usage example image 71 is, for example, the same image as the usage example image selected in the top screen 50. The template 72 is an image to be printed for creating a label displayed on the usage example image. The edit button 73 is a button that receives an edit instruction to the template 72. The print button 74 is a button that receives a print instruction of the template 72. The back button 75 is a button that receives an instruction to close the edit screen 70 and return to the top screen 50.

CPU11は、編集画面70にて印刷指示を受け付けたか否かを判断する(S106)。CPU11は、印刷ボタン74への操作によって印刷指示を受け付ける。印刷指示を受け付けたと判断した場合(S106:YES)、CPU11は、テンプレート72に表示中の画像に基づく印刷ジョブを生成して、通信IF30を介してプリンタ2に印刷ジョブを送信する(S107)。なお、印刷対象のテンプレート72は、ユーザによる編集後の画像であってもよい。CPU11は、例えば、編集ボタン73への操作によってテンプレート72の編集指示を受け付ける。 The CPU 11 determines whether or not the print instruction has been accepted on the edit screen 70 (S106). The CPU 11 receives a print instruction by operating the print button 74. When it is determined that the print instruction has been accepted (S106: YES), the CPU 11 generates a print job based on the image displayed on the template 72, and transmits the print job to the printer 2 via the communication IF 30 (S107). The template 72 to be printed may be an image edited by the user. The CPU 11 receives an editing instruction for the template 72 by, for example, operating the edit button 73.

印刷指示を受け付けていないと判断した場合(S106:NO)、CPU11は、戻る指示を受け付けたか否かを判断する(S108)。S107の後、または、戻る指示を受け付けたと判断した場合(S108:YES)、CPU11は、S102に戻って、トップ画面50を表示させる。このときのトップ画面50は、起動時のトップ画面50と同じ表示である。 When it is determined that the print instruction is not accepted (S106: NO), the CPU 11 determines whether or not the return instruction is accepted (S108). After S107, or when it is determined that the return instruction has been accepted (S108: YES), the CPU 11 returns to S102 and displays the top screen 50. The top screen 50 at this time is the same display as the top screen 50 at startup.

戻る指示を受け付けていないと判断した場合(S108:NO)、CPU11は、終了指示を受け付けたか否かを判断する(S109)。終了指示を受け付けていないと判断した場合(S109:NO)、CPU11は、S106に戻って、印刷指示、戻る指示、終了指示を受け付ける。 When it is determined that the return instruction is not accepted (S108: NO), the CPU 11 determines whether or not the end instruction has been accepted (S109). When it is determined that the end instruction is not accepted (S109: NO), the CPU 11 returns to S106 and receives the print instruction, the return instruction, and the end instruction.

一方、トップ画面50の表示中に、使用例画像の選択を受け付けていないと判断した場合(S103:NO)、CPU11は、設定ボタン511(図3参照)への操作を受け付けたか否かを判断する(S110)。設定ボタン511への操作を受け付けたと判断した場合(S110:YES)、CPU11は、図5に示した表示枠設定処理を実行する(S111)。なお、CPU11は、設定ボタン511への操作の後、スクロール方向または表示列数が変更された場合に限って表示枠設定処理を実行しても良い。また、S110にてYESと判断した場合、S111に代えて、単に指定された設定内容をメモリ12に記憶するとしても良い。この場合、ラベル作成アプリ42の次回の実行時に設定内容が反映される。 On the other hand, when it is determined that the selection of the usage example image is not accepted during the display of the top screen 50 (S103: NO), the CPU 11 determines whether or not the operation to the setting button 511 (see FIG. 3) is accepted. (S110). When it is determined that the operation to the setting button 511 has been accepted (S110: YES), the CPU 11 executes the display frame setting process shown in FIG. 5 (S111). The CPU 11 may execute the display frame setting process only when the scroll direction or the number of display columns is changed after the operation to the setting button 511. Further, if YES is determined in S110, the specified setting contents may be simply stored in the memory 12 instead of S111. In this case, the setting contents are reflected at the next execution of the label creation application 42.

S111の後、または、設定ボタン511への操作を受け付けていないと判断した場合(S110:NO)、CPU11は、終了指示を受け付けたか否かを判断する(S112)。終了指示を受け付けていないと判断した場合(S112:NO)、CPU11は、S103に戻って、使用例画像の選択や設定ボタン511への操作、または、終了指示を受け付けるまで待機する。そして、トップ画面50や編集画面70にて終了指示を受け付けたと判断した場合(S109:YESまたはS112:YES)、CPU11は、ラベル作成処理を終了する。 After S111, or when it is determined that the operation to the setting button 511 is not accepted (S110: NO), the CPU 11 determines whether or not the end instruction has been accepted (S112). When it is determined that the end instruction is not accepted (S112: NO), the CPU 11 returns to S103 and waits until the selection of the usage example image, the operation to the setting button 511, or the end instruction is received. Then, when it is determined that the end instruction has been accepted on the top screen 50 or the edit screen 70 (S109: YES or S112: YES), the CPU 11 ends the label creation process.

以上、詳細に説明したように、本明細書に記載のラベル作成アプリ42によれば、CPU11は、あらかじめ表示順が定められた複数の画像である使用例画像G1、G2などについて、サイズがランダムに決定される複数の表示枠のそれぞれに各使用例画像を挿入して、各使用例画像をその表示順に配置して、ユーザIF20に表示させる。これにより、表示の度に表示枠のサイズが変化し、表示枠に挿入されて表示される各使用例画像のサイズが変わるため、ユーザに視覚的な新鮮味を付与することが期待できる。なお、各使用例画像の表示順を変更することによって新鮮味を付与することも考えられるが、表示順を変えてしまうと、ユーザが画像を選択する際に、画像を探す手間が生じ易い。本発明では、画像の表示順は変えていないため、画像を探す手間が生じ難い。 As described in detail above, according to the label creation application 42 described in the present specification, the CPU 11 has a random size for the use example images G1 and G2, which are a plurality of images whose display order is predetermined. Each usage example image is inserted into each of the plurality of display frames determined in the above, the usage example images are arranged in the display order thereof, and the user IF 20 displays the images. As a result, the size of the display frame changes each time it is displayed, and the size of each usage example image inserted and displayed in the display frame changes, so that it can be expected to give the user a visual freshness. It is conceivable to add freshness by changing the display order of each use example image, but if the display order is changed, it is easy for the user to have to search for the image when selecting the image. In the present invention, since the display order of the images is not changed, it is difficult to find the images.

なお、本実施の形態は単なる例示にすぎず、本発明を何ら限定するものではない。したがって本発明は当然に、その要旨を逸脱しない範囲内で種々の改良、変形が可能である。例えば、デバイス1は、携帯可能な装置に限らず、パーソナルコンピュータなど据え置き型の装置でも良い。例えば、デバイス1に接続されるプリンタは1台に限らず、複数台でも良い。また、プリンタ2の印刷方式は、熱転写方式に限らず、例えば、感熱方式、インクジェット方式、電子写真方式でもよい。また、プリンタ2にて使用される印刷媒体は、ラベル紙に限らず、例えば、カット紙や単なるロール紙でもよい。 It should be noted that the present embodiment is merely an example and does not limit the present invention in any way. Therefore, as a matter of course, the present invention can be improved and modified in various ways without departing from the gist thereof. For example, the device 1 is not limited to a portable device, and may be a stationary device such as a personal computer. For example, the number of printers connected to the device 1 is not limited to one, and may be a plurality of printers. Further, the printing method of the printer 2 is not limited to the thermal transfer method, and may be, for example, a thermal method, an inkjet method, or an electrophotographic method. Further, the printing medium used in the printer 2 is not limited to label paper, and may be, for example, cut paper or simple roll paper.

また、本形態では、予め大きさの関係が決められた表示枠群から1つの表示枠をランダムに選択する、すなわち、予め用意した複数の表示枠の中から1つをランダムに選択するとしたが、これに限らない。例えば、表示枠群を用意せず、各表示枠のサイズを完全にランダムにしても良い。例えば、各表示枠として選択可能なX方向およびY方向のサイズの範囲を設定しておき、その範囲内でランダムにサイズを決定するとしても良い。ただし、完全にランダムにした場合、画像が分かり難いサイズが選択されるケースや、表示枠のサイズの違いが僅かになって視覚的な新鮮味を付与し難いケースも生じ得るが、あらかじめ表示枠の大きさの違いが明確な複数の表示枠の中から選択すれば、適切な範囲内のサイズであって表示枠のサイズの違いが明確な表示となることから、視覚的な新鮮味を付与し易くなる。 Further, in the present embodiment, one display frame is randomly selected from a group of display frames whose size relationship is determined in advance, that is, one is randomly selected from a plurality of display frames prepared in advance. , Not limited to this. For example, the size of each display frame may be completely random without preparing a display frame group. For example, a range of sizes in the X and Y directions that can be selected for each display frame may be set, and the size may be randomly determined within the range. However, if it is completely random, there may be cases where the size of the image is difficult to understand, or the difference in the size of the display frame is small and it is difficult to give a visual freshness. If you select from multiple display frames with clear differences in size, the size will be within the appropriate range and the difference in display frame size will be clearly displayed, making it easier to add visual freshness. Become.

また、本形態では、ラベル作成アプリ42にて、スクロール方向と表示列数との設定を受け付け、受け付けたスクロール方向と表示列数とに応じて各表示枠のサイズを決定するとしたが、これに限らない。例えば、スクロール方向と表示列数とは、予め決まっていても良い。その場合には、表示枠群の各表示枠は、予め決まったサイズであっても良い。また、スクロール方向と表示列数との設定可能な各組み合わせに対応する各表示枠群が予め用意され、そのうちの1つを選択するとしても良い。また、各表示枠群の情報は、メモリ12に記憶されていても良いし、デバイス1から参照可能なサーバ等の外部装置に記憶されていても良い。 Further, in the present embodiment, the label creation application 42 accepts the setting of the scroll direction and the number of display columns, and determines the size of each display frame according to the accepted scroll direction and the number of display columns. Not exclusively. For example, the scroll direction and the number of display columns may be predetermined. In that case, each display frame of the display frame group may have a predetermined size. Further, each display frame group corresponding to each settable combination of the scroll direction and the number of display columns may be prepared in advance, and one of them may be selected. Further, the information of each display frame group may be stored in the memory 12 or may be stored in an external device such as a server that can be referenced from the device 1.

また、本形態では、ラベル作成用の使用例画像を表示する例を示しているが、表示対象の画像は、表示順の決まっている複数の画像であれば良く、これに限らない。また、表示枠内への操作によって指示を受け付ける機能を含むことも必須ではない。 Further, in this embodiment, an example of displaying a usage example image for creating a label is shown, but the image to be displayed may be a plurality of images whose display order is fixed, and is not limited to this. Further, it is not essential to include a function of receiving an instruction by operating in the display frame.

また、本形態では、使用例画像の各画像データには、プロパティとして、対応可能な表示枠のサイズの範囲の情報が関連付けられているとしたが、そのような制約をせず、使用例画像は、全てのサイズの表示枠で表示可能であっても良い。その場合、例えば、表示枠をランダムに選択して画面に配置し、表示枠の配置後に、配置された表示枠に対して、予め決まった表示順に使用例画像を挿入しても良い。 Further, in the present embodiment, it is assumed that each image data of the usage example image is associated with information in the range of the size of the display frame that can be supported as a property, but the usage example image is not restricted. May be displayable in display frames of all sizes. In that case, for example, display frames may be randomly selected and arranged on the screen, and after the display frames are arranged, use example images may be inserted into the arranged display frames in a predetermined display order.

また、本形態では、使用例画像ごとにランダムに表示枠を選択するとしたが、同じ大きさの表示枠が隣接しないようにしても良い。また、表示枠の選択順が予め決まった表示順セットを複数用意し、その複数の表示順セットから表示順をランダムに選択するとしても良い。また、表示枠群の各表示枠は、Y方向のサイズが同じものとしたが、同じでなくても良い。また、各表示枠は、矩形でなくても良い。 Further, in the present embodiment, the display frames are randomly selected for each usage example image, but display frames of the same size may not be adjacent to each other. Further, a plurality of display order sets in which the selection order of the display frame is predetermined may be prepared, and the display order may be randomly selected from the plurality of display order sets. Further, although each display frame of the display frame group has the same size in the Y direction, it does not have to be the same. Further, each display frame does not have to be rectangular.

また、本形態では、使用例画像が表示される画像領域53がトップ画面50に含まれるとしたが、これに限らない。例えば、トップ画面50にて表示指示を受け付けた場合に表示されるとしても良い。また、図3に示したトップ画面50のタイトル51やトップ画像52の配置例はいずれも一例であり、どのような配置でも良いし、少なくとも一部が無くても良いし、さらに他の画像を含んでいても良い。 Further, in the present embodiment, the image area 53 on which the usage example image is displayed is included in the top screen 50, but the present invention is not limited to this. For example, it may be displayed when a display instruction is received on the top screen 50. Further, the arrangement example of the title 51 and the top image 52 of the top screen 50 shown in FIG. 3 is an example, and any arrangement may be made, at least a part thereof may be omitted, and other images may be used. It may be included.

また、本形態では、ラベル作成アプリ42の起動時にオブジェクト配置処理を実行して、表示枠のサイズや配置を決定しているが、オブジェクト配置処理の実行条件は、起動時に限らない。例えば、トップ画面50以外の画面からトップ画面50に移行する度にオブジェクト配置処理を実行しても良い。例えば、ラベル作成処理のS107の後、または、S108にてYESと判断した場合、S101に戻るとしても良い。ただし、ラベル作成アプリ42の起動時に各使用例画像の表示枠への挿入や配置の決定を行い、以降、固定した配置とすれば、トップ画面50を表示させる度に表示枠を変更する場合と比較して、処理負荷が小さい。一方、トップ画面50を表示させる度に表示枠を変更すれば、表示枠が変化する機会が増え、よりユーザに視覚的な新鮮味を付与することが期待できる。 Further, in the present embodiment, the object placement process is executed when the label creation application 42 is started to determine the size and placement of the display frame, but the execution condition of the object placement process is not limited to the start time. For example, the object placement process may be executed every time the screen other than the top screen 50 shifts to the top screen 50. For example, after S107 of the label creation process, or when YES is determined in S108, the process may return to S101. However, when the label creation application 42 is started, each usage example image is inserted into the display frame and the arrangement is determined, and thereafter, if the arrangement is fixed, the display frame may be changed every time the top screen 50 is displayed. In comparison, the processing load is small. On the other hand, if the display frame is changed each time the top screen 50 is displayed, the chances of the display frame changing increase, and it can be expected that the user will be given a more visual freshness.

また、実施の形態に開示されている任意のフローチャートにおいて、任意の複数のステップにおける複数の処理は、処理内容に矛盾が生じない範囲で、任意に実行順序を変更できる、または並列に実行できる。 Further, in any flowchart disclosed in the embodiment, the plurality of processes in the arbitrary plurality of steps can be arbitrarily changed in the execution order or executed in parallel as long as the processing contents do not conflict with each other.

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

1 デバイス
2 プリンタ
11 CPU
12 メモリ
20 ユーザIF
30 通信IF
1 device 2 printer 11 CPU
12 memory 20 user IF
30 Communication IF

Claims (9)

複数の画像を表示する機能を有するデバイスのコンピュータが実行可能なプログラムであって、
前記コンピュータに、
サイズがランダムに決定される複数の表示枠のそれぞれに、あらかじめ表示順が定められた前記複数の画像のうちの1つの画像の少なくとも一部を挿入する挿入処理と、
前記表示枠に挿入された前記複数の画像が表示順で配置された画面を前記デバイスの表示部に表示させる表示処理と、
前記表示処理によって前記複数の画像が表示された状態で前記複数の画像の1つを選択する選択指示を、前記デバイスの入力インタフェースを介して受け付ける選択指示受付処理と、
前記選択指示受付処理によって選択された画像に基づき、印刷対象となる画像を特定する特定処理と、
を実行させる、
ことを特徴とするプログラム。
A program that can be run by a computer on a device that has the ability to display multiple images.
On the computer
An insertion process in which at least a part of one of the plurality of images whose display order is predetermined is inserted into each of the plurality of display frames whose size is randomly determined.
A display process for displaying a screen in which the plurality of images inserted in the display frame are arranged in the display order on the display unit of the device, and
A selection instruction reception process for receiving a selection instruction for selecting one of the plurality of images while the plurality of images are displayed by the display process via the input interface of the device.
A specific process for identifying an image to be printed based on the image selected by the selection instruction reception process, and
To execute,
A program characterized by that.
請求項1に記載するプログラムにおいて、
前記コンピュータに、
前記複数の画像のそれぞれについて、互いにサイズが異なる複数の表示枠を含む表示枠群の中から1つの表示枠をランダムに選択する選択処理を実行させ、
前記挿入処理では、
前記選択処理にて選択された表示枠に、前記画像の少なくとも一部を挿入する、
ことを特徴とするプログラム。
In the program according to claim 1,
On the computer
For each of the plurality of images, a selection process of randomly selecting one display frame from a display frame group including a plurality of display frames having different sizes is executed.
In the insertion process,
Insert at least a part of the image into the display frame selected by the selection process.
A program characterized by that.
請求項2に記載するプログラムにおいて、
前記表示部は、スクロール表示が可能であり、
前記選択処理では、
スクロールする方向であるスクロール方向のサイズが互いに異なり、前記スクロール方向と直交する方向である直交方向のサイズが同じである前記複数の表示枠の中から1つを選択する、
ことを特徴とするプログラム。
In the program described in claim 2,
The display unit can be scrolled and displayed.
In the selection process,
Select one from the plurality of display frames having different sizes in the scroll direction, which is the scroll direction, and the same size in the orthogonal direction, which is the direction orthogonal to the scroll direction.
A program characterized by that.
請求項3に記載するプログラムにおいて、
前記表示枠群には、縦方向のサイズが互いに異なり、横方向のサイズが同じである複数の表示枠を含む第1の表示枠群と、前記横方向のサイズが互いに異なり、前記縦方向のサイズが同じである複数の表示枠を含む第2の表示枠群とが含まれ、
前記表示部は、
縦方向のスクロールと横方向のスクロールとを切り替えることが可能であり、
前記選択処理では、
縦方向にスクロールする場合、前記第1の表示枠群の中から1つの表示枠を選択し、横方向にスクロールする場合、前記第2の表示枠群の中から1つの表示枠を選択する、
ことを特徴とするプログラム。
In the program according to claim 3,
The display frame group includes a first display frame group including a plurality of display frames having different vertical sizes and the same horizontal size, and the display frame group having different horizontal sizes and different vertical sizes. Includes a second set of display frames containing multiple display frames of the same size,
The display unit
It is possible to switch between vertical scrolling and horizontal scrolling,
In the selection process,
When scrolling in the vertical direction, one display frame is selected from the first display frame group, and when scrolling in the horizontal direction, one display frame is selected from the second display frame group.
A program characterized by that.
請求項3または請求項4に記載するプログラムにおいて、
前記表示処理では、
前記表示部の前記スクロール方向の位置をX、前記直交方向の位置をYとした場合に、前記表示枠の配置は、XとYとの組み合わせ(X,Y)で表されるものであり、
前記直交方向に並べて配置する表示枠の列数が2以上の所定値とされており、前記列数が前記所定値に達するまでは、新たな表示枠を、既に配置された前記表示枠の前記直交方向における位置Y1に対して異なるY2に配置し、前記列数が前記所定値に達した後、各列に配置された前記表示枠のうち、前記スクロール方向の末尾の位置Xの値が最も小さい値である表示枠が配置された列を選択し、選択された列に既に配置された前記表示枠の前記スクロール方向における位置X1に対して異なる位置X2に新たな表示枠を配置した前記画面を表示させる、
ことを特徴とするプログラム。
In the program according to claim 3 or 4.
In the display process,
When the position of the display unit in the scroll direction is X and the position in the orthogonal direction is Y, the arrangement of the display frame is represented by a combination of X and Y (X, Y).
The number of columns of the display frames arranged side by side in the orthogonal direction is set to a predetermined value of 2 or more, and until the number of columns reaches the predetermined value, a new display frame is placed in the display frame already arranged. Among the display frames arranged in the display frames arranged in each column after the number of columns reaches the predetermined value after the arrangement is performed in Y2 different from the position Y1 in the orthogonal direction, the value of the position X at the end in the scroll direction is the most. The screen in which a column in which a display frame having a small value is arranged is selected, and a new display frame is arranged at a position X2 different from the position X1 in the scroll direction of the display frame already arranged in the selected column. To display,
A program characterized by that.
請求項2から請求項5のいずれか1つに記載するプログラムにおいて、
前記複数の画像は、画像ごとに表示枠の対応可否の情報が関連付けられており、
前記選択処理では、
画像ごとに、前記表示枠群に含まれる表示枠のうち対応可能な表示枠の1つをランダムに選択する、
ことを特徴とするプログラム。
In the program according to any one of claims 2 to 5.
In the plurality of images, information on whether or not the display frame can be supported is associated with each image.
In the selection process,
For each image, one of the compatible display frames among the display frames included in the display frame group is randomly selected.
A program characterized by that.
請求項1から請求項6のいずれか1つに記載するプログラムにおいて、
前記挿入処理では、
表示枠が画像よりも小さい場合、前記表示枠のサイズに合わせて画像をトリミングしてその画像を表示枠内に挿入する、
ことを特徴とするプログラム。
In the program according to any one of claims 1 to 6.
In the insertion process,
If the display frame is smaller than the image, the image is trimmed to fit the size of the display frame and the image is inserted into the display frame.
A program characterized by that.
請求項1から請求項7のいずれか1つに記載するプログラムにおいて、
前記挿入処理では、
表示枠が画像よりも大きい場合、前記表示枠の中央位置に画像を配置する、
ことを特徴とするプログラム。
In the program according to any one of claims 1 to 7.
In the insertion process,
When the display frame is larger than the image, the image is placed at the center position of the display frame.
A program characterized by that.
請求項1から請求項8のいずれか1つに記載するプログラムにおいて、
前記コンピュータに、
前記プログラムを起動した場合に、前記挿入処理を実行させる、
ことを特徴とするプログラム。
In the program according to any one of claims 1 to 8.
On the computer
When the program is started, the insertion process is executed.
A program characterized by that.
JP2019146986A 2019-08-09 2019-08-09 program Active JP7379921B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019146986A JP7379921B2 (en) 2019-08-09 2019-08-09 program
CN202010787489.7A CN112346671A (en) 2019-08-09 2020-08-07 Storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019146986A JP7379921B2 (en) 2019-08-09 2019-08-09 program

Publications (2)

Publication Number Publication Date
JP2021026736A true JP2021026736A (en) 2021-02-22
JP7379921B2 JP7379921B2 (en) 2023-11-15

Family

ID=74358311

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019146986A Active JP7379921B2 (en) 2019-08-09 2019-08-09 program

Country Status (2)

Country Link
JP (1) JP7379921B2 (en)
CN (1) CN112346671A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005352606A (en) * 2004-06-08 2005-12-22 Sony Corp Image display device, image display method, computer program, and recording medium
JP2006139505A (en) * 2004-11-11 2006-06-01 Fuji Photo Film Co Ltd Print-ordering program and device
US20130106913A1 (en) * 2011-10-28 2013-05-02 Microsoft Corporation Image layout for a display
JP2014071377A (en) * 2012-09-28 2014-04-21 Fujifilm Corp Image display control device, image display device, program and image display method
US20170269815A1 (en) * 2016-03-17 2017-09-21 Samsung Electronics Co., Ltd. Object management and visualization using a computing device
JP2018049450A (en) * 2016-09-21 2018-03-29 キヤノン株式会社 Display control method and display device
JP2018093523A (en) * 2018-02-02 2018-06-14 カシオ計算機株式会社 Image arrangement determination method and image arrangement determination program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4692614B2 (en) * 2008-11-28 2011-06-01 ブラザー工業株式会社 Printing apparatus and program
US8842934B2 (en) * 2010-07-20 2014-09-23 Canon Kabushiki Kaisha Image processing apparatus and method for controlling the image processing apparatus
JP6151221B2 (en) * 2014-06-16 2017-06-21 富士フイルム株式会社 Image processing apparatus, image processing method, image processing program, and print order receiving apparatus
JP2016194785A (en) * 2015-03-31 2016-11-17 ブラザー工業株式会社 Print control program, print control method, and information processor
US20170053195A1 (en) * 2015-08-19 2017-02-23 Samsung Electronics Co., Ltd. Image forming method, image forming device, and computer-readable recording medium therefor
US10270934B2 (en) * 2016-12-01 2019-04-23 Kyocera Document Solutions Inc. Image processing apparatus and image forming apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005352606A (en) * 2004-06-08 2005-12-22 Sony Corp Image display device, image display method, computer program, and recording medium
JP2006139505A (en) * 2004-11-11 2006-06-01 Fuji Photo Film Co Ltd Print-ordering program and device
US20130106913A1 (en) * 2011-10-28 2013-05-02 Microsoft Corporation Image layout for a display
JP2014071377A (en) * 2012-09-28 2014-04-21 Fujifilm Corp Image display control device, image display device, program and image display method
US20170269815A1 (en) * 2016-03-17 2017-09-21 Samsung Electronics Co., Ltd. Object management and visualization using a computing device
JP2018049450A (en) * 2016-09-21 2018-03-29 キヤノン株式会社 Display control method and display device
JP2018093523A (en) * 2018-02-02 2018-06-14 カシオ計算機株式会社 Image arrangement determination method and image arrangement determination program

Also Published As

Publication number Publication date
CN112346671A (en) 2021-02-09
JP7379921B2 (en) 2023-11-15

Similar Documents

Publication Publication Date Title
US20160246555A1 (en) Information processing device, display method for information processing device, and program
JP2005044279A (en) Method, program and apparatus for business form processing
JP5578188B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP2008147851A (en) Edition device, edition method, and edition program
US8215851B2 (en) Print control apparatus that controls printing device performing printing on print sheet having tab
JP2021026736A (en) program
US9767077B2 (en) Image processing apparatus, image processing method, and storage medium that stores program
JP4992399B2 (en) Document editing apparatus and program
JP2008183886A (en) Image forming apparatus
JP2008140158A (en) Document editing device and program
JP4419316B2 (en) Data output device and recording medium
JP2016053760A (en) Information processing device and control method thereof, printing system, and program
JP2021096507A (en) Control program and information processing device
JP6662101B2 (en) Information processing apparatus, program, information processing method, and information processing system
US20240111466A1 (en) Non-transitory medium storing program executable by computer of information processing apparatus and information processing apparatus
JP2011156706A (en) Printing control program and print controller
JP6795770B2 (en) Information processing device and its processing method and program
JP7069759B2 (en) Form creation support device, form creation support method, and form creation support program
JP7310864B2 (en) Print data editing method and print data editing program
JP6852680B2 (en) Editing equipment, editing programs, and storage media
JP6551846B2 (en) Page processing apparatus, page processing method, and program
US10168970B2 (en) Print layout generating device, and non-transitory storage medium storing computer-readable instructions to generate print layout
JP2024033745A (en) Control method and program
JP2005102127A (en) Image processing system, image processing method, template producing system, and template data structure
JPH11306178A (en) Document generating device and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220617

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230322

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230509

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230705

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230808

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230911

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231016

R150 Certificate of patent or registration of utility model

Ref document number: 7379921

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150