WO2009121236A1 - 灰度打印控制方法和装置 - Google Patents

灰度打印控制方法和装置 Download PDF

Info

Publication number
WO2009121236A1
WO2009121236A1 PCT/CN2008/073450 CN2008073450W WO2009121236A1 WO 2009121236 A1 WO2009121236 A1 WO 2009121236A1 CN 2008073450 W CN2008073450 W CN 2008073450W WO 2009121236 A1 WO2009121236 A1 WO 2009121236A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
print
time
gray
point
Prior art date
Application number
PCT/CN2008/073450
Other languages
English (en)
French (fr)
Inventor
徐志刚
Original Assignee
山东新北洋信息技术股份有限公司
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 山东新北洋信息技术股份有限公司 filed Critical 山东新北洋信息技术股份有限公司
Priority to EP08873734.1A priority Critical patent/EP2261039B1/en
Priority to JP2011502212A priority patent/JP2011516300A/ja
Priority to US12/934,952 priority patent/US8459769B2/en
Publication of WO2009121236A1 publication Critical patent/WO2009121236A1/zh

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
    • 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
    • B41J2/35Typewriters 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 providing current or voltage to the thermal head
    • B41J2/355Control circuits for heating-element selection
    • B41J2/36Print density control

Definitions

  • the present invention relates to the field of print control technology, and more particularly to a method and apparatus for controlling printhead grayscale printing.
  • Thermal printers are classified into thermal printers and thermal transfer printers. Among them, the thermal printer uses the thermal heat of the printed hair to chemically change the thermal layer on the surface of the printing paper to develop color and form characters and images.
  • the thermal transfer printer uses the thermal heat of the printed hair to heat and melt the pigment material on the ribbon to the surface of the printing paper to form a text or image.
  • the thermal printhead 10 includes a plurality of heat generating bodies 20, which are equidistantly arranged in a row, and each heat generating body corresponds to a printing spot XI, forming A little line.
  • the print medium 30 moves along the printing direction A to form a dot line of Y1, ⁇ 2, ....
  • FIG. 2 shows a schematic diagram of a conventional grayscale printing control method
  • FIG. 3 is a schematic diagram of the composition of each grayscale gate time in the method.
  • the method specifically includes the following steps:
  • Step Sl l setting the heating time of the reference gray level (tu );
  • Step S12 When the print hair hot body receives the data as 1, the heating element is heated, and when the received data is 0, the heating element is not heated.
  • FIG. 5 is a schematic diagram showing the composition of each gray level gate time in the control method.
  • the control method specifically includes the following steps:
  • Step S21 setting the heating time of the reference gradation (tu );
  • Step S22 When the print hair hot body receives the data as 1, the heating element is heated, and when the received data is 0, the heating element is not heated.
  • Step S23 Send n pulses, and set a time interval for each pulse interval, and send n binary data "1" to the heat body for each pulse.
  • the above method reserves sufficient heat dissipation time for the print head by spacing the transmission time of every two pulses, thereby avoiding the problem that the printing effect is distorted due to heat accumulation.
  • this method also has some drawbacks: The printing speed is slow, especially for printing with higher gray level, because the number of pulses to be sent is large, and the time for sending data is long, which affects the printing speed.
  • the embodiment of the present invention provides a grayscale printing control method and apparatus, which solves the problem that the prior art transmits data for a long time and affects the printing speed.
  • a grayscale printing control method comprising:
  • the predetermined time of the gating time is implemented as follows:
  • the method further includes:
  • the gray level has a total of 2 n levels, the number of the basic gray levels is set to n, and the predetermined number of gates is n times.
  • the preset data is 1 or 0.
  • the invention also discloses a grayscale printing control device, comprising:
  • 5 a first processing unit, configured to convert gray levels of grayscale image data of each point and each point into multi-bit binary data
  • a second processing unit configured to group binary data of the same bit of all points of a point into a group of data to form a plurality of data groups
  • An information reference unit that stores a correspondence between a data group and a gate time
  • the third processing unit referring to the above correspondence, sends the data group to the print head at the corresponding strobe time, so that during the strobe time, the print hair hot body corresponding to each point heats up when receiving the preset data.
  • the above device further comprises:
  • a third processing unit configured to send a preheating signal to the print hair hot body, indicating that the print hair hot body 5 is preheated before printing.
  • the gradation level includes a plurality of base gradation levels, each of which corresponds to a strobe time of each strobe in a one-line print cycle.
  • the gradation level has a total of 2 n levels, the number of the basic gradation levels is set to n, and the number of strobes in a one-line period is n times.
  • the preset data is 1 or 0.
  • the embodiment of the invention also provides a computer readable storage medium, comprising a computer program code, the computer program code being executed by a computer unit, such that the computer unit:
  • each set of data corresponds to a predetermined strobe time, and during the strobing time, the print hair hot body corresponding to each point is received It is hot when the preset data is reached.
  • the embodiment of the invention only needs to strobe the print head n times, send n times of data, and realize the printing of the 2 n level gray level by combining the n stages of different levels of strobe time.
  • the number of print strobes and the number of data transmissions can be reduced under the condition of ensuring print quality, and the printing speed is greatly improved.
  • Figure 1 is a schematic view showing the arrangement of printed dots of a thermal printhead
  • FIG. 2 is a schematic diagram of a conventional grayscale printing control method
  • FIG. 3 is a schematic diagram showing the structure of each gray level gate time in the method shown in FIG. 2;
  • FIG. 5 is a schematic diagram showing the structure of each gray level gate time in the control method shown in FIG. 4;
  • FIG. 6 is a flowchart of an embodiment of a gray scale printing control method according to the present invention.
  • FIG. 12 is a schematic structural view of an apparatus which can implement the above-described embodiment of the gray scale printing control method
  • FIG. 13 is a schematic structural view of an apparatus which can implement the above-described embodiment of the gray scale printing control method.
  • Grayscale refers to the depth of the color, and the higher the gray level, the darker the color. The higher the gray level, the more the image is shaded and the more detailed and realistic the printed image is.
  • FIG. 6 is a flowchart of an embodiment of a grayscale printing control method according to the present invention.
  • a gating time period is set in advance in a one-line printing cycle, and each gray level is divided into a basic gray level and a non-base gray level, and the gate time corresponding to the non-base gray level is determined by the base 5 The gate time corresponding to the basic gray level is combined.
  • the gray level has 2 n levels, wherein 2 0 , 2 2 2 2 n levels are ⁇ 5 gray levels, and other gray levels are non-base gray levels.
  • n basic gating time periods are set in a one-line printing cycle, and are recorded as: T2 G , T2 ⁇ 2 2 ⁇ 2 ⁇ - the gating time periods corresponding to each non-base gray level can be The basic gating time period is combined.
  • Step S101 Acquire image data of each point line, and determine the gray level thereof.
  • Step S102 Convert the gray level to n-bit binary data.
  • Step S103 Combine the binary data of the same bit at all points of each point to form a set of data, and form n data groups.
  • Step S105 Printing the hair hot body to start the corresponding gating time, and if the data received by the heating element is a specific value, the heat is generated.
  • the corresponding strobe time is started, and if the data received by the heat generating body is a specific value (such as 1 or 0), the heat is generated during the strobe effective period, otherwise, :5 Fever.
  • the printing print hot body is controlled to be heated in the corresponding gating period, so that the gray image data can be printed out within a line of the consumables in close contact with the print head. Dot images of different gray levels.
  • FIG. 7 shows the gray level, the gate time, and the correspondence between data groups in the embodiment of the present invention. Department.
  • the gray level 2 n , T2 n and the data group n are corresponding to each other. For example, after receiving the data group 1, the hair heat is printed in the gating time period T2 n .
  • the highest gray level is equal to 256 levels.
  • the level 1 gray gate time is Tl
  • the level 2 gray gate time is ⁇ 2
  • the level 4 gate time is ⁇ 4
  • the level 8 gray gate time is ⁇ 8
  • the 16th level strobe time is T16.
  • the 32-level gray gate time is ⁇ 32
  • the 64-level gray gate time is ⁇ 64
  • the 128-level gray gate time is ⁇ 128.
  • the strobe times of other gradation 0 levels can be composed of these basic strobe times.
  • the strobe time of 3 levels of gray can be combined by T1+T2
  • the strobe time of 5 levels of gray can be combined by ⁇ 2+ ⁇ 3
  • the strobe time of 6 levels of gradation can be combined by ⁇ 2+ ⁇ 4
  • the strobe time of 252 gray scales can be combined by T128+T64+T32+T16+T8+T4, ..., and so on, 256 gray scale strobe times can be obtained.
  • the print hair hot body only heats up in the corresponding gating time to print the corresponding gray scale.
  • the following describes how the print hair hot body heats up during a specific gating time period, thereby printing out the various levels.
  • the print hair heater generates heat during the corresponding strobe time period when it receives specific binary data.
  • the specific binary data may be 1, that is, when the binary data received by the print hair hot body is 1, the heat is generated, and when the received binary data is 0, the heat is not generated.
  • the specific binary data may also be 0, that is, when the binary data received by the print hair hot body is 0, the heat is generated, and when the received binary data is 1, the heat is not generated.
  • the present invention only takes a specific binary data as an example.
  • the binary data corresponding to all the strobe time segments is 0, and thus, the print hair heat body does not generate heat after receiving the binary data, and prints The dots are displayed as the primary color of the printing paper.
  • the data received by the print hair heat body corresponds to the binary data of the T1 strobe time period is 1, corresponding to other selections.
  • the binary data of the pass time period is 0. Therefore, the print hair hot body only generates heat during the T1 strobe time period, and the other strobe time periods are not heated, and the print point displays 1 level gray scale.
  • the data received by the print hair heat body corresponds to the binary data of the T2 strobe time period is 1, corresponding to the binary data of other strobe time periods. Both are 0, so, print the hair hot body
  • the data received by the print hair heat body corresponds to the binary data of the T1 and ⁇ 2 strobe time periods is 1, corresponding to other strobe times.
  • the binary data of the segment is 0. Therefore, the print hair hot body only generates heat during the T1 and ⁇ 2 strobe time periods, and the other strobe time periods are not heated, and the print dots display 3 levels of gray scale. ..., and so on, for 2 8 or 256
  • the data received by the print hair heat body corresponds to the binary data corresponding to all the strobe time periods, and thus the print hair heat body is in one
  • the eight cycle times of the print cycle are all hot, and the print dots display 256 shades of gray.
  • each level of gradation corresponds to eight strobe periods of the printing cycle, and there are eight bits of binary data. That is to say, each gray level can be represented by an 8-bit binary data.
  • a pair of data of the same bit of all points of a point is grouped into a set of data to form n data sets.
  • the BitO bits of all the gray points of one line are grouped into data group 1
  • the Bitl bits of all the gray points of one line are grouped into data group 2, and so on, and Bit 2 bits and Bit 3 bits of all gray points are selected.
  • the Bit 4 bit, Bit 5 bit, Bit 6 bit, and Bit 7 bit constitute Data Group 3, Data Group 4, Data Group 5, Data Group 6, and 5 Data Group 7 and Data Group 8, respectively.
  • T3 sends the data set 3 to the print hair hot body, and so on, and sends the data set 8 to the print hair hot body at the strobe time T128 for 8 times, which can realize 256-level gray scale printing.
  • the embodiment of the present invention is characterized in that only the print head is strobed n times, 0 n times of data is sent, and the combination of n stages of different levels of strobe time is realized, thereby realizing 2 n level gradation.
  • Level printing Under the condition of ensuring print quality, the number of print strobes and the number of data transmissions are reduced, and the printing speed is greatly improved.
  • Figure 12 illustrates a block diagram of an apparatus that can be used to implement some of the disclosed embodiments, such as those described above.
  • the device is referred to herein as a gray scale printing control device.
  • the gray scale printing control device comprises: an information reference unit 100, a first processing unit 200, and a second processing unit 300.
  • the information reference unit 100 stores a correspondence relationship between each gray level and a gate time period in a one-line printing cycle.
  • Each gradation level is divided into a basic gradation level and a non-base gradation level, and the strobe time corresponding to the non-base gradation level is combined by the strobe time corresponding to the basic gradation level.
  • the first processing unit 200 is configured to acquire the gray level of the grayscale image data of each point of each point and convert it into multi-bit binary data.
  • the second processing unit 300 composes the binary data of the same bit of all points at a point to form a set of data, forms a plurality of data sets, and sends the respective data sets to the print hair hot body within the corresponding strobe time period.
  • a preheating signal can be sent to all the printed hair hot bodies before sending the data set to print the hair hot body.
  • it can also be used to implement the functional unit of the function, please refer to the figure. 13. Schematic representation of the apparatus of some of the disclosed embodiments.
  • the functional unit is a third processing unit 400 for transmitting a preheating signal to the printed hair hot body before sending the data sets to the print hair hot body, instructing the printed hair hot body to preheat.
  • the gray scale printing control device described herein can be applied to a printing device comprising all of the components of the present printing device, such as a print head and other components, the print head being provided with a plurality of heat generating bodies.
  • the gray scale printing control device cooperates with the print head to print dot images of different gray levels in accordance with the gray scale image data within a range of points in which the consumables are in close contact with the print head.
  • the gradation printing control device acquires the gradation level of the grayscale image data of each point of each point, converts 0 into multi-bit binary data, and then combines the binary data of the same bit of all points at a point to form a set of data.
  • a plurality of data groups are formed, and each data group is sent to the print head within a corresponding strobe time period. After receiving the data group, the print head sends the data in the data group to the corresponding heating element.
  • the data received by the heating element is the preset data, it generates heat, otherwise, it does not generate heat.
  • the preset data may be binary data 1 or 0.
  • the above printing device can be applied to an existing printer (such as a thermal printer or a thermal transfer printer) to quickly print out the dots of each gray level.
  • an existing printer such as a thermal printer or a thermal transfer printer

Landscapes

  • Electronic Switches (AREA)

Description

灰度打印控制方法和装置
本申请要求于 2008 年 3 月 31 日提交中国专利局、 申请号为 200810090417.6、 发明名称为"灰度打印控制方法和装置"的中国专利申请的优 先权, 其全部内容通过引用结合在本申请中。
5 技术领域
本发明涉及打印控制技术领域, 更具体地说, 涉及热敏打印头灰度打印控 制方法和装置。
背景技术
热打印机分为热敏打印机 ( Thermal printer )和热转印打印机 ( Thermal 0 transfer printer )两种。 其中, 热敏打印机利用打印头发热体发热, 使打印纸表 面的感热层发生化学变化, 从而显色, 形成文字和图像。 热转印打印机利用打 印头发热体发热,将碳带上的颜料物质加热熔化到打印纸表面,形成文字或图 像。
图 1为热敏打印头打印点排列示意图, 如图所示, 热敏打印头 10包含多 5 个发热体 20, 这些发热体等距排列成一行, 每一发热体对应一个打印点 XI, 形成一点行。 打印介质 30沿着打印方向 A运动, 形成 Yl, Υ2...等点行。
由于打印头发热体加热时间越长, 热量越高, 打印浓度越高, 因此通过控 制加热时间的长度来获得不同浓度等级即灰度等级的打印效果。 请参考图 2 和图 3 , 其中图 2示出了传统的灰度打印控制方法的示意图; 图 3为该方法中 :0 各灰度等级选通时间的构成示意图。
该方法具体包括以下步骤:
步骤 Sl l、 设定基准灰度的加热时间 (tu );
步骤 S12、 当打印头发热体接收到数据为 1时, 发热体加热, 当接收数据 为 0时, 发热体不加热。
:5 步骤 S13、 连续发送 n ( n=l、 2、 3 )个脉冲, 对应每个脉冲向发热 体发送 n个二值数据 "1"。
可以看出, 利用上述的控制方法, 在进行多级灰度打印时, 由于需要连续 发送 n个脉冲, 就会造成打印头热量积累弓 ]起灰度等级与打印次数不成正比, 从而导致灰度失真, 影响了打印质量。 为了解决这个问题, 名称为 "提高热敏打印质量的方法 "的美国专利(专利 号为 6,798,433 )公开了一种控制方法, 如图 4和图 5所示, 图 4为该控制方 法的流程图, 图 5为该控制方法中各灰度等级选通时间的构成示意图。
该控制方法具体包括如下步骤:
5 步骤 S21、 设定基准灰度的加热时间 (tu );
步骤 S22、 当打印头发热体接收到数据为 1时, 发热体加热, 当接收数据 为 0时, 发热体不加热。
步骤 S23、 发送 n个脉冲, 且每个脉冲间隔设定时间, 对应每个脉冲向发 热体发送 n个二值数据" 1"。
0 可以看出,上述方法通过间隔每两个脉冲的发送时间, 为打印头预留了足 够的散热时间, 避免了因热量积累造成的打印效果失真的问题。 但是, 这种方 法也存在一些缺陷: 打印速度较慢, 尤其是针对灰度级别较高的打印, 由于需 要发送的脉冲次数较多, 发送数据的时间较长, 影响了打印速度。
发明内容
5 有鉴于此,本发明实施例提供一种灰度打印控制方法和装置, 以解决现有 技术存在的发送数据时间长, 而影响打印速度的问题。
本发明实施例是这样实现的:
一种灰度打印控制方法, 包括:
确定各点行每点图像数据的灰度等级, 转换为多位二值数据; :0 将一点行所有点的相同位的二值数据组成一组数据, 形成多个数据组; 每组数据对应一预定选通时间,在选通时间内, 与各点对应的打印头发热 体在接收到预设数据时发热。
优选的, 选通时间的预定由以下方式实现:
设置多个基础灰度等级, 每一基础灰度等级对应一设定长度选通时间; :5 在一点行打印周期中设置与基础灰度等级个数相同的选通次数,每一次选 通的时间长度与一个基础灰度等级所需的选通时间相对应。
优选的, 还包括:
发送预热信号给打印头发热体, 指示该打印头发热体在打印之前进行预 优选的, 所述灰度等级总共有 2n级, 所述基础灰度等级数量设为 n个, 所述预定选通次数为 n次。
优选的, 所述预设数据为 1或 0。
本发明同时还公开了一种灰度打印控制装置, 包括:
5 第一处理单元, 用于各个一点行每点灰度图像数据的灰度等级,转换为多 位二值数据;
第二处理单元, 用于将一点行所有点的相同位的二值数据组成一组数据, 形成多个数据组;
信息参考单元, 存储数据组和选通时间的对应关系;
0 第三处理单元, 参考上述对应关系,将数据组在相应的选通时间发送给打 印头,使得在选通时间内, 与各点对应的打印头发热体在接收到预设数据时发 热。
优选的, 上述装置还包括:
第三处理单元, 用于发送预热信号给打印头发热体,指示该打印头发热体 5 在打印之前进行预热。
优选的, 上述装置中:
所述灰度等级包含多个基础灰度等级,各基础灰度等级与一点行打印周期 中的各次选通的选通时间相对应。
优选的, 上述装置中:
:0 所述灰度等级总共有 2n级, 所述基础灰度等级数量设为 n个, 一点行周 期中的选通次数为 n次。
优选的, 上述装置中: 所述预设数据为 1或 0。
本发明实施例同时还提供一种计算机可读存储介质 , 包括计算机程序代 码, 该计算机程序代码由一个计算机单元执行, 使得该计算机单元:
:5 确定各点行每点图像数据的灰度等级, 转换为多位二值数据;
将一点行所有点的相同位的二值数据组成一组数据, 形成多个数据组; 每组数据对应一预定选通时间,在选通时间内, 与各点对应的打印头发热 体在接收到预设数据时发热。
从上述的技术方案可以看出, 与现有技术相比, 针对 2n级灰度等级的打 本发明实施例只需将打印头选通 n次,发送 n次数据, 并通过对 n段不同级别 选通时间的组合, 从而实现 2n级灰度等级的打印。 能够在保证打印质量的条 件下, 减少了打印选通次数和数据发送的次数, 较大地提高了打印速度。 附图说明
5 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为热敏打印头打印点排列示意图;
0 图 2为传统的灰度打印控制方法的示意图;
图 3为图 2所示方法中各灰度等级选通时间的构成示意图;
图 4为现有技术一控制方法的实现流程图;
图 5为图 4所示控制方法中各灰度等级选通时间的构成示意图; 图 6为本发明一种灰度打印控制方法的实施例的流程图;
5 图 7为本发明一种灰度打印控制方法的实施例中灰度等级、选通时间及数 据组之间的对应关系;
图 8为本发明一种灰度打印控制方法的实施例中,当 n=8时各灰度等级选 通时间的构成示意图;
图 9为本发明一种灰度打印控制方法的实施例中,当 n=8时各级灰度点选 :0 通时间和二值数据的对应关系;
图 10为本发明当 n=8时各灰度等级点的 8位二值数据的示意图; 图 11为本发明一种灰度打印控制方法的实施例中, 当 n=8时各级灰度点 选通时间和二值数据的对应关系图;
图 12为可实现上述灰度打印控制方法的实施例的装置的结构示意图; :5 图 13为可实现上述灰度打印控制方法的实施例的装置的结构示意图。
具体实施方式
灰度指的是颜色的深浅, 灰度级越高, 则颜色越深。 灰度等级越多, 则表 示图像的深浅变换越多, 打印出来的图像就越细腻、 逼真。
为了使得本领域技术人员更好理解本发明实施例的技术方案,下面结合附 图和实施例进行伴细描述。
请参考图 6, 为本发明一种灰度打印控制方法的实施例的流程图。 对应于各灰度等级,预先在一点行打印周期中设置选通时间段,各灰度等 级分为基础灰度等级和非基础灰度等级,非基础灰度等级对应的选通时间由基 5 础灰度等级对应的选通时间组合而成。
假设灰度等级有 2n级, 其中, 20、 2 22 2n 级为^ 5出灰度等级, 其他灰度等级为非基础灰度等级。非基础灰度等级可以由基础灰度等级组合叠 加而成, 例如当 n=8时, 1、 2、 4、 8、 16、 32、 64、 128为基础灰度等级, 而 其他灰度等级如 3、 5、 6、 7 为非基础灰度等级, 则, 3 级灰度等于 1
0 级灰度和 2级灰度之和, 5级灰度等于 1级灰度和 4级灰度之和, , 以此 类推。对应于各基础灰度等级,在一点行打印周期中设置 n个基础选通时间段, 记为: T2G、 T2 Τ22 Τ2η- 各非基础灰度等级对应的选通时间段可以 由各基础选通时间段组合而成。
按照以下步骤对各灰度等级的打印进行控制:
5 步骤 S101、 获取各点行图像数据, 并确定其灰度等级。
步骤 S 102、 将该灰度等级转换为 n位二值数据。
步骤 S103、将各一点行所有点的相同位的二值数据组成一组数据,形成 n 个数据组。
:0 印头发热体。
步骤 S105、 打印头发热体启动相对应的选通时间, 如果发热体接收到的 数据为特定值, 则发热。
打印头发热体接收到数据后, 启动相对应的选通时间,在选通有效的时间 段内, 如果发热体接收到的数据为特定值(如 1或 0 ), 则发热, 否则, 则不 :5 发热。
如此, 分别对应于 T2n, 通过发送 η组数据, 控制打印头发热体在相应的 选通时间段内加热,从而得以在耗材与打印头紧密接触的一点行范围内按照灰 度图像数据打印出不同灰度等级的点像。
图 7示出了本发明实施例中,灰度等级、选通时间及数据组之间的对应关 系。
灰度等级 2n、 T2n及数据组 n之间是——对应的,例如:接收数据组 1后, 在选通时间段 T2n内, 打印头发热体发热。
当 η=8时, 各灰度等级选通时间的构成示意图如图 8所示。
5 如图所示, 当 η=8时, 最高的灰度等级等于 256级。
此时, 1级灰度选通时间为 Tl, 2级灰度选通时间 Τ2, 4级选通时间为 Τ4, 8级灰度选通时间为 Τ8, 16级灰度选通时间为 T16, 32级灰度选通时间 为 Τ32, 64级灰度选通时间为 Τ64, 128级灰度选通时间为 Τ128。
将这 8个选通时间作为基础选通时间, 在 0-255个灰度等级中, 其他灰度 0 等级的选通时间可以由这些基础选通时间组合构成。 例如: 3级灰度的选通时 间可以由 T1+T2组合而成, 5级灰度的选通时间可以由 Τ2+Τ3组合而成, 6 级灰度的选通时间可以由 Τ2+Τ4组合而成, ..., 252级灰度的选通时间可以由 T128+T64+T32+T16+T8+T4组合而成, …, 以此类推, 可以得到 256个灰度 等级选通时间。
5 需要说明的是,各灰度等级选通时间的长度是需要预先进行试验测量验证 的。
打印头发热体只在对应的选通时间内发热, 以打印得到对应的灰度等级, 下面结合图 9说明所述打印头发热体如何在特定的选通时间段内发热,从而打 印出各级灰度。 图 9为当 η=8时各级灰度点选通时间和二值数据的对应关系。
:0 打印头发热体在接收到特定的二值数据时, 在对应的选通时间段内发热。
所述特定的二值数据可以是 1 , 也就是说, 当打印头发热体接收到的二值数据 为 1时发热, 当接收到的二值数据为 0时, 则不发热。 当然, 所述特定的二值 数据也可以是 0, 也就是说, 当打印头发热体接收到的二值数据为 0时发热, 当接收到的二值数据为 1时不发热。本发明仅以特定的二值数据是 1为例进行
:5 说明。
对于 0级灰度,在一个打印周期的 8个选通时间段内,所有选通时间段对 应的二值数据均为 0, 于是, 打印头发热体接收到该二值数据后不发热, 打印 点显示成打印纸原色。 对于 1级灰度, 一个打印周期的 8个选通时间段内, 打 印头发热体接收到的数据对应于 T1选通时间段的二值数据为 1 , 对应其他选 通时间段的二值数据均为 0, 于是, 打印头发热体仅在 T1选通时间段内发热, 其余选通时间段均不发热, 打印点显示 1级灰度。 对应 2级灰度, 一个打印周 期的 8个选通时间段内 , 打印头发热体接收到的数据对应于 T2选通时间段的 二值数据为 1 , 对应其他选通时间段的二值数据均为 0, 于是, 打印头发热体
5 仅在 T2选通时间段内发热,其余选通时间段均不发热,打印点显示 2级灰度。
同理, 对于 3级灰度, 一个打印周期的 8个选通时间段内, 打印头发热体接收 到的数据对应于 Tl、 Τ2选通时间段的二值数据为 1, 对应其他选通时间段的 二值数据均为 0, 于是, 打印头发热体仅在 T1和 Τ2选通时间段内发热, 其余 选通时间段均不发热, 打印点显示 3级灰度。 ...... , 以此类推, 对于 28即 256
0 级灰度,在一个打印周期的 8个选通时间段内,打印头发热体接收到的数据对 应于所有选通时间段对应的二值数据均为 1 , 于是, 打印头发热体在一个打印 周期的 8个选通时间段内均发热, 打印点显示 256级灰度。
从上述可以得出,对于 256级灰度打印,可以归纳出各灰度等级的 8位二 值数据。 请参考图 10, 为本发明当 η=8时各灰度等级点的 8位二值数据的示
5 意图。
由上述可知,各级灰度对应于打印周期的 8个选通时间段,存在 8位二值 数据。 也就是说, 每一灰度等级都可以用一个 8位的二值数据表示。
如图所示, 对应于 1级灰度, 其 8位二值数据为 10000000, 对应于 2级 灰度, 其 8位二值数据为 01000000, 对应于 3 级灰度, 其 8位二值数据为
:0 11000000, , 对应于 255级灰度, 其 8位二值数据为 11111111。
将一点行所有点的相同位的二值数据组成一组数据,形成 η个数据组。例 如,把一点行所有灰度点的 BitO位组成数据组 1,把一点行所有灰度点的 Bitl 位组成数据组 2, 以此类推,把一点行所有灰度点的 Bit2位、 Bit3位、 Bit4位、 Bit5位、 Bit6位和 Bit7位分别组成数据组 3、 数据组 4、 数据组 5、 数据组 6、 :5 数据组 7和数据组 8。 这样, 一个打印周期内, 在选通时间 T1向打印头发热 体发送数据组 1 , 在选通时间 T2向打印头发热体发送数据组 2, 在选通时间
T3向打印头发热体发送数据组 3 , , 以此类推, 在选通时间 T128向打印 头发热体发送数据组 8, 共发送 8次, 即可实现 256级灰度打印。
由于打印头发热体加热需要一定的时间, 为了进一步加快打印速度,可以 在发送数据组给打印头发热体前, 向所有打印头发热体发送预热信号, 如图
11所示, 为当 n=8时各级灰度点选通时间和二值数据的对应关系图。 打印头 发热体接收到该预热信号后, 进行预热, 并在接收到预设二值数据时, 快速加 热, 从而提高打印速度。
5 根据本发明实施例的原理,通过赋予 n不同的数值, 即可表示不同灰度等 级, 例如, 设 n=7, 即对应的最高灰度等级为 128级, 设 n=9, 即对应的最高 灰度等级为 512级, 等等。 其灰度打印控制方法的实现原理与 n=8相同, 在此 不再赘述。
本发明实施例与现有技术相比,其特点在于只需将打印头选通 n次,发送 0 n次数据, 并通过对 n段不同级别选通时间的组合,从而实现 2n级灰度等级的 打印。 在保证打印质量的条件下, 减少了打印选通次数和数据发送的次数, 较 大地提高了打印速度。
图 12示出了可用于实现(诸如上述的)一些公开的实施例的装置的框图。 为了方便描述, 在此将该装置称为灰度打印控制装置。
5 该灰度打印控制装置包括: 信息参考单元 100、 第一处理单元 200和第二 处理单元 300。
其中,所述信息参考单元 100存储有各灰度等级与一点行打印周期中选通 时间段的对应关系。各灰度等级分为基础灰度等级和非基础灰度等级, 非基础 灰度等级对应的选通时间由基础灰度等级对应的选通时间组合而成。
:0 所述第一处理单元 200用于获取各一点行每点灰度图像数据的灰度等级, 转换为多位二值数据。
所述第二处理单元 300将一点行所有点的相同位的二值数据组成一组数 据,形成多个数据组, 并在对应的选通时间段内将各个数据组发送给打印头发 热体。
:5 关于灰度等级、选通时间及二值数据的具体内容可参照上述方法部分的描 述。
由于打印头发热体加热需要一定的时间, 为了进一步加快打印速度,可以 在发送数据组给打印头发热体前, 向所有打印头发热体发送预热信号。 为了实 现上述功能, 在一些实施例中, 还可以用于实现该功能的功能单元, 请参考图 13, 为一些公开的实施例的装置的示意图。
该功能单元为第三处理单元 400, 用于在将各数据组发送给打印头发热体 之前, 发送预热信号给打印头发热体, 指示该打印头发热体进行预热。
本文所述的灰度打印控制装置可以应用在打印装置中,该打印装置包括现 5 有打印装置的一切部件, 如打印头及其他部件, 该打印头设置有多个发热体。
所述灰度打印控制装置和打印头配合工作,在耗材与打印头紧密接触的一 点行范围内按照灰度图像数据打印出不同灰度等级的点像。具体过程在前文已 经详细描述过, 在此只作简单介绍:
所述灰度打印控制装置获取各一点行每点灰度图像数据的灰度等级,转换 0 为多位二值数据, 然后, 将一点行所有点的相同位的二值数据组成一组数据, 形成多个数据组, 并在对应的选通时间段内将各个数据组发送给打印头。打印 头接收到数据组后,将该数据组中各个数据发给对应的发热体, 当发热体收到 的数据为预设数据时, 发热, 否则, 不发热。
所述预设数据可以是二值数据 1或 0。
5 上述打印装置可以应用在现有的打印机(如热敏打印机或热转印打印机) 中, 快速打印出各灰度等级的点像。
本领域技术人员应能意识到 ,结合本文中所公开的实施例描述的各示例的 单元及算法步骤, 能够以电子硬件、计算机软件或者二者的结合来实现, 为了 清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述 :0 了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技 术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使 用不同方法来实现所描述的功能, 但是这种实现不应认为超出本发明的范围。
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处 理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器 :5 ( RAM )、内存、只读存储器( ROM )、电可编程 ROM、电可擦除可编程 ROM、 寄存器、 硬盘、 可移动磁盘、 CD-ROM, 或技术领域内所公知的任意其它形式 的存储介质中。
对所公开的实施例的上述说明 ,使本领域专业技术人员能够实现或使用本 发明。 对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见 的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在 其它实施例中实现。 因此, 本发明将不会被限制于本文所示的这些实施例, 而 是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims

权 利 要 求
1、 一种灰度打印控制方法, 其特征在于, 包括:
确定各点行每点图像数据的灰度等级, 转换为多位二值数据;
将一点行所有点的相同位的二值数据组成一组数据, 形成多个数据组;
5 每组数据对应一预定选通时间,在选通时间内, 与各点对应的打印头发热 体在接收到预设数据时发热。
2、 如权利要求 1所述的方法, 其特征在于, 选通时间的预定由以下方式 实现:
设置多个基础灰度等级, 每一基础灰度等级对应一设定长度选通时间; 0 在一点行打印周期中设置与基础灰度等级个数相同的选通次数,每一次选 通的时间长度与一个基础灰度等级所需的选通时间相对应。
3、 如权利要求 2所述的方法, 其特征在于, 还包括:
发送预热信号给打印头发热体, 指示该打印头发热体在打印之前进行预 热。
5 4、 如权利要求 1、 2或 3所述的方法, 其特征在于, 所述灰度等级总共有
2n级, 所述基础灰度等级数量设为 n个, 所述预定选通次数为 n次。
5、 如权利要求 4所述的方法, 其特征在于, 所述预设数据为 1或 0。
6、 一种灰度打印控制装置, 其特征在于, 包括:
第一处理单元, 用于将每一点行每点灰度图像数据的灰度等级,转换为多 :0 位二值数据;
第二处理单元, 用于将一点行所有点的相同位的二值数据组成一组数据, 形成多个数据组;
信息参考单元, 存储数据组和选通时间的对应关系;
第三处理单元, 参考上述对应关系,将数据组在相应的选通时间发送给打 :5 印头,使得在选通时间内, 与各点对应的打印头发热体在接收到预设数据时发 热。
7、 如权利要求 6所述的控制装置, 其特征在于, 还包括:
第三处理单元, 用于发送预热信号给打印头发热体,指示该打印头发热体 在打印之前进行预热。
8、 如权利要求 6或 7所述的控制装置, 其特征在于:
所述灰度等级包含多个基础灰度等级,各基础灰度等级与一点行打印周期 中的各次选通的选通时间相对应。
9、 如权利要求 8所述的控制装置, 其特征在于:
所述灰度等级总共有 2n级, 所述基础灰度等级数量设为 n个, 一点行周 期中的选通次数为 n次。
10、 一种计算机可读存储介质, 其特征在于, 包括计算机程序代码, 该计 算机程序代码由一个计算机单元执行, 使得该计算机单元:
确定各点行每点图像数据的灰度等级, 转换为多位二值数据;
将一点行所有点的相同位的二值数据组成一组数据, 形成多个数据组; 每组数据对应一预定选通时间,在选通时间内, 与各点对应的打印头发热 体在接收到预设数据时发热。
PCT/CN2008/073450 2008-03-31 2008-12-11 灰度打印控制方法和装置 WO2009121236A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP08873734.1A EP2261039B1 (en) 2008-03-31 2008-12-11 A grayscale printing control method, and an apparatus thereof
JP2011502212A JP2011516300A (ja) 2008-03-31 2008-12-11 階調プリント制御方法及び装置
US12/934,952 US8459769B2 (en) 2008-03-31 2008-12-11 Grayscale printing control method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008100904176A CN101549591B (zh) 2008-03-31 2008-03-31 灰度打印控制方法和装置
CN200810090417.6 2008-03-31

Publications (1)

Publication Number Publication Date
WO2009121236A1 true WO2009121236A1 (zh) 2009-10-08

Family

ID=41134811

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/073450 WO2009121236A1 (zh) 2008-03-31 2008-12-11 灰度打印控制方法和装置

Country Status (5)

Country Link
US (1) US8459769B2 (zh)
EP (1) EP2261039B1 (zh)
JP (1) JP2011516300A (zh)
CN (1) CN101549591B (zh)
WO (1) WO2009121236A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102582273B (zh) * 2012-02-09 2014-04-16 福建联迪商用设备有限公司 实现不同规格纸张印刷的方法
WO2018048452A1 (en) 2016-09-12 2018-03-15 Hewlett-Packard Development Company, L.P. Determination of printer dryer target temperatures
ES2842957T3 (es) * 2018-08-08 2021-07-15 Mitsubishi Electric Corp Impresora de tipo de transferencia de calor y método de fabricación de material impreso
CN110466260B (zh) * 2019-07-23 2021-08-06 厦门汉印电子技术有限公司 打印过程中的加热控制方法、装置、打印机及存储介质
CN110626078B (zh) * 2019-10-21 2020-09-22 威海哲文智能科技有限公司 一种热打印控制方法及热记录装置
CN110861418B (zh) * 2019-11-14 2021-09-07 艾体威尔电子技术(北京)有限公司 一种在单一灰度条件下打印彩色照片的方法
CN112571972B (zh) * 2020-12-12 2021-06-22 深圳市捷诚技术服务有限公司 热敏打印机加热的控制方法、装置及热敏打印机
CN114274692B (zh) * 2020-12-20 2023-08-01 上海商米科技集团股份有限公司 一种热敏打印机的灰度打印方法
CN116051490B (zh) * 2022-12-30 2023-06-20 北京辰光融信技术有限公司 文档打印质量检测方法、打印装置、电子设备和储存介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4760462A (en) * 1981-03-26 1988-07-26 Ricoh Company, Ltd. Heat sensitive recording system in facsimile communication
JPH01128837A (ja) * 1987-11-13 1989-05-22 Fujitsu Ltd 印刷装置の階調制御方式
JPH07108700A (ja) * 1993-10-15 1995-04-25 Shinko Electric Co Ltd プリンタのプリント方法
CN1118308A (zh) * 1994-06-30 1996-03-13 佳能株式会社 打印头、利用打印头的打印装置和打印方法
CN1403295A (zh) * 2001-09-06 2003-03-19 诚研科技股份有限公司 热打印头的打印方法
US6798433B1 (en) 2003-07-30 2004-09-28 Hi-Touch Imaging Technologies Co., Ltd. Method for increasing thermal print quality
CN1579790A (zh) * 2003-08-11 2005-02-16 诚研科技股份有限公司 增加热打印品质的方法
JP2006347034A (ja) * 2005-06-16 2006-12-28 Max Co Ltd サーマルプリンタ

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0686127B2 (ja) * 1986-06-23 1994-11-02 興 和 株 式 會 社 発熱型画像記録装置
JPH02269065A (ja) * 1988-12-23 1990-11-02 Canon Inc 熱記録方式および前記熱記録方式を用いる記録装置
JPH06115140A (ja) * 1992-08-21 1994-04-26 Oki Electric Ind Co Ltd ラインサーマルプリンタ
US5455681A (en) * 1992-11-16 1995-10-03 Eastman Kodak Company Low resolution grey level printing method from high resolution binary input file
US5675370A (en) * 1993-11-22 1997-10-07 Intermec Corporation Printhead having multiple print lines, and method and apparatus for using same
US6384854B1 (en) * 1999-05-07 2002-05-07 Fargo Electronics, Inc. Printer using thermal print head
US7391427B2 (en) * 2005-06-28 2008-06-24 Zink Imaging, Llc Parametric programmable thermal printer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4760462A (en) * 1981-03-26 1988-07-26 Ricoh Company, Ltd. Heat sensitive recording system in facsimile communication
JPH01128837A (ja) * 1987-11-13 1989-05-22 Fujitsu Ltd 印刷装置の階調制御方式
JPH07108700A (ja) * 1993-10-15 1995-04-25 Shinko Electric Co Ltd プリンタのプリント方法
CN1118308A (zh) * 1994-06-30 1996-03-13 佳能株式会社 打印头、利用打印头的打印装置和打印方法
CN1403295A (zh) * 2001-09-06 2003-03-19 诚研科技股份有限公司 热打印头的打印方法
US6798433B1 (en) 2003-07-30 2004-09-28 Hi-Touch Imaging Technologies Co., Ltd. Method for increasing thermal print quality
CN1579790A (zh) * 2003-08-11 2005-02-16 诚研科技股份有限公司 增加热打印品质的方法
JP2006347034A (ja) * 2005-06-16 2006-12-28 Max Co Ltd サーマルプリンタ

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2261039A4

Also Published As

Publication number Publication date
EP2261039A4 (en) 2014-11-19
CN101549591A (zh) 2009-10-07
EP2261039A1 (en) 2010-12-15
JP2011516300A (ja) 2011-05-26
CN101549591B (zh) 2011-03-23
EP2261039B1 (en) 2016-02-17
US20110043861A1 (en) 2011-02-24
US8459769B2 (en) 2013-06-11

Similar Documents

Publication Publication Date Title
WO2009121236A1 (zh) 灰度打印控制方法和装置
JPS62256576A (ja) 感熱記録装置
US5075698A (en) Method of driving a recording head and a recording apparatus utilizing this method
KR0136762B1 (ko) 프린터의 계조데이타 처리방법 및 그 장치
US9233554B2 (en) Control device, printer, and control method of a printer
JP2008126616A5 (zh)
JP2902813B2 (ja) 熱記録方法及び装置
US6798433B1 (en) Method for increasing thermal print quality
TW200817199A (en) Thermal printing apparatuses and printing methods thereof
JP5574347B2 (ja) サーマルヘッドを制御するユニットを有する装置
JP2008279684A (ja) プリンタ、プリンタの制御方法、プリンタの制御プログラム
US10828909B2 (en) Thermal transfer printer and method for producing printed matter
JP7165503B2 (ja) サーマルプリンタおよび印刷制御方法
JP4046816B2 (ja) サーマルヘッド駆動装置
JP4384953B2 (ja) サーマルヘッドの通電制御方法
JPS61157063A (ja) 熱記録装置
JPS62282953A (ja) サ−マル記録装置
JPH04104452U (ja) サーマルラインプリンタ
JPH07314758A (ja) サーマルヘッド駆動制御方法及び装置
JP2927387B2 (ja) 多階調感熱記録装置
JPS6195960A (ja) サ−マルヘツド駆動方法及びその実施装置
JP2008290299A (ja) プリンタ、プリンタの制御方法、プリンタの制御プログラム
JPH07329340A (ja) 熱転写記録装置
JP2009000880A (ja) 感熱記録紙における中間調記録方式
JPH0592603A (ja) 画像記録装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08873734

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2008873734

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 12934952

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2011502212

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE