This application claims priority from Japanese Patent Application No. 2023-124380 filed on Jul. 31, 2023. The entire content of the priority application is incorporated herein by reference.
The present disclosure relates to a printer, a non-transitory computer readable medium storing a print data editing program, and a print data editing device.
A label data-creating device according to related art obtains information about a roll sheet set in a tape printer when layout editing software is launched. The label data-creating device is able to set, based on the obtained information, a layout editing screen for editing label data to be printed on the roll sheet to a screen that matches the type of roll sheet.
In the label data-creating device described above, in a case where a user replaces the roll sheet set in the tape printer with another type of roll sheet while editing the label data, it is possible that the layout of the label data being edited may no longer match the type of replaced roll sheet.
An object of the present disclosure is to provide a printer that enables print data to be edited to an appropriate configuration matching the medium to be printed, a non-transitory computer readable medium storing a print data editing program, and a print data editing device.
A first aspect of the present disclosure provides a printer that includes a cassette compartment to which a cassette housing a medium being detachably attachable, a detector for detecting a type of the cassette attached to the cassette compartment, and a printing portion for printing an image based on print data on the medium drawn out from the cassette. The printer further includes a display for displaying information, an input portion for receiving input of an operation, a processor, and a memory. The memory is configured to store computer-readable instructions that instruct the processor to perform a first edit process, a second edit process, a change process, and a selection process. The first edit process displays a first edit screen on the display and edits the print data. The first edit screen is an edit screen matching a first medium housed in a first cassette. The first cassette is one type of the cassette. The second edit process displays a second edit screen on the display and edits the print data. The second edit screen is an edit screen matching a second medium housed in a second cassette. The second cassette is a different type than the first cassette. The change process changes a process to edit the print data from the first edit process to the second edit process. The selection process displays a selection screen presenting options on the display and receives a selection of the option via the input portion. The computer-readable instructions further instruct the processor to perform following processes, in a case where the detector detects the second cassette is attached to the cassette compartment while the first edit process is being executed. The processor determines whether a configuration of the print data for printing on the first medium and a configuration of the print data for printing on the second medium are at least partially compatible. The processor executes the change process with a compatible portion of the configuration of the print data between the configuration of the print data for printing on the first medium and the configuration of the print data for printing on the second medium maintained in a case where the processor determines that the configuration of the print data for printing on the first medium and the configuration of the print data for printing on the second medium are at least partially compatible. The processor executes the selection process and receiving the selection of a first option or a second option through the input portion in a case where the processor determines that the configuration of the print data for printing on the first medium and the configuration of the print data for printing on the second medium are incompatible. The first option deletes the print data edited in the first edit process and edits a new print data in the second edit process. The second option does not delete the print data edited in the first edit process and edits the print data in the first edit process.
In a case where the print data to be printed on the first medium is compatible with the print data to be printed on the second medium, the processor can move on to the second edit process while maintaining the print data edited in the first edit process without asking the user whether the print data is deleted. Therefore, the processor can smoothly change from the first edit process to the second edit process without bothering the user with inquiries. On the other hand, in a case where the print data to be printed on the first medium is incompatible with the print data to be printed on the second medium, the processor can ask the user whether to move on to erase the print data and move on to the second edit process, or keep the print data and continue executing the first edit process. Therefore, even if the user accidentally replaces the cassette with an incorrect cassette, the processor can continue to edit the original print data by the first edit process if the original cassette is returned.
A second aspect of the present disclosure provides a non-transitory computer-readable medium storing computer-readable instructions for editing print data that are executed by a processor provided in a printer. The printer includes a cassette compartment to which a cassette housing a medium to be printed being detachably attachable, a detector for detecting a type of the cassette installed in the cassette compartment, a printing portion for printing on the medium drawn out from the cassette, a display for displaying information, and an input portion for receiving input of an operation, for printing, on a medium, an image based on the print data used to print on the medium. The computer-readable instructions instructing the processor to perform a first edit process, a second edit process, a change process, and a selection process. The first edit process displays a first edit screen on the display and edits the print data. The first edit screen is an edit screen matching a first medium housed in a first cassette. The first cassette is one type of the cassette. The second edit process displays a second edit screen on the display and edits the print data. The second edit screen is an edit screen matching a second medium housed in a second cassette. The second cassette is a different type than the first cassette. The change process changes a process to edit the print data from the first edit process to the second edit process. The selection process displays a selection screen presenting options on the display and receives a selection of the option via the input portion. The computer-readable instructions further instruct the processor to perform following processes, in a case where the detector detects the second cassette is attached to the cassette compartment while the first edit process is being executed. The processor determines whether a configuration of the print data for printing on the first medium and a configuration of the print data for printing on the second medium are at least partially compatible. The processor executes the change process with a compatible portion of the configuration of the print data between the configuration of the print data for printing on the first medium and the configuration of the print data for printing on the second medium maintained in a case where the processor determines that the configuration of the print data for printing on the first medium and the configuration of the print data for printing on the second medium are at least partially compatible. The processor executes the selection process and receiving the selection of a first option or a second option through the input portion in a case where the processor determines that the configuration of the print data for printing on the first medium and the configuration of the print data for printing on the second medium are incompatible. The first option deletes the print data edited in the first edit process and edits a new print data in the second edit process. The second option does not delete the print data edited in the first edit process and edits the print data in the first edit process. Therefore, the non-transitory computer readable medium storing the print data editing program according to the second aspect displays the same effect as the printer according to the first aspect.
A third aspect of the present disclosure provides a print data editing device for editing print data used by a printer to print on a medium. The printer includes a cassette compartment to which a cassette housing the medium to be printed being detachably attachable, a detector for detecting a type of the cassette installed in the cassette compartment, and a printing portion for printing on the medium drawn out from the cassette. The print data editing device further includes a display for displaying information, an input portion for receiving input of an operation, a processor, and a memory. The memory is configured to store computer-readable instructions that instruct the processor to perform a first edit process, a second edit process, a change process, and a selection process. The first edit process displays a first edit screen on the display and edits the print data. The first edit screen is an edit screen matching a first medium housed in a first cassette. The first cassette is one type of the cassette. The second edit process displays a second edit screen on the display and edits the print data. The second edit screen is an edit screen matching a second medium housed in a second cassette. The second cassette is a different type than the first cassette. The change process changes a process to edit the print data from the first edit process to the second edit process. The selection process displays a selection screen presenting options on the display and receives a selection of the option via the input portion. The computer-readable instructions further instruct the processor to perform processes, in a case where the detector detects the second cassette is attached to the cassette compartment while the first edit process is being executed. The processor determines whether a configuration of the print data for printing on the first medium and a configuration of the print data for printing on the second medium are at least partially compatible. The processor executes the change process with a compatible portion of the configuration of the print data between the configuration of the print data for printing on the first medium and the configuration of the print data for printing on the second medium maintained in a case where the processor determines that the configuration of the print data for printing on the first medium and the configuration of the print data for printing on the second medium are at least partially compatible. The processor executes the selection process and receiving the selection of a first option or a second option through the input portion in a case where the processor determines that the configuration of the print data for printing on the first medium and the configuration of the print data for printing on the second medium are incompatible. The first option deletes the print data edited in the first edit process and edits a new print data in the second edit process. The second option does not delete the print data edited in the first edit process and edits the print data in the first edit process. Therefore, the print data editing device according to the third aspect displays the same effect as the printer according to the first aspect.
A printer 1, which is a first embodiment of the present disclosure, will be described with reference to the drawings. In descriptions related to the following directions, up-down, left-right, and front-rear indicated by arrows in the drawings will be used based on the direction in which the user operates the input portion 12.
The printer 1 shown in
The printer 1 is provided with a housing 10, a display 11, the input portion 12, and an access cover 2. The housing 10 has a long box shape in the up-down direction, and the display 11 and the input portion 12 are provided on a front surface thereof. The front surface is a surface on the side that the user looks toward when operating the printer 1. The display 11 is a liquid crystal display, for example, and can display various information. The display 11 is located on the front surface of the housing 10, above the substantial center of the housing 10 in the up-down direction.
The input portion 12 receives input of various information in response to a user operation. The input portion 12 is located on the front surface of the housing 10, below the display 11. The input portion 12 of the present embodiment is a keyboard that includes character keys 13, a power key 14, a print key 15, and label editing keys 16. The character keys 13 are a group of keys the user presses when inputting text. The power key 14 is a key the user presses when turning the power supply of the printer 1 on and off. The print key 15 is a key the user presses when instructing to print on the tape. The label editing keys 16 are a group of keys the user presses when specifying a label to be created.
The housing 10 has an opening 11A on a back surface thereof. The opening 11A is communicated with a cassette compartment 17 in which the tape cassette 3 is installed, and a battery compartment 18 in which batteries (not shown in the drawings) are installed. The cassette compartment 17 is provided above the substantial center in the up-down direction inside the housing 10. The battery compartment 18 is provided below the cassette compartment 17 inside the housing 10. The cassette compartment 17 and the battery compartment 18 are both recessed toward the front within the housing 10, and are exposed to the outside of the housing 10 through the opening 11A. The user installs/removes the tape cassette 3 and the batteries to/from cassette compartment 17 and the battery compartment 18, respectively, from the rear of the housing 10 in the front-rear direction.
The cassette compartment 17 can accept various tape cassettes 3. The tape cassette 3 is provided with an indicator (not shown in the drawings) to indicate the type of tape cassette 3. The indicator includes at least one hole portion (not shown in the drawings) provided in a defined pattern according to the type of type. The printer 1 is provided with a detector 33 (refer to
The housing 10 houses therein a printing portion 4, a cutting portion 9, and a control circuit 20 (refer to
The cutting portion 9 is provided midway in a path along which the tape is conveyed from the cassette compartment 17 to the ejection port 19. The cutting portion 9 is provided with a movable blade (not shown in the drawings), a fixed blade (not shown in the drawings), and a cutting motor 28 (refer to
The electrical configuration of the printer 1 will now be described with reference to
The CPU 21 controls the entire printer 1. The ROM 22 stores various programs necessary for controlling the printer 1. The CPU 21 performs various arithmetic calculations based on the programs stored in the ROM 22. The RAM 23 temporarily stores data. The EEPROM 24 stores printing dot pattern data for printing characters, classified by format and size. The flash memory 25 stores a program for edit processing (refer to
The medium information is information indicating the type of tape. The types of tape used by the printer 1 of the present embodiment are laminated tape, receptor tape, heat-shrinkable tube tape, and self-laminating tape. The initial values are various default setting values that are set when forming an image on the tape. The setting values include, for example, label length (length of tape to be cut), text placement in the print area (vertical writing, horizontal writing, rotation angle, left alignment, center alignment, right alignment, etc.), font size, typeface, number of lines of text, number and size of blocks (number of blocks into which the print area is to be divided), text repetition settings, and cable diameter.
The input/output interface 26 is connected to the drive circuits 35 to 38, the input portion 12, and the detector 33. The drive circuit 35 selectively heats a plurality of the heating elements of the print head 7. The drive circuits 36 and 37 drive the conveyance motor 27 and cutting motor 28, respectively. The conveyance motor 27 is connected to the tape drive shaft 5 and a ribbon take-up shaft (not shown in the drawings). The cutting motor 28 is connected to the movable blade. The drive circuit 38 has VRAM (not shown in the drawings) for displaying an image on the display 11, and performs display control of the display 11. The input portion 12 outputs information indicating the type of selected key to the CPU 21 via the input/output interface 26. The detector 33 outputs on/off information of the detection switches to the CPU 21 via the input/output interface 26.
Next, the type of labels that can be created with the printer 1, their applications, and their corresponding tapes, will be described. As shown in
An edit screen 51 shown in
An edit screen 52 shown in
An edit screen 53 shown in
Edit screens 54 and 55 shown in
An edit screen 56 shown in
An edit screen 57 shown in
An edit screen 58 shown in
An edit screen 59 shown in
An edit screen 60 shown in
Next, an outline of the edit processing executed by the CPU 21 of the printer 1 will be described. The edit processing is processing executed by the CPU 21 when the user edits a label. As described above, the CPU 21 displays the edit screens 51 to 60 according to the type of tape and label to be created, receives an operation by the user, and edits the label. In a case where the tape cassette 3 has been replaced during execution of edit processing, the CPU 21 switches from a label edit mode corresponding to the tape before tape replacement to a label edit mode corresponding to tape after tape replacement, according to the type of tape that is newly installed. At this time, in a case where the configuration of the print data in the edit mode before tape replacement and the configuration of the print data in the edit mode after tape replacement are compatible, the CPU 21 switches the text entered in the edit mode before tape replacement to the edit mode after tape replacement to inhibit the text from being reinput. On the other hand, in a case where the configuration of the print data in the edit mode before tape replacement and the configuration of the print data in the edit mode after tape replacement are not compatible, the CPU 21 checks with the user whether to delete the text that was input in the edit mode before tape replacement and then switch to the edit mode after tape replacement, or maintain the edit mode before tape replacement. When the user presses the print key 15, the CPU 21 prints the image of the edited text on the tape to be printed, creating a label.
The edit processing will be described with reference to
The CPU 21 receives an input of an operation of the input portion 12 by the user (S3), and performs label edit processing according to the input operation (S4). The label edit processing includes, for example, processing to change setting values, such as the length of the label, processing to change the layout, such as text orientation, placement, and font size, and processing to edit text, such as inputting text and deleting text. When the user inputs accented characters or performs Kana-Kanji conversion, for example, when inputting text, the CPU 21 displays candidates for input or conversion on the edit screen.
The CPU 21 determines whether the state is a print-ready state (S6). The print-ready state refers to a state in which when the print key 15 is pressed, the processing changes to print processing where printing can be performed on the tape. That is, the print-ready state is a state in which all of the processing related to label editing has ended. More specifically, the print-ready state is a state in which changes to the setting values have been completed, a state in which layout changes have been completed, and a state in which text editing has been completed, and the like. For example, a state in which input candidates for accented characters or candidates for Kana-Kanji conversion are displayed is not a print-ready state. In a case where the state is not a print-ready state (no at S6), the CPU 21 returns the processing to S3 and receives an operation input.
In a case where the state is a print-ready state (yes at S6), the CPU 21 obtains the detection results of the detector 33, reads the states of the detection switches, and determines the type of tape housed in the tape cassette 3 installed in the cassette compartment 17 (S7). In a case where the tape cassette 3 of the standard tape is installed (yes at S8), the CPU 21 moves on to standard-tape-installed processing (S11).
As shown in
When the print key 15 is pressed while editing the label (yes at S14), the CPU 21 determines whether the type of tape housed in the tape cassette 3 that is installed in the cassette compartment 17 and the corresponding type of tape in the edit mode of the label currently being edited match based on the detection result of the detector 33 (S16). In a case where the type of tape and the label edit mode match (yes at S16), the CPU 21 stores the setting values of the current edit mode in the flash memory 25 (S18), and moves on to print processing, not shown in the drawings. The CPU 21 prints an image of the edited text on the tape to be printed, creating the label.
On the other hand, as shown in
As shown in
As shown in
On the other hand, as shown in
In the processing at S42 in
As shown in
On the other hand, as shown in
When the print key 15 is pressed while the label is being edited (yes at S14), the CPU 21 determines whether the type of tape housed in the tape cassette 3 that is installed in the cassette compartment 17 and the corresponding type of tape in the edit mode of the label currently being edited match based on the detection results from the detector 33 (S16). In a case where the type of tape and the edit mode for the label do not match (no at S16), the CPU 21 displays an error screen 62 on the display 11. The CPU 21 displays “Unable to print on installed tape” on the error screen 62, as shown in
As shown in
As shown in
On the other hand, as shown in
In the processing at S62 in
In a case where the user agrees to delete the text and presses the [Enter] key (yes at S67), the CPU 21 deletes the text input in the current edit mode (S68) and moves the processing on to S71. The CPU 21 then changes to the edit mode for the self-laminating label and displays the edit screen for the self-laminating label with no text input (S73). The CPU 21 then returns the processing to the edit processing and moves on to S14. As shown in
On the other hand, as shown in
As described above, in a case where the configuration of the print data for printing on the standard tape is compatible with the print data for printing on the HS tape and the SL tape, the CPU 21 can change to the edit mode for the heat-shrinkable tube label or the self-laminating label while keeping the text edited in the edit mode of the label corresponding to the standard tape without asking the user whether to delete the text. Therefore, the CPU 21 can smoothly change the edit mode without bothering the user with inquiries. On the other hand, in a case where the print data for printing on the standard tape is not compatible with the print data for printing on the HS tape and the SL tape, the CPU 21 can ask the user whether to delete the text and change to the edit mode for the heat-shrinkable tube label or the self-laminating label, or keep the print data and continue the edit mode for the standard tape, Therefore, even if the user accidentally replaces the tape cassette 3, the CPU 21 can continue editing the original print data if the original tape cassette 3 is returned.
The CPU 21 displays the error screen 62 if there is an attempt to print on the HS tape or the SL tape while maintaining print data incompatible with the HS tape or the SL tape, from among print data for printing on a label corresponding to the standard tape. Therefore, the CPU 21 can inhibit printing on the HS tape or the SL tape with incompatible print data.
In a case where the configuration of the print data of a label corresponding to the standard tape and the configuration of the print data of a label corresponding to the HS tape or the SL tape are incompatible, the CPU 21 can ask the user whether to delete the text when changing the edit mode. Therefore, the CPU 21 can inhibit the print data for printing on the HS tape or the SL tape from being edited by a configuration unsuitable for the HS tape or the SL tape by having the user who was asked check the tape cassette 3.
In a case where the user agrees to delete the text, the CPU 21 can delete the text edited in the edit mode for the punchdown label 54A or 55A (horizontal arrangement or backbone), and edit new text in the edit mode of the heat-shrinkable tube label or the self-laminating label. Therefore, the CPU 21 can inhibit the print data for printing on the HS tape or the SL tape from being edited by a configuration unsuitable for the HS tape or the SL tape.
In a case where the user does not agree to delete the text, the CPU 21 can continue editing of the label in the original edit mode without deleting the text edited in the edit mode of the punchdown label 54A or 55A (horizontal arrangement or backbone). Therefore, even if the user accidentally replaces the tape cassette 3, the CPU 21 can use the text edited in the original edit mode for printing on the standard tape if the original tape cassette 3 is returned.
In a case where the configuration of the print data for the standard tape and the configuration of the print data for the HS tape or the SL tape are compatible, the CPU 21 can change the edit mode without asking the user, and edit the text edited in the original edit mode in the edit mode after the change. Therefore, the CPU 21 can smoothly change the edit mode without bothering the user with inquiries.
In the embodiment described above, the tape is one example of the medium of the present disclosure. The tape cassette 3 is one example of the cassette of the present disclosure. The keyboard including the character keys 13, the power key 14, the print key 15, and the label editing keys 16 is one example of the input portion of the present disclosure. The CPU 21 is one example of the processor of the present disclosure. The tape cassette 3 containing the standard tape is one example of the first cassette of the present disclosure. The standard tape is one example of the first medium of the present disclosure. The edit screens 51-58 are one example of the first edit screen of the present disclosure. The CPU 21 that executes steps S3 and S4 in the edit mode of the standard tape is one example of the first edit process of the present disclosure. The tape cassette 3 containing the HS tape and the SL tape is one example of the second cassette of the present disclosure. The HS tape and the SL tape is one example of the second medium of the present disclosure. The edit screens 59 and 60 is one example of the second edit screen of the present disclosure. The CPU 21 that executes steps S3 and S4 in the edit mode of the heat-shrinkable tube label or self-laminating label is one example of the second edit process of the present disclosure. The CPU 21 that executes steps S12 and S13 is one example of the changing of the present disclosure. The confirmation screen 61 is one example of the selection screen of the present disclosure. The CPU 21 that executes steps S47 and S67 is one example of the selecting of the present disclosure. The error screen 62 is one example of the notification screen of the present disclosure.
While the invention has been described in conjunction with various example structures outlined above and illustrated in the figures, various alternatives, modifications, variations, improvements, and/or substantial equivalents, whether known or that may be presently unforeseen, may become apparent to those having at least ordinary skill in the art. Accordingly, the example embodiments of the disclosure, as set forth above, are intended to be illustrative of the invention, and not limiting the invention. Various changes may be made without departing from the spirit and scope of the disclosure. Therefore, the disclosure is intended to embrace all known or later developed alternatives, modifications, variations, improvements, and/or substantial equivalents. Some specific examples of potential alternatives, modifications, or variations in the described invention are provided below.
The printer 1 is not limited to a handheld type, and may alternatively be a stationary type. The standard tape, the HS tape, and the SL tape are merely examples of media; various other types of tape may also be used. The medium is not limited to tape. For example, the printer 1 may create labels by printing an image on a sheet. Although the configuration of the print data of a punchdown label (horizontal arrangement or backbone) is not compatible with the configuration of the print data of the heat-shrinkable tube label and the self-laminating label in the above-described embodiment, the combination of labels with incompatible print data configurations may be a combination of other labels, or a combination with other labels.
The edit processing is executed by the CPU 21 of the printer 1, but may alternatively be executed by a CPU of an external device such as a smartphone, a PC, or a tablet, for example. In this case, the external device need only connect to the printer 1 via wireless or wired communication, and transmit and receive information, such as or transmit and receive print data, or obtain detection results from the detector 33.
Number | Date | Country | Kind |
---|---|---|---|
2023-124380 | Jul 2023 | JP | national |