Storage Media
By embedding a program that displays template image attributes and sets button validity on the storage medium, the problem of user misunderstanding of template image printing is solved, paper waste is avoided, and operational accuracy is improved.
Patent Information
- Application Number
- CN202010787246.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-08-19
- Filing Date
- 2020-08-07
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2040-08-07
AI Technical Summary
When printing using template images, users may misunderstand that even unedited template images can be printed as they are, resulting in wasted paper, and non-editable images may be mistaken for editable, resulting in inconvenient operability.
A program on the storage medium is designed. The program can display the attributes of the template image and set the validity of the print and edit buttons according to the attribute status to ensure that only the edited template image can be printed and to avoid unedited images being mistakenly printed. Print.
It effectively avoids the printing of unedited template images, improves the accuracy and convenience of operations, prevents paper waste, and ensures that users understand the editing needs of images.
Smart Images

Figure CN112394889B_ABST
Abstract
Description
Technical Field
[0001] The technical field of the invention of this specification relates to a storage medium storing a program for accepting editing and printing of a template image. Background Art
[0002] There are known technologies for receiving an edit instruction of a template image and a print instruction of a template image in a device that displays a template image as an image with a predetermined format on a display unit. For example, the invention has a structure for receiving label condition settings in a computer connected to a label printer, displaying a template image corresponding to the label condition, and receiving a print instruction of the template image.
[0003] In order to inform the user of the method of use in an easy-to-understand manner, preset information may be input into the template image. The preset information includes information that can be used even if printed as is, such as a general name, and information that cannot be used even if printed as is, such as a virtual QR code. However, for template images that cannot be used even if printed as is, that is, template images that must be edited, the user may print without noticing, thereby wasting paper. Therefore, there is still room for improvement in the operability when using template images. Summary of the invention
[0004] A storage medium made for the purpose of solving the technical problem stores a program, which can be executed by a computer of a device, and the device has the function of displaying a template image, the attributes of the template image include a first attribute that must be edited and a second attribute that can be arbitrarily selected whether to be edited, wherein the program causes the computer to execute: a selection process, the selection process selects a template image; and a display process, the display process causes the display unit of the device to display a first interface, the first interface includes the template image selected in the selection process, the first interface can include a first object and a second object, the first object accepts a print instruction, the second object accepts an edit instruction, when the selected template image is When the first attribute is in an unedited state, the first object is set to an invalid state. When the selected template image is the second attribute, or is the first attribute and has been edited, the first object is set to a valid state. The program also causes the computer to execute: output processing, when the first object in a valid state is operated via the input interface of the device, the output processing outputs a print instruction for printing the template image selected in the selection processing; and editing processing, when the second object in a valid state is operated via the input interface, the editing processing accepts the editing of the template image selected in the selection processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Figure 1 It is a schematic structural diagram of the device according to the embodiment.
[0006] Figure 2 This is a flowchart showing the procedure of label creation processing.
[0007] Figure 3 This is an explanatory diagram showing an example of a top-level interface.
[0008] Figure 4 It is an explanatory diagram showing an example of a template image.
[0009] Figure 5 This is a flowchart showing the order of the editing process.
[0010] Figure 6 This is an explanatory diagram showing an example of a template interface.
[0011] Figure 7 This is an explanatory diagram showing an example of an editing interface.
[0012] Figure 8 This is a flowchart showing the procedure of the printing process.
[0013] Fig. 9 This is an explanatory diagram showing an example of a number of copies selection interface.
[0014] Fig.10 This is a flowchart showing the order of the editing process. DETAILED DESCRIPTION
[0015] Hereinafter, a first embodiment of a program embedded in a device will be described in detail with reference to the drawings. This embodiment is an invention related to an application program (hereinafter referred to as "application") embedded in a portable device such as a smartphone that can display images.
[0016] like Figure 1 As shown, the device 1 of this embodiment has a controller 10, which includes a CPU 11 and a memory 12, and the controller 10 can be connected to the printer 2. In addition, the device 1 has a user interface (hereinafter referred to as "user IF") 20 and a communication interface (hereinafter referred to as "communication IF") 30, which are electrically connected to the controller 10. The device 1 is a device that can execute various applications for printing by the printer 2. In addition, Figure 1 The controller 10 is a general term for hardware and software used for controlling the device 1 , and is not actually limited to representing a single piece of hardware present in the device 1 .
[0017] The CPU 11 executes various processes according to a program read from the memory 12 or based on a user's operation. The CPU 11 is an example of a computer. The memory 12 includes a ROM, a RAM, and a nonvolatile memory such as a HDD and a flash memory, and stores various programs and data.
[0018] The user IF20 includes a touch panel having both a display function and an operation receiving function. The user IF20 is an example of a display unit and an example of an input interface. In addition, the user IF20 may also include a combination of a display that displays information and a keyboard, a mouse, etc. that accepts user input operations.
[0019] The communication IF30 includes hardware for communicating with an external device such as the printer 2. The communication method of the communication IF30 may be wireless or wired, and may also be any standard method such as Wi-Fi (registered trademark), Bluetooth (registered trademark), USB, LAN, etc. In addition, the device 1 of this embodiment may also have a function of connecting to the Internet via the communication IF30.
[0020] like Figure 1 As shown, in the memory 12 of the device 1 of this embodiment, an operating system (hereinafter referred to as "OS") 41, a label making application 42, and an image database (hereinafter referred to as "image DB") 43 are embedded. The OS 41 is, for example, any one of iOS (registered trademark), Android (registered trademark), Windows (registered trademark), MacOS (registered trademark), and Linux (registered trademark).
[0021] The printer 2 of this method is a so-called label printer that has a thermal transfer print head, receives label paper rolled up, unwinds the label paper, and prints. The printer 2 prints an image on the received label paper and conveys the label paper based on a print job received from the device 1, and projects the printed portion outside the machine.
[0022] The print head of the thermal transfer method gradually accumulates heat and rises in temperature due to continuous printing. When the temperature of the print head rises excessively, it may cause a malfunction. Therefore, the printer 2 is configured to stop operation when the temperature of the print head exceeds a predetermined temperature. In addition, in order to prevent the printer 2 from stopping due to excessive temperature rise, the maximum print length, which is the length of the label paper that can be continuously printed, is set for each model, and when the printer continues to print to the maximum print length, the operation is temporarily suspended.
[0023] The label making application 42 of this method is an application for making various labels using the printer 2. The label making application 42 is an example of a program. The label making application 42 receives instructions for making and editing images to be printed by the printer 2, and displays the images for which the instructions have been received on the user IF 20. In addition, the label making application 42 receives instructions for executing the printing of the displayed image, generates a print task based on the displayed image, and sends it to the printer 2. In addition, the label making application 42 of this method can be a program that can be executed independently based on the user's execution instructions, or can be a program that is called and executed from the program during the execution of other programs.
[0024] Image DB43 is a storage area for storing various image data used in label making application 42. Label making application 42 displays an image of the image data stored in image DB43 to user IF20 based on the user's instructions. In this method, image DB43 stores, for example, a plurality of template images that can be selected in label making application 42 and image data of a plurality of use case images representing each use case corresponding to each template image. Each use case image is associated with at least one template image. In addition, the image data stored in image DB43 can be stored at all times, or can be obtained from a server, etc. as needed.
[0025] The template image used in the label making application 42 is image data of a prototype for label making, and includes, for example, a character string, a code image, a frame image, and a sample of an illustration. The label making application 42 is an application that receives, for example, an instruction to edit or print a template image, and the template image is stored in association with a use case image selected from use case images representing use cases of a plurality of labels. By using the label making application 42, the user selects a use case image including a template image similar to the label to be made, and inputs an instruction to edit or print the selected template image, thereby making it easy to obtain a desired label.
[0026] Next, refer to Figure 2 The flowchart of the present invention is used to explain the sequence of label making processing of the label making application 42 based on this method. The label making processing is executed by the CPU 11 of the device 1 upon receiving the execution instruction of the label making application 42. In addition, the following processing and each processing step of the flowchart basically represent the processing of the CPU 11 according to the instructions recorded in each program. The processing performed by the CPU 11 includes hardware control using the API of the OS 41 of the device 1. In this manual, the operation of each program is described by omitting the record of the OS 41.
[0027] In the label making process, first, the CPU 11 displays the top-level interface on the user interface 20 (S101). Figure 3As shown, the top-level interface 50 of this method includes, for example, a title 51, a top-level image 52, and an image area 53 including a plurality of use case images G1, G2, etc. The title 51 and the top-level image 52 are images representing the label making application 42. The use case images G1, G2, etc. are objects that receive selection of template images. In addition, the top-level interface 50 includes all use case images that can be selected, and each use case image is displayed, for example, by scrolling.
[0028] CPU 11 determines whether a selection instruction (S102) is received, and the selection instruction is an instruction to select one of the use case images displayed in the top interface 50. By tapping each use case image, CPU 11 receives the selection instruction of the use case image. S102 is an example of selection processing. In the label making application 42 of this method, a template image associated with the use case image is selected by the selection instruction of the use case image, and as described later, the template interface that displays the selected template image is transferred.
[0029] When it is determined that the instruction to select the use case image is not received (S102: No), the CPU 11 determines whether the end instruction of the label creation application 42 is received (S103). When it is determined that the end instruction is not received (S103: No), the CPU 11 waits until the instruction to select the use case image or the end instruction of the application is received. And when it is determined that the end instruction is received (S103: Yes), the CPU 11 ends the label creation process.
[0030] On the other hand, if it is determined that a selection instruction is received (S102: YES), CPU 11 acquires attribute information of a template image associated with the selected use case image (S104). The attribute information of a template image is information added to the template image, and includes information related to the necessity of editing the template image before printing.
[0031] Among the template images, there are images that can be used as labels without processing and printing them as they are, and there are also images that need to be edited before use. In this method, each template image is classified into Figure 4 The template image has four attributes shown in (A) to (D), and attribute information is added to each template image as information indicating to which of the four attributes the template image belongs.
[0032] Figure 4The example shown in (A) is a template image 61 in which the names of general types of articles, greetings, and other fixed words are indicated in general fonts such as Ming Dynasty and Gothic (Japanese: ゴシック). The template image 61 can be printed as it is or can be printed after editing such as adding or changing text. In the following, a template image such as the template image 61 that is neither required to be edited nor cannot be edited is referred to as an "editable image". An editable image is an example of a template image of the second attribute.
[0033] Figure 4 The example shown in (B) is a template image 62 containing a coded image such as a QR code or a barcode, and the template image 61 is an image that needs to be edited to at least change the coded image before printing. The coded image contained in the template image 62 is a virtual coded image, and the image is invalid as a coded image if it remains as it is. In the following, a template image that must be edited, such as the template image 62, is referred to as an "image that must be edited". An image that must be edited is, for example, an image that contains a virtual coded image and virtual personal information (name, address, birthday, telephone number, authentication information, etc.). An image that must be edited is an example of a template image of the first attribute.
[0034] Figure 4 The example shown in (C) is a template image 63 that includes a unique illustration and text in a unique font provided by the supplier of the label making application 42, and is an image that cannot be edited. In the following, a template image that cannot be edited, such as the template image 63, is referred to as an "uneditable image". The uneditable image is an example of a template image of the third attribute.
[0035] Figure 4 The example shown in (D) is a template image 64 that includes a specific year, month, and day of the week, but does not include a year, month, and day, and is an image that usually needs to be edited before printing. Figure 4 The template image 64 of (D) is Figure 4 Unlike the example (B), it is not an image that is invalid even if printed as is, but an image that has the possibility of being printed as is as long as the information contained is consistent with the user's wishes. In the label making application 42, when a print instruction is received for a template image such as template image 64 that does not need to be edited but has a high necessity for editing, a confirmation dialog box is displayed to confirm whether it can be printed as is. In the following, an image such as template image 64 is referred to as a "print confirmation image". The print confirmation image is an example of a specific template image among the template images of the second attribute.
[0036] Based on the acquired attribute information, the CPU 11 determines whether the selected template image is an image that must be edited (S105). In addition, the determination of the attributes of the template image is not limited to the attribute information. For example, the CPU 11 may also obtain the attributes of the template image based on the type of the object of the template image. For example, the CPU 11 may determine that the template image of the object containing the coded image is an image that must be edited, determine that the template image of the object containing only the illustration is an image that cannot be edited, and determine that the template images other than these are editable images or print confirmation images.
[0037] When it is determined that the image must be edited (S105: Yes), the CPU 11 decides to gray out the print button (S106). The print button is a button displayed when the template interface is transferred, and is a button for accepting print instructions. A grayed-out button is a button that cannot accept instructions even if it is operated, and is an invalid button. On the other hand, a button that is not grayed out is a valid button, and is a button that can accept instructions.
[0038] If it is determined that the image does not need to be edited (S105: No), the CPU 11 determines whether it is an uneditable image (S107). If it is determined that it is an uneditable image (S107: Yes), the CPU 11 determines to gray out the edit button (S108). The edit button is a button displayed when the template interface is transferred, and is a button for accepting edit instructions.
[0039] After S106 and S108, or when it is determined that the image is not uneditable (S107: No), the CPU 11 displays the template interface on the user interface 20 (S109). S109 is an example of display processing. Figure 6 As shown, the template interface 70 includes a use case image 71, a template image 72, an edit button 73, a print button 74, and a return button 75. The template interface 70 is an example of a first interface.
[0040] The use case image 71 is the same image as the use case image selected in the top-level interface 50. The template image 72 is an image representing a template image associated with the selected use case image 71. The edit button 73 is a button for accepting an instruction to edit the image data represented by the template image 72. The edit button 73 is an example of a second object. The print button 74 is a button for accepting an instruction to print the image data represented by the template image 72. The print button 74 is an example of a first object. The return button 75 is a button for accepting an instruction to close the template interface 70 and return to the top-level interface 50.
[0041] The edit button 73 and the print button 74 may be grayed out by the above-mentioned S106 and S108. If they are grayed out, the CPU 11 grays out the buttons in S109, that is, displays them as invalid. That is, if the template image 72 is an uneditable image, the CPU 11 displays the template interface 70 in which the edit button 73 is grayed out and the edit instruction cannot be accepted. If the template image 72 is an image that must be edited, the CPU 11 displays the template interface 70 in which the print button 74 is grayed out and the print instruction cannot be accepted.
[0042] When the print button is displayed as enabled for an image that must be edited, the user may misunderstand that the image can be printed even without editing. Therefore, this situation can be avoided by graying out the print button and displaying it as disabled. In addition, when the edit button is displayed as enabled for an image that cannot be edited, the user may misunderstand that the image can be edited. Therefore, this situation can be avoided by graying out the edit button and displaying it as disabled. In addition, the method of making each button or other object disabled is not limited to graying out. For example, the object may not be displayed, or the object may be displayed and input may be accepted, but the input may be canceled and an error may be displayed.
[0043] Next, the CPU 11 determines whether an edit instruction is received on the template interface 70 (S110). The CPU 11 receives the edit instruction by operating the edit button 73 in a valid state. When it is determined that the edit instruction is not received (S110: No), the CPU 11 determines whether the print instruction is received (S111). The CPU 11 receives the print instruction by operating the print button 74 in a valid state. When it is determined that the print instruction is not received (S111: No), the CPU 11 determines whether the return instruction is received (S112). The CPU 11 receives the return instruction by operating the return button 75. When it is determined that the return instruction is not received (S112: No), the CPU 11 waits until any one of the edit instruction, the print instruction, and the return instruction is received.
[0044] When determining that the edit instruction is received (S110: YES), the CPU 11 executes the edit process (S113). The edit process is a process of receiving the edit of the selected template image 72.
[0045] Reference Figure 5 In the editing process, the CPU 11 determines whether the selected template image 72 is an image that must be edited (S201). The determination in S201 is consistent with Figure 2 The CPU 11 may make the same judgment as in S105 of the label making process, and may make the judgment in S201 based on the judgment result in S105.
[0046] When it is determined that the image does not need to be edited (S201: No), the CPU 11 causes the user interface 20 to display an editing interface (S202). Figure 7 As shown, the editing interface 80 includes, for example, an editing area 81, print settings 82, a print button 83, and a return button 84. The editing interface 80 is an example of the second interface. The editing interface 80 may also include a button for accepting an instruction to change the print settings and a button for accepting an instruction to save the edited image data.
[0047] The edit area 81 is an area for displaying edited image data, and in S202, the selected template image 72 is displayed. The selected print settings such as the label color and label length are displayed in the print setting 82. In addition, the label length is information indicating the length direction of the label paper stored in the printer 2, that is, the length direction of the label paper after printing in the conveying direction of the printer 2. The print button 83 is a button for receiving a print instruction of the image displayed in the edit area 81. The print button 83 is an example of a third object. The return button 84 is a button for receiving an instruction to close the edit interface 80 and return to the template interface 70.
[0048] When it is determined that the image must be edited (S201: Yes), the CPU 11 determines to gray out the print button (S203) and displays the edit interface (S204) on the user interface 20. In the edit interface 80 displayed in S204, the template image 72 displayed in the edit area 81 is an image that must be edited, so the print button 83 is displayed in an invalid state and the print instruction is not accepted. When the image that must be edited is not edited, the print button 83 is set to an invalid state, so that paper is not wasted.
[0049] On the other hand, in the editing interface 80 displayed in S202, the template image 72 displayed in the editing area 81 is not an image that must be edited, so a print button 83 is displayed in an effective state, and a print instruction is accepted even when no editing is performed. By displaying the print button 83 on the editing interface 80 and enabling the print instruction to be accepted, convenience is improved.
[0050] After displaying the editing interface 80 with the print button 83 grayed out, the CPU 11 determines whether the editing area 81 has been edited (S205). In S205, when receiving input operations such as moving the cursor into the editing area 81, selecting an object to be edited in the editing area 81, deleting or adding an object in the editing area 81, the CPU 11 determines that editing has been performed.
[0051] When it is determined that no editing has been performed (S205: No), the CPU 11 determines whether a return instruction has been received (S206). The return instruction is received by operating the return button 84. When it is determined that no return instruction has been received (S206: No), the CPU 11 waits until editing has been performed or a return instruction has been received. When it is determined that editing has been performed (S205: Yes), the CPU 11 changes the grayed-out print button 83 to an enabled state and displays it (S207). That is, since the template image 72 of the image that needs to be edited has been edited, the edited image data can be printed.
[0052] After S202 or S207, the CPU 11 determines whether a print instruction is received by operating the print button 83 in the effective state (S208). When it is determined that a print instruction is not received (S208: No), the CPU 11 determines whether a return instruction is received (S209). When it is determined that a return instruction is not received (S209: No), the CPU 11 waits until a print instruction or a return instruction is received. In addition, the CPU 11 also receives an edit instruction for the edit area 81, and changes the display of the edit area 81 based on the edit instruction.
[0053] When it is determined that a print instruction is received (S208: Yes), the CPU 11 determines whether the template image 72 to be edited is an image that must be edited (S210). When it is determined that it is an image that must be edited (S210: Yes), the CPU 11 displays a confirmation dialog box on the user interface 20 (S211) and accepts the user's instruction input.
[0054] Even when the edit of the image that must be edited is accepted, for example, when only the portion other than the code image is edited for the template image 72 including the virtual code image, the virtual code image remains. Therefore, in the case of the image that must be edited, the CPU 11 displays a confirmation dialog box asking whether it is possible to print as is, and accepts the user's input. By confirming before printing, the possibility of avoiding invalid printing is increased.
[0055] The CPU 11 determines whether an input of a print permission instruction indicating that the image can be printed as it is received in the confirmation dialog box (S212). When it is determined that the image does not need to be edited (S210: No), or when it is determined that an input of a print permission instruction is received (S212: Yes), the CPU 11 executes a print process (S213). The print process is a process for causing the printer 2 to print the selected image.
[0056] Reference Figure 8The sequence of the printing process is described with reference to the flowchart of FIG. 1 . In the printing process, the CPU 11 obtains the label length from the print setting (S301). The CPU 11 automatically obtains the label length based on, for example, the image data of the template image 72 being selected and the type of label paper accommodated in the printer 2. Alternatively, when the label length is explicitly set by the user's operation on the print setting, the CPU 11 obtains the set label length. In addition, the print setting is displayed, for example, in the print setting 82 of the editing interface 80.
[0057] Next, the CPU 11 obtains the model information of the printer 2 as the device for executing printing (S302), and obtains the maximum print length that can be continuously printed based on the obtained model information (S303). S303 is an example of the acquisition process. The model information can be included in the label making application 42, or can be obtained from the OS 41 or the printer 2. The information of the maximum print length corresponding to the model information can be stored in the label making application 42, or can be obtained from the printer 2, or can be obtained from an external device such as a server.
[0058] The CPU 11 sets the maximum number of copies as the upper limit of the number of copies to be printed based on the label length obtained in S301 and the maximum print length obtained in S303 (S304). S304 is an example of setting processing. The CPU 11 sets the maximum number of copies that can be accepted so that the product of the label length and the maximum number of copies is less than the maximum print length.
[0059] The CPU 11 causes the user interface 20 to display a number of copies selection interface (S305). Fig. 9 As shown, the number of copies selection interface 90 includes, for example, an option 91 for the number of copies to be printed, a print button 92, and a cancel button 93. The option 91 for the number of copies to be printed is displayed in a scrolling form, etc., and accepts a selection from the user. The option 91 displayed in the number of copies selection interface 90 is a numerical value ranging from 1 to the maximum number of copies set in S304, and the number of copies that can be selected is up to the maximum number of copies.
[0060] In addition, in the label making application 42, the instruction for printing multiple copies is sent to the printer 2 as one print task. That is, the print task sent to the printer 2 is a print task of a print length calculated by multiplying the label length by the number of copies. Furthermore, when receiving a print task of a print length longer than the maximum print length set by itself, the printer 2 temporarily stops printing after printing to the maximum print length, which may give the user a sense of discomfort. In this method, since the upper limit of the number of copies to be printed is set based on the label length of the print object, it is possible to avoid setting a number of copies that cannot be printed continuously.
[0061] The CPU 11 determines whether a print instruction is received by operating the print button 92 (S306). If it is determined that a print instruction is not received (S306: No), the CPU 11 determines whether a cancel instruction is received by operating the cancel button 93 (S307). If it is determined that a cancel instruction is not received (S307: No), the CPU 11 waits until a print instruction or a cancel instruction is received.
[0062] When it is determined that a print instruction is received (S306: Yes), CPU 11 obtains the number of print copies selected by option 91 (S308). Then, CPU 11 generates a print job (S309) and sends the generated print job to printer 2 (S310). The print job sent to printer 2 is an example of a print instruction output to printer 2, and S310 of the print process executed in S213 of the edit process is an example of the edit output process. After S310, or when it is determined that a cancel instruction is received (S307: Yes), CPU 11 ends the print process and returns to the Figure 5 Editing process.
[0063] exist Figure 5 In the editing process, after the printing process of S213, or when it is determined that a return instruction is received (S206: Yes; or S209: Yes), CPU 11 ends the editing process and returns to Figure 2 Label making process.
[0064] In addition, as a return value when returning from the editing process to the label making process, the CPU 11 obtains the existence of editing information, which indicates whether the editing of the template image is accepted in the editing process. When it is determined to be yes in S206, or when it is determined that the input of the instruction indicating that the printing is not accepted is received in the confirmation dialog box (S212: No), the CPU 11 adds information indicating that the editing is not accepted or the editing is incomplete as the existence of editing information (S214). In addition, when it is determined to be no in S212, it is also possible to return to the display of the editing interface 80 without displaying the confirmation dialog box.
[0065] On the other hand, after S213, or when S209 is judged as yes and the label making process is returned, the CPU 11 does not add the information on whether or not the editing is performed, or adds information indicating that the editing is accepted. In addition, the information on whether or not the editing is performed may be information indicating that the editing is performed. That is, after S213, or when S209 is judged as yes and the label making process is returned, the information indicating that the editing is performed may be added, and the information on whether or not the editing is performed may not be added in S214.
[0066] return Figure 2In the label making process, the CPU 11 determines whether the editing is accepted based on the edit information obtained as the return value from the editing process in S113 (S114). If it is determined that the editing is accepted (S114: Yes), the CPU 11 turns on the print button 74 (see Figure 6 ) is set to a valid state (S115).
[0067] After S115, or when it is determined that the editing is not accepted (S114: No), the CPU 11 returns to the display of the template interface 70 of S109 and waits until any one of the editing instruction, the printing instruction, and the return instruction is received. Even when the template image 72 is an image that must be edited and the print button 74 is grayed out, the print instruction can be accepted by displaying the template interface 70 in which the print button 74 is set to the effective state after the editing process accepts the editing. On the other hand, when the editing is not accepted in the editing process, the CPU 11 does not change the state of the print button 74 and displays the same template interface 70 as before.
[0068] On the other hand, when the CPU 11 determines that a print instruction is received in the template interface 70 (S111: Yes), the CPU 11 determines whether the selected template image 72 is a print confirmation image (S116). And, when it is determined that it is a print confirmation image (S116: Yes), the CPU 11 displays a confirmation dialog box on the user IF 20 (S117) and accepts a user's instruction input. The instruction input accepted in S117 is an example of a second confirmation instruction.
[0069] like Figure 4 As shown in the example of (D) of FIG. 1 , the print confirmation image is an image that is likely to need editing, and the user may forget to edit it. Therefore, the CPU 11 displays a confirmation dialog box asking whether it can be printed as is, and accepts the user's input. By confirming before printing, the possibility of avoiding invalid printing is increased.
[0070] The CPU 11 determines whether the input of the instruction to approve printing indicating that the original printing can be performed is received in the confirmation dialog box (S118). If it is determined that it is not a print confirmation image (S116: No), or if it is determined that the input of the instruction to approve printing is not received (S118: Yes), the CPU 11 executes the printing process (S119). The printing process is a process of accepting the printing of the selected template image 72, which is the same as the process in the editing process ( Figure 5 ) of S213 to execute the printing process ( Figure 8 ) The same process as that of the label production process. S310 of the printing process executed in S119 of the label production process is an example of the output process.
[0071] Furthermore, when it is determined that the edit of the image that needs to be edited is accepted and the print instruction is accepted by operating the print button 74 set to the enabled state, the CPU 11 may determine yes in S116 and display a confirmation dialog box. By obtaining the user's confirmation, the possibility of avoiding printing of the image that needs to be edited but has not been fully edited is increased.
[0072] After the printing process in S119, or when it is determined that an instruction indicating that printing is not approved is input in the confirmation dialog box (S118: No), CPU 11 returns to the display of template interface 70 in S109 and waits until any one of an edit instruction, a print instruction, and a return instruction is received.
[0073] When determining that a return command has been received on the template interface 70 (S112: YES), the CPU 11 returns to S101 and displays the top interface 50. Next, as described above, the CPU 11 receives the selection of a use case image and an end command. Thus, the description of the label creation process ends.
[0074] As described in detail above, according to the label making application 42 of the first embodiment, the device 1 accepts the selection of a template image and displays a template interface 70 including the selected template image. In the template interface 70, when the selected template image 72 is an image that must be edited and has not been edited, the print button 74 is grayed out and displayed as an invalid state. On the other hand, when the selected template image 72 is not an image that must be edited, or when the selected template image 72 is an image that must be edited and has been edited, the print button 74 is displayed as a valid state. Therefore, since the print instruction for an unedited image that must be edited is not accepted, it is possible to avoid the operation of wasting paper such as printing an unedited image that must be edited.
[0075] Next, a second embodiment of a program embedded in a device will be described in detail with reference to the drawings. This embodiment differs from the first embodiment only in the order of editing processing, and the same components and processing as the first embodiment are denoted by the same reference numerals and description thereof will be omitted.
[0076] Reference Fig.10 The editing process of this embodiment is described in the flowchart of FIG. This editing process is the same as that of the first embodiment and is executed in S113 of the label creation process.
[0077] In the editing process of this method, first, the CPU 11 displays the editing interface 80 (see Figure 7)(S401). In this method, the CPU 11 displays the print button 83 in a valid state regardless of the attributes of the template image of the editing object. The editing interface 80 of this method is also an example of the second interface, and the print button 83 is an example of the third object. In this method, by displaying the editing interface 80, even if the template image 72 is an image that must be edited, it is regarded as having been edited and the print button 83 in a valid state is displayed.
[0078] Next, the CPU 11 determines whether a print instruction is received (S402). If it is determined that a print instruction is not received (S402: No), the CPU 11 determines whether a return instruction is received (S403). If it is determined that a return instruction is not received (S403: No), the CPU 11 waits until a print instruction or a return instruction is received. In addition, the CPU 11 also receives an edit instruction for the edit area 81, and changes the display of the edit area 81 based on the edit instruction.
[0079] When it is determined that a print instruction is received (S402: Yes), the CPU 11 determines whether the template image displayed in the editing area 81 at the start of the editing process is an image that must be edited (S404). When it is determined that it is an image that must be edited (S404: Yes), the CPU 11 determines whether the image has been edited from the original image (S405). The determination in S405 is, for example, the same as the determination in S205 in the editing process of the first embodiment.
[0080] When it is determined that the editing is not accepted (S405: No), the CPU 11 displays a confirmation dialog box on the user IF 20 (S406) and accepts the user's command input. The command input accepted in S406 is an example of a first confirmation command. Next, the CPU 11 determines whether the command input of agreeing to print is received (S407). For example, the CPU 11 displays a message that the image must be edited and the editing is not accepted and a confirmation dialog box asking whether to print as is, and accepts the user's input. When a print command for an unedited image that must be edited is received, by confirming before printing, the possibility of printing as is without editing due to an erroneous operation can be reduced.
[0081] When it is determined that an instruction indicating that printing is not approved is received (S407: No), CPU 11 returns to the display of the editing interface 80 of S401 and accepts various instructions. On the other hand, when it is determined that the image does not need to be edited (S404: No), or when it is determined that editing is accepted (S405: Yes), or when it is determined that an instruction indicating approval for printing is received (S407: Yes), CPU 11 executes printing processing (S408). The printing processing of S408 is the same as the printing processing executed in S213 of the first embodiment, and is Figure 8 S310 executed in the print process of S408 is also an example of the edit output process.
[0082] After the printing process, or when it is determined that a return instruction has been received (S403: Yes), the CPU 11 ends the editing process and returns to the Figure 2 Label making process.
[0083] As described above, in S114 of the label making process, the CPU 11 determines whether the editing is accepted based on the edit information obtained as the return value from the editing process. In the editing process of this method, the edit information is not added as the return value, so the CPU 11 determines that the editing is accepted (S114: Yes), and the print button 74 (refer to Figure 6 ) is set to a valid state (S115).
[0084] That is, in this method, the CPU 11 regards the image as edited by executing the editing process. Therefore, since there is a case where even an unedited image that needs to be edited is regarded as edited, when a print instruction is received (S111: Yes), it is also possible to determine whether it is an image that needs to be edited in S116, and if it is determined that it is an image that needs to be edited, a confirmation dialog box is also displayed in S117.
[0085] As described in detail above, through the label making application 42 of the second embodiment, similar to the first embodiment, when the selected template image 72 is an image that must be edited and the editing is not accepted, the device 1 grays out the print button 74, thereby avoiding operations that waste paper.
[0086] In addition, each embodiment is only an example and does not limit the present invention. Therefore, the present invention can of course be improved and deformed in various ways without departing from its main purpose. For example, the device 1 is not limited to a portable device, but can also be a fixed device such as a personal computer. In addition, for example, the printer connected to the device 1 is not limited to one, but can also be multiple. In addition, the printing method of the printer 2 is not limited to the thermal transfer method, for example, it can also be a thermal method, an inkjet method, or an electronic photo method. In addition, the printing medium used in the printer 2 is not limited to label paper, for example, it can also be cut paper or just roll paper.
[0087] In addition, the shapes of the buttons and images shown in the figures are examples and are not limited to the examples shown in the figures. Figure 3 The list of example images shown may be a list of template images or a list of names of template images.
[0088] In addition, the label making application 42 of each mode makes and sends the printing task by itself, but is not limited to this. For example, the image data and print settings of the printing object can also be handed over to other programs, and the other programs can make and send the printing task. In this case, handing over the processing of each data to other programs is an example of output processing and edit output processing.
[0089] In addition, in each embodiment, the maximum print length of each model is predetermined, but the present invention is not limited to this. For example, the current temperature of the print head of the printer 2 may be acquired to determine the maximum print length.
[0090] Furthermore, in any flowchart disclosed in the embodiment, the execution order of a plurality of processes in any plurality of steps can be arbitrarily changed or they can be executed in parallel within the range where there is no contradiction in the processing contents.
[0091] In addition, the processing disclosed in the embodiments may be performed by a single CPU, multiple CPUs, hardware such as an ASIC, or a combination thereof. In addition, the processing disclosed in the embodiments may be implemented in various ways such as a storage medium or method storing a program for executing the processing.
Claims
1. A storage medium storing a program, the program being executable by a computer of a device having a function of displaying a template image, wherein the attributes of the template image include a first attribute that must be edited and a second attribute that can be arbitrarily selected whether to edit, the storage medium being characterized in that: The program causes the computer to execute: a selection process that selects a template image; a determination process of determining whether the template image selected in the selection process has the first attribute or the second attribute; as well as display processing, the display processing causing the display unit of the device to display a first interface, the first interface including the template image selected in the selection processing, The first interface may include a first object and a second object, the first object accepting a print instruction, the second object accepting an edit instruction, and when the selected template image is determined to be of the first attribute by the determination process, when the template image is in an unedited state, the first object is set to an invalid state, and when the template image is in an edited state, the first object is set to a valid state, and when the selected template image is determined to be of the second attribute by the determination process, the first object is set to a valid state, The program also causes the computer to execute: an output process for outputting a print instruction for printing the template image selected in the selection process when the first object in a valid state is operated via the input interface of the device; as well as and an editing process for accepting editing of the template image selected in the selection process when the second object in the valid state is operated via the input interface.
2. The storage medium according to claim 1, characterized in that The attributes of the template image include a third attribute that cannot be edited. In the display process, When the selected template image is of the third attribute, the second object is set to an invalid state; and when the selected template image is of the first attribute or the second attribute, the second object is set to a valid state.
3. The storage medium according to claim 1 or 2, characterized in that: In the editing process, The display unit is caused to display a second interface, the second interface accepting editing of the template image selected in the selection process, the second interface can also include a third object, the third object accepting a print instruction, when the template image selected in the selection process is of the first attribute and is in an unedited state, the third object is set to an invalid state, and when the selected template image is of the second attribute, or is of the first attribute and is in an edited state, the third object is set to a valid state, The program further causes the computer to execute an edit output process for outputting a print instruction for printing the template image to be edited in the edit process when the third object in a valid state is operated via the input interface.
4. The storage medium according to claim 1 or 2, characterized in that: In the editing process, The display unit displays a second interface, the second interface accepting editing of the template image selected in the selection process, the second interface also including a third object, the third object accepting a print instruction, and the third object is set to a valid state, The program further causes the computer to execute an edit output process for outputting a print instruction for printing the template image to be edited in the edit process when the third object in a valid state is operated via the input interface.
5. The storage medium according to claim 4, characterized in that In the editing and outputting process, When the template image to be edited in the editing process is of the first attribute, after the third object is operated via the input interface and before the print instruction is output, it is determined whether the template image to be edited has been edited, When the template image to be edited has not been edited, an input of a first confirmation instruction is received through the input interface, the first confirmation instruction confirming whether to output the print instruction, and when the first confirmation instruction indicating outputting the print instruction is received, the print instruction is output, and when the first confirmation instruction indicating not outputting the print instruction is received, the print instruction is not output, When the template image to be edited has been edited, the print instruction is output without accepting input of the first confirmation instruction.
6. The storage medium according to claim 1, characterized in that The template image of the second attribute includes a specific template image that needs to be confirmed before printing. In the output process, When the first object is operated via the input interface, when the template image selected in the selection process is the specific template image of the second attribute, an input of a second confirmation instruction is accepted via the input interface, and the second confirmation instruction confirms whether to output the print instruction. When the second confirmation instruction indicating that the print instruction is to be output is received, the print instruction is output; when the second confirmation instruction indicating that the print instruction is not to be output is received, the print instruction is not output.
7. The storage medium according to claim 1, characterized in that The template image includes attribute information, and the attribute information indicates an attribute. In the display process, The attribute of the template image selected in the selection process is determined based on the attribute information included in the template image selected.
8. The storage medium according to claim 1, characterized in that The program associates the type of object included in the template image with the attribute of the template image, In the display process, The attribute of the template image selected in the selection process is determined based on the type of the object included in the template image selected in the selection process.
9. The storage medium according to claim 1, characterized in that The program causes the computer to execute: an acquisition process, in which, when the printer connected to the device is a label printer, the acquisition process acquires a printing length in a conveying direction of labels that can be printed in one printing; as well as A setting process is performed to set an upper limit value of the number of print copies based on the print length acquired in the acquisition process and the dimension in the length direction corresponding to the conveyance direction of the template image selected in the selection process.
