JP7722879B2 - Program, information processing system, and information processing method - Google Patents
Program, information processing system, and information processing methodInfo
- Publication number
- JP7722879B2 JP7722879B2 JP2021150910A JP2021150910A JP7722879B2 JP 7722879 B2 JP7722879 B2 JP 7722879B2 JP 2021150910 A JP2021150910 A JP 2021150910A JP 2021150910 A JP2021150910 A JP 2021150910A JP 7722879 B2 JP7722879 B2 JP 7722879B2
- Authority
- JP
- Japan
- Prior art keywords
- character string
- objects
- line
- print layout
- setting
- 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
Links
Landscapes
- Printers Characterized By Their Purpose (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Description
特許法第30条第2項適用 令和3年6月8日にサトーホールディングス株式会社のウェブサイトにて公開(http://www.sato.co.jp/support/printer/fx3-lx/#anc_04)Article 30, Paragraph 2 of the Patent Act applies. Published on the Sato Holdings Corporation website on June 8, 2021 (http://www.sato.co.jp/support/printer/fx3-lx/#anc_04)
本発明は、プログラム、情報処理システム、及び、情報処理方法に関する。 The present invention relates to a program, an information processing system, and an information processing method.
従来から、ラベルなどの印字媒体を効率的に使用するために印字媒体の余白部分を無くすようにして描画データを作成することが知られている。
例えば特許文献1では、複数の項目の各々に対応するオブジェクトを取得する取得手段と、複数の項目の各々に対応するオブジェクトを含む複数のオブジェクト領域を、一方向に積み重ねて配置する配置手段と、配置手段によって配置された複数のオブジェクト領域に基づいて、描画データを作成する作成手段と、を備えたプリンタが記載されている。
2. Description of the Related Art It has been known in the past to create drawing data by eliminating margins on a printing medium such as a label in order to efficiently use the printing medium.
For example, Patent Document 1 describes a printer that includes an acquisition means for acquiring objects corresponding to each of a plurality of items, an arrangement means for stacking and arranging a plurality of object areas containing objects corresponding to each of the plurality of items in one direction, and a creation means for creating drawing data based on the plurality of object areas arranged by the arrangement means.
ところで、小売店等において販売対象となる食品等に貼付されるラベルのレイアウトファイルは、コンピュータ装置などの情報処理装置によって作成され、小売店等の現場に配置されているプリンタに提供される。このようなレイアウトファイルは商品ごとに適宜デザインされる。同一デザインのラベルであっても商品によって特定の項目(例えば原材料等)のオブジェクト内の文字列の量が異なるため、文字列が少ない商品に対するラベルに余白を生じさせないようなレイアウトファイルの作成が望まれる。さらに、レイアウトファイルの作成者がラベルレイアウトのデザインを行う際に、文字列の量に応じて印字媒体の縦方向の長さが可変となるオブジェクト(可変長オブジェクト)を容易に設定可能とすることが望まれる。 By the way, layout files for labels affixed to foods and other items for sale at retail stores and the like are created by information processing devices such as computers and provided to printers located on-site at retail stores and the like. Such layout files are designed appropriately for each product. Even for labels with the same design, the amount of text within objects for specific items (such as ingredients) varies depending on the product. Therefore, it is desirable to create layout files that do not leave blank space on labels for products with little text. Furthermore, when the layout file creator designs the label layout, it is desirable to be able to easily set objects (variable-length objects) whose vertical length on the printing medium varies depending on the amount of text.
そこで、本発明は、ラベルなどの印字媒体に対する印字するレイアウトを設計する際に、レイアウト上に印字すべき文字列の長さに応じて最適化されるレイアウトを容易に設計できるようにすることを目的とする。 The present invention aims to make it easy to design a layout that is optimized according to the length of the string of characters to be printed on a layout when designing a printing layout for a printing medium such as a label.
本発明のある態様は、
プリンタによって印字される描画データの基礎となる印字レイアウトを表示装置に表示させる表示手段と、
前記表示装置に表示された前記印字レイアウト上に、文字列を含む文字列オブジェクトと、罫線、枠線その他のラインを含むラインオブジェクトとを含む複数のオブジェクトを配置するオブジェクト配置手段と、
前記文字列オブジェクトを、前記印字レイアウトの縦方向においてオブジェクトの高さが可変となる可変長オブジェクトに設定するオブジェクト設定手段と、
前記ラインオブジェクトの前記縦方向の高さを、可変長オブジェクトに設定された前記文字列オブジェクトの高さの変化に応じて変更するオブジェクト位置決定手段と、
をコンピュータに実現させるためのプログラムであって、
前記オブジェクト位置決定手段は、前記文字列オブジェクトの基準位置と前記ラインオブジェクトの基準位置との前記縦方向の距離がユーザによって設定される値となるように、前記ラインオブジェクトの前記縦方向の高さを変更する、プログラムである。
One aspect of the present invention is
a display means for displaying on a display device a print layout that is the basis of the drawing data to be printed by the printer;
an object arranging means for arranging a plurality of objects including character string objects including character strings and line objects including ruled lines, frame lines and other lines on the print layout displayed on the display device;
an object setting means for setting the character string object to a variable length object whose height in the vertical direction of the print layout is variable;
an object position determination means for changing the vertical height of the line object in accordance with a change in the height of the character string object set as a variable length object;
A program for causing a computer to realize the above ,
The object position determination means is a program that changes the vertical height of the line object so that the vertical distance between the reference position of the character string object and the reference position of the line object becomes a value set by the user .
本発明のある態様によれば、ラベルなどの印字媒体に対する印字するレイアウトを設計する際に、レイアウト上に印字すべき文字列の長さに応じて最適化されるレイアウトを容易に設計できる。 According to one aspect of the present invention, when designing a layout to be printed on a print medium such as a label, it is possible to easily design a layout that is optimized according to the length of the character string to be printed on the layout.
以下の説明において「オブジェクト」とは、例えば、印字媒体の印字有効範囲内の所定領域で規定され、当該所定領域内に印字対象として文字列、コード、及び画像のうち少なくともいずれかを含むものである。ユーザが印字媒体における印字内容を決定するときに、オブジェクトは印字有効範囲内で移動可能であることが好ましい。オブジェクトが印字有効範囲内で移動した場合には、オブジェクトに含まれ得る文字列、コード、又は画像も移動することになる。オブジェクトに含まれる印字対象として、文字列、コード、又は画に限定するものではなく、それに加えて図形、記号若しくはマーク等を含むものであってもよい。 In the following description, an "object" is, for example, defined as a specified area within the effective print range of the print medium, and includes at least one of a character string, code, and image as the printing target within that specified area. When the user decides what to print on the print medium, it is preferable that the object be movable within the effective print range. When the object moves within the effective print range, the character string, code, or image that may be included in the object will also move. The printing target included in the object is not limited to a character string, code, or picture, and may also include shapes, symbols, marks, etc.
以下、本発明の情報処理システムの一実施形態であるラベル発行システム1について、図1を参照して説明する。図1は、本実施形態に係るラベル発行システム1のシステム構成図である。 A label issuing system 1, which is one embodiment of an information processing system of the present invention, will be described below with reference to FIG. 1. FIG. 1 is a system configuration diagram of the label issuing system 1 according to this embodiment.
図1に示すように、本実施形態のラベル発行システム1では、例えばインターネット、LAN(Local Area Network)等のネットワークNWを介して、コンピュータ装置2(情報処理装置の一例)と、1又は複数のプリンタ3-A,3-B,3-C,3-D,3-E,…が、サーバ5に接続されている。以下の説明では、1又は複数のプリンタに対して共通した事項について言及するときには、「プリンタ3」と表記する。
プリンタ3は、商品に貼付するラベル(印字媒体の一例)を発行する。プリンタ3は、例えば、ラベルが貼付される商品を扱う店舗、倉庫や工場等に配置される。プリンタ3は、限定しないが、例えばサーマルプリンタである。
コンピュータ装置2は、プリンタ3によって発行されるラベルの基本的なレイアウトデザインを設計するために設けられる。コンピュータ装置2は、限定しないが、例えばパーソナルコンピュータ機器やタブレット端末等である。
1, in a label issuing system 1 of this embodiment, a computer device 2 (an example of an information processing device) and one or more printers 3-A, 3-B, 3-C, 3-D, 3-E, ... are connected to a server 5 via a network NW such as the Internet or a LAN (Local Area Network). In the following description, when referring to matters common to one or more printers, they will be referred to as "printer 3."
The printer 3 issues labels (an example of a printing medium) to be affixed to products. The printer 3 is installed, for example, in a store, warehouse, factory, or the like that handles products to which labels are affixed. The printer 3 is, but is not limited to, a thermal printer.
The computer device 2 is provided for designing the basic layout design of the labels to be printed by the printer 3. The computer device 2 is, but is not limited to, a personal computer device, a tablet terminal, or the like.
コンピュータ装置2には、ラベルのレイアウトデザインについてのデータのほか、ラベルに含まれる各項目のデータ、各種設定の情報等を包含するプロジェクトファイルを作成するラベル作成アプリケーションプログラム(以下、適宜「ラベル作成アプリケーション」という。)がインストールされている。ラベル作成アプリケーションを実行することで作成されたプロジェクトファイルは、プリンタ読み込み用ファイルとしてのフォーマットファイルとして、コンピュータ装置2からプリンタ3にサーバ5を介して配信される。つまり、ユーザの所定の操作に応じてコンピュータ装置2からサーバ5に対してフォーマットファイルがアップロードされ、所定のタイミングでサーバ5からプリンタ3にダウンロードされる。 A label creation application program (hereinafter referred to as the "label creation application") is installed on the computer device 2. This program creates a project file that includes data about the label layout design, data about each item included on the label, information about various settings, etc. The project file created by running the label creation application is distributed from the computer device 2 to the printer 3 via the server 5 as a format file for reading by the printer. In other words, the format file is uploaded from the computer device 2 to the server 5 in response to a specified user operation, and then downloaded from the server 5 to the printer 3 at a specified time.
プリンタ3には、フォーマットファイルを基にラベルを発行するラベル発行アプリケーションプログラム(以下、適宜「ラベル発行アプリケーション」という。)がインストールされている。ラベル発行アプリケーションを実行することで、ラベルのレイアウトデザイン、ラベルに含まれる各項目のデータ等を特定する発行データを選択し、あるいは必要に応じて選択した発行データを編集し、発行データを基にラベルを発行することができる。
フォーマットファイル及び発行データについては後述する。
A label issuance application program (hereinafter referred to as the "label issuance application" as appropriate) that prints labels based on a format file is installed on the printer 3. By executing the label issuance application, it is possible to select printing data that specifies the layout design of the label, the data of each item included on the label, etc., or to edit the selected printing data as necessary, and print labels based on the printing data.
The format file and the issuing data will be described later.
次に、図2及び図3を参照して、ユーザがラベル作成アプリケーションを実行してラベルのデザインを作成するときの画面について説明する。
図2は、コンピュータ装置2のプロジェクトファイル作成画面の一例を示す図である。図3は、印字レイアウトの一例を示す図である。
Next, with reference to FIGS. 2 and 3, a description will be given of the screens that are displayed when the user executes the label creation application to create a label design.
Fig. 2 is a diagram showing an example of a project file creation screen of the computer device 2. Fig. 3 is a diagram showing an example of a print layout.
図2は、ラベル作成アプリケーションを実行したときにコンピュータ装置2に表示される画面G1(プロジェクトファイル作成画面)の一例である。プロジェクトファイル作成画面において、ラベル作成アプリケーションは、ユーザがラベルレイアウトをデザインするときのグラフィカルユーザインタフェース(GUI)を提供する。プロジェクトファイル作成画面においてユーザは、ラベルの印字有効範囲に配置すべきオブジェクトを設定することで、プリンタ3によって発行されるラベルをデザインすることができる。 Figure 2 shows an example of screen G1 (project file creation screen) displayed on the computer device 2 when the label creation application is executed. On the project file creation screen, the label creation application provides a graphical user interface (GUI) for the user to use when designing a label layout. On the project file creation screen, the user can design the label to be printed by the printer 3 by setting objects to be placed in the effective print area of the label.
ラベル作成アプリケーションでは、プロジェクトファイルによってデータが管理される。プロジェクトファイルは、ラベル作成アプリケーションによって作成されたデータの管理単位を示すファイルであり、プリンタ3にサーバ5を介して配信するために、ラベル作成アプリケーションにより出力されるとプリンタ読み込み用ファイルとしてのフォーマットファイルとなる。 In the label creation application, data is managed using project files. Project files are files that indicate the management units of data created by the label creation application, and when output by the label creation application, they become format files for printer reading so that they can be distributed to the printer 3 via the server 5.
図2に示すように、画面G1は、指示ボタン群101、オブジェクトボタン群102、デザインウィンドウ103、プロジェクト設定部104、及び、オブジェクトプロパティ設定部105を含む。 As shown in FIG. 2, screen G1 includes a group of instruction buttons 101, a group of object buttons 102, a design window 103, a project setting section 104, and an object property setting section 105.
指示ボタン群101内のボタン操作を行うことで、プロジェクトファイルをストレージから読み出すこと、プロジェクトファイルをストレージに保存すること、あるいは、フォーマットファイルとして出力しサーバ5にアップロードすること等が可能である。 By operating the buttons in the instruction button group 101, it is possible to read the project file from storage, save the project file to storage, or output it as a format file and upload it to the server 5.
オブジェクトボタン群102は、デザインウィンドウ103上のオブジェクトを選択して移動させる操作、あるいは、オブジェクトを新たに設定する操作を行う部分である。オブジェクトボタン群102では、オブジェクトとして文字列オブジェクト、価格オブジェクト、バーコードオブジェクト、日時オブジェクト、グラフィックオブジェクト等が選択可能である。オブジェクトの各種設定は、オブジェクトプロパティ設定部105において行うことが可能である。
デザインウィンドウ103は、ラベルの作成・編集エリアに相当する。1以上のレイアウトデータのうちユーザに選択されたレイアウトデータに対応する印字レイアウトを画面G1のデザインウィンドウ103に表示させ、表示された印字レイアウト上にオブジェクトを配置・移動する操作を行うことで、ラベルがデザインされる。
プロジェクト設定部104には、プロジェクトファイルに含まれるデータが階層構造で表示される。
The object button group 102 is a section for performing an operation to select and move an object on the design window 103 or an operation to set a new object. The object button group 102 allows the selection of objects such as a character string object, a price object, a barcode object, a date and time object, and a graphic object. Various settings for the object can be made in the object property setting section 105.
The design window 103 corresponds to the area for creating and editing a label. A print layout corresponding to layout data selected by the user from one or more layout data is displayed in the design window 103 of the screen G1, and a label is designed by placing and moving objects on the displayed print layout.
The project setting section 104 displays the data contained in the project file in a hierarchical structure.
プロジェクト設定部104において、「呼出しテーブル」は、プリンタ3のラベル発行アプリケーションにおいてラベルを印字するときの基礎となるデータである。
「レイアウト」は、呼出しテーブルと組み合わせてプリンタ3でラベルを発行するためのデザインデータである。プロジェクトファイルには、1以上のレイアウトデータ(図2の例では、3個のレイアウトデータ)が含まれる。
In the project setting unit 104, the "call table" is data that is the basis for printing a label in the label printing application of the printer 3.
A "layout" is design data that is combined with a call table to print a label using the printer 3. A project file includes one or more pieces of layout data (three pieces of layout data in the example of FIG. 2).
図3は、図2のデザインウィンドウ103に表示された第1例の印字レイアウトLT1を拡大して示している。図3に示すように、第1例の印字レイアウトLT1上には、「バーコード」項目に対応するオブジェクトOBJ1、「品名」項目に対応するオブジェクトOBJ2、「消費期限」項目に対応するオブジェクトOBJ4、「金額」項目に対応するオブジェクトOBJ6、「税込」項目に対応するオブジェクトOBJ8、罫線オブジェクトOBJ9、「原材料名」項目に対応するオブジェクトOBJ14、及び、所定の文字列を含むオブジェクトOBJ3,OBJ5,OBJ7,OBJ10~OBJ13が配置されている。 Figure 3 shows an enlarged view of the print layout LT1 of the first example displayed in the design window 103 of Figure 2. As shown in Figure 3, the print layout LT1 of the first example includes an object OBJ1 corresponding to the "Barcode" item, an object OBJ2 corresponding to the "Product Name" item, an object OBJ4 corresponding to the "Expiration Date" item, an object OBJ6 corresponding to the "Price" item, an object OBJ8 corresponding to the "Tax Included" item, a ruled line object OBJ9, an object OBJ14 corresponding to the "Ingredient Name" item, and objects OBJ3, OBJ5, OBJ7, OBJ10-OBJ13 containing predetermined character strings.
図3では、ユーザの選択操作に応じてオブジェクトOBJ14が選択されたときの表示例が示される。デザインウィンドウ103においてオブジェクトが選択されると、選択されたオブジェクトの外枠に複数のサイズ変更ハンドルHd,hdが表示された状態となる。複数のサイズ変更ハンドルのうちハンドルHdは、オブジェクトの基点となる位置を示している。 Figure 3 shows an example of the display when object OBJ14 is selected in response to a user selection operation. When an object is selected in the design window 103, multiple resize handles Hd, hd are displayed on the outer frame of the selected object. Of the multiple resize handles, handle Hd indicates the position that serves as the base point of the object.
なお、以下では、印字レイアウトにおいて縦方向と横方向を図3に示すように定義して説明する。縦方向では印字レイアウトの上向きと下向きを含む。 In the following explanation, the vertical and horizontal directions in the print layout will be defined as shown in Figure 3. The vertical direction includes both upward and downward directions in the print layout.
次に、図4を参照して呼出しテーブルについて説明する。
図4は、コンピュータ装置2において呼出しテーブルを表示する手順を示す図である。呼出しテーブルは、ラベルに印字されるデータの登録を行うためのテーブルである。図4には、例示的な呼出しテーブルTL1が示される。
図4に示すように、プロジェクト設定部104の「呼出しテーブル」を操作する(例えば、ダブルクリックするか、あるいは右クリックして「開く」を選択操作する)ことで呼出しテーブルTL1が表示される。
呼出しテーブルTL1には、呼出しNo.によって特定される1以上のレコードが含まれる。各レコードは、「呼出し名」、「レイアウト指定」、「名称」、「品名」、「原材料名」、「価格」、「バーコード」等の各フィールドの値を有する。「名称」以降の各フィールドは、オブジェクトの項目名に対応する。
Next, the call table will be described with reference to FIG.
Fig. 4 is a diagram showing the procedure for displaying a call table on the computer device 2. The call table is a table for registering data to be printed on a label. Fig. 4 shows an exemplary call table TL1.
As shown in FIG. 4, by operating "Call Table" in the project setting section 104 (for example, by double-clicking or by right-clicking and selecting "Open"), a call table TL1 is displayed.
The call table TL1 contains one or more records identified by a call number. Each record has values for fields such as "call name,""layoutspecification,""name,""itemname,""raw material name,""price," and "barcode." Each field after "name" corresponds to the item name of the object.
呼出しテーブルTL1の各レコードは1つのラベルを発行するためのラベルレイアウトと各項目名のデータ(文字列等)を示している。この各レコードのデータを以下では、「発行データ」という。ユーザは、例えば、呼出しテーブルTL1に各項目名に対応する文字列を入力することで、ラベルのレイアウトと各項目名に対応する文字列とを対応付けることができる。なお、呼出しテーブルTL1には複数のレコードを設けなくてもよく、1つのレコード(つまり、1つの発行データ)のみであってもよい。
呼出しテーブルTL1では、呼出しNo.によって発行データが特定される。プリンタ3のラベル発行アプリケーションでは、呼出しNo.によって発行データが呼び出される。
Each record in the call table TL1 indicates the label layout and data (such as character strings) for each item name for printing one label. Hereinafter, this data for each record will be referred to as "printing data." For example, a user can associate the label layout with the character strings corresponding to each item name by inputting the character strings corresponding to each item name into the call table TL1. The call table TL1 does not need to have multiple records; it may have only one record (i.e., one piece of printing data).
In the call table TL1, print data is specified by a call number. In the label printing application of the printer 3, print data is called by the call number.
呼出しテーブルTL1において「レイアウト指定」フィールドの値は、デザインウィンドウ103(図2参照)で作成された1以上の印字レイアウトのいずれかを示す値である。この例では、「レイアウト指定」フィールドの値は、[1]単品ラベル1、[2]単品ラベル2、及び、[11]詰合せラベルの3つの印字レイアウトが作成済みである場合に、各発行データがこの3つの印字レイアウトのうちいずれの印字レイアウトに対応するかを示している。 The value of the "Layout Designation" field in call table TL1 indicates one or more print layouts created in the design window 103 (see Figure 2). In this example, if three print layouts have been created: [1] Individual Label 1, [2] Individual Label 2, and [11] Assorted Label, the value of the "Layout Designation" field indicates which of these three print layouts each piece of printing data corresponds to.
例えば、図2及び図3の印字レイアウトLT1は、呼出しテーブルTL1の呼出しNo.:1(呼出し名:「食パン」)のレコードに対応する発行データが表示されている。
この例では、呼出しNo.:1に対応するレコードの「レイアウト指定」フィールドの値([1]単品ラベル1)に対応する。品名に対応するオブジェクトOBJ2内の文字列は、呼出しテーブルTL1の呼出しNo.:1のレコードの「品名」フィールドの値に対応する。価格に対応するオブジェクトOBJ6内の文字列は、呼出しテーブルTL1の呼出しNo.:1のレコードの「価格」フィールドの値に対応する。原材料に対応するオブジェクトOBJ14内の文字列は、呼出しテーブルTL1の呼出しNo.:1のレコードの「原材料名」フィールドの値(商品1)に対応する。
For example, the print layout LT1 in Figures 2 and 3 displays the printing data corresponding to the record of call No.: 1 (call name: "bread") in the call table TL1.
In this example, it corresponds to the value of the "Layout specification" field of the record corresponding to call No.: 1 ([1] Single item label 1). The character string in object OBJ2 corresponding to the product name corresponds to the value of the "Product name" field of the record of call No.: 1 in call table TL1. The character string in object OBJ6 corresponding to the price corresponds to the value of the "Price" field of the record of call No.: 1 in call table TL1. The character string in object OBJ14 corresponding to the ingredients corresponds to the value of the "Ingredient name" field of the record of call No.: 1 in call table TL1 (Product 1).
以上のようにしてコンピュータ装置2のユーザは、呼出しテーブルTL1にデータを登録することで、異なるレイアウトのラベルや、同一のレイアウトであるが各項目の印字内容が異なるラベルを設計することができる。 In this way, by registering data in the call table TL1, the user of the computer device 2 can design labels with different layouts, or labels with the same layout but different printed content for each item.
同一デザインのラベルであっても商品によって特定の項目(例えば原材料等)のオブジェクト内の文字列の量が異なる。そのため、一実施形態のラベル発行アプリケーションは、文字列が少ない商品に対するラベルに余白を生じさせないようなラベルデザインを行うことができるように構成されている。以下では、ラベルに余白を生じさせないようなラベルデザインを行う際に、ラベル作成アプリケーションによって実現される機能について、図5~図10を参照して説明する。 Even for labels with the same design, the amount of text within an object for a specific item (such as ingredients) varies depending on the product. For this reason, the label printing application in one embodiment is configured to enable label designs that eliminate white space on labels for products with little text. Below, we will explain the functions implemented by the label creation application when creating a label design that eliminates white space on labels, with reference to Figures 5 to 10.
ラベル発行アプリケーションにおいて、文字列が少ない商品に対するラベルに余白を生じさせないようにするには、レイアウト設定を可変長にする必要がある。レイアウト設定は、図5に示すように、オブジェクトプロパティ設定部105のレイアウト設定ボタンを操作することで表示されるウィンドウW1において、「可変長(台紙なしラベル)」又は「可変長(ジャーナル紙)」を選択する。
なお、レイアウト設定ボタンは、デザインウィンドウ103に表示される印字レイアウト上のいずれのオブジェクトも選択されていない場合にオブジェクトプロパティ設定部105に表示される。
In the label issuing application, to prevent blank spaces from appearing on labels for products with a small amount of text, the layout setting must be set to variable length. To set the layout, select "Variable Length (Label without liner)" or "Variable Length (Journal Paper)" in window W1, which is displayed by operating the layout setting button in object property setting section 105, as shown in Figure 5.
The layout setting button is displayed in the object property setting section 105 when no object is selected on the print layout displayed in the design window 103.
[可変長オブジェクトの設定]
次いで、デザインウィンドウ103内の印字レイアウトLT1に配置されているオブジェクトの中で、文字列を含むオブジェクト(以下、「文字列オブジェクト」という。)を選択する。図6には、原材料名に対する文字列オブジェクトが選択された例が示される。
なお、デザインウィンドウ103において文字列オブジェクトは、ラベル編集者であるユーザに認識可能となるようにオブジェクトの外縁がラインで表示されるが、このラインはラベルには印字されない。オブジェクトの外縁が認識できればよいため、ラインを表示せずオブジェクトの範囲(フィールド)内を外とは異なる色や模様で表示させてもよい。
[Variable length object settings]
Next, an object containing a character string (hereinafter referred to as a "character string object") is selected from among the objects arranged in the print layout LT1 in the design window 103. Figure 6 shows an example in which a character string object for the name of an ingredient has been selected.
In the design window 103, character string objects are displayed with lines around their outer edges so that they can be recognized by the user who is the label editor, but these lines are not printed on the label. As long as the outer edges of the object can be recognized, it is also possible to display the inside of the object's range (field) in a different color or pattern from the outside without displaying the lines.
オブジェクトプロパティ設定部105では、選択された文字列オブジェクトについての各種設定を行うことができる。例えば、オブジェクトプロパティ設定部105の項目名(この例では「原材料名」)によって、デザインウィンドウ103内のレイアウトデザイン内で使用される項目が設定される。入力方法として「固定」又は「発行時」が選択可能である。入力方法として「固定」が選択された場合には、「データ」の欄にセットされた値が印字される設定であることを示し、入力方法として「発行時」が選択された場合には、「データ」の欄にセットされた初期値がプリンタ3のラベル発行アプリケーションにおいて変更可能であることを示す。 The object property setting section 105 allows various settings to be made for the selected character string object. For example, the item name in the object property setting section 105 ("Raw Material Name" in this example) sets the item to be used in the layout design in the design window 103. "Fixed" or "At Print" can be selected as the input method. If "Fixed" is selected as the input method, this indicates that the value set in the "Data" field will be printed; if "At Print" is selected as the input method, this indicates that the initial value set in the "Data" field can be changed in the label printing application of the printer 3.
オブジェクトプロパティ設定部105にはさらに、文字列オブジェクトに含まれる文字列のフォント、文字間隔、サイズを変更、選択するためのプルダウンメニューの他、各種のボタンb1~b4が表示される。ボタンb1~b3は、それぞれオブジェクト内の文字列の左揃え、中央揃え、右揃えのいずれかを有効にするためのボタンである。ボタンb4は、選択された文字列オブジェクトを可変長オブジェクトに設定(オン)する、又は設定を解除(オフ)するためのボタンであり、オン又はオフの状態が視覚的に認識可能な態様で表示される。
可変長オブジェクトとは、オブジェクトの中に含まれる文字列の長さに応じてオブジェクトの長さがラベルの縦方向において可変となる可変長オブジェクトである。
The object property setting unit 105 further displays pull-down menus for changing and selecting the font, character spacing, and size of the character string included in the character string object, as well as various buttons b1 to b4. Buttons b1 to b3 are buttons for enabling left justification, center justification, or right justification of the character string within the object, respectively. Button b4 is a button for setting (ON) the selected character string object as a variable-length object or for canceling (OFF) the setting, and the ON or OFF state is displayed in a visually recognizable manner.
A variable length object is an object whose length varies in the vertical direction of the label depending on the length of the character string contained in the object.
図6に示すように、ボタンb4を操作することで選択された文字列オブジェクトが可変長オブジェクトに設定されると、当該文字列オブジェクト(項目名が「原材料名」であるオブジェクト)のサイズが最小化され、文字列オブジェクトに設定されたことがわかる。
ラベル作成アプリケーションにおいてユーザがラベルのデザインを行う際に、文字列オブジェクトを可変長オブジェクトに設定するには、ボタンb4(操作対象の一例)をオン状態とすればよく、視覚的に容易に設定可能である。
一実施形態では、ウィンドウW1(図5参照)において、「可変長(台紙なしラベル)」及び「可変長(ジャーナル紙)」以外の選択肢が選択された場合に、ボタンb4をオン状態とすることが禁止される。
As shown in Figure 6, when the selected character string object is set as a variable-length object by operating button b4, the size of the character string object (the object whose item name is "raw material name") is minimized, and it can be seen that it has been set as a character string object.
When a user designs a label in a label creation application, to set a character string object to a variable length object, the user simply turns on button b4 (an example of an operation target), which allows for easy visual setting.
In one embodiment, if an option other than "Variable length (backing paperless label)" and "Variable length (journal paper)" is selected in window W1 (see Figure 5), button b4 is prohibited from being turned on.
図10Aに、第1例の印字レイアウトLT1において、項目名が「原材料名」である文字列オブジェクトに対して、可変長オブジェクトに設定されていない場合のラベル印字例(左側)と、設定されている場合のラベル印字例(右側)とを示す。図10Aに示すように、可変長オブジェクトに設定することで、原材料名に対応する文字列の長さが短い場合に空白が削除される。 Figure 10A shows an example of a label printout (left) for a string object with the item name "Ingredient Name" in the first example print layout LT1 when it is not set to a variable length object, and an example of a label printout (right) when it is set. As shown in Figure 10A, by setting it to a variable length object, spaces are deleted when the length of the string corresponding to the ingredient name is short.
なお、ラベル作成アプリケーションでは、可変長オブジェクトに含まれる文字列の縦方向の最小行数が設定できるようにしてもよい。すなわち、可変長オブジェクトに設定された文字列オブジェクトに、縦方向に必ず表示すべき文字列(必須文字列)と、ラベルが貼付される商品に応じて異なる長さになる文字列(可変長文字列)とが含まれている場合、必須文字列の行数を最小行数として設定することが好ましい。例えば、必須文字列が縦方向に「原材料名」という文字列であって、可変長文字列が横方向に具体的な原材料の内容を示す文字列(例えば、「小麦粉、グラニュー糖、…」)である場合、縦方向の最小行数を4行に設定するとよい。それによって、原材料の内容が少なく可変長文字列が短い場合であっても必須文字列(「原材料名」)を常に表示させることができる。 The label creation application may also allow the minimum number of vertical lines of text included in a variable-length object to be set. That is, if the text object set in a variable-length object contains text that must be displayed vertically (required text) and text that varies in length depending on the product to which the label is affixed (variable-length text), it is preferable to set the number of lines of the required text as the minimum number of lines. For example, if the required text is a vertical string that reads "Ingredient Names" and the variable-length text is a horizontal string that indicates the specific ingredients (e.g., "Flour, Granulated Sugar, ..."), it is recommended to set the minimum number of vertical lines to four. This allows the required text ("Ingredient Names") to always be displayed, even if the ingredient content is small and the variable-length text is short.
[オブジェクトの縦位置の相対設定]
ラベル発行アプリケーションでは、印字レイアウトに配置されたオブジェクトの中から選択されたオブジェクトの縦位置(つまり、ラベルの縦方向の位置)を他の基準となるオブジェクト(以下、「基準オブジェクト」という。)を基準にして相対的に設定することができる。この設定をオブジェクトの「縦位置の相対設定処理」という。
前述したように、可変長オブジェクトは、文字列の長さに応じてオブジェクトの長さが可変となる。そこで、可変長オブジェクトよりもラベルの縦方向において下流にある1以上のオブジェクトに対して縦位置の相対設定を行い、当該1以上のオブジェクトの位置を可変長オブジェクトに追従して変化させる。それによって、可変長オブジェクトよりも下側に1以上のオブジェクトが配置されている場合に、可変長オブジェクトに含まれる文字列が少ない商品に対するラベルに余白を生じさせないようにすることができる。
[Relative setting of vertical position of object]
In the label printing application, the vertical position of an object selected from the objects arranged in the print layout (i.e., the vertical position of the label) can be set relative to another reference object (hereinafter referred to as the "reference object"). This setting is called the "relative vertical position setting process" of the object.
As mentioned above, the length of a variable-length object varies depending on the length of the character string. Therefore, the vertical positions of one or more objects located vertically downstream of the variable-length object on the label are set relative to each other, and the positions of the one or more objects change to follow the variable-length object. This prevents white space from appearing on the label for products with a small amount of character string in the variable-length object when one or more objects are located below the variable-length object.
図7では、デザインウィンドウ103内の第2例の印字レイアウトLT2に配置された罫線オブジェクトOBJ18が選択された例が示される。この場合、オブジェクトプロパティ設定部105には、選択された罫線オブジェクトについての各種設定を行うことができる。
図7に示すように、オブジェクトプロパティ設定部105に表示される詳細設定ボタンb10を操作すると、ウィンドウW2が表示される。ウィンドウW2では、選択された罫線オブジェクトの縦位置の相対設定を行うことができる。縦位置の相対設定は、基準となるオブジェクトと、基準オブジェクトからの間隔とが設定可能である。基準オブジェクトは、印字レイアウトLT2に配置された複数のオブジェクトのうち、選択されたオブジェクト(この例では、オブジェクトOBJ18)以外のオブジェクトの中から決定される。
7 shows an example in which a ruled line object OBJ18 arranged in the second example print layout LT2 in the design window 103 is selected. In this case, various settings for the selected ruled line object can be made in the object property setting section 105.
As shown in Figure 7, when the advanced settings button b10 displayed in the object property setting section 105 is operated, window W2 is displayed. In window W2, the relative vertical position of the selected ruled line object can be set. The relative vertical position setting can set the reference object and the distance from the reference object. The reference object is determined from among the multiple objects arranged in print layout LT2, excluding the selected object (in this example, object OBJ18).
図7のウィンドウW2に示す設定例では、罫線オブジェクトOBJ18の基点の縦位置の、基準オブジェクト(項目名が「原材料名」であるオブジェクト)の基準位置からの間隔が、1.083mmであることを示している。基準オブジェクトの基準位置は任意に設定可能であるが、例えば、基準オブジェクトの下端である。
なお、基準位置からの間隔は、対象となるオブジェクトの基点の縦位置が、基準オブジェクトの基準位置よりも下方にあるときにプラスの値であり、上方にあるときにマイナスの値である。
7, the vertical position of the base point of the ruled line object OBJ18 is spaced 1.083 mm from the reference position of the reference object (the object whose item name is "raw material name"). The reference position of the reference object can be set arbitrarily, for example, to the bottom end of the reference object.
The distance from the reference position is a positive value when the vertical position of the base point of the target object is below the reference position of the reference object, and a negative value when it is above the reference position.
図8は、基準オブジェクトの間隔が短い場合と長い場合とでの印字レイアウトLT2の表示例を示している。
図8において、縦位置の相対設定の対象となるオブジェクトが罫線オブジェクトOBJ18であり、基準オブジェクトがオブジェクトOBJ17である。オブジェクトOBJ17の基準位置(下端)を強調するために、オブジェクトOBJ17の下辺が例えば太線で示されるが、その限りではなく、下端を他の端とは異なる色で表示してもよい。
図8に示すように、一実施形態では、オブジェクトOBJ17の基準位置から罫線オブジェクトOBJ18までの間隔が、矢印付き線AR1で示される。矢印付き線AR1の長さによりユーザは、基準オブジェクトからの間隔の長短を直感的に把握することができる。
FIG. 8 shows examples of display of a print layout LT2 when the interval between reference objects is short and when it is long.
8, the object for which the relative vertical position is set is a ruled line object OBJ18, and the reference object is an object OBJ17. To emphasize the reference position (bottom end) of object OBJ17, the bottom side of object OBJ17 is shown, for example, in bold, but this is not limiting, and the bottom end may be displayed in a different color from the other ends.
8, in one embodiment, the distance from the reference position of object OBJ17 to ruled line object OBJ18 is indicated by an arrowed line AR1. The length of the arrowed line AR1 allows the user to intuitively grasp the length of the distance from the reference object.
矢印付き線は、基準オブジェクトの基準位置と選択オブジェクトの基準位置との縦方向の相対位置を示す指標の一例である。縦方向の相対位置を示す指標は、矢印付き線に限られず、相対位置を示す値を直接表示させることであってもよい。 The line with an arrow is an example of an indicator that indicates the relative vertical position between the reference position of the reference object and the reference position of the selected object. The indicator that indicates the relative vertical position is not limited to a line with an arrow, and may instead directly display a value indicating the relative position.
なお、図7及び図8は、縦位置の相対設定の対象となるオブジェクトが罫線オブジェクトである場合について示したが、その限りではない。縦位置の相対設定は、文字列オブジェクト等の他の種別のオブジェクトに対しても行うことができる。 Note that while Figures 7 and 8 show the case where the object to be set for relative vertical position is a ruled line object, this is not the only option. Relative vertical position setting can also be performed for other types of objects, such as text objects.
可変長オブジェクトよりも下側にある2以上のオブジェクトに対して縦位置の相対設定を行う場合、2以上のオブジェクトの各々を順次選択して図7に示す操作を行ってもよいが、当該2以上のオブジェクトに対して一括して行うこともできる。それによって、ユーザのラベルデザインの編集負担が軽減する。
図9は、2以上のオブジェクトに対して一括して縦位置の相対設定を行う操作例を示している。図9に示すように、印字レイアウトLT2に配置される2以上のオブジェクトをまとめて選択した上で詳細設定ボタンb11を操作すると、ウィンドウW3が表示される。ウィンドウW3では、選択された2以上のオブジェクトの縦位置の相対設定を行うことができる。
When setting the relative vertical positions of two or more objects below a variable-length object, you can select each of the two or more objects in turn and perform the operation shown in Figure 7, or you can perform the operation on the two or more objects all at once, which reduces the burden on the user when editing the label design.
9 shows an example of an operation for setting the relative vertical positions of two or more objects at once. As shown in Fig. 9, when two or more objects to be placed in the print layout LT2 are selected together and the detailed settings button b11 is operated, window W3 is displayed. In window W3, the relative vertical positions of the two or more selected objects can be set.
図10Bに、印字レイアウトLT2において、縦位置の相対設定がされていない場合のラベル印字例(又はプレビュー画面例)(左側)と、縦位置の相対設定がされている場合のラベル印字例(又はプレビュー画面例)(右側)とを示す。右側の例では、項目名が「原材料名」である文字列オブジェクトを基準オブジェクトとして、当該文字列オブジェクトよりも下側に配置されるオブジェクト群に対して、縦位置の相対設定がされている。そのため、基準オブジェクトが可変長オブジェクトに設定され、基準オブジェクトに含まれる文字列が比較的短い場合、基準オブジェクトと上記オブジェクト群との間の空白が削除される。 Figure 10B shows an example of a label print (or preview screen example) (left) when relative vertical positioning is not set in print layout LT2, and an example of a label print (or preview screen example) (right) when relative vertical positioning is set. In the example on the right, a character string object with the item name "Ingredient Name" is set as the reference object, and relative vertical positioning is set for a group of objects positioned below this character string object. Therefore, if the reference object is set as a variable-length object and the character string contained in the reference object is relatively short, the white space between the reference object and the above-mentioned group of objects is deleted.
図10Cに、印字レイアウトLT2において、図10Bの右側と同様に縦位置の相対設定がされている場合において、項目名が「原材料名」である文字列オブジェクトに含まれる文字列が比較的短いラベル印字例(又はプレビュー画面例)(左側)と、当該文字列オブジェクトに含まれる文字列が比較的長いラベル印字例(又はプレビュー画面例)(右側)とを示す。当該文字列オブジェクトよりも下側に配置されるオブジェクト群の位置が、項目名が「原材料名」である文字列オブジェクト(基準オブジェクト)に含まれる文字列の長さに応じて設定され、基準オブジェクトと上記オブジェクト群との間の空白が削除される。すなわち、縦位置の相対設定を行うことで、文字列オブジェクトに含まれる文字列の長さに応じて最適なサイズのラベルを発行させることができる。 Figure 10C shows an example of a label printout (or preview screen example) (left) in which the string object with the item name "Ingredient Name" contains a relatively short string of characters, and an example of a label printout (or preview screen example) (right) in which the string object contains a relatively long string of characters, when the relative vertical position is set in print layout LT2 in the same way as on the right side of Figure 10B. The positions of the objects placed below the string object are set according to the length of the string contained in the string object with the item name "Ingredient Name" (reference object), and white space between the reference object and the above objects is deleted. In other words, by setting the relative vertical position, it is possible to print a label of the optimal size according to the length of the string contained in the string object.
図11は、印字レイアウトに配置される各オブジェクトに関する各種のプロパティを示すオブジェクトテーブルの構成例を示す。
オブジェクトテーブルは、印字レイアウトに関連付けて設けられる。オブジェクトテーブルの各レコードは、関連付けられた印字レイアウトに配置された複数のオブジェクトのいずれかに対応している。
図11に示すように、各レコードは、対応するオブジェクトの「種別」、「項目名」、「基点」、「可変長設定」、「縦位置の相対設定」、「基礎データ」の各フィールドの値を含む。
「種別」フィールドの値は、例えば、文字列、罫線、表、グラフィック、バーコード等、対応するオブジェクトの種別を示す値である。
「項目名」フィールドの値は、対象となるオブジェクトの項目名(例えば「原材料名」)を示す値であり、印字レイアウトに配置されたオブジェクトが選択された場合にオブジェクトプロパティ設定部105に表示される(例えば図6参照)。
「基点」フィールドの値は、対応するオブジェクトの基点の位置の座標(X,Y)の値(mm)を示す。座標のX値及びY値は、ラベルの印字レイアウトの所定位置を原点としたときの横方向をX軸とし、縦方向をY軸としたときの値である。
「可変長設定」フィールドの値は、対応するオブジェクトが可変長オブジェクトに設定されていること(「有」)、又は設定されていないこと(「無」)のいずれかを示す値である。
「縦位置の相対設定」フィールドの値は、対応するオブジェクトに対して縦位置の相対設定がされていること(「有」)、又はされていないこと(「無」)のいずれかを示す値である。縦位置の相対設定がされている場合、基準オブジェクトと、基準オブジェクトからの間隔(mm)とを示す値が含まれる。
「基礎データ」フィールドの値は、対応するオブジェクトの基礎的なデータを示す値であり、例えば、フォント、サイズ、行数のほか、文字間隔、文字列の左揃え、中央揃え、右揃えのいずれかの設定値などの値を含む。
FIG. 11 shows an example of the configuration of an object table that indicates various properties related to each object arranged in a print layout.
The object table is associated with a print layout, and each record in the object table corresponds to one of a plurality of objects arranged in the associated print layout.
As shown in FIG. 11, each record includes values for the fields "type,""itemname,""basepoint,""variable length setting,""relative vertical position setting," and "basic data" of the corresponding object.
The value of the "type" field indicates the type of the corresponding object, such as a character string, a ruled line, a table, a graphic, or a barcode.
The value of the "item name" field indicates the item name of the target object (e.g., "raw material name"), and is displayed in the object property setting section 105 when an object placed in the print layout is selected (see, e.g., Figure 6).
The value in the "Base Point" field indicates the coordinate (X, Y) value (mm) of the base point of the corresponding object. The X and Y coordinate values are values when the horizontal direction is the X axis and the vertical direction is the Y axis, with the origin being a predetermined position in the label print layout.
The value of the "Variable Length Setting" field indicates whether the corresponding object is set as a variable length object ("Yes") or not ("No").
The value of the "relative vertical position setting" field indicates whether the relative vertical position setting is set for the corresponding object ("Yes") or not ("No"). If the relative vertical position setting is set, the field contains values indicating the reference object and the distance (mm) from the reference object.
The value of the "Basic Data" field indicates the basic data of the corresponding object, and includes, for example, values such as font, size, number of lines, character spacing, and settings for left-justifying, center-justifying, or right-justifying the string.
次に、図12を参照して、ラベル発行システム1に含まれるコンピュータ装置2、プリンタ3、及び、サーバ5の構成について、順に説明する。 Next, with reference to Figure 12, the configuration of the computer device 2, printer 3, and server 5 included in the label issuance system 1 will be described in order.
図12に示すように、コンピュータ装置2は、制御部21、ストレージ22、操作入力部23、表示部24、及び、通信部25を備える。 As shown in FIG. 12, the computer device 2 includes a control unit 21, storage 22, an operation input unit 23, a display unit 24, and a communication unit 25.
制御部21は、マイクロプロセッサを主体として構成され、コンピュータ装置2全体を制御する。例えば、制御部21に含まれるマイクロプロセッサは、ラベル作成アプリケーションプログラム(ラベル作成アプリ)を実行し、その実行結果を表示部24に表示する。
ストレージ22は、不揮発性のメモリであり、例えばフラッシュメモリ等のSSD(Solid State Drive)である。ストレージ22は、ラベル作成アプリケーションを実行することで作成されたプロジェクトファイルを記憶する。プロジェクトファイルは、1以上のレイアウトデータ、呼出しテーブルTL1(図4)、及び、オブジェクトテーブル(図11)を含む。
The control unit 21 is mainly configured with a microprocessor, and controls the entire computer device 2. For example, the microprocessor included in the control unit 21 executes a label creation application program (label creation app) and displays the execution results on the display unit 24.
The storage 22 is a non-volatile memory, such as a solid-state drive (SSD) such as a flash memory. The storage 22 stores a project file created by executing a label creation application. The project file includes one or more pieces of layout data, a call table TL1 (FIG. 4), and an object table (FIG. 11).
操作入力部23は、例えば、ポインティングデバイス、タッチパネル等の入力デバイスを含む。表示部24がタッチパネル入力用表示パネルを備える場合、表示部24は、操作入力部23の一部を構成する。
表示部24は、例えば液晶表示パネルを含み、ラベル作成アプリケーションの実行結果を表示する。
通信部25は、サーバ5との間で通信を行う通信インタフェースである。
The operation input unit 23 includes, for example, input devices such as a pointing device, a touch panel, etc. When the display unit 24 includes a display panel for touch panel input, the display unit 24 constitutes a part of the operation input unit 23.
The display unit 24 includes, for example, a liquid crystal display panel, and displays the results of the execution of the label creation application.
The communication unit 25 is a communication interface that communicates with the server 5 .
制御部21に含まれるマイクロプロセッサがラベル作成アプリケーションを実行することで、以下の各手段の少なくともいずれかを実現する。
(i)プリンタ3によって印字される描画データの基礎となる印字レイアウトを表示部24に表示させる表示手段
(ii)表示部24に表示された印字レイアウト上に複数のオブジェクトを配置するオブジェクト配置手段
(iii)複数のオブジェクトのうちユーザに選択されたオブジェクトを、印字レイアウトの縦方向においてオブジェクトの高さが可変となる可変長オブジェクトに設定するオブジェクト設定手段
(iv)複数のオブジェクトのうちユーザに選択された選択オブジェクトを対象として、複数のオブジェクトのうち選択オブジェクト以外のオブジェクトの中から決定された基準オブジェクトに対する縦方向の相対位置を決定するオブジェクト位置決定手段
The microprocessor included in the control unit 21 executes the label creation application, thereby realizing at least one of the following means.
(i) a display means for displaying on the display unit 24 a print layout that is the basis of the drawing data to be printed by the printer 3; (ii) an object arranging means for arranging a plurality of objects on the print layout displayed on the display unit 24; (iii) an object setting means for setting an object selected by a user from the plurality of objects to a variable-length object whose height in the vertical direction of the print layout is variable; and (iv) an object position determining means for determining the vertical relative position of a selected object selected by a user from the plurality of objects with respect to a reference object determined from among the plurality of objects other than the selected object.
オブジェクト位置決定手段は、複数のオブジェクトが、文字列を含む文字列オブジェクトと、罫線オブジェクト、枠線オブジェクト、表オブジェクト等のラインを含むラインオブジェクトとを含む場合、ラインオブジェクトの縦方向の高さを、可変長オブジェクトに設定された文字列オブジェクトの高さの変化に応じて変更してもよい。
図8の例では、選択オブジェクトは、罫線オブジェクトOBJ18(ラインオブジェクトの一例)であり、基準オブジェクトは、項目名が「原材料名」である文字列オブジェクトOBJ17である。
When the plurality of objects include a character string object containing a character string and a line object containing lines such as a ruled line object, a frame line object, or a table object, the object position determination means may change the vertical height of the line object in accordance with a change in the height of the character string object set in the variable length object.
In the example of FIG. 8, the selected object is a ruled line object OBJ18 (an example of a line object), and the reference object is a character string object OBJ17 whose item name is "raw material name."
一実施形態では、オブジェクト位置決定手段は、図7のウィンドウW2に例示したように、基準オブジェクトの基準位置と選択オブジェクトの基準位置との縦方向の距離がユーザによって設定された値となるように、選択オブジェクトを縦方向に移動させる。 In one embodiment, the object position determination means moves the selected object vertically so that the vertical distance between the reference position of the reference object and the reference position of the selected object is a value set by the user, as illustrated in window W2 of Figure 7.
一実施形態では、オブジェクト位置決定手段は、図9に例示したように、複数のオブジェクトからユーザに一括して選択された2以上の選択オブジェクトを対象として、基準オブジェクトに対する縦方向の相対位置を決定する。 In one embodiment, the object position determination means determines the relative vertical position of two or more selected objects selected by the user from a plurality of objects, as illustrated in Figure 9, relative to a reference object.
再度図12を参照すると、プリンタ3は、制御部31、ストレージ32、操作入力部33、表示部34、搬送部35、印字部36、及び、通信部37を備える。 Referring again to FIG. 12, the printer 3 includes a control unit 31, storage 32, operation input unit 33, display unit 34, conveyance unit 35, printing unit 36, and communication unit 37.
制御部31は、マイクロプロセッサを主体として構成され、プリンタ3の全体を制御する。ストレージ32は、不揮発性のメモリであり、例えばフラッシュメモリ等のSSDである。
例えば、制御部31に含まれるマイクロプロセッサは、ファームウェア及びラベル発行アプリケーションプログラムを実行する。
制御部31は、サーバ5に対してフォーマットファイルの送信を要求し、当該要求に応じて送信されるフォーマットファイルを、通信部37を介して受信する。制御部31がサーバ5に対してフォーマットファイルの送信を要求するタイミングは限定するものではないが、例えば、プリンタ3の起動時、毎日の所定の時刻、あるいは、プリンタ3のユーザによって所定のダウンロード操作が行われたタイミング等である。
フォーマットファイルをサーバ5からダウンロードした場合には、ダウンロードしたフォーマットファイルがストレージ32に格納される。
The control unit 31 is mainly configured with a microprocessor and controls the entire printer 3. The storage 32 is a non-volatile memory, for example, an SSD such as a flash memory.
For example, a microprocessor included in the control unit 31 executes firmware and a label issuing application program.
The control unit 31 requests the server 5 to transmit a format file, and receives the format file transmitted in response to the request via the communication unit 37. The timing at which the control unit 31 requests the server 5 to transmit a format file is not limited, but may be, for example, when the printer 3 is started up, at a predetermined time each day, or when a predetermined download operation is performed by the user of the printer 3.
When a format file is downloaded from the server 5, the downloaded format file is stored in the storage 32.
表示部34は、図示しない表示パネル及び表示駆動回路を有し、表示パネル上にラベル発行アプリケーションの実行結果を表示する。操作入力部33は、表示パネルに設けられるタッチパネル入力とその入力回路を含む。 The display unit 34 has a display panel and display drive circuit (not shown), and displays the execution results of the label printing application on the display panel. The operation input unit 33 includes a touch panel input provided on the display panel and its input circuit.
制御部31は、ファームウェアを実行することで、発行データを印字用のビットマップデータ(描画データ)に変換し、描画データのライン毎のデータであるラインデータを順次、印字部36へ送出する。搬送部35及び印字部36は、順次送出されるラインデータに基づいて印字を行う。
搬送部35は、図示しないプラテンローラ、モータ駆動回路、及びステッピングモータ等を含み、プリンタ3内の連続紙の搬送を行う。例えば、ファームウェアによる搬送要求に基づき、モータ駆動回路が、プラテンローラの回転を制御するステッピングモータを駆動することによって、連続紙を搬送させる。
印字部36は、図示しないサーマルヘッド及びヘッド駆動回路を含む。ヘッド駆動回路は、ラインデータに基づきサーマルヘッド46の各発熱素子に選択的に電流を流すことで、連続紙のラベル上に印字を行う。
通信部37は、サーバ5との間で通信を行う通信インタフェースである。
The control unit 31 executes firmware to convert the printing data into bitmap data (drawing data) for printing, and sequentially sends line data, which is data for each line of the drawing data, to the printing unit 36. The conveying unit 35 and the printing unit 36 perform printing based on the line data that is sequentially sent out.
The transport unit 35 includes a platen roller, a motor drive circuit, a stepping motor, and the like (not shown), and transports the continuous paper within the printer 3. For example, based on a transport request from the firmware, the motor drive circuit drives the stepping motor, which controls the rotation of the platen roller, to transport the continuous paper.
The printing unit 36 includes a thermal head and a head drive circuit (not shown). The head drive circuit selectively applies current to each heating element of the thermal head 46 based on line data, thereby printing on the continuous paper label.
The communication unit 37 is a communication interface that communicates with the server 5 .
図12に示すように、サーバ5は、制御部51、ストレージ52、及び、通信部53を備える。
制御部51は、マイクロプロセッサを主体として構成され、サーバ5の全体を制御する。制御部51は、例えば、プリンタ3からの要求に応じてフォーマットファイルを送信するように通信部53を制御する。
ストレージ52は、例えばHDD(Hard Disk Drive)等の大容量記憶装置であり、コンピュータ装置2から送信(アップロード)されるフォーマットファイルを記憶する。
通信部53は、コンピュータ装置2及びプリンタ3との間で通信を行う通信インタフェースである。
As shown in FIG. 12 , the server 5 includes a control unit 51 , a storage 52 , and a communication unit 53 .
The control unit 51 is mainly configured with a microprocessor, and controls the entire server 5. The control unit 51 controls the communication unit 53 so as to transmit a format file in response to a request from the printer 3, for example.
The storage 52 is a large-capacity storage device such as a hard disk drive (HDD), and stores format files transmitted (uploaded) from the computer device 2 .
The communication unit 53 is a communication interface that communicates with the computer device 2 and the printer 3 .
次に、コンピュータ装置2において制御部21がラベル作成アプリケーションを実行することで行われる処理として、可変長設定処理、縦位置の相対設定処理、及び、オブジェクト配置処理を、図13~図15のフローチャートを参照して説明する。 Next, the processes performed by the control unit 21 of the computer device 2 when it executes the label creation application, including the variable length setting process, the relative vertical position setting process, and the object placement process, will be described with reference to the flowcharts in Figures 13 to 15.
[可変長設定処理](図13)
可変長設定処理は、文字列オブジェクトを可変長オブジェクトに設定する処理である。
図13を参照すると、制御部21は、可変長用紙が選択済みであるか判断する(ステップS2)。可変長用紙が選択されていることは、図5に示した例では、「可変長(台紙なしラベル)」又は「可変長(ジャーナル紙)」のいずれかの選択に相当し、ラベル又は用紙の長さが印字内容に応じて変動する設定であることを意味する。可変長用紙が選択済みであることは、文字列オブジェクトを可変長オブジェクトに設定する際の前提条件である。
[Variable length setting process] (Fig. 13)
The variable length setting process is a process for setting a character string object to a variable length object.
13, the control unit 21 determines whether variable-length paper has been selected (step S2). In the example shown in FIG. 5, the selection of variable-length paper corresponds to the selection of either "variable length (linerless label)" or "variable length (journal paper)," and means that the length of the label or paper is set to vary depending on the print content. The selection of variable-length paper is a prerequisite for setting a character string object to a variable-length object.
可変長用紙が選択されている場合、制御部21は、ユーザによって文字列オブジェクトが選択されているか否か判断する(ステップS4)。文字列オブジェクトの選択は、操作入力部23を介してデザインウィンドウ103(図6参照)に配置された少なくともいずれかの文字列オブジェクトに対する選択操作を行うことでなされる。選択された文字列オブジェクトは、図6に示したように、外枠に複数のサイズ変更ハンドルが表示された状態となる。このとき、制御部21は画面上に、選択された文字列オブジェクトを可変長オブジェクトに変更するための操作対象(例えば、図6のボタンb4;可変長ボタン)を表示させ、当該操作対象に対する操作に応じて(ステップS6:YES)、選択された文字列オブジェクトを可変長オブジェクトに設定する処理を行う。具体的に制御部21は、オブジェクトテーブル(図11参照)において、処理対象のオブジェクトに対する可変長設定を「有」に変更して記録する(ステップS8)。 If variable-length paper is selected, the control unit 21 determines whether a character string object has been selected by the user (step S4). A character string object is selected by performing a selection operation on at least one of the character string objects arranged in the design window 103 (see FIG. 6) via the operation input unit 23. As shown in FIG. 6, the selected character string object has multiple resize handles displayed on its outer frame. At this time, the control unit 21 displays on the screen an operation object (e.g., button b4 in FIG. 6; the variable length button) for changing the selected character string object to a variable-length object, and performs processing to set the selected character string object to a variable-length object in accordance with the operation on the operation object (step S6: YES). Specifically, the control unit 21 changes the variable length setting for the object being processed to "Yes" in the object table (see FIG. 11) and records this (step S8).
[縦位置の相対設定処理](図14)
縦位置の相対設定処理は、印字レイアウトに配置されたオブジェクトの中から選択されたオブジェクトの縦位置(つまり、ラベルの縦方向の位置)を、基準オブジェクトを基準にして相対的に設定する処理である。
可変長用紙が選択済みであることは、オブジェクトの縦位置の相対設定を行う際の前提条件である。そのため、図14のフローチャートにおいて制御部21は、可変長用紙が選択済みである場合(ステップS10:YES)、ステップS12以降の処理を実行する。
制御部21は、ユーザの操作に伴って印字レイアウトに配置されたいずれかのオブジェクトが選択され(ステップS12:YES)、かつ縦位置の相対設定に対する操作が行われた場合(ステップS14)、その設定内容に応じた処理を実行する。なお、2以上のオブジェクトが一括して選択された場合には、当該2以上のオブジェクトに対して処理が行われる。
[Vertical position relative setting process] (Figure 14)
The relative vertical position setting process is a process for setting the vertical position of an object selected from the objects arranged in the print layout (i.e., the vertical position of the label) relative to a reference object.
The fact that variable length paper has been selected is a prerequisite for setting the relative vertical position of an object. Therefore, in the flowchart of Fig. 14, if variable length paper has been selected (step S10: YES), the control unit 21 executes the processes from step S12 onwards.
When a user selects any of the objects arranged in the print layout (step S12: YES) and performs an operation for setting the relative vertical position (step S14), the control unit 21 executes processing according to the settings. Note that when two or more objects are selected at once, processing is performed on the two or more objects.
具体的には、制御部21は、例えば図7のウィンドウW2に示したように、縦位置の相対設定に対する操作により、基準オブジェクトと当該基準オブジェクトからの間隔の入力を受け付けると(ステップS16)、オブジェクトテーブルを更新する(ステップS18)。つまり、オブジェクトテーブルにおいて、処理対象のオブジェクトの縦位置の相対設定が「有」とされ、ステップS16の入力に基づいて基準オブジェクトと間隔が記録される。
また、制御部21は、基準オブジェクトと間隔に基づいて処理対象となるオブジェクトの基点の値を更新する。例えば、図11に例示されるオブジェクトテーブルにおいて、オブジェクトOBJ14に対して、基準オブジェクト:OBJ13、間隔:1.05mmが記録された場合、オブジェクトOBJ14の基点のY値は、基準オブジェクトであるオブジェクトOBJ13のY値(11.20mm)に対して1.05mm加えた値(12.25mm)に設定される。
Specifically, when the control unit 21 receives input of the reference object and the distance from the reference object through an operation for setting the relative vertical position (step S16), as shown in window W2 in Fig. 7, for example, the control unit 21 updates the object table (step S18). That is, the relative vertical position setting of the object to be processed is set to "Yes" in the object table, and the reference object and the distance are recorded based on the input in step S16.
Furthermore, the control unit 21 updates the value of the base point of the object to be processed based on the reference object and the interval. For example, in the object table illustrated in Fig. 11, if the reference object: OBJ13 and the interval: 1.05 mm are recorded for the object OBJ14, the Y value of the base point of the object OBJ14 is set to a value (12.25 mm) obtained by adding 1.05 mm to the Y value (11.20 mm) of the object OBJ13, which is the reference object.
制御部21は、ステップS14において縦位置の相対設定に対する操作により縦位置の相対設定が解除された場合、処理対象のオブジェクトの縦位置の相対設定が「無」となるようにオブジェクトテーブルを更新する(ステップS18)。 If the relative vertical position setting is canceled due to an operation on the relative vertical position setting in step S14, the control unit 21 updates the object table so that the relative vertical position setting of the object being processed becomes "none" (step S18).
[オブジェクト配置処理](図15)
オブジェクト配置処理は、呼出しテーブルの内容に基づいて印字レイアウトに1以上のオブジェクトを配置する処理である。オブジェクト配置処理では、ユーザのオブジェクトに対する操作のほか、可変長オブジェクトの設定状態、及び、オブジェクトの縦位置の相対設定状態に基づいて、オブジェクトの配置が行われる。
オブジェクト配置処理は、例えば、ラベル作成アプリケーションにおいてプレビュー画面の表示指示を受けたときに実行される。
図15を参照すると、制御部21は、呼出しテーブルを例えばストレージ22から読み出す(ステップS30)。次いで制御部21は、以下のようにして処理対象オブジェクトを印字レイアウトに配置する。いずれの場合も処理対象オブジェクトは、オブジェクトテーブルの基点の値に基づいて配置される。
[Object placement process] (Figure 15)
The object placement process is a process of placing one or more objects in a print layout based on the contents of a call table. In the object placement process, the objects are placed based on the user's operations on the objects, the setting status of variable-length objects, and the relative setting status of the vertical positions of the objects.
The object placement process is executed, for example, when an instruction to display a preview screen is received in a label creation application.
15, the control unit 21 reads the call table from, for example, the storage 22 (step S30). Next, the control unit 21 arranges the target object in the print layout as follows: In either case, the target object is arranged based on the base point value in the object table.
処理対象オブジェクトが文字列オブジェクトであって(ステップS32:YES)、かつ可変長オブジェクトである場合(ステップS34:YES)、制御部21は、可変長オブジェクトを印字レイアウトに配置する(ステップS36)。このとき、制御部21は、ステップS30で読み出した呼出しテーブルを参照し、処理対象オブジェクトの項目に対応する文字列の値を取得する。制御部21は、取得した文字列の長さに応じた縦方向の長さの可変長オブジェクトを印字レイアウトに配置する。可変長オブジェクトの例は、図8のオブジェクトOBJ17である。 If the object being processed is a character string object (step S32: YES) and a variable-length object (step S34: YES), the control unit 21 places the variable-length object in the print layout (step S36). At this time, the control unit 21 references the call table read in step S30 and obtains the value of the character string corresponding to the item of the object being processed. The control unit 21 then places a variable-length object in the print layout, with a vertical length corresponding to the length of the obtained character string. An example of a variable-length object is object OBJ17 in Figure 8.
処理対象オブジェクトが文字列オブジェクトであって(ステップS32:YES)、かつ可変長オブジェクトでない場合(ステップS34:NO)、制御部21は、固定長オブジェクトを印字レイアウトに配置する(ステップS38)。このとき、制御部21は、ステップS30で読み出した呼出しテーブルを参照し、処理対象オブジェクトの項目に対応する文字列の値を取得する。制御部21は、取得した文字列を含む固定長オブジェクトを印字レイアウトに配置する。固定長オブジェクトの例は、図3のオブジェクトOBJ3,OBJ11~OBJ13等である。固定長オブジェクトのサイズについて、オブジェクトテーブルが参照される。 If the object being processed is a string object (step S32: YES) and not a variable-length object (step S34: NO), the control unit 21 places a fixed-length object in the print layout (step S38). At this time, the control unit 21 references the call table read in step S30 and obtains the string value corresponding to the item of the object being processed. The control unit 21 then places a fixed-length object containing the obtained string in the print layout. Examples of fixed-length objects are objects OBJ3, OBJ11-OBJ13, etc. in Figure 3. The object table is referenced to determine the size of the fixed-length object.
処理対象オブジェクトが文字列オブジェクトではない場合(ステップS32:NO)、制御部21は、処理対象オブジェクトを印字レイアウトに配置する(ステップS36)。このとき、制御部21は、ステップS30で読み出した呼出しテーブルを参照し、処理対象オブジェクトを印字レイアウトに配置する。文字列オブジェクト以外のオブジェクトの例は、罫線オブジェクト、表オブジェクト、グラフィックオブジェクト等である。 If the object to be processed is not a character string object (step S32: NO), the control unit 21 places the object to be processed in the print layout (step S36). At this time, the control unit 21 references the call table read in step S30 and places the object to be processed in the print layout. Examples of objects other than character string objects include ruled line objects, table objects, graphic objects, etc.
なお、印字レイアウトに配置対象のオブジェクトが複数存在する場合には、各オブジェクトを処理対象オブジェクトとして、ステップS32~S44の一連の処理を繰り返し行う。配置対象のすべてのオブジェクトに対する処理が完了すると、制御部21は、オブジェクト配置処理を終了する。 If there are multiple objects to be placed in the print layout, the series of processes in steps S32 to S44 are repeated for each object as the processing target object. When processing for all objects to be placed is complete, the control unit 21 ends the object placement process.
以上説明したように、一実施形態のラベル発行システムでは、ユーザがラベルのデザインを行う際に、文字列オブジェクトを可変長オブジェクトに設定する際に、ラベル作成アプリケーションによって提供されるGUIによって視覚的に容易に設定可能である。
また、一実施形態のラベル発行システムでは、ユーザによって選択された選択オブジェクトを対象として、他のオブジェクトを基準オブジェクトとしたときの基準オブジェクトに対する縦方向の相対位置を決定することができる。そのため、基準オブジェクトを可変長オブジェクトに設定した場合に、当該可変長オブジェクトに含まれる文字列の長さに応じて選択オブジェクトの縦方向の位置を追従させることができ、無駄な空白が生ずることが防止される。
As described above, in one embodiment of the label issuing system, when a user designs a label, they can easily set a character string object to a variable-length object visually using the GUI provided by the label creation application.
In one embodiment, the label issuing system can determine the vertical position of a selected object selected by a user relative to a reference object when another object is used as the reference object. Therefore, when the reference object is set as a variable-length object, the vertical position of the selected object can be adjusted according to the length of the character string included in the variable-length object, preventing unnecessary blank spaces from being generated.
次に、一実施形態のラベル作成アプリケーションの別の機能について説明する。
ラベルデザインを行うときには、文字列オブジェクトを枠線オブジェクトで囲む場合がある。ラベルが適用される商品に応じて文字列オブジェクトに含まれる文字列の長さが異なることから文字列オブジェクトを可変長オブジェクトに設定するのは前述したとおりである。その際、ラベル作成アプリケーションでは、文字列オブジェクトの縦方向の高さに応じて文字列オブジェクトを囲む枠線オブジェクトの高さを変更することができる。
すなわち、一実施形態では、上記オブジェクト位置決定手段は、文字列オブジェクトと、当該文字列オブジェクトを囲む枠線オブジェクトとが印字レイアウトに配置される場合、枠線オブジェクトの縦方向の高さを、可変長オブジェクトに設定された文字列オブジェクトの高さの変化に応じて変更する。それによって、文字列オブジェクトに含まれる文字列の長さに関わらず、枠線オブジェクトが文字列オブジェクトを無駄な空白を生じさせずに適切に囲む状態とすることができる。その結果、レイアウト上に印字すべき文字列の長さに応じて最適化されるレイアウトを容易に設計できる。
Next, another feature of the label creation application of one embodiment will be described.
When designing a label, a string object may be surrounded by a border object. As mentioned above, the string object is set as a variable-length object because the length of the string contained in the string object varies depending on the product to which the label is applied. In this case, the label creation application can change the height of the border object surrounding the string object depending on the vertical height of the string object.
That is, in one embodiment, when a character string object and a frame object surrounding the character string object are arranged in a print layout, the object position determination means changes the vertical height of the frame object in accordance with changes in the height of the character string object set as a variable-length object. This allows the frame object to properly surround the character string object without creating unnecessary white space, regardless of the length of the character string included in the character string object. As a result, it is easy to design a layout that is optimized according to the length of the character string to be printed on the layout.
以下、文字列オブジェクトを枠線オブジェクトで囲む場合の設定について、図16~図18を参照して説明する。
図16Aは、デザインウィンドウ103上の印字レイアウトの一部として、文字列オブジェクトSTと、文字列オブジェクトSTを囲む枠線オブジェクトFと、を示している。図16Aでは、枠線オブジェクトFが選択された状態となっている。
ラベル作成アプリケーションでは、枠線オブジェクトFの配置を他のオブジェクトの位置と関連付けて設定する方法として、前述した縦位置の相対設定と、高さの相対設定とがある。
The following describes the settings for surrounding a character string object with a frame object with reference to FIGS.
Fig. 16A shows a character string object ST and a frame object F surrounding the character string object ST as part of the print layout on the design window 103. In Fig. 16A, the frame object F is in a selected state.
In the label creation application, the method of setting the placement of the frame object F in relation to the positions of other objects includes the above-mentioned relative setting of the vertical position and relative setting of the height.
図16Bに示すように、オブジェクトプロパティ設定部105に表示される詳細設定ボタンb12を操作すると、ウィンドウW4が表示される。ウィンドウW4では、選択された枠線オブジェクトFの縦位置の相対設定を行うことができる。縦位置の相対設定は、基準となるオブジェクト(基準オブジェクト)と、基準オブジェクトからの間隔とが設定可能である。
縦位置の相対設定では、基準オブジェクトの基準位置と枠線オブジェクトFの基準位置(例えば下端)の距離が設定された間隔となるように、枠線オブジェクトFの全体が移動(シフト)する。
16B, when the advanced settings button b12 displayed in the object property setting section 105 is operated, a window W4 is displayed. In the window W4, the relative vertical position of the selected frame object F can be set. In the relative vertical position setting, the reference object (reference object) and the distance from the reference object can be set.
In the relative vertical position setting, the entire frame object F is moved (shifted) so that the distance between the reference position of the reference object and the reference position of the frame object F (for example, the bottom edge) becomes the set interval.
[高さの相対設定]
図16Bに示すように、オブジェクトプロパティ設定部105に表示されるボタンb13(「高さの相対設定」)を操作すると、ウィンドウW5が表示される。ウィンドウW5では、選択された枠線オブジェクトFの高さの相対設定を行うことができる。高さの相対設定は、基準となるオブジェクト(基準オブジェクト)と、基準オブジェクトからの間隔とが設定可能である。
[Relative height settings]
16B, when button b13 ("Relative Height Setting") displayed in object property setting section 105 is operated, window W5 is displayed. Window W5 allows the relative height setting of the selected frame object F. In the relative height setting, the reference object (reference object) and the distance from the reference object can be set.
図16BのウィンドウW5に示す設定例では、枠線オブジェクトFの縦方向の基準位置(下端)と、基準オブジェクトである文字列オブジェクトST(項目名が「原材料名」であるオブジェクト)の基準位置との間隔が、1.000mmであることを示している。基準オブジェクトの基準位置は任意に設定可能であるが、例えば、基準オブジェクトの下端である。
なお、基準位置からの間隔は、縦位置の相対設定の対象となるオブジェクトの基準位置(下端)が、基準オブジェクトの基準位置よりも下方にあるときにプラスの値であり、上方にあるときにマイナスの値である。
すなわち、一実施形態では、上記オブジェクト位置決定手段は、文字列オブジェクトの基準位置と枠線オブジェクトの基準位置との縦方向の距離がユーザによって設定される値となるように、枠線オブジェクトの縦方向の高さを変更する。
一実施形態 では、図8に示した矢印付き線AR1と同様にして、基準オブジェクトである文字列オブジェクトの基準位置(下端)と、ラインオブジェクトである枠線オブジェクトの基準位置(下端)との縦方向の距離を示す矢印付き線を表示させることが好ましい。それによってユーザは、基準オブジェクトから枠線オブジェクトまでの距離を直感的に把握することができる。
The setting example shown in window W5 in Fig. 16B indicates that the distance between the vertical reference position (bottom end) of frame object F and the reference position of the character string object ST (object whose item name is "raw material name"), which is the reference object, is 1.000 mm. The reference position of the reference object can be set arbitrarily, but may be the bottom end of the reference object, for example.
The distance from the reference position is a positive value when the reference position (bottom end) of the object whose vertical position is to be set relative to the reference position of the reference object is below the reference position of the reference object, and a negative value when it is above the reference position.
That is, in one embodiment, the object position determination means changes the vertical height of the frame object so that the vertical distance between the reference position of the string object and the reference position of the frame object becomes a value set by the user.
In one embodiment, it is preferable to display an arrowed line indicating the vertical distance between the reference position (bottom end) of the character string object, which is the reference object, and the reference position (bottom end) of the frame object, which is the line object, in the same manner as the arrowed line AR1 shown in Fig. 8. This allows the user to intuitively grasp the distance from the reference object to the frame object.
縦位置の相対設定と異なり、高さの相対設定では、基準オブジェクトの基準位置(図16では、文字列オブジェクトSTの下端STL)と枠線オブジェクトFの基準位置(例えば下端)の距離FLが設定された間隔となるように、枠線オブジェクトFの基準位置のみが移動する。したがって、文字列オブジェクトSTに含まれる文字列が長く、それによって文字列オブジェクトSTの下端STLが下方に移動した場合でも、それに追従して枠線オブジェクトFの下端も間隔FLを維持した状態で下方に移動する。結果として、文字列オブジェクトSTに含まれる文字列が短い場合でも長い場合でも、無駄な空白を作ることなく枠線オブジェクトFが文字列オブジェクトSTを囲む状態とすることができる。 Unlike the relative setting of vertical position, the relative setting of height moves only the reference position of the frame object F so that the distance FL between the reference position of the reference object (in Figure 16, the bottom end STL of the string object ST) and the reference position of the frame object F (e.g., the bottom end) is the set interval. Therefore, even if the string included in the string object ST is long and the bottom end STL of the string object ST moves downward, the bottom end of the frame object F also moves downward in response, while maintaining the interval FL. As a result, whether the string included in the string object ST is short or long, the frame object F can surround the string object ST without creating any unnecessary white space.
高さの相対設定処理を実行するときのフローチャートは、図示しないが、縦位置の相対設定処理のフローチャート(図14)と同様であり、図14のフローチャートにおいて、ステップS14を「高さの相対設定」とすればよい。この場合、オブジェクトテーブル(図11)には、「高さの相対設定」フィールド(サブフィールドとして「基準オブジェクト」及び「間隔」を含む。)が設けられ、ユーザの操作に応じて「高さの相対設定」フィールドの値が決定されるようにして、オブジェクトテーブルが更新される。 The flowchart for executing the relative height setting process is not shown, but is similar to the flowchart for the relative vertical position setting process (Figure 14). In the flowchart of Figure 14, step S14 can be set to "Relative Height Setting." In this case, the object table (Figure 11) is provided with a "Relative Height Setting" field (including "Reference Object" and "Spacing" as subfields), and the object table is updated so that the value of the "Relative Height Setting" field is determined in response to user operation.
高さの相対設定の対象となるオブジェクトは、枠線オブジェクトに限られず、罫線オブジェクト、表オブジェクト等の他のラインオブジェクトであってもよい。
すなわち、一実施形態では、上記オブジェクト位置決定手段は、基準オブジェクトの基準位置とラインオブジェクトの基準位置との縦方向の距離がユーザによって設定される値となるように、ラインオブジェクトの縦方向の高さを変更することもできる。
The object for which the relative height is set is not limited to a frame object, but may be other line objects such as a ruled line object or a table object.
That is, in one embodiment, the object position determination means can also change the vertical height of the line object so that the vertical distance between the reference position of the reference object and the reference position of the line object becomes a value set by the user.
文字列オブジェクトを他のオブジェクトで囲むことは、文字列オブジェクトの周囲を隙間なく囲む場合に限られず、例えば縦罫線オブジェクトによって部分的に囲む(例えば両側で挟む)場合も含まれる。すなわち、図17及び図18を参照して文字列オブジェクトを枠線オブジェクトで囲む場合について説明した事項は、文字列オブジェクトを縦罫線オブジェクトによって部分的に囲む場合にも適用され得る。 Surrounding a character string object with another object is not limited to surrounding the character string object completely, but also includes, for example, partially surrounding the character string object with vertical ruled line objects (e.g., sandwiching it on both sides). In other words, the matters described with reference to Figures 17 and 18 regarding surrounding a character string object with a frame line object can also be applied to partially surrounding a character string object with vertical ruled line objects.
次に、2以上の文字列オブジェクトと、当該2以上の文字列オブジェクトを囲む枠線オブジェクトとが印字レイアウトに配置される場合の第1の設定方法について、図17を参照して説明する。
図17では、3個の文字列オブジェクトST1~ST3を囲む枠線オブジェクトFが例示される。図17において、文字列オブジェクトST1~ST3の縦方向の下端をP1~P3とし、枠線オブジェクトFの縦方向の下端をPFとする。3個の文字列オブジェクトST1~ST3は、すべて可変長オブジェクトに設定済みであり、各文字列オブジェクトの縦方向の高さは、各文字列オブジェクトに適用される文字列の長さに応じて変動する。
Next, a first setting method for when two or more character string objects and a frame object surrounding the two or more character string objects are arranged in a print layout will be described with reference to FIG.
17 shows an example of a frame object F that surrounds three character string objects ST1 to ST3. In Fig. 17, the vertical bottom ends of the character string objects ST1 to ST3 are designated as P1 to P3, and the vertical bottom end of the frame object F is designated as PF. All three character string objects ST1 to ST3 have been set as variable-length objects, and the vertical height of each character string object varies depending on the length of the character string applied to each character string object.
ここで、各文字列オブジェクトの縦方向の高さに応じて枠線オブジェクトFの高さを変更するためには、以下のように設定するとよい。
すなわち、文字列オブジェクトST2の縦位置の相対設定において、基準オブジェクトを文字列オブジェクトST1とし、文字列オブジェクトST1との縦方向の間隔を矢印付き線AR2で示す長さとする。文字列オブジェクトST3の縦位置の相対設定において、基準オブジェクトを文字列オブジェクトST2とし、文字列オブジェクトST2との縦方向の間隔を矢印付き線AR3で示す長さとする。枠線オブジェクトFの高さの相対設定において、基準オブジェクトを文字列オブジェクトST3とし、文字列オブジェクトST3との高さの相対設定の間隔(PF~P3)を矢印付き線H1で示す長さとする。
Here, in order to change the height of the frame object F in accordance with the vertical height of each character string object, the following settings may be made.
That is, in setting the relative vertical position of character string object ST2, the reference object is character string object ST1, and the vertical distance between character string object ST1 and the reference object is the length indicated by arrowed line AR2. In setting the relative vertical position of character string object ST3, the reference object is character string object ST2, and the vertical distance between character string object ST2 and the reference object is the length indicated by arrowed line AR3. In setting the relative height of frame object F, the reference object is character string object ST3, and the distance (PF to P3) in the relative height setting between character string object ST3 and the reference object is the length indicated by arrowed line H1.
このように設定することで、図17に示すように、文字列オブジェクトST1,ST2に含まれる文字列が長くなる場合でも、文字列オブジェクトST1~ST3の縦方向に隣接するオブジェクト間の間隔は、設定された値に維持される。また、文字列オブジェクトST3に含まれる文字列が長くなる場合でも、枠線オブジェクトFの下端PFと、文字列オブジェクトST3の下端P3との間隔が、設定された間隔に維持される。
結果として、文字列オブジェクトST1~ST3に含まれる文字列が短い場合でも長い場合でも、無駄な空白を作ることなく枠線オブジェクトFが文字列オブジェクトST1~ST3を囲む状態とすることができる。
By setting it in this way, the distance between adjacent objects in the vertical direction among the character string objects ST1 to ST3 is maintained at the set value even if the character strings included in the character string objects ST1 and ST2 become longer, as shown in Fig. 17. Furthermore, even if the character string included in the character string object ST3 becomes longer, the distance between the bottom end PF of the frame object F and the bottom end P3 of the character string object ST3 is maintained at the set distance.
As a result, whether the character strings included in the character string objects ST1 to ST3 are short or long, the frame line object F can surround the character string objects ST1 to ST3 without creating unnecessary white space.
次に、2以上の文字列オブジェクトと、当該2以上の文字列オブジェクトを囲む枠線オブジェクトとが印字レイアウトに配置される場合の第2の設定方法について、図18を参照して説明する。
図18に例示する印字レイアウトは、枠線オブジェクトFの下に文字列オブジェクトST4が配置される点で図17と異なる。
Next, a second setting method for when two or more character string objects and a frame object surrounding the two or more character string objects are arranged in the print layout will be described with reference to FIG.
The print layout illustrated in FIG. 18 differs from that in FIG. 17 in that a character string object ST4 is placed below a frame object F.
ここで、各文字列オブジェクトの縦方向の高さに応じて枠線オブジェクトFの高さを変更しつつ、枠線オブジェクトFと文字列オブジェクトST4との縦方向の位置関係を維持するには、以下のように設定するとよい。
すなわち、文字列オブジェクトST2の縦位置の相対設定において、基準オブジェクトを文字列オブジェクトST1とし、文字列オブジェクトST1との縦方向の間隔を矢印付き線AR2で示す長さとする。文字列オブジェクトST3の縦位置の相対設定において、基準オブジェクトを文字列オブジェクトST2とし、文字列オブジェクトST2との縦方向の間隔を矢印付き線AR3で示す長さとする。文字列オブジェクトST4の縦位置の相対設定において、基準オブジェクトを文字列オブジェクトST3とし、文字列オブジェクトST3との縦方向の間隔を矢印付き線AR4で示す長さとする。
枠線オブジェクトFの高さの相対設定において、基準オブジェクトを文字列オブジェクトST4とし、文字列オブジェクトST4との高さの相対設定の間隔(PF~P4)を矢印付き線H2で示す長さとする。この場合、高さの相対設定の間隔はマイナスの値となる。
Here, in order to change the height of the frame line object F according to the vertical height of each character string object while maintaining the vertical positional relationship between the frame line object F and the character string object ST4, it is recommended to set it as follows.
That is, in setting the relative vertical position of character string object ST2, the reference object is character string object ST1, and the vertical distance between character string object ST1 and character string object ST1 is the length indicated by arrowed line AR2. In setting the relative vertical position of character string object ST3, the reference object is character string object ST2, and the vertical distance between character string object ST2 and character string object ST2 is the length indicated by arrowed line AR3. In setting the relative vertical position of character string object ST4, the reference object is character string object ST3, and the vertical distance between character string object ST3 and character string object ST4 is the length indicated by arrowed line AR4.
In the relative setting of the height of the frame object F, the reference object is the character string object ST4, and the interval (PF to P4) of the relative setting of the height with respect to the character string object ST4 is the length indicated by the arrowed line H2. In this case, the interval of the relative setting of the height is a negative value.
このように設定することで、図18に示すように、文字列オブジェクトST1,ST2,ST3に含まれる文字列が長くなる場合であっても、文字列オブジェクトST1~ST4の縦方向に隣接するオブジェクト間の間隔は、設定された値に維持される。また、文字列オブジェクトST1,ST2,ST3に含まれる文字列が長くなり、文字列オブジェクトST4が下に大きく移動する場合であっても、枠線オブジェクトFの下端PFと、文字列オブジェクトST4の下端P4との間隔が、設定された間隔に維持される。
結果として、文字列オブジェクトST1~ST3に含まれる文字列が短い場合でも長い場合でも、無駄な空白を作ることなく枠線オブジェクトFが文字列オブジェクトST1~ST3を囲む状態とすることができる。さらに、枠線オブジェクトFは、より下側にある文字列オブジェクトST4との間隔を維持することができる。
By setting it in this manner, the distance between adjacent objects in the vertical direction among the character string objects ST1 to ST4 is maintained at the set value even if the character strings included in the character string objects ST1, ST2, and ST3 become longer, as shown in Fig. 18. Furthermore, even if the character strings included in the character string objects ST1, ST2, and ST3 become longer and the character string object ST4 moves significantly downward, the distance between the bottom end PF of the frame object F and the bottom end P4 of the character string object ST4 is maintained at the set distance.
As a result, whether the character strings included in the character string objects ST1 to ST3 are short or long, the frame line object F can surround the character string objects ST1 to ST3 without creating unnecessary white space. Furthermore, the frame line object F can maintain a distance from the character string object ST4 located further below.
次に、第3例の印字レイアウトLT3について図19を参照して説明する。
第3例の印字レイアウトLT3は、複数の商品が含まれる詰合せ商品用のラベル用デザインである。印字レイアウトLT3には、複数のオブジェクトOBJ31~OBJ52が配置されている。図19に区分けして示すように、文字列オブジェクトOBJ32,OBJ33が1×2の表オブジェクトT1内に配置され、文字列オブジェクトOBJ34~OBJ36が枠線オブジェクトF1内に配置され、文字列オブジェクトOBJ37~OBJ44が4×2の表オブジェクトT2内に配置される。
枠線オブジェクトF1内に配置される文字列オブジェクトOBJ34~OBJ36は、可変長オブジェクトに設定されている。
Next, a third example of a print layout LT3 will be described with reference to FIG.
The print layout LT3 of the third example is a label design for a product assortment that includes multiple products. The print layout LT3 has multiple objects OBJ31 to OBJ52 arranged in it. As shown in Figure 19, character string objects OBJ32 and OBJ33 are arranged within a 1x2 table object T1, character string objects OBJ34 to OBJ36 are arranged within a frame object F1, and character string objects OBJ37 to OBJ44 are arranged within a 4x2 table object T2.
The character string objects OBJ34 to OBJ36 placed within the frame object F1 are set as variable length objects.
ここで、文字列オブジェクトOBJ34~OBJ36の縦方向の高さに応じて枠線オブジェクトF1の高さを変更しつつ、枠線オブジェクトF1と、枠線オブジェクトF1よりも下にあるオブジェクト群との縦方向の位置関係を維持するには、図18と同様の設定方法を採ればよい。
なお、図18では、枠線オブジェクトFよりも下にあるオブジェクトが1つのみ(文字列オブジェクトST4)であったが、図19の印字レイアウトLT3では、枠線オブジェクトF1よりも下にはオブジェクトが複数存在する。そこで、枠線オブジェクトF1よりも下にあるすべてのオブジェクトに対して一括して、基準オブジェクトをオブジェクトOBJ37とする縦位置の相対設定を行う。それによって、文字列オブジェクトOBJ34~OBJ36に含まれる文字列が長くなる場合であっても無駄な空白を作ることなく、各オブジェクトの位置関係が維持される。
Here, in order to change the height of the frame object F1 in accordance with the vertical height of the character string objects OBJ34 to OBJ36 while maintaining the vertical positional relationship between the frame object F1 and the group of objects below the frame object F1, a setting method similar to that shown in Figure 18 can be used.
18, there is only one object (character string object ST4) below frame object F, but in print layout LT3 in Fig. 19, there are multiple objects below frame object F1. Therefore, the relative vertical positions of all objects below frame object F1 are set collectively, with object OBJ37 as the reference object. This prevents unnecessary white space from being created, and maintains the positional relationships of the objects, even if the character strings included in character string objects OBJ34 to OBJ36 become long.
図20Aに、第3例の印字レイアウトLT3において、各文字列オブジェクトに文字列のデータが入力されたラベル印字例(又はプレビュー画面例)を示す。例えば、図19の印字レイアウトLT3の文字列オブジェクトOBJ34(商品1:原材料名)、OBJ35(商品2:原材料名)、OBJ36(商品3:原材料名)にそれぞれ含まれる文字列の長さに応じて、文字列オブジェクトOBJ34~OBJ36を囲むように枠線オブジェクトF1の縦方向の高さが設定されていることがわかる。
2以上の文字列オブジェクトと、当該2以上の文字列オブジェクトを囲む枠線オブジェクトとが印字レイアウトに配置されたラベルデザインは、図20Aに例示するように、複数の商品を含む詰合せ商品に貼付するラベルに有用である。
20A shows an example of a label print (or a preview screen) in which character string data has been input into each character string object in the print layout LT3 of Example 3. For example, it can be seen that the vertical height of the frame object F1 is set to surround the character string objects OBJ34 to OBJ36 in accordance with the length of the character string included in each of the character string objects OBJ34 (product 1: ingredient name), OBJ35 (product 2: ingredient name), and OBJ36 (product 3: ingredient name) in the print layout LT3 of Example 3 of FIG.
A label design in which two or more character string objects and a frame object surrounding the two or more character string objects are arranged in a print layout is useful for labels to be attached to assorted products containing multiple items, as illustrated in Figure 20A.
図20Bは、図19の印字レイアウトLT3において、文字列オブジェクトOBJ35(商品2:原材料名)、OBJ36(商品3:原材料名)の文字列のデータが呼出しテーブルTL1(図4)に書き込まれていない場合のラベル印字例(又はプレビュー画面例)を示す。この場合、文字列のデータがない文字列オブジェクトOBJ35,OBJ36が実質的に削除され、無駄な空白が生じない。 Figure 20B shows an example of a printed label (or a preview screen) when the character string data for character string objects OBJ35 (product 2: ingredient name) and OBJ36 (product 3: ingredient name) in print layout LT3 of Figure 19 is not written in call table TL1 (Figure 4). In this case, character string objects OBJ35 and OBJ36 with no character string data are essentially deleted, eliminating wasted white space.
以上説明したように、一実施形態では、上記オブジェクト位置決定手段は、枠線オブジェクトの縦方向の高さを、可変長オブジェクトに設定された2以上の文字列オブジェクトの各々の高さの変更に応じて変更する。それによって、各文字列オブジェクトに含まれる文字列が短い場合も長い場合も2以上の文字列オブジェクトを、枠線オブジェクトが無駄な空白なく適切に囲むようにラベルをデザインすることができる。高さの相対設定は、図16に示したように簡単な操作で実現できるため、レイアウト上に印字すべき文字列の長さに応じて最適化されるレイアウトを容易に設計できる。 As described above, in one embodiment, the object position determination means changes the vertical height of the frame object in accordance with changes to the height of each of the two or more character string objects set in the variable length object. This makes it possible to design a label so that the frame object properly surrounds the two or more character string objects without unnecessary white space, regardless of whether the character strings contained in each character string object are short or long. Setting the relative height can be achieved with simple operations, as shown in Figure 16, making it easy to design a layout that is optimized according to the length of the character string to be printed on the layout.
一実施形態では、制御部21に含まれるマイクロプロセッサがラベル作成アプリケーションを実行することで、図19に例示したように、枠線オブジェクトF1内の2以上の文字列オブジェクトの各々に個別に文字列を対応付ける対応付け手段を実現する。例えば、図4の呼出しテーブルTL1の呼出しNo.100のレコードに示すように、項目名がそれぞれ「商品1:原材料名」、「商品2:原材料名」、「商品3:原材料名」とする2以上のデータが個別に登録可能である。そのため、柔軟にラベルデザインを設計できる。 In one embodiment, the microprocessor included in the control unit 21 executes a label creation application, thereby realizing an association means for individually associating a character string with each of two or more character string objects within the frame object F1, as shown in FIG. 19. For example, as shown in the record for call No. 100 in the call table TL1 in FIG. 4, two or more pieces of data with item names "Product 1: Ingredient Name," "Product 2: Ingredient Name," and "Product 3: Ingredient Name" can be individually registered. This allows for flexible label design.
上述したオブジェクトの縦位置の相対設定及び高さの相対設定は、オブジェクトの縦位置について、他のオブジェクトに対する相対的な位置関係に基づいて余白を詰める方法(「相対的余白詰め方式」という。)である。それに対して、印字用のデータを描画データに展開する際に、印字用のデータ内の余白部分を用紙搬送方向に詰めていく方法(「絶対的余白詰め方式」という。)が知られているが、上記実施形態は、適宜、絶対的余白詰め方式に適用することも可能である。 The above-mentioned relative setting of the vertical position and relative height of an object is a method of reducing the margins of an object's vertical position based on its relative position relative to other objects (called the "relative margin reduction method"). In contrast, there is a known method of reducing the margins in the print data in the paper transport direction when converting print data to drawing data (called the "absolute margin reduction method"). The above-mentioned embodiment can also be applied to the absolute margin reduction method as appropriate.
上述したように、コンピュータ装置2のラベル作成アプリケーションのユーザでは、印字レイアウト上に複数のオブジェクトを配置し、当該複数のオブジェクトに対して各種の設定を行うことでラベルデザインの編集を行う。その結果、ラベル作成アプリケーションにより、1以上のレイアウトデータ、呼出しテーブルTL1(図4)、及び、オブジェクトテーブル(図11)を含むプロジェクトファイルが作成される。
プロジェクトファイルは、図2に示す指示ボタン群101内の出力ボタンを操作することで、フォーマットファイルとしてサーバ5にアップロードすることができる。
As described above, a user of the label creation application of the computer device 2 edits a label design by placing multiple objects on a print layout and configuring various settings for the multiple objects. As a result, the label creation application creates a project file that includes one or more pieces of layout data, a call table TL1 (FIG. 4), and an object table (FIG. 11).
The project file can be uploaded to the server 5 as a format file by operating the output button in the instruction button group 101 shown in FIG.
図21は、プリンタ3においてラベルを発行するときの操作手順を示す図である。
図21を参照すると、プリンタ3においてラベルを発行するときの手順は以下のとおりである。
先ず、プリンタ3のラベル発行アプリケーションを起動させ、フォーマットファイルをサーバ5からダウンロードする操作を行う。次いで、図21のプリンタ画面g1に示すように、ダウンロードしたフォーマットファイルの中から、ユーザが発行したいラベルに対応するフォーマットファイルとして、「食品データ」を選択する。
FIG. 21 is a diagram showing the operating procedure when printing a label in the printer 3.
Referring to FIG. 21, the procedure for printing a label in the printer 3 is as follows.
First, the label printing application on the printer 3 is started and an operation is performed to download a format file from the server 5. Next, as shown on the printer screen g1 in Figure 21, from among the downloaded format files, the user selects "food data" as the format file corresponding to the label they wish to print.
次いで表示されるプリンタ画面g2は、選択されたフォーマットファイルにおいて呼出しNo.を入力するための入力ボックスbx1を含む。ここで入力される呼出しNo.は、フォーマットファイル内の呼出しテーブルTL1(図4参照)の呼出しNo.に対応する。例えば、入力ボックスbx1に呼出しNo.:001を入力した場合には、図4の呼出しテーブルTL1の呼出しNo.:1に対応するレコードの発行データが呼び出され、プリンタ画面g3が表示される。
プリンタ画面g3には、初期値として呼出しNo.:1に対応する発行データの各項目の値が発行データ表示部206に表示される。プリンタ画面g3において発行ボタンpb3を操作することでラベルが発行される。
The printer screen g2 that is then displayed includes an input box bx1 for inputting a call number in the selected format file. The call number input here corresponds to the call number in the call table TL1 (see FIG. 4) in the format file. For example, if call number 001 is input in the input box bx1, the issuing data of the record corresponding to call number 1 in the call table TL1 of FIG. 4 is called up, and the printer screen g3 is displayed.
On the printer screen g3, the values of each item of the printing data corresponding to the call number: 1 are displayed as initial values in the printing data display section 206. A label is printed by operating the print button pb3 on the printer screen g3.
以上、本発明のプログラム、情報処理システム、及び、情報処理方法の一実施形態について詳細に説明したが、本発明は上記の実施形態に限定されない。また、上記の実施形態は、本発明の主旨を逸脱しない範囲において、種々の改良や変更が可能である。
例えば、ラベル作成アプリケーションによって実現される可変長設定、縦位置の相対設定、及び、高さの相対設定は、ラベルの印字方向が頭出しの場合でも尻出しの場合でも対応可能である。
Although an embodiment of the program, information processing system, and information processing method of the present invention has been described in detail above, the present invention is not limited to the above embodiment. Furthermore, the above embodiment can be improved or modified in various ways without departing from the spirit of the present invention.
For example, the variable length setting, relative vertical position setting, and relative height setting realized by the label creation application can be used whether the label printing direction is from the beginning or the end.
上述したラベル発行システム1では、サーバ5を介してフォーマットファイルをコンピュータ装置2からプリンタ3に配信する例を示したが、その限りではない。サーバ5を介さずに、コンピュータ装置2から各プリンタ3に直接配信する態様であってもよい。その場合には、コンピュータ装置2のストレージ22にフォーマットファイルを保存した状態で、プリンタ3がフォーマットファイルを受信可能な状態となる。 In the label issuance system 1 described above, an example has been shown in which the format file is distributed from the computer device 2 to the printer 3 via the server 5, but this is not limited to this. It may also be possible for the format file to be distributed directly from the computer device 2 to each printer 3 without going through the server 5. In this case, the printer 3 will be able to receive the format file once the format file is saved in the storage 22 of the computer device 2.
1…ラベル発行システム
2…コンピュータ装置
21…制御部
22…ストレージ
23…操作入力部
24…表示部
25…通信部
3…プリンタ
31…制御部
32…ストレージ
33…操作入力部
34…表示部
35…搬送部
36…印字部
37…通信部
5…サーバ
51…制御部
52…ストレージ
53…通信部
101…指示ボタン群
102…オブジェクト定ボタン群
103…デザインウィンドウ
104…プロジェクト設定部
105…オブジェクトプロパティ設定部
206…発行データ表示部
LT1~LT3…印字レイアウト
b1~b4,b10~b11,pb1…ボタン
bx1…入力ボックス
g1~g3…プリンタ画面
F,F1…枠線オブジェクト
HD,hd…サイズ変更ハンドル
OBJ1~OBJ52…オブジェクト
ST,ST1~ST4…文字列オブジェクト
T1~T2…表オブジェクト
TL1…呼出しテーブル
W1~W5…ウィンドウ
DESCRIPTION OF SYMBOLS 1...Label issuing system 2...Computer device 21...Control unit 22...Storage 23...Operation input unit 24...Display unit 25...Communication unit 3...Printer 31...Control unit 32...Storage 33...Operation input unit 34...Display unit 35...Transport unit 36...Printing unit 37...Communication unit 5...Server 51...Control unit 52...Storage 53...Communication unit 101...Instruction button group 102...Object setting button group 103...Design window 104...Project setting unit 105...Object property setting unit 206...Issue data display unit LT1 to LT3...Print layout b1 to b4, b10 to b11, pb1...Button bx1...Input box g1 to g3...Printer screen F, F1...Border object HD, hd...Size change handle OBJ1 to OBJ52...Object ST, ST1 to ST4...String objects T1 to T2...Table objects TL1...Call table W1 to W5...Window
Claims (6)
前記表示装置に表示された前記印字レイアウト上に、文字列を含む文字列オブジェクトと、罫線、枠線その他のラインを含むラインオブジェクトとを含む複数のオブジェクトを配置するオブジェクト配置手段と、
前記文字列オブジェクトを、前記印字レイアウトの縦方向においてオブジェクトの高さが可変となる可変長オブジェクトに設定するオブジェクト設定手段と、
前記ラインオブジェクトの前記縦方向の高さを、可変長オブジェクトに設定された前記文字列オブジェクトの高さの変化に応じて変更するオブジェクト位置決定手段と、
をコンピュータに実現させるためのプログラムであって、
前記オブジェクト位置決定手段は、前記文字列オブジェクトの基準位置と前記ラインオブジェクトの基準位置との前記縦方向の距離がユーザによって設定される値となるように、前記ラインオブジェクトの前記縦方向の高さを変更する、プログラム。 a display means for displaying on a display device a print layout that is the basis of the drawing data to be printed by the printer;
an object arranging means for arranging a plurality of objects including character string objects including character strings and line objects including ruled lines, frame lines and other lines on the print layout displayed on the display device;
an object setting means for setting the character string object to a variable length object whose height in the vertical direction of the print layout is variable;
an object position determination means for changing the vertical height of the line object in accordance with a change in the height of the character string object set as a variable length object;
A program for causing a computer to realize the above ,
The object position determination means changes the vertical height of the line object so that the vertical distance between the reference position of the character string object and the reference position of the line object becomes a value set by a user .
請求項1に記載されたプログラム。 the display means includes, in the print layout, an indicator indicating the vertical distance between the reference position of the character string object and the reference position of the line object;
2. The program according to claim 1 .
請求項1又は2に記載されたプログラム。 the object position determining means moves the line object in the vertical direction so that the vertical distance between a reference position of a reference object, which is an object selected by a user from the plurality of objects, and a reference position of the line object becomes a value set by the user;
3. The program according to claim 1 or 2 .
請求項3に記載されたプログラム。 the display means includes, in the print layout, an indicator indicating a relative position in the vertical direction between the reference position of the reference object and the reference position of the line object;
4. The program according to claim 3 .
前記情報処理装置は、
表示部と、
前記プリンタによって印字される描画データの基礎となる印字レイアウトを編集するためのユーザインタフェースを提供するプロセッサと、を有し、
前記プロセッサは、
前記印字レイアウトを前記表示部に表示させるとともに、前記表示部に表示された前記印字レイアウト上に、文字列を含む文字列オブジェクトと、罫線、枠線その他のラインを含むラインオブジェクトとを含む複数のオブジェクトを配置し、
前記文字列オブジェクトを、前記印字レイアウトの縦方向においてオブジェクトの高さが可変となる可変長オブジェクトに設定し、
前記ラインオブジェクトの前記縦方向の高さを、可変長オブジェクトに設定された前記文字列オブジェクトの高さの変化に応じて変更し、
前記文字列オブジェクトの基準位置と前記ラインオブジェクトの基準位置との前記縦方向の距離がユーザによって設定される値となるように、前記ラインオブジェクトの前記縦方向の高さを変更し、
前記プリンタは、
前記情報処理装置から前記印字レイアウト及び前記複数のオブジェクトに関するデータを取得するデータ取得部と、
前記データ取得部によって取得された前記印字レイアウト及び前記複数のオブジェクトを基に前記描画データを生成するデータ生成部を有する、
情報処理システム。 An information processing system including an information processing device and a printer capable of communicating with the information processing device,
The information processing device includes:
A display unit;
a processor that provides a user interface for editing a print layout that is the basis of the drawing data to be printed by the printer;
The processor:
displaying the print layout on the display unit, and arranging a plurality of objects on the print layout displayed on the display unit, the objects including character string objects including character strings and line objects including ruled lines, frame lines, and other lines;
setting the character string object to a variable length object whose height is variable in the vertical direction of the print layout;
changing the vertical height of the line object in accordance with a change in the height of the character string object set as a variable length object;
changing the vertical height of the line object so that the vertical distance between the reference position of the character string object and the reference position of the line object becomes a value set by a user;
The printer
a data acquisition unit that acquires data related to the print layout and the plurality of objects from the information processing device;
a data generation unit that generates the drawing data based on the print layout and the plurality of objects acquired by the data acquisition unit,
Information processing system.
プリンタによって印字される描画データの基礎となる印字レイアウトを前記表示部に表示させるステップと、
前記表示部に表示された前記印字レイアウト上に、文字列を含む文字列オブジェクトと、罫線、枠線その他のラインを含むラインオブジェクトとを含む複数のオブジェクトを配置するステップと、
前記文字列オブジェクトを、前記印字レイアウトの縦方向においてオブジェクトの高さが可変となる可変長オブジェクトに設定するステップと、
前記ラインオブジェクトの前記縦方向の高さを、可変長オブジェクトに設定された前記文字列オブジェクトの高さの変化に応じて変更するステップと、
前記文字列オブジェクトの基準位置と前記ラインオブジェクトの基準位置との前記縦方向の距離がユーザによって設定される値となるように、前記ラインオブジェクトの前記縦方向の高さを変更するステップと、を含む、
情報処理方法。 An information processing method executed in an information processing device having a display unit,
a step of displaying on the display unit a print layout that is the basis of the drawing data to be printed by the printer;
arranging a plurality of objects including a character string object including a character string and a line object including a ruled line, a frame line, or other line on the print layout displayed on the display unit;
setting the character string object to a variable length object whose height is variable in the vertical direction of the print layout;
changing the vertical height of the line object in accordance with a change in the height of the character string object set as a variable length object;
changing the vertical height of the line object so that the vertical distance between the reference position of the character string object and the reference position of the line object becomes a value set by a user;
Information processing methods.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021150910A JP7722879B2 (en) | 2021-09-16 | 2021-09-16 | Program, information processing system, and information processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021150910A JP7722879B2 (en) | 2021-09-16 | 2021-09-16 | Program, information processing system, and information processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023043348A JP2023043348A (en) | 2023-03-29 |
| JP7722879B2 true JP7722879B2 (en) | 2025-08-13 |
Family
ID=85725213
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021150910A Active JP7722879B2 (en) | 2021-09-16 | 2021-09-16 | Program, information processing system, and information processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7722879B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009176068A (en) | 2008-01-24 | 2009-08-06 | Canon Inc | Document processing apparatus, document processing method, and program |
| JP2019123198A (en) | 2018-01-19 | 2019-07-25 | 東芝テック株式会社 | Label printer |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08137836A (en) * | 1994-11-14 | 1996-05-31 | Canon Inc | Document processing apparatus and method |
-
2021
- 2021-09-16 JP JP2021150910A patent/JP7722879B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2009176068A (en) | 2008-01-24 | 2009-08-06 | Canon Inc | Document processing apparatus, document processing method, and program |
| JP2019123198A (en) | 2018-01-19 | 2019-07-25 | 東芝テック株式会社 | Label printer |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023043348A (en) | 2023-03-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2293187B1 (en) | Image cropping system and method | |
| EP2344339B1 (en) | Label printer | |
| US8601369B2 (en) | Image processing apparatus, image processing method, and image processing program | |
| CN107656712B (en) | Printing apparatus and controller thereof | |
| US20050122543A1 (en) | System and method for custom color design | |
| JP5692968B2 (en) | Information processing apparatus, information processing method, and program | |
| US20110099523A1 (en) | Product selection and management workflow | |
| JP2008080588A (en) | Two-dimensional code printing device | |
| US20090313538A1 (en) | Design generating apparatus, design generation method, and storage medium storing design generation program | |
| JP2003084950A (en) | Print data editing system, its editing method and its recording medium | |
| JP5747686B2 (en) | Layout editing program, layout editing apparatus, and layout editing method | |
| JP7722879B2 (en) | Program, information processing system, and information processing method | |
| JP7722877B2 (en) | Program, information processing system, and information processing method | |
| JP7722878B2 (en) | Program, information processing system, and information processing method | |
| CA2643654A1 (en) | System and method of online custom design of printed office products | |
| JP7560942B2 (en) | Information processing device and information processing method | |
| JP5954135B2 (en) | Print data creation device | |
| JP2558242B2 (en) | Printer print format setting device | |
| JP5747687B2 (en) | Layout file integration program, layout file integration apparatus, and layout file integration method | |
| JP6070104B2 (en) | Print data creation device | |
| CN111216459B (en) | Printing device and control method, printer system | |
| JP5821398B2 (en) | Display device, label issuing device, display method, and program | |
| JP2004330425A (en) | Label producing method and label producing apparatus | |
| JPH0113111B2 (en) | ||
| JP7469792B2 (en) | Printing System |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A80 | Written request to apply exceptions to lack of novelty of invention |
Free format text: JAPANESE INTERMEDIATE CODE: A80 Effective date: 20210924 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240805 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250416 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250422 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250613 |
|
| 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: 20250701 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250731 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7722879 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |