1. Technical Field
The present invention relates to a media processing system including a media processing device that processes media and a control device that controls the media processing device, to a printing system, and to a control method of the media processing system.
2. Related Art
Media processing devices (such as tag and label producers) that produce tags, labels, and other tickets by printing images on a continuous medium and then cutting the medium are known from the literature. See, for example, Japanese Unexamined Patent Appl. Pub. JP-A-2011-51252.
The media processing device is generally connected to a control device, and executes processes related to producing tickets as controlled by the control device. An application that generates and outputs information related to images printed on media is also installed to the control device.
There are also systems in which multiple applications are installed to the control device, and tickets can be produced by the media processing device based on output from each application. There is a need in such systems for the media processing device to execute processes based on multiple applications installed to the control device.
The present invention enables a media processing device to perform processes appropriate to plural applications installed on a control device.
A media processing system according to the invention has a control device including an application execution unit configured to run an application that generates and outputs information to process a medium, and a transmission unit configured to transmit the information output by the application; and a media processing device including a communication unit configured to receive the information transmitted by the transmission unit, an operating unit configured to execute a first operating mode or a second operating mode that is different from the first operating mode based on the information, and a control unit configured to select the first operating mode or the second operating mode based on the application that generated the information.
Because the media processing device selects a first operating mode or a second operating mode based on the application of the control device, the media processing device in this aspect of the invention can operate in an operating mode appropriate to the application. In other words, the media processing device can process media appropriately to plural applications installed on the control device.
In another aspect of the invention, the application execution unit of the control device starts the application; and the control unit of the media processing device selects the first operating mode or the second operating mode when the application execution unit starts the application.
This configuration enables selecting a first operating mode or a second operating mode according to the application started by the control device.
Further preferably, the transmission unit of the control device transmits application identification information to the communication unit of the media processing device when starting the application; the media processing device has a storage unit configured to store relation information relating the identification information to an operating mode; and the control unit of the media processing device selects the first operating mode or the second operating mode based on the relation information stored in the storage unit and the transmitted identification information.
This configuration enables using the application identification information to select the operating mode of the media processing device when an application starts on the control device.
In another aspect of the invention, the media processing device has a print settings storage unit configured to store settings of the first operating mode and settings of the second operating mode. In addition, when the communication unit receives the information, the control unit of the media processing device selects the settings of the first operating mode or the settings of the second operating mode stored in the storage unit based on the application that generated the information.
Because the operating mode and settings are selected based on the application of the control device in this configuration, the media processing device can operate using settings appropriate to the application.
Another aspect of the invention is a printing system including a control device and a printing device. The control device has an application execution unit configured to run an application that generates and outputs control information instructing processing a medium and print control information instructing printing on the medium, and a transmission unit configured to transmit the information output by the application. The printing device has a communication unit configured to receive the control information and the print control information transmitted by the transmission unit, a print unit configured to print based on the print control information, a conveyance unit configured to convey the medium, a cutting unit configured to cut the medium Pased on the control information in a first operating mode or a second operating mode that differs from the first operating mode, and a control unit configured to select the first operating mode or the second operating mode based on the application that generated the control information.
Because the media processing device selects a first operating mode or a second operating mode based on the application of the control device, the media processing device in this aspect of the invention can operate in an operating mode appropriate to the application. In other words, the media processing device can process media appropriately to plural applications installed on the control device.
The printing device in this aspect of the invention preferably has a detection unit configured to detect displacement of the medium after conveyance of the medium Py the conveyance unit stops; and the cutting unit cuts in the first operating mode based on the detection result of the detection unit.
This configuration enables cutting the medium Pased on detecting displacement of the medium when operating in the first operating mode based on the application.
Further preferably, the cutting unit cuts in the second operating mode after conveyance of the medium Py the conveyance unit stops.
This configuration enables cutting the medium when the medium stops when operating in the second operating mode based on the application.
Another aspect of the invention is a control method of a media processing system including: starting an application by a control device; transmitting identification information of the application to the media processing device when the application starts; selecting an operating mode related to the identification information when the identification information is received; and processing a medium in the operating mode selected when information generated by the application is transmitted from the control device.
The control method according to this aspect of the invention enables using the application identification information to select the operating mode of the media processing device when an application starts on the control device, and processing the medium in the selected operating mode.
Objects of the present invention are also met in a printer configured to connect to a control device, including: a processor configured to process a medium based on first control data received from the control device; a conveyer configured to convey the medium; a cutter configured to cut the medium; a detector configured to detect displacement of the medium in a specific direction; and a controller configured to control cutting of the medium by the cutter when displacement of the medium is detected by the detector; wherein: the controller goes into a standby mode upon the processor finishing processing of the medium based on the first control data, and if displacement of the medium is detected by the detector while the controller is in the standby mode, the medium is cut by the cutter and the standby mode is cancelled.
Preferably, the processing of the medium by the processor includes printing an image on the medium, or writing information to an RFID tag affixed to the medium, or reading information from the RFID tag affixed to the medium.
Further preferably, the conveyer is configured to convey the medium in a conveyance direction; and the specific direction in which the detector detects displacement is different from the conveyance direction.
Furthermore, the controller may cancel the standby mode if second control data, which is received after the first control data, is received in the standby mode from the control device before displacement of the medium is detected by the detector.
Optionally, in response to second control data being received from the control device while the controller is in the standby mode, the controller initially maintains the standby mode and then removes the standby mode when one of two triggering events occurs, whichever occurs first; a first triggering event being if displacement of the medium is detected by the detector, and a second triggering event being if a specific time period from when the second control data was received elapses.
Preferably the printer further includes a feed button configured to command conveying the medium. In this case, while in the standby mode, if the controller detects operation of the feed button, the controller controls the cutter to cut the medium instead of conveying the medium and cancels the standby mode.
Further preferably while in the standby mode, the controller prohibits receiving second control data from the control device, and the controller permits receiving second control data after cancelling the standby mode.
Additionally the first control data and the second control data may include at least one of write data containing information to write to an RFID tag and print data containing information related to an image to print.
Optionally, the printer may further include an annunciator. In this case, the controller is further configured to control the annunciator to report when the standby mode is entered, and/or when the standby mode is cancelled.
The printer may further include: a power switch having a power-on operation and a power off operation configured to turn power on and off, respectively; and a memory. In this case, when the power-off operation of the power switch is detected while the controller is in the standby mode, the controller stores information indicating the standby mode into the memory and then executes a power-off process; and when the power-on operation of the power switch is detected after the power-off process executes, the controller conditionally enters the standby mode upon turning on based on the information indicating the standby mode stored in the memory.
Objects of the present invention may also be met by a control method of a printer, the method including: providing a printer configured to connect to a control device, the printer having: a processor configured to process a medium based on first control data transmitted from the control device, a conveyer configured to convey the medium, a cutter configured to cut the medium, and a detector configured to detect displacement of the medium in a specific direction; going to a standby mode after processing of the medium by the processor based on the first control data finishes; and if while in the standby mode, displacement of the medium is detected by the detector, the medium is cut by the cutter, then the standby mode is cancelled.
Preferably, the processing of the medium by the processor includes printing an image on the medium, or writing information to an RFID tag affixed to the medium or reading information from the RFID tag affixed to the medium.
Further preferably, the conveyer is configured to convey the medium in a conveyance direction; and the specific direction in which the detector detects displacement is different from the conveyance direction.
The method may further include cancelling the standby mode if, while in the standby mode, the printer receives second control data, which is received after the first control data is received, from the control device before displacement of the medium is detected by the detector.
Optionally, the method may further include maintaining the standby mode for a specific time after receiving the second control data when second control data is received from the control device in the standby mode; cancelling the standby mode if displacement of the medium is detected by the detector and the medium is cut by the cutter during this specific time, and cancelling the standby mode after the specific time has passed if displacement of the medium is not detected by the detector during this specific time.
Preferably, the printer also has a feed button configured to command conveying the medium; the control method further comprises: if while in the standby mode, operation of the feed button is detected, controlling the cutter to cut the medium instead of conveying the medium and cancelling the standby mode.
Further preferably, the method includes prohibiting reception of second control data, which is control data transmitted from the control device, while in the standby mode; and permitting reception of second control data after the standby mode is cancelled.
Optionally, the first control data and the second control data include at least one of write data containing information to write to an RFID tag and print data containing information related to an image to print.
Preferably, the printer further has a annunciator. In this case, method further includes controlling the annunciator to report when the standby mode is entered, and/or when the standby mode is cancelled.
Optionally, the printer further has a memory and a power switch having a power-on operation and a power off operation configured to turn power on and off, respectively. The method may then further include storing information indicating the standby mode into the memory and then executing a power-off process when the power-off operation of the power switch is detected while in the standby mode, and when a power-on operation of the power switch is detected after the power-off process executes, entering the standby mode upon turning on based on information indicating the standby mode stored in the memory.
Other objects and attainments together with a fuller understanding of the invention will become apparent and appreciated by referring to the following description and claims taken in conjunction with the accompanying drawings.
A preferred embodiment of the present invention is described below with reference to the accompanying figures.
In
The ticket issuing device 10 according to the present embodiment of the invention may be installed at a service counter of an airline in an airport, for example, and may be used to issue tickets such as baggage tags and boarding passes.
A baggage tag or boarding pass issued by the ticket issuing device 10 may have an embedded IC (integrated circuit) tag, and required information is recorded in the IC tag. For example, in a baggage tag, the IC tag may record information such as the number of the flight that is to carry the luggage (baggage) and the date and time the baggage tag was issued. Essential information may also be printed on the surface of the baggage tag or boarding pass. For example, the flight number of the plane, the name of the owner of the luggage, and other predetermined essential information may be printed,
As shown in
The paper feed device 2 includes a base 4 that is removably connected to a printer unit 3, a paper support unit 5 attached to the base 4, and a roll paper spindle 6 attached to the paper support unit 5. The roll paper R fits onto the roll paper spindle 6 from a distal end thereof. A stop 8 that prevents the roll paper R from slipping off the roll paper spindle 6 is attached perpendicularly to the roll paper spindle 6 at the distal end of the roll paper spindle 6. A disk-shaped spacer 9 for adjusting to the width of the roll paper R is removably attached to the base end of the roll paper spindle 6, thereby enabling the installing and using of roll paper of different widths.
A medium, such as roll paper R and/or fanfold paper (not shown) can be selectively stored in the paper feed device 2 and supplied to the printer 1. Media stored in the ticket issuing device 10 are collectively referred to as medium P below.
The roll paper R in this embodiment is a medium comprising paper labels 7 of a constant length connected continuously lengthwise. After a specific process described below is applied by the printer 1, each paper label 7 is cut off and used as a ticket (such as a baggage tag). An RFID (radio frequency identification) tag 7A (IC tag) is affixed or embedded at a specific position on each paper label 7.
The roll paper R is set in the paper feed device 2 in
The base 4 can also be used as a tray for fanfold paper, which is another type of continuous paper. Fanfold paper is a medium composed of ticket portions of a constant length folded together at a regular interval into a stack. After a specific process described below is applied by the printer 1, each ticket portion is cut off and used as a ticket (such as a boarding pass). When using fanfold paper, the fanfold paper is stored in a space SP created by the base 4 and paper support unit 5.
The main unit 3 of the printer 1 has an outside case 11. This outside case 11 includes a main case 11A, front case 12, and cover 16. The front end of the outside case 11 is labeled 11b, and the back end of outside case 11 is labeled 11a. As shown, the front end 11b is also the front face of front case 12.
The main case 11A is the base part of the outside case 11. The other parts of the outside case 11 and the paper feed device 2 described above are attached to the main case 11A. A power switch DS that turns the power on/off, and a feed button FB that instructs the feeding of the medium P, are disposed on the main case 11A.
The front case 12 is attached to the main case 11A at the opposite end of the printer 1 relative to the paper feed device 2. A rectangular discharge exit 28 (paper exit) that is long in the Y direction is formed in the front face 11b of the front case 12 in the middle between its top and bottom. A print mechanism 61 (see
The cover 16 on the outside case 11 can open and close freely. A paper entrance 26 is formed between the back end 11a of the outside case 11 and the end of the cover 16.
The cover 16 covers the medium P paper conveyance path 19 (such as for conveyance of the medium P), and can open and close in the direction of arrow A (
As shown in
When closed as shown in
The inside side of side cover part 18 (which is on one side of the width of the paper conveyance path 19, that is, on one side of the printer unit 3) forms a first paper guide 21. Along the other side of the width of paper conveyance path 19 is either a second paper guide 22 that is removably attached to the bottom 24 of the paper conveyance path 19, or a third paper guide 23. When the second paper guide 22 is installed, the paper labels 7 can be guided by the first paper guide 21 and the second paper guide 22, and when the second paper guide 22 is removed, the paper labels 7 can be guided by the first paper guide 21 and the third paper guide 23.
A lower guide roller 27a is disposed inside the paper entrance 26 at the back end 11a of the outside case 11, and an upper guide roller 27b is disposed on the cover 16. The upper guide roller 27b is opposite the lower guide roller 27a when the cover 16 is in the closed position.
The internal mechanism of the printer unit 3 is configured with parts of the printer unit 3 mounted on a sheet metal main frame 30 that is covered by the outside case 11. Left and right support arms 31 that extend vertically are disposed on the main frame 30, a hinge pin 32 spans widthwise across the outside case 11 between the support arms 31, and the cover 16 can pivot freely on the axis of the hinge pin 32.
A tension roller 36 extends widthwise at a position below the paper entrance 26 and at the front of the paper stage 20 inside the printer unit 3. The paper conveyance path 19 that conveys the media P (paper labels 7 in the shown example) past the tension roller 36 and a platen roller 66 (conveyance roller) located downstream from the tension roller 36 is formed between the paper entrance 26 and paper exit 28.
The paper conveyance path 19 includes an upstream path slope 39A near the paper entrance 26, a downstream path slope 39B, and a horizontal path 39C further downstream near the paper exit 28. The upstream path slope 39A extends at a downward angle from the paper entrance 26 to the tension roller 36. The downstream path slope 39B continues downstream from the tension roller 36 on an upward slope to the platen roller 66. The downstream path slope 39B is formed by paper guides 37 and 38 disposed vertically opposite each other. The horizontal path 39C continues downstream horizontally to the front from the platen roller 66 to the paper exit 28.
A thermal head 67 that prints on medium P (paper labels 7 in the example in
To print a paper label 7, the user first opens the cover 16, and pulls out the end of the paper labels 7 set in the paper feed device 2 and inserts it into the paper entrance 26. The paper labels 7 are guided by the first paper guide 21 and the second paper guide 22 (or the first paper guide 21 and the third paper guide 23) through the upstream path slope 39A to the tension roller 36. The paper labels 7 are then conveyed from the tension roller 36 along the downstream path slope 39B and between the thermal head 67 and platen roller 66, through the horizontal path 39C, and out from the paper exit 28. When the cover 16 is then closed, the leading end of the paper label 7 is held between the platen roller 66 and thermal head 67, and can be conveyed.
A tag reader/writer 46 (data reader/writer) that writes data to and reads data from an RFID tag 7A is disposed inside the outside case 11.
The tag reader/writer 46 communicates wirelessly with the RFID tag 7A by means of an antenna 44 and RF communication circuit 45. As shown in
An RFID tag 7A is a passive IC tag that has an internal antenna (not shown) for receiving RF signals transmitted from an external device such as the tag reader/writer 46, and drives an IC chip by means of power induced in its internal antenna. The tag reader/writer 46 and RFID tag 7A in this embodiment of the invention send and receive radio signals using a common protocol for RF tags.
More specifically, to write data to or read data from the RFID tag 7A, the tag reader/writer 46 first sends a carrier wave of a specific frequency, and sends a detection signal superimposed on the carrier wave. When an electromagnetic field (EMF) is induced in the internal antenna of the RFID tag 7A by the carrier wave transmitted by the tag reader/writer 46, the IC chip of the RFID tag 7A turns on due to the induced power from the EMF, receives the detection signal, and then sends a response signal responding to the detection signal. When the response signal sent by the RFID tag 7A is received, the tag reader/writer 46 sets the RFID tag 7A as the target for writing data and reading data, and sends a signal to start writing and reading data, while continuing to output the carrier wave. Next, the tag reader/writer 46 and RFID tag 7A communicate wirelessly while the tag reader/writer 46 continues outputting the carrier wave, reads data recorded in the RFID tag 7A, and writes data to the rewritable storage area in the IC chip of the RFID tag 7A.
As shown in
The conveyance mechanism 63 conveys the medium P through the paper conveyance path 19 inside the printer 1.
The conveyance mechanism 63 includes the platen roller 66 (conveyance roller) disposed at a specific position on the paper conveyance path 19, and the thermal head 67 disposed opposing the platen roller 66. A print-medium entrance 26A to the print mechanism 61 is disposed upstream from the conveyance mechanism 63 along the x-axis. The medium P is conveyed through the print-medium entrance 26A inside the printer 1, and is nipped between the thermal head 67 and platen roller 66. A paper guide 69 that guides the medium P is disposed on the paper conveyance path 19 between the print-medium entrance 26A and the thermal head 67 and platen roller 66.
Torque from a paper feed motor 70 is transferred through a gear train or other transfer mechanism not shown to the platen roller 66. When the platen roller 66 turns forward (i.e. rotates in the direction of arrow B in
The paper feed motor 70 is preferably a stepper motor.
The print mechanism 64 includes the thermal head 67.
The thermal head 67 has a heat unit 71 on the head surface facing the platen roller 66, and prints by applying heat to the medium P. The heat unit 71 has a plurality of heat elements arrayed in a line in the Y direction. When printing, the heat unit 71 part of the thermal head 67 is set directly opposite the platen roller 66, the medium P is conveyed by the platen roller 66, and the desired heat elements in the plural heat elements of the heat unit 71 are selectively heated. The printing surface of the medium P is coated with a heat-sensitive color layer, and the part opposite the heated heat element therefore changes color, forming a dot.
The medium P on which an image was printed then passes the automatic paper cutter 60 and media orientation detection means 65 described below, and is discharged to the outside along the direction of arrow C from the paper exit 28 disposed downstream (+) from the print mechanism 61 along the x-axis. When discharged, the medium P stops temporarily on the second paper stage 72 disposed below the paper exit 28 on the z-axis.
The automatic paper cutter 60 used as the cutting mechanism functions to cut the medium P on which an image was printed by the thermal head 67 at the desired length, producing a ticket. The automatic paper cutter 60 in this embodiment is a scissor cutter that operates by one knife pivoting at one end thereof to and away from another knife. Various other types of devices can alternatively be used as the automatic paper cutter 60, including a guillotine cutter in which one knife moves in a straight line to and away from another knife.
As shown in
The automatic paper cutter 60 also includes the cutter drive motor 76, and drive power from the cutter drive motor 76 is transferred through a movable knife drive transfer mechanism not shown to the movable knife 75. As a result, the movable knife 75 can pivot on the pivot hole 75b, and can pivot toward and away from the fixed knife 74 by driving the cutter drive motor 76. As a result, the medium P set between the fixed knife 74 and movable knife 75 is cut.
As shown in
The media orientation detection means 65 is described next with reference to
When the medium P is displaced in a direction different from the media conveyance direction (upward in this example) after being discharged from the paper exit 28, the media orientation detection means 65 (detection unit) detects media displacement.
As shown in
As shown in
The detection lever 80 is plastic in this example, and includes a sensing part 83, an interrupter 84, and support pins 85 (see
As shown in
A detector 82 with a sensing part in the range of movement of the interrupter 84 disposed at one end when the detection lever 80 pivots on the support pins 85 is also disposed to the detection lever support 81. The detector 82 is preferably a transmissive photosensor, for example. The detector 82 includes an emitter and a receptor, and the receptor receives light emitted from the emitter. The detector 82 outputs a signal based on whether light was detected by the receptor, or the amount of light received by the receptor. As a result, sensor output changes and operation of the detection lever 80 can be detected based on whether or not the interrupter 84 interrupts the light beam of the detector 82.
Also referring to
The operator then lifts the printed medium P when the operator wants to issue the ticket, for example. The medium P raised from the resting position thus contacts the sensing part 83 (the peak 83c part) of the detection lever 80 of the media orientation detection means 65. When the medium P is raised further, the sensing part 83 of the detection lever 80 in contact with the medium P pivots on the two support pins 85 and rotates in the direction of arrow M. The interrupter 84 formed in unison with the detection lever 80 therefore also pivots. As a result, the interrupter 84 moves out of the optical axis of the detector 82 of the media orientation detection means 65, and the output of the detector 82 changes.
By detecting this change in output, change in the orientation (displacement in a specific direction) of the medium P paused on the second paper stage 72 can be detected. Note that the length on the y-axis of the sensing part 83 is greater than the width of the medium P. As a result, the detection lever 80 can still pivot, and change in the orientation of the medium P can be detected, even if the operator twists or lifts the medium P at an angle to the paper width.
The media processing system 91 includes a printer 1 (media processing device) and a host computer 92 (control device). Configured as described above, the printer 1 is a device that cuts a medium P and issues a ticket after discharging a specific amount of the medium P from the paper exit 28. The host computer 92 is a computer that controls the printer 1, and can send control data (described below) instructing printing an image to the printer 1.
As shown in
The media processing device control unit 100 includes CPU, ROM, RAM, and other peripheral circuits, and controls the printer 1.
The media processing device control unit 100 controls the tag reader/writer 46 to read data from and write data to an RFID tag 7A. For example, when the paper label 7 is used as a baggage tag, the media processing device control unit 100 may write data identifying the airline, airport of departure, destination airport, transiting airports, the service counter where the baggage tag was issued, the number of the boarding pass, and the flight number to the RFID tag 7A.
In this embodiment of the invention, the tag reader/writer 46 functions as a processing unit that processes the medium P as controlled by the media processing device control unit 100 based on control data received from the host computer 92.
The media processing device control unit 100 controls the head drive circuit 101, drives the thermal head 67, and prints images on the medium P.
In this embodiment of the invention, the print mechanism 64 functions as a print unit as controlled by the media processing device control unit 100. The print mechanism 64 also functions as a processing unit that processes the medium P as controlled by the media processing device control unit 100 based on control data received from the host computer 92.
The media processing device control unit 100 also controls a motor drive circuit 102 and drives the paper feed motor 70. When the paper feed motor 70 is driven, the platen roller 66 turns and conveys the medium P according to rotation of the platen roller 66.
In this embodiment of the invention the conveyance mechanism 63 functions as a conveyance unit as controlled by the media processing device control unit 100.
The media processing device control unit 100 also controls the motor drive circuit 102 and drives the cutter drive motor 76. The movable knife 75 moves and cuts the medium P when the cutter drive motor 76 is driven.
In this embodiment, the automatic paper cutter 60 functions as a cutting unit as controlled by the media processing device control unit 100.
As described above, the detector 82 outputs the detection value of the sensor to the media processing device control unit 100. Based on change in the output of the detector 82, the media processing device control unit 100 detects that the medium P was displaced upward.
The warning unit 103 includes a buzzer, and outputs an electronic sound in a specific mode as controlled by the media processing device control unit 100.
The input unit 104 includes a power switch DS and feed button FB, detects operation thereof, and outputs to the media processing device control unit 100.
The storage unit 105 includes EEPROM or other nonvolatile memory, and nonvolatilely stores data rewritably.
The communication interface 106 communicates with the host computer 92 according to specific communication protocol as controlled by the media processing device control unit 100. The communication interface 106 and media processing device control unit 100 and media processing device control unit 100 together function as a communication unit.
As shown in
The control device control unit 108 has a CPU, ROM, RAM, and other peripheral circuits, and controls the host computer 92.
The host display unit 109 has an LCD panel or other display panel 110, and displays images on the display panel 110 as controlled by the control device control unit 108.
The host input unit 111 is connected to operating switches or input devices, detects operation of the operating switches or input devices, and outputs to the control device control unit 108.
The host storage unit 112 includes EEPROM, a hard disk drive, or other nonvolatile memory, and stores data rewritably.
The host communication interface 113 communicates with the printer 1 according to a specific communication protocol as controlled by the control device control unit 108.
The control device control unit 108 and host communication interface 113 together function as a communication unit that sends control data instructing the process to apply to the medium P.
For convenience of description, programs and function blocks are expressed by equivalent blocks in
Multiple (e.g. n) applications AP individually identified as first application AP1 (AP) to n-th application APn (AP) are installed in the host computer 92, and any of the applications can be selectively started and run.
In this example as described above, the printer 1 is installed at the service counter of an airline in an airport, and multiple airlines may share one printer 1 and a media processing system 91 including the printer 1.
In the following example, multiple airlines share the media processing system 91.
When multiple airlines share a single media processing system 91 as in this example, each airline uses the printer 1 to produce baggage tags and boarding passes through functions of a dedicated application. An application AP for each airline is therefore pre-installed to the host computer 92.
In this example, n applications AP referred to as application AP1 (AP) to application APn (AP) are pre-installed as the applications AP respectively used by airline 1 to airline n.
Each application AP has at least a function for generating data (“write data” below) including the information to be written to the RFID tag 7A of the ticket to be issued, and data (“print data” below) including information related to the image to be printed on the ticket, when producing a ticket.
Note that the application AP does not output data instructing cutting the medium P when producing a ticket. As a result, the application AP only needs the ability to output print data, and does not need a function for outputting data instructing the timing when the medium P is cut. The application AP can therefore be prevented from becoming complicated.
In
To produce a ticket, each application AP therefore simply generates write data and print data, and outputs process data including the foregoing data to the middleware MW according to a protocol.
As also shown in
A settings file SF is a file storing the values of various print settings. The print settings include, for example, the print speed, print density, margins, start printing position, and stop printing position. More specifically in this embodiment, information specifying the operating mode (“operating mode information” below) is recorded as one setting in the settings files SF. Operating modes are further described below.
The media processing device control unit 100 reads the settings files SF and operates in the specified operating mode. The media processing device control unit 100 also prints an image according to the values of settings contained in the settings files SF.
As shown in
In the following description using
By storing a settings files SF for each operating mode, the storage unit 105 functions as a print settings storage unit that stores settings values for each operating mode.
In addition to when the host computer 92 starts up, starting the application AP is commanded in events such as described below. As described above, the printer 1 in this embodiment is shared by multiple airline companies, and this sharing is done in situations such as follow. The multiple airlines take turns using the one printer in a time share manner. For example, each airline is assigned its own time intervals during which only it may access the printer. Consequently, when the printer 1 is used by any particular airline is known in advance. Each airline therefore uses the printer 1 during a specific time period, and quits its application AP when its specific time period is over. The airline that uses the printer 1 in the next time period then commands starting the application AP appropriate to that airline, and starts that application AP.
When the start of an application AP is commanded (step SX1), the application AP that was started on the host computer 92 outputs application identification information, which is identification information assigned to each application AP, to the middleware MW (step SA1). More specifically, each application AP has a function for outputting application identification information assigned to the application to the middleware MW when the application AP starts. The middleware MW generates transmission data including the application identification information, and outputs to the printer 1 according to a communication protocol (step SA2).
When the printer receives the transmission data (step SB1), the media processing device control unit 100 of the printer 1 extracts and acquires the application identification information from the received transmission data (step SB2).
Next, the media processing device control unit 100 identifies the settings files SF to be read based on the acquired application identification information (step SB3). That is, each settings file (SF) may correspond to an application (AP), as identified by its application identification information. If desired, each settings file (SF) may correspond to a different application (AP) in a one-to-one manner.
More specifically, the printer 1 relationally stores application identification information and information identifying the settings file SF to be read for each application AP installed in the host computer 92. The relation information is stored in a specific memory area in the storage unit 105, or is defined in the program, as data that can be referenced by the program embodying the functions of the media processing device control unit 100. In step SB3, the media processing device control unit 100 identifies the settings file SF related to the application identification information as the settings file SF to be read.
Note that because operating mode information specifying the operating mode is written in the settings files SF, the printer 1 stores the application identification information relationally to the operating mode information.
As a result of step SB3, the settings file SF that is referenced changes according to the application that was started (according to the application running on the control device), and the media processing device control unit 100 thereafter references the identified settings file SF when printing.
Next, the media processing device control unit 100 determines (selects) the operating mode based on the operating mode information contained in the settings file SF identified in step SB3 (step SB4).
Note that while the operating mode information indicating the operating mode is written in the settings files SF in this embodiment, a configuration in which data containing the relation between the operating mode information and the application identification information is stored separately from the settings files SF, and the operating mode is selected based on this data, is also conceivable.
As a result of the process in step SB4, the operating mode is selected according to the started application (according to the application running on the control device), and the printer 1 thereafter operates in the selected operating mode. The operating modes are described below.
When an application AP starts in this embodiment of the invention, the printer 1 selects the operating mode according to the application AP that started. When an application AP starts, the printer 1 also changes the settings file SF to reference to the settings file SF matching the application AP that started. As a result, the printer 1 can execute processes based on the operating mode corresponding to the application AP running on the host computer 92, and the related settings file SF (settings values).
More specifically, the settings file SF to reference and the operating mode to select are automatically selected when an application AP starts. As a result, each time the application AP starts, the user does not need to set the operating mode or configure application settings, and user convenience is excellent.
The operating modes are described next.
The operating modes in this embodiment include operating modes MA1, MA2 and operating mode MB. Operating modes MA1, MA2 are each a first operating mode, and operating mode MB is a second operating mode. In operating mode MB, the media processing device control unit 100 prints an image on the medium P and reads/writes data to the RFID tag 7A, and after stopping conveyance of the medium P, automatically cuts the medium P with the automatic paper cutter 60 instead of entering the standby mode described below.
Operating modes MA1, MA2 are each described below.
The operating mode of the printer 1 in the flow chart in
Starting the application AP, and selecting the settings files SF and operating mode based on the application AP, have already been completed by the process shown in the flow chart in
As shown in
To produce a ticket (step SC1 returns YES), the application AP generates and outputs process data including at least write data including the information to write to the RFID tag 7A of the issued ticket, and print data including information related to the image to print on the ticket, to the middleware MW (step SC2). Based on the process data, the middleware MW generates and sends control data to the printer 1 (step SC3).
Next, the middleware MW enters a no-transmission state (or mode) in which control data is not sent to the printer 1 (step SC4). While in this no-transmission state, the middleware MW or the application AP prohibits sending control data to the printer 1. Alternatively, a configuration in which a function of the middleware MW or the application AP displays an appropriate message on the display panel 110 and does not accept a ticket production command when in the no-transmission state is also conceivable.
After entering the no-transmission state, the middleware MW monitors whether or not a process completed report is received (step SC5). The process completed report and the process executed when the report is received are further described below.
The media processing device control unit 100 of the printer 1 monitors if control data is received (step SD1).
If control data was received (step SD1 returns YES), the media processing device control unit 100 controls the conveyance mechanism 63 (such as the paper feed motor 70) to convey the medium P appropriately based on the control data, and at the specified timing writes data to the RFID tag 7A with the tag reader/writer 46 based on the write control data contained in the control data, and prints an image with the print mechanism 64 (such as the thermal head 67) based on the print control data contained in the control data (step SD2). The process performed in this step SD2 is an example of a process applied by the processing unit to the medium P.
While the process of step SD2 executes, the media processing device control unit 100 monitors if processing the medium P was completed (step SD3). More specifically, the media processing device control unit 100 checks if writing data to the RFID tag 7A and printing an image are completed (step SD3).
Completion of writing data to the RFID tag 7A means that writing all data to be written to the RFID tag 7A based on the write control data contained in the control data to the RFID tag 7A has been completed. Completion of printing an image means that printing all images to be printed based on the print control data contained in the control data has been completed. Whether or not both writing data to the RFID tag 7A and printing of images are completed is monitored in step SD3.
When the printing operation is completed, the media processing device control unit 100 sends process completed report data indicating that printing based on the control data is completed to the host computer 92 (step SD4).
Note that in step SD3 and step SD4, the media processing device control unit 100 sends the process completed report data indicating that processing ended as soon as both writing data to the RFID tag 7A and image printing are completed. However, the media processing device control unit 100 could be configured to determine that the process was completed and send the process completed report data after the medium P is conveyed to the specific position and conveyance is then stopped by the process of step SD5 described below.
As described above, the middleware MW checks if the process completed report data was received after changing to the no-transmission state (step SC4, step SC5). If the process completed report data was received (step SC5 returns YES), the middleware MW cancels the no-transmission state (step SC6) and transitions to a state enabling sending control data to the printer 1. Next, the process returns to step SC1, and the application AP determines whether or not to produce another ticket.
After sending control data commanding writing data and printing, the host computer 92 in this embodiment thus prohibits sending control data commanding writing data and printing an image related to the next ticket until the process completed report data is received. When the process completed report data is received, the host computer 92 changes to the state enabling sending control data for the next ticket. This configuration has the following effect.
Specifically, control data is not transmitted by the host computer 92 in this configuration until the printer 1 finishes processing the medium P for one ticket. More specifically, outputting control data continuously from the host computer 92 to the printer 1 is prevented. As a result, problems such as the receive buffer of the host computer 92 overflowing and tickets not being produced in response to requests from the host computer 92 can be prevented.
As shown in
The cutting position of the medium P is a position corresponding to the trailing end of the ticket processed by the processing unit based on the control data. By cutting the medium P at this cutting position, a slip equal to one ticket is cut from the medium P and a ticket is issued.
This step SD5 results in a portion of the medium P being discharged from the paper exit 28.
Next, the media processing device control unit 100 enters the standby mode (step SD6).
In the standby mode, the media processing device control unit 100 keeps conveyance of the medium P stopped. More specifically, the media processing device control unit 100 keeps the paper feed motor 70, which is a stepper motor, in a hold mode during the standby mode, and thereby restricts movement of the medium P in the conveyance direction (movement in the direction moving toward the paper exit 28). More specifically, by keeping the paper feed motor 70 in the hold mode, the media processing device control unit 100 restricts rotation of the platen roller 66 in the medium P conveyance direction. Because the medium P is held pressed between the thermal head 67 and the platen roller 66, movement of the medium Pin the medium P conveyance direction is restricted by restricting rotation of the platen roller 66.
Because movement of the medium P is thus controlled, the cutting position of the medium P is prevented from shifting from the cutting position of the automatic paper cutter 60 even if some force is applied to the medium P, such as when the user displaces the medium P in order to cut the medium P or the medium P is pulled. The paper feed motor 70 that functions as a limiting member restricting rotation of the platen roller 66, and the media processing device control unit 100 (drive control unit) that holds the paper feed motor 70, together function as a shifting prevention unit in this embodiment of the invention.
In the standby mode, the media processing device control unit 100 also prohibits printing by the print mechanism 64 and writing data to the RFID tag 7A by the tag reader/writer 46. In other words, the media processing device control unit 100 prohibits processing of the medium P by any processing unit when in the standby mode.
When in the standby mode, the media processing device control unit 100 also monitors change in the sensor output of the detector 82 of the media orientation detection means 65 described above, and monitors change in the orientation (displacement in a specific direction) of the medium P waiting on the second paper stage 72. In other words, detection of the media orientation is not done in the standby mode, and the medium P is therefore not cut based on detection of a change in orientation even if the orientation of the medium P changes.
After entering the standby mode, the media processing device control unit 100 monitors if a change in the medium P orientation was detected by the media orientation detection means 65 (step SD8), and determines if control data commanding printing an image on the next ticket, for example, was received (step SD7). Because the process completed report data was already transmitted, control data instructing printing an image on the next ticket could have been sent by the host computer 92 before step SD7.
That a change in the orientation of the medium P was detected by the media orientation detection means 65 means that the user intentionally moved the medium P in order to cut the medium P (issue a ticket).
If control data is received before change in the medium P orientation is detected (step SD7 returns YES), the media processing device control unit 100 stores the received control data in a specific memory area (step SD9), and then goes to step SD8.
If a change in the medium P orientation was detected in the standby mode, the media processing device control unit 100 controls the automatic paper cutter 60 to cut the medium P (step SD10).
As described above, rotation of the platen roller 66 is restricted, and the medium P is held between the platen roller 66 and thermal head 67, when in the standby mode. The medium P therefore does not move in the conveyance direction, and the cutting position of the medium P does not shift from the cutting position of the automatic paper cutter 60, even if the user moves the medium P before the medium P is cut in step SD10. The cutting position of the medium P and the cutting position of the automatic paper cutter 60 also do not shift during cutting, and the medium P is cut appropriately at the intended position.
More particularly, as shown in
By cutting in step SD10, a slip equivalent to one ticket is cut from the medium P and the slip can be issued as a ticket.
After cutting the medium P, the media processing device control unit 100 cancels the standby mode (step SD11).
When the standby mode is cancelled, detecting change in the medium P orientation stops, and the medium P is not cut even if the orientation of the medium P changes.
Further accompanying cancelling the standby mode, the media processing device control unit 100 cancels prohibition of printing with the print mechanism 64 and writing data to the RFID tag 7A by the tag reader/writer 46. More specifically, the media processing device control unit 100 allows processing the medium P by a processing unit.
As described above, when the medium P is displaced in a specific direction while in the standby mode in operating mode MA1, or in other words, when the medium P is moved so that it is displaced in a specific direction by the user, the medium P is cut and a ticket is issued. More specifically, a ticket is not issued unless the user intentionally moves the medium P. As a result, tickets can be prevented from accumulating at the paper exit 28 as a result of tickets being continuously produced automatically when not intended by the user. Tickets becoming intermixed with other tickets and being mistakenly mishandled by the user as a result of tickets being automatically produced continuously can also be prevented.
After cancelling the standby mode, the media processing device control unit 100 determines if control data was received during the standby mode and the received control data was stored (step SD12). If control data was stored (step SD12 returns YES), the media processing device control unit 100 returns control to step SD2, and prints an image based on the stored control data. If control data was not stored (step SD12 returns NO), the media processing device control unit 100 returns control to step SD1 and waits to receive control data.
As described above, when control data instructing printing an image for the next ticket, for example, is received while in the standby mode, this embodiment stores the control data and executes the process based on the stored control data after the standby mode is cancelled in conjunction with cutting the medium P. As a result, printing an image on the next ticket can start after the standby mode is cancelled due to cutting the medium P, and process efficiency can be improved.
When in operating mode MA1, the control device control unit 108 controls the warning unit 103 to produce an electronic sound in a specific pattern to report when the standby mode is enabled, a specific time has passed in the standby mode, and when the standby mode is cancelled. As a result, the user can be made aware of information related to the standby mode, and the user can be prompted to move the medium so that the medium is cut if there is a need to cut the medium P while in the standby mode.
Note that configurations that report when any one or any two of specific events occur, including entering the standby mode, a specific time passing while in the standby mode, and cancelling the standby mode, and configurations enabling the user to set the timing when reports are issued are conceivable.
The method of issuing a report is not limited to the warning unit 103 producing an electronic sound, and if the configuration has a display unit, an appropriate message could be displayed on the display unit.
Note that reports related to the standby mode as described above are also issued in operating mode MA2 described below.
The control data received in step SD1 in the foregoing description of operating mode MA1 is also referred to as first control data, and the control data thereafter received from the host computer 92 is also referred to as second control data. In other words, the second control data is the control data the host computer 92 sends to the printer 1 through the transmission unit after sending the first control data and receiving the process completed report data.
A configuration that prohibits receiving control data when the standby mode is entered in step SD6 in the flow chart in
Prohibiting receiving control data is done, for example, by the media processing device control unit 100 sending specific data to the control device control unit 108 of the host computer 92, and requesting stopping transmission of control data. Permitting receiving control data is done, for example, by the media processing device control unit 100 sending specific data to the control device control unit 108 of the host computer 92 and requesting cancelling stopping control data transmission.
With this configuration, the media processing device control unit 100 receives control data for the next ticket and can start processing the medium P after cancelling the standby mode and entering a mode enabling processing the medium P to produce the next ticket.
Operating mode MA2 is described next.
In
In the operation of the printer 1 in
As shown in
If a change in the orientation of the medium P was detected before control data is received (step SE8 returns YES), the media processing device control unit 100 controls the automatic paper cutter 60 to cut the medium P (step SE9), and cancels the standby mode (step SE10). The media processing device control unit 100 then returns control to step SE1, and waits to receive control data.
However, if control data is received before a change in the orientation of the medium P is detected (step SE7 returns YES), the media processing device control unit 100 cancels the standby mode (step SE11). When cancelling the standby mode in this event, the media processing device control unit 100 does not cut the medium P. As a result, cutting the medium P and issuing a ticket when not intended by the user, and tickets accumulating near the paper exit 28 as a result, can be prevented.
Note that configurations that cut the medium P when the standby mode is cancelled in step SE11, and configurations that enable the user to set whether or not to cut the medium P when the standby mode is cancelled in step SE11, are also conceivable.
Next, the media processing device control unit 100 returns control to step SD2, and writes data to the RFID tag 7A and prints an image based on received control data.
This operating mode MA2 thus differs from operating mode MA1 by cancelling the standby mode and printing an image based on received control data when control data is received in the standby mode. The effect of this process is described below.
When control data is received while in the standby mode, the printer 1 prints an image based on the control data. As a result, unnecessarily stopping ticket production when there is a request to produce a ticket, and a resulting drop in process efficiency, can be prevented.
In the flow chart in
When control data commanding printing an image on the next ticket, for example, is received in the standby mode in this configuration, the media processing device control unit 100 maintains the standby mode for a specific time after control data is received. If displacement of the medium P is not detected during this specific time, the standby mode is cancelled after the specific time passes, and processing based on the received control data proceeds.
The media processing device control unit 100 does not cut the medium P when cancelling the standby mode. As a result, cutting the medium P and issuing a ticket when not intended by the user, and tickets accumulating near the paper exit 28 as a result, can be prevented. Configurations that cut the medium P, and configurations that enable the user to set whether or not to cut, are both conceivable.
Thus comprised, when control data commanding printing an image on the next ticket, for example, is received in the standby mode, the printer 1 maintains the standby mode for a specific time instead of immediately printing an image based on the control data. As a result, time for the user to move the medium P so that it is displaced in a specific direction and intentionally cut the medium P can be assured. In addition, because printing an image, for example, based on the control data is done after waiting a specific time, unnecessarily stopping ticket production when there is a request to produce a ticket, and a resulting drop in process efficiency, can be prevented.
Other configurations are also conceivable as described below.
When displacement of the medium P is not detected for a specific time after the standby mode is entered, the media processing device control unit 100 in another exemplary configuration stays in the standby mode whether or not control data specifying printing an image on the next ticket is received, for example.
The printer 1 in this configuration maintains the standby mode for a specific time after entering the standby mode regardless of whether control data is received. As a result, time for the user to move the medium P so that it is displaced in a specific direction and the medium P is intentionally cut can be assured even if control data is received soon after the standby mode is entered.
The control data received in step SE1 in the foregoing description of operating mode MA2 is also referred to as first control data, and the control data thereafter received from the host computer 92 is also referred to as second control data. In other words, the second control data is the control data the host computer 92 sends to the printer 1 through the transmission unit after receiving the process completed report data.
Operation of the printer 1 when the power turns on/off is described next.
As described above, time is spent in a standby mode when the operating mode is operating mode MA1 or operating mode MA2. The power can conceivably be turned off during this specific time, or more specifically while the medium P for one ticket is discharged from the paper exit 28. In this event, the printer 1 executes the following process when the operating mode is set to operating mode MA1 or operating mode MA2.
As shown in
If the standby mode is active when the power off command is received (step SG1 returns YES), the media processing device control unit 100 stores information indicating the standby mode is active at a specific address in the storage unit 105, which is nonvolatile memory. Next, the media processing device control unit 100 goes to step SG3 and executes the shutdown process.
As shown in
If the information is stored (step SH3 returns YES), the media processing device control unit 100 deletes the information from storage unit 105, and enters the standby mode (step SH4). As a result, the user is enabled to intentionally cut the medium P. However, when the information is not stored (step SH3 returns NO), the media processing device control unit 100 does not enter the standby mode.
This configuration enables entering the standby mode the next the power turns on when the power is turned off in the standby mode without cutting the medium P. As a result, after the next time the power turns on, the user can command cutting the medium P and the medium P can be cut when a change in the orientation of the medium P is detected.
The feed button FB is described next.
As described above, there is also a standby period when the operating mode is set to operating mode MA1 or operating mode MA2. An error can also occur in the media orientation detection means 65 or related parts when in the standby mode, and detecting a change in the orientation of the medium P may not be possible.
As a result, when the feed button FB is operated during the standby mode, the media processing device control unit 100 controls the automatic paper cutter 60 to cut the medium P and cancel the standby mode. The user can therefore control intentionally cutting the medium P even when an error occurs in the media orientation detection means 65.
Note that configurations that cut when the feed button FB is operated in a specific manner, such as the feed button FB being pressed a specific number of times within a specific time, in order to detect if the user has intentionally instructed cutting are also conceivable. Configurations that cut if the feed button FB is operated when a specific error has occurred are also conceivable. Configurations that detect operation of a switch other than a feed button FB are also conceivable.
As described above, a printer 1 according to this embodiment has a media orientation detection means 65 (detection unit) that detects displacement of the medium P discharged from the paper exit 28 to a direction other than the conveyance direction of the conveyance mechanism 63. The media processing device control unit 100 (control unit) of the printer 1 controls cutting the medium P with the automatic paper cutter 60 when the media orientation detection means 65 detects displacement of the medium P, and after controlling the automatic paper cutter 60 allows processing the medium P by a processing unit (tag reader/writer 46).
When the medium P is moved and displaced in the specific direction in this configuration, the medium P is cut and a ticket is issued. As a result, accumulation of tickets near the paper exit can be prevented.
A printer 1 according to this embodiment has a communication unit that receives control data requesting processing the medium P by a processing unit, and after controlling the automatic paper cutter 60, the media processing device control unit 100 allows the communication unit to receive control data.
More specifically, as described in operating mode MA1 above, when the standby mode is entered in step SD6 in the flow chart in
In this configuration, the media processing device control unit 100 cancels the standby mode, enables processing the medium P for the next ticket, and then enables receiving control data for the next ticket and starting processing the medium P.
The media processing device control unit 100 in this embodiment detects displacement of the medium P by the media orientation detection means 65 for a predetermined time after stopping conveyance of the medium P.
Time for the user to displace the medium P and cut the medium P after medium P conveyance stops can therefore be assured by this configuration.
The printer 1 in this embodiment also has a warning unit 103, and the media processing device control unit 100 controls the warning unit 103 to report when waiting to cut with the automatic paper cutter 60.
This configuration enables making the user aware that the automatic paper cutter 60 is waiting to cut.
The media processing device control unit 100 of the printer 1 in this embodiment controls cutting the medium P by the automatic paper cutter 60 when the media orientation detection means 65 detects displacement of the medium P, and controls processing the medium P by a processing unit if the communication unit receives control data while in the standby mode waiting for the media orientation detection means 65 to detect displacement of the medium P.
When control data is received when in the standby mode, the printer 1 in this configuration prints an image based on the control data. As a result, unnecessarily stopping ticket production when there is a request to produce a ticket, and a resulting drop in process efficiency, can be prevented.
When control data is received in the standby mode in operating mode MA2 in this embodiment, the media processing device control unit 100 could be configured to control a processing unit to process the medium P based on the control data after holding the standby mode for a predetermined time after the control data is received.
When control data is received in the standby mode in this configuration, the printer 1 holds the standby mode for a specific time instead of immediately processing the medium P based on the control data. As a result, time for the user to move the medium P in the specific displacement direction and intentionally cut the medium P can be assured.
The media processing device control unit 100 in this embodiment also controls processing the medium P by the processing unit without cutting the medium P with the automatic paper cutter 60 when control data is received in the standby mode.
This configuration can prevent the medium P being cut, tickets being issued, and tickets accumulating at the paper exit.
The media processing system 91 according to this embodiment includes a host computer 92 (control device) and a printer 1 (media processing device). The host computer 92 has a transmission unit that sends control data instructing processing the medium P. The printer 1 has a media orientation detection means 65 that detects displacement of the medium P in a direction different from the conveyance direction after conveyance by the conveyance mechanism 63 stops, and a media processing device control unit 100 that controls the automatic paper cutter 60 to cut the medium P when the media orientation detection means 65 detects this displacement of the medium P. The media processing device control unit 100 of the printer 1 sends process completed report data through the communication unit to the host computer 92 when the medium P has been processed by the processing unit.
When the medium P is moved so that it is displaced in a specific direction, the medium P is cut and a ticket is issued. As a result, tickets being automatically produced continuously and then accumulating at the paper exit as a result can be prevented.
The printer 1 in this configuration sends a process completed report to the host computer 92 when a process was executed by the processing unit. The host computer 92 can therefore know that the process was completed by the printer 1, and based thereon can execute a corresponding process.
After receiving the process completed report data, the host computer 92 in this embodiment sends second control data through the transmission unit to the media processing device.
In this configuration, the host computer 92 sends the second control data after receiving the process completed report. When the host computer 92 has not finished processing the medium P for one ticket, the host computer 92 is therefore prevented from sending control data instructing processing the medium P for the next ticket to the printer 1. As a result, problems such as control data being output continuously from the host computer 92 to the printer 1, the printer 1 buffer overflowing as a result, and tickets not being produced in response to host computer 92 requests can be prevented.
The host computer 92 in this embodiment also has a control device control unit 108 (application execution unit) that runs an application AP that generates and outputs information for processing a medium P, and a transmission unit that transmits the information output by the application AP. The printer 1 has a communication unit that receives information sent by the transmission unit, a print mechanism 64 that operates in a first operating mode or a second operating mode that differs from the first operating mode based on the received information, and a media processing device control unit 100 that selects the first operating mode or the second operating mode based on the application AP that generates the information.
Because the printer 1 selects the first operating mode or the second operating mode based on the application AP running on the host computer 92 in this configuration, the printer 1 can operate in an operating mode appropriate to the application AP. More specifically, the printer 1 can execute processes that are responsive to multiple applications AP installed on the host computer 92.
Also in this embodiment, the control device control unit 108 (application execution unit) of the host computer 92 starts the application AP, and the media processing device control unit 100 of the printer 1 selects the first mode or second mode based on the application AP started by the application execution unit.
This configuration thus enables selecting a first operating mode or a second operating mode according to the application AP started on the host computer 92.
When an application AP starts, the transmission unit of the host computer 92 in this embodiment sends identification information for the application AP to the communication unit of the printer 1. The printer 1 has a storage unit 105 that stores relationship information relating the identification information to an operating mode, and the media processing device control unit 100 selects the first operating mode or the second operating mode based on the stored relationship information and transmitted identification information.
Using the application AP identification information, this configuration can select the operating mode of the media processing device based on an application starting on the control device.
The printer 1 in this embodiment also has a storage unit 105 (print settings storage unit) that stores first operating mode settings and second operating mode settings for the print mechanism 64 (print unit). When information is received by the communication unit, the media processing device control unit 100 selects the first operating mode settings or the second operating mode settings stored in the storage unit based on the application AP that generated the information.
Because the operating mode and settings are selected based on the application AP of the host computer 92 in this configuration, the printer 1 can operate using the settings appropriate to the application AP.
In this embodiment, the media processing device control unit 100 (control unit) of the printer 1 executes the following process in operating mode MA1. Specifically, the media processing device control unit 100 controls the print mechanism 64 to print an image for one ticket on the medium P, conveys the medium P with the conveyance mechanism 63 until part of the medium P is discharged from the paper exit 28, and then enters a standby mode. Until the media orientation detection means 65 (detection means) detects displacement of the medium P while in the standby mode, the media processing device control unit 100 stops the print mechanism 64 from printing an image on the next ticket. When the media orientation detection means 65 detects displacement of the medium P, the media processing device control unit 100 cuts the medium P with the automatic paper cutter 60 and cancels the standby mode.
When the medium P is moved and displaced in a specific direction by the user while in the standby mode in this configuration, the medium P is cut and a ticket is issued. This prevents tickets from accumulating near the paper exit 28.
When the media processing device control unit 100 in this embodiment receives control data instructing printing an image on the next ticket, for example, while in the standby mode, the media processing device control unit 100 stores the control data, and after cancelling the standby mode as a result of cutting the medium P, executes a process based on the stored control data.
After cancelling the standby mode in conjunction with cutting the medium P, this configuration starts printing the image of the next ticket, and can improve process efficiency.
In operating mode MA2 in this embodiment, the media processing device control unit 100 controls the print mechanism 64 to print an image for one ticket on the medium P, conveys the medium P by the conveyance mechanism 63 until part of the medium P is discharged from the paper exit 28, then stops conveyance and enters the standby mode. When the media orientation detection means 65 detects displacement of the medium P while in the standby mode, the media processing device control unit 100 cuts the medium P with the automatic paper cutter 60 and cancels the standby mode. If control data instructing printing an image for the next ticket is received from the host computer 92 while in the standby mode, the media processing device control unit 100 cancels the standby mode and executes a process based on the received control data.
When control data is received while in the standby mode, the printer 1 in this configuration prints an image based on the control data. As a result, stopping production of tickets unnecessarily even though a ticket production request is received, and a resulting drop in process efficiency, can be prevented.
A printer 1 operating in operating mode MA2 in this embodiment could be configured as described below.
When control data instructing printing an image for the next ticket, for example, is received in the standby mode, the media processing device control unit 100 holds the standby mode for a specific time after the data is received. If displacement of the medium P is not detected during this specific time, the media processing device control unit 100 cancels the standby mode after the specific time passes, and then prints based on the received control data.
When control data instructing printing an image for the next ticket, for example, is received in the standby mode in this configuration, the printer 1 continues the standby mode for a specific time instead of immediately printing an image, for example, based on the control data. As a result, time for the user to move and displace the medium P in a specific direction and intentionally cut the medium P can be assured. Furthermore, because an image based on the control data is printed, for example, after the specific time passes, stopping production of tickets unnecessarily even though a ticket production request is received, and a resulting drop in process efficiency, can be prevented.
A printer 1 operating in operating mode MA2 in this embodiment could also be configured as described below.
More specifically, when displacement of the medium P is not detected for a specific time in the standby mode, the media processing device control unit 100 holds the standby mode whether or not control data instructing printing an image for the next ticket is received.
In this configuration, the printer 1 continues in the standby mode whether or not control data is received while in the standby mode. As a result, time for the user to move and displace the medium P in a specific direction and intentionally cut the medium P can be assured even if control data is received soon after entering the standby mode. In addition, stopping production of tickets unnecessarily even though a ticket production request is received, and a resulting drop in process efficiency, can be prevented.
In operating modes MA1, MA2 in this embodiment, the media processing device control unit 100 reports when a specific time passes in the standby mode, or when the standby mode is cancelled. In addition to producing a sound with the warning unit 103, the report could be issued by displaying a message on a display unit when a display unit is available.
This configuration can inform the user that the standby mode is active, that a specific time passed in the standby mode, or that the standby mode was cancelled, and can prompt the user to move and cut the medium P when cutting the medium P is necessary while in the standby mode.
When a power off command is asserted in the standby mode in operating modes MA1, MA2, the media processing device control unit 100 in this embodiment stores information indicating that the standby mode is enabled in the storage unit 105. When a command to turn the power on is then asserted, the media processing device control unit 100 references the storage unit 105 and determines if the standby mode was active the last time the power turned off. The media processing device control unit 100 then restores the standby mode if the standby mode was active the last time the power turned off.
If the power turned off while in the standby mode without cutting the medium P, this configuration restores the standby mode the next time the power turns on, and the user can cut the medium P after the power turns on again.
When operation of the feed button FB is detected in the standby mode, the media processing device control unit 100 in this embodiment cuts the medium P with the automatic paper cutter 60 and cancels the standby mode.
This configuration enables the user to intentionally cut the medium P when, for example, a problem happens with the media orientation detection means 65 and the medium P is not cut even though it is displaced in the specific direction while in the standby mode.
The media processing device control unit 100 in this embodiment sends process completed report data to the host computer 92 to report completion of the printing or other process after writing data to an RFID tag 7A with the tag reader/writer 46, and printing images with a print mechanism print mechanism 64, based on control data instructing printing an image for one ticket, for example. After sending control data instructing printing an image for one ticket, for example, the control device control unit 108 of the host computer 92 also stops sending control data instructing printing the next ticket image until the process completed report data for the one ticket is received.
When the printer 1 has not finished printing the image for one ticket, this configuration can, for example, prohibit the host computer 92 from sending control data instructing printing an image for the next ticket to the printer 1. As a result, problems such as control data being output continuously from the host computer 92 to the printer 1, the printer 1 buffer overflowing as a result, and tickets not being produced in response to requests can be prevented.
A host computer 92 in the media processing system 91 according to this embodiment has multiple applications AP that generate and output information related to images to print on a medium P. The printer 1 also has plural operating modes, and can change the operating mode according to the application running on the host computer 92.
Because this configuration enables changing the operating mode of the printer 1 according to the application AP running on the host computer 92, the printer 1 can operate in an operating mode appropriate to the application AP. More specifically, the printer 1 can execute processes appropriate to the plural applications on the host computer 92.
The printer 1 in this embodiment changes the operating mode to an operating mode appropriate to the application that was started when an application AP is started on the host computer 92.
More specifically, when an application AP starts, the host computer 92 sends identification information for the application AP that started to the printer 1. The printer 1 stores this application AP identification information relationally to operating mode information identifying the corresponding operating mode, and when identification information is received from the host computer 92, changes the operating mode to the operating mode related to the identification information.
This configuration eliminates the need for the user to select the operating mode when an application starts, reduces the need for the user to perform a complicated task, and causes the printer 1 to operate in an operating mode appropriate to the application.
The printer 1 in this embodiment also stores a settings file SF containing print settings for each application AP. The printer 1 can also change the settings file SF together with the operating mode appropriately to the application AP running on the host computer 92.
This configuration thus enables the printer 1 to operate using the operating mode and settings appropriate to the application AP.
The printer 1 in this embodiment is also configured so that it can change the operating mode to operating modes MA1, MA2 (first operating modes) or operating mode MB (a second operating mode) according to the application AP that started on the host computer 92.
In operating modes MA1, MA2, which are examples of a first operating mode, the medium P is cut and a ticket is issued when the medium P is displaced in a specific direction while in the standby mode. This has the advantage of preventing tickets from being automatically produced continuously and the tickets accumulating near the paper exit as a result.
A benefit of operating mode MB, which is a second operating mode, is that because the medium P is cut based on printing an image on the medium P, a drop in process efficiency due to the medium P not being cut after an image is printed on the medium P can be prevented.
This configuration thus enables changing the operating mode according to the application to take advantage of the particular merits of the operating modes.
A printer 1 according to this embodiment also has a shift prevention mechanism that prevents movement causing the position where the medium P is to be cut to shift from the cutting position of the automatic paper cutter 60 while in the standby mode.
The shift prevention mechanism in this configuration prevents movement causing the cutting position of the cutter mechanism and the intended cutting position of the medium to shift when in the standby mode, and enables cutting the medium P at the defined position and issuing a ticket.
The shift prevention mechanism in this configuration is preferably disposed near the automatic paper cutter 60 on the upstream side of the automatic paper cutter 60 in the media conveyance direction.
Even if skewing or sagging occur on the downstream side of the shift prevention mechanism when the orientation of the medium P changes, movement between the cutting position of the automatic paper cutter 60 and the position where the medium P is to be cut is minimized, and shifting can be more effectively prevented.
The shift prevention mechanism in this embodiment prevents the medium P from shifting by limiting rotation of the platen roller 66. More specifically, the shift prevention mechanism stops rotation of the platen roller 66 by setting the paper feed motor 70, which is a stepper motor, to a hold state.
This configuration enables the shift prevention mechanism to prevent shifting by using the platen roller 66 of the conveyance mechanism 63 and driving the platen roller 66 with a stepper motor.
The invention is described above with reference to a preferred embodiment thereof, but the invention is not limited thereto and can be modified and adapted in many ways without departing from the scope of the accompanying claims.
For example, displacement of the medium Pin a specific direction is detected by the media orientation detection means 65. However, the means of detecting displacement of the medium P in a specific direction could be any configuration capable of detecting displacement. For example, a configuration having a reflective photosensor disposed to the paper stage 72 so that the sensor output changes when the medium P is displaced in a specific direction is also conceivable.
The configuration of the shift prevention mechanism is also not limited to the foregoing, and any configuration that can prevent shifting between the cutting position of the automatic paper cutter 60 and the intended cutting position on the medium P can be used. For example, a configuration that holds the medium P with a different member than the platen roller 66, and thereby prevents movement of the medium P, is conceivable.
Furthermore, the printer 1 is a thermal printer in this example, but the method of printing is not limited to thermal printing.
The function blocks shown in
Although the present invention has been described in connection with the preferred embodiments thereof with reference to the accompanying drawings, it is to be noted that various changes and modifications will be apparent to those skilled in the art. Such changes and modifications are to be understood as included within the scope of the present invention as defined by the appended claims, unless they depart therefrom.
Number | Date | Country | Kind |
---|---|---|---|
2013-135448 | Jun 2013 | JP | national |
This application is a continuation of, and claims priority under 35 U.S.C. §120 on, U.S. application Ser. No. 14/307,146, filed on Jun. 17, 2014. This application also claims priority under 35 U.S.C. §119 on Japanese patent application no. 2013-135448, filed on Jun. 27, 2013. The content of each such related application is incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 14307146 | Jun 2014 | US |
Child | 15085684 | US |