Image creation program and information processing apparatus

The image creation program integrates database and image processing to generate an extended image file, ensuring proper management and attribute reflection, addressing the challenge of maintaining database links in template files.

JP2024145404APending Publication Date: 2024-10-15BROTHER KOGYO KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023057729
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing technologies fail to maintain the link between a generated template and its associated database when saving and reopening the template for editing or printing, leading to improper management of database data in print image files.

Method used

An image creation program that integrates database acquisition, image generation, attribute information generation, and storage processes to create an extended image file that includes image information, database data, and attribute information, ensuring proper management and reflection of database attributes when the file is reopened.

Benefits of technology

Enables appropriate management of print image files containing database data, maintaining attribute information for data images, and allows efficient generation and editing of label images with integrated database attributes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024145404000001_ABST
    Figure 2024145404000001_ABST
Patent Text Reader

Abstract

To appropriately manage a file of a print image including data in a database together with the database.SOLUTION: A control unit acquires a database and creates a print image to be printed by a printer. The database includes a data field in which data is stored. The data field includes a text indicating the data and has attribute information of the data set thereto. The print image includes a data image. The data image is an image displaying the text of the data in the database in a display form based on the attribute information. The control unit stores an image information file indicating the print image, a database file including the database, and an attribute information file including the attribute information, integrated into one file.SELECTED DRAWING: Figure 10
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a technique for generating, by an information processing device, an image to be printed by a printing device. [Background technology]

[0002] Patent Document 1 discloses a program for generating templates to be printed by a label printer. This program can acquire a database and generate a template including objects linked to the database. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2019-211904 A Summary of the Invention [Problem to be solved by the invention]

[0004] It is expected that users will want to save the generated template as a file and later open the file to edit the template or print it on a printing device. In this case, it is desirable that the file be opened in a state where the link between the template and the database is properly maintained.

[0005] An object of one aspect of the present disclosure is to enable appropriate management of print image files including database data together with the database. [Means for solving the problem]

[0006] According to one aspect of the present disclosure, there is provided an image creation program executable by an information processing apparatus. The information processing apparatus includes a communication unit and a control unit. The communication unit communicates with a printing apparatus. The control unit is capable of executing the image creation program.

[0007] The image creation program causes the control unit to execute a database acquisition process, an image generation process, a first generation process, a second generation process, a third generation process, an integration process, and a storage process. The database acquisition process acquires a database. The database includes a data field in which data is stored. The data field includes text representing the data, and attribute information for the data is set. The image generation process generates a print image to be printed by a printing device. The print image includes a data image representing the text of the data. The image generation process includes displaying the data image in a display format based on the corresponding attribute information set in the database.

[0008] The first generation process generates an image information file. The image information file includes image information indicating the print image generated by the image generation process. The second generation process generates a database file. The database file includes the database acquired by the database acquisition process. The third generation process generates an attribute information file. The attribute information file includes attribute information in the database acquired by the database acquisition process.

[0009] The integration process generates an extended image file. The extended image file is a file in which the image information file generated in the first generation process, the database file generated in the second generation process, and the attribute information file generated in the third generation process are integrated into one file. The save process saves the extended image file generated by the integration process.

[0010] When such an image creation program is executed on an information processing device, the image information file, database file, and attribute information file are integrated and saved into one file (extended image file). This makes it possible to properly manage the print image file including the database data together with the database. In particular, since the attribute information file is included in the extended image file, the attribute information can be properly reflected in the data image when the extended image file is opened again.

[0011] Another aspect of the present disclosure provides an information processing device including the communication unit and a control unit configured to execute the database acquisition process, the image generation process, the first generation process, the second generation process, the third generation process, the integration process, and the storage process.

[0012] Such an information processing device provides the same effects as the image creation program described above. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a configuration diagram of a printing system according to an embodiment. [Diagram 2] FIG. 11 is an explanatory diagram showing an editing screen in a first state. [Diagram 3] FIG. 13 is an explanatory diagram illustrating a database open dialog. [Figure 4] FIG. 13 is an explanatory diagram showing the editing screen in a second state. [Diagram 5] FIG. 13 is an explanatory diagram showing the editing screen in a third state. [Figure 6] FIG. 11 is an explanatory diagram showing a procedure for changing the date format via an option setting screen. [Figure 7] FIG. 13 is an explanatory diagram showing the editing screen in a fourth state. [Figure 8] FIG. 11 is an explanatory diagram showing a file save dialog in a first state. [Figure 9] FIG. 13 is an explanatory diagram showing the file save dialog in a second state. [Figure 10] FIG. 2 is an explanatory diagram showing a file structure. [Figure 11] FIG. 13 is an exemplary explanatory diagram of a CSV file. [Figure 12] FIG. 12(a) is an explanatory diagram showing a first example of an attribute information file, and FIG. 12(b) is an explanatory diagram showing a second example of an attribute information file. [Figure 13] 13 is a flowchart of an SLBX saving process. [Figure 14]FIG. 13 is an explanatory diagram illustrating a file open dialog. [Figure 15] 13 is a flowchart of an SLBX open process. [Figure 16] 13 is a flowchart of an edit screen display process. [Figure 17] FIG. 13 is an explanatory diagram showing the editing screen in a fifth state. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, exemplary embodiments of the present disclosure will be described with reference to the drawings. [1. Embodiment] (1-1) Printing system configuration 1, the printing system of this embodiment includes an information processing device 1 and a printing device 101. The information processing device 1 is configured to be able to communicate with the printing device 101.

[0015] When the printing device 101 acquires a print command including image data from the information processing device 1, it can print an image indicated by the image data on a print medium. The printing device 101 of this embodiment has the form of, for example, a label printer or a label writer.

[0016] That is, the print medium of this embodiment has a long, tape-like shape. The printing device 101 is configured to print an image on the print medium along its length (hereinafter referred to as the "medium length direction").

[0017] The print medium on which the image is printed is cut and / or peeled off and used as a label. The label is attached to various objects, such as name tags, file spines, price tags in stores, mailing envelopes, industrial materials, fixtures, notebooks, signs, and other objects. Hereinafter, one image included in one label is referred to as a "label image."

[0018] The information processing device 1 can generate a print command and send it to the printing device 101. The information processing device 1 can execute a label image creation application 5a. The label image creation application 5a is software including a computer program for creating a label image to be printed by the printing device 101. Note that creating a label image is not limited to creating a new label image, but also includes editing an already created label image. A user of the printing system can create a label image using the label image creation application 5a on the information processing device 1.

[0019] When the information processing device 1 receives an instruction to print the created label image, it transmits image data representing the label image to the printing device 101. More specifically, the information processing device 1 of this embodiment generates a print command including the image data, and transmits the print command to the printing device 101.

[0020] The information processing device 1 may communicate with the printing device 101 using any communication method. The information processing device 1 and the printing device 101 may, for example, be capable of wireless communication with each other or wired communication. Communication methods for wireless communication may include, for example, wireless LAN and Bluetooth. Note that "Bluetooth" is a registered trademark. Communication methods for wired communication may include, for example, USB (Universal Serial Bus) and wired LAN.

[0021] (1-2) Configuration of information processing device 1, the information processing device 1 includes a control unit 2, a display unit 3, an input unit 4, a storage unit 5, and a communication unit 6. The control unit 2 includes a CPU 2a and a memory 2b. The CPU 2a as a processor executes processing according to computer programs stored in the memory 2b and the storage unit 5. The memory 2b may include a semiconductor memory such as a ROM, a RAM, an NVRAM, or a flash memory.

[0022] The storage unit 5 includes storage such as a solid state drive (SSD) and a hard disk drive (HDD), and stores various computer programs and data. In this embodiment, the programs stored in the storage unit 5 include an operating system (hereinafter referred to as "OS") and a printer driver. The printer driver is software for controlling the printing device 101 from the information processing device 1.

[0023] The storage unit 5 further stores the above-mentioned label image creation application 5a. The label image creation application 5a realizes an image creation function. The image creation function includes creating a label image based on an operation of a user of the printing system, and sending a print command including image data showing the label image to the printing device 101 via the printer driver. The image creation function is realized by the control unit 2 executing the label image creation application 5a. In this embodiment, the OS, the printer driver, and the label image creation application 5a are installed in the information processing device 1 and used.

[0024] The label image creation application 5a may have some or all of the functions of a printer driver. In other words, the label image creation application 5a may be configured to send the created image data to the printing device 101 without going through application software other than the label image creation application 5a.

[0025] In the following description, the entity that executes a program (for example, the control unit 2 in the information processing device 1) may be described simply by the program name or software name. For example, the description "the label image creation application 5a" may specifically mean "the control unit 2 that executes the label image creation application 5a."

[0026] The OS may be configured in any manner, for example, Windows (registered trademark of Microsoft Corporation), Mac OS (registered trademark of Apple Inc.), or another OS.

[0027] The label image creation application 5a is installed and used in a computer system including an OS. The OS has a file system. The file system manages various files. Details of the file system are generally well known as a function of the OS, so a description thereof will be omitted here. Note that the label image creation application 5a may be executable without being installed in the computer system.

[0028] The label image creation application 5a may be stored in any manner in the storage unit 5. For example, the label image creation application 5a may be read into the information processing device 1 from a storage medium such as a CD, a DVD, or a USB memory and stored in the storage unit 5. For another example, the label image creation application 5a may be downloaded from a predetermined server (for example, a server managed by a vendor of the printing device 101) to the information processing device 1 via a network and stored in the storage unit 5. For another example, the label image creation application 5a may be stored in advance in the storage unit 5 when the information processing device 1 is shipped.

[0029] The display unit 3 is configured to display various screens to a user of the information processing device 1. An example of the display unit 3 is a liquid crystal display. An example of the various screens is an edit screen 10 (see FIG. 2) described later.

[0030] The input unit 4 includes one or more input devices, such as a keyboard and a pointing device, for receiving input operations from a user to the information processing device 1. Specifically, the input unit 4 may include, for example, a mouse. Furthermore, for example, the input unit 4 may include a touch panel. The touch panel may be disposed so as to be superimposed on the entire or almost entire area of ​​the display unit 3 where an image is displayed. When the input unit 4 includes a keyboard, the keyboard may be a so-called hardware keyboard or a so-called software keyboard (or a screen keyboard).

[0031] The communication unit 6 is configured to perform wireless or wired communication with the communication unit 105 of the printing device 101 in accordance with the above-mentioned communication method. The above-mentioned print command is transmitted from the communication unit 6. The information processing device 1 may be in the form of, for example, a stationary personal computer, or in the form of a so-called notebook computer, tablet, smartphone, or the like that is easily portable.

[0032] (1-3) Printer configuration As shown in FIG. 1, a printing device 101 includes a control unit 102, a display unit 103, an input unit 104, a communication unit 105, and a printing unit .

[0033] The control unit 102 includes a CPU 102a and a memory 102b. The memory 102b may include semiconductor memory such as a ROM, a RAM, an NVRAM, or a flash memory. Computer programs and data for implementing various functions of the printing device 101 are stored in a non-volatile memory (e.g., a flash memory) in the memory 102b. The CPU 102a as a processor performs overall control of the printing device 101 by executing processes according to the computer programs stored in the memory 102b.

[0034] The display unit 103 displays various information to a user who operates the printing device 101. The display unit 103 may include one or more display devices, such as a lamp or a liquid crystal display.

[0035] The input unit 104 accepts various input operations from a user. The input unit 104 may include one or more input devices, such as a push button, a keyboard, a touch panel, or the like.

[0036] The communication unit 105 is configured to perform wireless or wired communication with the communication unit 6 of the information processing device 1 in accordance with the above-mentioned communication method. The communication unit 105 receives the above-mentioned print command. The printing unit 106 is configured to print an image on a print medium under the control of the control unit 102. When the printing device 101 receives a print command from the information processing device 1, the printing unit 106 prints a label image indicated by image data included in the print command on the print medium. The printing unit 106 prints an image using any of various printing methods such as a thermal transfer method, a thermal method, an inkjet method, and a laser method. The printing unit 106 of this embodiment may be configured to print an image on a print medium by, for example, a thermal transfer method.

[0037] In this embodiment, an image is printed on the front side of the print medium. An adhesive is applied to the back side of the print medium, and the adhesive is covered with a release paper. It is not essential that the print medium has an adhesive. The print medium may have any form on which a label image can be printed.

[0038] The print medium of this embodiment is provided in the form of a roll in which the print medium is wound. The print medium is stored in a cassette (not shown). The cassette is removably attached to the printing device 101. The printing unit 106 prints a label image on the print medium while pulling the print medium out of the cassette. The portion of the print medium on which the label image is printed is discharged from a discharge port (not shown) provided in the printing device 101 and cut off automatically or manually.

[0039] When the control unit 102 receives a print command via the communication unit 105, it controls the printing unit 106 to print a label image on the print medium while pulling the print medium out of the cassette. In this way, a label is created for each label image.

[0040] (1-4) Creating a new label image using the label image creation app After being started, when a predetermined new creation trigger occurs, the label image creation application 5a displays an editing screen 10, as exemplified in FIG. 2, on the display unit 3. The editing screen 10 is a user interface for creating a label image. The new creation trigger includes an operation or input requesting the display of the initial state of the editing screen 10. The initial state of the editing screen 10 is an editing screen 10 in a state in which no label image has been created yet. Therefore, when a new creation trigger occurs, the initial state of the editing screen 10, as exemplified in FIG. 2, is displayed.

[0041] 2, the editing screen 10 includes a menu bar 11, a toolbar 12, and an editing area 13. The editing area 13 includes an image display area 14. A label object 16 is displayed in the image display area 14. In the following description, the object is referred to as "OBJ." The label object OBJ16 includes a label image OBJ16a indicating a label image, and an input frame 16b indicating an area in which the label image OBJ16a can be placed.

[0042] The label image OBJ16a virtually shows how the label image will actually be printed on the print medium, i.e., it is a preview image of the label image. The label OBJ16 is a preview image of the label image including the print medium. The label OBJ16 shows how the label image will be arranged on the print medium. By looking at the label OBJ16, the user can imagine the label that will actually be generated. The input frame 16b is displayed along the outer edge of the label OBJ16.

[0043] The user can create a label image OBJ16a (i.e., create a label image) by performing various editing operations on the label OBJ16 via the input unit 4. The various editing operations include direct operations within the input frame 16b, such as tapping, clicking, and other operations. The editing operations further include an operation of selectively specifying (for example, clicking) icons displayed on the toolbar 12, each of which is associated with a plurality of editing functions.

[0044] The label image creation application 5a has the above-mentioned multiple editing functions for creating a label image, which in this embodiment include a text insertion function, a frame insertion function, a symbol insertion function, an image insertion function, a figure insertion function, a table insertion function, a barcode insertion function, a date and time insertion function, and a database reading function.

[0045] The text insertion function is a function that inserts text into the label image. The frame insertion function is a function that inserts a frame into the label image. The symbol insertion function is a function that inserts a symbol into the label image. The image insertion function is a function that inserts a separately prepared image into the label image. The shape insertion function is a function that inserts a shape into the label image. The table insertion function is a function that inserts a table (i.e., a table) into the label image. The barcode insertion function is a function that inserts a barcode into the label image. The date and time insertion function is a function that inserts text indicating the current date and time into the label image. The database reading function is a function that reads a separately prepared database and inserts the data contained in the read database into the label image.

[0046] The user can apply a desired editing function to the label image OBJ16a by selecting an icon associated with the desired editing function in the toolbar 12. Then, the user can edit the label image OBJ16a using the editing function. For example, by selecting an editing function OBJ corresponding to a function for inserting text, the user can insert text into the label image OBJ16a (and thus insert text into the label image). Then, the created label image can be printed by the printing device 101.

[0047] Here, the database read function will be described in more detail. The user can make the label image creation application 5a read the database by performing a predetermined read operation for reading the database. This read operation includes the operation of an icon in the toolbar 12 that corresponds to the database read function.

[0048] When a read operation is performed, the label image creation application 5a displays a database selection screen 20, as shown in Fig. 3, on the display unit 3. The database selection screen 20 may be displayed superimposed on the editing screen 10. The database selection screen 20 includes a browse button 21, an address bar 22, a table name box 23, and an OK button 25.

[0049] When the browse button 21 is operated, a database selection dialog (not shown) is displayed for selecting the database to be read. The database selection dialog lists the file names of selectable databases or images similar thereto. The user can select the database by selecting the file of the desired database from the database selection dialog.

[0050] A database has one or more data tables. A data table is also called a data sheet (or sheet). In the following description, a data table is simply abbreviated to "table". A table includes multiple data fields in which data is stored or is stored. A data field may also be simply called a "field" or "cell". Each data field includes text indicating the data stored in that data field. Each data field may further have attributes of the stored data (hereinafter referred to as "data attributes") set.

[0051] The data attribute indicates in what display format the data is to be displayed. Data attributes that can be set in this embodiment include, for example, a date attribute and a time attribute. The date attribute indicates that the corresponding data represents a date. In other words, the date attribute indicates that the corresponding data is treated as a date and displayed in a display format corresponding to the date. The time attribute indicates that the corresponding data represents a time. In other words, the time attribute indicates that the corresponding data is treated as a time and displayed in a display format corresponding to the time. These data attributes can be set individually for each data field. The same data attribute can also be set collectively on a column-by-column and / or record-by-record basis.

[0052] When a database to be read is selected, the file path of the selected database is displayed in the address bar 22. Furthermore, a table image 24 is displayed on the database selection screen 20. The table image 24 is an image showing one of the tables in the selected database.

[0053] 3 shows an example in which a database with the file name "test.xlsx" (hereinafter referred to as the "original database") 150 is selected as the database to be read. The original database 150 is created and saved using Excel (a registered trademark of Microsoft Corporation), which is known as a spreadsheet software. Databases created using Excel are generally saved as files with the extension "xlsx".

[0054] In this embodiment, for the sake of simplicity, the original database 150 is assumed to have one table. The name of the table is, for example, "test_a". Fig. 3 shows an example in which a table image 24 of the table "test_a" is displayed. If the original database 150 has multiple tables, the user can switch the table to be previewed as the table image 24 by operating the table name box 23.

[0055] A table has one or more columns (or rows) and one or more records (or rows). Each data field belongs to one of the columns and one of the records. As shown in FIG. 3, the table "test_a" has a first column C1 and a second column C2. The table "test_a" also has a first record R1, a second record R2, and a third record R3. The table "test_a" further has a first row R0. The first row R0 specifies the names of each column. The first row R0 may also be used as a record.

[0056] Data attributes are set in the original database 150. In this embodiment, as an example, a date attribute is set for each of the three data fields belonging to the first column C1, and a time attribute is set for each of the three data fields belonging to the second column C2.

[0057] In this embodiment, in the original database 150, each data field displays the text of the input data in a display format according to the corresponding data attribute. For example, a data field in the original database 150 that displays "March 22, 2022" originally had a different text (for example, "20220322") input, but based on the setting of the date attribute, it is displayed in the display format of "March 22, 2022". If the text "March 22, 2022" is input from the beginning, the input text may be displayed as it is. In the original database 150, multiple display formats for the date attribute may be prepared, and one of them may be selectable. Then, if the multiple display formats include a display format of "20220322", that is, a display format that simply arranges the year, month, and day in order, and if that display format is selected, the text "20220322" is displayed as it is. The data field of the time attribute also has the same properties as the data field of the date attribute described above.

[0058] In FIG. 3, the display format of each data field in the table image 24 is different from the display format of each data field in the original database 150. This is due to the specifications of the label image creation application 5a. That is, the label image creation application 5a of this embodiment can switch between multiple types of display formats for each data attribute, as described later. For a date attribute, for example, one of multiple display formats such as "March 22, 2022" and "2022 / 03 / 22" can be set. FIG. 3 shows an example in which a display format such as that illustrated in the first column C1 of FIG. 3 is set for a data field of a date attribute, and a display format such as that illustrated in the second column C2 of FIG. 3 is set for a data field of a time attribute.

[0059] However, displaying each piece of data in the set display format in the table image 24 is merely an example. Each piece of data may be displayed in any display format in the table image 24. For example, the text may be displayed exactly as it was entered in the original database 150.

[0060] When the OK button 25 is operated while the original database 150 is selected on the database selection screen 20 as shown in Fig. 3, the label image creation application 5a imports the selected original database 150. Then, the editing screen 10 is displayed, and the database OBJ18 is displayed on the editing screen 10 as shown in Fig. 4. The database OBJ18 is an image showing one table in the original database 150.

[0061] When the original database 150 is imported, the editing area 13 of the editing screen 10 is divided into an image display area 14 and a database area 15. The database OBJ18 is displayed in the database area 15. Each data field in the database OBJ18 may be displayed in any display format. For example, each data field of the database OBJ18 may be displayed in a manner similar to that of the table image 24 on the database selection screen 20.

[0062] A table box 17 is further displayed on the editing screen 10. If the original database 150 has multiple tables, the user can switch the table to be displayed as the database OBJ18 by operating the table box 17.

[0063] The user can add some or all of the data in the original database 150 to the label image. That is, the user can add a data image indicating each piece of data in the original database 150 to the label image. The addition of a data image to a label image will be specifically described below with reference to FIG. 5. In the following description, a data field in a table may be expressed using a corresponding column and record. For example, a data field belonging to the first column C1 and the second record R2 may be referred to as a "C1-R2 field."

[0064] The label image creation application 5a accepts a merge operation by the user. The merge operation is an operation that requests data in a database to be inserted into a label image. The merge operation in this embodiment includes dragging and dropping a data field in the database OBJ18, which contains data to be added to the label image, onto the label OBJ16.

[0065] For example, when a merge operation is performed to insert the C1-R1 fields into the label OBJ16, a data image OBJ161 showing a data image of the C1-R1 fields is added to the label image OBJ16a, as shown in Fig. 5. This generates a label image to which the data image has been added.

[0066] Furthermore, for example, when a merge operation is performed to insert the C2-R1 field into the label OBJ16, as shown in FIG. 5, a data image OBJ162 indicating a data image of the C2-R1 field is added to the label image OBJ16a.

[0067] In addition to merging on a data field basis, it is also possible to merge on a column basis. For example, by merging a specific column name in the first row R0 to the label OBJ16, the data contained in the corresponding column can be added to the label image all at once.

[0068] The data image added to the label image has a display form corresponding to the data attribute set in the data of the data image (more specifically, a form corresponding to the set display format).

[0069] The user can select from a plurality of display formats to determine the specific display format (in other words, display mode) in which to display each data attribute. The data image is displayed in the selected display format. Hereinafter, the display format corresponding to the date attribute is referred to as the date format, and the display format corresponding to the time attribute is referred to as the time format.

[0070] For date attribute data, multiple date formats are available. Examples of multiple date formats include "yyyy / mm / dd", "yyyy-mm-dd", and "mm dd,yyyy". In the date format, "yyyy" represents the "year", "MM" represents the "month", and "dd" represents the "day".

[0071] For time attribute data, multiple types of time formats are prepared. The multiple types of time formats include, for example, "hh:mm", "hh:mm:ss", "hh:mm In the time format, "hh" represents the hour, "mm" represents the minutes, "ss" represents the seconds, and "AM / PM" represents either "AM" (morning) or "PM" (afternoon).

[0072] The date format and the time format may be set in any manner. In this embodiment, when the label image creation application 5a is started, the date format and the time format are each initially set to a predetermined value. The predetermined value may be determined in any manner. For example, the predetermined value may be one of a plurality of types.

[0073] In this embodiment, the set date format and time format can be changed. That is, the label image creation application 5a displays an option setting screen 30 illustrated in FIG. 6 based on a user operation. An option menu 31 is displayed on the option setting screen 30. Various setting items are listed on the option menu 31. The various setting items include an item 31a corresponding to the display format of the database. When the item 31a is selected by the user, a display format setting tab 32 is displayed on the option setting screen 30. The user can set the date format and the time format via the display format setting tab 32.

[0074] The display format setting tab 32 displays a first box 33 and a second box 34. The currently set date format is displayed in the first box 33. The currently set time format is displayed in the second box 34.

[0075] The upper part of Fig. 6 shows an example in which the date format is currently set to "yyyy / mm / dd" and the time format is currently set to "hh:mm". Because such a display format is set, the data images OBJ161, 162 are currently displayed in the form shown in Fig. 5 on the editing screen 10. In other words, at this point in time, the data images in the form shown in Fig. 5 are incorporated into the label image.

[0076] The user can change the date format via an operation in the first box 33, and can change the time format via an operation in the second box . Changing the date format will be described with a specific example. When the user operates the first box 33, a pull-down menu 33a is displayed, as shown in the lower part of Fig. 6. A plurality of selectable date formats are listed in the pull-down menu 33a. The user can change the date format by selecting a desired date format from the pull-down menu 33a.

[0077] The change in the date format is reflected in the data image being created and in the editing screen 10. For example, assume that the date format is changed to "yyyy-mm-dd". In this case, the appearance of the data image in which the date attribute is set in the label image is changed to an appearance according to the changed date format. Furthermore, as shown in FIG. 7, the display appearance of the data image OBJ161 corresponding to that data image is also switched to the changed date format.

[0078] The time format can also be changed in the same manner as the date format, via an operation in the second box 34. Fig. 7 illustrates an example in which the time format has been changed to "hh:mm PM", and the display mode of the data image OBJ162 has been switched to the changed time format.

[0079] Here, various information and the like that the label image creation application 5a loads in the memory 2b will be described. Various processes by the label image creation application 5a, such as the creation of the label image described above and the storage of the label image described later, are performed using the memory 2b.

[0080] That is, when the label image creation application 5a is started, it secures a working storage area (hereinafter referred to as a "working area") in the memory 2b. Then, various programs, data, etc. are loaded into the working area and various processes are performed.

[0081] When a label image is created on the editing screen 10, the label image creation application 5a writes LBX information in the work area. The LBX information is information about the label image being created, and indicates the contents of the label image. In other words, the LBX information includes information about what objects are placed in the label image, their sizes, and where they are placed. When the label image is edited by the user, the LBX information is also updated.

[0082] Furthermore, when a database is loaded onto the editing screen 10, the label image creation application 5a writes the loaded database into the work area. Furthermore, when a merge operation is performed on the editing screen 10, the label image creation application 5a connects the database to the LBX information. Specifically, the label image creation application 5a adds a database path and a database reference OBJ list to the LBX information.

[0083] The database path is the file path of the original database 150. The database reference OBJ list shows OBJ information for each data image added to the label image. The OBJ information includes the position of the data image in the label image, the size of the data image, the location of the corresponding data in the data table, etc. When data in the database is merged with the label image OBJ 16a and the data image of that data is added to the label image, the OBJ information for that data image is listed in the database reference OBJ list.

[0084] (1-5) Save a new label image (1-5-1) Overview of new storage A user can save the created label image as a new file name. The saving of a label image will be described below. The label image creation application 5a accepts a request to save a new label image from a user. The request to save a new label image may be made in any manner. In this embodiment, the request to save a new label image includes, for example, setting each item in a file save dialog 40 illustrated in FIG. 8 and operating the save button 44.

[0085] When an operation for displaying a file save dialog 40 is performed on the editing screen 10, the label image creation application 5a displays the file save dialog 40 on the display unit 3. The file save dialog 40 includes a navigation pane 41, a file name box 42, a file type box 43, and a Save button 44.

[0086] A folder tree managed by the OS is displayed in the navigation pane 41. The user can specify a folder in which to save a label image by operating the navigation pane 41. The label image creation application 5a saves the label image in the specified folder.

[0087] The user can input a file name of the label image in the file name box 42. The label image creation application 5a determines the input file name as the file name of the file to be saved.

[0088] The user can further specify the storage format of the label image in the file type box 43. Specifically, when the file type box 43 is operated, a pull-down menu 45 listing selectable storage formats is displayed, as shown in Fig. 9. The user can specify the storage format by selecting a desired storage format from the pull-down menu 45. The label image creation application 5a saves the label image in the specified storage format.

[0089] In this embodiment, the created label image can be saved as a file in one of two file formats, which in this embodiment include the LBX format and the SLBX format.

[0090] FIG. 10 diagrammatically shows an LBX file 51, which is a file in the LBX format, and an SLBX file 50, which is a file in the SLBX format. The LBX file 51 includes a layout information file 51a and a profile information file 51b. The LBX file 51 is generated by compressing the layout information file 51a and the profile information file 51b. The layout information file 51a and the profile information file 51b may each be in any file format. In this embodiment, the layout information file 51a and the profile information file 51b are in XML format. Note that "XML" is an abbreviation for "Extensible Markup Language".

[0091] The above-mentioned LBX information is included in, for example, the layout information file 51a. Therefore, the above-mentioned database path and database reference OBJ list are included in the layout information file 51a. Note that a part of the LBX information may be included in a file other than the layout information file 51a.

[0092] The LBX format is a file format in which the layout information file 51a and the profile information file 51b are compressed. In other words, the LBX format is a format in which LBX information is made into a file independent of the database. In this embodiment, the extension of the LBX file 51 is "lbx".

[0093] The SLBX file 50 includes the above-mentioned LBX file 51. The SLBX file 50 further includes a CSV file 52 and an attribute information file 53. The CSV file 52 stores the database connected to the LBX information, more specifically, the table on which the merge operation was performed on the editing screen 10. In FIG. 5, as an example, the data in the table "test_a" is incorporated into the label image. In other words, the table "test_a" is connected to the LBX information. When the label image created in this way is saved in the SLBX format, the table "test_a" is saved as the CSV file 52 and included in the SLBX file 50. At this time, the table "test_a" is also converted to the CSV format.

[0094] As is well known, the CSV format is a compatible (in other words, highly versatile) file format that can be used by a number of different application software. "CSV" is an abbreviation for "Comma Separated Value." The file extension of the CSV format is "csv." FIG. 11 shows an example of a CSV file 52. This CSV file 52 illustrates an example of an original database 150 converted into the CSV format.

[0095] The attribute information file 53 is generated when the label image is connected to a database. The attribute information file 53 includes attribute information of the connected database. The attribute information indicates the data attributes of each data field. Figs. 12(a) and 12(b) show an example of the attribute information file 53. Fig. 12(a) illustrates attribute information in which the data attributes of each data field are individually listed. Fig. 12(b) illustrates attribute information in which the data attributes are listed for each column in the case where data attributes are set collectively on a column-by-column basis.

[0096] The attribute information file 53 may be in any file format. For example, the file format of the attribute information file 53 may be the XML format or the JSON format. "JSON" is an abbreviation for "JavaScript Object Notation".

[0097] More specifically, the SLBX file 50 is an integrated file of the LBX file 51, the CSV file 52, and the attribute information file 53. Specifically, the SLBX file 50 is generated by compressing the LBX file 51, the CSV file 52, and the attribute information file 53 in a predetermined compression format. In this embodiment, the predetermined compression format is the ZIP format.

[0098] The SLBX format is a file format in which the LBX file 51, the CSV file 52, and the attribute information file 53 are compressed in a predetermined format. In other words, the SLBX format is a format in which the LBX information is integrated (specifically, compressed in this embodiment) together with the database into one file and then filed.

[0099] The standard extension for files compressed in ZIP format is "zip". Therefore, the extension of the SLBX file 50 may also be the standard extension "zip". However, in this embodiment, a prescribed extension different from the standard extension of the ZIP format is used as the extension of the SLBX file 50. In this embodiment, the prescribed extension is, for example, "slbx". This extension "slbx" may be set during the process of generating the SLBX file 50, or the extension may be converted to "slbx" after the SLBX file 50 with the "zip" extension is generated.

[0100] (1-5-2) SLBX saving process The SLBX saving process that the control unit 2 executes in accordance with the label image creation application 5a when a new saving request in the SLBX format is made will be described with reference to Fig. 13. For the sake of convenience, the SLBX saving process in Fig. 13 also includes a process for creating a label image. The SLBX saving process is executed by the control unit 2 executing a corresponding program module in the label image creation application 5a.

[0101] When the control unit 2 starts the SLBX saving process, in S100, the control unit 2 creates a label image according to a user operation. Then, a new save request in the SLBX format is accepted. The new save request is accepted, for example, via the above-mentioned file save dialogue 40. The process performed in S100 includes obtaining the original database 150, creating a label image via the label image OBJ16a, and printing the created label image by the printer 101. The creation of the label image includes adding a data image of the data in the original database 150 to the label image. In the process of creating the label image, the control unit 2 writes LBX information in the work area as described above. When a database is read, the control unit 2 further writes the database in the work area. When a new save request in the SLBX format is accepted in S100, the process proceeds to S110.

[0102] In S110, the control unit 2 acquires the file path and file name for saving, which are specified by the user. These are specified by the user in the file save dialogue 40 described above.

[0103] In S120, the control unit 2 creates a temporary folder. The temporary folder is a folder that is temporarily used to generate the SLBX file 50. In this embodiment, the temporary folder is different from the destination folder for saving the SLBX file 50 designated by the user. More specifically, in this embodiment, the temporary folder is created in a folder that is managed by the OS as a so-called hidden folder.

[0104] In S130, the control unit 2 determines whether or not a database is connected to the LBX information, that is, whether or not the label image to be saved contains a data image. If a database is not connected, the process proceeds to S200. If a database is connected, the process proceeds to S140.

[0105] In S140, the control unit 2 determines whether the connected database has data attributes other than text. If the connected database does not have data attributes other than text, the process proceeds to S170. If the connected database has data attributes other than text, the process proceeds to S150.

[0106] In S150, the control unit 2 extracts the data attributes of each data field from the connected database. In S160, attribute information indicating the extracted data attributes is saved in a temporary file as attribute information file 53. The attribute information file 53 is saved in a specified file format with a specified file name. The specified file format may be, for example, the above-mentioned XML format or JSON format. The specified file name may be determined in any manner. In this embodiment, the specified file name is determined in advance.

[0107] In S170, the control unit 2 judges whether the connected database is in CSV format. If the connected database is, for example, the above-mentioned original database 150, a negative judgment is made in S170. In this embodiment, a database originally in CSV format can also be read as the original database 150, in which case a positive judgment is made in S170.

[0108] If the connected database is in CSV format at S170, the control unit 2 saves the database as is in a temporary folder as a CSV file 52 at S190. If the connected database is not in CSV format, the control unit 2 converts the database (more specifically, the connected table) to CSV format and saves it in the temporary folder as a CSV file 52 at S180.

[0109] In S200, the control unit 2 replaces the database path in the LBX information with the file path of the CSV file 52 saved in the temporary folder. In S210, the control unit 2 saves the LBX information as an LBX file 51 in the LBX format in a temporary folder.

[0110] In S220, the control unit 2 compresses the LBX file 51, the CSV file 52, and the attribute information file 53 stored in the temporary folder in a predetermined compression format to generate an SLBX file 50. Then, the generated SLBX file 50 is stored in a file path designated by the user.

[0111] In this way, the label image is saved in the SLBX format. It is possible to save the label image in the SLBX format even if the database is not loaded when the label image is created. In that case, however, the SLBX file 50 does not include the CSV file 52 and the attribute information file 53.

[0112] (1-6) Opening the label file (1-6-1) Processing Overview Next, a process of opening a saved SLBX file 50 will be described. A user can specify an SLBX file 50 and make a request to open the SLBX file 50 (hereinafter referred to as an "open request"), thereby opening the SLBX file 50 and displaying it on the editing screen 10. The open request may be made by any procedure. The open request may be made, for example, via a file open dialog 60 illustrated in FIG. 14. In this embodiment, the open request includes selecting the SLBX file 50 via the file open dialog 60 and operating the open button 65, as described below. The file open dialog 60 may be displayed by any procedure. The file open dialog 60 may be displayed, for example, starting from the editing screen 10.

[0113] As shown in FIG. 14, the file open dialog 60 includes a navigation pane 61, a file list 62, a file name box 63, a file type box 64, and an Open button 65.

[0114] A folder tree managed by the OS is displayed in the navigation pane 61. The user can select a folder in which a file to be opened is stored by operating the navigation pane 61. Some or all of the files stored in the folder selected in the navigation pane 61 are displayed in the file list 62.

[0115] The user can specify the file format of the files to be displayed in the file list 62 via the file type box 64. When the file type box 64 is operated, a pull-down menu 66 is displayed in which selectable file formats are listed, as shown in FIG. 14. In the pull-down menu 66 in FIG. 14, "Extended layout file" indicates the SLBX format, and "Standard layout file" indicates the LBX format. The user can specify the file format of the files to be displayed in the file list 62 by selecting a desired file format from the pull-down menu 66.

[0116] The user can select a file to open from the file list 62. When a file is selected from the file list 62, the file name of the selected file is displayed in a file name box 63. When the Open button 65 is operated with the file selected, processing to open the selected file is started. At this time, if the selected file is an SLBX file 50, the SLBX open processing shown in FIG. 15 is started.

[0117] (1-6-2) SLBX open processing The SLBX open process is performed by the control unit 2 executing a corresponding program module in the label image creation application 5a.

[0118] When the control unit 2 starts the SLBX open process, in S310, it creates a temporary folder in the work area. The temporary folder created here is used temporarily to decompress the selected SLBX file. This temporary folder may be set anywhere. This temporary folder may be the same as the temporary folder created when saving.

[0119] In S320, the control unit 2 copies the selected SLBX file 50 to be opened to a temporary folder. In S330, the control unit 2 unzips the SLBX file 50 copied to the temporary folder in the temporary folder. As a result, the LBX file 51, the CSV file 52, and the attribute information file 53 included in the SLBX file 50 are individually saved in the temporary folder.

[0120] In S340, the control unit 2 reads the decompressed LBX file 51 from the temporary folder. Then, the control unit 2 obtains the LBX information from the LBX file 51. In S350, the control unit 2 determines whether or not the CSV file 52 was obtained by the decompression in S330. If the CSV file 52 was not obtained, the process proceeds to S410. If the CSV file 52 was obtained, the process proceeds to S360.

[0121] In S360, the control unit 2 reads the decompressed CSV file 52 from the temporary folder. Then, the control unit 2 obtains the database from the CSV file 52. In S370, the control unit 2 determines whether or not the attribute information file 53 has been obtained by the decompression in S330. If the attribute information file 53 has not been obtained, the process proceeds to S400. If the attribute information file 53 has been obtained, the process proceeds to S380.

[0122] In S380, the control unit 2 reads the decompressed attribute information file 53 from the temporary folder. Then, the control unit 2 obtains attribute information from the attribute information file 53. In S390, the control unit 2 reflects the acquired attribute information in the acquired database. That is, the control unit 2 assigns a corresponding data attribute to each data field (or each column, or each record) in the database. This allows the label image creation application 5a to recognize the data attribute for each data field. This state is equivalent to the state in which the original database 150 is loaded when creating a new label image.

[0123] In S400, the control unit 2 replaces the database path in the LBX information with the file path of the CSV file 52 that has been decompressed in the temporary folder. In S410, the control unit 2 executes an edit screen display process. Details of the edit screen display process are as shown in FIG.

[0124] When the control unit 2 moves to the edit screen display process, it determines in S510 whether or not there is a database, that is, whether or not the database was acquired in S360. If there is no database, the process moves to S640. If there is a database, the process moves to S520.

[0125] In S520, the control unit 2 acquires the database reference OBJ list from the LBX information. Note that in Fig. 16, "DB" is an abbreviation for database. In S530, the control unit 2 sets a variable N to an initial value "1."

[0126] In S540, the control unit 2 acquires the Nth OBJ information in the database reference OBJ list. In S550, the control unit 2 acquires, based on the OBJ information acquired in S540, the data indicated by the OBJ information and the data attributes assigned to the data from the database.

[0127] In S560, the control unit 2 judges the data attribute acquired in S550. If the data attribute is neither a date attribute nor a time attribute, the process proceeds to S610. The case in which the process proceeds to S610 is basically when the data attribute is text (in other words, when the data does not have any attribute other than text).

[0128] If the data attribute is a date attribute, the process proceeds to S570. At S570, the control unit 2 obtains the currently set date format. In S580, the control unit 2 generates a data image based on the Nth OBJ information in the date format acquired in S570. After the process of S580, the process proceeds to S610.

[0129] If it is determined in S560 that the data attribute is the time attribute, the process proceeds to S590, in which the control unit 2 acquires the currently set time format. In S600, the control unit 2 generates a data image based on the Nth OBJ information in the time format acquired in S590. After the process of S600, the process proceeds to S610.

[0130] In S610, the control unit 2 arranges the data image generated in S580 or S600 on the label image based on the OBJ information. If the data attribute is only text, the control unit 2 arranges the data image of the text on the label image based on the OBJ information.

[0131] In S620, the control unit 2 increments the variable N by one. In S630, the control unit 2 determines whether the variable N is equal to or greater than the list length. The list length is the number of pieces of OBJ information listed in the database reference OBJ list. If the variable N is less than the list length, the process proceeds to S540. In this case, the processes of S540 to S610 are performed based on the new Nth piece of OBJ information. In this way, the processes of S540 to S610 are sequentially performed for all pieces of OBJ information listed in the database reference OBJ list.

[0132] If the variable N exceeds the list length in S630, the process proceeds to S640. In S640, the control unit 2 displays the editing screen 10 and draws a label image OBJ16a on the editing screen 10. This label image OBJ16a includes the data image OBJ of the data image arranged in S610.

[0133] For example, when the label image shown by the label image OBJ16a illustrated in Fig. 5 is saved as an SLBX file 50 and the SLBX file 50 is opened, the original label image OBJ16a illustrated in Fig. 5 is restored and displayed by the above-mentioned process. In other words, the data image is displayed in a display format that reflects the data attributes.

[0134] Also, for example, when the label image shown by the label image OBJ16a illustrated in FIG. 7 is saved as an SLBX file 50 and the SLBX file 50 is opened, the original label image OBJ16a illustrated in FIG. 7 is restored by the above-mentioned processing.

[0135] It is assumed that the SLBX file 50 does not have an attribute information file 53. This means that the data attributes are lost when the label image is saved as the SLBX file 50. In this case, when the SLBX file 50 is opened, the text of the corresponding data in the CSV file 52 is displayed as is as data images OBJ161, 162, as shown in FIG.

[0136] If the result of the determination in S510 is negative and the process proceeds to S640, a label image not including a data image is drawn based on the LBX information. After the process of S640, the process proceeds to S420 (see FIG. 15).

[0137] In S420, the control unit 2 performs various processes based on user instructions on the editing screen 10. The various processes include editing, printing, saving, and the like of the label image. (1-7) Effects of the embodiment According to the embodiment described above, the LBX file 51, the CSV file 52, and the attribute information file 53 are integrated and saved in one SLBX file 50. This makes it possible to appropriately manage the label files of the label images including the data images together with the database.

[0138] In particular, in this embodiment, the attribute information file 53 is also saved together with the CSV file 52 as the SLBX file 50. When the SLBX file 50 is opened, the attribute information based on the attribute information file 53 is reflected in the database obtained from the CSV file 52. In other words, a data attribute is assigned to each data field. This makes it possible to restore a data image with the data attributes reflected.

[0139] Moreover, the SLBX file 50 is generated by compression in a predetermined compression format, so that the SLBX file 50 can be generated easily and efficiently. Furthermore, when the SLBX file 50 is generated, the file format of the database is converted to CSV format, so that restrictions on the OS that can handle the SLBX file 50 are eliminated or relaxed.

[0140] Furthermore, when the SLBX file 50 is generated, the extension of the SLBX file 50 is changed to an extension that is different from the standard extension of the compression format, so that the user can recognize that the SLBX file 50 is a label file.

[0141] In addition, the temporary folder is different from the destination folder. Therefore, the SLBX file 50 can be generated without affecting the destination folder. In particular, in this embodiment, the temporary folder is generated in a so-called hidden folder. Therefore, the SLBX file 50 can be generated without the user being aware that a temporary folder was used to generate the SLBX file 50. This effect is also common to the temporary folder created when a file is opened.

[0142] In addition, in this embodiment, the label image can be saved in either the SLBX format or the LBX format, which allows the label image creation application 5a to have a high degree of freedom in terms of the save format.

[0143] 2. Other embodiments Although the embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments and can be implemented in various modified forms.

[0144] (2-1) In the above embodiment, a date attribute and a time attribute are exemplified as data attributes. However, data attributes are not limited to these date attributes and time attributes. Various data attributes can be applied to the present disclosure. Examples of applicable data attributes include, for example, a character string attribute, a percentage attribute, and an accounting attribute.

[0145] The string attribute indicates that the value of a cell (field) is displayed in string format. The string format indicates that the cell value is displayed as is as a string. The value of a cell with the string attribute is displayed as is as the value entered into the cell. For example, assume that a user enters "2022 / 12 / 31" into a cell using a keyboard or a similar user interface and sets the attribute of the cell to the string attribute. In this case, the string "2022 / 12 / 31" is displayed in the cell as entered.

[0146] The percentage attribute indicates that the value of a cell (field) is displayed in a percentage format. The percentage format is a format in which the cell value is converted to a percentage and displayed with the percentage symbol "%" added. For example, assume that a user inputs "0.3" into a cell and sets the attribute of the cell to the percentage attribute. In this case, the text "30%" is displayed in the cell. There may be multiple types of percentage formats. The multiple types of percentage formats may have different numbers of decimal points, for example.

[0147] The accounting attribute indicates that the value of a cell (field) is displayed in an accounting format. The accounting format is a format that displays the cell value with a currency symbol added. For example, assume that a user enters "200" into a cell and sets the attribute of the cell to the accounting attribute. In this case, the text "$200" is displayed in the cell. Multiple types of accounting formats may be prepared. The multiple types of accounting formats may, for example, have different currency symbols.

[0148] (2-2) The temporary folder may be created anywhere. The temporary folder may be created in a folder that is not a hidden folder, and may be the same as the destination folder for saving the SLBX file 50 specified by the user.

[0149] (2-3) The SLBX file 50 may be generated by a method other than compression. In other words, the LBX file 51, the CSV file 52, and the attribute information file 53 may be integrated into one file by any method. In the SLBX open process, the SLBX file 30 may be decompressed by a decompression method corresponding to the integration method used when saving. In this disclosure, "unzip" does not mean only unzipping a file compressed using a compression method such as ZIP format, but has a broader meaning including returning a single file consisting of multiple files to its original state before the files were unified.

[0150] (2-4) The table structures of the databases illustrated in Figures 3 to 5 are merely examples. That is, a table may have any number of records or any number of columns. Also, a database may have any number of tables.

[0151] (2-5) In the above embodiment, the printing device 101 configured to mount a cassette-type cartridge is exemplified, but the present disclosure is also applicable to printing devices configured to mount cartridges other than cassette-type cartridges. Furthermore, the printing device of the present disclosure is not limited to printing devices in the form of label printers or label writers. In other words, the present disclosure is not limited to application to printing devices configured to print images on long print media.

[0152] (2-6) Multiple functions possessed by one component in the above embodiments may be realized by multiple components, or one function possessed by one component may be realized by multiple components. Multiple functions possessed by multiple components may be realized by one component, or one function realized by multiple components may be realized by one component. Also, part of the configuration of the above embodiments may be omitted. Also, at least part of the configuration of the above embodiments may be added to or substituted for the configuration of another of the above embodiments.

[0153] [3. Technical Concepts Disclosed in This Specification] (3-1) Technical Idea Disclosed in the Present Specification This specification may be understood as disclosing the following technical ideas. [Item 1] a communication unit configured to communicate with the printing device; A control unit; An image creation program executable by the control unit in an information processing device comprising: The control unit, A database acquisition process for acquiring a database, the database including a data field in which data is stored, the data field including text indicating the data, and attribute information of the data being set; an image generation process for generating a print image to be printed by the printing device, the print image including a data image showing the text, and displaying the data image in a display format based on the corresponding attribute information set in the database; a first generation process for generating an image information file including image information indicating the print image generated by the image generation process; a second generation process for generating a database file including the database acquired by the database acquisition process; a third generation process for generating an attribute information file including the attribute information in the database acquired by the database acquisition process; an integration process for integrating the image information file generated in the first generation process, the database file generated in the second generation process, and the attribute information file generated in the third generation process into a single file to generate an extended image file, which is the single file; a storage process for storing the extended image file generated by the integration process; An image creation program that executes the following: [Item 2] Item 1 is an image creation program according to the present invention, the integration process generates the extended image file by collectively compressing the image information file, the database file, and the attribute information file in a predetermined compression format. Image creation program. [Item 3] Item 2. An image creation program according to the present invention, The control unit further includes: a filename determination process for determining a filename of the extended image file generated by the integration process, the filename including a specific extension, the specific extension being different from a prescribed extension corresponding to the predetermined compression format; Run the command, The save process saves the extended image file with the file name determined by the file name determination process. Image creation program. [Item 4] An image creation program according to any one of items 1 to 3, the second generation process generates the database file in a compatible file format that can be used by a plurality of different application software. Image creation program. [Item 5] An image creation program according to any one of items 1 to 4, The control unit further includes: a first temporary folder creation process for creating a first temporary folder that is a folder temporarily used for generating the extended image file; Run the command, The first generation process stores the generated image information file in the first temporary folder; The second generation process stores the generated database file in the first temporary folder; the third generation process includes storing the generated attribute information file in the first temporary folder; the integration process integrates the image information file, the database file, and the attribute information file stored in the first temporary folder into the one file; Image creation program. [Item 6] Item 5. An image creation program according to item 5, The control unit further includes: a destination folder receiving process for receiving a destination folder designation for the extended image file; Run the command, The save process saves the extended image file in the save destination folder based on the designation accepted by the save destination acceptance process, The first temporary folder is different from the destination folder. Image creation program. [Item 7] An image creation program according to any one of items 1 to 6, The information processing device includes a display unit, The image creation program further includes the control unit: a decompression process for decompressing the extended image file to obtain the image information file, the database file, and the attribute information file; an object display process for displaying on the display unit a print image object indicating the print image based on the image information in the image information file obtained by the decompression process, and displaying, for the data image in the print image, the corresponding text in the database in the database file obtained by the decompression process in a display format based on the corresponding attribute information in the attribute information file obtained by the decompression process; An image creation program that runs [Item 8] Item 7. An image creation program according to item 7, The object display process displays the data image in one designated display format among a plurality of display formats corresponding to the attribute information of the data image. Image creation program. [Item 9] Item 7 or 8, an image creation program according to item 7 or 8, The control unit further includes: a second temporary folder creation process for creating a second temporary folder that is a folder temporarily used for the decompression process; Run the command, the decompression process includes storing the decompressed image information file and the decompressed database file in the second temporary folder; Image creation program. [Item 10] Item 9. An image creation program according to item 9, the second temporary folder is different from a folder in which the extended image file to be decompressed by the decompression process is stored; Image creation program. [Item 11] An image creation program according to any one of items 1 to 10, the print image is printed on the long-sized print medium along a length direction while the print medium is transported in the length direction in the printing device; Image creation program.

[0154] (3-2) Correspondence of terms The label image creation application 5a corresponds to an example of an image creation program in this disclosure. The label image OBJ16a corresponds to an example of a print image object in this disclosure. The label image shown by the label image OBJ16a corresponds to an example of a print image in this disclosure. The LBX information corresponds to an example of image information in this disclosure. The LBX file 51 corresponds to an example of an image information file in this disclosure. The CSV file 52 corresponds to an example of a database file in this disclosure. The SLBX file 50 corresponds to an example of an extended image file in this disclosure. The extension "slbx" of the SLBX file 50 corresponds to an example of a specific extension in this disclosure. The standard extension "zip" of a compressed file in ZIP format corresponds to an example of a prescribed extension in this disclosure. The CSV format corresponds to an example of a compatible file format in this disclosure. The temporary folder corresponds to an example of a first temporary folder or a second temporary folder in this disclosure.

[0155] S100 corresponds to an example of an image generation process and a database acquisition process in the present disclosure. S110 corresponds to an example of a destination reception process in the present disclosure. S120 corresponds to an example of a first temporary folder creation process in the present disclosure. S180 corresponds to an example of a second generation process in the present disclosure. S210 corresponds to an example of a first generation process in the present disclosure. S160 corresponds to an example of a third generation process in the present disclosure. S220 corresponds to an example of a file name determination process, an integration process, and a saving process in the present disclosure. S310 corresponds to an example of a second temporary folder creation process in the present disclosure. S330 corresponds to an example of a decompression process in the present disclosure. S410 corresponds to an example of an object display process in the present disclosure. [Explanation of symbols]

[0156] 1...information processing device, 2...control unit, 2a...CPU, 2b...memory, 3...display unit, 5a...label image creation application, 10...editing screen, 16a...label image object, 50...SLBX file, 51...LBX file, 52...CSV file, 53...attribute information file, 101...printing device, 150...original database, 161, 162...data image object.

Claims

1. a communication unit configured to communicate with the printing device; A control unit; An image creation program executable by the control unit in an information processing device comprising: The control unit, A database acquisition process for acquiring a database, the database including a data field in which data is stored, the data field including text indicating the data, and attribute information of the data being set; an image generation process for generating a print image to be printed by the printing device, the print image including a data image showing the text, and displaying the data image in a display format based on the corresponding attribute information set in the database; a first generation process for generating an image information file including image information indicating the print image generated by the image generation process; a second generation process for generating a database file including the database acquired by the database acquisition process; a third generation process for generating an attribute information file including the attribute information in the database acquired by the database acquisition process; an integration process for generating an extended image file by integrating the image information file generated in the first generation process, the database file generated in the second generation process, and the attribute information file generated in the third generation process into a single file; a storage process for storing the extended image file generated by the integration process; An image creation program that executes the following:

2. 2. The image creation program according to claim 1, the integration process generates the extended image file by collectively compressing the image information file, the database file, and the attribute information file in a predetermined compression format. Image creation program.

3. 3. The image creation program according to claim 2, The control unit further includes: a filename determination process for determining a filename of the extended image file generated by the integration process, the filename including a specific extension, the specific extension being different from a prescribed extension corresponding to the predetermined compression format; Run the command, The saving process saves the extended image file with the file name determined by the file name determination process. Image creation program.

4. 2. The image creation program according to claim 1, the second generation process generates the database file in a compatible file format that can be used by a plurality of different application software. Image creation program.

5. 2. The image creation program according to claim 1, The control unit further includes: a first temporary folder creation process for creating a first temporary folder which is a folder temporarily used for generating the extended image file; Run the command, The first generation process stores the generated image information file in the first temporary folder; The second generation process stores the generated database file in the first temporary folder; the third generation process includes storing the generated attribute information file in the first temporary folder; the integration process integrates the image information file, the database file, and the attribute information file stored in the first temporary folder into the one file; Image creation program.

6. 6. The image creation program according to claim 5, The control unit further includes: a destination folder receiving process for receiving a destination folder designation for the extended image file; Run the command, The save process saves the extended image file in the save destination folder based on the designation accepted by the save destination acceptance process, the first temporary folder is different from the destination folder; Image creation program.

7. The image creation program according to any one of claims 1 to 6, The information processing device includes a display unit, The image creation program further includes the control unit: a decompression process for decompressing the extended image file to obtain the image information file, the database file, and the attribute information file; an object display process for displaying on the display unit a print image object indicating the print image based on the image information in the image information file obtained by the decompression process, and displaying, for the data image in the print image, the corresponding text in the database in the database file obtained by the decompression process in a display format based on the corresponding attribute information in the attribute information file obtained by the decompression process; An image creation program that runs

8. 8. The image creation program according to claim 7, The object display process displays the data image in one designated display format among a plurality of display formats corresponding to the attribute information of the data image. Image creation program.

9. 8. The image creation program according to claim 7, The control unit further includes: a second temporary folder creation process for creating a second temporary folder that is a folder temporarily used for the decompression process; Run the command, the decompression process includes storing the decompressed image information file and the decompressed database file in the second temporary folder; Image creation program.

10. 10. The image creation program according to claim 9, the second temporary folder is different from a folder in which the extended image file to be decompressed by the decompression process is stored; Image creation program.

11. 2. The image creation program according to claim 1, the print image is printed on the long-sized print medium along a length direction while the print medium is transported in the length direction in the printing device; Image creation program.

12. a communication unit configured to communicate with the printing device; A control unit; Equipped with The control unit is A database acquisition process for acquiring a database, the database including a data field in which data is stored, the data field including text indicating the data, and attribute information of the data being set; an image generation process for generating a print image to be printed by the printing device, the print image including a data image showing the text, and displaying the data image in a display format based on the corresponding attribute information set in the database; a first generation process for generating an image information file including image information indicating the print image generated by the image generation process; a second generation process for generating a database file including the database acquired by the database acquisition process; a third generation process for generating an attribute information file including the attribute information in the database acquired by the database acquisition process; an integration process for generating an extended image file by integrating the image information file generated in the first generation process, the database file generated in the second generation process, and the attribute information file generated in the third generation process into a single file; a storage process for storing the extended image file generated by the integration process; An information processing device configured to execute the above.

Citation Information

Patent Citations

  • Printing device and print processing program

    JP2019211904A