Printing device, printing method, and printing program

By writing VOID information and performing a third writing process before the second printing step, the printing device reduces reverse transportation frequency, addressing the inefficiency of conventional methods and speeding up the printing process.

JP7727263B2Active Publication Date: 2025-08-21BROTHER KOGYO KK
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2021117542
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-07-16
Publication Date
2025-08-21
Estimated Expiration
2041-07-16

AI Technical Summary

Technical Problem

Conventional printing devices require frequent reverse transportation of printing media to correct poor print quality, prolonging the time required to write electronic information and print on labels.

Method used

A control unit that manages the transport, information writing, and printing units to minimize reverse transportation by writing VOID information indicating poor print quality and executing a third writing process before the second printing process, reducing the frequency of transporting media in reverse direction.

Benefits of technology

This approach significantly shortens the time needed to write electronic information and print on labels by minimizing the frequency of reverse transportation, enhancing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007727263000001
    Figure 0007727263000001
  • Figure 0007727263000002
    Figure 0007727263000002
  • Figure 0007727263000003
    Figure 0007727263000003
Patent Text Reader

Abstract

To provide a printer, printing method and printing program which can shorten the time necessary for writing of electronic information to an information storage medium and printing to a label by reducing the conveyance frequency of a printing medium as much as possible.SOLUTION: A control unit executes prescribed printing to a printing medium (S16) and executes printing quality determination on the basis of a reading result of a prescribed image printed on the printing medium (S18). When the result of printing quality determination indicates that the printing quality of the prescribed image is poor (S19: NO), the control unit reverse-feeds a long medium (S21), and executes prescribed information writing on an information storage medium in a second medium arranged adjacently to the upstream in the forward direction with respect to a first medium in a process in which the first medium in which the printing quality of the prescribed image is poor is reverse-fed to an information writing position (S22). Then, the control unit executes VOID information writing and VOID printing on the information storage medium in the first medium (S25, S28).SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a printing device, a printing method, and a printing program. [Background technology]

[0002] Conventionally, there are known printing devices that write electronic information to an information storage medium, such as an RFID (Radio Frequency Identification) tag, and print on the label. Patent Document 1 discloses a printing device that writes electronic information to the RFID tag and prints on the print surface of the label while conveying a medium, in which multiple RFID-tagged labels are affixed to a long label mount, in a forward direction in a predetermined conveyance direction. If this printing device determines that the electronic information writing to the RFID tag was not performed correctly, it conveys the corresponding label in the reverse direction to a print position on the conveyance path. A printing unit located at the print position overwrites the print surface of the label with NG information, indicating that the label has an RFID tag with no correct electronic information written on it.

[0003] The printing device disclosed in Patent Document 2 writes electronic information to the RFID tag sandwiched between the penultimate label "E-1" and prints on the print surface of label "E-1." The printing device then writes electronic information to the RFID tag sandwiched between label "E," which follows label "E-1." [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Application Laid-Open No. 2005-271951 [Patent Document 2] Japanese Patent Application Laid-Open No. 2006-272842 Summary of the Invention [Problem to be solved by the invention]

[0005] If the print quality of the printing performed on the print surface of a label is determined to be poor, electronic information indicating this may be written to the information storage medium attached to the corresponding label. In this case, the corresponding label on the medium must be transported in the reverse direction to the position of the writing unit where the electronic information is written. The more frequently such reverse transport occurs, the longer it tends to take to complete writing the information to the information storage medium and printing on the label.

[0006] The present invention aims to provide a printing device, printing method, and printing program that can shorten the time required to write electronic information to an information storage medium and print on a label by reducing the frequency of transporting the printing medium as much as possible. [Means for solving the problem]

[0007] a control unit that controls the transport unit, the information writing unit, the printing unit, and the reading unit; wherein the control unit performs a first write process that writes predetermined information to the information storage medium of a first medium among the plurality of print media, and a first print process that performs predetermined printing on the first medium after the predetermined information has been written to the information storage medium by the first write process; a transport process for transporting the first medium, whose print quality has been determined by the transport process, in the reverse direction to a predetermined position; a second writing process for writing VOID information indicating that the print quality is not good to an information storage medium included in the first medium if the transport process determines that the print quality of the predetermined image on the first medium is not good; and a second printing process for printing a VOID image indicating that the print quality is not good on the first medium whose information storage medium the VOID information has been written to by the second writing process. If the transport process determines that the print quality of the predetermined image on the first medium is not good, a third writing process for writing the predetermined information to an information storage medium included in at least one second medium arranged upstream in the forward direction relative to the first medium among the plurality of printing media is performed before the second printing process.

[0008] A printing device according to a first aspect of the present invention writes VOID information indicating poor print quality to the information storage medium of the print medium. Furthermore, by printing a VOID image on the print medium indicating poor print quality, the printing device can prevent the print medium with poor print quality from being used incorrectly. If the print quality of a predetermined image on a first medium is poor, the printing device executes a third writing process before executing a second printing process while transporting the first medium in the reverse direction through the transport process. This allows the printing device to minimize the frequency of transporting the print medium, particularly the frequency of transporting the second medium in the reverse direction, compared to conventional technology that executes the third writing process after the second printing process. Therefore, the printing device can shorten the time required to write electronic information to the information storage medium and print on the label.

[0009] A printing method according to a second aspect of the present invention is a printing method for printing on a long medium in which a plurality of print media, each having an information storage medium to which electronic information can be written, are arranged in order, the method comprising: a first writing step in which an information writing unit, which writes electronic information to the information storage medium, writes predetermined information to the information storage medium included in a first medium among the plurality of print media; a first printing step in which a printing unit, which performs printing, performs predetermined printing, printing a predetermined image on the first medium on which the predetermined information has been written by the first writing step; a determination step in which, based on a result of reading by a reading unit, the print content of the first medium on which the predetermined printing has been performed, the print quality of the predetermined image on the first medium is good; and a method of transporting the first medium, the print quality of which has been determined by the determination step, in a forward direction in a transport direction of the long medium and in a reverse direction opposite to the forward direction. a second writing step, if it is determined in the determining step that the print quality of the predetermined image on the first medium is not good, of causing the information writing unit to write VOID information indicating that the print quality is not good to the information storage medium included in the first medium; and a second printing step, of causing the printing unit to print a VOID image indicating that the print quality is not good to the first medium on the information storage medium on which the VOID information has been written in the second writing step; and a third writing step, if it is determined in the determining step that the print quality of the predetermined image on the first medium is not good, of causing the information writing unit to write the predetermined information to the information storage medium included in at least one second medium arranged upstream in the forward direction relative to the first medium among the plurality of printing media, prior to performing the second printing step.

[0010] A printing program according to a third aspect of the present invention is a printing program for printing on a long medium in which a plurality of print media, each having an information storage medium to which electronic information can be written, are arranged in order, the printing program including: a first writing step in which an information writing unit that writes electronic information to the information storage medium writes predetermined information to the information storage medium included in a first medium among the plurality of print media; a first printing step in which a printing unit that performs printing performs predetermined printing, printing a predetermined image on the first medium on which the predetermined information has been written by the first writing step; a determination step in which the print quality of the predetermined image on the first medium is good based on the results of reading by a reading unit that reads the print content printed on the plurality of print media of the first medium on which the predetermined printing has been performed; and a method of transporting the first medium, the print quality of which has been determined by the determination step, in a forward direction in a transport direction of the long medium and in a reverse direction opposite to the forward direction. a second writing step of causing the information writing unit to write VOID information indicating that the print quality is poor to the information storage medium included in the first medium if it is determined in the determining step that the print quality of the predetermined image on the first medium is poor, and a second printing step of causing the printing unit to print a VOID image indicating that the print quality is poor to the first medium on the information storage medium on which the VOID information has been written in the second writing step; and a third writing step of causing the information writing unit to write the predetermined information to the information storage medium included in at least one second medium arranged upstream of the first medium in the forward direction among the plurality of print media if it is determined in the determining step that the print quality of the predetermined image on the first medium is poor, prior to executing the second printing step.

[0011] By executing the printing method according to the second aspect and the printing program according to the third aspect, the same effects as those of the first aspect can be achieved. [Brief explanation of the drawings]

[0012] [Figure 1] FIG. 1 is a perspective view of a printing device 1. [Figure 2] FIG. 2 is a cross-sectional view showing the internal configuration of the printing device 1. [Figure 3] 2 is a block diagram showing the electrical configuration of the printing device 1. FIG. [Figure 4] FIG. 2 is an explanatory diagram of a database 80. [Figure 5] 10 is a flowchart of a print execution process according to an embodiment. [Figure 6] 1 is an explanatory diagram showing an example of a long medium M when a print execution process is executed in an embodiment. [Figure 7] FIG. 7 is an explanatory diagram following FIG. [Figure 8] FIG. 8 is an explanatory diagram following FIG. [Figure 9] 10 is a flowchart of a print execution process according to an embodiment. [Figure 10] 1 is an explanatory diagram showing an example of a long medium M when a print execution process is executed in an embodiment. [Figure 11] 10 is a flowchart of a print execution process according to an embodiment. [Figure 12] 12 is a flowchart continuing from FIG. 11. [Figure 13] 1 is an explanatory diagram showing an example of a long medium M when a print execution process is executed in an embodiment. [Figure 14] FIG. 14 is an explanatory diagram following FIG. DETAILED DESCRIPTION OF THE INVENTION

[0013] A printing device 1 according to a first embodiment of the present invention will be described with reference to Figures 1 to 8. The drawings referred to below are used to explain the technical features that may be adopted by the present invention, and the configuration of the device described is not intended to be limiting but is merely an illustrative example. In the following description, left and right, front and back, and up and down are indicated by arrows in the drawings.

[0014] The configuration of the printing device 1 will be described with reference to Figures 1 and 2. As shown in Figure 1, the printing device 1 includes a housing 2, a display unit 3, an operation unit 4, and an external device connection unit 242.

[0015] The housing 2 has a front wall 24, a right wall 25, a rear wall 26, a left wall 25L, a bottom wall 27, a top wall 28, and a cover 23. The housing 2 is a rectangular parallelepiped sized to be placed on a table. The housing 2 is formed with an outlet 21 and an opening 22. The outlet 21 is formed in the front wall 24 of the housing 2 in a rectangular shape that is elongated in the left-right direction when viewed from the front. The opening 22 is formed in the lower rear part of the right wall 25 of the housing 2 and is rectangular when viewed from the right side. The cover 23 is a plate that is rectangular when viewed from the right side. The cover 23 is supported on the lower rear part of the right side of the housing 2 so that it can rotate between a closed position that covers the opening 22 shown by the solid line in FIG. 1 and an open position that opens the opening 22 shown by the dashed-dotted line in FIG. 1. The display unit 3 is provided in the upper right front part of the front wall 24 of the housing 2 and displays images. The operation unit 4 is provided in the upper right front part of the front wall 24 of the housing 2 below the display unit 3 and consists of multiple buttons for inputting various commands. The display unit 3 and the operation unit 4 are provided above the outlet 21. The external device connection unit 242 is provided on the lower right part of the front wall 24.

[0016] As shown in FIG. 2, the printer 1 houses a second conveyor 10, a holder 5, a partition 55, a back tension applying unit 8, a first conveyor 7, a medium detecting unit 53, an information writing unit 54, a printing unit 6, a third conveyor 15, a fixing unit 40, a fourth conveyor 19, a reading unit 45, a fifth conveyor 48, and a cutting unit 50 within a housing 2. The printer 1 is an inkjet printer that prints on a long medium M. The long medium M is, for example, a long backing paper wound in a roll around a cylindrical paper tube K. The long medium M has multiple print media L arranged in order along its length, each attached to the backing paper with an adhesive. The long medium M may also be a linerless tape without a backing paper. In this embodiment, the multiple print media L are label paper. Each of the multiple print media L includes an RFID tag T shown in FIG. 6 as an information storage medium to which electronic information can be written. The RFID tag T is an information storage medium that can electronically store various pieces of information. In this embodiment, the RFID tag T is attached to the back surface of each of the plurality of print media L with an adhesive.

[0017] The partition 55 has a first wall portion 56 extending upward from the bottom wall 27 of the housing 2 and a second wall portion 57 extending rearward from the upper end of the first wall portion 56, and divides the internal space of the housing 2. The second wall portion 57 is separated from the rear wall 26 of the housing 2 in the front-to-rear direction. The holder 5 is located to the left of the cover 23 in the closed position and at the rear lower part of the printing device 1, in a space surrounded by the partition wall 55 and the housing 2, and holds a long medium M. The holder 5 holds a roll R around which the long medium M is wound. The roll R winds the long medium M so that multiple printing media L face outward. The holder 5 in this embodiment includes a shaft portion 51 and a magazine 52. The shaft portion 51 extends in the left-right direction and is inserted into the cardboard core K of the roll R. The magazine 52 is a support base that is U-shaped when viewed from the front, and supports both left and right ends of the shaft 51 so that the shaft 51 can rotate around an axis that extends in the left-right direction. The shaft 51 is removably supported by the magazine 52. The magazine 52 is removably supported by the printing device 1. When replacing the roll R, the user of the printing device 1 places the cover 23 in the open position, removes the magazine 52 from inside the housing 2, and performs the replacement work of the roll R. The roll R may not have a paper tube K, but may be wound up in a roll so that it can be attached to the holding unit 5.

[0018] The second conveying unit 10 conveys the long medium M in a forward direction F and a reverse direction B opposite to the forward direction F. The forward direction F is a direction along a conveying path Q from the holding unit 5 toward the printing unit 6. The conveying path Q is a path along which the long medium M is conveyed from the holding unit 5 until it is discharged from the discharge port 21 to the outside of the housing 2. Hereinafter, the direction along the conveying path Q will be referred to as the conveying direction. The conveying direction is a direction that intersects with the left-right direction, which is the extension direction of the rotation axis of the roll R, and changes depending on the position on the conveying path Q. The second conveying unit 10 is provided upstream of the first conveying unit 7 in the forward direction F. In this embodiment, the second conveying unit 10 detachably engages with a shaft 51 of the holding unit 5 and transmits the driving force of a second conveying drive unit 11, which will be described later with reference to FIG. 3, to the shaft 51 to rotate it. When rotating in the forward direction, the second conveying unit 10 rotates the roll R held by the holding unit 5 to convey the long medium M in the forward direction F and unwind the roll R toward the printing unit 6. When rotating in the reverse direction, the second conveying unit 10 rotates the roll R held by the holding unit 5 to convey the long medium M in the reverse direction B and wind it up onto the roll R.

[0019] The first conveying unit 7 conveys the long medium M in the forward direction F and the reverse direction B. The first conveying unit 7 is located upstream in the forward direction F from the information writing unit 54 and the printing unit 6, and downstream in the forward direction F from the holding unit 5. The first conveying unit 7 of this embodiment has a conveying roller 71 that rotates around an axis extending in the left-right direction, and a pinch roller 72, and the conveying roller 71 and the pinch roller 72 sandwich the long medium M from above and below to perform nip conveyance.

[0020] The back tension applying unit 8 applies back tension to the long medium M between the holding unit 5 and the first conveying unit 7 along the conveying path Q. Back tension is tension that acts in the opposite direction to the traveling direction of the long medium M. The back tension applying unit 8 is located upstream of the first conveying unit 7 in the forward direction F and downstream of the second conveying unit 10 in the forward direction F. The back tension applying unit 8 contacts the long medium M and urges it in a direction intersecting the forward direction F. The back tension applying unit 8 is located behind the first conveying unit 7 and above the holding unit 5. The conveying direction from the holding unit 5 to the back tension applying unit 8 changes depending on the remaining amount of the long medium M. As shown in FIG. 2, when the remaining amount of the long medium M is at its initial value (the remaining amount value immediately after the roll R is replaced), it is generally upward. The conveying direction from the back tension applying unit 8 to the discharge outlet 21 is generally forward. That is, in the printing device 1, the transport path Q bends at the portion where the long medium M contacts the back tension applying unit 8, and the transport direction changes from above to forward.

[0021] The medium detection unit 53 is a known optical sensor capable of detecting long medium M. The medium detection unit 53 has a light-emitting unit and a light-receiving unit, and detects whether light emitted from the light-emitting unit is received by the light-receiving unit. The medium detection unit 53 is provided above the transport path Q, between the first transport unit 7 and the printing unit 6. The medium detection unit 53 is provided above the information writing unit 54. The medium detection unit 53 detects whether the leading edge of the long medium M being transported in the forward direction F has passed.

[0022] The information writing unit 54 is provided below the medium detection unit 53. The information writing unit 54 is provided downstream in the forward direction F with respect to the first conveying unit 7. The information writing unit 54 writes electronic information to the RFID tags T provided on each of the multiple print media L of the long medium M that is fed out from the holding unit 5 and conveyed. The information writing unit 54 of this embodiment includes an antenna 54a. The antenna 54a emits radio waves for writing electronic information to the RFID tags T and receives radio waves transmitted from the RFID tags T. The information writing unit 54 is provided below the conveying path Q of the long medium M with the antenna 54a facing upward. The position of the information writing unit 54 is fixed. Electronic information is written to and read from the RFID tags T by transmitting and receiving radio waves between the RFID tags T provided on the print media L and the antenna 54a of the information writing unit 54. That is, the information writing unit 54 is an RFID reader / writer that can both write electronic information to the RFID tag T and read electronic information from the RFID tag T. In this embodiment, when writing and reading electronic information to and from the RFID tag T, the transport of the long medium M along the transport direction is temporarily stopped so that the RFID tag T to which electronic information is to be written and read is positioned for a predetermined period of time at a position where it can transmit and receive radio waves transmitted and received by the antenna 54a.

[0023] The printing unit 6 is located downstream of the information writing unit 54 in the forward direction. The printing unit 6 prints an image on each of the multiple print media L of the long medium M transported along the transport direction. In this embodiment, the printing unit 6 is an inkjet head equipped with multiple nozzles 6a that eject liquid G in a discharge direction, and prints an image on each of the multiple print media L by ejecting the liquid G from the multiple nozzles 6a. In this embodiment, the discharge direction is downward, and the printing unit 6 is located above the transport path Q of the long medium M with the multiple nozzles 6a facing downward. The position of the printing unit 6 is fixed. An image is formed on the print medium L by ejecting liquid G from the nozzles 6a of the printing unit 6 onto the print medium L transported along the transport path Q in the forward direction F. The liquid G is supplied to the printing unit 6 from a tank 20 located inside the housing 2 via a tube.

[0024] The third conveying unit 15 is located below the printing unit 6 and downstream of the first conveying unit 7 in the forward direction F, and conveys the long medium M in the forward direction F and the reverse direction B. The third conveying unit 15 includes a drive roller 13, a driven roller 14, and an endless belt 16. The drive roller 13 and the driven roller 14 are spaced apart from each other in the front-to-rear direction. The endless belt 16 is stretched between the drive roller 13 and the driven roller 14. The drive roller 13 rotates, causing the endless belt 16 to rotate. The rotation of the endless belt 16 causes the driven roller 14 to rotate. The upper end of the outer circumferential surface of the endless belt 16 is approximately the same as the vertical position of the portion where the long medium M is nipped by the first conveying unit 7, and faces the multiple nozzles 6a of the printing unit 6. The upper end of the outer peripheral surface of the endless belt 16 supports from below the long medium M being transported between the first transport unit 7 and the fourth transport unit 19 in the transport direction, and transports the long medium M.

[0025] The fixing unit 40 is disposed downstream in the forward direction F relative to the printing unit 6 and upstream in the forward direction F relative to the reading unit 45. The fixing unit 40 is a halogen heater and includes a halogen lamp 41, a reflector 42, and a housing 43. An opening 44 is formed in the bottom wall of the housing 43 along the left-right direction. The fixing unit 40 radiates infrared light through the opening 44 and heats the long medium M passing directly below the opening 44. As a result, the liquid G ejected by the printing unit 6 onto the multiple print media L on the long medium M is fixed to the multiple print media L.

[0026] The fourth conveying unit 19 is provided downstream in the forward direction F from the printing unit 6 and the fixing unit 40, and upstream in the forward direction F from the reading unit 45. The fourth conveying unit 19 conveys the long medium M in the forward direction F and the reverse direction B. The fourth conveying unit 19 has a conveying roller 17 that rotates around an axis extending in the left-right direction, and a pinch roller 18, and the conveying roller 17 and the pinch roller 18 sandwich the long medium M from above and below to perform nip conveying.

[0027] The reading unit 45 is provided above the transport path Q, downstream in the forward direction F from the printing unit 6 and the fixing unit 40, and upstream in the forward direction F from the discharge port 21. The reading unit 45 reads images showing the print content printed on each of the multiple print media L by the printing unit 6. Data of the read images is output to the control unit 30.

[0028] The fifth conveying unit 48 is provided downstream in the forward direction F from the reading unit 45 and upstream in the forward direction F from the cutting unit 50. The fifth conveying unit 48 conveys the long medium M in the forward direction F and the reverse direction B. The fifth conveying unit 48 has a conveying roller 46 that rotates around an axis extending in the left-right direction, and a pinch roller 47. The fifth conveying unit 48 nip-conveys the long medium M by sandwiching it between the conveying roller 46 and the pinch roller 47 from above and below.

[0029] The cutting unit 50 is located downstream in the forward direction F from the reading unit 45 and the fifth conveying unit 48, and upstream in the forward direction F from the discharge opening 21. The cutting unit 50 includes a blade 50a extending downward and a drive unit. The drive unit is, for example, a motor. The blade 50a is driven by a driving force from the drive unit and cuts one or more pieces of print media L from the long medium M at approximately the same position as the discharge opening 21. The one or more pieces of print media L cut from the long medium M are discharged through the discharge opening 21. Note that the long medium M may be cut manually by a user.

[0030] The external device connection section 242 is provided on the lower right side of the front wall 24 of the housing 2. The external device connection section 242 is a connector for electrically connecting to an external information device such as a PC.

[0031] The electrical configuration of the printing device 1 will be described with reference to FIG. 3. The printing device 1 includes a control unit 30, a memory unit 31 electrically connected to the control unit 30, an operation unit 4, a display unit 3, a first conveyor drive unit 9, a second conveyor drive unit 11, a third conveyor drive unit 38, a fourth conveyor drive unit 39, a fifth conveyor drive unit 49, a printing unit 6, a halogen lamp 41, a cutting unit 50, encoders 33, 34, 35, 36, and 37, a medium detection unit 53, an information writing unit 54, a reading unit 45, and an external device connection unit 242. The control unit 30 includes a CPU that is responsible for overall control of the printing device 1. The control unit 30 includes predetermined electrical circuits and the like that transmit drive signals (e.g., drive currents) to the printing unit 6, the halogen lamp 41, the cutting unit 50, the first conveyor drive unit 9, the second conveyor drive unit 11, the third conveyor drive unit 38, the fourth conveyor drive unit 39, the fifth conveyor drive unit 49, and the cutting unit 50 in response to instructions from the CPU. The storage unit 31 includes a ROM, a RAM, a flash memory, and the like that store various parameters and the like required when the control unit 30 executes various programs. The storage unit 31 stores a program that causes the control unit 30 to execute a print execution process, which will be described later with reference to Figures 5, 9, 11, and 12. The control unit 30 functions as an example of a processor that executes the print execution process by expanding the program stored in the storage unit 31.

[0032] The first conveyance drive unit 9 rotates the first conveyance unit 7. The first conveyance drive unit 9 is, for example, a stepping motor that can rotate forward and backward. The second conveyance drive unit 11 rotates the second conveyance unit 10. The second conveyance drive unit 11 is, for example, a stepping motor that can rotate forward and backward. The third conveyance drive unit 38 rotates the third conveyance unit 15. The third conveyance drive unit 38 is, for example, a stepping motor. The fourth conveyance drive unit 39 rotates the fourth conveyance unit 19. The fourth conveyance drive unit 39 is, for example, a stepping motor that can rotate forward and backward. The fifth conveyance drive unit 49 rotates the fifth conveyance unit 48. The fifth conveyance drive unit 49 is, for example, a stepping motor that can rotate forward and backward. The encoder 33 inputs a value corresponding to the drive amount of the first conveyance drive unit 9 to the control unit 30. The encoder 34 inputs a value corresponding to the drive amount of the second conveyance drive unit 11 to the control unit 30. The encoder 35 inputs a value corresponding to the drive amount of the third conveyor driver 38 to the control unit 30. The encoder 36 inputs a value corresponding to the drive amount of the fourth conveyor driver 39 to the control unit 30. The encoder 37 inputs a value corresponding to the drive amount of the fifth conveyor driver 49 to the control unit 30. Hereinafter, the first conveyor driver 9, the second conveyor driver 11, the third conveyor driver 38, the fourth conveyor driver 39, and the fifth conveyor driver 49 will be collectively referred to simply as the conveyor drivers. The medium detector 53 inputs a detection result indicating whether or not the leading edge of the long medium M has passed to the control unit 30. The information writer 54 reads and writes information from the RFID tag T attached to the print medium L via the antenna 54a. The reader 45 includes a contact image sensor (CIS) 451 and an analog front end (AFE) 452. The CIS 451 reads images printed on each of the multiple print media L. The AFE 452 converts the analog image read by the CIS 451 into digital image data. The reading unit 45 inputs the converted image data to the control unit 30. The external device connection unit 242 functions as an input / output interface with an external information device such as a PC.

[0033] The database 80 will be described with reference to FIG. 4. In this embodiment, the database 80 is stored in a PC connected to the printing device 1 via the external device connection unit 242. The database 80 stores code image information corresponding to a code image printed on the printing medium L and a plurality of pieces of predetermined information to be written to the RFID tag T provided on the printing medium L in the print execution process described below. In this embodiment, the code image is an image of a one-dimensional code representing the code information. In this embodiment, the image of the one-dimensional code is a barcode image. The code image information is printing data for printing the code image on the printing medium L. The predetermined information to be written to the RFID tag T is an eight-digit decimal number. The database 80 stores the code image information and the predetermined information in association with each of the serial numbers indicated by "A001," "A002," etc. in the "No." column. In this embodiment, the serial numbers and code images corresponding to each of the serial numbers are printed on the printing medium L. Hereinafter, the serial numbers and code images printed on the printing medium L will be collectively referred to as the "predetermined image." The print medium L on which a predetermined image is printed is, for example, affixed to a product and used for product management, etc. In the database 80, the serial numbers are arranged in ascending order corresponding to the order of production of the products, i.e., No. A001, No. A002, No. A003, ... In this embodiment, the code image is a coded version of various information related to the product, such as the product manufacturer and production date. The predetermined information is a quantified version of various information related to the product.

[0034] When the print medium L is affixed to a product and the code image printed on the affixed print medium L is used for the management of the product, the code image is read by a barcode reader or the like owned by a person who manages the product. For this reason, the code image needs to be printed on the print medium L with a print quality that allows it to be accurately read by a barcode reader or the like.

[0035] The print execution process executed by the control unit 30 of the printing device 1 will be described with reference to FIG. 5. The print execution process is executed when an instruction to print predetermined information on the print medium L is detected. In this embodiment, the instruction to print the predetermined information is executed by the user via the operation unit 4. In the following description, each process step is abbreviated as "S." At the start of the print execution process, the long medium M is clamped in the first conveying unit 7.

[0036] When the printing execution process starts, the control unit 30 adds 1 to the value of n, which defines the number of the specified information to be referenced in the database 80 (S11). The value of n is stored in the memory unit 31, and the initial value of n at the start of the printing execution process is 0. The control unit 30 starts transporting the long medium M in the forward direction F so that the printing medium L with n=1, i.e., the printing medium L arranged at the most downstream position in the forward direction F among the long medium M at the start of the printing execution process, is positioned at the position on the transport path Q where the information writing unit 54 is located (S12). Hereinafter, transporting the long medium M in the forward direction F is referred to as “forward transport.” The control unit 30 controls the drive amount of the transport drive unit based on the detection of the leading edge of the long medium M by the medium detection unit 53. As a result, the control unit 30 transports each of the printing media L arranged on the long medium M to a predetermined position. The control unit 30 continues to feed the long medium M forward until the printing medium L (n=1) reaches the position on the transport path Q where the antenna 54a of the information writing unit 54 is located. When the printing medium L (n=1) reaches the position on the transport path Q where the information writing unit 54 is located, the control unit 30 stops feeding the long medium M forward.

[0037] 6 to 8 show an example of printing on a print medium L and writing information to an RFID tag T provided on the print medium L when a print execution process is executed. In FIGS. 6 to 8, the position on the transport path Q where the center of the antenna 54a of the information writing unit 54 in the transport direction is located is referred to as the information writing position PA. The information writing position PA is the position where the information writing unit 54 writes electronic information to the RFID tag T provided on the print medium L. In this embodiment, the information writing position PA is aligned with the position on the transport path Q where the medium detection unit 53 is located, i.e., the position where the passage of the leading edge of the long medium M being fed sequentially is detected by the medium detection unit 53. However, the arrangement of the information writing position PA and the position where the medium detection unit 53 detects the passage of the leading edge of the long medium M is merely an example and is not limited to this. The position on the transport path Q where the nozzle 6a of the printing unit 6 is located is referred to as the printing position PB. The printing position PB is the position where printing on the print medium L begins. The position on the transport path Q where the fixing unit 40 is located is called the fixing position PC. The fixing position PC is the position where the image printed on the print medium L is fixed to the print medium L by heating by the fixing unit 40. The position on the transport path Q where the reading unit 45 is located is called the reading position PD. The reading position PD is the position where the reading unit 45 starts reading the image printed on the print medium L. The position on the transport path Q where the blade 50a of the cutting unit 50 is located is called the cutting position PE. The cutting position PE is at approximately the same position on the transport path Q as the discharge outlet 21.

[0038] When the process of S12 is performed, the forward feeding of the long medium M begins, as indicated by arrow Y1 in FIG. 6A. FIG. 6A shows a state in which the medium detection unit 53 detects the passage of the leading end of the forwardly fed long medium M. In this state, the control unit 30 continues the forward feeding of the long medium M. The state in which the center in the transport direction of the RFID tag T included in the printing medium L arranged at the most downstream position in the forward direction F of the long medium M and the information writing position PA are located at the same position in the transport direction is the state in which the printing medium L is located at the information writing position PA. When the nth printing medium L, i.e., the printing medium L arranged at the most downstream position in the forward direction F of the long medium M, reaches the information writing position PA, the control unit 30 stops the forward feeding of the long medium M. As a result, the RFID tag T included in the nth printing medium L stops and is located at the information writing position PA.

[0039] The control unit 30 writes predetermined information to the RFID tag T of the nth printing medium L placed at the information writing position PA (S13). Hereinafter, writing predetermined information to the RFID tag T of the printing medium L is referred to as "predetermined information writing." In this process, the control unit 30 obtains the predetermined information to be written to the nth printing medium L from the database 80 and transmits the obtained predetermined information to the information writing unit 54. Since n=1 in this example, the control unit 30 obtains the value "42059179," which is the predetermined information corresponding to the first stored No. A001 in the database 80, and transmits the obtained value as the predetermined information to the information writing unit 54. The information writing unit 54 receives the predetermined information and transmits radio waves from the antenna 54a to write the received predetermined information to the RFID tag T. The RFID tag T includes an antenna capable of receiving and transmitting radio waves and an IC chip equipped with memory for storing electronic information. When the RFID tag T receives the radio waves transmitted from the antenna 54a via the antenna, it writes the predetermined information indicated by the received radio waves to the IC chip. That is, the specified information is written. When the writing of the specified information is completed, the RFID tag T transmits radio waves from its antenna indicating that the writing of the specified information is completed. When the information writing unit 54 receives the radio waves transmitted from the RFID tag T, it determines that the writing of the specified information to the RFID tag T is completed. FIG. 6(B) shows how the writing of the specified information is performed on the RFID tag T provided on the print medium L arranged at the most downstream position in the forward direction F on the long medium M. Below, as shown in FIG. 6(B), the RFID tag T on which the specified information has been written is indicated by diagonal hatching H1.

[0040] The control unit 30 starts forward feeding of the long medium M (S15). FIG. 6C shows the state in which the nth printing medium L has reached the printing position PB as a result of the forward feeding of the long medium M being started in the processing of S15. The forward feeding of the long medium M started in the processing of S15 is hereinafter indicated by arrow Y2 in FIG. 6C. The control unit 30 prints a predetermined image on the nth printing medium L that has reached the printing position PB (S16). In this processing, the control unit 30 obtains from the database 80 the serial number and code image information to be written to the nth printing medium L, and prints a predetermined image based on the obtained serial number and code image information on the printing medium L. Hereinafter, the predetermined image printed on the printing medium L will be referred to as predetermined image P1. Printing the predetermined image P1 on the printing medium L is referred to as predetermined printing. 6(D) shows a state in which a predetermined image P1 including No. A001, which is the serial number corresponding to n=1, and a code image corresponding to the serial number No. A001, has been printed on n=1 printing medium L. In this state, the long medium M continues to be fed forward as indicated by arrow Y2. Therefore, as the nth printing medium L on which the predetermined printing has been performed passes through fixing position PC, the predetermined image P1 is fixed on the nth printing medium L.

[0041] The control unit 30 causes the reading unit 45 to read the predetermined image P1 printed on the nth printing medium L that has reached the reading position PD, and acquires the reading result, which is the result of the reading unit 45 reading the predetermined image P1, from the reading unit 45 (S17). Based on the acquired reading result, the control unit 30 determines whether the print quality of the predetermined image P1 printed on the nth printing medium L is good (S18). Hereinafter, the determination of the print quality of the predetermined image P1 performed by the control unit 30 is referred to as print quality determination. The control unit 30 performs print quality determination, particularly regarding whether the print quality of the code image included in the predetermined image P1 is good. If the obtained reading result indicates that the code image has printing defects such as stains or fading, the print quality determination determines that the print quality is not good. If the print quality is not determined to be bad, the print quality is determined to be good. The print quality determination is made based on predetermined standards used to determine the print quality of the code image. The predetermined standard is either one that is stored in advance in the memory unit 31 or one that is obtained from an external device via the external device connection unit 242. The processes of S17 and S18 are performed while the long medium M continues to be fed forward, as indicated by the arrow Y2 in FIG. 6(E). FIG. 6(E) shows the state in which the reading unit 45 is currently reading the predetermined image P1 printed on the nth printing medium L. In FIG. 6(E), it is assumed that the print quality of the predetermined image P1 printed on the nth printing medium L is good.

[0042] The control unit 30 determines whether the result of the print quality determination indicates that the print quality of the predetermined image P1 is good (S19). If the result of the print quality determination indicates that the print quality of the predetermined image P1 is good (S19: YES), the control unit 30 determines whether the nth print medium L has reached the cutting position PE (S81). As shown in FIG. 6(F), if the upstream side of the nth print medium L in the forward direction F reaches the cutting position PE as the forward feeding of the long medium M continues, the control unit 30 determines that the nth print medium L has reached the cutting position PE. If the nth print medium L has not reached the cutting position PE (S81: NO), the control unit 30 repeats the determination of S81 while continuing the forward feeding. If the nth print medium L has reached the cutting position PE (S81: YES), the control unit 30 stops the forward feeding (S82). The control unit 30 controls the cutting unit 50 to cut the long medium M (S83). As a result, the nth printing medium L is cut from the long medium M, as shown in FIG. 6(G).

[0043] The control unit 30 determines whether to end the printing execution process (S85). The control unit 30 determines to end the printing execution process when printing of the predetermined image P1 on the planned number of printing media L has been completed, or when an instruction to end printing has been input to the printing device 1 via the operation unit 4. If the control unit 30 determines to end the printing execution process (S85: YES), it ends the printing execution process. If the control unit 30 determines not to end the printing execution process (S85: NO), it updates the value of n by adding 1 (S86). The control unit 30 transports the newly n-th printing medium L, i.e., the printing medium L arranged at the most downstream position in the forward direction F on the long medium M after the process of S83 has been executed, in the reverse direction B to transport it to the information writing position PA (S88). Hereinafter, transporting the long medium M in the reverse direction B is referred to as reverse feeding. 6(G), the long medium M is fed backward until the RFID tag T on the print medium L arranged at the most downstream position in the forward direction F, which has now become the nth print medium L, reaches the information writing position PA. When the RFID tag T on the nth print medium L reaches the information writing position PA, the control unit 30 stops the backward feeding of the long medium M. Thereafter, the control unit 30 sequentially executes the processes from S13 onwards.

[0044] On the other hand, if the result of the print quality determination indicates that the print quality of the predetermined image P1 is not good, i.e., that the print quality of the predetermined image P1 is poor (S19: NO), the control unit 30 stops the forward feeding of the long medium M (S20). In FIG. 7(H), the code image of the predetermined image P1 printed on the nth printing medium L has a printing defect V, including stains and blurring, and the print quality is poor. Therefore, the forward feeding of the long medium M is stopped by the processing of S20.

[0045] The control unit 30 reverses the n+1th printing medium L, which is next to the nth printing medium L in the long medium M, to the information writing position PA (S21). In FIG. 7(I), the nth printing medium L, which has poor print quality of the predetermined image P1, is designated as the first medium L1. The n+1th printing medium L, i.e., the printing medium L adjacent to and upstream of the first medium L1 in the forward direction F, is designated as the second medium L2. As indicated by arrow Y5, the processing of S21 reverses the long medium M until the second medium L2 reaches the information writing position PA. The control unit 30 stops the reverse feeding of the long medium M when the RFID tag T on the second medium L2 reaches the information writing position PA.

[0046] The control unit 30 writes predetermined information to the RFID tag T of the (n+1)th print medium L placed at the information writing position PA, i.e., the second medium L2 (S22). In this process, the control unit 30 obtains the (n+1)th predetermined information from the database 80 and transmits the obtained predetermined information to the information writing unit 54. The information writing unit 54 writes the received predetermined information to the RFID tag T of the second medium L2. For this reason, in FIG. 7(J), the RFID tag T of the second medium L2 to which the predetermined information has been written is shown with hatching H1.

[0047] The control unit 30 reverses the nth printing medium L, i.e., the first medium L1, to the information writing position PA (S23). This process reverses the long medium M until the first medium L1 reaches the information writing position PA, as shown by the arrow Y6 in Figure 7(K). The control unit 30 stops the reverse feeding of the long medium M when the RFID tag T on the first medium L1 reaches the information writing position PA.

[0048] The control unit 30 writes VOID information to the RFID tag T of the nth printing medium L placed at the information write position PA, i.e., the first medium L1 (S25). Hereinafter, writing VOID information to the RFID tag T of the printing medium L will be referred to as VOID information writing. The VOID information is information stored in the storage unit 31 along with program data for the print execution process. The VOID information is information corresponding to the occurrence of a printing defect V in the predetermined image P1 printed on the first medium L1. In this embodiment, the VOID information is represented by a numerical value indicating that the predetermined information stored in the RFID tag T is invalid. Hereinafter, as shown in FIG. 7(L), the RFID tag T to which VOID information has been written is indicated by a grid hatching H2.

[0049] The control unit 30 starts the forward feeding of the long medium M (S26). FIG. 7(M) shows a state in which the forward feeding of the long medium M has been resumed by the processing of S26. The forward feeding of the long medium M started by the processing of S26 is indicated by an arrow Y7 in FIG. 7(M). The control unit 30 prints a VOID image P2 shown in FIG. 8(N) on the nth printing medium L, i.e., the first medium L1, that has reached the printing position PB as the long medium M is fed forward (S28). The VOID image P2 is an image that displays an "x" indicating poor print quality. The VOID image P2 is printed over the predetermined image P1. Printing the VOID image P2 by the printing device 1 will be referred to as "VOID printing" below. By performing VOID printing, the printing device 1 can clearly indicate that the print quality of the predetermined image P1 on the first medium L1 is poor. In this state, the forward feeding of the long medium M continues as indicated by the arrow Y7 in Figure 8(N). Therefore, as the first medium L1 on which the VOID printing has been performed passes through the fixing position PC, the VOID image P2 is fixed on the first medium L1.

[0050] The control unit 30 updates the value of n by adding 1 (S29). That is, from this point on, the control unit 30 treats the second medium L2, which is the (n+1)th printing medium L, as the new nth printing medium L. The control unit 30 returns the process to S16. The control unit 30 performs predetermined printing on the second medium L2, which is the new nth printing medium L (S16). As shown in FIG. 8(O), the control unit 30 prints a predetermined image P1 on the second medium L2, including No. A002, which is the serial number corresponding to n=2, and a code image corresponding to the serial number No. A002. In this state, the forward feeding of the long medium M continues, as indicated by arrow Y7. Therefore, as the second medium L2 passes through the fixing position PC, the predetermined image P1 is fixed on the second medium L2.

[0051] The control unit 30 causes the reading unit 45 to read the predetermined image P1 printed on the second medium L2, which is the new n-th printing medium L that has reached the reading position PD, and acquires the reading result, which is the result of the reading unit 45 reading the predetermined image P1, from the reading unit 45 (S17). Based on the acquired reading result, the control unit 30 determines the print quality of the predetermined image P1 printed on the second medium L2, which is the new n-th printing medium L (S18). As shown in FIG. 8(P), the processes of S17 and S18 are performed while the long medium M continues to be fed forward, as indicated by arrow Y7. In FIG. 8(P), it is assumed that the predetermined image P1 printed on the second medium L2, which is the new n-th printing medium L, does not have any printing defects V and has good print quality.

[0052] The control unit 30 determines whether the result of the print quality determination indicates that the print quality of the predetermined image P1 is good (S19). If the result of the print quality determination indicates that the print quality of the predetermined image P1 is good (S19: YES), the control unit 30 determines whether the second medium L2, which is the new n-th print medium L, has reached the cutting position PE (S81). If the second medium L2, which is the new n-th print medium L, has not reached the cutting position PE (S81: NO), the control unit 30 repeats the determination of S81 while continuing the forward feeding. If the second medium L2, which is the new n-th print medium L, has reached the cutting position PE (S81: YES), the control unit 30 stops the forward feeding (S82). Figure 8(Q) shows a state in which the second medium L2, which is the new n-th print medium L, has reached the cutting position PE as the forward feeding of the long medium M continues, and the forward feeding of the long medium M has been stopped. The control unit 30 controls the cutting unit 50 to cut the long medium M (S83). As a result, as shown in FIG. 8(R), a total of two sheets of printing medium L, the first medium L1 and the second medium L2, are cut from the long medium M. This allows the printing device 1 to separate the first medium L1 from the long medium M, making it easier for the user to identify the first medium L1 with poor print quality.

[0053] Thereafter, the control unit 30 makes a determination in S85. If the control unit 30 determines that the print execution process should be ended (S85: YES), the control unit 30 ends the print execution process. If the control unit 30 determines that the print execution process should not be ended (S85: NO), the process returns to S13. Figure 8(R) shows how the long medium M is fed backward, as indicated by arrow Y3, until the RFID tag T on the printing medium L arranged at the most downstream position in the forward direction F of the long medium M, which has newly become the nth printing medium L, reaches the information writing position PA.

[0054] If the result of the print quality determination for the second medium L2, which is the new n-th printing medium L, in S19 indicates that the print quality of the predetermined image P1 is poor (S19: NO), the control unit 30 sequentially performs the processes of S20 to S22. That is, the control unit 30 writes predetermined information to the RFID tag T on the printing medium L arranged upstream in the forward direction F from the second medium L2, which is the new n-th printing medium L, in the long medium M. The control unit 30 also sequentially performs the processes of S23 to S28. That is, the control unit 30 sequentially writes VOID information and prints VOIDs on the second medium L2, which is the new n-th printing medium L, which has poor print quality. Thereafter, the control unit 30 performs the process of S29 and returns the process to S16.

[0055] When a printing defect occurs in a conventional printing device, the device typically reverses the affected print medium to the information write position, writes VOID information, and then resumes forward feeding to perform VOID printing. The conventional printing device then reverses the print medium next to the defective print medium to the information write position, writes the specified information to the RFID tag, and then resumes forward feeding to perform the specified printing. In other words, the conventional printing device reverses the long medium, writes VOID information and prints VOID information on the first medium, and then reverses a new long medium and writes the specified information on the other medium. Therefore, conventional printing devices that write VOID information and print VOIDs have the problem of frequently transporting long medium, particularly frequently reverse feeding.

[0056] The printing device 1 writes predetermined information to the second medium L2 before writing VOID information and printing VOID information on the first medium L1. In particular, the printing device 1 writes predetermined information to the second medium L2 before writing VOID information on the first medium L1. Therefore, the printing device 1 can write predetermined information to the second medium L2 while reversing the first medium L1 to the information writing position PA in response to a determination that the print quality of the first medium L1 is poor. This allows the printing device 1 to reduce the frequency of transporting the long medium M, particularly the frequency of reverse transport. This allows the printing device 1 to shorten the time required to write predetermined information, print, write VOID information, and print VOID information on multiple print media L. When transporting the long medium M, the transport drive unit operates, and this drive noise can be loud. The printing device 1 can reduce the frequency of transporting the long medium M, thereby reducing noise generated by the printing device 1 and improving the usability of the printing device 1.

[0057] As described above, when the printing device 1 determines that the print quality of the predetermined image P1 printed on the printing medium L is poor, it executes VOID printing and VOID information writing on that printing medium L. As a result, the printing device 1 clearly indicates that the print quality of the printing medium L is poor by printing the VOID image P2 and writing VOID information to the RFID tag T, preventing the printing medium L from being used incorrectly later. The control unit 30 of the printing device 1 executes predetermined printing on the nth printing medium L in the long medium M (S16). The control unit 30 causes the reading unit 45 to read the predetermined image P1 printed on the printing medium L (S17) and executes print quality judgment based on the reading result (S18). Assuming that the nth printing medium L has a printing defect V, this printing medium L is designated as the first medium L1. If the result of the print quality determination indicates that the print quality of the predetermined image P1 is poor (S19: NO), the control unit 30 reverses the long medium M (S21) and writes VOID information to the RFID tag T on the first medium L1 (S25). The control unit 30 then starts forward feeding of the long medium M (S26) and performs VOID printing on the first medium L1 (S28). During this process, prior to the processing of S28, the control unit 30 writes predetermined information to the RFID tag T on the second medium L2 that is adjacent to and upstream of the first medium L1 in the forward direction F (S22). In other words, the printing device 1 can write predetermined information to the second medium L2 that is placed at the information writing position PA during the process of reversely feeding the first medium L1 to the information writing position PA. Therefore, the printing device 1 can reduce the frequency of transporting the long medium M, particularly the frequency of reverse transport, compared to conventional technology in which, after performing VOID printing on the first medium L1, the second medium L2 is reversed to the information write position PA and the specified information is written to the RFID tag T on the second medium L2. Therefore, the printing device 1 can shorten the time required to write the specified information and VOID information to the RFID tag T on each of the multiple printing media L and to perform the specified printing and VOID printing on the printing medium L. Furthermore, by reducing the frequency of transporting the long medium M, the printing device 1 can reduce the noise generated by the printing device 1.

[0058] If the print quality of the first medium L1 is poor (S19: NO), the control unit 30 reverses the long medium M until the second medium L2, which is arranged upstream of the first medium L1 in the forward direction F, reaches the information write position PA (S21). The control unit 30 writes predetermined information to the RFID tag T of the second medium L2 placed at the information write position PA (S22). The control unit 30 then reverses the first medium L1 to the information write position PA (S23) and writes VOID information to the RFID tag T of the first medium L1 (S25). The control unit 30 starts forward feeding of the long medium M (S26) and performs VOID printing on the first medium L1 (S28). That is, the control unit 30 writes predetermined information to the RFID tag T of the second medium L2 before writing VOID information to the RFID tag T of the first medium L1. This allows the printer 1 to reduce the frequency of reverse feeding of the long medium M compared to when writing predetermined information to the second medium L2 after writing VOID information and printing VOID information to the first medium L1. Therefore, the printer 1 can further reduce the time required to write predetermined information and VOID information to the RFID tags T provided on each of the multiple print media L and to print predetermined information and VOID information on the print media L.

[0059] The control unit 30 writes predetermined information to the first medium L1 (S16) and then writes predetermined information to the second medium L2 (S22), which is one sheet of printing medium L, during the period between writing predetermined information to the first medium L1 (S16) and printing VOID information on the first medium L1 (S25). This allows the printing device 1 to reduce the frequency of reverse feeding of the long medium M compared to conventional techniques.

[0060] The printing device 1 includes a cutting unit 50 on the conveyance path Q, downstream of the reading unit 45 in the forward direction F. The control unit 30 controls the cutting unit 50 to cut a total of two sheets of printing media L, the first medium L1 and the second medium L2, from the long medium M (S83). This allows the printing device 1 to easily allow the user of the printing device 1 to identify the first medium L1 on which the VOID image P2 is printed. Therefore, the printing device 1 can prevent the first medium L1 on which the predetermined image P1 is not of good print quality from being mistakenly used.

[0061] The printing device 1 is provided with a fixing unit 40 located on the transport path Q downstream of the printing unit 6 in the forward direction F and upstream of the reading unit 45 in the forward direction F. The fixing unit 40 heats the print medium L onto which the liquid G is ejected by the printing unit 6 and which is fed forward, thereby fixing the liquid G to the print medium L. The printing device 1 has the reading unit 45 read the image on the print medium L after it has been fixed by the fixing unit 40, thereby making it less likely that the reading unit 45 will become soiled due to the liquid G adhering to the reading unit 45, for example.

[0062] The first conveying unit 7, the second conveying unit 10, the third conveying unit 15, the fourth conveying unit 19, and the fifth conveying unit 48 are belts (endless belt 16) or rollers (conveying rollers 17, 46, 71, pinch rollers 18, 47, 72, roll R, drive roller 13, and driven roller 14). Therefore, the long medium M is stably transported along the transport path Q. The printing unit 6 is an inkjet head, which can perform more diverse, high-quality printing at high speed compared to, for example, a thermal head. The information writing unit 54 is an RFID reader / writer, which communicates with the RFID tag T and can smoothly write specified information and VOID information. The reading unit 45 is configured with a CIS 451, which allows the reading unit 45 to be smaller than a configuration using, for example, a CCD image sensor.

[0063] The printing device 1 can print, on a printing medium L, a predetermined image P1 including a code image that can include various types of information.

[0064] In the above embodiment, the printing device 1 is an example of a "printing device" of the present invention. The RFID tag T is an example of an "information storage medium" of the present invention. The printing medium L is an example of a "printing medium" of the present invention. The long medium M is an example of a "long medium" of the present invention. The first conveying unit 7, the second conveying unit 10, the third conveying unit 15, the fourth conveying unit 19, and the fifth conveying unit 48 are examples of a "conveying unit" of the present invention. The information writing unit 54 is an example of an "information writing unit" of the present invention. The printing unit 6 is an example of a "printing unit" of the present invention. The reading unit 45 is an example of a "reading unit" of the present invention. The control unit 30 is an example of a "control unit" of the present invention. The processing of S13 is an example of a "first writing processing" and a "first writing step" of the present invention. The processing of S16 is an example of a "first printing processing" and a "first printing step" of the present invention. The processing of S18 is an example of a "determination processing" and a "determination step" of the present invention. The process of S21 is an example of a "conveying process" and a "conveying step" of the present invention. The process of S25 is an example of a "second writing process" and a "second writing step" of the present invention. The process of S28 is an example of a "second printing process" and a "second printing step" of the present invention. The process of S22 is an example of a "third writing process" and a "third writing step" of the present invention. The first medium L1 is an example of a "first medium" of the present invention. The second medium L2 is an example of a "second medium" of the present invention. The predetermined image P1 is an example of a "predetermined image" of the present invention. The VOID image P2 is an example of a "VOID image" of the present invention. The cutting section 50 is an example of a "cutting section" of the present invention. The fixing unit 40 is an example of a "heater" of the present invention.

[0065] A second embodiment of the present invention will be described with reference to Figures 9 and 10. The control unit 30 of the printing device 1 of the second embodiment executes the print execution process shown in Figure 9 instead of the print execution process of the first embodiment shown in Figure 5. Other configurations of the printing device 1 of the second embodiment are the same as those of the first embodiment. Descriptions of configurations in the second embodiment that are the same as those in the first embodiment will be omitted as appropriate. Furthermore, the print execution process shown in Figure 9 includes processes that are the same as those in the print execution process shown in Figure 5. In the print execution process shown in Figure 9, processes that are the same as those in the print execution process shown in Figure 5 will be assigned the same step numbers as those in the print execution process shown in Figure 5.

[0066] As shown in FIG. 9, when the print execution process starts, the control unit 30 sequentially executes the processes from S11 to S18. These processes are similar to the print execution process shown in FIG. 5, so a description thereof will be omitted. In the following description, a print defect V occurs in the predetermined image P1 printed on n=1 printing medium L, which will be described as the first medium L1. The control unit 30 determines whether the result of the print quality determination indicates that the print quality of the predetermined image P1 is good (S19). If the result of the print quality determination indicates that the print quality of the predetermined image P1 is good (S19: YES), the control unit 30 executes the processes from S81 to S85, similar to the print execution process shown in FIG. 5. If the control unit 30 determines NO in S85, it executes the processes from S86 and S88 in order and returns the process to S13. If the control unit 30 determines YES in S85, it ends the print execution process.

[0067] On the other hand, if the result of the print quality judgment indicates that the print quality of the predetermined image P1 is poor (S19: NO), the control unit 30 stops the forward feeding of the long medium M (S20). The control unit 30 then reverses the nth print medium L of the long medium M, i.e., the first medium L1 for which the print quality of the predetermined image P1 is poor, to the information writing position PA (S31). This process reverses the long medium M until the RFID tag T on the first medium L1 reaches the information writing position PA, as shown by the arrow Y11 in FIG. 10 (AA). The control unit 30 stops the reverse feeding of the long medium M when the RFID tag T on the first medium L1 reaches the information writing position PA.

[0068] The control unit 30 writes VOID information to the RFID tag T included in the first medium L1 placed at the information writing position PA (S32). Hereinafter, as shown in FIG. 10(AB), the RFID tag T to which VOID information has been written is indicated by H2.

[0069] The control unit 30 forwards the (n+1)th printing medium L to the information writing position PA (S33). In FIG. 10(AC), the second printing medium L, which is the (n+1)th printing medium when n=1, i.e., the printing medium L adjacent to and upstream of the first medium L1 in the forward direction F, is referred to as the second medium L2. As indicated by arrow Y12, the processing of S33 forwards the long medium M until the second medium L2 reaches the information writing position PA. The control unit 30 stops the reverse feeding of the long medium M when the RFID tag T on the second medium L2 reaches the information writing position PA.

[0070] The control unit 30 writes predetermined information to the RFID tag T of the (n+1)th printing medium L placed at the information writing position PA, i.e., the second medium L2 (S35). In this process, the control unit 30 obtains the second, (n+1)th, predetermined information from the database 80 and transmits the obtained predetermined information to the information writing unit 54. The information writing unit 54 writes the received predetermined information to the RFID tag T of the second medium L2. For this reason, in FIG. 10 (AD), the RFID tag T of the second medium L2 to which the predetermined information has been written is shown with hatching H1.

[0071] The control unit 30 reverses the first medium L1, which is the nth printing medium L, to the printing position PB (S36). FIG. 10 (AE) shows the state in which the long medium M is reversed as indicated by the arrow Y13, and the downstream end of the first medium L1 in the forward direction F and the printing position PB are positioned at the same position in the transport direction, i.e., the first medium L1 is positioned at the printing position PB. When the first medium L1, which is the nth printing medium L, reaches the printing position PB, the control unit 30 stops the reverse feeding of the long medium M and starts forward feeding of the long medium M (S37). The control unit 30 performs VOID printing on the first medium L1, which is the nth printing medium L, which is fed forward from the printing position PB (S38). FIG. 10 (AF) shows the state in which the VOID image P2 has been overwritten on the predetermined image P1 on the first medium L1, and VOID printing has been performed on the first medium L1. In this state, the forward feeding of the long medium M continues as indicated by the arrow Y14. Therefore, when the first medium L1 on which the VOID printing has been performed passes through the fixing position PC, the VOID image P2 is fixed on the first medium L1.

[0072] The control unit 30 updates the value of n by adding 1 (S39). That is, from this point on, the control unit 30 treats the second medium L2, which is the (n+1)th printing medium L, as the new nth printing medium L. The control unit 30 returns the process to S16. The control unit 30 then performs the processes of S16 to S19 in order. If the print quality of the specified printing performed on the second medium L2, which is the new nth printing medium L, is good (S19: YES), the control unit 30 performs the processes of S81 to S85. If the control unit 30 determines NO in S85, it performs the processes of S86 and S88 in order and returns the process to S13. If the control unit 30 determines NO in S85, it ends the print execution process. On the other hand, if the print quality of the specified print performed on the second medium L2, which is the new nth print medium L, is poor (S19: NO), the control unit 30 executes the processes of S20 and S31 to S39 in order, and returns the process to S16.

[0073] In the second embodiment, the printing device 1 writes predetermined information to the second medium L2 before performing VOID printing on the first medium L1. In particular, the printing device 1 writes predetermined information to the second medium L2 after writing VOID information to the first medium L1 and before performing VOID printing on the first medium L1. Therefore, the printing device 1 writes VOID information to the first medium L1 that has been reversed to the information writing position PA in response to a determination that the print quality is poor, and then subsequently writes predetermined information to the second medium L2 (S35). The printing device 1 then reverses the first medium L1 to the printing position PB to perform VOID printing on the first medium L1 (S36), but the reverse distance is small. Therefore, the printing device 1 can prevent the time required to write predetermined information, perform predetermined printing, write VOID information, and perform VOID printing on multiple printing media L from becoming too long.

[0074] In the second embodiment, the process of S31 is an example of the "transport process" and "transport step" of the present invention. The process of S32 is an example of the "second writing process" and "second writing step" of the present invention. The process of S38 is an example of the "second printing process" and "second printing step" of the present invention. The process of S35 is an example of the "third writing process" and "third writing step" of the present invention.

[0075] A third embodiment of the present invention will be described with reference to FIGS. 11 to 14. The control unit 30 of the printing device 1 of the third embodiment executes a print execution process shown in FIGS. 11 and 12 instead of the execution print process of the first embodiment shown in FIG. 5. Other configurations of the printing device 1 of the third embodiment are the same as those of the first embodiment. Descriptions of configurations in the third embodiment that are the same as those of the first embodiment will be omitted as appropriate. Furthermore, the print execution process shown in FIGS. 11 and 12 includes processes that are the same as those in the print execution process shown in FIG. 5. In the print execution process shown in FIGS. 11 and 12, processes that are the same as those in the print execution process shown in FIG. 5 are assigned the same step numbers as those in the print execution process shown in FIG.

[0076] As shown in FIG. 11, when the print execution process starts, the control unit 30 sequentially executes the processes from S11 to S18. These processes are similar to the print execution process shown in FIG. 5, and therefore will not be described again. In the following description, a print defect V occurs in the predetermined image P1 printed on n=1 printing medium L, which will be described as the first medium L1. The control unit 30 determines whether the result of the print quality determination indicates that the print quality of the predetermined image P1 is good (S19). If the result of the print quality determination indicates that the print quality of the predetermined image P1 is good (S19: YES), the control unit 30 executes the processes from S81 to S85, similar to the print execution process shown in FIG. 5. If the control unit 30 determines NO in S85, it executes the processes from S86 and S88 in order and returns the process to S13. If the control unit 30 determines NO in S85, it ends the print execution process.

[0077] On the other hand, if the result of the print quality determination indicates that the print quality of the predetermined image P1 is poor (S19: NO), the control unit 30 stops the forward feeding of the long medium M (S20). As shown in FIG. 13 (BA), three print media L arranged upstream in the forward direction F of the first medium L1, whose print quality of the predetermined image P1 is poor, are designated, in order from downstream, as second media L21, L22, and L23. In this embodiment, the fixing unit 40 is disposed between the printing unit 6 and the reading unit 45 on the transport path Q. Therefore, the distance between the information writing position PA and the reading position PD is the distance for one or more print media L to be lined up on the long medium M. As shown in FIG. 13 (BA), three RFID tags T are lined up between the first medium L1, which has finished being read by the reading unit 45, and the information writing position PA. The second media L21, L22, and L23 are print media L each equipped with one of these three RFID tags T. The control unit 30 reverses the (n+3)th printing medium L of the long medium M, i.e., the second medium L23, which is arranged furthest upstream among the second media L21, L22, and L23, to the information writing position PA (S41). By this process, the long medium M is reversed until the RFID tag T of the second medium L23 reaches the information writing position PA, as shown by the arrow Y21 in Figure 13 (BA). The control unit 30 stops the reverse feeding of the long medium M when the RFID tag T of the second medium L23 reaches the information writing position PA.

[0078] The control unit 30 executes writing of predetermined information to the (n+3)th printing medium L placed at the information writing position PA, i.e., the RFID tag T included in the second medium L23 (S42). In this process, the control unit 30 acquires the fourth predetermined information, which is the (n+3)th predetermined information when n=1, from the database 80 and transmits the acquired predetermined information to the information writing unit 54. The information writing unit 54 writes the received predetermined information to the RFID tag T included in the second medium L23. For this reason, in FIG. 13 (BB), the RFID tag T included in the second medium L23 to which the predetermined information has been written is shown with hatching H1.

[0079] The control unit 30 reverses the (n+2)th printing medium L in the long medium M, i.e., the second medium L22 arranged adjacent to and downstream of the second medium L23 in the forward direction F, to the information writing position PA (S43). This process reverses the long medium M until the RFID tag T on the second medium L22 reaches the information writing position PA, as shown by the arrow Y22 in Figure 13 (BC). The control unit 30 stops the reverse feeding of the long medium M when the RFID tag T on the second medium L22 reaches the information writing position PA.

[0080] The control unit 30 writes predetermined information to the (n+2)th printing medium L placed at the information writing position PA, i.e., the RFID tag T included in the second medium L22 (S45). In this process, the control unit 30 obtains the third predetermined information, which is the (n+2)th predetermined information when n=1, from the database 80 and transmits the obtained predetermined information to the information writing unit 54. The information writing unit 54 writes the received predetermined information to the RFID tag T included in the second medium L22. For this reason, in FIG. 13 (BD), the RFID tag T included in the second medium L22 to which the predetermined information has been written is shown with hatching H1.

[0081] The control unit 30 reverses the n+1th printing medium L of the long medium M, i.e., the second medium L21, which is arranged adjacent to the second medium L22 downstream in the forward direction F and adjacent to the first medium L1 upstream in the forward direction F, to the information writing position PA (S46). By this process, the long medium M is reversed until the RFID tag T on the second medium L21 reaches the information writing position PA, as shown by the arrow Y23 in Figure 13 (BE). The control unit 30 stops the reverse feeding of the long medium M when the RFID tag T on the second medium L21 reaches the information writing position PA.

[0082] The control unit 30 executes writing of predetermined information to the (n+1)th printing medium L placed at the information writing position PA, i.e., the RFID tag T included in the second medium L21 (S48). In this process, the control unit 30 acquires the second predetermined information, which is the (n+1)th when n=1, from the database 80 and transmits the acquired predetermined information to the information writing unit 54. The information writing unit 54 writes the received predetermined information to the RFID tag T included in the second medium L21. For this reason, in FIG. 13 (BF), the RFID tag T included in the second medium L21 to which the predetermined information has been written is shown with hatching H1.

[0083] The control unit 30 reverses the nth printing medium L of the long medium M, i.e., the first medium L1, to the information writing position PA (S49). By this process, the long medium M is reversed until the RFID tag T of the first medium L1 reaches the information writing position PA, as shown by the arrow Y24 in Figure 13 (BG). The control unit 30 stops the reverse feeding of the long medium M when the RFID tag T of the first medium L1 reaches the information writing position.

[0084] 12, the control unit 30 writes VOID information to the RFID tag T of the nth printing medium L placed at the information writing position PA, i.e., the first medium L1 (S51). Therefore, in FIG. 14(BH), the RFID tag T of the first medium L1 to which VOID information has been written is shown with hatching H2.

[0085] The control unit 30 starts forward feeding of the long medium M (S52). The control unit 30 executes VOID printing on the first medium L1 that has reached the printing position PB as the long medium M is fed forward (S53). FIG. 14 (BI) shows a state in which a VOID image P2 has been overwritten and printed on the predetermined image P1 on the first medium L1, and VOID printing has been executed on the first medium L1. In this state, the forward feeding of the long medium M continues, as indicated by arrow Y25. Therefore, as the first medium L1 on which VOID printing has been executed passes through the fixing position PC, the VOID image P2 is fixed on the first medium L1.

[0086] The control unit 30 sequentially performs predetermined printing on the (n+1), (n+2), and (n+3) printing media L, i.e., second media L21, L22, and L23, which are fed to the printing position PB (S55). Since n=1 in this example, as shown in FIG. 14(BJ), the control unit 30 performs predetermined printing on the second medium L21, which is fed to the printing position PB, using a code image corresponding to No. A002 and the serial number No. A002. Also, as shown in FIG. 14(BK), the control unit 30 performs predetermined printing on the second medium L22, which is fed to the printing position PB, using a code image corresponding to No. A003 and the serial number No. A003. Also, as shown in FIG. 14(BL), the control unit 30 performs predetermined printing on the second medium L23, which is fed to the printing position PB, using a code image corresponding to No. A004 and the serial number No. A004.

[0087] In this state, the forward feeding of the long medium M continues, as indicated by arrow Y25 in FIGS. 14(BJ), 14(BK), and 14(BL). The control unit 30 causes the reading unit 45 to read the predetermined image P1 printed on each of the (n+1), (n+2), and (n+3) printing media L, i.e., the second media L21, L22, and L23, being fed to the reading position PD, and acquires the respective reading results. The control unit 30 then determines the print quality of each of the predetermined images P1 printed on the second media L21, L22, and L23 based on the acquired reading results (S56). In this example, as shown in FIGS. 14(BJ), 14(BK), and 14(BL), the predetermined image P1 printed on each of the second media L21, L22, and L23 has no printing defects V and is therefore of good print quality.

[0088] The control unit 30 determines whether all of the results of the print quality determination for the second media L21, L22, and L23 indicate that the print quality of the predetermined image P1 is good (S58). If all of the results of the print quality determination for the second media L21, L22, and L23 indicate that the print quality of the predetermined image P1 is good (S58: YES), the control unit 30 determines whether the (n+3)th printing medium L has reached the cutting position PE (S65). The (n+3)th printing medium L is the second medium L23, which is positioned furthest upstream in the forward direction F, of the second media L21, L22, and L23. If the second medium L23 has not reached the cutting position PE (S65: NO), the control unit 30 repeats the determination in S65 while continuing the forward feeding. If the second medium L23 has reached the cutting position PE (S65: YES), the control unit 30 stops the forward feeding (S66). 14(BM) shows a state in which, as the forward feeding of the long medium M continues, the second medium L23 reaches the cutting position PE and the forward feeding of the long medium M is stopped. The control unit 30 controls the cutting unit 50 to cut the long medium M (S68). As a result, a total of four sheets of printing medium L, namely the first medium L1 and second media L21, L22, and L23, are cut from the long medium M, as shown in FIG. 14(BN).

[0089] The control unit 30 determines whether to end the printing execution process (S69). The control unit 30 determines to end the printing execution process when printing of the predetermined image P1 on the planned number of printing media L has been completed, or when an instruction to end printing has been input to the printing device 1 via the operation unit 4. If the control unit 30 determines to end the printing execution process (S69: YES), it ends the printing execution process. If the control unit 30 determines not to end the printing execution process (S69: NO), it updates the value of n by adding 4 (S71). The control unit 30 proceeds to S88 shown in FIG. 11. The control unit 30 reverses the long medium M to transport the newly n-th printing medium L, i.e., the printing medium L arranged at the most downstream position in the forward direction F among the long medium M, to the information writing position PA (S88). 14(44), the long medium M is fed backward until the RFID tag T on the printing medium L arranged at the most downstream position in the forward direction F, which has now become the nth printing medium L, reaches the information writing position PA. When the RFID tag T on the nth printing medium L reaches the information writing position PA, the control unit 30 stops the backward feeding of the long medium M. Thereafter, the control unit 30 sequentially executes the processes from S13 onwards.

[0090] 12, if any of the print quality judgment results for the second media L21, L22, and L23 indicate that the print quality of the predetermined image P1 is poor (S58: NO), the control unit 30 reverses the printing medium L for which the print quality of the predetermined image P1 is poor to the information writing position PA (S59). Among the second media L21, L22, and L23, a printing medium L for which the print quality of the predetermined image P1 is judged to be poor by the print quality judgment is hereinafter referred to as a defective medium. If there are multiple defective media, the control unit 30 places the one located furthest downstream in the forward direction F at the information writing position PA. The control unit 30 writes VOID information to the RFID tag T of the defective medium placed at the information writing position PA (S61). The control unit 30 then starts forward feeding and performs VOID printing on the defective medium that reaches the printing position PB (S62). If there are multiple defective media, the control unit 30 stops the feeding of the defective media each time the defective media reaches the information writing position PA and writes VOID information to the RFID tag T of the defective media. Also, the control unit 30 prints VOID information on the defective media each time the defective media reaches the printing position PB.

[0091] The control unit 30 determines whether VOID information writing and VOID printing have been performed on all defective media (S63). If there is defective media on which VOID information writing and VOID printing have not yet been performed (S63: NO), the control unit 30 returns to the process of S61. If VOID information writing and VOID printing have been performed on all defective media (S63: YES), the control unit 30 proceeds to the determination of S65. Thereafter, as described above, the control unit 30 sequentially executes the processes from S85 onwards.

[0092] In the third embodiment, the printing device 1 writes predetermined information to second media L21, L22, and L23, which are multiple printing media L arranged upstream of the first medium L1 in the forward direction F, before writing VOID information and printing VOID information on the first medium L1. In particular, the printing device 1 writes predetermined information to the second media L21, L22, and L23 before writing VOID information to the first medium L1. Therefore, the printing device 1 can write predetermined information to the second media L21, L22, and L23 while reversing the first medium L1 to the information writing position PA in response to a determination that the print quality of the first medium L1 is poor (S42, S45, and S48). Because the printing device 1 does not reverse the long medium M to write predetermined information to the second media L21, L22, and L23 separately from writing VOID information and printing VOID information on the first medium L1, the frequency of transporting the long medium M can be reduced. The second media L21, L22, and L23 are multiple printing media L lined up upstream in the forward direction F relative to the first medium L1. These are all printing media L that pass the information writing position PA as the first medium L1 is transported backward to the information writing position PA. The printing device 1 writes predetermined information to all of these second media L21, L22, and L23 before writing VOID information to the first medium L1, significantly reducing the frequency of reverse feeding of the long medium M compared to conventional methods. Therefore, the printing device 1 significantly reduces the time required to write predetermined information, print predetermined information, write VOID information, and print VOID information on multiple printing media L compared to conventional methods. The printing device 1 also significantly reduces noise generated by transporting the long medium M.

[0093] In the third embodiment, the processing of S41 is an example of a "transport processing" and a "transport step" of the present invention. The processing of S51 is an example of a "second writing processing" and a "second writing step" of the present invention. The processing of S53 is an example of a "second printing processing" and a "second printing step" of the present invention. The processing of S42, S45, and S48 are an example of a "third writing processing" and a "third writing step" of the present invention. Second media L21, L22, and L23 are an example of "multiple second media" of the present invention.

[0094] The present invention is not limited to the above-described embodiment, and various modifications are possible without departing from the spirit of the present invention. For example, the printing device 1 can employ various print heads as the printing unit 6, such as an inkjet head, a thermal print head, an LED print head, etc.

[0095] The information writing unit 54 is only required to have at least the function of writing information to an information storage medium included in the printing medium L, and does not necessarily have to have the function of reading information from the information storage medium included in the printing medium L. The information storage medium included in the printing medium L is not limited to an RFID tag, and may be any other information storage medium configured to allow electronic information to be written from outside.

[0096] The RFID tag T provided on the printing medium L and the RFID reader / writer which is the information writing unit 54 may be those which communicate using radio waves as shown in the above embodiment, or may be those which communicate using electromagnetic induction or microwaves, etc.

[0097] In the above embodiment, the first conveying section 7, the second conveying section 10, the fourth conveying section 19, and the fifth conveying section 48 are configured using rollers (conveying rollers 17, 46, 71, pinch rollers 18, 47, 72, and roll R). The third conveying section 15 is configured using rollers (driving roller 13, driven roller 14, conveying roller 46, and pinch roller 47) and a belt (endless belt 16). The first conveying section 7, the second conveying section 10, the third conveying section 15, the fourth conveying section 19, and the fifth conveying section 48 may all be configured using rollers, or the first conveying section 7, the second conveying section 10, the third conveying section 15, the fourth conveying section 19, and the fifth conveying section 48 may all be configured using belts.

[0098] The code image included in the predetermined image P1 may be an image of a one-dimensional code such as a barcode, or an image of a two-dimensional code such as a QR code (registered trademark). The predetermined image P1 may be configured to include only a code image.

[0099] The VOID image may be an image showing an "X" indicating poor print quality, such as VOID image P2, or an image showing characters indicating poor print quality, such as "VOID," "invalid," "bad," or "error." The VOID image may also be an image of a strikethrough symbol, such as "-" or "=". The VOID image may also be an image of multiple symbols, such as "X," "□," "◯," or "△," arranged in a grid pattern. In other words, the VOID image may be any image that can indicate poor print quality.

[0100] In addition to the CIS, the reading unit 45 may be configured to include a barcode reader, a two-dimensional code scanner, a CCD image sensor, a CMOS image sensor, etc. that captures a code image, reads the data of the captured image, and outputs it to the control unit 30.

[0101] When a first medium L1 with poor print quality is found, the control unit 30 may cut only the first medium L1 with poor print quality from the long medium M, without including the second medium L2 or second media L21, L22, L23 with good print quality. Furthermore, when a first medium L1 with poor print quality is found, the control unit 30 may cut only the first medium L1, or the first medium L1 and the second medium L2 or second media L21, L22, L23 from the long medium M. In other words, when no first medium L1 with poor print quality is found, the control unit 30 may not cut the printed print medium L from the long medium M, and may leave multiple printed print media L on the long medium M.

[0102] In the above embodiment, the information writing position PA and the position where the medium detection unit 53 detects the passage of the leading edge of the long medium M are aligned at the same position on the transport path Q, but this arrangement is an example and is not limited to this. Therefore, the information writing position PA and the position where the medium detection unit 53 detects the passage of the leading edge of the long medium M may be aligned at different positions on the transport path Q.

[0103] As described in the above embodiment, the control unit 30 performs VOID information writing and VOID printing on a first medium L1 determined to have poor print quality, thereby preventing the first medium L1 from being used incorrectly. The control unit 30 may perform the process of S22 by writing the predetermined information written in the RFID tag T of the first medium L1 determined to have poor print quality to the RFID tag T of a second medium L2 arranged downstream in the forward direction F from the first medium L1. The control unit 30 may then perform the process of S16 by printing a predetermined image P1 on the second medium L2 that is the same as the predetermined image P1 printed on the first medium L1. In this case, the predetermined information corresponding to the first medium L1, which will subsequently be subjected to VOID printing, is written to the RFID tag T of the second medium L2, and the predetermined image P1 corresponding to the first medium L1 is printed on the second medium L2. Therefore, by performing VOID information writing and VOID printing, the printing device 1 can prevent the printing medium L on which the predetermined information writing and predetermined printing have been performed from being damaged.

[0104] The above embodiment shows an example in which different predetermined information is written for each serial number to each RFID tag T included in a plurality of printing media L, and a different predetermined image P1 is printed for each serial number on the plurality of printing media L. In addition, the present invention may also be applied to cases in which the same predetermined information is written to RFID tags T included in a plurality of printing media L, and the same predetermined image P1 is printed on the plurality of printing media L.

[0105] The steps of the print execution process of the printing device 1 are not limited to being executed by the CPU of the control unit 30 of the printing device 1, but may be executed in part or in whole by another electronic device (e.g., ASIC, etc.) or the CPU of a personal computer, which is an external device. The steps of the print execution process may be distributed and processed by multiple electronic devices (e.g., multiple CPUs). The order of the steps of the print execution process can be changed, and steps can be omitted or added as necessary. The scope of the present invention also includes an embodiment in which an operating system (OS) running on the printing device 1 performs some or all of the print execution process based on instructions from the control unit 30.

[0106] The external device connection unit 242 may be configured to allow wireless connection of an external information device. The program for executing the print execution process may be downloaded from a server connected to a network (not shown) via the external device connection unit 242, that is, transmitted as a transmission signal, and stored in the storage unit 31. In this case, the program for executing the print execution process may be stored in a non-transitory storage medium such as an HDD provided in the server.

[0107] The database 80 may be input to the control unit 30 from an external information device, such as a PC, that stores the database 80, via the external device connection unit 242. The input database 80 may be stored in the storage unit 31, and the control unit 30 may refer to the database 80 stored in the storage unit 31, thereby writing predetermined information to the print medium L and performing predetermined printing. [Explanation of symbols]

[0108] 1 Printing device 6 Printing Department 7 First conveying section 10 Second conveying section 15 Third conveyor section 19 Fourth Transfer Section 30 Control Unit 40 Fuser unit 45 Reading unit 48 Fifth Conveyor Section 50 Cut section 54 Information Book Section L Print Media L1 First Media L2, L21, L22, L23 Second Media M long media P1 designated portrait P2 VOID portrait TRFIDタグ

Claims

1. a conveying unit that conveys a long medium, which is a plurality of print media arranged in order and has an information storage medium to which electronic information can be written, in a forward direction and a reverse direction opposite to the forward direction in a conveying direction of the long medium; an information writing unit that writes electronic information to the information storage medium provided on each of the plurality of print media transported in the forward direction by the transport unit; a printing unit that is disposed downstream of the information writing unit in the forward direction in the transport direction and that performs printing on each of the plurality of print media that are transported in the forward direction by the transport unit; a reading unit disposed downstream of the printing unit in the forward direction in the transport direction, the reading unit reading the print content printed on each of the plurality of print media; a control unit that controls the transport unit, the information writing unit, the printing unit, and the reading unit; Equipped with The control unit a first writing process for writing predetermined information to the information storage medium included in a first medium among the plurality of print media; a first printing process for performing predetermined printing to print a predetermined image on the first medium on which the predetermined information has been written by the first writing process; a determination process for determining whether the print quality of the predetermined image on the first medium is good based on the result of reading the print content of the first medium on which the predetermined printing has been performed by the reading unit; Run If it is determined by the determination process that the print quality of the predetermined image on the first medium is not good, a conveying process of conveying the first medium, the print quality of which has been determined by the determination process, in the reverse direction to a predetermined position; a second writing process for writing VOID information indicating that the print quality is not good to the information storage medium included in the first medium; a second printing process for printing a VOID image indicating that the print quality is poor on the first medium on which the VOID information has been written by the second writing process; a third writing process for writing the predetermined information to the information storage medium of at least one second medium arranged upstream in the forward direction relative to the first medium among the plurality of printing media, prior to the second printing process; A printing device characterized by executing the above.

2. The printing device according to claim 1 , wherein the control unit executes the third writing process before executing the second writing process.

3. The printing device according to claim 2 , wherein the control unit executes the third writing process on one of the second media between the execution of the first writing process and the execution of the second writing process.

4. The printing device according to claim 2 , wherein the control unit executes the third writing process on a plurality of the second media between the execution of the first writing process and the execution of the second writing process.

5. a cutting unit disposed downstream of the reading unit in the forward direction and configured to cut at least one of the plurality of print media from the long medium; 5. The printing device according to claim 1, wherein the control unit controls the cutting unit to cut at least one of the plurality of printing media, including the first medium on which the VOID image is printed, from the long medium.

6. a heater configured to heat each of the plurality of print media, the heater being downstream in the forward direction relative to the printing unit and upstream in the forward direction relative to the reading unit; 6. The printing device according to claim 1, wherein the control unit controls the heater to heat each of the plurality of print media on which printing has been performed by the printing unit.

7. the conveying unit is a belt or a roller, the information writing unit is an RFID reader / writer that reads electronic information stored in an RFID tag that is the information storage medium and writes electronic information to the RFID tag, the printing unit is an inkjet head, The reading unit is a CIS.

7. The printing device according to claim 1, wherein the printing device is a printer.

8. 8. The printing device according to claim 1, wherein the predetermined image includes a code image indicating code information.

9. A printing method for printing on a long medium in which a plurality of print media each having an information storage medium to which electronic information can be written are arranged in order, comprising: a first writing step of causing an information writing unit that writes electronic information to the information storage medium to write predetermined information to the information storage medium included in a first medium among the plurality of print media; a first printing step of causing a printing unit to perform predetermined printing, which prints a predetermined image on the first medium on which the predetermined information has been written in the first writing step; a determination step of determining whether the print quality of the predetermined image on the first medium is good based on the result of reading the print content of the first medium on which the predetermined printing has been performed by a reading unit that reads the print content printed on the plurality of print media; Run If it is determined in the determining step that the print quality of the predetermined image on the first medium is not good, a conveying step of conveying the first medium, the print quality of which has been determined in the determining step, in the reverse direction to a predetermined position by a conveying unit that conveys the long medium in a forward direction and a reverse direction opposite to the forward direction in the conveying direction of the long medium; a second writing step of causing the information writing unit to write VOID information indicating that the print quality is not good to the information storage medium included in the first medium; a second printing step of causing the printing unit to print a VOID image indicating that the print quality is poor on the first medium on which the VOID information has been written by the second writing step; a third writing step of causing the information writing unit to write the predetermined information to the information storage medium of at least one second medium arranged upstream in the forward direction relative to the first medium among the plurality of printing media, prior to executing the second printing step; A printing method comprising:

10. 10. The printing method according to claim 9, wherein the third writing step is executed before the second writing step.

11. 11. The printing method according to claim 10, wherein the third writing step is performed on one of the second media during the period from when the first writing step is performed until when the second writing step is performed.

12. 11. The printing method according to claim 10, wherein the third writing step is performed on a plurality of the second media during the period from when the first writing step is performed until when the second writing step is performed.

13. A printing method according to any one of claims 9 to 12, characterized in that a cutting section that cuts at least one of the plurality of printing media from the long medium cuts at least one of the plurality of printing media, including the first medium on which the VOID image is printed, from the long medium.

14. 14. The printing method according to claim 9, wherein each of the plurality of print media on which printing has been performed by the printing unit is heated by a heater.

15. the conveying unit is a belt or a roller, the information writing unit is an RFID reader / writer that reads electronic information stored in an RFID tag that is the information storage medium and writes electronic information to the RFID tag, the printing unit is an inkjet head, The reading unit is a CIS.

15. The printing method according to claim 9, wherein the printing method is a printing method for printing a plurality of images.

16. 16. The printing method according to claim 9, wherein the predetermined image includes a code image indicating code information.

17. A printing program for printing on a long medium in which a plurality of print media are arranged in order, the print media having an information storage medium to which electronic information can be written, a first writing step of causing an information writing unit that writes electronic information to the information storage medium to write predetermined information to the information storage medium included in a first medium among the plurality of print media; a first printing step of causing a printing unit to perform predetermined printing, which prints a predetermined image on the first medium on which the predetermined information has been written in the first writing step; a determination step of determining whether the print quality of the predetermined image on the first medium is good based on the result of reading the print content of the first medium on which the predetermined printing has been performed by a reading unit that reads the print content printed on the plurality of print media; on the computer, If it is determined in the determining step that the print quality of the predetermined image on the first medium is not good, a conveying step of conveying the first medium, the print quality of which has been determined in the determining step, in the reverse direction to a predetermined position by a conveying unit that conveys the long medium in a forward direction and a reverse direction opposite to the forward direction in the conveying direction of the long medium; a second writing step of causing the information writing unit to write VOID information indicating that the print quality is not good to the information storage medium included in the first medium; a second printing step of causing the printing unit to print a VOID image indicating that the print quality is poor on the first medium on which the VOID information has been written by the second writing step; a third writing step of causing the information writing unit to write the predetermined information to the information storage medium of at least one second medium arranged upstream in the forward direction relative to the first medium among the plurality of printing media, prior to executing the second printing step; A printing program that causes a computer to execute the above steps.

18. 18. The printing program according to claim 17, wherein the third writing step is executed before the second writing step.

19. 19. The printing program according to claim 18, wherein the third writing step is executed for one of the second media during the period from when the first writing step is executed until when the second writing step is executed.

20. 19. The printing program according to claim 18, wherein the third writing step is executed for a plurality of the second media during the period from when the first writing step is executed until when the second writing step is executed.

21. A printing program as described in any one of claims 17 to 20, characterized in that a cutting unit that cuts at least one of the plurality of printing media from the long medium cuts at least one of the plurality of printing media, including the first medium on which the VOID image is printed, from the long medium.

22. 22. The printing program according to claim 17, wherein each of the plurality of print media on which printing has been performed by the printing unit is heated by a heater.

23. the conveying unit is a belt or a roller, the information writing unit is an RFID reader / writer that reads electronic information stored in an RFID tag that is the information storage medium and writes electronic information to the RFID tag, the printing unit is an inkjet head, The reading unit is a CIS.

23. The printing program according to claim 17, wherein the printing program is a program for printing a document.

24. 24. The printing program according to claim 17, wherein the predetermined image includes a code image indicating code information.

Citation Information

Patent Citations

  • Label production system and method, electronic equipment, storage medium and label

    CN110580515A

  • Label issuing device and label issuing method

    JP2005271951A

  • Printing system

    JP2006082386A

  • Printing device

    JP2006272842A

  • Label processing device and label processing method

    JP2016210029A