This application claims priority under 35 U.S.C. §119 from Japanese Patent Application No. 2015-251147 filed on Dec. 24, 2015. The entire subject matter of the application is incorporated herein by reference.
Technical Field
The following description relates to aspects of a printer, a method, and a non-transitory computer-readable storage medium for printing images on a long print medium while conveying the print medium.
Related Art
A printer has been known that is configured to print an image on a long print medium while conveying the print medium in a conveyance direction along a conveyance path. In the printer, if print data for a subsequent sheet is in a printable state when printing of a current sheet has been completed, printing on the subsequent sheet is continuously performed. Meanwhile, if the print data for the subsequent sheet is not in a printable state when printing of the current sheet has been completed, a trailing end of the current sheet is conveyed to a cutting position on the conveyance path, and the current sheet is cut off. Then, a leading end of a continuous sheet is conveyed to a print start position on the conveyance path.
In the known printer, when a plurality of pages are sequentially printed on the print medium being conveyed, the conveyance and the printing of the print medium are interrupted at a particular timing. For instance, when a cut target portion of a printed page reaches the cutting position on the conveyance path, the conveyance and the printing of the print medium are interrupted, and the cut target portion is cut. Thereafter, the conveyance and the printing of the print medium are resumed. Further, for instance, when an amount of print data stored in a print buffer is less than a necessary data amount (i.e., in the case of shortage of print data), the conveyance and the printing of the print medium are interrupted, and the printer is brought into a standby state while receiving and storing print data until the amount of print data stored in the print buffer becomes equal to or more than the necessary data amount. Then, when the amount of print data stored in the print buffer has become equal to or more than the necessary data amount, the conveyance and the printing of the medium are resumed.
Nonetheless, there may be a case where a next cut target portion of the print medium is close to the cutting position on the conveyance path when the conveyance and the printing of the print medium are interrupted, e.g., due to the shortage of print data. In such a case, shortly after the conveyance and the printing of the medium are resumed in response to the shortage of print data being solved, the next cut target portion reaches the cutting position, and therefore the conveyance and the printing of the print medium are interrupted again. At this time, a conveyance distance of the print medium to be conveyed in a period of time from when the conveyance and the printing of the print medium are resumed to when interrupted again is extremely short. Therefore, the print medium might not be conveyed accurately over an intended distance, e.g., because of step-out of a motor. As a result, in a very short period of time from when the conveyance and the printing of the print medium are resumed to when interrupted again, an image might be printed with a positional displacement and/or a distortion.
Aspects of the present disclosure are advantageous to provide one or more improved techniques, for a printer, which make it possible to properly perform consecutive printing and cutting of a print medium while preventing positional displacement and/or distortion of an image to be printed on the print medium.
According to aspects of the present disclosure, a printer is provided, which includes a conveyor configured to convey a print medium in a conveyance direction along a conveyance path, a print head configured to sequentially print a plurality of page images on the print medium in a first position on the conveyance path, each page image being an image representing a single unit of page, a cutter configured to cut the print medium in a second position on the conveyance path, the second position being downstream of the first position in the conveyance direction, a first storage configured to store a plurality of pieces of print data for printing each individual page image in a manner separated for each print unit, each piece of print data expressing print contents of a single print unit, a second storage configured to store cut target positions of the print medium to be cut by the cutter, and a controller configured to execute a printing process including controlling the print head to sequentially print the plurality of page images on the print medium based on the print data stored in the first storage while controlling the conveyor to convey the print medium, a cut setting process including storing into the second storage a cut target position for each page image printed on the print medium, a first interruption process including, when a first distance is equal to or less than a second distance during the execution of the printing process, interrupting the printing process and stopping the print medium in a state where a next cut position coincides with the second position in the conveyance direction, the next cut position being a cut target position that is located upstream of the second position in the conveyance direction and is closest to the second position among the cut target positions stored in the second storage, the first distance being a distance between the next cut position and the second position in the conveyance direction, the second distance being a distance of a printable range in the conveyance direction, the printable range being a range in which an image is printed with a count of print units corresponding to an amount of the print data stored in the first storage, and controlling the cutter to cut the print medium, a second interruption process including, when the first distance is more than the second distance during the execution of the printing process, interrupting the printing process before a printing operation based on the print data stored in the first storage is completed, and stopping the print medium in a state where the next cut position coincides in the conveyance direction with a particular position that is located a distance equal to or more than a particular distance upstream of the second position, and a resuming process including resuming the printing process after one of the first interruption process and the second interruption process has been executed.
According to aspects of the present disclosure, further provided is a method adapted to be implemented on a processor coupled with a printer including a conveyor configured to convey a print medium in a conveyance direction along a conveyance path, a print head configured to sequentially print a plurality of page images on the print medium in a first position on the conveyance path, each page image being an image representing a single unit of page, a cutter configured to cut the print medium in a second position on the conveyance path, the second position being downstream of the first position in the conveyance direction, a first storage configured to store a plurality of pieces of print data for printing each individual page image in a manner separated for each print unit, each piece of print data expressing print contents of a single print unit, and a second storage configured to store cut target positions of the print medium to be cut by the cutter, the method including a printing process including controlling the print head to sequentially print the plurality of page images on the print medium based on the print data stored in the first storage while controlling the conveyor to convey the print medium, a cut setting process including storing into the second storage a cut target position for each page image printed on the print medium, a first interruption process including, when a first distance is equal to or less than a second distance during the printing process, interrupting the printing process and stopping the print medium in a state where a next cut position coincides with the second position in the conveyance direction, the next cut position being a cut target position that is located upstream of the second position in the conveyance direction and is closest to the second position among the cut target positions stored in the second storage, the first distance being a distance between the next cut position and the second position in the conveyance direction, the second distance being a distance of a printable range in the conveyance direction, the printable range being a range in which an image is printed with a count of print units corresponding to an amount of the print data stored in the first storage, and controlling the cutter to cut the print medium, a second interruption process including, when the first distance is more than the second distance during the printing process, interrupting the printing process before a printing operation based on the print data stored in the first storage is completed, and stopping the print medium in a state where the next cut position coincides in the conveyance direction with a particular position that is located a distance equal to or more than a particular distance upstream of the second position, and a resuming process including resuming the printing process after one of the first interruption process and the second interruption process has been executed.
According to aspects of the present disclosure, further provided is a non-transitory computer-readable medium storing computer-readable instructions that are executable by a processor coupled with a printer including a conveyor configured to convey a print medium in a conveyance direction along a conveyance path, a print head configured to sequentially print a plurality of page images on the print medium in a first position on the conveyance path, each page image being an image representing a single unit of page, a cutter configured to cut the print medium in a second position on the conveyance path, the second position being downstream of the first position in the conveyance direction, a first storage configured to store a plurality of pieces of print data for printing each individual page image in a manner separated for each print unit, each piece of print data expressing print contents of a single print unit, and a second storage configured to store cut target positions of the print medium to be cut by the cutter, the instructions being configured to, when executed by the processor, cause the processor to execute a printing process including controlling the print head to sequentially print the plurality of page images on the print medium based on the print data stored in the first storage while controlling the conveyor to convey the print medium, a cut setting process including storing into the second storage a cut target position for each page image printed on the print medium, a first interruption process including, when a first distance is equal to or less than a second distance during the execution of the printing process, interrupting the printing process and stopping the print medium in a state where a next cut position coincides with the second position in the conveyance direction, the next cut position being a cut target position that is located upstream of the second position in the conveyance direction and is closest to the second position among the cut target positions stored in the second storage, the first distance being a distance between the next cut position and the second position in the conveyance direction, the second distance being a distance of a printable range in the conveyance direction, the printable range being a range in which an image is printed with a count of print units corresponding to an amount of the print data stored in the first storage, and controlling the cutter to cut the print medium, a second interruption process including, when the first distance is more than the second distance during the execution of the printing process, interrupting the printing process before a printing operation based on the print data stored in the first storage is completed, and stopping the print medium in a state where the next cut position coincides in the conveyance direction with a particular position that is located a distance equal to or more than a particular distance upstream of the second position, and a resuming process including resuming the printing process after one of the first interruption process and the second interruption process has been executed.
It is noted that various connections are set forth between elements in the following description. It is noted that these connections in general and, unless specified otherwise, may be direct or indirect and that this specification is not intended to be limiting in this respect. Aspects of the present disclosure may be implemented on circuits (such as application specific integrated circuits) or in computer software as programs storable on computer-readable media including but not limited to RAMs, ROMs, flash memories, EEPROMs, CD-media, DVD-media, temporary storage, hard disk drives, floppy drives, permanent storage, and the like.
Hereinafter, an illustrative embodiment according to aspects of the present disclosure will be described with reference to the accompanying drawings. In the following description, an upside, a downside, a left side, a right side, a front side, and a rear side of a printer 1 of the illustrative embodiment will be defined as shown in
As shown in
At side surfaces of the housing 10, a tape outlet 14, a tube inlet 15, a tube outlet 16, and a user interface 17 are disposed. The tape outlet 14 is disposed at a front surface of the housing 10. The tape outlet 14 is an opening for discharging the tape 8 out of the housing 10 therethrough. The tube inlet 15 is disposed at a right surface of the housing 10. The tube inlet 15 is an opening for introducing the tube 9 into the housing 10 therethrough. The tube outlet 16 is disposed at a left surface of the housing 10. The tube outlet 16 is an opening for discharging the tube 9 out of the housing 10 therethrough. The user interface 17 includes a display and operable members. The display includes a plurality of LEDs configured to show an operating condition of the printer 1. The operable members include a plurality of operable buttons such as a power button and a start button.
As shown in
The ribbon attachment section 30 is a recessed section having an open upper side. The ribbon attachment section 30 is configured such that a ribbon cassette 90 is detachably attached thereto. In the illustrative embodiment, the ribbon attachment section 30 is positioned at a left portion of the attachment surface 11A. When the cover 12 is open, the user is allowed to detachably attach the ribbon cassette 90 to the ribbon attachment section 30 from above. The tube attachment section 40 is configured such that the tube 9 (see
The tube attachment section 40 is an upward-open groove extending from the tube inlet 15 to the tube outlet 16. In the illustrative embodiment, the tube attachment section 40 passes behind the tape attachment section 20 and the ribbon attachment section 30. Further, the tube attachment section 40 communicates with a rear end portion of the ribbon attachment section 30. When the cover 12 is open, the user is allowed to detachably attach the tube 9 to the tube attachment section 40 from above. The tube 9 is attached to the tube attachment section 40, so as to extend from the tube inlet 15 to the tube outlet 16.
As shown in
The tape attachment section 20 includes a print head 51, a tape driving shaft 55, and a ribbon winding shaft 56. The print head 51 is a thermal head configured to perform a line-by-line printing operation using a plurality of printing elements arranged in a direction perpendicular to a conveyance direction of the tape 8. The tape driving shaft 55 is configured to rotate the tape driving roller 81. The ribbon winding shaft 56 is configured to rotate the ribbon winding spool 82. On the right of the tape attachment section 20, a platen holder 52 is disposed. The platen holder 52 is configured to rotatably support a platen roller 53 and a movable conveyance roller 54. The platen roller 53 is opposed to the print head 51 and rotatable relative to the print head 51. The movable conveyance roller 54 is opposed to the tape driving shaft 55 and rotatable relative to the tape driving shaft 55.
When the cover 12 (see
Subsequently, when the cover 12 is closed, the platen holder 52 moves to an operating position such that the platen roller 53 and the movable conveyance roller 54 are placed inside the tape attachment section 20. At this time, the platen roller 53 urges, toward the print head 51, the tape 8 and the ink ribbon of the tape cassette 80 in an overlapped manner. The movable conveyance roller 54 pinches the tape 8 and the ink ribbon of the tape cassette 80 with the tape driving roller 81. Thereby, the printer 1 is placed in a printable state where the printer 1 is allowed to perform printing on the tape 8 of the tape cassette 80.
Behind the tape outlet 14 (i.e., on a rear side of the tape outlet 14), a cutter 57 is disposed. The cutter 57 is configured to cut the tape 8 laid in the conveyance guide 23 in a thickness direction of the tape 8. More specifically, the cutter 57 is capable of half cutting to cut a part (e.g., only a release paper) of layers of the tape 8 thereby forming a slit, and is capable of full cutting to cut off all (e.g., the release paper and a mount) of the layers of the tape 8.
The ribbon cassette 90 is formed in a box shape and configured to accommodate an unused ink ribbon and a ribbon winding spool 91. The ribbon attachment section 30 includes a print head 61, a movable conveyance roller 62, and a ribbon winding shaft 63. The print head 61 is a thermal head configured to perform a line-by-line printing operation by a plurality of printing elements (i.e., a plurality of dots) arranged in a direction perpendicular to a conveyance direction of the tube 9. The movable conveyance roller 62 is opposed to the print head 61 and rotatable relative to the print head 61. The ribbon winding shaft 63 is configured to rotate the ribbon winding spool 91.
When the cover 12 (see
On the right of the tube outlet 16, a cutter 64 is disposed. The cutter 64 is configured to cut the tube 9 attached to the tube attachment section 40 in a radial direction of the tube 9. The cutter 64 is capable of half cutting to cut a part of the tube 9 in the radial direction thereby forming a slit, and is capable of full cutting to completely cut off the tube 9 in the radial direction.
Referring to
The I/O I/F 49 is connected with an operation interface 17, drive circuits 71, 72, 73, 74, 75, and 76, and an external connection I/F 77. The drive circuit 71 includes an electronic circuit configured to drive the print head 51. The drive circuit 72 includes an electronic circuit configured to drive a conveyance motor 88 for rotating the tape driving shaft 55 and the ribbon winding shaft 56. The drive circuit 73 includes an electronic circuit configured to drive the cut motor 89 for operating the cutter 57. The drive circuit 74 includes an electronic circuit configured to drive the print head 61. The drive circuit 75 includes an electronic circuit configured to drive a conveyance motor 98 for rotating the movable conveyance roller 62 and the ribbon winding shaft 63. The drive circuit 76 includes an electronic circuit configured to drive a cut motor 99 for operating the cutter 64.
The external connection I/F 77 is an interface for connecting an external device with the printer 1. In the illustrative embodiment, a PC 2, as an external device, is connected with the printer 1 via the external connection I/F 77. In the PC 2, an editor is installed that is an application program for the user to edit page images. Each page image represents print contents, including at least one character, for a single unit of page. The user edits page images with the editor on the PC 2, and thereafter issues an instruction to print the page images. In this case, a CPU (not shown) of the PC 2 transmits to the printer 1 a print command for instructing the printer 1 to print the edited page images. In the illustrative embodiment, the print command indicates which print medium (the tape 8 or the tube 9) the page images are to be printed on, the number of pages to be printed, and cut information.
Further, the CPU of the PC 2 sequentially generates line-by-line print data based on the edited page images, and sequentially transmits the generated print data to the printer 1. Each piece of the line-by-line print data causes the printer 1 to print, as a print unit, a single line of the page images to be printed by the print head 51 or the print head 61. Thereby, a plurality of pieces of print data, required for printing all of the page images to be printed, are sequentially transmitted from the PC 2 to the printer 1. When there exist a plurality of page images to be printed, a plurality of pieces of print data, each of which represents a corresponding page image, are transmitted in accordance with a sequence in which the plurality of page images are to be printed.
In the printer 1, the received print command and the received print data are stored into the receive buffer 44A. The CPU 41 reads the print command and the print data out of the receive buffer 44A in the stored order. When reading out the print command from the receive buffer 44A, the CPU 41 begins to perform a below-mentioned printed matter producing process. When reading out print data from the receive buffer 44A, the CPU 41 converts the print data into image data of a single line, based on the print dot pattern data stored in the CGROM 43. Then, the CPU 41 stores the image data generated through the conversion, into an image buffer (not shown) of the RAM 44. The CPU 41 executes the following printed matter producing process while sequentially reading out image data stored in the image buffer.
When reading out a print command regarding the tape 8, the CPU 41 starts the printed matter producing process on the tape 8. As shown in
The print head 51 prints characters on the tape 8 with the ink ribbon, based on the image data sequentially read out from the image buffer, in synchronization with conveyance of the tape 8. The used ink ribbon is wound by the ribbon winding spool 82. The printed tape 8 is conveyed into the conveyance guide 23 by the movable conveyance roller 54 and the tape driving roller 81. Further, the printed tape 8 is cut by the cutter 57 on a page-image-by-page-image basis, and discharged from the tape outlet 14.
When reading out a print command regarding the tube 9, the CPU 41 starts a printed matter producing process on the tube 9. As shown in
The print head 61 prints characters on the tube 9 with the ink ribbon, based on the image data sequentially read out from the image buffer, in synchronization with conveyance of the tube 9. The used ink ribbon is wound by the ribbon winding spool 91. The printed tube 9 is conveyed downstream of the print head 61 in the conveyance direction of the tube 9 on a conveyance path, by the movable conveyance roller 62. Further, the printed tube 9 is cut by the cutter 64 on a page-image-by-page-image basis, and discharged from the tube outlet 16.
Referring to
In the illustrative embodiment, a case where the tape 8 is half-cut on a page-image-by-page-image basis. As shown in
As shown in
Subsequently, the CPU 41 performs a through-up printing process (S3). The through-up printing process is a print control process of controlling the print head 51 to print an image on the tape 8 while controlling the conveyance motor 88 to accelerate a conveyance speed of the tape 8 at a particular acceleration. Specifically, the CPU 41 accelerates the conveyance speed of the tape 8 at the particular acceleration by pulse control of the conveyance motor 88. The CPU 41 drives and controls the print head 51 to print characters on the tape 8 in synchronization with the conveyance speed of the tape 8.
Next, the CPU 41 determines whether the conveyance speed of the tape 8 has reached a particular maximum speed (S5). When determining that the conveyance speed of the tape 8 has reached the particular maximum speed (S5: Yes), the CPU 41 performs a constant-speed printing process (S11). The constant-speed printing process is a print control process of controlling the print head 51 to print an image on the tape 8 while controlling the conveyance motor 88 to maintain the maximum speed as the conveyance speed of the tape 8.
As shown in
Next, the CPU 41 determines whether the head position T1 is coincident with a page end position in the conveyance direction (S35). The page end position is a position on the tape 8 where printing of one page image by the print head 51 is completed. When determining that the head position T1 is coincident with the page end position in the conveyance direction (S35: Yes), the CPU 41 performs a page switching process (S37). For instance, in S37 the CPU 41 may initialize parameters used for each page image to be printed, in the RAM 44. Further, the CPU 41 may adjust a position of an image included in a next page image to be printed, relative to the tape 8 being conveyed.
Further, the CPU 41 registers the page end position of a post-switching page in the RAM 44 (S39). The post-switching page is a page image immediately before being printed by the print head 51. Specifically, the CPU 41 registers, in the RAM 44, the page end position of the post-switching page as a position on the tape 8 that coincides with the head position T1 in the conveyance direction when the tape 8 is conveyed over a print length of the post-switching page from a current position in the conveyance direction. After S39, or when determining that the head position T1 is not coincident with the page end position in the conveyance direction (S35: No), the CPU 41 determines whether the tape 8 needs to be cut (S41).
In the illustrative embodiment, when the head position T1 is coincident with the page end position of a cut target page in the conveyance direction, the CPU 41 determines that the tape 8 needs to be cut (S41: Yes). The cut target page is a page image to be cut in the page end position thereof. The CPU 41 may determine whether a page image to be surveyed is a cut target page based on print command. When determining that the tape 8 needs to be cut (S41: Yes), the CPU 41 registers a cut target position of a pre-switching page in the RAM 44 (S43). The pre-switching page is a page image immediately after having been completely printed by the print head 51. Specifically, the CPU 41 registers, in the RAM 44, the cut target position of the pre-switching page as a position on the tape 8 that coincides with the cutter position T1 in the conveyance direction when the tape 8 is conveyed over the distance L1 from a current position in the conveyance direction. After S43, or when determining that the tape 8 does not need to be cut (S41: No), the CPU 41 returns to the main process (see
As shown in
As shown in
When determining that the next cut distance is equal to or more than the sum of the reference distance X and the through-down amount Y (S51: Yes), the CPU 41 determines whether a printable distance is equal to or more than a sum of the reference distance X, the through-down amount Y, and an offset Z (S53). The printable distance is a distance of a printable range in the conveyance direction. The printable range is a range in which an image is allowed to be printed with the number of lines corresponding to a data amount of print data stored in the receive buffer 44A. In the printer 1, when the conveyance distance of the tape 8 is too short, it might result in deterioration of the quality of a printed image. The offset Z is a lower limit of a particular conveyance distance that enables to ensure an acceptable quality level of an image to be printed while the tape 8 is conveyed over the particular conveyance distance from start to stop of the conveyance and the printing of the tape 8.
When determining that the printable distance is equal to or more than the sum of the reference distance X, the through-down amount Y, and the offset Z (S53: Yes), the CPU 41 goes back to S11 and continuously performs the constant-speed printing process. Meanwhile, when determining that the printable distance is not equal to or more than the sum of the reference distance X, the through-down amount Y, and the offset Z (S53: No), the CPU 41 performs a data shortage stop process (S55).
As shown in
As described above, the through-down printing process is started at the same time as when the data shortage stop process in S55 is started. Therefore, the conveyance and the printing of the tape 8 are stopped at a point of time when the tape 8 has been conveyed over the through-down amount Y. At this time, a shortest stop position of the tape 8 is coincident with the head position T1 in the conveyance direction. The shortest stop position is located the through-down amount Y upstream of the head position T1 in the conveyance direction immediately before the data shortage stop process in S55 is started. After S101, the CPU 41 returns to the interruption determining process (see
As shown in
When determining that the printable distance is not equal to or more than the sum of the next cut distance and the offset Z (S59: No), the CPU 41 goes to S55. In S55, the CPU 41 performs the data shortage stop process to stop the conveyance and the printing of the tape 8. Meanwhile, when determining that the printable distance is equal to or more than the sum of the reference distance X, the through-down amount Y, and the offset Z (S57: Yes), or when determining that the printable distance is equal to or more than the sum of the next cut distance and the offset Z (S59: Yes), the CPU 41 performs a next cut stop process (S61).
As shown in
As shown in
When determining that the cutter position T2 is not coincident with the cut target position in the conveyance direction (S63: No), since the conveyance and the printing of the tape 8 have been interrupted in S55, the CPU 41 goes back to S3. In this case, after at least print data equal to or more than the number of lines corresponding to the offset Z has been stored in the receive buffer 44A, the CPU 41 resumes the conveyance and the printing of the tape 8.
As shown in
When the cut target position reaches the cutter position T2 or the bottom line of the printable range reaches the head position T1 within a period of time during which the tape 8 is printed while being conveyed over the non-constant-speed distance, the CPU 41 determines that there is a stop target position within the non-constant-speed distance (S7: Yes). In this case, the CPU 41 performs a non-constant-speed stop process (S9). Specifically, in S9, the CPU 41 adjusts each of the through-up amount and the through-down amount Y to be equal to a distance from a current position to the stop target position. It is noted that the current position denotes a position on the tape 8 that is currently coincident with a corresponding one of the cutter position T2 and the head position T1 in the conveyance direction. More specifically, when the stop target position is the cut target position, the current position is a position on the tape 8 that is currently coincident with the cutter position T2 in the conveyance direction. Meanwhile, when the stop target position is the bottom line of the printable range, the current position is a position on the tape 8 that is currently coincident with the head position T1 in the conveyance direction. The CPU 41 performs the through-up printing process based on the adjusted through-up amount, and thereafter performs through-down printing process based on the adjusted through-down amount. Thereby, the conveyance and the printing of the tape 8 are stopped when the cut target position coincides with the cutter position T2 or when the bottom line of the printable range coincides with the head position T1.
After S9, the CPU 41 goes to S63. Thereby, when the stop target position is the cut target position, the cut target position of the tape 8 is cut (S65). Meanwhile, when the stop target position is the bottom line of the printable range, the CPU 41 goes back to S3. In this case, after at least print data equal to or more than the number of lines corresponding to the offset Z has been stored in the receive buffer 44A, the CPU 41 resumes the conveyance and the printing of the tape 8 in the through-up printing process.
After S15, the CPU 41 determines whether printing of a page image (hereinafter referred to as a final page) to be finally printed has been completed (S17). When determining that printing of the final page has not been completed (S17: No), the CPU 41 determines whether a necessary amount of print data has been received (S19). For example, when unprinted print data stored in the receive buffer 44A is less than 500 lines, the CPU 41 may determine that a necessary amount of print data has not been received (S19: No). In this case, the CPU 41 waits for receipt of print data for a particular period of time (S21), and goes back to S19. When determining that a necessary amount of print data has been received (S19: Yes), the CPU 41 goes back to S3 and starts the through-up printing.
When determining that printing of the final page has been completed (S17: Yes), the CPU 41 performs a post-printing process (S23). For instance, when there is an unprocessed cut target position stored in the RAM 44, the CPU 41 continues to convey and cut the tape 8 until all of the cut target positions are cut. When there is not an unprocessed cut target position stored in the RAM 44, the CPU 41 further conveys the tape 8 and discharges a label with a page image printed thereon via the tape outlet 14 (see
Referring to
As shown in
Afterward, as shown in
Afterward, when the printing of the page image has been completed, the page end position of the page image is registered as a cut target position (S35 to S43). As shown in
Referring to
Afterward, in a situation shown in
Referring to
In an example shown in
In the present example, the next cut distance D1 is less than the sum of the reference distance X and the through-down amount Y (S51: No). The printable distance D2 is equal to or more than the sum of the reference distance X, the through-down amount Y, and the offset Z (S57: Yes). Accordingly, the next cut stop process is performed (S61). Specifically, the through-down printing process is continued until a through-down start position Q of the tape 8 reaches the head position T1 (S201). Along with the conveyance of the tape 8, the next cut distance D1 and the printable distance D2 decrease. When the tape 8 is conveyed until the through-down start position Q thereof has reached the head position T1, the next cut distance D1 becomes equal to the through-down amount Y. The through-down printing process is performed (S203), and the conveyance and the printing of the tape 8 are stopped such that the cutter position T2 coincides the next cut position in the conveyance direction. The next cut position is half-cut (S63: Yes, and S65).
In the present example, there is no print data newly stored into the receive buffer 44A after the timing P2. At a point of time when the conveyance and the printing of the tape 8 have been stopped for the first time as described above, the bottom line of the printable range is located a distance equal to or more than the offset Z upstream of the head position T1 in the conveyance direction. The inter-stop distance H is equal to the printable distance D2 at the point of time when the conveyance and the printing of the tape 8 have been stopped for the first time, and is less than the non-constant-speed distance (S7: Yes). Accordingly, after the conveyance and the printing of the tape 8 are resumed in the through-up printing process (S3), the non-constant-speed stop process is performed (S9). Namely, the conveyance and the printing of the tape 8 are stopped at a point of time when the tape 8 has been conveyed and printed over the inter-stop distance H via the through-up printing process and the through-down printing process. The inter-stop distance H is more than the offset Z. Therefore, it is possible to perform stable print control for the tape 8 to be conveyed over the inter-stop distance H. Thus, it is possible to prevent deterioration in quality of an image to be printed on the tape 8 during the conveyance of the tape 8 over the inter-stop distance H.
In an example shown in
In the present example, the next cut distance D1 is equal to or more than the sum of the reference distance X and the through-down amount Y (S51: Yes). The printable distance D2 is less than the sum of the reference distance X, the through-down amount Y, and the offset Z (S53: No). Accordingly, the data shortage stop process is performed (S61). Specifically, the through-down printing process is started from the timing P1 (S101). The conveyance and the printing of the tape 8 are stopped at a point of time when the tape 8 has been conveyed and printed over the through-down amount Y. At this time, the next cut distance D1 is made less by through-down amount Y than at the timing P1. At this time, the next cut position is located a distance equal to or more than the offset Z upstream of the cutter position T2 in the conveyance direction.
In the present example, while the step S101 is being executed, new print data is stored into the receive buffer 44A. At the point of time when the conveyance and the printing of the tape 8 have been stopped for the first time as described above, the printable distance D2 is more than the next cut distance D1. The inter-stop distance H is equal to the next cut distance D1 at the point of time when the conveyance and the printing of the tape 8 have been stopped for the first time, and is more than the non-constant-speed distance (S7: No). Accordingly, after the conveyance and the printing of the tape 8 are resumed in the through-up printing process (S3), the constant-speed printing process is performed (S11).
Further, it is determined that the conveyance distance of the tape 8 is equal to the reference distance X at the timing P2 (S13: Yes), and the interruption determining process (S15) is performed. In the same manner as exemplified in
It is noted that, instead of the process shown in
Subsequently, the CPU 41 calculates a prospective area having the smallest number of print dots within the stoppable range (S113). In other words, the prospective area is an area (e.g., an unprinted area of the page image) corresponding to print lines having the smallest number of dots to be driven in a line-by-line printing operation performed by the print head 51. Next, the CPU 41 sets, in the RAM 44, a center position of the prospective area in the conveyance direction as a stop target position (S115).
The CPU 41 continues the constant-speed printing process until a through-down start position of the tape 8 reaches the head position T1 (S117). The through-down start position in S117 is such a position as to coincide with the head position T1 in the conveyance direction when the tape 8 is conveyed until a distance between the head position T1 and the stop target position in the conveyance direction has become equal to the through-down amount Y. When the tape 8 is conveyed until the through-down start position thereof has reached the head position T1, the CPU 41 performs the through-down printing process in the same manner as executed in S101 (S119). Thereby, the conveyance and the printing of the tape 8 are stopped such that the head position T1 coincides with the stop target position in the conveyance direction. After S119, the CPU 41 goes back to the interruption determining process (see
Referring to
Subsequently, a white portion of the stoppable range 8B that has the smallest number of print dots is calculated as a prospective area 8C (S113). A center position of the prospective area 8C in the conveyance direction is set as a stop target position W3 (S115). The constant-speed printing process is continued until a through-down start position Q of the tape 8 reaches the head position T1 (S117). When the tape 8 is conveyed until the through-down start position Q of the tape 8 has reached the head position T1, a distance between the head position T1 and the stop target position W3 in the conveyance direction becomes equal to the through-down amount Y. After the through-down printing process (S119) is started, the conveyance and the printing of the tape 8 are stopped such that the head position T1 coincides with the stop target position W3 in the conveyance direction. At this time, the next cut position (in the present example, the cut target position of the head margin) is located a distance equal to or more than offset Z upstream of the cutter position T2 in the conveyance direction.
In the present example, during the execution of S119, new print data is stored into the receive buffer 44A. Therefore, at a point of time when the conveyance and the printing of the tape 8 have been stopped for the first time as described above, the printable distance D2 is more than the next cut distance D1. The inter-stop distance H is equal to the next cut distance D1 at the point of time when the conveyance and the printing of the tape 8 have been stopped for the first time, and is less than the non-constant-speed distance (S7: Yes).
Accordingly, after the conveyance and the printing of the tape 8 are resumed in the through-up printing process, the non-constant-speed stop process is performed (S9). Namely, the next cut position is half-cut at a point of time when the tape 8 has been conveyed and printed over the inter-stop distance H via the through-up printing process and the through-down printing process. In this case, the inter-stop distance H is more than the offset Z. Therefore, it is possible to prevent deterioration in quality of an image to be printed on the tape 8 during the conveyance of the tape 8 over the inter-stop distance H.
In a data shortage stop process of a second modification shown in
Subsequently, the CPU 41 continues the constant-speed printing process until a through-down start position of the tape 8 reaches the head position T1 (S123). The through-down start position in S123 is such a position as to coincide with the head position T1 in the conveyance direction when the tape 8 is conveyed until a distance between the head position T1 and the limit stop position in the conveyance direction has become equal to the through-down amount Y. During the execution of S123, the next cut distance and the printable distance decrease along with conveyance of the tape 8. Meanwhile, in response to new print data being stored into the receive buffer 44A, the printable distance increases. Therefore, at a point of time when the tape 8 is conveyed until the through-down start position thereof has reached the head position T1, the following process is performed.
The CPU 41 determines whether the printable distance is equal to or more than the sum of the next cut distance and the offset Z in the same manner as executed in S59 (S125). When determining that the printable distance is not equal to or more than the sum of the next cut distance and the offset Z (S125: No), the CPU 41 performs the through-down printing process in the same manner as executed in S101 (S127). Thereby, the conveyance and the printing of the tape 8 are stopped such that the head position T1 coincides with the limit stop position in the conveyance direction.
When determining that the printable distance is equal to or more than the sum of the next cut distance and the offset Z (S125: Yes), the CPU 41 determines whether the next cut distance is equal to or more than the sum of the reference distance X and the through-down amount Y in the same manner as executed in S51 (S129). When determining that the next cut distance is equal to or more than the sum of the reference distance X and the through-down amount Y in the same manner as executed in S51 (S129: Yes), the CPU 41 goes back to S11, and continuously performs the constant-speed printing process. When determining that the next cut distance is not equal to or more than the sum of the reference distance X and the through-down amount Y in the same manner as executed in S51 (S129: No), the CPU 41 performs the next cut stop process in the same manner as executed in S61 (S131). After execution of S127 or S131, the CPU 41 goes back to the interruption determining process (see
Referring to
In the present example, there is no print data newly stored into the receive buffer 44A during the execution of S123. Therefore, at a point of time when the tape 8 is conveyed until the through-down start position Q thereof has reached the head position T1, the printable distance D2 is less than a sum of the next cut distance D1 and the offset Z (S125: No). Accordingly, the through-down printing process is started (S127). The conveyance and the printing of the tape 8 are stopped such that the head position T1 coincides with the limit stop position W4 in the conveyance direction. At this time, the next cut position (in the present example, the cut target position of the head margin) is located a distance equal to or more than the offset Z upstream of the cutter position T2 in the conveyance direction.
Further, in the present example, during the execution of S127, new print data is stored into the receive buffer 44A. Therefore, at the point of time when the conveyance and the printing of the tape 8 have been stopped for the first time as described above, the printable distance D2 is more than the next cut distance D1. The inter-stop distance H is equal to the next cut distance D1 at the point of time when the conveyance and the printing of the tape 8 have been stopped for the first time, and is less than the non-constant-speed distance (S7: Yes).
Accordingly, after the conveyance and the printing of the tape 8 are resumed in the through-up printing process (S3), the non-constant-speed stop process is performed (S9). Namely, the next cut position is half-cut at a point of time when the tape 8 has been conveyed and printed over the inter-stop distance H via the through-up printing process and the through-down printing process. In this case, the inter-stop distance H is more than the offset Z. Therefore, it is possible to prevent deterioration in quality of an image to be printed on the tape 8 during the conveyance of the tape 8 over the inter-stop distance H.
In the case where new print data is stored into the receive buffer 44A during the execution of S123, at a point of time when the tape 8 is conveyed until the through-down start position Q thereof has reached the head position T1, the printable distance D2 may be equal to or more than the sum of the next cut distance D1 and the offset Z (S125: Yes). In this case, when the next cut distance D1 is less than the sum of the reference distance X and the through-down amount Y (S129: No), the next cut stop process is performed (S131). Thereby, the conveyance and the printing of the tape 8 are not stopped even when the limit stop position W4 reaches the head position T1, but are continued until the next cut position reaches the cutter position T2. Thereafter, the next cut position is half-cut. Meanwhile, when the next cut distance D1 is equal to or more than the sum of the reference distance X and the through-down amount Y (S129: Yes), the constant-speed printing process is continued until the tape 8 is further conveyed over the reference distance X.
As described above, the printer 1 of the illustrative embodiment includes the conveyance motor 88, the RAM 44, the print head 51, the cutter 57, and the CPU 41. The conveyance motor 88 is configured to convey the long tape 8 in the conveyance direction along the conveyance path (e.g., the conveyance guide 23). The print head 51 is configured to sequentially print a plurality of page images on the tape 8 in the head position T1 on the conveyance path. Each page image represents a single unit of page. The cutter 57 is configured to cut the tape 8 in the cutter position T2 on the conveyance path. The cutter position T2 is located upstream of the head position T1 in the conveyance direction of the tape 8. The RAM 44 is configured to store therein a plurality of pieces of print data for printing each individual page image in a manner separated on a line-by-line basis. Each piece of print data expresses print contents of a single print line. The RAM 44 is further configured to store therein cut target positions as positions on the tape 8 to be cut by the cutter 57. The next cut distance is a distance between the next cut position and the cutter position T2 in the conveyance direction. The next cut position is closest to the cutter position T2 among cut target positions stored in the RAM 44 and located upstream of the cutter position T2 in the conveyance direction. The printable distance is a distance of the printable range in the conveyance direction. The printable range is a range within which an image is allowed to be printed with the number of lines corresponding to a data amount of print data stored in the RAM 44.
The CPU 41 performs a printing process of controlling the print head 51 to sequentially print page images on the tape 8 based on the print data stored in the RAM 44 while controlling the conveyance motor 88 to convey the tape 8 in the conveyance direction on the conveyance path (S3, S31, and S33). The CPU 41 stores into the RAM 44 a cut target position of each page image printed on the tape 8 (S1 and S43). The CPU 41 interrupts the printing process when the next cut distance is equal to or less than the printable distance. Thereby, the CPU 41 stops the tape 8 such that the next cut position of the tape 8 coincides with the cutter position T2 in the conveyance direction, and controls the cutter 57 to cut the tape 8 (S51: No, S57: Yes, and S61). When the next cut distance becomes more than the printable distance during the conveyance and the printing of the tape 8, the CPU 41 interrupts the printing process before the CPU 41 completes printing based on print data stored in the RAM 44. Thereby, the CPU 41 stops the tape 8 such that the next cut position of the tape 8 coincides with a position located a distance equal to or more than the offset Z upstream of the cutter position T2 in the conveyance direction (S51: Yes, S53: No, and S55). After the interruption of the printing process, the CPU 41 resumes the printing process (S19: Yes, S63: No, and S3).
Thereby, the printing process is resumed in a state where a distance equal to or more than the offset Z is secured between the next cut position and the cutter position T2. In other words, the tape 8 is conveyed over a distance equal to or more than the offset Z in a period of time between when the printing process has been resumed and when the printing process is interrupted in response to the next cut position reaching the cutter position T2. Accordingly, the printer 1 is enabled to properly perform consecutive printing and cutting of the tape 8 while preventing positional displacement and/or distortion of an image to be printed on the tape 8.
Further, each time the tape 8 is conveyed over the reference distance X during the execution of the printing process, the CPU 41 determines whether a first condition or a second condition is satisfied (S15). When determining that the first condition is satisfied, the CPU 41 stops the tape 8 such that the next cut position coincides with the cutter position T2 in the conveyance direction by controlling the conveyance motor 88 to decelerate the conveyance speed of the tape 8 from a particular speed to zero (S61). When determining that the second condition is satisfied, the CPU 41 stops the tape 8 such that the next cut position coincides with a position located a distance equal to or more than the offset Z upstream of the cutter position T2 in the conveyance direction by controlling the conveyance motor 88 to decelerate the conveyance speed of the tape 8 from the particular speed to zero (S55). The tape 8 is conveyed over the through-down amount Y while the conveyance speed is decelerated from the particular speed to zero.
The first condition includes a requirement that the next cut distance is less than the sum of the reference distance X and the through-down amount Y (S51: No), and a requirement that the printable distance is equal to or more than the sum of the reference distance X, the through-down amount Y, and the offset Z (S57: Yes). The second condition includes a requirement that the next cut distance is equal to or more than the sum of the reference distance X and the through-down amount Y (S51: Yes), and a requirement that the printable distance is less than the sum of the reference distance X, the through-down amount Y, and the offset Z (S53: No). Thereby, the printer 1 is enabled to interrupt the printing process at a more proper timing in consideration of the reference distance X, which corresponds to a timing to determine whether to interrupt the printing process, and the through-down amount Y for interrupting the printing process.
At a point of time when determining that the second condition is satisfied, the CPU 41 controls the conveyance motor 88 to start decelerating the conveyance speed of the tape 8 (S101). Thereby, it is possible to convey the tape 8 over a longer distance in a period of time between when the printing process has been resumed and when the printing process is interrupted in response to the next cut position reaching the cutter position T2. Accordingly, it is possible to further prevent positional displacement and/or distortion of an image to be printed on the tape 8 when the printing process is resumed.
The print head 51 is configured to perform a line-by-line printing operation with a print line as a print unit. Each print line includes a plurality of dots arranged in a direction perpendicular to the conveyance direction of the tape 8. When determining that the second condition is satisfied, the CPU 41 stops the tape 8 such that the head position T1 coincides with a smallest-amount print position in the conveyance direction (S111 to S119). The smallest-amount print position is a position corresponding to a print line with the smallest number of dots to be printed in the print line within the printable range. Thereby, the printing process is interrupted such that the head position T1 coincides in the conveyance direction with a position where a print amount (e.g., the number of dots to be printed) is the smallest within the printable range. Accordingly, it is possible to further prevent positional displacement and/or distortion of an image to be printed on the tape 8 when the printing process is resumed.
When determining that the second condition is satisfied, the CPU 41 stops the tape 8 such that the head position T1 coincides with the limit stop position in the conveyance direction (S121, S123, and S127). The limit stop position is an upstream end position of the stoppable range included in the printable range in the conveyance direction. The stoppable range is an area between the shortest stop position and the longest stop position in the conveyance direction. The shortest stop position is located the through-down amount Y upstream of the head position T1 in the conveyance direction. The longest stop position is located a specific distance upstream of the head position T1 in the conveyance direction. It is noted that the specific distance is obtained by subtracting the offset Z from the next cut distance.
Thereby, the tape 8 is conveyed over a shorter distance within a range equal to or more than the offset Z in a period of time between when the printing process has been resumed and when the printing process is interrupted in response to the next cut position reaching the cutter position T2. Accordingly, the printer 1 prints the print data already stored before the interruption of the printing process, as much as possible within such a range that the printer 1 is allowed to prevent positional displacement and/or distortion of an image to be printed on the tape 8 when the printing process is resumed. Thus, it is possible to achieve a fast printing operation.
When determining that a third condition is satisfied, the CPU 41 continuously performs the printing process without interrupting the printing process (S51: Yes, and S53: Yes). The third condition includes a requirement that the next cut distance is equal to or more than the sum of the reference distance X and the through-down amount Y (S51: Yes), and a requirement that the printable distance is equal to or more than the sum of the reference distance X, the through-down amount Y, and the offset Z (S53: Yes). Thereby, the printer 1 is allowed to continuously perform the printing process without interrupting the printing process.
Hereinabove, the illustrative embodiment according to aspects of the present disclosure has been described. The present disclosure can be practiced by employing conventional materials, methodology and equipment. Accordingly, the details of such materials, equipment and methodology are not set forth herein in detail. In the previous descriptions, numerous specific details are set forth, such as specific materials, structures, chemicals, processes, etc., in order to provide a thorough understanding of the present disclosure. However, it should be recognized that the present disclosure can be practiced without reapportioning to the details specifically set forth. In other instances, well known processing structures have not been described in detail, in order not to unnecessarily obscure the present disclosure.
Only an exemplary illustrative embodiment of the present disclosure and but a few examples of their versatility are shown and described in the present disclosure. It is to be understood that the present disclosure is capable of use in various other combinations and environments and is capable of changes or modifications within the scope of the inventive concept as expressed herein. For instance, according to aspects of the present disclosure, the following modifications are possible.
The main process (see
The main process (see
As shown in
The cover 220 is disposed above the main body casing 210. The cover 220 is configured to rotate via a hinge (not shown) disposed at an upper rear end portion of the main body casing 210, above the main body casing 210. When closed relative to the main body casing 210, the cover 220 covers all of the upper surface of the main body casing 210 but the open button 214 (see
As shown in
An interface unit 230 is detachably attached to an upper surface 220A of the cover 220. The interface unit 230 includes a lower case 231 and an upper case 233. The lower case 231 includes a known touch panel display 232. The upper case 233 includes a known liquid crystal display (hereinafter referred to as an “LCD”) 234. The upper case 233 is smaller in size than the lower case 231. The upper case 233 is configured to rotate via a hinge (not shown) disposed at an upper rear end portion of the lower case 231, above the lower case 231.
The user attaches the interface unit 230 to the upper surface 220A in the state where the cover 220 is closed relative to the main body casing 210. Thereby, the lower case 231 covers all of the upper surface 220A but a front end portion of the upper surface 220A. The touch panel display 232 is disposed in such a position that the user is allowed to operate and view the touch panel display 232 from above. Further, when the lower case 231 is opened relative to the upper case 233, the user is allowed to view the LCD 234 from the front. Thereby, for instance, the user is allowed to edit a label image by operating the touch panel display 232 while viewing a screen displayed on the LCD 234.
As shown in
The print unit 240 is disposed under the tape attachment section 20 (not shown) inside the main body casing 210. The cut unit 250 is disposed between the tape outlet 212 and the print unit 240 inside the main body casing 210. Further, the cut unit 250 extends up to a position lower than the tape outlet 212 and the print unit 240. The battery 260 is disposed at a lower front portion inside the main body casing 210. Further, the battery 260 is positioned below the cut unit 250. Namely, the cut unit 250 and the battery 260, which have heavy weights, are disposed such that great loads are applied to a lower side of the main body casing 210, in a front portion of the main body casing 210. Thereby, even when the cover 220 with the interface unit 230 attached thereto is opened, it is possible to prevent the printer 2 from falling rearward.
Number | Date | Country | Kind |
---|---|---|---|
2015-251147 | Dec 2015 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20090279136 | Kanno | Nov 2009 | A1 |
Number | Date | Country |
---|---|---|
2007-038557 | Feb 2007 | JP |
Number | Date | Country | |
---|---|---|---|
20170182805 A1 | Jun 2017 | US |