CN101844463B - Printing medium calibration control method - Google Patents

Printing medium calibration control method Download PDF

Info

Publication number
CN101844463B
CN101844463B CN200910129384.6A CN200910129384A CN101844463B CN 101844463 B CN101844463 B CN 101844463B CN 200910129384 A CN200910129384 A CN 200910129384A CN 101844463 B CN101844463 B CN 101844463B
Authority
CN
China
Prior art keywords
surface height
ticket surface
actual
printing medium
print
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.)
Active
Application number
CN200910129384.6A
Other languages
Chinese (zh)
Other versions
CN101844463A (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.)
Shandong New Beiyang Information Technology Co Ltd
Original Assignee
Shandong New Beiyang Information Technology 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 Shandong New Beiyang Information Technology Co Ltd filed Critical Shandong New Beiyang Information Technology Co Ltd
Priority to CN200910129384.6A priority Critical patent/CN101844463B/en
Publication of CN101844463A publication Critical patent/CN101844463A/en
Application granted granted Critical
Publication of CN101844463B publication Critical patent/CN101844463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Handling Of Sheets (AREA)

Abstract

The invention provides a printing medium calibration control method which comprises the following steps of: receiving a printing task; detecting the distance between two adjacent marks of a printing medium, i.e. a first actual ticket surface height; when the marks are not detected or a bottom ticket surface height is not equal to the first actual ticket surface height, starting automatic calibration; and executing the printing task. In the invention, only when the marks of the printing medium are not detected or the bottom ticket surface height is not equal to the first actual ticket surface height, the automatic calibration is started, so that the bottom ticket surface height is consistent with the actual ticket surface height, which avoids the unnecessary automatic calibration caused by wrong user setting, lowers the requirement of the prior art for a user to know a printer principle, improves the work efficiency and the easy use property of a printer, and solves the problem of lower work efficiency caused by that if the page height set by the user is inconsistent with the bottom ticket surface height in the prior art, even though a medium type is not replaced, an automatic calibration function can also be executed when the printer is electrified every time.

Description

Printing medium calibration control method
Technical field
The present invention relates to printer field, in particular to a kind of printing medium calibration control method.
Background technology
The common usage flag paper of bar code printing is as print media, as black millimeter paper or label paper, for printing the nominal value of regular length.Fig. 1 shows the black millimeter paper schematic diagram of correlation technique; Fig. 2 shows the label paper schematic diagram of correlation technique.For convenience, conventionally the distance between two mark M is called to ticket surface height H.Existing mark sheet printer, by being set, automatic calibration function detects ticket surface height, its general principle is: at printer paper-feeding channel setting sensor, utilize sensor voltage to change, detect medium mark, and be the nonvolatile memory that ticket surface height stores printer into by the distance between adjacent two marks that detect.
For convenience of description, printer is detected and stored into the ticket surface height of nonvolatile memory referred to as bottom ticket surface height, print media ticket surface height is called for short to actual ticket surface height.Owing to only having in the time that actual ticket surface height is consistent with bottom ticket surface height, printer could utilize sensor to determine the print position of every nominal value, therefore, in the time changing dissimilar print media, need to start automatic calibration function, upgrade the ticket surface height of storage in printer nonvolatile memory.Existing printer, whether consistent with bottom ticket surface height by judging the page height of user's setting, judge whether medium is changed.When user arranges ticket surface height and bottom ticket surface height when inconsistent, start automatic calibration function.
Realizing in process of the present invention, inventor finds that in prior art, at least there are the following problems: when user arranges page height and bottom ticket surface height is inconsistent, even without changing print media type, printer powers at every turn and also can carry out automatic calibration function, causes operating efficiency lower.
Summary of the invention
The present invention aims to provide a kind of printing medium calibration control method, can solve in prior art when user arranges page height and bottom ticket surface height is inconsistent, even without changing print media type, printer powers at every turn and also can carry out automatic calibration function, causes the problem that operating efficiency is lower.
In an embodiment of the present invention, provide a kind of printing medium calibration control method, comprised the following steps: accept print out task; Distance between the two adjacent marks of detection print media, i.e. the first actual ticket surface height; In the time can't detect mark or bottom ticket surface height and be not equal to the first actual ticket surface height, carry out automatic calibration; Carry out print out task.
Above-described embodiment is by judging whether bottom ticket surface height equals the first actual ticket surface height, judge whether print media changes, only can't detect under the mark of print media or condition that actual ticket surface height changes and just start printing medium calibration at printer, avoid, because of user, the unnecessary automatic calibration that mistake causes is set, reduce prior art and user understood to the requirement of printing principle, operating efficiency and the ease for use of printer are improved, if overcome in prior art, user arranges page height and bottom ticket surface height is inconsistent, even without changing media type, printer powers at every turn and also can carry out automatic calibration function, cause the problem that operating efficiency is lower.
Brief description of the drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 shows the black millimeter paper schematic diagram of tradition in correlation technique;
Fig. 2 shows the conventional labels paper schematic diagram in correlation technique;
Fig. 3 shows the flow chart of printing medium calibration control method according to an embodiment of the invention;
Fig. 4 shows according to the printing medium calibration control method flow chart of Fig. 3 preferred embodiment;
Fig. 5 shows the flow chart of printing medium calibration control method in accordance with a preferred embodiment of the present invention; And
Fig. 6 shows the schematic diagram of print media according to an embodiment of the invention.
Detailed description of the invention
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Fig. 3 shows the flow chart of printing medium calibration control method according to an embodiment of the invention, comprises the following steps:
Step S102: accept print out task;
Step S104, the distance between two marks of detection print media, i.e. the first actual ticket surface height;
Step S106, in the time can't detect mark or bottom ticket surface height and be not equal to the first actual ticket surface height, carries out automatic calibration; And
Step S108, carries out print out task.
Above-described embodiment is by judging whether bottom ticket surface height equals the first actual ticket surface height, judge whether print media changes, only can't detect under the mark of print media or condition that actual ticket surface height changes and just start printing medium calibration at printer, avoid, because of user, the unnecessary automatic calibration that mistake causes is set, reduce prior art and user understood to the requirement of printing principle, operating efficiency and the ease for use of printer are improved, if overcome in prior art, user arranges page height and bottom ticket surface height is inconsistent, even without changing media type, printer powers at every turn and also can carry out automatic calibration function, cause the problem that operating efficiency is lower.
Meanwhile, in prior art, as user, that page height is set is consistent with bottom ticket surface height, but in fact variation has occurred print media ticket surface height, can cause to print to locate inaccurately, causes print What position confusion; And above-described embodiment is accepted after print out task at printer, by judging whether to detect whether the mark of print media or bottom ticket surface height equal the first actual ticket surface height, judge whether print media changes, in the time can't detect the nominal value mark of print media or bottom ticket surface height and be not equal to the first actual ticket surface height, show that change has occurred print media, now start automatic calibration, make bottom ticket surface height consistent with actual ticket surface height, carry out again print out task, thereby can accurately print at correct print position.
Fig. 4 shows according to the printing medium calibration control method flow chart of Fig. 3 preferred embodiment, comprises the following steps:
Step S202, accepts print out task;
Step S204, detects the first actual ticket surface height;
Step S206, judges whether to detect mark, if so, enters step S208, otherwise, enter step S210;
Step S208, judges whether bottom ticket surface height equals the first actual ticket surface height, in the time that bottom ticket surface height is not equal to the first actual ticket surface height, enters step S210, otherwise, enter step S212;
Step S210, carries out automatic calibration; And
Step S212, carries out print out task.
In the time that bottom ticket surface height equals the first actual ticket surface height, illustrate that print media does not change, now, without calibration, can directly carry out print out task.Like this, save unnecessary calibration steps, improved the operating efficiency of printer.
Preferably, in above-mentioned printing medium calibration control method, further comprising the steps of before detecting the first ticket surface height: the state that detects printer.The present embodiment judges by detecting the state of printer whether print media replacing has occurred, thereby provides judgment condition for whether detecting the first ticket surface height.
Preferably, in above-mentioned printing medium calibration control method, detecting the first ticket surface height specifically comprises: in the time detecting that printer powers on or detects that printhead changes to depressed state by lifting status, and the distance between the two adjacent marks of detection print media.
Above-described embodiment judges whether to change the possibility of print media by detecting printer modes: if detect that printer powers on or detects that printhead changes to depressed state by lifting status, indicate to change the possibility of printer paper, need to detect the first actual ticket surface height, and printer power on be user start printer prepare carry out print mark; Change when printer paper, conventionally need to lift printhead, therefore, in the time that user lifts printhead and depresses, also may represent to have changed print media.Like this, make printer in the time occurring changing the possible sign of print media, detect the first actual ticket surface height, can not cause undetected to actual ticket surface height; And in the time there is not changing the possible sign of print media, the first actual ticket surface height is not detected again, save unnecessary job step.
Preferably, in above-mentioned printing medium calibration control method, detecting the first actual ticket surface height specifically comprises: print at least 1 nominal value according to bottom ticket surface height, the step number that when record detects adjacent two marks in print procedure, motor is walked, go out the distance between adjacent two marks, i.e. the first actual ticket surface height by motor and paper feed rubber roll gear ratio calculation.
If can not find mark in the process of printing a nominal value, illustrate that variation has occurred mark reflectivity or the light transmittance of the print media after changing, sensor cannot be distinguished print media and mark according to the threshold value of original judge mark.Therefore, after a nominal value of printing, start automatic calibration.
If sensor has detected mark in the process of printing a nominal value, the step number that while needing in print procedure record adjacent two marks to be detected, motor is walked, the step number that when record detects two adjacent marks, motor is walked, goes out the distance between adjacent two marks by motor and paper feed rubber roll gear ratio calculation.
It should be noted that, because changing after print media, the initial position of mark is arbitrarily, cannot find when avoiding printing a nominal value situation of two marks to occur, therefore, preferred, can print two or two above nominal values, and calculate the average distance between two adjacent marks.Like this, can also reduce sensor and detect error, improve accuracy of detection, meanwhile, the method for above-mentioned detection the first actual ticket surface height is simple, be easy to realize.
Preferably, in above-mentioned printing medium calibration control method, start automatic calibration and specifically comprise: detect the second actual ticket surface height, and store the second actual ticket surface height into printer storage, upgrade bottom ticket surface height.
In the time that bottom ticket surface height is not equal to the first actual ticket surface height, start automatic calibration, detect the second actual ticket surface height, and by the second actual ticket surface height renewal bottom ticket surface height.Like this, bottom ticket surface height and the second actual ticket surface height are consistent, thereby have ensured in the time that actual ticket surface height changes, also accurate positioning printing position carry out print out task of printer; Meanwhile, by the second ticket surface height is saved in printer storage, user do not change print media carry out next time print time, printer does not need to start automatic calibration and can print, and has improved operating efficiency.
Preferably, in above-mentioned printing medium calibration control method, in the time can't detect the mark of print media, detecting the second actual ticket surface height specifically comprises: printer is by predefined length paper feed, and in paper feed process, motor often makes a move, record the magnitude of voltage of primary transducer, according to the corresponding relation between the Changing Pattern of magnitude of voltage and number of motor steps, calculate the distance between two adjacent marks, i.e. the second actual ticket surface height.
Preferably, in above-mentioned printing medium calibration control method, in the time that bottom ticket surface height is not equal to the first actual ticket surface height, detecting the second actual ticket surface height specifically comprises: walk the distance of at least 1 nominal value according to the first actual ticket surface height, in paper feed process, motor often makes a move, record the magnitude of voltage of primary transducer, according to the corresponding relation between the Changing Pattern of magnitude of voltage and number of motor steps, calculate the distance between adjacent two marks, i.e. the second actual ticket surface height.
Preferably, in above-mentioned printing medium calibration control method, detect the second actual ticket surface height and specifically also comprise:
Calculate the threshold value of the judge mark that generates sensor according to the Changing Pattern of magnitude of voltage, and threshold value is stored in memory.
Above-described embodiment is by generating the threshold value of new judge mark, and is stored in memory, makes in the time not changing print media and carry out next print out task, and printer does not need to start automatic calibration and carries out print out task, has improved operating efficiency.
Preferably, in above-mentioned printing medium calibration control method, memory is to be nonvolatile memory, and as EEPROM EEPROM, the data of storing in the time of power down can not be lost, and have improved the reliability of printer.Like this, avoid the duplicate detection unnecessary to actual ticket surface height, read from memory when needed, simplified printing flow process, improved the operating efficiency of printer.
Preferably, in above-mentioned printing medium calibration control method, detect that printhead changes to depressed state by lifting status and specifically comprises: in the time that printhead position sensor voltage is changed to low level or changed to low level by high level by high level, printhead changes to depressed state by lifting status.
For example, when printhead is during in depressed state, printhead position sensor voltage is low level, and when printhead is during in lifting status, printhead position sensor voltage is high level.The method, only according to the level of position sensor, just can be judged printhead in lifting or depressed state, simple.
Preferably, in above-mentioned printing medium calibration control method, carry out print out task and specifically comprise: determine the print position of every nominal value according to the mark of bottom ticket surface height and nominal value, enter printing flow process.
Fig. 5 shows printing medium calibration control method flow chart according to a preferred embodiment of the present invention, comprises the following steps:
Step S301: judge whether to detect actual ticket surface height, if so, execution step S302; Otherwise, execution step S307.
Step S302: judge whether print out task, if so, execution step S303, otherwise, continue to have judged whether print out task.
Step S303: detect the first actual ticket surface height.
Step S304, judges whether to detect mark, if so, enters step S305, otherwise, enter step S306;
Step S305: whether the bottom ticket surface height that judgement detects is consistent with the first actual ticket surface height, if so, execution step S307, otherwise, execution step S306.
Step S306: carry out automatic calibration.
Step S307: judge whether print out task, if so, execution step S308, otherwise, continue to have judged whether print out task.
Step S308: carry out print out task.
Fig. 6 shows print media schematic diagram according to an embodiment of the invention.As shown in Figure 6, H represents bottom ticket surface height, and D represents nominal value printing initial position, and T represents print position, and C represents sensing station, and L represents from print position T to the distance sensing station C.First printer calculates print position T to distance L between sensing station C, and with bottom ticket surface height H comparison.2H≤L≤3H as seen from the figure, therefore in print procedure in the time that sensor detects mark, first the move distance of (L-2H) of printer medium, makes nominal value print initial position D and overlaps with print position T, then just starts printing.Like this, the distance B of print media motion, is determined to the distance L sensing station C and bottom ticket surface height H by print position T.
Above-described embodiment, by the simple computation to print position T, sensing station C, bottom ticket surface height H, can determine the distance B of print media motion, thereby the accurate location of realizing print What is simple.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that multiple calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in storage device and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or the multiple modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (6)

1. a printing medium calibration control method, is characterized in that, comprises the following steps:
Receive print out task;
Detect the distance between the two adjacent marks of described print media, i.e. the first actual ticket surface height;
In the time that the ticket surface height that can't detect described mark or be stored in nonvolatile memory is not equal to described the first actual ticket surface height, carry out automatic calibration, the ticket surface height that is stored in nonvolatile memory described in making is consistent with print media ticket surface height; And
Carry out described print out task, wherein
Carrying out automatic calibration specifically comprises:
Detect the second actual ticket surface height, and store described the second actual ticket surface height into nonvolatile memory, be stored in the ticket surface height of nonvolatile memory described in renewal,
Wherein, in the time can't detect described mark, described the second actual ticket surface height is that printer is by predefined length paper feed, in paper feed process, motor often makes a move, and records the magnitude of voltage of primary transducer, according to the corresponding relation between the Changing Pattern of described magnitude of voltage and number of motor steps, distance between the described two adjacent marks calculating, and
In the time that the described ticket surface height that is stored in nonvolatile memory is not equal to described the first actual ticket surface height, described the second actual ticket surface height is to walk the distance of at least 1 nominal value according to described the first actual ticket surface height, in paper feed process, motor often makes a move, record the magnitude of voltage of primary transducer, according to the corresponding relation between the Changing Pattern of described magnitude of voltage and number of motor steps, the distance between described adjacent two marks that calculate.
2. printing medium calibration control method according to claim 1, is characterized in that, further comprising the steps of:
In the time that the described ticket surface height that is stored in nonvolatile memory equals described the first actual ticket surface height, carry out described print out task.
3. printing medium calibration control method according to claim 1, is characterized in that, further comprising the steps of before detecting the first ticket surface height:
Detect the state of printer.
4. printing medium calibration control method according to claim 3, is characterized in that, detects the first actual ticket surface height and specifically comprises:
In the time detecting that printer powers on or detects that printhead changes to depressed state by lifting status, detect the distance between the two adjacent marks of described print media.
5. according to the printing medium calibration control method described in claim 1 or 4, it is characterized in that, detect the first actual ticket surface height and specifically comprise:
Print at least 1 nominal value according to the described ticket surface height that is stored in nonvolatile memory, the step number that when record detects adjacent two marks in print procedure, motor is walked, go out the distance between described adjacent two marks, i.e. the first actual ticket surface height by motor and paper feed rubber roll gear ratio calculation.
6. printing medium calibration control method according to claim 1, is characterized in that, detects the second actual ticket surface height and specifically also comprises:
Calculate the threshold value of the judge mark that generates described sensor according to the Changing Pattern of described magnitude of voltage, and described threshold value is stored in described memory.
CN200910129384.6A 2009-03-24 2009-03-24 Printing medium calibration control method Active CN101844463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910129384.6A CN101844463B (en) 2009-03-24 2009-03-24 Printing medium calibration control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910129384.6A CN101844463B (en) 2009-03-24 2009-03-24 Printing medium calibration control method

Publications (2)

Publication Number Publication Date
CN101844463A CN101844463A (en) 2010-09-29
CN101844463B true CN101844463B (en) 2014-07-02

Family

ID=42769347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910129384.6A Active CN101844463B (en) 2009-03-24 2009-03-24 Printing medium calibration control method

Country Status (1)

Country Link
CN (1) CN101844463B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102390185B (en) * 2011-06-29 2013-06-12 深圳市理邦精密仪器股份有限公司 Monitor printing method and system
CN102319056B (en) * 2011-07-22 2013-05-22 深圳市理邦精密仪器股份有限公司 Automatic calibration method and device for patient monitor printing
CN103171314B (en) * 2011-12-21 2015-06-17 北大方正集团有限公司 Method and device for controlling ink jet printing
JP6174407B2 (en) * 2013-07-24 2017-08-02 富士通コンポーネント株式会社 Printing apparatus and mark detection method
CN108973347B (en) * 2018-07-27 2021-06-18 北京美科艺数码科技发展有限公司 Printing method for ink-jet printer
CN109895392A (en) * 2019-02-15 2019-06-18 上海幂方电子科技有限公司 A method of operating coordinates are marked and are accurately positioned in equipment working region
CN111516397B (en) * 2020-04-30 2022-04-29 厦门汉印电子技术有限公司 Label paper identification method, device, equipment and readable storage medium
CN111546793B (en) * 2020-05-25 2022-05-13 珠海趣印科技有限公司 Processing method and system for paper detection threshold of printer
CN112339448A (en) * 2020-10-14 2021-02-09 重庆品胜科技有限公司 Self-calibration method and system for structure of thermal transfer label printer
CN113799501B (en) * 2021-09-18 2023-01-20 威海新北洋技术服务有限公司 Printing equipment control method and device and printing equipment
CN115302959B (en) * 2022-08-05 2024-03-08 上海商米科技集团股份有限公司 Black label printing method and printer based on multiple sensors

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0628925A2 (en) * 1993-04-30 1994-12-14 Kabushiki Kaisha TEC Label printer
US5486063A (en) * 1995-01-09 1996-01-23 Intermec Incorporated Method and apparatus for sensing the length of label or tag media by detecting changes in relative thickness
CN1495038A (en) * 2002-09-06 2004-05-12 ���ǵ�����ʽ���� Method and device for controlling printing operation in ink-jet printer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0628925A2 (en) * 1993-04-30 1994-12-14 Kabushiki Kaisha TEC Label printer
US5486063A (en) * 1995-01-09 1996-01-23 Intermec Incorporated Method and apparatus for sensing the length of label or tag media by detecting changes in relative thickness
CN1495038A (en) * 2002-09-06 2004-05-12 ���ǵ�����ʽ���� Method and device for controlling printing operation in ink-jet printer

Also Published As

Publication number Publication date
CN101844463A (en) 2010-09-29

Similar Documents

Publication Publication Date Title
CN101844463B (en) Printing medium calibration control method
US8926052B2 (en) Method of detecting residual quantity of ink, printing device, program and storage medium
CN111890811A (en) Printer consumable management system and printer
RU2598289C2 (en) Printing device, control method and storage medium
CN101531102A (en) Electronic device system and control method in electronic device system
JPH11314375A (en) Residual quantity detector of ink in ink cartridge
CN111516397B (en) Label paper identification method, device, equipment and readable storage medium
KR20030069826A (en) Printing apparatus controlling method, printing apparatus controlling program, recording medium for storing printing apparatus controlling program and printing system
JP4732946B2 (en) Page pitch detection method, page pitch detection device and printer
CN100371878C (en) Apparatus having error self-diagnostics of a printing system and a method thereof
US20150146222A1 (en) Apparatus, system, and method for calibration of a media processing device
EP1703446A1 (en) Apparatus and method for generating bar code, and apparatus and method for reading out bar code
US8246132B2 (en) Image forming systems and methods thereof
KR100846783B1 (en) Apparatus and method for detecting fault substrate
US20100278544A1 (en) System and method for ensuring that only a specific toner is used for printing a document
JP2000211771A (en) Paper remained quantity detection device
CN100548845C (en) Threshold setting method and signal conditioning package
US20070036602A1 (en) Apparatus and method for detecting the amount of ink ribbon used
KR100341784B1 (en) Method for detecting of toner residual quantity in a laser printer
US20100265286A1 (en) Handheld printer and printing method thereof
JP2006305938A (en) Printer and method for setting threshold of printer
KR101535475B1 (en) Computer-readable recording medium with bar code label printing program indicating damage on bar code label printer head
CN101470828A (en) Materiel warehouse-out method based on PDA and RFID technology
JP5741025B2 (en) Server device, program, and electronic pen input system
KR101519859B1 (en) Receipt printer for printing on small paper

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