Print data creation program and information processing device
The print data creation program simplifies the mapping of database fields to objects by allowing direct text-based association, reducing steps and improving user interaction, thus enhancing the efficiency and usability of print data generation.
Patent Information
- Application Number
- JP2021050348
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-03-24
- Publication Date
- 2025-01-22
- Estimated Expiration
- 2041-03-24
AI Technical Summary
Existing print data creation systems require multiple operational steps for mapping database fields to objects, including displaying candidate fields, selecting, and determining fields, which can be cumbersome and inefficient.
A print data creation program that communicates with a control unit, display unit, input unit, storage unit, and printing device to facilitate reception, detection, and printing processes, allowing text input to associate fields with objects directly, reducing the number of steps and enhancing user interaction through text-based field search and input guidance.
This approach simplifies the print data creation process by reducing operational steps, providing a text-based field search function, and improving user interface operability through highlighting and automatic field association, thereby enhancing the efficiency and usability of print data generation.
Smart Images

Figure 0007619118000001 
Figure 0007619118000002 
Figure 0007619118000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a print data creation program and an information processing apparatus. [Background technology]
[0002] 2. Description of the Related Art A print data editing device is known that references a database in which text data is arranged in rows and columns, and successively creates print data and outputs the print data to a printing device (see Patent Document 1).
[0003] In this device, by selecting a field from the database to be inserted into an object on the display screen, the text data contained in the selected field is inserted into the object. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2019-051657 A Summary of the Invention [Problem to be solved by the invention]
[0005] In the above-mentioned apparatus, the association of a database field with an object requires operation steps such as displaying candidate fields, selecting a field, and deciding on the field.
[0006] An object of one aspect of the present disclosure is to provide a print data creation program that is capable of associating a field with an object using input text. [Means for solving the problem]
[0007] One aspect of the present disclosure is a print data creation program that causes a control unit of an information processing device, which has a control unit, a display unit, an input unit, a memory unit in which a database described as a matrix of cells composed of text data is stored, and a communication unit configured to communicate with a printing device, to execute a reception process, a detection process, a matching process, and a printing process.
[0008] The receiving process receives text input by the input unit for an object displayed on the display unit, and the detecting process detects, from a database, at least one candidate cell that includes at least a part of the text input for the object.
[0009] In the matching process, a column in the database that includes a specific cell selected from at least one candidate cell is stored as a field corresponding to the object. In the printing process, print data in which text data of cells to be printed among those included in the field is inserted into the object is output to a printing device.
[0010] Another aspect of the present disclosure is an information processing device including a control unit, a display unit, an input unit, a storage unit storing a database described as a matrix of cells composed of text data, and a communication unit configured to communicate with a printing device. The control unit is configured to execute a reception process, a detection process, a matching process, and a printing process.
[0011] The receiving process receives text input by the input unit for an object displayed on the display unit, and the detecting process detects, from a database, at least one candidate cell that includes at least a part of the text input for the object.
[0012] In the matching process, a column in the database that includes a specific cell selected from at least one candidate cell is stored as a field corresponding to the object. In the printing process, print data in which text data of cells to be printed among those included in the field is inserted into the object is output to a printing device.
[0013] With such a configuration, it is possible to associate fields with objects based on the text entered into the objects, and therefore it is possible to provide the information processing device with added value such as reducing the number of steps required to create print data, a function for searching fields by text, and a function for guiding users through input. [Brief description of the drawings]
[0014] [Figure 1] FIG. 1 is a schematic configuration diagram showing an image processing system according to an embodiment. [Diagram 2] FIG. 2 is a schematic diagram illustrating an example of a database according to an embodiment. [Diagram 3] FIG. 3 is a schematic diagram showing an example of a preview screen and a database selection screen displayed on the information processing device of FIG. [Figure 4] FIG. 4 is a schematic diagram showing an example of a preview image and a database display screen displayed on the information processing device of FIG. [Diagram 5] FIG. 5 is a schematic diagram showing an example of a preview image and a database display screen displayed on the information processing device of FIG. [Figure 6] FIG. 6 is a schematic diagram showing an example of a preview image and a database display screen displayed on the information processing device of FIG. [Figure 7] FIG. 7 is a schematic diagram showing an example of a preview image and a database display screen displayed on the information processing device of FIG. [Figure 8] 8A, 8B, 8C, 8D, and 8E are schematic diagrams showing an example of highlighting a cell on a database display screen. [Figure 9] FIG. 9A is a schematic diagram showing an example of an offset setting screen, and FIG. 9B is a schematic diagram showing an example of a form creation screen. [Figure 10] FIG. 10 is a flow chart illustrating an outline of the process executed by the control unit of the information processing device in FIG. [Figure 11]11A and 11B are flow charts that outline the prioritized cell determination process executed in the process of FIG. [Figure 12] FIG. 12 is a flow diagram illustrating the specific cell selection process executed in the process of FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] [1. First embodiment] [1-1. Configuration] An information processing device 1 shown in FIG. 1, together with a printing device 101, constitutes an image processing system.
[0016] <Information processing device> 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.
[0017] In this embodiment, a smartphone is used as an example of the information processing device 1. However, the information processing device 1 is not limited to a smartphone, and a mobile terminal other than a smartphone, such as a tablet, and a personal computer can also be used as the information processing device 1.
[0018] <Control Unit> The control unit 2 has a CPU 2A and a memory 2B. The CPU 2A is a processor that performs various processes based on the programs and data stored in the memory 2B. The memory 2B includes a ROM, a RAM, a flash memory, etc. The memory 2B stores an OS (operating system) program, etc.
[0019] <Display section> The display unit 3 is a display that displays the standby screen of the information processing device 1, the results of application execution by the control unit 2, and the like.
[0020] <Input section> The input unit 4 is configured with a device for a user to input to an application, etc. Examples of the input unit 4 include a touch panel integrated with the display unit 3, a physical keyboard, a microphone, and the like.
[0021] <Storage section> The storage unit 5 stores application programs and data used by the applications.
[0022] Specifically, a print data creation program that controls the printing device 101 and a database used by the print data creation program are stored in the storage unit 5. The print data creation program is a program that causes the control unit 2 to execute processing for printing by the printing device 101.
[0023] 2, the database DB is described as a matrix of cells S each consisting of text data. The database DB includes a header H and a matrix body consisting of at least one row and multiple columns.
[0024] The header H is a column name given to each column in the database DB. Note that, although each cell S in Figure 2 shows an example of text consisting of one character, the cell S may also contain text that includes multiple characters.
[0025] The database DB is stored in the storage unit 5 as data in, for example, a CSV (Comma-Separated Values) format. The storage unit 5 may store a plurality of databases DB.
[0026] <Communications Department> 1 is configured to communicate with a communication unit 105 of the printing device 101. The communication unit 6 transmits print data to the printing device 101 by wireless communication or wired communication. For example, short-range wireless communication, wireless LAN, etc. are used as the wireless communication.
[0027] <Printing device> The printing device 101 prints on a printing medium such as a printing paper or a label based on a command from the information processing device 1. The printing device 101 includes a control unit 102, a display unit 103, an input unit 104, a communication unit 105, and a printing unit 106.
[0028] The control unit 102 includes a CPU 102A and a memory 102B. The CPU 102A performs various processes related to printing based on programs and data stored in the memory 102B and data received by the communication unit 105.
[0029] The display unit 103 displays the printing status, communication status, etc. The input unit 104 inputs print settings, etc. of the printing device 101 to the control unit 102. The communication unit 105 receives print data from the communication unit 6 of the information processing device 1 and transmits codes of the print result, etc. to the communication unit 6.
[0030] The printing unit 106 has a print medium transport mechanism and a printing mechanism that prints characters, figures, and the like on the print medium. The printing unit 106 prints on the print medium based on print data transmitted from the information processing device 1. The printing method of the printing unit 106 is not particularly limited, and examples thereof include a thermal method, an inkjet method, and an ink ribbon method.
[0031] <Processing of control unit> The control unit 2 of the information processing device 1 executes at least a start-up process, a read process, a reception process, a print target selection process, a detection process, a cell selection process, a matching process, an offset setting process, a print process, and a form creation process.
[0032] (Startup process) The control unit 2 executes a start-up process in response to the start-up of the print data creation application by a user operation. In the start-up process, the control unit 2 displays the preview screen PV shown in FIG.
[0033] A print image PI is displayed on the preview screen PV. The print image PI is an image that reflects the size, position, color, font, etc. of characters to be printed on a print medium (a strip-shaped label in this embodiment).
[0034] A first object OB1 and a second object OB2 are placed in the print image PI in Fig. 3. The first object OB1 and the second object OB2 are areas in which the user can input any text. Note that only one object may be placed in the print image PI, or three or more objects may be placed.
[0035] Fig. 3 shows a state in which no text has been entered into any of the objects, so the first object OB1 and the second object OB2 in Fig. 3 display their respective object names, "Text1" and "Text2."
[0036] (Read process) In the read process, the control unit 2 reads a user-specified database from the storage unit 5 before the detection process.
[0037] Specifically, the control unit 2 displays a database selection screen DS shown in FIG. 3 in a work area WS provided below the preview screen PV, based on a database call operation by the user.
[0038] The database selection screen DS displays at least one database name DN (three in FIG. 3) stored in the storage unit 5. The user selects one from these database names DN.
[0039] The control unit 2 reads the database with the database name DN selected by the user from the storage unit 5 and stores it in the memory 2B. After reading is complete, the control unit 2 displays the read database in a matrix format in the work area WS as shown in FIG.
[0040] (Reception process) In the reception process, the control unit 2 receives text input by the input unit 4 for an object displayed on the preview screen PV of the display unit 3.
[0041] Specifically, based on the user's selection of an object, the control unit 2 switches the display of the selected object to a display indicating that text input is possible, as shown in Fig. 5. In Fig. 5, an underscore is displayed on the selected second object OB2, indicating that it is a target for text input.
[0042] When the user inputs text while an object is selected, the control unit 2 displays the input text in the selected object as shown in Fig. 6. Fig. 6 shows a state in which the user inputs "A" for the second object OB2.
[0043] (Printing target selection process) The print object selection process is executed as necessary at any timing after the reading process and before the start of the printing process.
[0044] In the print target selection process, the control unit 2 selects cells in the database to be printed using the input unit 4. In this embodiment, the control unit 2 displays a print target check box CB for each row of the database, as shown in Fig. 7. The print target check box CB switches whether each row of the database is included in the print target or not, depending on whether it is checked or not.
[0045] For example, if the state of the print target checkbox CB in the first row of the database in Figure 7 is "Print target" (e.g., checked), the cells in the first row of columns "F1" and "F2" (i.e., the text "A" and the text "B") are respectively selected as the text to be embedded in the print data.
[0046] On the other hand, if the state of the print check box CB in the first row of the database is "not to be printed" (for example, unchecked), neither the text of "A" nor the text of "B" will be printed.
[0047] In the print target selection process, the control unit 2 may allow the user to select the print target on a cell-by-cell basis of the database, instead of on a row-by-row basis of the database.
[0048] (Detection process) In the detection process, at least one candidate cell that contains at least a part of the text input to the object is detected from the database read in the read process (hereinafter also referred to as the "read database"). In other words, the control unit 2 performs an exact match search or partial match search of the text, with all cells included in the read database as search targets.
[0049] For example, when the text input to the object is "A", the control unit 2 detects cells containing text such as "AN", "TA", etc. as candidate cells. Also, when the text input to the object is "HAT", the control unit 2 detects cells containing text such as "AT", "HA", etc. as candidate cells.
[0050] The control unit 2 may detect, as candidate cells, cells that contain only text that matches the input text exactly, only text that matches the beginning, or only text that matches the end, based on, for example, a user setting. The control unit 2 may also detect, as candidate cells, only cells that match the number of characters (e.g., two characters) or more set by the user.
[0051] In the detection process, the control unit 2 highlights the candidate cell relative to other cells on the display unit 3. Specifically, the control unit 2 highlights the candidate cells in the read database displayed in the work area WS as shown in Fig. 7. In Fig. 7, the "A" in the first row of the "F1" column in the read database, which matches the "A" entered in the second object OB2, is highlighted in bold.
[0052] The highlighting includes, in addition to bolding, changing the character color to a color that is easy to perceive, adding a background color, adding an underline, and combinations of these. In addition, the control unit 2 may highlight the candidate cell by, for example, performing animation such as blinking, moving the cursor to the candidate cell (i.e., jumping), etc.
[0053] (Cell selection process) In the cell selection process, when a plurality of candidate cells are detected, the control unit 2 selects a specific cell from among the candidate cells by the input unit 4. The control unit 2 also stores the specific cell in the memory 2B in association with the object for which the detection process has been performed.
[0054] Specifically, the user selects one cell from among the candidate cells displayed on the display unit 3 using the input unit 4, and the selected candidate cell becomes the specific cell. The specific cell may be selected by directly selecting the candidate cell or by selecting a column that includes the candidate cell. When a column is selected, the candidate cell included in the selected column becomes the specific cell.
[0055] In Fig. 7, a selection button B1 labeled "Merge" is displayed for the "F1" column, which contains the candidate cell (i.e., the cell in the first row of the "F1" column). When the user presses (i.e., taps) the selection button B1, the "F1" column is selected, and the cell in the first row of the "F1" column is selected as the specific cell.
[0056] Although one selection button B1 is displayed in Fig. 7, if multiple candidate cells are detected across multiple columns, multiple selection buttons B1 are displayed in the work area WS. The user selects one of the multiple selection buttons B1.
[0057] (Matching process) In the association process, the control unit 2 stores in the memory 2B, a column in the database that includes a specific cell selected from at least one candidate cell, as a field corresponding to the object for which the detection process has been performed.
[0058] In the example of Fig. 7, the selection button B1 selects the "F1" column as a field corresponding to the second object OB2. In other words, the selection button B1 in Fig. 7 serves both as a button for selecting a specific cell and a button for selecting a field.
[0059] In the association process, the control unit 2 automatically sets the specific cell as a cell to be printed. For example, if the state of the print target check box CB of the row including the specific cell is "not to be printed," the control unit 2 changes it to print only the specific cell or the row including the specific cell.
[0060] Furthermore, in the association process, the control unit 2 causes the display unit 3 to display an object into which the text data of the print start cell in the associated field (that is, the cell in the top row taking into account an offset, which will be described later) has been inserted.
[0061] For example, if the text entered into the second object OB2 is "1" and the text in the cell in the first row of the associated field is "A," the control unit 2 displays the second object OB2 on the preview screen PV with the entered "1" changed to "A."
[0062] (Detection process for multiple objects) In the detection process, if a processed object for which detection and matching processes have been performed earlier (i.e., field matching has been completed) than the object for which candidate cell detection is currently being performed (hereinafter also referred to as the "target object") is present in the same print image PI, the control unit 2 selects a candidate cell to be highlighted in the target object based on one of the first, second, third and fourth criteria.
[0063] In addition, a case where a processed object exists is, for example, a case where, after text input, candidate cell detection, specific cell selection, and field matching are completed for a first object OB1, candidate cell detection for a second object OB2 is performed.
[0064] In the first criterion, the control unit 2 highlights all candidate cells regardless of the processing result of the processed object (i.e., the selected specific cell and field). Fig. 8A shows an example in which, when the text to be searched is "A", cells containing "A" in multiple columns are each highlighted.
[0065] In the second criterion, the control unit 2 highlights the cells in the same row as the specific cell of the processed object. For example, as shown in Fig. 8B, when the specific cell of the processed object is the cell surrounded by a dotted line (i.e., the cell in the first row of the "F1" column), only the cell containing "A" in the same first row as this cell (i.e., the cell in the first row of the "F3" column) is highlighted, and the cells containing "A" in other rows are not highlighted.
[0066] 8B, 8C, and 8D, the column marked with "MEGRED" indicates a field associated with a processed object (hereinafter, also referred to as a "corresponding field"). Note that the dotted line indicating a specific cell and the mark "MEGRED" may or may not be displayed on the display unit 3.
[0067] In the third criterion, the control unit 2 highlights cells that are not included in the corresponding field of the processed object. For example, as shown in Fig. 8C, when the corresponding field is the "F1" column, the cell that includes "A" in the "F1" column (i.e., the cell in the third row of the "F1" column) is not highlighted, and only the cells that include "A" in other columns are highlighted.
[0068] In the fourth criterion, the control unit 2 highlights the cells included in the corresponding field of the processed object. For example, as shown in Fig. 8D, when the corresponding field is the "F1" column, only the cell including "A" included in the "F1" column (i.e., the cell in the third row of the "F1" column) is highlighted, and the cells including "A" included in other columns are not highlighted.
[0069] In the second, third and fourth criteria, the control unit 2 may highlight candidate cells other than the candidate cells to be highlighted (hereinafter also referred to as "priority cells") less strongly than the priority cells. In other words, the control unit 2 may perform three-level identification to distinguish between (1) priority cells, (2) candidate cells other than the priority cells, and (3) other cells.
[0070] The control unit 2 highlights the third criterion when the label direction specified for the read database is the row direction LD, and highlights the fourth criterion when the label direction specified for the read database is the column direction CD.
[0071] The "label direction" is the arrangement direction in the read database of text that is frequently arranged (i.e. printed) together in one print image PI. For example, in Fig. 8A, if "1", "2", "3" and "4" in the second line of the database are frequently arranged together in one print image PI, the label direction is the row direction LD.
[0072] Also, for example, in FIG. 8A, if "a," "1," and "A" included in the "F1" column are frequently arranged together in one print image PI, the label direction is the column direction CD.
[0073] The "row direction LD" refers to the horizontal direction along the rows in the database, that is, the direction in which the columns are lined up. The "column direction CD" refers to the vertical direction along the columns in the database, that is, the direction in which the rows are lined up.
[0074] Furthermore, the control unit 2 may perform highlighting by combining the second criterion with any of the third and fourth criterion.
[0075] (Offset setting process) The offset setting process is executed as necessary at any timing after the association process and before the start of the printing process.
[0076] In the offset setting process, the control unit 2 sets, for each object included in the print image PI, the print start cell (that is, the print start row) of the associated field.
[0077] The offset setting process is performed based on a user's input on the offset setting screen OS shown in Fig. 9A, for example. The offset setting screen OS is called up by pressing the offset setting button B2 on the preview screen PV in Fig. 7, for example.
[0078] The offset value (Offset) on the Offset Setting Screen OS indicates the deviation of the field's printing start row from the first row. For example, if the offset value of the "Text1" object is set to "1", the printing start row will be the second row of the "F1" column in the "Text1" object. In other words, the cell in the second row of the "F1" column will be the printing start cell.
[0079] The offset value for each object input in the offset setting process may be a relative offset with respect to other objects. For example, when the offset value of the "Text2" object in Fig. 9A is set to "1", the specification may be such that the cell in the nth row of the "F1" column is printed in the "Text1" object, and the cell in the (n+1)th row of the "F2" column is printed in the "Text2" object.
[0080] (Matching process for multiple objects) When the fourth criterion is highlighted in the detection process, the control unit 2 performs the following process in the association process.
[0081] That is, when a cell included in the corresponding field of the processed object is selected as the specified cell of the object to be processed, the control unit 2 automatically sets a column-wise offset value between the print start cell of the field associated with the object to be processed and the specified cell or the cell in the first row of the field associated with the processed object. That is, the control unit 2 automatically sets the offset value of the object to be processed based on the relationship with the processed object.
[0082] For example, assume that the cell in the second row of column “F1” ("1") is the identified cell of the processed object, as shown in FIG. 8E, and the cell in the third row of column “F1” ("A") is selected as the identified cell of the object to be processed.
[0083] In this case, the control unit 2 sets the print start cell of the field of the object to be processed (i.e., column "F1") to be one row below the cell in the second row, which is the specified cell of the processed object. In other words, the control unit 2 sets the print start cell to the cell in the third row of column "F1". "One row" is the relative shift value in the column direction between the specified cell of the processed object and the specified cell of the object to be processed.
[0084] 8E, the control unit 2 may set the print start cell of the field of the object to be processed to be two rows below the first row cell of the processed object. "Two rows" is the absolute offset value in the column direction of a specific cell of the object to be processed with respect to the first row of the database.
[0085] In this way, the control unit 2 changes the printing start cell in the field of the object to be printed based on the relative or absolute deviation value of a specific cell of the object to be processed relative to a reference cell (i.e., a specific cell of the field associated with the processed object or the cell in the first row).
[0086] (Printing process) In the printing process, the control unit 2 outputs to the printing device 101 print data including a plurality of print patterns in which text data of cells to be printed, among cells included in a field associated with an object, is inserted into the object.
[0087] For example, if the "F1" column in FIG. 8A corresponds to the first object OB1 and the "F2" column corresponds to the second object OB2, the control unit 2 creates a print pattern reflecting multiple print images PI in which the text of the cells in the "F1" column and the "F2" column included in the row in which the print target check box CB is checked is inserted into the first object OB1 and the second object OB2, respectively.
[0088] Furthermore, for an object for which an offset value has been set, the control unit 2 shifts the row of the cell to be inserted into the print image PI from the top row or the row of another object based on the offset value.
[0089] (Form creation process) The form creation process is executed as necessary at any timing after the reading process and before the start of the printing process.
[0090] In the form creation process, the control unit 2 creates a form by linking a plurality of columns contained in the read database, and inserts the form into the object.
[0091] The form creation process is performed based on the user's input on the form creation screen FM shown in Fig. 9B, for example. The form creation screen FM is called up by selecting "Create Form" from the menu that is displayed by pressing the menu button B3 on the preview screen PV in Fig. 7, for example.
[0092] On the form creation screen FM, the user inputs any field and any characters into the input box IW. Fields are input by selecting the column name displayed at the bottom of the form creation screen FM. By pressing the Done button B4 on the form creation screen FM, the created form is added as a new "column" to the candidate cell detection targets.
[0093] 9B, for example, if the cell in the first row of column "F1" is "A" and the cell in the first row of column "F2" is "B", then the text "A:::B" is inserted into the object associated with the form "[F1]:::[F2]". In the printing process, the control unit 2 creates, as printing patterns, a plurality of print images PI in which "A" and "B" in "A:::B" are successively replaced with the cells contained in columns "F1" and "F2".
[0094] [1-2. Processing] An example of a process executed by the control unit 102 to associate a field with an object will be described below with reference to FIG.
[0095] The control unit 102 accepts input of text for an object while displaying the preview screen PV (step S110), and determines whether or not the text in the object has been changed (that is, input or deletion) (step S120).
[0096] If the text has been changed (S120: YES), the control unit 2 searches the database for candidate cells based on the input text (step S130), and determines whether or not there are candidate cells (step S140).
[0097] If there is no candidate cell (S140: NO), the control unit 2 returns to waiting for text input (S110). On the other hand, if there is at least one candidate cell (S140: YES), the control unit 2 determines whether there are multiple candidate cells (step S150).
[0098] If there is one candidate cell (S150: NO), the control unit 2 highlights the candidate cell (step S160). On the other hand, if there are multiple candidate cells (S150: YES), the control unit 2 determines from the record in the memory 2B whether this is the second or subsequent association of the field with the object (i.e., whether a processed object with which the field is associated already exists) (step S170).
[0099] If no processed object exists (S170: NO), the control unit 2 highlights all candidate cells (step S180). On the other hand, if a processed object exists (S170: YES), the control unit 2 executes a priority cell determination process (step S190). Here, the control unit 2 executes either the priority cell determination process shown in FIG. 11A or the priority cell determination process shown in FIG. 11B, depending on the user's settings, etc.
[0100] In the priority cell determination process of FIG. 11A, the control unit 2 acquires the specified cell of the processed object from the memory 2B (step S410), and sets the candidate cell included in the same row as the specified cell of the processed object as the priority cell (step S420).
[0101] In the priority cell determination process of FIG. 11B, the control unit 2 first obtains the correspondence between fields and objects (that is, the field name associated with the processed object) from the memory 2B (step S510).
[0102] Next, the control unit 2 determines whether the label direction of the database is automatically determined (step S520). If the label direction of the database is automatically determined (step S520: YES), the control unit 2 determines the label direction from the size of the database (step S530). For example, if the number of rows in the database is greater than the number of columns, the control unit 2 sets the label direction to the row direction.
[0103] On the other hand, if the label direction of the database is not automatically determined (step S520: NO), the control unit 2 determines the label direction set by the user as the label direction of the database (step S540).
[0104] After determining the label direction, the control unit 2 determines whether the label direction is the row direction (step S550). If the label direction is the row direction (S550: YES), the control unit 2 sets a candidate cell that is not included in the field associated with the processed object as a priority cell (step S560).
[0105] On the other hand, if the label direction is the column direction (S550: NO), the control unit 2 sets the candidate cell included in the field associated with the processed object as the priority cell (step S570).
[0106] After the priority cell determination process, the control unit 2 highlights the determined priority cells (step S200).
[0107] After highlighting the candidate cell (S160, S180 or S200), the control unit 2 executes the specific cell selection process of FIG. 12 (step S210).
[0108] In the specific cell selection process, the control unit 2 accepts the selection of a specific cell by the user (step S710) and determines whether or not a specific cell has been selected (step S720). If a specific cell has been selected (S720: YES), the control unit 2 stores the field including the specific cell as a field corresponding to the object (step S730) and also stores the specific cell itself (step S740).
[0109] After the specific cell selection process, the control unit 2 sets the cell to be printed in the associated field (step S220), and displays an object into which the text data of the print start cell in the field has been inserted (step S230).
[0110] [1-3. Effects] According to the embodiment described above in detail, the following effects can be obtained. (1a) The control unit 2 processes the data, making it possible to associate fields with objects based on text entered into the objects. This can provide the information processing device 1 with added value, such as a reduction in the number of steps required to create print data, a function for searching fields by text, and a function for guiding users through input.
[0111] (1b) Highlighting of candidate cells can improve the operability of the UI (user interface).
[0112] (1c) Candidate cells of the next object are highlighted based on a specific cell or a matched field of a previously matched object, thereby suggesting to the user a field selection based on the relationship between the objects.
[0113] (1d) By determining the priority cell to be highlighted based on the label direction specified in the database, the number of cells to be highlighted can be narrowed down according to the characteristics and usage of the database, thereby improving the operability of field selection.
[0114] (1e) The print start cell is automatically changed from the cell in the first row based on the relationship between the field of the processed object and the specific cell of the object to be processed, thereby reducing the effort required for the user to input an offset value.
[0115] (1f) By automatically setting specific cells as cells to be printed, the user can reduce the effort required to select cells to be printed.
[0116] (1g) An object into which the text data of the print start cell in the field is inserted is displayed on the display unit 3, making it easy for the user to check the print image PI after selecting a field.
[0117] 2. Other embodiments Although the embodiments of the present disclosure have been described above, it goes without saying that the present disclosure is not limited to the above-described embodiments and can take various forms.
[0118] (2a) In the print data creation program and information processing device of the above embodiment, the candidate cells do not necessarily need to be highlighted. (2b) In the print data creation program and information processing device of the above embodiment, the specific cell does not necessarily have to be automatically set as the cell to be printed.
[0119] (2c) In the print data creation program and information processing device of the above embodiment, the layout and design of each screen displayed on the display unit are merely examples, and are not limited to those described above.
[0120] (2d) The function of one component in the above embodiments may be distributed among multiple components, or the functions of multiple components may be integrated into one component. In addition, a part of the configuration of the above embodiments may be omitted. In addition, at least a part of the configuration of the above embodiments may be added to or substituted for the configuration of another of the above embodiments. Note that all aspects included in the technical idea identified from the wording of the claims are embodiments of the present disclosure. [Explanation of symbols]
[0121] 1...information processing device, 2...control unit, 2A...CPU, 2B...memory, 3...display unit, 4...input unit, 5...storage unit, 6...communication unit, 101...printing device, 102...control unit, 102A: CPU; 102B: memory; 103: display unit; 104: input unit; 105...Communications Department, 106...Printing Department.
Claims
1. An information processing device including a control unit, a display unit, an input unit, a storage unit in which a database described as a matrix of cells composed of text data is stored, and a communication unit configured to communicate with a printing device, the control unit being configured to: a receiving process of receiving a text input by the input unit for the object displayed on the display unit; a detection process for detecting, from said database, at least one candidate cell that contains at least a portion of said text entered into said object; a matching process for storing a column in the database including a specific cell selected from the at least one candidate cell as a field corresponding to the object; a printing process for outputting to the printing device print data in which text data of cells to be printed out of the cells included in the field is inserted into the object; A print data creation program that executes the above.
2. 2. The print data creation program according to claim 1, a print data creation program that causes the control unit to execute a read process for reading the database before the detection process;
3. 3. The print data creation program according to claim 1, a print data creation program that causes the control unit to execute a cell selection process for selecting the specific cell by the input unit when a plurality of candidate cells are detected as the at least one candidate cell;
4. 4. The print data creation program according to claim 1, The detection process displays the at least one candidate cell on the display unit in a highlighted manner relative to other cells.
5. 5. The print data creation program according to claim 4, The print data creation program, wherein the emphasis is a highlight display.
6. 6. The print data creation program according to claim 4, A print data creation program in which, during the detection process, the display unit highlights cells among the at least one candidate cell that are included in the same row as the specific cell of a processed object for which the detection process and the matching process were performed prior to the object.
7. 7. The print data creation program according to claim 4, A print data creation program in which, during the detection process, the display unit highlights cells among the at least one candidate cell that are not included in the field associated with a processed object for which the detection process and the matching process were performed prior to the object.
8. 8. The print data creation program according to claim 7, The print data creation program, in the detection process, when a label direction specified for the database is a row direction, the highlighting is performed on cells that are not included in the field associated with the processed object.
9. 7. The print data creation program according to claim 4, A print data creation program in which, during the detection process, the display unit highlights cells among the at least one candidate cell that are included in the field associated with a processed object for which the detection process and the matching process were performed prior to the object.
10. 10. The print data creation program according to claim 9, The print data creation program, in the detection process, when a label direction specified for the database is a column direction, the highlighting is performed on cells included in the field associated with the processed object.
11. 11. The print data creation program according to claim 1, In the association process, the specific cell is automatically set as a cell to be printed.
12. A control unit; A display unit; An input unit; a storage unit in which a database described as a matrix of cells composed of text data is stored; a communication unit configured to communicate with the printing device; Equipped with The control unit is a receiving process of receiving a text input by the input unit for the object displayed on the display unit; a detection process for detecting, from said database, at least one candidate cell that contains at least a portion of said text entered into said object; a matching process for storing a column in the database including a specific cell selected from the at least one candidate cell as a field corresponding to the object; a printing process for outputting to the printing device print data in which text data of cells to be printed out of the cells included in the field is inserted into the object; An information processing device configured to execute the above.
Citation Information
Patent Citations
Search result display device of matrix data
JP2002279336A
Print data edition device, print data edition program, and computer-readable storage medium
JP2006209564A
Label data creating apparatus, program and recording medium
JP2009093245A
Electronic apparatus
JP2015026204A
Printing data editing device and printing data editing program
JP2019051657A