Image creation program and information processing apparatus
The image creation program effectively manages print image files by integrating database data with the template, ensuring the link between the two is maintained, facilitating seamless editing and printing.
Patent Information
- Application Number
- JP2023057728
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-15
AI Technical Summary
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.
An image creation program that includes a control unit to execute processes for database acquisition, image generation, integration, and storage, generating an extended image file that integrates image information and table files, ensuring proper management of database data with the print image.
Enables appropriate management of print image files containing database data by maintaining the link between the template and database, allowing seamless editing and printing with integrated database information.
Smart Images

Figure 2024145403000001_ABST
Abstract
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] One aspect of the present disclosure provides an image creation program executable by an information processing device. The information processing device includes a communication unit and a control unit. The communication unit communicates with a printing device. The control unit is capable of executing the image creation program. 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, an integration process, and a storage process.
[0007] The database acquisition process acquires a database. The database has a plurality of data tables. The image generation process generates a print image to be printed by a printing device. The image generation process includes adding a data image to the print image. The data image shows data specified by a user in a selected one of the plurality of data tables in the database acquired by the database acquisition process.
[0008] The first generation process generates an image information file. The image information file includes image information. The image information indicates a print image generated by the image generation process. The second generation process generates a plurality of table files. The plurality of table files each include the plurality of data tables held by the database acquired by the database acquisition process.
[0009] The integration process integrates the image information file generated in the first generation process and the multiple table files generated in the second generation process into a single file, thereby generating an extended image file that is the single 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 and the multiple table files are integrated and saved as one file (extended image file). This makes it possible to properly manage the print image file containing the database data together with the multiple table files that the database has.
[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 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 file save dialog in a first state. [Figure 7] FIG. 13 is an explanatory diagram showing the file save dialog in a second state. [Figure 8] FIG. 2 is an explanatory diagram showing a file structure. [Figure 9] 13 is a flowchart of a new save process. [Figure 10] 13 is a flowchart of a first storage process. [Figure 11] FIG. 11 is an explanatory diagram illustrating a schematic view of a part of a first storage process. [Figure 12] FIG. 12 is an explanatory diagram showing a schematic view of a part continued from FIG. [Figure 13] FIG. 13 is an explanatory diagram showing a schematic view of a part continued from FIG. [Figure 14] FIG. 14 is an explanatory diagram showing a schematic view of the continuation of FIG. 13. [Figure 15] FIG. 13 is an explanatory diagram illustrating a file open dialog. [Figure 16]13 is a flowchart of a file open process. [Figure 17] 13 is a flowchart of an LBX file open process. [Figure 18] FIG. 11 is an explanatory diagram illustrating a part of a file open process. [Figure 19] FIG. 19 is an explanatory diagram showing a schematic view of a part continued from FIG. 18. [Figure 20] FIG. 20 is an explanatory diagram showing a schematic view of a part continued from FIG. 19. [Figure 21] FIG. 21 is an explanatory diagram showing a schematic view of a continuation of FIG. 20 . [Figure 22] FIG. 22 is an explanatory diagram showing a schematic view of the continuation of FIG. 21. 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 multiple data tables. Each of the multiple data tables 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 a "cell". Each data field includes text that indicates the data stored in the data field.
[0051] 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 multiple tables contained in the selected database.
[0052] FIG. 3 shows an example in which a database with the file name "test.xlsx" is selected as the database to be read. This database has, for example, three tables, namely the first to third tables. The name of the first table is "test_a", the name of the second table is "test_b", and the name of the third table is "test_c". Files with the extension "xlsx" are commonly used in Excel (a registered trademark of Microsoft Corporation), a well-known spreadsheet software.
[0053] The user can select a table to be previewed as a table image 24 through an operation in the table name box 23. Fig. 3 shows an example in which a first table "test_a" is selected in the table name box 23, thereby displaying a table image 24 of the first table "test_a".
[0054] 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 illustrated in FIG. 3, the first table "test_a" has a first column C1, a second column C2, and a third column C3. The first table "test_a" also has a first record R1, a second record R2, and a third record R3. The first 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. The second table and the third table each have one or more records and one or more columns, just like the first table.
[0055] When the OK button 25 is operated while any table is selected, the label image creation application 5a imports the currently selected database including the selected table. Then, the editing screen 10 is displayed, and table OBJ18 is displayed on the editing screen 10 as shown in Fig. 4. Table OBJ18 is an image showing the selected table in the imported database.
[0056] When the database 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 table OBJ18 is displayed in the database area 15. At this time, a table box 17 is also displayed on the editing screen 10. The user can switch the table displayed as table OBJ18 to another table by operating the table box 17.
[0057] The user can add some or all of the data in the loaded database to the label image. That is, the user can add a data image representing each piece of data in the database to the label image. The addition of a data image to a label image will be specifically described below with reference to FIG. 5.
[0058] In the following description, data fields in a table may be expressed using corresponding columns and records. For example, a data field belonging to the first column C1 and the second record R2 may be referred to as the "C1-R2 field." In the example of FIG. 5, for example, the C1-R2 field stores data represented by the text "2019 / 04 / 30." Also, for example, the C3-R1 field stores data represented by the text "Aiu."
[0059] The label image creation application 5a accepts a merge operation by the user. The merge operation is an operation that requests that data in the table OBJ18 be inserted into the label OBJ16. The merge operation in this embodiment includes dragging and dropping a data field in the table OBJ18 that contains data to be added to the label image onto the label OBJ16.
[0060] 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.
[0061] Furthermore, for example, when a merge operation is performed to insert the C3-R1 field into the label OBJ16, as shown in FIG. 5, a data image OBJ162 indicating a data image of the C3-R1 field is added to the label image OBJ16a.
[0062] In addition to merging on a data field basis, you can also merge on a column basis. For example, by merging a specific column name in the first row R0 to the label OBJ16, you can add all the data contained in the corresponding column to the label image at once.
[0063] 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.
[0064] That is, when the label image creation application 5a is started, it secures a working storage area (hereinafter referred to as "working area") 60 (see FIG. 11) in the memory 2b. Then, various programs, data, etc. are loaded into the working area 60 to perform various processes. Note that the working area 60 in the memory 2b may be determined in any manner. Also, the working area 60 may be secured in the storage unit 5, or, if a storage medium is provided in addition to the memory 2b and the storage unit 5, it may be secured in the storage medium.
[0065] When a label image is created on the editing screen 10, the label image creation application 5a writes LBX information 62 (see FIG. 11) in the working area 60. The LBX information 62 is information about the label image being created, and indicates the contents of the label image. In other words, the LBX information 62 includes information about what objects are placed where in the label image, and in what form. When the label image is edited by the user, the LBX information 62 is also updated.
[0066] Furthermore, when a database is loaded onto the editing screen 10, the label image creation application 5a writes the loaded database 63 (see FIG. 11) into the work area 60. Furthermore, when a merge operation is performed on the editing screen 10, the label image creation application 5a connects the database 63 to the LBX information 62. Specifically, the first database path and data image information are added to the LBX information 62.
[0067] The first database path is the file path of the database from which the database 63 is loaded. For example, when a database with a file name "test" saved in a folder "C:\Work" is loaded, the first database path "C:\Work\test" is added to the LBX information 62.
[0068] The data image information includes link information indicating the location of the merged data, which indicates, for each piece of merged data, the table to which the data belongs, the data field in which the data is located in the table, and format information (e.g., size, font, etc.) of the data image when the data is incorporated into the label image as a data image.
[0069] (1-5) Save 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. 6 and operating the save button 44.
[0070] 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.
[0071] 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.
[0072] 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.
[0073] 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. 7. 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.
[0074] 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.
[0075] FIG. 8 shows a schematic diagram of an LBX file 31, which is a file in the LBX format, and an SLBX file 30, which is a file in the SLBX format. The LBX file 31 includes a layout information file 31a and a profile information file 31b. The LBX file 31 is generated by compressing the layout information file 31a and the profile information file 31b. The layout information file 31a and the profile information file 31b may each be in any file format. In this embodiment, the layout information file 31a and the profile information file 31b are in XML format. Note that "XML" is an abbreviation for "Extensible Markup Language".
[0076] The above-mentioned LBX information 62 is included in, for example, the layout information file 31a. Therefore, the above-mentioned first database path and link information are included in the layout information file 31a. Note that a part of the LBX information 62 may be included in a file other than the layout information file 31a.
[0077] The LBX format is a file format in which the layout information file 31a and the profile information file 31b are compressed. In other words, the LBX format is a format in which the LBX information 62 is filed independently of the database. In this embodiment, the extension of the LBX file 31 is "lbx".
[0078] The SLBX file 30 includes the above-mentioned LBX file 31. In addition to the LBX file 31, the SLBX file 30 further includes a CSV file group 32 and a setting file 33.
[0079] The CSV file group 32 includes a CSV file for each of a plurality of tables included in the loaded (i.e., connected) database. In the example of FIG. 5, a database "test.xlsx" including first to third tables "test_a", "test_b", and "test_c" is loaded. Therefore, in this case, the CSV file group 32 includes three CSV files, that is, a first CSV file 32a, a second CSV file 32b, and a third CSV file 32c, as illustrated in FIG. 8. The first CSV file 32a includes the first table "test_a". The second CSV file 32b includes the second table "test_b". The third CSV file 32c includes the third table "test_c".
[0080] 3 to 5, as an example, a database in a file format commonly used in Excel, i.e., with the extension "xlsx", is loaded. In contrast, when each table in this database is saved as an SLBX file 30 in the SLBX format, each table is saved as a CSV file. That is, the first to third CSV files 32a, 32b, and 32c are all CSV files.
[0081] As is well known, the CSV format is a compatible (in other words, highly versatile) file format that can be used with multiple different application software. "CSV" is an abbreviation for "Comma Separated Value." The file extension for CSV format files is "csv."
[0082] The setting file 33 includes Slbx setting data 61 (see FIG. 14) described later. The setting file 33 may have any file format. In this embodiment, the file format of the setting file 33 is, for example, the JSON format. "JSON" is an abbreviation for "JavaScript Object Notation."
[0083] More specifically, the SLBX file 30 is an integrated file of the LBX file 31, the CSV file group 32, and the setting file 33. Specifically, the SLBX file 30 is generated by compressing the LBX file 31, the CSV file group 32, and the setting file 33 in a predetermined compression format. In this embodiment, the predetermined compression format is the ZIP format.
[0084] The SLBX format is a file format in which the LBX file 31, the CSV file group 32, and the setting file 33 are compressed in a predetermined compression format. In other words, the SLBX format is a format in which the LBX information 62 is integrated (specifically, compressed in this embodiment) together with the database into one file and filed.
[0085] The standard extension for files compressed in ZIP format is "zip". Therefore, the extension of the SLBX file 30 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 30. In this embodiment, the prescribed extension is, for example, "slbx". This extension "slbx" may be set during the process of generating the SLBX file 30, or the extension may be converted to "slbx" after the SLBX file 30 with the "zip" extension is generated.
[0086] As an example, Figure 7 shows a state in which "C:\work" is specified as the destination folder, "myAbc" is specified as the file name for saving, and "SLBX format" is about to be selected as the save format.
[0087] (1-5-2) New save process The new save process executed by the control unit 2 in accordance with the label image creation application 5a to realize the above-mentioned label image saving will be described with reference to Fig. 9. For convenience of explanation, the new save process in Fig. 9 also includes a process for creating a label image. The new save process is executed by the control unit 2 executing a corresponding program module in the label image creation application 5a.
[0088] The new save process is started in response to the editing screen 10 in the initial state exemplified in Fig. 2 being displayed on the display unit 3. In the following explanation of the new save process, for ease of understanding, it is assumed that the new save request is received with the editing screen 10 in the state shown in Fig. 5.
[0089] When the control unit 2 starts the new save process, it performs various processes based on user instructions in S110. The various processes performed here include obtaining a database (see Figs. 3 and 4), creating a label image using the label image OBJ16a (see Figs. 4 and 5), and printing the created label image by the printer 101. Creating a label image includes adding a data image of data in the database to the label image (see Fig. 5). At this time, the control unit 2 writes the LBX information 62 in the work area 60 as described above (see Fig. 11). When a database is read, it also writes the database in the work area 60 (see Fig. 11). Hereinafter, the database written in the work area is referred to as "database 63" with the reference numeral 63 (see Fig. 11).
[0090] In S120, the control unit 2 accepts a new save request from the user. As described above, the new save request is accepted via the file save dialog 40 (see Figs. 6 to 7). When the new save request is accepted, in S130, the control unit 2 determines the file format designated for saving.
[0091] When the SLBX format is specified, the control unit 2 executes a first saving process in S140. The first saving process is a process for saving the created label image as an SLBX file 30.
[0092] If the LBX format is specified, the control unit 2 executes a second save process in S150. The second save process is a process for saving the created label image as an LBX file 31. In this case, even if the database is loaded, the SLBX file 30 is not generated.
[0093] Details of the first save process in S140 are as shown in Fig. 10. When the process proceeds to the first save process, the control unit 2 creates a temporary folder 70 in S210 (see 1a in Fig. 11). At this time, the control unit 2 writes the Slbx setting data 61 and the Slbx file path 64 in the working area 60. However, at this point in time, the Slbx setting data 61 is undefined.
[0094] The Slbx file path 64 indicates a file path for saving the SLBX file 30. In the Slbx file path 64, a folder for saving designated by the user (see FIG. 6) is written.
[0095] The Slbx setting data 61 includes data related to the SLBX file 30. Specifically, the Slbx setting data 61 includes an Lbx file name and a CSV file name. The Lbx file name is the name of the LBX file 31 to be saved. The CSV file name is the file name of one of the multiple CSV files included in the CSV file group 32.
[0096] In the Slbx setting data 61 shown in Fig. 11, "CurrentLbx" indicates the Lbx file name, and "CurrentCsv" indicates the CSV file name. Fig. 11 shows an example in which "myAbc" is specified as the file name for saving, and "C:\work\myAbc.slbx" is specified as the file path for saving.
[0097] The temporary folder 70 is a folder that is temporarily used to generate the SLBX file 30. In this embodiment, the temporary folder 70 is different from the destination folder for saving the SLBX file 30 designated by the user. More specifically, in this embodiment, the temporary folder 70 is created in a folder that is managed by the OS as a so-called hidden folder. Fig. 11 shows an example in which the temporary folder 70 named "C:\Users\user.name\AppData\Local\Temp\pteslbx\AAAAAA" is created.
[0098] In S220, the control unit 2 initializes the Slbx setting data 61 (see 1b in FIG. 11). Specifically, the LBX file name and the CSV file name are set to initial values (for example, blank). In S230, the control unit 2 determines whether or not the database 63 is connected to the LBX information 62, that is, whether or not the label image to be saved includes a data image. If the database 63 is not connected, the process proceeds to S260. If the database 63 is connected, the control unit 2 proceeds to S240.
[0099] In S240, the control unit 2 saves the first to third tables "test_a", "test_b", and "test_c" of the connected database 63 individually as CSV format files (first to third CSV files 32a, 32b, 32c) in the temporary folder 70 (see 1c in FIG. 12). That is, in S240, a CSV file group 32 is generated and saved. The file names of the first to third CSV files 32a, 32b, and 32c may be determined in any manner. In this embodiment, the file names of the first to third CSV files 32a, 32b, and 32c are the names of the corresponding first to third tables, respectively.
[0100] In S250, the control unit 2 updates the CSV file name in the Slbx setting data 61 to one of the file names of the first to third CSV files 32a, 32b, and 32c saved in S240 (see 1d in FIG. 12). The file name of which CSV file is set in the Slbx setting data 61 can be appropriately determined. For example, the file name of the CSV file of the table including the data incorporated in the label image may be set. Alternatively, the file name of the CSV file of the table corresponding to the table OBJ18 displayed on the editing screen 10 when the new save request was accepted may be set. FIG. 12 shows an example in which the file name of the first table "test_a" is set in the Slbx setting data 61.
[0101] In S260, the control unit 2 generates an LBX file 31 and saves it in the temporary folder 70. That is, the LBX information 62 is saved in the temporary folder 70 as an LBX file 31 in LBX format (see 1e in FIG. 13). In this embodiment, the file name of the LBX file 31 is the file name specified by the user in the new save request, which is "myAbc" in this embodiment.
[0102] In S270, the control unit 2 updates the LBX file name in the Slbx setting data 61 to the file name of the LBX file 31 saved in S260 (see 1f in FIG. 13). In S280, the control unit 2 generates the setting file 33 and saves it in the temporary folder 70. That is, the Slbx setting data 61 is saved in the temporary folder 70 as the setting file 33 in a specified file format (JSON format in this embodiment) (see 1g in FIG. 14). The file name of the setting file 33 may be determined in any way. The file name of the setting file 33 may be determined in advance, for example.
[0103] In S290, the control unit 2 compresses the LBX file 31, the CSV file group 32, and the setting file 33 stored in the temporary folder 70 in a predetermined compression format to generate the SLBX file 30 (see 1h in FIG. 14). Then, the generated SLBX file 30 is saved in the file path indicated by the Slbx file path 64, that is, the file path designated as the save destination by the user (see 1h in FIG. 14).
[0104] In this way, the label image is saved. It is possible to save the label image in SLBX format even if the database is not loaded when the label image is created. In that case, however, the SLBX file 30 does not include the CSV file 32, and the CSV file name in the Slbx setting data 61 is not changed from the initial value.
[0105] (1-6) Opening the label file (1-6-1) Processing Overview Next, the process of opening a saved label file will be described. Note that the label file here is a general term for the SLBX file 30 saved in the SLBX format and the LBX file 31 saved in the LBX format.
[0106] The user can, for example, specify a label file and make a request to open the label file (hereinafter referred to as an "open request"), thereby opening the label file and displaying it on the editing screen 10. The open request can be made in any procedure. The open request can be made, for example, via a file open dialog 50 illustrated in FIG. 15. In this embodiment, the open request includes selecting a label file via the file open dialog 50 and operating an open button 55, as described below. The file open dialog 50 can be displayed in any procedure. The file open dialog 50 can be displayed, for example, starting from the editing screen 10.
[0107] As shown in FIG. 15, the file open dialog 50 includes a navigation pane 51, a file list 52, a file name box 53, a file type box 54, and an Open button 55.
[0108] A folder tree managed by the OS is displayed in the navigation pane 51. The user can select a folder in which a label file to be opened is stored by operating the navigation pane 51. Some or all of the files stored in the folder selected in the navigation pane 51 are displayed in the file list 52.
[0109] The user can specify the file format of the files to be displayed in the file list 52 via the file type box 54. When the file type box 54 is operated, a pull-down menu 56 is displayed in which selectable file formats are listed, as shown in FIG. 15. In the pull-down menu 56 in FIG. 15, "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 52 by selecting a desired file format from the pull-down menu 56.
[0110] The user can select a label file to open from the file list 52. When a label file is selected from the file list 52, the file name of the selected label file is displayed in the file name box 53. When the Open button 55 is operated with the label file selected, a file open process for opening the selected label file is started. Hereinafter, the selected label file is referred to as the "file to be opened."
[0111] (1-6-2) File open processing Details of the file open process are shown in Fig. 16. The file open process is executed by the control unit 2 executing a corresponding program module in the label image creation application 5a. In the following explanation, as an example, it is assumed that the SLBX file 30 named "myAbc.slbx" saved in a folder named "C:\work" is the file to be opened.
[0112] When the control unit 2 starts the file open process, in S410, it acquires the file path of the file to be opened. Then, it writes the acquired file path to the working area 60. Specifically, it writes a user-specified file path 81 to the working area 60 (see 2a in FIG. 18). The user-specified file path 81 indicates the location of the file path of the file to be opened.
[0113] Furthermore, the control unit 2 writes an Slbx file path 82, an Lbx file path 83, an Slbx setting data 84, and a second database path 85 to the working area 60. However, at this point in time, the values of the Slbx file path 82, the Lbx file path 83, the Slbx setting data 84, and the second database path 85 are all indefinite.
[0114] In the Slbx file path 82, the value of the user-specified file path 81 is written in a process described later. In the Lbx file path 83, the file path of the LBX file 31 included in the file to be opened is written later. In the Slbx setting data 84, data related to the SLBX file 30 is written later when the file to be opened is an SLBX file 30. The data written in this Slbx setting data 84 is the same as the data of the Slbx setting data 61 generated when the file to be opened is saved. In other words, the Slbx setting data 61 generated at the time of saving is reproduced as the Slbx setting data 84 through a decompression process described later. The Lbx file name in the Slbx setting data 84 indicates the file name of the LBX file 31 obtained by decompression. The CSV file name in the Slbx setting data 84 indicates the file name of one of the multiple CSV files obtained by decompression. In the second database path 85, the file path of one of the multiple CSV files obtained by decompression is written later.
[0115] In S420, the control unit 2 determines the file format of the file to be opened. If the file to be opened is in SLBX format (i.e., the SLBX file 30), the control unit 2 creates a temporary folder path 86 in the working area 60 in S430 (see 2b in FIG. 18). The temporary folder path 86 is the path of a temporary folder 90 (see FIG. 19) that is temporarily used to decompress the SLBX file 30 to be opened. The temporary folder 90 may be set anywhere. In this embodiment, the temporary folder 90 is the same as the temporary folder 70 created at the time of saving.
[0116] In S440, the control unit 2 writes the SLBX file 30 to be opened to the temporary folder 90 indicated by the temporary folder path 86. Then, the SLBX file 30 is decompressed in the temporary folder 90. As a result, the LBX file 31, the CSV file group 32 (i.e., the first to third CSV files 32a, 32b, and 32c), and the setting file 33 contained in the SLBX file 30 are individually saved in the temporary folder 90 (see 2c in FIG. 19).
[0117] In S450, the control unit 2 writes the information of the setting file 33 decompressed in the temporary folder 90 to the Slbx setting data 84 in the working area 60 (see 2d in FIG. 19). In S460, a storage process is performed (see FIG. 20). Specifically, the file path set in the user-specified file path 81 is written in the Slbx file path 82. Furthermore, by referring to the temporary folder path 86 and the Slbx setting data 84, the file path of the LBX file 31 decompressed in the temporary folder 90 is written in the Lbx file path 83. Furthermore, by referring to the temporary folder path 86 and the Slbx setting data 84, the file path of one CSV file (for example, the first CSV file 32a in this embodiment) of the CSV file group 32 decompressed in the temporary folder 90 is written in the second database path 85. After the storage process in S460 is performed, the process proceeds to S470.
[0118] If the file format of the file to be opened is the LBX format at S420, the process proceeds to S480. At S480, the control unit 2 executes a storage process corresponding to the LBX format. Specifically, the control unit 2 sets the Slbx file path 82 and the second database path 85 to "empty" (null). Furthermore, the control unit 2 writes the file path of the LBX file 31, which is the file to be opened, to the Lbx file path 83. After the storage process at S480 is executed, the process proceeds to S470.
[0119] In S470, the control unit 2 executes an LBX file open process. This LBX file open process is a process for opening the LBX file 31 stored in the file path indicated by the Lbx file path 83. In other words, the LBX file open process is a process for displaying the label image contained in the LBX file 31 on the editing screen 10 and making the label image available for editing and printing. Details of the LBX file open process are as shown in FIG.
[0120] When the control unit 2 moves to the LBX file open process, in S510, the control unit 2 reads the LBX file 31 from the temporary folder 90 indicated by the Lbx file path 83 (see FIG. 21). Specifically, the control unit 2 stores the LBX information 62 included in the LBX file 31 in the working area 60.
[0121] In S520, the control unit 2 determines whether or not a specific file path is set in the second database path 85. If the process of S460 is executed and the process reaches S520, a file path is set in the second database path 85 (see FIG. 20). On the other hand, if the process of S480 is executed and the process reaches S520, no file path is set in the second database path 85, and the value is "empty" (null).
[0122] In S520, if a specific file path is set in the second database path 85, the process proceeds to S530. If a specific file path is not set in the second database path 85 in S520, the process proceeds to S560. In S560, the control unit 2 determines whether or not the first database path is included in the LBX information 62. If the first database path is not included, the process proceeds to S550. If the first database path is included, the process proceeds to S570.
[0123] In S570, the control unit 2 updates the second database path 85 to the first database path included in the LBX information 62. That is, the value of the second database path 85 is set to the first database path.
[0124] In S530, the control unit 2 reads a database file according to the second database path 85. Then, the read database is stored in the work area 60. Specifically, when the process has transitioned from S520 to S530, the CSV file group 32 is read from the temporary folder 90 indicated by the second database path 85, and the database 63 included in the CSV file group 32 is stored in the work area 60 (see FIG. 22). In other words, the database 63 stored here includes the databases of the first to third CSV files 32a to 32c included in the CSV file group 32.
[0125] On the other hand, when the process has transitioned from S570 to S530, a database file is read from the folder indicated by the second database path 85, and the database contained in the database file is stored in the work area 60.
[0126] In S540, the control unit 2 links the database stored in S530 to the LBX information 62 (see FIG. 22). In other words, the database is connected to the LBX information 62. This process includes updating the first database path in the LBX information 62 to the value of the second database path 85.
[0127] In S550, the control unit 2 displays the editing screen 10. Then, the control unit 2 updates the contents of the editing screen 10 based on the information read into the work area 60. That is, the control unit 2 displays the editing screen 10 based on the label file to be opened.
[0128] More specifically, it displays a label image OBJ16a indicating the label image indicated by the LBX information 62. It also displays a table OBJ18 of the CSV file indicated by the second database path 65. Furthermore, it makes the table OBJ18 available to be alternatively selected from among the first to third tables "test_a", "test_b", and "test_c".
[0129] Furthermore, if the label image contains a data image, data is obtained from the database 63 for each data image based on the corresponding link information. Then, the obtained data is displayed as a data image OBJ in a form based on the corresponding data image information.
[0130] If the file to be opened is an LBX format file, the table OBJ 18 is displayed according to the first database path included in the LBX information 62, and the data image OBJ is displayed based on the data image information included in the LBX information 62.
[0131] By such a file open process, the saved label image is reproduced on the editing screen 10. For example, when "myAbc.slbx" saved in the edited state shown in Fig. 5 is opened by the open process, the same editing screen 10 as that shown in Fig. 5 is displayed on the editing screen 10.
[0132] On the editing screen 10, the user can further edit the label image OBJ16a, print the label image using the printing device 101, or save the label image. Furthermore, the user can switch the table to be displayed as the table OBJ18 by operating the table box 17. In S560, the control unit 2 accepts requests for editing, printing, saving, etc. based on user instructions, and performs processing in accordance with the user instructions.
[0133] (1-7) Effects of the embodiment According to the embodiment described above, the LBX file 31, the CSV file group 32, and the setting file 33 are integrated and saved in one SLBX file 30. This makes it possible to appropriately manage the label files of the label images including the data images together with the database.
[0134] The CSV file group 32 includes a plurality of CSV files. That is, all tables of the database loaded during editing are saved as the SLBX file 30. Then, when the SLBX file 30 is opened and the editing screen 10 is displayed (see FIG. 5), each of the plurality of CSV files is loaded and can be alternatively displayed as the table OBJ 18. Therefore, after opening the SLBX file 30, the user can select a desired table and incorporate the data in the table into the label image in a manner almost the same as before saving.
[0135] Moreover, the SLBX file 30 is generated by compression in a predetermined compression format, so that the SLBX file 30 can be generated easily and efficiently. Furthermore, when the SLBX file 30 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 30 are eliminated or relaxed.
[0136] Furthermore, when the SLBX file 30 is generated, the extension of the SLBX file 30 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 30 is a label file.
[0137] In addition, the temporary folder 70 is different from the destination folder. Therefore, the SLBX file 30 can be generated without affecting the destination folder. In particular, in this embodiment, the temporary folder 70 is generated in a so-called hidden folder. Therefore, the SLBX file 30 can be generated without the user being aware that the temporary folder 70 was used to generate the SLBX file 30. This effect is also common to the temporary folder 90 created when the file is opened.
[0138] 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.
[0139] 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.
[0140] (2-1) The CSV file group 32 may include all tables in the corresponding database, or may include only some of the tables. For example, when saving a label image, the user may be able to arbitrarily select one or more tables included in the CSV file group 32. Then, the one or more tables selected by the user may be saved as the CSV file group 32.
[0141] (2-2) In the above embodiment, when the process transitioned from S520 to S530, the CSV file group 32 was read from the temporary folder 90 indicated by the second database path 85. That is, all of the CSV files stored in the temporary folder 90 were read. This is based on the fact that specifications are set in advance to read all of the CSV files stored in the temporary folder 90.
[0142] On the other hand, the label image creation software 5a may be able to determine in advance which CSV files should be read from the temporary folder 90. Then, the determined CSV files may be read from the temporary folder 90. In this case, even if a CSV file other than the CSV file group 32 extracted from the SLBX file 30 is stored in the temporary folder 90, the CSV file can be omitted and only the necessary CSV file can be read.
[0143] Such specifications may be realized in any manner. For example, when the SLBX file 30 is saved, information indicating each of the multiple CSV files saved as the CSV file group 32 may be stored in the setting file 33. Then, when the file is opened, the information may be obtained from the setting file 33, and the multiple CSV files indicated by the information may be read from the temporary folder 90.
[0144] (2-3) The temporary folder 70 may be created anywhere. The temporary folder 70 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 30 designated by the user.
[0145] (2-4) The SLBX file 30 does not have to have the setting file 33. When opening an SLBX file 30 that does not have the setting file 33, the LBX file 31 and the CSV file group 32 stored in the temporary folder 90 may simply be read.
[0146] (2-5) The SLBX file 30 may be generated by a method other than compression. In other words, the LBX file 31, the CSV file group 32, and the setting file 33 may be integrated into one file by any method. In addition, in the file 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.
[0147] (2-6) 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.
[0148] (2-7) 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.
[0149] (2-8) 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. Also, 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.
[0150] [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 having a plurality of data tables; an image generation process for generating a print image to be printed by the printing device, the image generation process including adding a data image to the print image, the data image indicating data specified by a user of the image creation program in a selected one of the plurality of data tables acquired by the database acquisition process; 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 plurality of table files each including the plurality of data tables included in the database acquired by the database acquisition process; an integration process for integrating the image information file generated in the first generation process and the plurality of table files generated in the second 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 second generation process generates each of the plurality of table files in a compatible file format that can be used by a plurality of different application software. Image creation program. [Item 3] The image creation program according to item 1 or 2, the integration process generates the extended image file by collectively compressing the image information file and the plurality of table files in a predetermined compression format; Image creation program. [Item 4] Item 3. An image creation program according to item 3, The control unit further includes: a filename determination process for determining a filename of the extended image file, 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. [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 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 table files in the first temporary folder; the integration process integrates the image information file and the plurality of table files 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 control unit further includes: a third generation process for generating a setting file including setting information indicating a name of the image information file generated in the first generation process and a name of a currently selected one of the plurality of table files generated in the second generation process; Run the command, the integration process integrates the image information file, the plurality of table files, and the setting file into the one file to generate the extended image file. Image creation program. [Item 8] An image creation program according to any one of items 1 to 7, The control unit further includes: a storage format receiving process for receiving, as a storage format of the image information, a first format for integrating the image information into the single file, or a second format for not integrating the image information into the single file; Run the command, the integration process is not executed when the designation of the second format is accepted by the storage format acceptance process, but is executed when the designation of the first format is accepted; When the designation of the second format is accepted by the saving format accepting process, the saving process saves the image information file generated by the first generating process. Image creation program. [Item 9] An image creation program according to any one of items 1 to 8, 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 and the plurality of table files; an object display process for displaying, on the display unit, a print image object indicating the print image indicated by the image information based on the image information in the image information file obtained by the decompression process, and displaying, on the display unit, a table object indicating the data table included in one of the plurality of table files obtained by the decompression process; An image creation program that runs [Item 10] Item 9. An image creation program according to item 9, The control unit further includes: a third generation process for generating a setting file including setting information indicating a name of the image information file generated in the first generation process and a name of a currently selected one of the plurality of table files generated in the second generation process; Run the command, the integration process integrates the image information file, the plurality of table files, and the setting file into the one file to generate the extended image file; the decompression process further obtains the setting file by decompressing the specified extended image file; the object display process displays, on the display unit, a table object indicating the data table included in one of the plurality of table files acquired by the decompression process, the one having the name indicated in the setting file acquired by the decompression process. Image creation program. [Item 11] Item 11. The image creation program according to item 9 or 10, The control unit further includes: a selection receiving process for receiving a selection of one of the plurality of data tables when the table object is displayed on the display unit; Run the command, When the selection is accepted by the selection accepting process, the object display process switches the table object to be displayed on the display unit to the table object indicating the selected data table. Image creation program. [Item 12] An image creation program according to any one of items 9 to 11, 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 plurality of table files in the second temporary folder; Image creation program. [Item 13] Item 13. The image creation program according to item 12, 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 14] Item 14. The image creation program according to item 12 or 13, The control unit further includes: an image information reading process for reading the image information in the image information file stored in the second temporary folder; a data table reading process for reading the plurality of data tables included in the plurality of table files stored in the second temporary folder; Run the command, the object display process displays, on the display unit, the print image object based on the image information read by the image information reading process, and the table object indicating one of the plurality of data tables read by the data table reading process. Image creation program. [Item 15] An image creation program according to any one of items 1 to 14, 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.
[0151] (3-2) Correspondence of terms The label image creation application 5a corresponds to an example of an image creation program in the present disclosure. The label image OBJ16a corresponds to an example of a print image object in the present disclosure. The label image shown by the label image OBJ16a corresponds to an example of a print image in the present disclosure. The table OBJ18 corresponds to an example of a table object in the present disclosure. The LBX information 62 corresponds to an example of image information in the present disclosure. The LBX file 31 corresponds to an example of an image information file in the present disclosure. The CSV file group 32 (i.e., the first to third CSV files 32a to 32c) corresponds to an example of a plurality of table files in the present disclosure. The SLBX file 30 corresponds to an example of an extended image file in the present disclosure. The extension "slbx" of the SLBX file 30 corresponds to an example of a specific extension in the present disclosure. The standard extension "zip" of a compressed file in the ZIP format corresponds to an example of a prescribed extension in the present disclosure. The CSV format corresponds to an example of a compatible file format in the present disclosure. The temporary folder 70 corresponds to an example of a first temporary folder in the present disclosure. The temporary folder 90 corresponds to an example of a second temporary folder in the present disclosure. The Slbx setting data 61 corresponds to an example of setting information in this disclosure.
[0152] S110 corresponds to an example of an image generation process and a database acquisition process in the present disclosure. S120 corresponds to an example of a save destination reception process and a save format reception process in the present disclosure. S210 corresponds to an example of a first temporary folder creation process in the present disclosure. S240 corresponds to an example of a second generation process in the present disclosure. S260 corresponds to an example of a first generation process in the present disclosure. S280 corresponds to an example of a third generation process in the present disclosure. S290 corresponds to an example of a file name determination process, an integration process, and a save process in the present disclosure. S430 corresponds to an example of a second temporary folder creation process in the present disclosure. S440 corresponds to an example of a decompression process in the present disclosure. S510 corresponds to an example of an image information reading process in the present disclosure. S530 corresponds to an example of a data table reading process in the present disclosure. S550 corresponds to an example of an object display process in the present disclosure. [Explanation of symbols]
[0153] 1...information processing device, 2...control unit, 2a...CPU, 2b...memory, 3...display unit, 4...input unit, 5a...label image creation application, 6...communication unit, 10...editing screen, 16...label object, 20...database selection screen, 30...SLBX file, 31...LBX file, 31a...layout information file, 32...CSV file group, 32a, 32b, 32c...CSV file, 33...setting file, 40...file save dialog, 50...file open dialog, 70, 90...temporary folder, 101...printing device.
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 having a plurality of data tables; an image generation process for generating a print image to be printed by the printing device, the image generation process including adding a data image to the print image, the data image indicating data specified by a user of the image creation program in a selected one of the plurality of data tables acquired by the database acquisition process; 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 plurality of table files each including the plurality of data tables included in the database acquired by the database acquisition process; an integration process for integrating the image information file generated in the first generation process and the plurality of table files generated in the second 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:
2. 2. The image creation program according to claim 1, the second generation process generates each of the plurality of table files in a compatible file format that can be used by a plurality of different application software. Image creation program.
3. 3. The image creation program according to claim 2, the integration process generates the extended image file by collectively compressing the image information file and the plurality of table files in a predetermined compression format; Image creation program.
4. 4. The image creation program according to claim 3, The control unit further includes: a filename determination process for determining a filename of the extended image file, 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.
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 table files in the first temporary folder; the integration process integrates the image information file and the plurality of table files 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. 2. The image creation program according to claim 1, The control unit further includes: a third generation process for generating a setting file including setting information indicating a name of the image information file generated in the first generation process and a name of a currently selected one of the plurality of table files generated in the second generation process; Run the command, the integration process integrates the image information file, the plurality of table files, and the setting file into the one file to generate the extended image file. Image creation program.
8. 2. The image creation program according to claim 1, The control unit further includes: a storage format receiving process for receiving a designation of a first format for integrating the image information into the single file or a second format for not integrating the image information into the single file as a storage format of the image information; Run the command, the integration process is not executed when the designation of the second format is accepted by the storage format acceptance process, but is executed when the designation of the first format is accepted; the saving process saves the image information file generated in the first generation process when the designation of the second format is accepted in the saving format acceptance process. Image creation program.
9. The image creation program according to any one of claims 1 to 8, 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 and the plurality of table files; an object display process for displaying, on the display unit, a print image object indicating the print image indicated by the image information based on the image information in the image information file obtained by the decompression process, and displaying, on the display unit, a table object indicating the data table included in one of the plurality of table files obtained by the decompression process; An image creation program that runs
10. 10. The image creation program according to claim 9, The control unit further includes: a third generation process for generating a setting file including setting information indicating a name of the image information file generated in the first generation process and a name of a currently selected one of the plurality of table files generated in the second generation process; Run the command, the integration process integrates the image information file, the plurality of table files, and the setting file into the one file to generate the extended image file; the decompression process further obtains the setting file by decompressing the specified extended image file; the object display process displays, on the display unit, a table object indicating the data table included in one of the plurality of table files acquired by the decompression process, the data table being included in the one whose name is indicated in the setting file acquired by the decompression process. Image creation program.
11. 10. The image creation program according to claim 9, The control unit further includes: a selection receiving process for receiving a selection of one of the plurality of data tables when the table object is displayed on the display unit; Run the command, When the selection is accepted by the selection accepting process, the object display process switches the table object to be displayed on the display unit to the table object indicating the selected data table. Image creation program.
12. 10. The image creation program according to claim 9, 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 plurality of table files in the second temporary folder; Image creation program.
13. 13. The image creation program according to claim 12, 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.
14. 13. The image creation program according to claim 12, The control unit further includes: an image information reading process for reading the image information in the image information file stored in the second temporary folder; a data table reading process for reading the plurality of data tables included in the plurality of table files stored in the second temporary folder; Run the command, the object display process displays, on the display unit, the print image object based on the image information read by the image information reading process, and the table object indicating one of the plurality of data tables read by the data table reading process. Image creation program.
15. 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.
16. 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 having a plurality of data tables; an image generation process for generating a print image to be printed by the printing device, the image generation process including, when the database is acquired by the database acquisition process, adding to the print image a data image showing data designated by a user of the image creation program in a selected one of the plurality of data tables; 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 plurality of table files each including the plurality of data tables included in the database acquired by the database acquisition process; an integration process for integrating the image information file generated in the first generation process and the plurality of table files generated in the second 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 information processing device configured to execute the above.
Citation Information
Patent Citations
Printing device and print processing program
JP2019211904A
