CN109624526A - Take calibration method, printer application method and the thermal printer of paper optical sensor - Google Patents

Take calibration method, printer application method and the thermal printer of paper optical sensor Download PDF

Info

Publication number
CN109624526A
CN109624526A CN201811651325.0A CN201811651325A CN109624526A CN 109624526 A CN109624526 A CN 109624526A CN 201811651325 A CN201811651325 A CN 201811651325A CN 109624526 A CN109624526 A CN 109624526A
Authority
CN
China
Prior art keywords
paper
optical sensor
tear picture
taking
calibration
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
CN201811651325.0A
Other languages
Chinese (zh)
Other versions
CN109624526B (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.)
Zhuhai Baiyin Automation Equipment Co ltd
Original Assignee
Zhuhai Smarnet Equipment Co ltd
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 Zhuhai Smarnet Equipment Co ltd filed Critical Zhuhai Smarnet Equipment Co ltd
Priority to CN201811651325.0A priority Critical patent/CN109624526B/en
Publication of CN109624526A publication Critical patent/CN109624526A/en
Application granted granted Critical
Publication of CN109624526B publication Critical patent/CN109624526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/006Means for preventing paper jams or for facilitating their removal
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/0075Low-paper indication, i.e. indicating the state when copy material has been used up nearly or completely
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/66Applications of cutting devices
    • B41J11/70Applications of cutting devices cutting perpendicular to the direction of paper feed
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/315Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material
    • B41J2/32Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material using thermal heads
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/407Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for marking on special material

Abstract

The present invention provides a kind of calibration method for taking paper optical sensor, printer application method and thermal printer, which includes: that confirmation is got into the mode entry instruction for taking paper optical sensor calibration mode;Printing paper is exported to exit slot, takes paper optical sensor sampled value before taking the collected paper-tear picture of paper optical sensor detection position institute;From when paper optical sensor detection position being taken to take printing paper away, the collected paper-tear picture post-sampling value of paper optical sensor is taken;Judge whether paper-tear picture post-sampling value and the difference of sampled value before paper-tear picture are in effective difference range, if so, sampled value before storage paper-tear picture post-sampling value and paper-tear picture;It exits and takes paper optical sensor calibration mode.Printer application method applies the calibration method.Thermal printer applies the calibration method.It can be achieved to improve optical sensor calibration efficiency using the present invention and improve paper-tear picture Detection accuracy.

Description

Take calibration method, printer application method and the thermal printer of paper optical sensor
Technical field
The present invention relates to printer technology fields, specifically, being related to a kind of calibration method for taking paper optical sensor, further relate to Using the thermal printer of the printer application method and application of the calibration method calibration method.
Background technique
The sensor of detection paper-tear picture is not an accurate component, has differences between each sensor Property, in addition printer shell examines paper mouth at a distance from sensor, there are also machine shell material, the scene used all presence may become Change factor causes when tearing paper, can have the phenomenon that wrong report, influence using effect, main cause is sensor The uncertainty that acquired value is floated there are one.Therefore, it is necessary to for the sensing for being used to detect paper-tear picture on every a printer Device is calibrated, so that sensor is suitable for the printer.
Summary of the invention
The first object of the present invention is to provide one kind and do not need hand picking, improves the accuracy and calibration efficiency of calibration Take the calibration method of paper optical sensor.
The second object of the present invention is to provide a kind of raising optical sensor calibration efficiency and improves paper-tear picture Detection accuracy Printer application method.
The third object of the present invention is to provide a kind of thermal printer for improving paper-tear picture Detection accuracy.
In order to realize above-mentioned first purpose, the calibration method provided by the invention for taking paper optical sensor is applied to printer, Printer setup, which has governor circuit and exit slot is arranged, takes paper optical sensor, takes the paper optical sensor to be electrically connected with governor circuit, Calibration method includes: that confirmation is got into the mode entry instruction for taking paper optical sensor calibration mode;It is beaten to exit slot output Printing paper takes paper optical sensor sampled value before taking the collected paper-tear picture of paper optical sensor detection position institute;From take paper light pass When sensor detection position takes printing paper away, the collected paper-tear picture post-sampling value of paper optical sensor is taken;Judge paper-tear picture post-sampling Whether the difference of sampled value is in effective difference range before value and paper-tear picture, if so, adopting before storage paper-tear picture post-sampling value and paper-tear picture Sample value;It exits and takes paper optical sensor calibration mode.
By above scheme as it can be seen that the calibration method for taking paper optical sensor of the invention is by sampled value before acquisition paper-tear picture and tears Paper post-sampling value simultaneously judges whether paper-tear picture post-sampling value and the difference of sampled value before paper-tear picture are in effective difference range, to judge It takes whether paper optical sensor is suitable for the printer, improves the accuracy of calibration, meanwhile, judging paper-tear picture post-sampling value and paper-tear picture After the difference of preceding sampled value is in effective difference range, sampled value and the storage of paper-tear picture post-sampling value before paper-tear picture will be taken, can be used as this The a reference value for taking paper optical sensor, for carrying out paper-tear picture judgement, so that this made takes the parameter of paper optical sensor to have specific aim, Improve the accuracy rate of paper-tear picture detection.In addition, taking whether paper optical sensor is suitable for the printer without artificial judgment, imitate calibration Rate is improved.
In further embodiment, printer and host computer are communicated to connect;Confirmation, which gets to enter, takes paper optical sensor to calibrate When the step of mode entry instruction of mode includes: the preset instructions for getting host computer, then mode entry instruction is got.
It can be seen that when carrying out calibration mode starting to printer by host computer, it can be by upper to printer Preset instructions are sent, so that start printer takes paper optical sensor calibration mode.
In further embodiment, confirmation gets the step of entering the mode entry instruction for taking paper optical sensor calibration mode It include: when getting predetermined registration operation signal, then to get mode entry instruction.
It can be seen that can carry out taking opening for paper optical sensor calibration mode by the predetermined registration operation signal of itself in printer It is dynamic, convenient for calibrating in the case where no host computer is operated to printer, simplify calibration process.
In further embodiment, after the step of acquisition takes sampled value before the collected paper-tear picture of paper optical sensor institute, method Further include: send paper-tear picture prompt information.
It can be seen that into after taking paper optical sensor calibration mode, in order to remind user to operate, by sending paper-tear picture Prompt information improves the Experience Degree of user so that user would know that the operation that needs carry out.
In further embodiment, whether the difference of sampled value is in effective difference before judging paper-tear picture post-sampling value and paper-tear picture After the step of range, method further include: if the difference of sampled value is in outside effective difference range before paper-tear picture post-sampling value and paper-tear picture, Then send calibration failure prompt information.
It can be seen that calibration failure prompt information can be transmitted when calibrating failure, calibrated next time so as to user or More exchange paper optical sensor for.
In further embodiment, after sending the step of detecting failure prompt information, method further include: judge preset time Recalibration operational order inside whether is got, takes paper optical sensor calibration mode if it is not, exiting.
It can be seen that in order to confirm whether user is also carrying out calibration operation, by judging whether obtain in preset time To operational order is recalibrated, to confirm whether printer needs to keep current working status.
In order to realize that the second object of the present invention, printer application method of the invention include taking the calibration of paper optical sensor Step and paper-tear picture detecting step take the step of calibration steps of paper optical sensor is using above-mentioned calibration method;Paper-tear picture detecting step Include: to get print command, prints and export printing paper;After the completion of printing, take paper optical sensor institute is collected to work as Preceding sampled value;Current sample values are matched with sampled value before the paper-tear picture post-sampling value and/or paper-tear picture of storage, obtain paper-tear picture inspection Survey judging result.
By above scheme as it can be seen that printer application method of the invention passes through using the calibration method for taking paper optical sensor, After the difference of sampled value is in effective difference range before judging paper-tear picture post-sampling value and paper-tear picture, by sampled value before paper-tear picture and paper-tear picture The storage of post-sampling value, can be used as a reference value for taking paper optical sensor, for carrying out paper-tear picture judgement, so that this made takes paper light to pass The parameter of sensor has specific aim, improves the accuracy rate of paper-tear picture detection.
In further embodiment, sampled value before current sample values and the paper-tear picture post-sampling value and/or paper-tear picture of storage is carried out Matching is confirmed as if the step of obtaining paper-tear picture detection judging result includes: that current sample values are matched with paper-tear picture post-sampling value Paper-tear picture state;If current sample values are matched with sampled value before paper-tear picture, it is confirmed as non-paper-tear picture state.
It can be seen that when judging whether paper-tear picture, by utilizing sampled value and paper-tear picture post-sampling value before the paper-tear picture after calibration Current sample values are matched, to improve the accuracy of detection.
In further embodiment, after described the step of being confirmed as non-paper-tear picture state, the application method further include: obtain It is instructed to recalibrating, returns to the calibration steps for taking paper optical sensor.
It can be seen that due to that may there is a situation where to take the detection of paper optical sensor inaccurate in use, for example, making With the difference of print paper, so that sampled value or paper-tear picture post-sampling value be not before the data and paper-tear picture that take paper optical sensor to detect Match, to cause judgement inaccuracy, then needs to re-start the calibration for taking paper optical sensor at this time, enable printers to correctly sentence It is disconnected whether paper-tear picture.
In order to realize above-mentioned third purpose, thermal printer of the invention applies the above-mentioned calibration side for taking paper optical sensor Method, thermal printer include: shell, and shell has the second accommodating chamber and paper storehouses, and shell is in the first exit slot side far from paper storehouses It is provided with hinged shaft;Lid, the fixing end and hinged shaft of lid are hinged;Thermal printer cassette, thermal printer cassette are mounted on the second appearance It receives intracavitary and is located at the first exit slot;Thermal printer cassette includes: cutter, and cutter includes pedestal, knife rest, master Knife, secondary knife, motor and transmission mechanism are provided with out the edge of a knife on the side wall of pedestal, and knife rest is located at knife-edge part, and secondary knife is fixedly mounted On knife rest, the blade of the blade of operator and secondary knife is oppositely arranged, and operator can removably mount in pedestal towards secondary knife, and secondary The first paper feed channel is formed between knife and operator, motor and transmission mechanism are installed in pedestal, and motor can pass through transmission mechanism Driving operator is extend out at secondary knife from the edge of a knife is gone out;Base, cutter are mounted on base, and heat-sensitive sheet and glue are provided on base Roller forms the second paper feed channel being connected to the first paper feed channel, the paper feed along the first paper feed channel between heat-sensitive sheet and rubber roller Direction, the first paper feed channel are located at the downstream in the second paper feed channel;Opening is provided on side wall, along walking for the first paper feed channel Paper direction, opening are located at the downstream of operator;Cutter further includes taking paper optical sensor, and paper optical sensor is taken to be mounted on pedestal It is interior, take the detection light of paper optical sensor to pass through opening and the first paper feed Air conduct measurement of direction.
By above scheme as it can be seen that thermal printer of the invention takes paper optical sensor by setting, and application takes paper light to pass The calibration method of sensor is to taking paper optical sensor to calibrate, so that paper-tear picture Detection accuracy improves.
Detailed description of the invention
Fig. 1 is the lid opening state schematic diagram of thermal printer embodiment of the present invention.
Fig. 2 is the cross-sectional view of thermal printer embodiment of the present invention.
Fig. 3 is the exploded view of the thermal printer cassette of thermal printer embodiment of the present invention.
Fig. 4 is the enlarged drawing in Fig. 2 at A.
Fig. 5 is the structure chart of the cutter of thermal printer embodiment of the present invention.
Fig. 6 is the structure chart after the clipped component of the cutter of thermal printer embodiment of the present invention.
Fig. 7 is the flow chart of printer application method embodiment of the present invention.
Fig. 8 is the flow chart that the testing calibration step of paper optical sensor is taken in printer application method embodiment of the present invention.
Fig. 9 is the flow chart of paper-tear picture detecting step in printer application method embodiment of the present invention.
The invention will be further described with reference to the accompanying drawings and embodiments.
Specific embodiment
Thermal printer embodiment:
Referring to Figures 1 and 2, thermal printer 100 includes shell 1, lid 2 and thermal printer cassette 3, wherein shell 1 has There are the second accommodating chamber 11 and paper storehouses 12, thermal printer cassette 3 is mounted in the second accommodating chamber 11, and thermal printer cassette 3 is located at At first exit slot of paper storehouses 12.Paper storehouses 12 are for accommodating printing paper, and shell 1 is set in the first exit slot side far from paper storehouses 12 It is equipped with hinged shaft 13.The fixing end and hinged shaft 13 of lid 22 are hinged, and lid 22 is allowed to open or cover conjunction on shell 1.Work as lid The lid of body 2 closes when on shell 1, has the second exit slot 14 between shell 1 and lid 2, and thermal printer cassette 3 is located at the first paper delivery Mouthful between the second exit slot 14, the label printed when thermal printer cassette 3 or bill is enabled to pass through second paper delivery Mouth 14 is spread out of.Preferably, the second exit slot 14 is located at the top of thermal printer 100.
Referring to Fig. 3 to Fig. 6, and Fig. 2 is combined, thermal printer cassette 3 includes base 31 and cutter 4, is set on base 31 It is equipped with heat-sensitive sheet 32 and rubber roller 33, wherein rubber roller 33 is fixedly mounted on the free end of lid 2, and rubber roller 33 and base 31 can It is isolatedly connected.When the lid of lid 2 closes on shell 1, rubber roller 33 is snapped on base 31 and is abutted with heat-sensitive sheet 32, and rubber roller The second paper feed channel 40 is formed between 33 and heat-sensitive sheet 32.In addition, driving device 34 is additionally provided on base 31, driving device 34 For driving rubber roller 33 to rotate, to be transmitted to the printing paper being located in the second paper feed channel 40.
Cutter 4 is mounted on base 31, and specifically, cutter 4 includes pedestal 41, knife rest 42, operator 43, secondary knife 44, motor 45, transmission mechanism 46 and paper optical sensor 48 is taken.The edge of a knife 413 and opening 414 are provided with out on the side wall of pedestal 41, Knife rest 42 is fixedly mounted on the free end of lid 2, and when the lid of lid 2 closes on shell 1, knife rest 42 is located at going out for pedestal 41 At the edge of a knife 413.Secondary knife 44 is fixedly mounted on knife rest 42, and the blade of secondary knife 44 is arranged towards the edge of a knife 413 is gone out, and rubber roller 33 is around certainly The axis of body is installed in rotation on knife rest 42.Operator 43 is slidably mounted in pedestal 41,43 blade and secondary of operating The blade of knife 44 is arranged opposite to each other, and operates and form the first paper feed channel 30 between 43 and secondary knife 44.Along the first paper feed channel 30 Page orientation, opening 414 be located at operator 43 downstream.First paper feed channel 30 and the second exit slot 14, the second paper feed are logical Road 40 is connected to, and the page orientation along the first paper feed channel 30, the first paper feed channel 30 is located at the downstream in the second paper feed channel 40, And second exit slot 14 be located at the downstream in the first paper feed channel 30.
Motor 45 and transmission mechanism 46 are installed in pedestal 41, and motor 45 is by the driving of transmission mechanism 46 operator 43 from out It is extend out at road junction at secondary knife 44, to be cut to the printing paper being located in the first paper feed channel 30.Wherein, pedestal 41 wraps Pedestal 411 and panel 412 are included, pedestal 411 is mounted on base 31, and the lid of panel 412 closes on pedestal 411, and panel 412 and seat The first accommodating chamber is formed between body 411, motor 45, transmission mechanism 46 and operator 43 are arranged in the first accommodating chamber.
Transmission mechanism 46 includes worm screw 461 and the worm gear 462 engaged with worm screw 461, and worm screw 461 prolongs along the edge of a knife 413 out It stretches direction to be arranged with extending, and one end of worm screw 461 is fixedly connected with 45 axis of motor of motor 45, and motor 45 is passed through Driving worm screw 461 is rotated, so that worm gear 462 be driven to be rotated.Worm gear 462 towards operator 43 one facing towards operator 43 It is provided with guide post, operator 43 is provided with guide groove towards worm gear 462 on one side, and guide groove extends along the extending direction of worm screw 461 Ground setting, guide post are located in guide groove.When worm gear 462 rotates, worm gear 462 will drive guide post and synchronize rotation, so that leading Opposite sliding occurs for column and guide groove, to drive operator 43 to slide towards the secondary sliding of knife 44 or backwards to secondary knife 44 by guide post. And it is additionally provided with pressing plate in order to guarantee reliabilities that operator 43 and secondary knife 44 cut printing paper, in pedestal 41, pressing plate is mounted on On pedestal 411, and pressing plate and operator 43 are adjacent, to avoid upwarping in 43 sliding processes of operator.
It takes paper optical sensor 48 to be arranged in the first accommodating chamber of pedestal 411, and takes the detection light of paper optical sensor 48 It is detected across opening 414 and to the first paper feed channel 30.Specifically, cutter 4 further includes mounting bracket, is set in mounting bracket It is equipped with mounting groove 491, paper optical sensor 48 is taken to be mounted in mounting groove 491, mounting bracket is fixedly mounted on panel 412 and position In in the first accommodating chamber.Preferably, take paper optical sensor 48 using infrared sensor.It is designed by the structure of pedestal 41 so that electricity Machine 45, transmission mechanism 46 and take the maintenance of paper optical sensor 48, replacement more convenient, and by mounting bracket to taking paper light sensing Device 48 is fixed, so that taking the installation and removal of paper optical sensor 48 more convenient, and can guarantee to take paper optical sensor 48 The installation accuracy of the reliability and guarantee sensor that are connect with pedestal 41.
Preferably, on the extending direction of the edge of a knife 413 out, opening 414 is located at the middle part of the edge of a knife 413.Because working as temperature-sensitive When printer 100 is continuously printed, in order to guarantee that the label printed or bill are not scattered on the ground, it usually can all make adjacent two The middle part for opening label or adjacent two bills retains connection, and therefore, the medium position of the edge of a knife 413 out is arranged in opening 414, can Enable and paper optical sensor 48 is taken accurately to detect to printing paper, to reduce false detection rate.
To sum up, thermal printer of the invention takes paper optical sensor by being arranged in cutter, and takes to this The position of paper optical sensor is configured, and enables the sensor to be measured in real time the state of printing paper, when printing When abnormal problem occurs in paper, cutter can be closed in time, to avoid causing the case where accidentally cutting to printing paper.Example Such as, when thermal printer work is in continuous print state, if the label that printing paper blocking occurs at the second exit slot, prints Or bill overlap at the second exit slot situation when, take paper optical sensor that can send out by the circuit board of heat sensitive printer Signal is surveyed in inspection, so that circuit board after obtaining the detection signal, cuts off power supply or the control motor stalling of motor, thus It avoids when no personnel guard by thermal printer, cutter accidentally cuts the label or bill that print.
In addition, this takes paper optical sensor to be also used as having detected whether printing paper so that have at the second exit slot by When the printing paper determined, detection signal can be sent to the circuit board for being equipped with thermal printer, thermal printer is existed Alarm is issued after obtaining the detection signal, user is reminded to have new print label or bill.For example, when thermal printer is individual dozen When watermark patterns, if in the presence of having the label or bill printed at the second exit slot, taking paper optical sensor can be by circuit Plate sends detection signal, so that circuit board is obtaining the detection signal, can issue alarm signal, alarm user, into And user is reminded to have the label newly printed or data, wherein the mode of alarm can be the buzzer of thermal printer autogamy, or Person is the loudspeaker of stereo set in the stereo set connecting with terminal device, such as businessman shop, mobile phone.
Printer application method embodiment:
Printer setup applied by printer application method of the present invention, which has governor circuit and exit slot is arranged, takes paper light Sensor takes paper optical sensor to be electrically connected with governor circuit.Printer application method of the invention can be applied to above-mentioned temperature-sensitive and beat Thermal printer in print machine embodiment, but it is not limited only to above-described embodiment.
As shown in fig. 7, printer application method of the invention includes taking calibration steps S1 and the paper-tear picture inspection of paper optical sensor Survey step S2.
Need in printer in use, the calibration steps S1 for taking paper optical sensor need to be first carried out, to take paper optical sensor into Row calibration, it is ensured that take the accuracy of paper optical sensor detection paper-tear picture.
Referring to Fig. 8, execute take the calibration steps S1 of paper optical sensor when, need to first carry out step S11, confirmation get into Enter to take the mode entry instruction of paper optical sensor calibration mode.Before being calibrated, needing, which enters printer, takes paper light sensing Device calibration mode.
In one embodiment, when printer and host computer communicate to connect, confirmation, which gets to enter, takes paper optical sensor school When the step of mode entry instruction of quasi-mode includes: the preset instructions for getting host computer, then mode entry instruction is got. Preset instructions can be configured by application developer, and preset instructions can allow printer to be identified, hence into taking paper The mode of optical sensor calibration mode.Printer entrance is set to take paper optical sensor school for example, the application interface of host computer is provided with The virtual key of quasi-mode, by clicking the virtual key, host computer sends control instruction to printer, hence into taking paper light The mode of pick up calibration mode.
In another embodiment, when printer is not communicated to connect with host computer, confirmation, which gets to enter, takes paper light to pass The step of mode entry instruction of sensor calibration mode includes: then to get mode when getting predetermined registration operation signal and enter finger It enables.Predetermined registration operation signal includes preset push button signalling, the default lid closing operation signal of printer lid etc..For example, in printer It is provided with into the key for taking paper optical sensor calibration mode, can then get mode entry instruction by pressing the key.Again For example, detect continuously uncap, closing lid preset times when, then get mode entry instruction.By obtaining predetermined registration operation letter Number enter and to take paper optical sensor calibration mode that can reduce detection convenient for take paper optical sensor to calibrate printer whenever and wherever possible The configuration of equipment.
Into after taking paper optical sensor calibration mode, step S12 is executed, printing paper is exported to exit slot, takes paper light Sensor sampled value before taking the collected paper-tear picture of paper optical sensor detection position institute.Paper optical sensor calibration mode is taken entering Afterwards, start print paper and export print paper, after the completion of printing, take paper optical sensor that paper optical sensor is being taken to detect Sampled value before the collected paper-tear picture of position institute.Paper optical sensor check bit is taken to be set to the position for taking paper optical sensor face.
Step S13 is executed after sampled value before acquisition paper-tear picture, sends paper-tear picture prompt information.Into taking paper optical sensor calibrating die After formula, in order to remind user to operate, by sending paper-tear picture prompt information, so that user would know that the operation that needs carry out. For example, allowing user to know the opportunity of paper-tear picture by sending voice messaging " asking paper-tear picture ".
After sending paper-tear picture prompt information, step S14 is executed, from when paper optical sensor detection position being taken to take printing paper away, is obtained Take the collected paper-tear picture post-sampling value of paper optical sensor.After user takes printing paper away, it can obtain and paper optical sensor is being taken to detect The collected paper-tear picture post-sampling value of position institute.
After obtaining paper-tear picture post-sampling value, step S15 is executed, paper-tear picture post-sampling value is judged and the difference of sampled value before paper-tear picture is It is no to be in effective difference range.Effective difference range is needed according to taking paper optical sensor and setting, because of each sensor With the parameter of itself, effective difference range is the acceptable error range of sensor, can be by taking paper optical sensor to carry out The setting of effective difference range.The difference of sampled value is to subtract paper-tear picture by paper-tear picture post-sampling value before paper-tear picture post-sampling value and paper-tear picture Preceding sampled value obtains.
When the difference of sampled value is in effective difference range before judging paper-tear picture post-sampling value and paper-tear picture, step S16 is executed, Sampled value before storage paper-tear picture post-sampling value and paper-tear picture.The difference of sampled value is in effective difference model before paper-tear picture post-sampling value and paper-tear picture It encloses, thinks that paper optical sensor is taken to comply with standard, therefore, sampled value stores before the paper-tear picture post-sampling value and paper-tear picture that can will acquire, Paper-tear picture post-sampling value and the difference of sampled value before paper-tear picture can also be saved, take paper optical sensor in the printer as this Middle detection parameters can be used for detecting exit slot with the presence or absence of paper.
Before storage paper-tear picture post-sampling value and paper-tear picture after sampled value, step S19 is executed, exits and takes paper optical sensor calibrating die Formula.Then think to complete calibration operation after sampled value before storage paper-tear picture post-sampling value and paper-tear picture, takes paper light sensing so as to exit Device calibration mode.
When the difference of sampled value is in outside effective difference range before judging paper-tear picture post-sampling value and paper-tear picture, step is executed S17 sends calibration failure prompt information.The difference of sampled value is in outside effective difference range before paper-tear picture post-sampling value and paper-tear picture Shi Ze thinks that this takes paper optical sensor not to be inconsistent standardization, needs to recalibrate or need replacing and takes paper optical sensor.Send school Quasi- failure prompt information can allow user to know calibration result, to carry out next step operation.For example, being sent by voice guard Alarm signal allows user to know.
After sending calibration failure prompt information, step S18 is executed, judges whether get recalibration behaviour in preset time It instructs.After user obtains calibration failure prompt information, the operation such as recalibration or more emat sensor can be carried out.Recalibrate behaviour Making instruction can be sent by upper computer end, or be obtained in printer side, for example, host computer can be passed through by recalibrating operational order Control interface sent, or by pressing printer on function button sent.Preset time can be as needed It sets, in the present embodiment, preset time 10 seconds.
When judgement, which is got, recalibrates operational order, returns to and execute step S12, re-start calibration steps.When sentencing It is disconnected not get when recalibrating operational order, step S19 is executed, exits and takes paper optical sensor calibration mode.Do not obtain To when recalibrating operational order, then it is assumed that temporarily need not continue to be calibrated, take paper optical sensor calibrating die to exit Formula.
After completion takes the calibration steps S1 of paper optical sensor, paper-tear picture detecting step S2 is executed, printing paper-tear picture is detected.
Step 21 is first carried out, print command is got when carrying out paper-tear picture detection referring to Fig. 9, prints and exports printing Paper.The print command of host computer or the print command of printer itself can be obtained when obtaining print command.Printing is got to refer to After order, print data is printed, and controls printer output paper.
After completing printing, step S22 is executed, after the completion of printing, takes the collected present sample of paper optical sensor institute Value.After completing printing, paper optical sensor is taken to carry out data acquisition, got in the present sample for taking paper optical sensor detection position Value.
After getting current sample values, execute step S23, by the paper-tear picture post-sampling value of current sample values and storage and/or Sampled value is matched before paper-tear picture, is obtained paper-tear picture and is detected judging result.It is adopted before the paper-tear picture post-sampling value and paper-tear picture according to storage It, can be by sampled value before current sample values and paper-tear picture post-sampling value and/or paper-tear picture when sample value carries out paper-tear picture judgement to current sample values It is matched, to obtain paper-tear picture detection judging result.In the present embodiment, by the paper-tear picture post-sampling value of current sample values and storage And/or sampled value is matched before paper-tear picture, if after the step of obtaining paper-tear picture detection judging result includes: current sample values and paper-tear picture Sampled value matching, then be confirmed as paper-tear picture state;If current sample values are matched with sampled value before paper-tear picture, it is confirmed as non-paper-tear picture shape State.For example, being confirmed as paper-tear picture state if current sample values are equal to paper-tear picture post-sampling value;If current sample values are equal to paper-tear picture Preceding sampled value is then confirmed as non-paper-tear picture state.Certainly, when being matched, before current sample values can not be equal to paper-tear picture Sampled value or paper-tear picture post-sampling value, therefore, can before paper-tear picture sampled value or paper-tear picture post-sampling value on the basis of increase or decrease it is pre- Fixed value range, so that detection rationalizes, scheduled value range can be obtained by experiment.After obtaining paper-tear picture detection judging result, Prompting processing can be carried out, so that user knows the working condition of current printer.
In addition, getting recalibration instruction after described the step of being confirmed as non-paper-tear picture state, return takes paper light sensing The calibration steps S1 of device.Due to that may there is a situation where to take the detection of paper optical sensor inaccurate in use, for example, using The difference of print paper, so that sampled value or paper-tear picture post-sampling value be not before the data and paper-tear picture that take paper optical sensor to detect Match, to cause judgement inaccuracy, then needs to re-start the calibration for taking paper optical sensor at this time, enable printers to correctly sentence It is disconnected whether paper-tear picture.User can by printer carry out button operation, send recalibrate instruction, to take paper optical sensor into one The calibration of step.
After the calibration method for taking paper optical sensor of the invention from the above is by sampled value before acquisition paper-tear picture and paper-tear picture Sampled value simultaneously judges whether paper-tear picture post-sampling value and the difference of sampled value before paper-tear picture are in effective difference range, so that judgement takes paper Whether optical sensor is suitable for the printer, improves the accuracy of calibration, meanwhile, it is adopted before judging paper-tear picture post-sampling value and paper-tear picture After the difference of sample value is in effective difference range, sampled value and the storage of paper-tear picture post-sampling value before paper-tear picture will be taken, this is can be used as and takes paper The a reference value of optical sensor, so that this made takes the parameter of paper optical sensor to have specific aim, is improved for carrying out paper-tear picture judgement The accuracy rate of paper-tear picture detection.In addition, taking whether paper optical sensor is suitable for the printer without artificial judgment, obtain calibration efficiency To raising.Printer application method of the invention passes through using the calibration method for taking paper optical sensor, is judging paper-tear picture post-sampling After the difference of value and sampled value before paper-tear picture is in effective difference range, sampled value and the storage of paper-tear picture post-sampling value before paper-tear picture will be taken, It can be used as a reference value for taking paper optical sensor, for carrying out paper-tear picture judgement, so that this made takes the parameter of paper optical sensor to have Targetedly, the accuracy rate of paper-tear picture detection is improved.Thermal printer of the invention takes paper optical sensor by setting, and application takes The calibration method of paper optical sensor is to taking paper optical sensor to calibrate, so that paper-tear picture Detection accuracy improves.
It should be noted that the above is only a preferred embodiment of the present invention, but the design concept invented is not limited thereto, All insubstantial modifications made using this design to the present invention, are also fallen within the scope of protection of the present invention.

Claims (10)

1. a kind of calibration method for taking paper optical sensor, is applied to printer, the printer setup has governor circuit and setting Exit slot takes paper optical sensor, described that paper optical sensor is taken to be electrically connected with the governor circuit, which is characterized in that the method Include:
Confirmation is got into the mode entry instruction for taking paper optical sensor calibration mode;
Printing paper is exported to the exit slot, takes paper optical sensor that paper optical sensor detection position is being taken to be collected described in acquisition Paper-tear picture before sampled value;
From it is described take paper optical sensor detection position to take printing paper away when, after taking the collected paper-tear picture of paper optical sensor described in acquisition Sampled value;
Judge whether the paper-tear picture post-sampling value and the difference of sampled value before the paper-tear picture are in effective difference range, if so, Store sampled value before the paper-tear picture post-sampling value and the paper-tear picture;
Paper optical sensor calibration mode is taken described in exiting.
2. the calibration method according to claim 1 for taking paper optical sensor, the printer and host computer communicate to connect, It is characterized in that,
The confirmation was got into the step of mode entry instruction for taking paper optical sensor calibration mode
When getting the preset instructions of the host computer, then the mode entry instruction is got.
3. the calibration method according to claim 1 for taking paper optical sensor, which is characterized in that
The confirmation was got into the step of mode entry instruction for taking paper optical sensor calibration mode
When getting predetermined registration operation signal, then the mode entry instruction is got.
4. the calibration method according to any one of claims 1 to 3 for taking paper optical sensor, which is characterized in that
After the step of taking sampled value before the collected paper-tear picture of paper optical sensor institute described in the acquisition, the method also includes:
Send paper-tear picture prompt information.
5. the calibration method according to any one of claims 1 to 3 for taking paper optical sensor, which is characterized in that
Judge whether the paper-tear picture post-sampling value and the difference of sampled value before the paper-tear picture are in effective difference range described After step, the method also includes:
If the difference of sampled value is in outside effective difference range before the paper-tear picture post-sampling value and the paper-tear picture, sends calibration and lose Lose prompt information.
6. the calibration method according to claim 5 for taking paper optical sensor, which is characterized in that
After the step of transmission detects failure prompt information, the method also includes:
Judge recalibration operational order whether is got in preset time, if it is not, taking paper optical sensor calibrating die described in exiting Formula.
7. a kind of printer application method, which is characterized in that calibration steps and paper-tear picture detecting step including taking paper optical sensor, The step of calibration steps for taking paper optical sensor is using calibration method described in claim 1 to 6;
The paper-tear picture detecting step includes:
Print command is got, print and exports printing paper;
The collected current sample values of paper optical sensor institute are taken after the completion of printing, described in acquisition;
The current sample values are matched with sampled value before the paper-tear picture post-sampling value of storage and/or the paper-tear picture, are obtained It obtains paper-tear picture and detects judging result.
8. printer application method according to claim 7, which is characterized in that
Sampled value progress before the paper-tear picture post-sampling value and/or the paper-tear picture by the current sample values and storage Match, obtaining the step of paper-tear picture detects judging result includes:
If the current sample values are matched with the paper-tear picture post-sampling value, it is confirmed as paper-tear picture state;
If the current sample values are matched with sampled value before the paper-tear picture, it is confirmed as non-paper-tear picture state.
9. printer application method according to claim 8, which is characterized in that
After described the step of being confirmed as non-paper-tear picture state, the application method further include:
Recalibration instruction is got, the calibration steps of paper optical sensor is taken described in return.
10. thermal printer, using the calibration method as claimed in any one of claims 1 to 6 for taking paper optical sensor, the temperature-sensitive Printer includes:
Shell, the shell have the second accommodating chamber and paper storehouses, and the shell is set in the first exit slot side far from the paper storehouses It is equipped with hinged shaft;
Lid, the fixing end of the lid and the hinged shaft are hinged;
Thermal printer cassette, the thermal printer cassette are mounted in second accommodating chamber and are located at first exit slot Place;
It is characterized in that,
The thermal printer cassette includes:
Cutter, the cutter include pedestal, knife rest, operator, secondary knife, motor and transmission mechanism, the side of the pedestal The edge of a knife is provided with out on wall, the knife rest is located at the knife-edge part out, and the pair knife is fixedly mounted on the knife rest, the master The blade of the blade of knife and the secondary knife is oppositely arranged, and the operator can removably mount within the pedestal towards the secondary knife It is interior, and the first paper feed channel is formed between the secondary knife and the operator, the motor and the transmission mechanism are installed in institute It states in pedestal, the motor can drive the operator to extend out at the secondary knife from the edge of a knife out by the transmission mechanism;
Base, the cutter are mounted on the base, and heat-sensitive sheet and rubber roller, the heat-sensitive sheet are provided on the base The second paper feed channel being connected to first paper feed channel is formed between the rubber roller, along walking for first paper feed channel Paper direction, first paper feed channel are located at the downstream in second paper feed channel;
Opening is provided on the side wall, the page orientation along first paper feed channel, the opening is located at the downstream of operator End;
The cutter further includes taking paper optical sensor, described that paper optical sensor is taken to be mounted in the pedestal, described to take paper The detection light of optical sensor passes through the opening and towards the first paper feed Air conduct measurement.
CN201811651325.0A 2018-12-31 2018-12-31 Calibration method of paper-taking optical sensor, printer using method and thermal printer Active CN109624526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811651325.0A CN109624526B (en) 2018-12-31 2018-12-31 Calibration method of paper-taking optical sensor, printer using method and thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811651325.0A CN109624526B (en) 2018-12-31 2018-12-31 Calibration method of paper-taking optical sensor, printer using method and thermal printer

Publications (2)

Publication Number Publication Date
CN109624526A true CN109624526A (en) 2019-04-16
CN109624526B CN109624526B (en) 2020-09-01

Family

ID=66056311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811651325.0A Active CN109624526B (en) 2018-12-31 2018-12-31 Calibration method of paper-taking optical sensor, printer using method and thermal printer

Country Status (1)

Country Link
CN (1) CN109624526B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5616368A (en) * 1979-07-19 1981-02-17 Ricoh Co Ltd Operating method of facsimile
JP2002346984A (en) * 2001-05-21 2002-12-04 Printing Bureau Ministry Of Finance Cutting system, and cutting position detecting method
CN103963092A (en) * 2014-04-30 2014-08-06 深圳市阿尔法变频技术有限公司 Paper cutting machine precision calibrating method
CN104007633A (en) * 2013-02-20 2014-08-27 佳能株式会社 Image forming apparatus and test chart
CN206551544U (en) * 2017-02-08 2017-10-13 中山市灏兴印刷包装有限公司 A kind of cutting knife calibrating installation of paper cutter
CN209888435U (en) * 2018-12-31 2020-01-03 珠海盛源信息科技有限公司 Cutter device, thermal printer core and thermal printer

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5616368A (en) * 1979-07-19 1981-02-17 Ricoh Co Ltd Operating method of facsimile
JP2002346984A (en) * 2001-05-21 2002-12-04 Printing Bureau Ministry Of Finance Cutting system, and cutting position detecting method
JP4437188B2 (en) * 2001-05-21 2010-03-24 独立行政法人 国立印刷局 Cutting system and cutting position detection method
CN104007633A (en) * 2013-02-20 2014-08-27 佳能株式会社 Image forming apparatus and test chart
CN103963092A (en) * 2014-04-30 2014-08-06 深圳市阿尔法变频技术有限公司 Paper cutting machine precision calibrating method
CN206551544U (en) * 2017-02-08 2017-10-13 中山市灏兴印刷包装有限公司 A kind of cutting knife calibrating installation of paper cutter
CN209888435U (en) * 2018-12-31 2020-01-03 珠海盛源信息科技有限公司 Cutter device, thermal printer core and thermal printer

Also Published As

Publication number Publication date
CN109624526B (en) 2020-09-01

Similar Documents

Publication Publication Date Title
EP1241312B2 (en) Sensor for automatic doors
EP3205509B1 (en) Printer and detection method for a detection area on a sheet
RU2678891C2 (en) Printing device and method for controlling printing device
CN109624526A (en) Take calibration method, printer application method and the thermal printer of paper optical sensor
US7809464B2 (en) Registration system for sheet fed processing machines
US20160223581A1 (en) Shock Sensor
CN206683677U (en) High-precision multimeter
JP5318896B2 (en) Printer and program
JPH07182580A (en) Photoelectric fire sensor and adjusting device
JP5431731B2 (en) Detector
CN209888435U (en) Cutter device, thermal printer core and thermal printer
CN109188025A (en) Speed probe detection system
US20210310845A1 (en) Volume fill airflow measurement
US11808652B2 (en) Testing device for detecting the contact pressure of a vehicle side window
US20200307290A1 (en) Printing apparatus
KR20190099764A (en) System and Method of Managing and Measuring Urine by using Smart-type Urine Meter
KR200431950Y1 (en) Measuring device for tint of car and management system thereof
EP3293008B1 (en) Printer method and apparatus
CN209043931U (en) Speed probe detection system
CN109549397A (en) Myopia prevention based reminding method and device
TWI637861B (en) Paper tray capable of detecting amount of paper and method thereof
US20210396735A1 (en) Portable device for measuring the concentration of at least one component in a gas exhaled by a breath fluid
CN110454256A (en) A kind of multifunctional vehicle mounted engine oil sensor
US7134597B1 (en) System for handicapped access to voting ballots
US20240013366A1 (en) System for reviewing an abnormal operating state of an equipment or an apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240229

Address after: 519000 Zone G, second floor, No. 1 plant, No. 15, Nanping Pingbei Second Road, Xiangzhou District, Zhuhai City, Guangdong Province

Patentee after: Zhuhai Baiyin automation equipment Co.,Ltd.

Country or region after: China

Address before: 519000 C area B District, 5 A, 168 building, 168 Road, Yi Sha Road, Ping Sha town, Zhuhai, Guangdong.

Patentee before: ZHUHAI SMARNET EQUIPMENT CO.,LTD.

Country or region before: China