CN101003216A - Recording device control method - Google Patents

Recording device control method Download PDF

Info

Publication number
CN101003216A
CN101003216A CN 200710001723 CN200710001723A CN101003216A CN 101003216 A CN101003216 A CN 101003216A CN 200710001723 CN200710001723 CN 200710001723 CN 200710001723 A CN200710001723 A CN 200710001723A CN 101003216 A CN101003216 A CN 101003216A
Authority
CN
China
Prior art keywords
conveyance
recording medium
master computer
mechanism portion
bankbook
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200710001723
Other languages
Chinese (zh)
Other versions
CN100551713C (en
Inventor
中槙基裕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Publication of CN101003216A publication Critical patent/CN101003216A/en
Application granted granted Critical
Publication of CN100551713C publication Critical patent/CN100551713C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Handling Of Sheets (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Controlling Sheets Or Webs (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention provides a control method for a recording device capable of reducing the waiting time for bidirectional communication between a host computer and a recording device and improving total process capacity. While the recording medium is conveyed according to the instruction transmitted by the host computer 80, a matrix printer, which employs recording heads 18 to record image on recording medium, is constituted in a structure of disposing end detecting sensors 52 for detecting recording medium on a conveying route of the recording medium towards the recording heads 18. A CPU 61 for controlling the matrix printer can determine whether the recording medium of instructed amount can be conveyed according to the detecting state of the end detecting sensors 52 and the distance between the end detecting sensors 52 and the recording head 18 during that the host computer 80 has instructed to convey the recording medium.

Description

The control method of tape deck
Technical field
The present invention relates to control method according to the indication tape deck of document image on recording medium that sends from master computer.
Background technology
Generally under the situation that tape decks such as master computer and printer are connected, between these master computers and tape deck, carry out so-called two-way communication (for example with reference to patent documentation 1).In two-way communication, carry out sending record to tape deck repeatedly and represent the indication of information etc. of operating state and the action of response with data and control instruction etc., from tape deck to the master computer transmission from master computer.By utilizing this two-way communication, can when the host computer pusher side moves to tape deck, monitor its state at every turn all the time, thereby can carry out practical control.
[patent documentation 1] spy opens flat 11-73282 communique
But, under the situation of the two-way communication of stating in the use, from master computer at every turn to tape deck when action indication, need to carry out and confirm whether it has finished action as indicated, next such step of moving is carried out in indication after having confirmed action.In this step, need to wait for the release of tape deck, thereby exist the problem that produces the very important stand-by period.
For example, on recording medium during document image, though send the indication of the conveyance of recording medium to tape deck from master computer, but after the transmission of this indication, master computer is finished conveyance sending tape deck, and before the normal notice of state, must be in holding state, thereby exist the problem that produces the stand-by period.
Summary of the invention
The present invention proposes in view of above-mentioned situation, its objective is the stand-by period when shortening is carried out two-way communication between master computer and tape deck, improves throughput.
In order to address the above problem, the control method of tape deck of the present invention, the transport mechanism portion that possesses the conveyance recording medium, recording mechanism portion with document image on described recording medium, has the structure that indication according to master computer makes described transport mechanism portion carry out conveyance and described recording mechanism portion is write down, on the conveyance path of described recording mechanism portion, be provided with the testing agency of detecting described recording medium, the control method of this tape deck is characterised in that, detected state according to described testing agency, and the distance between described testing agency and the described recording mechanism portion, judge whether can carry out the conveyance of the indicated amount of master computer.
According to this structure, can be on the conveyance path of the recording medium of recording mechanism portion, promptly according to the detected state that is located at the testing agency of recording mechanism portion upstream side, by the part towards the conveyance of recording mechanism portion, promptly the surplus of recording medium has or not after learning.And, can learn the surplus of recording medium according to distance from recording mechanism portion to testing agency.Therefore, because under the situation of having carried out by the conveyance of the amount of master computer indication, whether the surplus of decidable recording medium is finished by conveyance, so can judge whether can carry out the conveyance of indicated amount rapidly and effectively.Thus, under the situation of having sent the conveyance indication from master computer, owing to can judge whether can to carry out at once, and be notified to master computer,, or stop the processing of conveyance etc. so master computer can continue the record of indicating image.Thereby can significantly shorten the stand-by period when carrying out two-way communication between master computer and the tape deck, improve throughput.
In the present invention, also can under the situation of the conveyance that can carry out the indicated amount of described master computer, this result of determination be sent to described master computer, afterwards, by the described recording medium of described transport mechanism portion's conveyance.At this moment and since will represent could conveyance result of determination send to master computer after the conveyance recording medium, so can master computer receive result of determination and handle during the conveyance recording medium.Thus, can effectively utilize master computer and tape deck both sides' stand-by period, can further improve throughput.
In addition, in the present invention, also can detect by described testing agency under the state of described recording medium, under the indicated situation of amount of described master computer, be judged to be and to carry out the conveyance of indicated amount less than the distance between described recording mechanism portion and the described testing agency.That is, detect in testing agency under the state of recording medium, have recording medium from recording mechanism portion to the testing agency at least afterwards, and can this part of conveyance.Therefore, whether by comparing with the distance between recording mechanism portion and the testing agency with by the indicated amount of master computer, can rapidly and correctly judge can conveyance.
And, in the present invention, also the distance between described recording mechanism portion and described testing agency can be deducted the amount of described testing agency detection less than the computed carrier amount gained after the described recording medium, but store as the residue computed carrier amount, but, judge and whether can carry out conveyance by the computed carrier amount that indicated amount of more described master computer and described storing mechanism are stored.According to this structure, can not continue the detected moment of detected mechanism at recording medium, can conveyance equate with distance from recording mechanism portion to testing agency to the size of the recording medium of recording mechanism portion, so according to this distance, but obtaining can be to the residue computed carrier amount of recording mechanism portion conveyance, and storage.In the case, but owing to stored computed carrier amount in advance, so, can be rapidly and correctly judge the conveyance that whether can carry out by the indicated amount of master computer.
In addition, in the present invention, also can in described judgement, be judged to be and to carry out under the situation of conveyance, but from the residue computed carrier amount of described storage, deduct the indicated amount of described master computer, but and be updated to new residue computed carrier amount.According to this structure, after testing agency can not detect recording medium, but upgrade the residue computed carrier amount according to computed carrier amount thereafter.Thus, even after can not detecting recording medium, carry out under the situation of repeatedly conveyance by testing agency, but conveyance all can be upgraded and be stored successively to the size of recording medium, so can be rapidly and correctly judge the conveyance that whether can carry out by the indicated amount of master computer.
In addition, in the present invention, also can detect by described testing agency under the state of described recording medium, surpass under the situation of the distance between described recording mechanism portion and the described testing agency in the indicated amount of described master computer, by the described recording medium of described transport mechanism portion's conveyance after described testing agency detects less than described recording medium, judge.In this case, even be difficult to judge under the situation of the conveyance that whether can carry out the amount indicated by master computer, also can conveyance when testing agency can not detect recording medium till, judge according to the surplus of answering conveyance in this moment.That is, no matter be which kind of situation, can both promptly judge and whether can carry out conveyance.
(invention effect)
According to the present invention, owing to obtain the surplus of recording medium according to the detected state that is located at the testing agency of recording mechanism portion upstream side, can be rapidly and judge effectively and whether can carry out by the indicated conveyance of master computer, so can significantly shorten the stand-by period when carrying out two-way communication between master computer and the tape deck, improve throughput.
Description of drawings
Fig. 1 is the stereoscopic figure of the dot matrix printer of embodiments of the present invention.
Fig. 2 is the stereogram of the printer main body of expression dot matrix printer.
Fig. 3 is the sectional view of dot matrix printer.
Fig. 4 is the sectional view of the major part of dot matrix printer.
Fig. 5 is the block diagram of structure of the function of expression control baseplate part.
Fig. 6 is the precedence diagram of the action of expression computer system.
Fig. 7 is the flow chart of the action of expression dot matrix printer.
Fig. 8 is the flow chart of the action of expression dot matrix printer.
Among the figure: 10-dot matrix printer (dot impact printer) (tape deck); The 11-printer main body; 15-manually inserts mouth; The 18-record head; The 19-balladeur train; 20-recording mechanism portion; The 21-pressing plate; 22-the 1st carrying roller; 23-the 2nd carrying roller; 24-the 1st transport mechanism portion (transport mechanism portion); 25-the 3rd carrying roller; 26-the 4th carrying roller; 27-the 2nd transport mechanism portion; The 35-slide-frame driven motor; 36-conveyance motor; 37-permutation motor; The 38-magnetic motor; 50-controls baseplate part; 51-inserts detecting sensor; 52-holds detecting sensor (testing agency); 61-CPU (controlling organization); 62-RAM; 63-flash rom (storing mechanism); 64-CG; The 65-gate array; The 66-drive circuit; 67-I/F; The 80-master computer; 100-bankbook (recording medium).
The specific embodiment
Below, with reference to accompanying drawing, embodiments of the present invention are described.
Fig. 1 is the stereoscopic figure as the dot matrix printer of tape deck that embodiments of the present invention have been used in expression.The dot matrix printer of present embodiment possesses record head 18 (with reference to Fig. 2 and Fig. 3), this record head 18 has a plurality of recording needle 18A (with reference to Fig. 4), by making these recording needles 18A via China ink band impact record medium, on the recording surface of recording medium, form a little, write down the image that comprises literal thus.
Here, as spendable recording medium in dot matrix printer 10, has the section of the specific length of being cut off into and continuous slice that multiple sheet is formed by connecting etc.These sections and continuous slice are made of stationery such as common paper, copy paper, ground paper or plastic thin slice, also can use the thin slice after having implemented processing such as coating or infiltration on these thin slices.In addition, as the form of section, for example can be formed on the book form (bankbook etc.) of cutting paper (PPC with paper or postcard etc.) superimposed layer multiple sheet of form dimension or the form (envelope etc.) of bag shape.As the form of continuous slice, for example can be to form sprocket hole, every folding continuous paper that forms of the length of regulation or the coil paper that is rolled into web-like etc. in its width two ends break-through.
In the present embodiment, will in dot matrix printer 10, use the situation of many paper used for recording from the bankbook 100 of the folding book form that forms of length direction central authorities described as example.
In bankbook shown in Figure 1 100, becoming on the face of bottom surface under the state that its recording surface is opened, be provided with magnetic stripe 101.This magnetic stripe 101 is can the various recording of informations of magnetic recording zone, utilizes magnetic head 34 described later (Fig. 2) to carry out writing and reading of information.
Dot matrix printer 10 shown in Figure 1 has main body is accommodated in the shell that is made of lid 12, upper body 13 and lower case 14.This shell has lid 12 to be opened/closed on top, in its underpart upper body 13 and lower case 14 are linked configuration up and down.In the front of this shell, the interface between upper body 13 and lower case 14 is arranged with peristome, becomes the manual insertion mouth 15 that is used for manually inserting bankbook 100.
Fig. 2 is the stereogram that expression is incorporated in the printer main body in the shell of dot matrix printer 10.In addition, Fig. 3 is the sectional view of dot matrix printer 10.Symbol A shown in Fig. 3 represents the conveyance path of bankbook 100.
As shown in Figures 2 and 3, printer main body 11 has the body frame that comprises left frame 16 and right frame 17.On this body frame, have: the recording mechanism portion 20 that comprises record head 18 and balladeur train 19; Pressing plate 21 with record head 18 subtends; The 1st transport mechanism portion 24 with the 1st carrying roller 22 and the 2nd carrying roller 23 as transport mechanism portion; The 2nd transport mechanism portion 27 with the 3rd carrying roller 25 and the 4th carrying roller 26; Magnetic data read-write portion 29 with magnetic head 34 of the magnetic information that reads and write the magnetic stripe 101 that bankbook 100 had; With read-write during magnetic information from above push the thin slice press section 30 of the come-up of bankbook 100.
Left frame 16 and right frame 17 mutual subtend ground uprightly are arranged on the both ends, the left and right sides of printer main body 11.Between this two side frame 16,17, set up balladeur train axle 31, and, between across two side frames 16,17, be set with the place ahead thin slice guiding piece 32 and the rear thin slice guiding piece 33 of tabular surface shape.
This place ahead thin slice guiding piece 32 and rear thin slice guiding piece 33 constitute conveyance from manual insertion mouth 15
(Fig. 1) the conveyance path A of the bankbook 100 of Cha Ruing below.The place ahead thin slice guiding piece 32 is positioned at the front side of printer main body 11, promptly manually inserts the position of mouthful 15 sides, and rear thin slice guiding piece 33 is positioned at the rearward position of printer main body 11.The place ahead thin slice guiding piece 33 separates below record head 18 with rear thin slice guiding piece 33, disposes the pressing plate 21 of flat shape in this space.
Above-mentioned the 1st transport mechanism portion 24 is positioned at the front side of pressing plate 21, and the 2nd transport mechanism portion 27 is positioned at the rear side of pressing plate 21.
Wherein, the 1st carrying roller 22 and the 3rd carrying roller 25 are configured in the downside of conveyance path A, and the 2nd carrying roller 23 and the 4th carrying roller 26 are configured in the upside of conveyance path A.Bankbook 100 is sandwiched between the 1st carrying roller 22 and the 2nd carrying roller 23 and between the 3rd carrying roller 25 and the 4th carrying roller 26, carries out conveyance on the conveyance path A.
Here, the 1st carrying roller 22 and the 3rd carrying roller 25 are the driven rollers that driven by conveyance motor 36 (Fig. 5) and not shown driving wheels portion rotation.And the 2nd carrying roller 23 and the 4th carrying roller 26 are driven vollers, and these two driven vollers are pressing force and the 1st carrying roller 22 and the 3rd carrying roller 25 Elastic Contact to stipulate respectively, and rotate along with the rotation of the 1st carrying roller 22 and the 3rd carrying roller 25.Therefore, the 1st carrying roller 22 and the 2nd carrying roller 23 be rotation round about mutually, and the 3rd carrying roller 25 and the 4th carrying roller 26 be rotation round about mutually, comes conveyance bankbook 100 thus.
In addition as shown in Figure 3, between pressing plate 21 and the 1st carrying roller 22, dispose permutation plate 54.The scanning direction that this permutation plate 54 is relative record heads 18 extends in parallel, relatively the vertical plate-shaped member of conveyance path A.Permutation plate 54 is embedded into the downside that is arranged on the conveyance path A, constitutes the action by permutation motor 37 (Fig. 5), can advance and retreat in the conveyance path A.That is, permutation plate 54 moves up and down under the driving of permutation motor 37, and is outstanding and pass in and out from the following direction carrying channel footpath A of the place ahead thin slice guiding piece 32, or returns to the below of the place ahead thin slice guiding piece 32 or become position with one side from the state that is projected into the conveyance path A.
Magnetic head 34 is back and forth driven by magnetic motor 38 (Fig. 5) along parallel 2 magnetic head guide rods that set up between side frame 16,17.Thus, magnetic head 34 can scan the magnetic stripe 101 of bankbook 100, from magnetic stripe 101 sense informations, and writes information.
Balladeur train 19 is inserted sliding freely to be led on the balladeur train axle 31 that is erected at as described above on left frame 16 and the right frame 17.Balladeur train 19 by the forward or reverse of slide-frame driven motor 35, moves (scanning) along balladeur train axle 31 by wheels drive division (not shown) and band (not shown) and slide-frame driven motor 35 (Fig. 5) binding synchronously.The scanning direction of this balladeur train 19 is as main scanning direction.
On this balladeur train 19, dispose record head 18.Record head 18 becomes one with balladeur train 19, moves on the recording surface of bankbook 100 along main scanning direction.
In addition, on balladeur train 19 or body frame, the ink ribbon cartridge 39 of having taken in black band with folding state is installed.Be incorporated in the China ink band in this ink ribbon cartridge 39, wherein a part is drawn, and is overlapping with the front end of record head 18.In addition, record head 18 makes recording needle 18A (Fig. 4) outstanding during moving to main scanning direction, impacts the recording surface of bankbook 100 via the China ink band, make China ink with on the bankbook 100 of China ink attached to conveyance between pressing plate 21 and the record head 18 on, thereby record comprises the image of literal on this bankbook 100.
Born by pressing plate 21 from the outstanding power of the outstanding recording needle 18A of record head 18.Pressing plate 21 has the plane of extending along the moving direction of balladeur train 19, the both ends of its length direction by force application spring 40 (Fig. 3) towards record head 18 application of forces and elastic bearing.Force application spring 40 for example is a compression helical spring.Utilize the spring force of this force application spring 40, the outstanding power of the recording needle 18A when supporting the operation of recording of record head 18.
Fig. 4 is the sectional view of the major part of dot matrix printer 10, particularly represents the structure of record head 18 and its front side.
As shown in Figure 4, on record head 18, dispose the deflector roll 41 of the side that is positioned at recording needle 18A extrusion position.This deflector roll 41 is the scanning direction rotation rollers freely that are supported to along record head 18.The lower end of deflector roll 41 under the state that recording needle 18A gives prominence to, is positioned at the below of the front end of record head 18.The lower end of this deflector roll 41 and pressing plate 21 or the bankbook 100 that is positioned on the pressing plate 21 contact, and overcome the spring force with the force application spring 40 of pressing plate 21 jack-up.Thus, even the thickness of bankbook 100 changes, also can by make pressing plate 21 correspondingly up and down displacement come absorber thickness poor, by deflector roll 41 distance (gap or medium gap) between the front end of the recording surface of bankbook 100 and record head 18 is remained suitable distance.
In addition, as shown in Figure 4, dispose the 1st thin slice guide member 42 and the 2nd thin slice guide member 43 in the front side of record head 18.The 1st thin slice guide member 42 is to insert under the situation that mouthfuls 15 front ends to the bankbook 100 of record head 18 conveyances that are inserted into float from manual, the parts that this front end is guided downwards.Utilize the 1st thin slice guide member 42 that the front end of bankbook 100 is successfully imported between record head 18 and the pressing plate 21.In addition, the 2nd thin slice guide member 43 is from record head 18 during towards manual insertion mouthful 15 conveyances at the bankbook 100 that is write down by record head 18, under the situation that its front end floats, be used for this front end that floats is guided downwards, make it successfully from manual mouthful 15 guide members of discharging that insert.
And, as shown in Figure 4, on the conveyance path A of bankbook 100, be provided with and insert detecting sensor 51 and as end detecting sensor 52 these 2 sensors of testing agency.
These 2 sensors all have the function that has or not that detects the bankbook 100 in the conveyance path A.Concrete structure as these 2 sensors, it for example can be following sensor, promptly, with be embedded in the conveyance path A upside not shown LED (light emitting diode) and with this LED subtend be embedded in photo detector (photistor, the photodiode etc.) combination of the downside of carrying channel footpath A, whether receive light according to photo detector, detect having or not of bankbook 100 from LED.
Insertion detecting sensor 51 is set between manual insertion mouth 15 and the permutation plate 54, it is desirable to hold detecting sensor 52 to be set at and insert between detecting sensor 51 and the permutation plate 54 near a side of manually inserting mouth 15.Insert detecting sensor 51 and end detecting sensor 52 on the conveyance path A, detect and be set having or not of locational bankbook 100 at it.
Here, with symbol D represent by end detecting sensor 52 detect the position that has or not of bankbooks 100, distance between the position of giving prominence to the recording needle 18A of record head 18.In addition, in the conveyance path A of bankbook 100, will be by the represented zone of symbol D, promptly the zone between record head 18 and the end detecting sensor 52 is called the terminal area.
From manual insert bankbook 100 that mouthful 15 (Fig. 1) insert by the 1st transport mechanism portion 24 towards the conveyance of the inside of printer main body 11, and by inserting the position that is provided with of detecting sensor 51 and end detecting sensor 52.Then, bankbook 100 passes through from the below of the 1st thin slice guide member 42 and the 2nd thin slice guide member 43 via the position of permutation plate 54, arrives between record head 18 and the pressing plate 21, is recorded image.
And, in the process that bankbook 100 is write down, under the situation that end detecting sensor 52 detects less than bankbook 100, promptly, at bankbook 100 by conveyance, and the terminal that makes bankbook 100 moves to than end detecting sensor 52 more under the situation near record head 18 sides, the remaining area of record head 18 image recordables be equivalent to figure in partly terminal area shown in the symbol D equate.Therefore, in action described later, dot matrix printer 10 will hold detecting sensor 52 whether to detect the terminal of bankbook 100 and the size of terminal area, and promptly distance D differentiates whether can carry out the image record to bankbook 100 as benchmark.
In addition, dot matrix printer 10 for example has the control baseplate part 50 as control part below the rear side of printer main body 11, this control baseplate part 50 carries out the mobile control of driving control, the balladeur train 19 of the 1st, the 2nd transport mechanism portion 24,27, based on the control of the control of the operation of recording of the recording needle 18A of record head 18 and read-write control of magnetic data read-write portion 29 etc., printer 10 integral body.
Fig. 5 is the block diagram of the functional structure of expression dot matrix printer 10.In addition, for the ease of understanding, in Fig. 5, in the structural portion of expression dot matrix printer 10, also illustrate the master computer 80 that is present in dot matrix printer 10 outsides.
As shown in Figure 5, control baseplate part 50 has as to the CPU (Central Processing Unit) 61 of the controlling organization controlled of various piece of control baseplate part 50, the temporary transient RAM (Random Access Memory) 62 that stores the program carried out by CPU61 and data with as the flash rom (Read Only Memory) 63 of the storing mechanism that stores the control program carried out by CPU61 etc., and these various pieces interconnect by bus 68.In addition, on bus 68, except connection is used to generate the character generator (CG) 64 of the literal that is write down by record head 18, also be connected with drive circuit 66, this drive circuit 66 is connected with the various stepper motors that comprise record head 18, slide-frame driven motor 35, conveyance motor 36, permutation motor 37 and magnetic motor 38, provides power supply and pulse signal to these stepper motors.
In addition, bus 68 is connected with insertion detecting sensor 51 and end detecting sensor 52 by gate array (G/A) 65.CPU61 controls record head 18 and drive circuit 66 according to the control program that is stored in the flash rom 63, and, obtain the testing result of inserting detecting sensor 51 and end detecting sensor 52 by gate array 65.Specifically be, by the output voltage that inserts detecting sensor 51 and end detecting sensor 52 is sampled with cycle of regulation (for example 100[ms]) through gate array 65, and carry out the A/D conversion, obtain the data of these output voltages of expression.
And bus 68 is connected with interface circuit (I/F) 67, and this interface circuit 67 has the connector based on all size such as serial line interface, parallel interface, USB interface, network interface card interface.I/F67 is connected with the master computer 80 of dot matrix printer 10 outsides.This master computer 80 by and dot matrix printer 10 between send and receive various control informations and data, by dot matrix printer 10 document images, for example, to dot matrix printer 10 send that the control information (instruction) of the conveyance of bankbook 100 and record etc. is carried out in indication, the data of the image that maybe should write down etc.By dot matrix printer 10 is connected with master computer 80, constitute computer system.
In each above component part, though the various piece of CPU61, RAM62, flash rom 63, CG64, gate array 65, drive circuit 66 and I/F67 is installed on the control baseplate part 50, and be connected with bus 68 on being formed on this control baseplate part 50, but its concrete installation form etc. are arbitrarily.
Below, the overview of the action of printer 10 is described.
When bankbook 100 by when manual insertion mouthfuls 15 is inserted, at first detect bankbook 100 by inserting detecting sensor 51.Permutation plate 54 is projected in the conveyance path A then, and bankbook 100 is by the 1st carrying roller 22 and the 2nd carrying roller 23 clampings of the 1st transport mechanism portion 24, by conveyance to pressing plate 21 nearby.Here, in order to revise the inclination of bankbook 100 on the conveyance direction, under permutation plate 54 is projected into state in the conveyance path A, utilize the 1st carrying roller 22 and the 2nd carrying roller 23 conveyance bankbooks 100, by bankbook 100 is withstood on the permutation plate 54, make it along permutation plate 54 permutations.Then by the 1st transport mechanism portion 24 bankbook 100 conveyances can be read to magnetic data read-write portion 29 bankbook 100 magnetic stripe 101 read the position.
Next, utilize magnetic data read-write portion 29 to carry out reading and writing of information at the magnetic stripe 101 of bankbook 100, then, with the record position of bankbook 100 conveyances to the pressing plate 21, utilize the image of record head 18 shorthands etc. by the 1st and the 2nd transport mechanism portion 24,17.
Record head 18 is implemented operation of recording by carrying out following action repeatedly, promptly, record head 18 to main scanning direction move to the left or to the right during, carry out the record of 1 row part by recording needle 18A, when carrying out the record of this 1 row part, the 1st carrying roller the 22, the 2nd carrying roller the 23, the 3rd carrying roller 25 and the 4th carrying roller 26 are with the length (for example line space) of bankbook 100 conveyances regulation at every turn.
Behind the record of record head 18, to the above-mentioned position of reading, according to the information to bankbook 100 records, portion 29 writes magnetic information to magnetic stripe 101 to bankbook 100 by the magnetic data read-write by 24,27 conveyances of the 1st and the 2nd transport mechanism portion.Then by the 1st transport mechanism portion 24 with bankbook 100 conveyances to the front side, bankbook 100 is discharged from manual insertion mouthfuls 15.
In the execution of this operation of recording, the CPU61 that the control baseplate part 50 of dot matrix printer 10 is had obtains the detected state of end detecting sensor 52 by gate array 65, detected under the situation of terminal of bankbook 100 in end detecting sensor 52, calculated the zone that before the terminal of bankbook 100, can write down at any time.
If be described in detail, then in the process of carrying out the record of bankbook 100, in the moment that the terminal of bankbook 100 has been passed through end detecting sensor 52, the remaining area that record head 18 can document image is the terminal area shown in the symbol D among Fig. 4.Here, CPU61 will represent current record 18 under the part of bankbook 100, promptly current location enters into the information RAM62 of terminal area.And the size in the zone that CPU61 will can write down before the terminal of bankbook 00 is stored among the RAM62 as the residual terminal zone.
This residual terminal zone is in state beyond the terminal area in current location, promptly end detecting sensor 52 detect bankbook 100 during, equate with the distance shown in the symbol D among Fig. 4.In addition, enter into the state of terminal area, promptly hold detecting sensor 52 can not continue to detect after the bankbook 100, become the distance that has deducted the computed carrier amount that when bankbook 100 can not be continued to detect, begins from the distance of symbol D in current location.
And CPU61 carries out the conveyance of bankbook 100 according to the information that is stored in the size in the expression residual terminal zone among the RAM62 according to the control information of sending from master computer 80.
Below, the situation that the dot matrix printer 10 that constitutes moves according to the control of master computer 80 is described as above.
Fig. 6 is the precedence diagram of the action of the computer system that is made of master computer 80 and dot matrix printer 10 of expression.
At first, master computer 80 indication is carried out bankbook 100 conveyance instruction and specify the information of computed carrier amount to send to dot matrix printer 10 (step S11).Then, master computer 80 sends request with status information and sends to dot matrix printer 10 (step S12).It is the instruction that sends status information to dot matrix printer 10 requests that this status information sends request.Here, so-called status information is meant, the information of the state of expression dot matrix printer 10 is meant especially whether expression dot matrix printer 10 is the information that can carry out the state of conveyance according to the indication of instruction.
Dot matrix printer 10 receives the instruction (step S21) of sending from master computer 80, and receiving status information sends request (step S22).
And whether dot matrix printer 10 is judged according to the instruction that received can conveyance bankbook 100, sends the status information according to result of determination, and can carry out conveyance (step S23) under the situation of conveyance bankbook 100.Here, the status information that dot matrix printer 10 sends for " normally ", can not carried out under the situation of indicated conveyance under the situation of the conveyance that can carry out bankbook 100 as indicated, becomes " mistake ".
Master computer 80 receives the status information (step S13) of sending from dot matrix printer 10, carries out the differentiation (step S14) of status information, is under the situation of " mistake " in status information, finishes this and handles, and carries out and wrong corresponding action.
In addition, in the status information of sending from dot matrix printer 10 is under the situation of " normally ", master computer 80 will should record the data on the bankbook 100 and indicate the instruction of executive logging to send to dot matrix printer 10 (step S15) after the conveyance, then, transfer to the processing (step S16) of data that generation should write down etc.
Dot matrix printer 10 is receiving the data of sending from master computer 80 and is indicating under the situation that writes down the instruction of carrying out (step S24), according to the data that receive, document image on bankbook 100 (step S25), then, transfer to the holding state (step S26) that is used to receive next instruction etc.
The processing of the step S11 of this Fig. 6~S16 and step S21~S26 can be for example be carried out when carrying out the record of 1 row at every turn, also can be in 1 time above-mentioned processing the merge record multirow.
In the processing of above-mentioned steps S23, can dot matrix printer 10 carry out conveyance by judging, sends status information, and can carry out conveyance under the situation of conveyance, and the conveyance that makes master computer 80 not need to wait for dot matrix printer 10 is carried out.Therefore, data and the instruction that can should write down from master computer 80 rapid transmissions, in dot matrix printer 10, owing to after receiving the data of sending and instruction, can carry out record immediately from master computer 80, so have the advantage that can improve throughput.
Below, dot matrix printer 10 performed processing in this step S23 are elaborated.
The flow chart of determination processing when the flow chart of Fig. 7 processing that to be expression carried out by dot matrix printer 10, Fig. 8 are conveyances shown in the step S51 of detailed presentation graphs 7.
These Fig. 7 and processing shown in Figure 8 are to read the control program that is stored in the flash rom 63 by the CPU61 that makes the control baseplate part 50 that dot matrix printer 10 had, and carry out this program and realize.
CPU61 at first calculates by the indicated computed carrier amount (step S41) of master computer 80, next, judges whether current record position is terminal area (step S42).Here, so-called current record position is meant the part under the record head 18 of being positioned in the bankbook 100.
Here, be under the situation in the terminal area (step S42: be) at current record position, computed carrier amount that CPU61 will calculate in step S4 and residual terminal zone, that is, the size in the zone of 100 terminal compares (step S43) from the position under the record head 18 to bankbook.
CPU61 the computed carrier amount that calculates by step S41 more than or equal to the situation that is stored in the residual terminal zone among the RAM62 under, if the computed carrier amount by appointment carries out conveyance, the terminal that then can surpass bankbook 100, institute sends status information (step S45) so that state becomes " mistake " (step S44) to master computer 80.On the other hand, (step S43: not) under the situation of computed carrier amount less than the residual terminal zone, the residual terminal zone of CPU61 from be stored in RAM62 deducts computed carrier amount, as new residual terminal zone (step S46), and new residual terminal area update is stored among the RAM62, and make state become " normally " (step S47), send status information (step S48) to master computer 80.And CPU61 makes 36 actions of conveyance motor, according to the computed carrier amount conveyance bankbook 100 (step S49) that calculates by control drive circuit 66 in step S41.
In addition, not that (step S42: not), CPU61 will compare (step S50) in computed carrier amount and the terminal area that step S41 calculates under the situation of terminal area in current location.
Here, (step S50: not), CPU61 forwards above-mentioned step S47 to, makes status information become " normally ", and sends status information under the computed carrier amount situation littler than the terminal area.
On the other hand, under the situation of computed carrier amount (step S50: be) more than or equal to the terminal area, promptly, computed carrier amount surpasses under the situation of the distance shown in the symbol D among Fig. 4, CPU61 carries out the bankbook of conveyance on one side 100, on one side determination processing (step S51) when judging the conveyance of the conveyance that can carry out specified computed carrier amount.
Below, with reference to Fig. 8, determination processing is elaborated during to the conveyance of this step S51.
In the determination processing, CPU61 is setup parameter N (positive integer) at first when conveyance shown in Figure 8, and as this parameter N, the computed carrier amount that setting will calculate at the step S41 of Fig. 7 is converted into the value (step S61) of step number.
Next, CPU61 carries out the judgement (step S62) whether current location is positioned at the terminal area, under the situation beyond current location is positioned at the terminal area, holds detecting sensor 52 whether to detect the judgement (step S63) of the terminal of bankbook 100.
Here, if do not detect the terminal of bankbook 100, then CPU61 drives control drive circuit 66, makes 36 actions of conveyance motor, carries out the conveyance (step S64) of the bankbook 100 in 1 step.This 1 step is meant, for example constitutes the actuating quantity of least unit of the conveyance motor 36 of stepper motor.Then, CPU61 deducts 1 (step S65) from parameter N, and whether critical parameter N becomes 0 (zero) (step S66).Become in parameter N under 0 the situation, enter step S76 described later,, then return step S63 if parameter does not become 0.
Then, by in the action of step S64~S65, conveyance bankbook 100, detect by end detecting sensor 52 under the situation of terminal of bankbook 100 (step S63: be), CPU61 will be stored in the size (the symbol D among Fig. 4) (step S67) that residual terminal zone among the RAM62 is set at the terminal area, and will represent that the information that current location is arranged in the terminal area stores RAM62 (step S68) into, returns step S62 then.
In step S62, under current location entered situation in the terminal area, CPU61 judged whether the residual terminal zone that is stored among the RAM62 becomes 0 (zero) (step S69).Here, if the residual terminal zone is not 0 (step S69: deny), then CPU61 drives control drive circuit 66 and makes 36 rotations of conveyance motor, carries out the conveyance (step S70) of the bankbook 100 in 1 step.Next, deduct the amount (step S71) of institute's conveyance in the residual terminal zone of CPU61 from be stored in RAM62, enter step S74 described later.Here, determine under the situation in residual terminal zone that CPU61 deducts institute's conveyance from the residual terminal zone step number (1 step) gets final product in the action step number of corresponding conveyance motor 36.
In addition, be under 0 the situation, not have " the no medium mark " in the zone of writing down in the bankbook 100 to be arranged to " 1 " expression in the residual terminal zone, and be stored in (step S70) among the RAM62, and 1 (step S73) is set in parameter N, enters step S74 then.
In step S74, CPU61 subtracts 1 with parameter N to be upgraded.Next, whether CPU61 critical parameter N is 0 (step S75).Here, if parameter N is not 0, then CPU61 returns step S69, carries out the processing of substep conveyance bankbook 100, become 0 up to the residual terminal zone, or the parameter N that sets in step S61 becomes till 0.
Then, become in parameter N under 0 the situation (step S75: be), CPU61 judges whether stored " no medium mark " in flash rom 63, and its value is " 1 " (step S76).At " no medium mark " is under the situation of " 1 ", can not carry out in step S61, being set in the conveyance of the conveyance step number in the parameter N, so CPU61 makes state become " mistake " (step S77), status information is sent to master computer 80 (step S78), finish this processing then.Here, in dot matrix printer 10, though conveyance bankbook 100 because state is mistake,, receive indications such as sending page or leaf from master computer 80 so current page is not carried out record, therefore, no problem fully in practical application.
On the other hand, not (step S76: not) under the situation of " 1 " in the value of " no medium mark ", can carry out the conveyance of the step number that step S61 sets in parameter N, so CPU61 makes state become " normally " (step S79), send status information (step S80) to master computer 80, finish this processing then.
By above Fig. 7 and processing shown in Figure 8, dot matrix printer 10 is under the situation of the conveyance indication that receives bankbook 100 from master computer 80, can promptly judge the conveyance that to carry out according to indicated amount according to the distance (the symbol D among Fig. 4) between end detecting sensor 52 and the record head 18.
And, under situation about can carry out according to the conveyance of indicated amount, after status information is sent to master computer 80, conveyance bankbook 100.Thus, during dot matrix printer 10 conveyance bankbooks 100, master computer 80 can receiving status information, carry out the processing of the expansion etc. of the data that should write down, therefore, dot matrix printer 10 and master computer 80 separately in, can shorten the time that the information of waiting for the other side sends.Therefore, can carry out the conveyance and the record of bankbook 100 expeditiously, improve throughput.And, when conveyance bankbook 100, because determination processing (step S51) when not needing to carry out conveyance, as long as carry out a conveyance, so can improve conveyance efficient according to master computer 80 indicated computed carrier amounts.
In addition, under situation about can not carry out according to the conveyance of the amount indicated by master computer 80, because dot matrix printer 10 sends status information rapidly, so have the advantage that can promptly carry out by the processing afterwards of sending page or leaf or indication discharge bankbook 100 etc. of 80 pairs of dot matrix printers of master computer, 10 indication bankbooks 100, this advantage is very favourable to improving throughput.
And can under the situation that is difficult to judge the conveyance that carry out the amount indicated according to master computer 80, dot matrix printer 10 can actual on one side substep conveyance bankbook 100, Yi Bian judge.Thus, not only can promptly judge, and if under situation about can carry out according to the conveyance of indicated amount, can after promptly carry out operation of recording.Therefore, can promptly judge can conveyance in, omits the invalid stand-by period, the raising throughput.
Specifically be, detecting under the state of bankbook 100 that under the situation littler than the terminal area by the computed carrier amount of master computer 80 indications, CPU61 is judged to be and can carries out conveyance by end detecting sensor 52.Can promptly judge in the case, conveyance.And, CPU61 can conveyance the amount of bankbook 100 under the record head 18 as the residual terminal area stores in RAM62, after end detecting sensor 52 can not continue to detect bankbook 100, according to after computed carrier amount upgrade the residual terminal zone.Thus, but owing to store the size of the bankbook 100 of conveyance in advance, so can be rapidly and judge the conveyance that can carry out according to by the indicated amount of master computer 80 effectively.
In addition, even after end detecting sensor 52 can not continue to detect bankbook 100, carry out under the situation of repeatedly conveyance, because but the size of the bankbook 100 of conveyance is updated storage successively, so can be rapidly and judge the conveyance that to carry out according to by the indicated amount of master computer 80 effectively.
In addition, CPU61 detects under the state of bankbook 100 in end detecting sensor 52, under the situation of the computed carrier amount of having been indicated the size that has surpassed the terminal area by master computer 80, substep conveyance bankbook 100 is till end detecting sensor 52 detects less than bankbook 100.Thus, even under the situation that is difficult to judge the conveyance that to carry out the amount indicated, also can judge effectively and can carry out the conveyance of bankbook 100 according to master computer 80.
In addition, in the step S43 and the processing shown in the S50 of above-mentioned Fig. 7, illustrated that CPU61 judges computed carrier amount whether more than or equal to the situation in residual terminal zone, but the invention is not restricted to this, for example can judge also whether computed carrier amount surpasses the residual terminal zone.In addition, in the step S64 and S70 of Fig. 8, illustrated that CPU61 makes the situation of conveyance motor 36 substep rotations, but the invention is not restricted to this, for example also can make it divide 2 steps or the above action of 2 steps.
And, in the above-described embodiment, for example understand and to hold detecting sensor 52 to be arranged on, but the invention is not restricted to this, also end detecting sensor 52 can be arranged on than permutation plate 54 more close record head 18 sides than the more close manual structure of inserting mouthful 15 sides of permutation plate 54.But adopt the illustrational structure of above-mentioned embodiment, have when making bankbook 100 withstand on the permutation plate 54 permutation, can carry out the advantage of permutation status detection by end detecting sensor 52.
In addition, in the above-described embodiment, the structure that dot matrix printer 10 is connected with master computer 80 has been described, but the quantity of this master computer 80 has been had no particular limits, many master computers 80 can be connected with dot matrix printer 10.In addition, in the above-described embodiment, the situation that applies the present invention to dot matrix printer 10 has been described, but the invention is not restricted to this, go for the various tape decks (printer) such as thermal printer, heat transfer type printer of ink-jet printer, laser printer, use temperature-sensitive thin slice, and go for being assembled into the tape deck in other equipment (duplicator etc.).In addition, other concrete structures about in the above-mentioned embodiment certainly change arbitrarily.

Claims (6)

1. the control method of a tape deck, this tape deck possesses the transport mechanism portion of conveyance recording medium and the recording mechanism portion of document image on described recording medium, has the structure that indication according to master computer makes described transport mechanism portion carry out conveyance and described recording mechanism portion is write down, on the conveyance path of described recording mechanism portion, be provided with the testing agency of detecting described recording medium, the control method of this tape deck is characterised in that
According to the distance between the detected state of described testing agency and described testing agency and the described recording mechanism portion, judge whether can carry out the conveyance of the indicated amount of master computer.
2. the control method of tape deck according to claim 1 is characterized in that,
Under the situation of the conveyance that can carry out the indicated amount of described master computer, this result of determination is sent to described master computer, afterwards, by the described recording medium of described transport mechanism portion's conveyance.
3. the control method of tape deck according to claim 1 and 2 is characterized in that,
Detecting by described testing agency under the state of described recording medium, under the indicated situation of amount of described master computer, be judged to be and carry out the conveyance of indicated amount less than the distance between described recording mechanism portion and the described testing agency.
4. according to the control method of each described tape deck in the claim 1~3, it is characterized in that,
To deduct the amount of described testing agency detection from the distance between described recording mechanism portion and the described testing agency, but store as the residue computed carrier amount less than the computed carrier amount gained after the described recording medium,
But, judge and whether can carry out conveyance by more described master computer indicated amount and the residue computed carrier amount of being stored.
5. the control method of tape deck according to claim 4 is characterized in that,
In described judgement, be judged to be and carry out under the situation of conveyance, but from the residue computed carrier amount of described storage, deduct the indicated amount of described master computer, but and be updated to new residue computed carrier amount.
6. according to the control method of claim 4 or 5 described tape decks, it is characterized in that,
Detecting by described testing agency under the state of described recording medium, surpass under the situation of the distance between described recording mechanism portion and the described testing agency in the indicated amount of described master computer, by the described recording medium of described transport mechanism portion's conveyance after described testing agency detects less than described recording medium, judge.
CNB2007100017233A 2006-01-17 2007-01-16 The control method of tape deck Expired - Fee Related CN100551713C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006008300A JP4844129B2 (en) 2006-01-17 2006-01-17 RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, CONTROL PROGRAM, AND COMPUTER SYSTEM
JP2006008300 2006-01-17

Publications (2)

Publication Number Publication Date
CN101003216A true CN101003216A (en) 2007-07-25
CN100551713C CN100551713C (en) 2009-10-21

Family

ID=38446758

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100017233A Expired - Fee Related CN100551713C (en) 2006-01-17 2007-01-16 The control method of tape deck

Country Status (2)

Country Link
JP (1) JP4844129B2 (en)
CN (1) CN100551713C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102529454A (en) * 2010-11-17 2012-07-04 精工爱普生株式会社 Recording device and control method thereof
CN107092450A (en) * 2017-04-01 2017-08-25 广东天波信息技术股份有限公司 A kind of thermal printing method based on display frame
CN110341329A (en) * 2019-07-01 2019-10-18 福建实达电脑设备有限公司 A kind of implementation method of the integrated scanning function in deposit book printers
CN111746157A (en) * 2019-03-26 2020-10-09 精工爱普生株式会社 Cutter device and printer

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03151269A (en) * 1989-11-08 1991-06-27 Nec Corp Printer device
JPH1058801A (en) * 1996-08-26 1998-03-03 Brother Ind Ltd Printing apparatus
JP3805174B2 (en) * 2000-06-05 2006-08-02 キヤノン株式会社 Recording medium trailing edge detection method and recording apparatus
JP2002154257A (en) * 2000-11-21 2002-05-28 Funai Electric Co Ltd Printer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102529454A (en) * 2010-11-17 2012-07-04 精工爱普生株式会社 Recording device and control method thereof
CN102529454B (en) * 2010-11-17 2015-04-01 精工爱普生株式会社 Recording device and control method thereof
CN107092450A (en) * 2017-04-01 2017-08-25 广东天波信息技术股份有限公司 A kind of thermal printing method based on display frame
CN111746157A (en) * 2019-03-26 2020-10-09 精工爱普生株式会社 Cutter device and printer
CN110341329A (en) * 2019-07-01 2019-10-18 福建实达电脑设备有限公司 A kind of implementation method of the integrated scanning function in deposit book printers

Also Published As

Publication number Publication date
CN100551713C (en) 2009-10-21
JP4844129B2 (en) 2011-12-28
JP2007190686A (en) 2007-08-02

Similar Documents

Publication Publication Date Title
US4280036A (en) Banking apparatus using passbooks
US6543685B1 (en) Card processing apparatus for card encoder and printer therein
CN1911681B (en) Bookbinding system
CN101209628B (en) Card recording apparatus
CN100551713C (en) The control method of tape deck
KR100464128B1 (en) Recording medium processing apparatus and recording medium processing method
US9460374B2 (en) Printer and printer control method
CN101524925A (en) Recording control device, recording control method, and program
CN102019768A (en) Recording device, control method for a recording device, and a program
CN102137213B (en) Optical reader, control method of optical reader
EP2738744B1 (en) Processing device for medium
JP2014023031A (en) Optical reading method for leaflet printing medium, and device therefor
CN100395118C (en) Recording device and controlling means therefor
CN102627037B (en) Recording device and control method of the recording device
CN102447801A (en) Electronic device, controlled method for an electronic device and recording medium
CN101274542B (en) Inkjet recording device
JP5059209B2 (en) Printer
CN107264078A (en) Tape deck
US6437814B1 (en) Ink sheet type-printing apparatus
CN100548702C (en) The control method of tape deck and tape deck
JP2007126278A (en) Image recorder
KR890701997A (en) Printing apparatus and method
US20080247799A1 (en) Thermal printer head with print control devices
JP4102331B2 (en) Magnetic stripe writing device
JP4665773B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND CONTROL PROGRAM

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091021

Termination date: 20200116

CF01 Termination of patent right due to non-payment of annual fee