WO2007135785A1 - Thermal printer and driving method of thermal printer - Google Patents

Thermal printer and driving method of thermal printer Download PDF

Info

Publication number
WO2007135785A1
WO2007135785A1 PCT/JP2007/050894 JP2007050894W WO2007135785A1 WO 2007135785 A1 WO2007135785 A1 WO 2007135785A1 JP 2007050894 W JP2007050894 W JP 2007050894W WO 2007135785 A1 WO2007135785 A1 WO 2007135785A1
Authority
WO
WIPO (PCT)
Prior art keywords
pattern
dispersion
thermal
heating elements
line
Prior art date
Application number
PCT/JP2007/050894
Other languages
French (fr)
Japanese (ja)
Inventor
Masaji Iwata
Original Assignee
Citizen Holdings 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 Citizen Holdings Co., Ltd. filed Critical Citizen Holdings Co., Ltd.
Publication of WO2007135785A1 publication Critical patent/WO2007135785A1/en

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

Definitions

  • the present invention relates to a thermal printer that performs thermal recording with a thermal line head and a driving method, and more particularly to prevention of sticking.
  • Thermal printers that record images and characters on thermal paper using a thermal line head configured by linearly arranging a plurality of heating elements are known.
  • a thermal line head configured by linearly arranging a plurality of heating elements.
  • the thermal line head is divided into a plurality of blocks.
  • Drive control in units of blocks is employed (see, for example, Patent Document 1).
  • the ratio of the heating elements that are driven to generate heat among all the heating elements of the thermal line head is high! (High !, printing rate) or when the temperature is low. It is known that when driving in an environment, a phenomenon called stateking occurs! In this sticking, when a thermal paper made by laminating a thermal layer and an overcoat layer on a base paper is heated with a heating element, the molten overcoat layer solidifies, so that the surface of the heating element becomes a thermal paper. This sticking phenomenon, when this staging occurs, makes it difficult to accurately feed the thermal paper, causing pitch irregularities and reducing print quality.
  • FIG. 19 and FIG. 20 are explanatory diagrams and flowcharts for explaining a printing operation by a conventional thermal printer.
  • a single line is energized by sequentially dividing the heating elements of multiple blocks.
  • Fig. 19 shows a state where three blocks are driven by three energizations
  • Fig. 20 shows a state where six blocks are energized sequentially.
  • all blocks are printed sequentially in a time-division manner within the period Tc of one step operation of the stepping motor.
  • the head of block 1 is heated and printing is completed, it takes a relatively long time tl from the end of printing by the head of block 6 to the next step operation by the motor.
  • Heat sensitivity melted by heating the heads of Block 1 and Block 2 to Block 5 The paper overcoat layer cools and solidifies, and staging occurs.
  • FIGS. 21 and 22 are a flow chart and an operation explanatory diagram for explaining an operation example in which sequential driving of groups and paper feeding less than one dot after each driving are performed.
  • Fig. 21 (a) shows an example in which each block is driven alternately in a group consisting of two blocks, and paper feed (ul, u2, u3, u4, ...) is performed after the group is driven.
  • Fig. 21 (b) shows an example in which two blocks in a group are driven simultaneously, and paper feed (ul l, ul2, ul3, ul4, ...;) is performed after group driving.
  • an example is shown in which six blocks are grouped into three groups.
  • Patent Document 1 Japanese Patent Laid-Open No. 03-266657
  • Patent Document 2 JP 2001-63124 A
  • the present invention aims to solve the above-described problems and suppress staging, and thereby suppress a decrease in print quality.
  • the present invention suppresses the deviation of the temperature distribution of the head, in particular, the deviation of the temperature drop portion after heating in the head, by energizing the heating element dispersed throughout the head of the thermal printer. Suppress the occurrence of stateking.
  • the thermal printer performs the printing operation based on the print data sent by the host.
  • the print data includes not only character data but also image data, and includes both character data and image data.
  • the present invention includes a thermal printer driving method as a first aspect, and a thermal printer as a second aspect.
  • the first aspect of the present invention is the driving of a thermal printer that performs thermal recording on thermal paper that is fed by a thermal head that linearly arranges a plurality of heating elements on a line that is orthogonal to the paper feeding direction.
  • This method has a plurality of dispersion patterns for selecting a heating element to be energized from among a plurality of heating elements, and energizes the heating element in one line by taking the logical product of this dispersion pattern and one line of print data. Select the heating element to be used.
  • the selected heating element is selected by each dispersion pattern from the dots printed on one line, and a part of the print data is printed by energizing the heating element. With only one distributed pattern, only a part of one line data is printed. However, by combining printing with a plurality of distributed patterns, all of one line data is printed.
  • the second aspect of the thermal printer of the present invention includes a paper feeding means for conveying thermal paper, a thermal head that linearly arranges a plurality of heating elements on a line orthogonal to the paper feeding direction, and Is a thermal printer.
  • the thermal printer selects the heating element to be energized
  • a selection unit is provided, and the selection unit switches between a plurality of dispersion patterns for selecting a heating element to be energized from among the plurality of heating elements, and sequentially generates a logical product with one line of print data to generate energization. Select the body.
  • the dispersion pattern can be in a plurality of modes.
  • the first aspect of the distribution pattern can be applied to a form in which the thermal head is divided into a plurality of blocks.
  • the dispersion pattern of this aspect is a pattern for selecting a heating element to be energized from among the heating elements included in each block.
  • Each distribution pattern selects one or more heating elements in the block.
  • These dispersion patterns have a plurality of patterns with different heating elements to be selected, and a total dispersion pattern can be configured by combining these dispersion patterns. By using this total dispersion pattern, all the heating elements on one line of the thermal head are selected only once. Therefore, by using each dispersion pattern, it is possible to print while dispersing the print data.
  • the dispersion pattern is selected as a heating element for energizing one or more heating elements included in each block.
  • all the heating elements can be selected by the n dispersion patterns.
  • C distribution patterns that are the number of combinations in which n forces m are selected without duplication.
  • All the heating elements can be selected.
  • a dispersion pattern for selecting a plurality of heating elements can be selected as a heating element for energizing the same number of heating elements in each block.
  • each dispersion pattern is switched and applied.
  • One aspect of applying the plurality of dispersion patterns is to record the dispersion pattern in advance and switch the dispersion pattern to be used by sequentially reading the recorded plurality of dispersion pattern forces.
  • a plurality of dispersion patterns are The print data of one line is sequentially formed avoiding duplication, and the dispersion pattern is switched by using the dispersion pattern that is formed sequentially.
  • the recording unit records a plurality of dispersion patterns.
  • the dispersion pattern is switched by sequentially circulating and reading out a plurality of dispersion patterns from the recording means.
  • the dispersion pattern forming means sequentially forms a plurality of dispersion patterns.
  • the dispersion pattern is switched by sequentially forming a plurality of dispersion patterns from the dispersion pattern forming means.
  • the paper feeding means may transport the thermal paper after printing of one line of print data is completed.
  • thermal printer and the thermal printer driving method of the present invention sticking can be suppressed, and deterioration in print quality can be suppressed.
  • the temperature distribution in the entire head can be reduced.
  • FIG. 1 is a diagram for explaining a schematic configuration of a thermal printer of the present invention.
  • FIG. 2 is a schematic diagram for explaining the formation of a print pattern using the dispersion pattern of the invention.
  • FIG. 3 is a schematic diagram for explaining a more detailed configuration example of the thermal printer of the present invention.
  • FIG. 4 is a diagram illustrating data stored in ROM and RAM included in the control unit of the present invention.
  • FIG. 5 is a flowchart for explaining the operation of the thermal printer.
  • FIG. 6 is a time chart for explaining the operation of the thermal printer.
  • FIG. 7 is an explanatory diagram for explaining the operation of the gate array.
  • FIG. 8 is a diagram showing an example of a dispersion pattern in which printing is performed by selecting one dot in a block.
  • FIG. 9 is a diagram showing an example of a dispersion pattern for printing by selecting two dots in a block.
  • FIG. 10 is a diagram showing an energized state by a dispersion pattern.
  • FIG. 11 is a flowchart for explaining a switching operation between distributed energization and block energization.
  • FIG. 12 is a flowchart for explaining a switching operation between distributed energization and block energization.
  • FIG. 14 is a diagram showing an example of forming a dispersion pattern for each dot line data of each line.
  • FIG. 15 is a diagram illustrating data stored in ROM and RAM included in the control unit of the present invention.
  • FIG. 17 is a diagram showing an example of a dispersion pattern in which printing is selected in a block.
  • FIG. 18 is a flowchart for explaining a mode in which printing is performed by a formed dispersion pattern.
  • FIG. 19 is an explanatory diagram for explaining a printing operation by a conventional thermal printer.
  • FIG. 20 is a flowchart for explaining a printing operation by a conventional thermal printer.
  • FIG. 1 is a diagram for explaining a schematic configuration of a thermal printer of the present invention.
  • the thermal printer 1 generates a plurality of heat generations on a line perpendicular to the paper feed direction with respect to thermal paper (not shown) fed by the paper feed motor 34 by the processing of the CPU 2.
  • Thermal recording is performed by driving a thermal line head 3 in which a body (not shown) is linearly arranged.
  • the CPU 2 inputs print data from the host 10 and converts it into a signal form that can be processed by the thermal line head 3 based on the print data and the dispersion pattern 4.
  • CPU2 sends the converted print data signal (DATA) to thermal line head 3 in the cycle of the clock signal (CLOCK), holds the print data signal (DATA) by the latch signal (LATCH), and then strobe signal (STB1 to STB3,...) Etc. perform printing operation for each block. Further, the CPU 2 drives the paper feed motor 34 by the driver 24.
  • the thermal printer 1 of the present invention forms a print pattern using the dispersion pattern 4 for the print data input from the CPU 2. Using a dispersion pattern during printing The printing dots in the printing pattern are dispersed so as not to be biased, thereby preventing the temperature distribution from being biased.
  • FIG. 2 is a schematic diagram for explaining the formation of a print pattern using the dispersion pattern of the present invention.
  • FIG. 2 shows an example in which four dispersion patterns are used.
  • four distribution patterns are used, one line of print data is converted into four print patterns by four distribution patterns.
  • energization is performed on the heat generating elements corresponding to each print pattern to perform dot printing.
  • four printing patterns with four dispersion patterns are provided, so printing is performed with one line of print data by four energizations from the first energization to the fourth energization.
  • next one line of print data is energized four times from the first energization to the fourth energization in the same manner as the previous printing process. Print one line of print data.
  • a mode in which paper feeding is not performed may be employed.
  • the previous energized location and the next energized location are different line positions on the same line by the moving pitch, so that the sticking can be reduced. it can.
  • the movement pitch By setting the movement pitch to 1Z4 for one line, misalignment due to movement of the print location is reduced.
  • the previous energization location and the next energization location are the same line position on one line, but by using the dispersion pattern, Since the vicinity is heated in each energization, the degree of cooling after heating can be suppressed, and sticking can be reduced.
  • the thermal printer 1 includes a control unit 20 including a CPU 2 and a printer mechanism 30 including a line head unit 33.
  • print data is input from the host computer 10 and converted into a print pattern that can be printed by the line head unit 33 by the control unit 20, and printed by the line head unit 33 of the printer mechanism 30 based on this print pattern.
  • the control unit 20 inputs print data from the host computer 10 connected via the connector 25.
  • the control unit 20 is connected to ROM 21, RAM 22, gate array 23, motor driver 24, and the like.
  • the ROM 21 stores a print control program for controlling the print operation, distributed patterns, etc.
  • the RAM 22 is obtained by converting the print data (first print data) input from the host computer 10 or this print data. Stores dot line data (second print data), etc.
  • the gate array 23 also sends distributed data to the printer mechanism 30.
  • the control unit 20 sends the distributed data from the gate array 23 to the printer mechanism 30 through the connector 26, the converted print pattern data C, and the clock signal B for sending the data C, Send latch signal A to printer mechanism 30.
  • the control unit 20 has a motor driver 24 and drives and controls the paper feed motor 34 of the printer mechanism 30 via the connector 27.
  • the connector 27 inputs sensor signals from the sensors such as the head sensor 35, the paper sensor 36, and the temperature sensor 37 included in the printer mechanism 30 and sends them to the CPU 2.
  • the head sensor 35 detects the pressure contact or separation of the thermal line head 3 from the thermal paper
  • the paper sensor 36 detects the transport position or presence of the paper
  • the temperature sensor 37 detects the temperature of the line head 33. To detect.
  • the control unit 20 includes an AZD conversion unit 28, and converts an analog signal (not shown) received from the printer mechanism 30 via the connector 26 into a digital signal.
  • FIG. 4 is a diagram illustrating data stored in the ROM 21 and RAM 22 included in the control unit 20 of the present invention.
  • the ROM 21 stores a print control program, a character generator (font data), distributed data, and the like.
  • the print control program is a control program for causing the CPU to execute control related to the printing operation. For example, the control of data exchange performed through each connector 25, 26, 27, the print data fetched from the host computer 10 Various controls such as control to convert (first print data) into dot line data (second print data) for driving the dot line head 33 and control of the motor driver 24 are performed.
  • the character generator is font data for forming a print on the dot line head 33.
  • the distributed data is a distributed pattern in which dot line data is distributed on a line and printed. Pattern data for forming a pattern.
  • the pre-formed pattern data is stored in the ROM 21, and sequentially read out and used.
  • the distributed data may be stored in the ROM 21 or may be formed for each process and temporarily stored in the RAM 22. The configuration for forming and using this dispersion pattern will be described later.
  • the RAM 22 stores print data (first print data) input from the host computer 10 and dot line data (second print data) obtained by converting the print data.
  • the first print data includes character code data and image data representing print contents, print control code data, etc.
  • the second print data is dot line data and strobe data developed on each line. Read and analyze the first print data written in RAM22, then write it in RAM22. The written second print data is sequentially read out by the CPU 2 and sent to the first buffer 31 of the printer mechanism 30 via the gate array 23.
  • the printer mechanism 30 includes a first buffer 31, a second buffer 32, and a line head unit 33, a paper feed motor 34 for feeding paper, a head sensor 35, a paper sensor 36, and a paper sensor 36.
  • a paper sensor such as temperature sensor 37 is provided.
  • the first buffer 31, the second buffer 32, and the line head unit 33 constitute a thermal line head 3.
  • the CPU 2 reads the dot line data stored in the RAM 22 for each line and sends it from the connector 26 to the first buffer 31.
  • the first buffer 31 sequentially takes in the dot line data for one line based on the clock signal.
  • the dot line data is indicated by data C
  • the clock signal is indicated by clock B.
  • the second buffer 32 transfers the dot line data stored in the first buffer 31 based on the latch signal A from the control unit 20.
  • the second buffer 32 is a temporary memory that holds dot line data for driving the line head unit 33.
  • the dot line data held in the first buffer 31 is transferred to the second buffer 32.
  • the present invention performs this data transfer in a distributed manner without simultaneously performing all data.
  • the dot line data held in the first buffer 31 is selected by the distributed data sent from the ROM 21 or RAM 22 via the gate array 23. To do.
  • the line head unit 33 performs printing using the dot line data transferred to the second buffer.
  • Dot line data that is not transferred remains in the first buffer, and printing will not be completed if it remains as it is.
  • each of these distributed data is used in sequence to perform data transfer and printing. All dot line data can be printed by repeating.
  • the heating elements actually arranged in a line shape are not determined only by the dispersion pattern determined by the dispersion data.
  • the heat distribution is not necessarily determined by the dispersion pattern because it is an overlap part obtained by the logical product of the above, but the dispersion power of the print data is statistically avoided in the direction of local cooling of the head part. .
  • FIG. 3 shows an example in which the line head unit 33 is divided into a plurality of blocks (block 1, block 2,..., Block n).
  • a force capable of forming a dispersion pattern in each block is a combination of a plurality of blocks that do not necessarily need to form a dispersion pattern in units of blocks.
  • a dispersion pattern may be formed as a unit, or a dispersion pattern may be formed for dots (heating elements) provided in a line head unit that does not depend on blocks.
  • the plurality of blocks are not limited to adjacent blocks but may be dispersed.
  • 5 is a flowchart for explaining the operation of the thermal printer
  • FIG. 6 is a time chart for explaining the operation of the thermal printer
  • FIG. 7 is an explanatory diagram for explaining the operation of the gate array. It is.
  • Print data is transmitted from the host computer 10 to the control unit 20 of the thermal printer 1.
  • the print data is data for printing by a thermal printer, and includes not only character data but also image data.
  • the terminology used for printing shall include images as well as characters (Sl).
  • the CPU 2 of the control unit 20 stores the print data input via the connector 25 in the RAM 22 as the first print data (S2).
  • CPU 2 reads and analyzes the character code data and print control code data included in the first print data from RAM 22, and forms dot line data and strobe data for printing on the paper by the line head. (S3), the formed second print data is stored in RAM22. Since this data analysis is a generally known process, a description thereof is omitted (S4).
  • CPU 2 reads dot line data (data C in Fig. 6) (shown in Fig. 6 (a)) from RAM 22 for one line and passes it through connector 26 to clock B (shown in Fig. 6 (b)). Synchronously, sequentially send to the first buffer 31 and store (S5, S6). For the dot line data latched in the first buffer 31 by the latch signal (shown in Fig. 6 (c)), only the data determined by the distributed data sent from the gate array 23 is selected and transferred to the second buffer 32. (S7).
  • FIG. 7 shows the operation of the gate array and the selective transfer operation of the dot line data from the first buffer 31 to the second buffer 32 based on the distributed data.
  • Fig. 7 shows an example of setting distributed data in units of blocks, and shows an example of a distributed pattern that determines driving for 4 dots as distributed data.
  • the CPU 2 selects distributed data (S8), fetches the selected distributed data (here, data for 4 bits) from the ROM 21, and sends it to the gate array 23 (S9).
  • the gate array 23 sends the distributed data (distributed data (d) to (g) in FIG. 6) to the buffer in synchronization with the latch signal A ((h) in FIG. 6).
  • [1000] distributed data is shown.
  • the second buffer 32 takes in the dot line data selected based on the distributed data sent from the first buffer 31.
  • the bit portion data determined by the distributed data is transferred to the second buffer 32.
  • FIG. 7 in each block, only the dot line data of the first bit determined by [1000] distributed data is transferred to the second buffer 32, and the dot line data of the second to fourth bits are The data is not transferred to the second buffer 32, and no data is maintained.
  • the second notifier 32 is cleared after each printing operation and returns to the initial state.
  • FIG. 7 shows an example in which the dot line data stored in the first buffer has data (indicated by ⁇ ) that enables printing in the bit portion corresponding to all dots.
  • Data (indicated by ⁇ ) is stored in the first bit portion (left end in the figure) of each of the 32 blocks. If the dot line data in the first bit portion is data that disables printing, the initial state is substantially the same as the bit portion that was selected in the distributed data (S10).
  • the data stored in the second buffer 32 is sent to the line head unit 33 (Sl l).
  • the line head unit 33 performs dot printing in each block. Printing with one distributed data prints only a part of all dot line data, and printing for one line is performed by performing all printing with the remaining distributed data.
  • Figure 6 (i) corresponds to printing with the first distributed data.
  • Fig. 6 (j) to Fig. 6 (1) correspond to printing with the second to fourth distributed data (S12).
  • the CPU 2 more effectively suppresses the sticking by driving the paper feed motor 34 by the motor driver 24 and feeding the paper every time printing by each distributed data is completed.
  • the feed amount of this paper feed can be obtained by dividing the feed amount for one line by the number of times of distributed processing, so that when a plurality of printing operations by dispersion are completed, it is within the line width.
  • step S13 one line is printed.
  • Fig. 8 shows an example of a distributed pattern in which one dot is selected in the block
  • Fig. 9 shows an example of a distributed pattern in which two dots are selected in the block.
  • the example shown in FIG. 8 is an example of a dispersion pattern when four dots are one block, and one dot in this block is selected, and shows the same example as the example shown in FIG. .
  • four dispersion patterns are included to select one dot from four dots.
  • the dispersion pattern shown in FIG. 8 includes four dispersion patterns [1000], [0100], [0010], and [0001].
  • the first distribution pattern [1000] selects the first bit in the block for printing
  • the second distribution pattern [0100] selects the second bit in the block.
  • the third distribution pattern [0010] selects and prints the third bit in the block
  • the fourth distribution pattern [0001] selects and prints the fourth bit in the block. I do.
  • FIG. 10 (a) shows an energized state according to the dispersion pattern of FIG. Fig. 10 (b) shows the energization state with another dispersion pattern for selecting one dot.
  • the dispersion pattern example in Fig. 10 (a) is an example in which dots are selected in order
  • the dispersion pattern example in Fig. 10 (b) is an example in which dots are selected in any order.
  • a straight line is printed by repeating diagonal lines in units of blocks.
  • one straight line is distributed and printed.
  • the example shown in Fig. 9 is an example of a dispersion pattern when four dots are one block and two dots in this block are selected. Here, 2 dispersion patterns are included to select 1 dot from 4 dots.
  • the dispersion pattern shown in Fig. 9 includes two dispersion patterns [1010] and [0101].
  • the first distribution pattern [1010] selects the first and third bits in the block for printing
  • the second distribution pattern [0101] displays the second bit in the block. Select the 4th bit and print.
  • Fig. 10 (c) shows the energization state according to the dispersion pattern of Fig. 9.
  • Fig. 10 (d) shows the energization state with another dispersion pattern that selects 2 dots.
  • the thermal printer of the present invention includes a mode in which the heating elements of the dots included in each block are dispersed and energized using the dispersion pattern of the present invention described above (hereinafter referred to as distributed energization), and the heat generation of the dots of the blocks.
  • the mode in which the body is energized simultaneously (hereinafter referred to as block energization) can be controlled by switching according to the print data print rate or the line head temperature.
  • the influence of the printing deviation is reduced as the number of dots contained in the block is smaller than the printing deviation in the transport direction at least in the block when the block is energized.
  • block energization energizes in units of blocks, the supply power is limited when the print rate of print data is high. Therefore, the number of blocks that can be energized at the same time is limited, and sticking is likely to occur if the time interval for energization in the same block is long. Therefore, block energization can be applied when sticking is difficult to occur! / And the printing rate is low.
  • 11 and 12 are flowcharts for explaining the switching operation between the distributed energization and the block energization.
  • the print data transmitted from the host computer is stored in the RAM (S21, S22), and the print data is analyzed to form dot line data (S23).
  • a print rate is obtained for the dot line data for one line, and compared with a preset print rate (S24).
  • S24 distributed energization using a dispersion pattern
  • S26 block energization is performed in units of blocks (S26). This energization process can be performed for each line.
  • the print data transmitted from the host computer is stored in the RAM (S31, S32), and the print data is analyzed to form dot line data (S33).
  • the temperature of the line head portion detected by the temperature sensor 37 or the like is compared with a preset temperature (S34). If the temperature of the line head is lower than the set value, perform distributed energization using the distributed pattern (S35). If the temperature of the line head is higher than the set value, block the block. Block energization in units is performed (S36). This energization process can be performed for each line.
  • FIG. 13 is a diagram for explaining a state in which printing is performed by switching between block energization and distributed energization.
  • FIGS. 13A and 13B show print data
  • FIGS. 13C and 13D show the print state.
  • FIG. 13 (a) shows the case where the printing rate is high
  • FIG. 13 (b) shows the case where the printing rate is low.
  • Fig. 13 (c) shows the case where the printing rate is high
  • Fig. 13 (c) shows the case where the printing rate is low.
  • the dispersion pattern is set in advance and stored in the ROM 21, and the dots that are sequentially read out and the dot line data force is selected for printing are also selected. It may be set.
  • FIG. 14 shows an example in which a dispersion pattern is formed for each dot line data of each line.
  • Figure 14 (a) shows the distribution pattern when the first and second lines are energized.
  • each dispersion pattern used in each line is set so that the dots on one line do not leak or overlap.
  • this dispersion pattern can be set using the number of all dots on one line as the number of energization times (in FIG. The number of dots to be energized in each energization operation is determined by dividing by the number of dots.
  • the specified number of dots are dispersed and selected from all the dots on one line.
  • a distribution pattern for electricity is formed, and then a predetermined number of dots are dispersed and selected from the remaining dots on one line to form a dispersion pattern for the second energization.
  • a predetermined number of dots are dispersed and selected from the remaining dots on one line to form a dispersion pattern.
  • Figs. 14 (a) and 14 (b) show examples in which a dispersion pattern is formed with one line as a range! / ⁇ , but the whole line is divided into a plurality of parts and distributed within the divided range. A pattern may be formed.
  • Fig. 14 (c) and (d) the entire line is divided into two, and a dispersion pattern is formed within each division range.
  • the formation of the dispersion pattern described above can be determined for each line or for each of a plurality of lines.
  • the distribution pattern described above can be stored and used in the RAM 22 every time it is formed by the CPU 2 as shown in FIG. 15, for example.
  • FIG. 16 shows the operation of the gate array and the selective transfer operation of the dot line data from the first buffer 31 to the second buffer 32 by the distributed data in the mode of forming the distributed pattern. Note that FIG. 16 shows only an example of one formed dispersion pattern.
  • the CPU 2 forms distributed data (here, [100010010...]) In the distributed pattern forming unit, temporarily stores it in the RAM 22, and sends it to the gate array 23.
  • the gate array 23 sends the distributed data to the buffer in synchronization with the latch signal A.
  • [1000] distributed data is shown.
  • the second buffer 32 takes in the dot line data selected based on the distributed data sent from the first buffer 31.
  • the bit portion data determined by the distributed data is transferred to the second buffer 32.
  • the dot lines of the 1st, 5th, 8th ... th bit defined by the distributed data of [100010010 ...] Only the data is transferred to the second buffer 32, and the dot line data of the other bits is not transferred to the second buffer 32, and no data is maintained.
  • the second buffer 32 is cleared and returns to the initial state after each printing operation.
  • FIG. 16 shows an example in which the dot line data stored in the first buffer has data (indicated by ⁇ ) that enables printing in the bit portion corresponding to all dots.
  • Data (indicated by ⁇ ) is stored in the 1st, 5th, 8th,..., Bit portions of 32 (the left end in the figure). If the dot line data of the first bit portion is data that disables printing, the initial state is substantially the same as the bit portion that was selected by this distributed data.
  • the data stored in the second buffer 32 is sent to the line head unit 33, and the line head unit 33 performs dot printing. Printing with one piece of distributed data prints only a part of all dot line data. By printing all of the remaining distributed data, printing for one line is performed.
  • FIG. 17 shows a case where printing for one line is performed by energization four times.
  • the dispersion pattern forming unit forms a dispersion pattern in each energization.
  • one line is printed in one cycle from tl to t4.
  • t5 to t8 shown in Fig. 17! / ⁇
  • the next line is printed.
  • FIG. 18 is a flowchart for explaining a mode in which printing is performed using the formed dispersion pattern.
  • the set number can determine the number of dots to be energized in each energization operation by dividing the total number of dots by the number of energizations (S42).
  • the selected dot pattern is stored in the RAM as a dispersion pattern (S43), and printing is performed using the dispersion pattern stored in the RAM (S44).
  • the remaining number of dots on one line is selected to form a dispersed pattern for the next energization (S45), and printing is performed using the dispersion pattern stored in the RAM ( S46).
  • steps S45 and S46 until all the dots on the line are selected (S47).
  • a circuit for transferring dot line data by distributed data from the first buffer 31 to the second buffer 32 included in the printer mechanism 30 is included in the gate array 23 of the control unit 20. It is also possible.

Landscapes

  • Electronic Switches (AREA)

Abstract

A thermal printer, comprising a sheet feed means for conveying a thermal sheet, and a thermal head having a plurality of heating elements arranged linearly on a line intersecting the sheet feed direction perpendicularly, is further provided with a means for selecting heating elements to be energized, wherein the selection means switches between a plurality of dispersion patterns for selecting heating elements to be energized from among the plurality of heating elements, and selects heating elements to be energized by ANDing a pattern with a line of print data sequentially. Heating elements energized and heated on one line are dispersed using a dispersion pattern and biased temperature distribution due to cooling after heating is corrected thus suppressing occurrence of sticking due to biased temperature distribution. Consequently, biased temperature distribution is corredted in the entire head, and sticking and degradation in print quality are suppressed.

Description

明 細 書  Specification
サーマルプリンタおよびサーマルプリンタの駆動方法  Thermal printer and thermal printer driving method
技術分野  Technical field
[0001] 本発明は、サーマルラインヘッドによって感熱記録を行うサーマルプリンタおよび駆 動方法に関し、特に、ステイツキングの防止に関する。  The present invention relates to a thermal printer that performs thermal recording with a thermal line head and a driving method, and more particularly to prevention of sticking.
背景技術  Background art
[0002] 複数の発熱体を線状に配列して構成されるサーマルラインヘッドを用いて感熱紙 に画像や文字を記録するサーマルプリンタが知られて 、る。このサーマルプリンタで は、ラインが有する全発熱体に通電して同時駆動した場合に、大きな駆動電力を要 し、また、電源装置も大型化するため、サーマルラインヘッドを複数のブロックに分割 し、各ブロックを単位とした駆動制御が採用されている(例えば、特許文献 1参照)。  [0002] Thermal printers that record images and characters on thermal paper using a thermal line head configured by linearly arranging a plurality of heating elements are known. In this thermal printer, when all the heating elements in the line are energized and driven simultaneously, a large drive power is required, and the power supply device is also enlarged, so the thermal line head is divided into a plurality of blocks. Drive control in units of blocks is employed (see, for example, Patent Document 1).
[0003] このようなサーマルプリンタでは、サーマルラインヘッドが有する全発熱体の内で発 熱駆動される発熱体の比率が高!、(高!、印字率)で駆動した場合や、低温度の環境 下で駆動した場合には、ステイツキングと呼ばれる現象が発生することが知られて!/ヽ る。このステイツキングは、ベース紙上に感熱層とオーバーコート層を積層してなる感 熱紙を発熱体で加熱した際に、溶融したオーバーコート層が凝固することによって、 発熱体の表面が感熱紙に貼り付く現象であり、このステイツキングが発生した場合に は、感熱紙の正確な紙送りが困難となり、ピッチむらが発生して印刷品質が低下する といった不具合の要因となる。  [0003] In such a thermal printer, the ratio of the heating elements that are driven to generate heat among all the heating elements of the thermal line head is high! (High !, printing rate) or when the temperature is low. It is known that when driving in an environment, a phenomenon called stateking occurs! In this sticking, when a thermal paper made by laminating a thermal layer and an overcoat layer on a base paper is heated with a heating element, the molten overcoat layer solidifies, so that the surface of the heating element becomes a thermal paper. This sticking phenomenon, when this staging occurs, makes it difficult to accurately feed the thermal paper, causing pitch irregularities and reducing print quality.
[0004] 図 19,図 20は従来のサーマルプリンタによる印字動作を説明するための説明図お よびフローチャートである。一ラインを複数のブロックの発熱体を順次分割して通電す る。図 19は 3ブロック分を 3回の通電で駆動する状態を示し、図 20は 6ブロックを順次 通電する状態を示しいている。図 20において、ステッピングモータの一ステップ動作 の期間 Tc内に、全ブロックの印字を時分割によつて順次行う。このとき、ブロック 1の ヘッドが加熱されて印刷が終了した時点から、ブロック 6のヘッドによる印刷が終了し た後モータによって次のステップ動作が行われるまでに比較的長時間 tlを要するた め、ブロック 1や、ブロック 2〜ブロック 5のヘッドの加熱によってー且溶融された感熱 紙のオーバーコート層が冷えて固化し、ステイツキングが発生する。 FIG. 19 and FIG. 20 are explanatory diagrams and flowcharts for explaining a printing operation by a conventional thermal printer. A single line is energized by sequentially dividing the heating elements of multiple blocks. Fig. 19 shows a state where three blocks are driven by three energizations, and Fig. 20 shows a state where six blocks are energized sequentially. In Fig. 20, all blocks are printed sequentially in a time-division manner within the period Tc of one step operation of the stepping motor. At this time, since the head of block 1 is heated and printing is completed, it takes a relatively long time tl from the end of printing by the head of block 6 to the next step operation by the motor. Heat sensitivity melted by heating the heads of Block 1 and Block 2 to Block 5 The paper overcoat layer cools and solidifies, and staging occurs.
[0005] そこで、このようなステイツキングを防ぐために、全ブロックへの通電が終了した後に 再度全ブロックのヘッドに短いパルスを印加することによってオーバーコート層を溶 融することが提案されて 、る。  [0005] Therefore, in order to prevent such sticking, it has been proposed to melt the overcoat layer by applying a short pulse to the heads of all blocks again after the energization of all blocks is completed. .
[0006] また、上記した全ブロックのヘッドに対して短パルスを再印加する場合に、各ブロッ クへの短パルスの印加間隔が長いと、やはりステイツキングが発生するという問題があ るため、サーマルラインヘッドの発熱体を複数のブロックに分割し、さらに複数のブロ ックによってグループを形成し、このグループを順次駆動し、各駆動後に 1ドットよりも 少な 、紙送りを行うことによってステイツキングを防ぐことが提案されて 、る(特許文献 2参照)。  [0006] In addition, when a short pulse is reapplied to the heads of all the blocks described above, there is a problem in that sticking occurs if the application interval of the short pulse to each block is long. The heating element of the thermal line head is divided into a plurality of blocks, and a group is formed by a plurality of blocks. This group is driven sequentially, and the paper is fed by fewer than 1 dot after each drive. It has been proposed to prevent this (see Patent Document 2).
[0007] 図 21,図 22は、グループの順次駆動と、各駆動後の 1ドットよりも少ない紙送りとを 行う動作例を説明するためのフローチャートおよび動作説明図である。図 21 (a)は、 二つのブロックからなるグループにお 、て各ブロックを交互に駆動し、グループの駆 動後に紙送り(ul, u2, u3, u4, · · ·)を行う例であり、図 21 (b)はグループ内の二つ のブロックを同時駆動し、グループ駆動後に紙送り(ul l, ul2, ul3, ul4,…;)を行う 例である。ここでは、 6つのブロックを 3つのグループとする例を示している。  FIGS. 21 and 22 are a flow chart and an operation explanatory diagram for explaining an operation example in which sequential driving of groups and paper feeding less than one dot after each driving are performed. Fig. 21 (a) shows an example in which each block is driven alternately in a group consisting of two blocks, and paper feed (ul, u2, u3, u4, ...) is performed after the group is driven. Fig. 21 (b) shows an example in which two blocks in a group are driven simultaneously, and paper feed (ul l, ul2, ul3, ul4, ...;) is performed after group driving. Here, an example is shown in which six blocks are grouped into three groups.
[0008] グループを単位とする駆動と紙送りを繰り返した場合には、図 22に示すように、ーラ イン分の印字において、印字の走査を開始する端部と走査を終了する端部との間に かけて、各紙送りの移動量を加算した段差が生じる。  [0008] When driving and paper feeding in units of groups are repeated, as shown in FIG. 22, in the printing for the whole line, the end portion for starting the scanning and the end portion for ending the scanning In between, there is a step that adds the amount of movement of each paper feed.
特許文献 1:特開平 03 - 266657号公報  Patent Document 1: Japanese Patent Laid-Open No. 03-266657
特許文献 2:特開 2001— 63124号公報  Patent Document 2: JP 2001-63124 A
発明の開示  Disclosure of the invention
発明が解決しょうとする課題  Problems to be solved by the invention
[0009] 従来のようにブロック毎に通電を行う場合には、ラインヘッドの走査方向において、 最初のブロックは、そのブロックでの印字が終了して力 最後のブロックの印字が終 了するまでの間、感熱紙と接触した状態となり、最後のブロックの印字が終了するころ には温度が低下して、ステイツキングが発生し易く成る。 [0009] When energization is performed on a block-by-block basis as in the prior art, in the scanning direction of the line head, the first block is printed from the end of printing in that block until the last block is printed. In the meantime, it is in contact with the thermal paper, and when the printing of the last block is completed, the temperature drops and sticking is likely to occur.
[0010] また、ステイツキングの発生を防ぐためにブロック毎に通電と紙送りを繰り返す構成 においても、ブロックを単位として通電が行われるため、ヘッド全体からみると温度分 布に偏りが生じる。そのため、ステイツキングを良好に防ぐにはブロック長を短くする必 要があるが、このようにブロック長を短くすると紙送りの回数が増加し、印字の走査を 開始する端部と走査を終了する端部との間の段差が大きくなるという問題がある。 [0010] In addition, a configuration in which energization and paper feeding are repeated for each block in order to prevent occurrence of staging However, since current is applied in units of blocks, the temperature distribution is biased when viewed from the whole head. Therefore, it is necessary to shorten the block length in order to prevent sticking satisfactorily. However, if the block length is shortened in this way, the number of paper feeds increases, and the end of scanning and the scanning end. There is a problem that the level difference between the ends becomes large.
[0011] そこで、本発明は上記の課題を解決して、ステイツキングを抑制することを目的とし、 これによつて、印刷品質の低下を抑制することを目的とする。  [0011] Therefore, the present invention aims to solve the above-described problems and suppress staging, and thereby suppress a decrease in print quality.
[0012] また、ヘッド全体において温度分布の偏りを低減することを目的とする。  It is another object of the present invention to reduce the temperature distribution bias in the entire head.
課題を解決するための手段  Means for solving the problem
[0013] 本発明は、サーマルプリンタのヘッド全体にわたって発熱体を分散させて通電する ことによって、ヘッドの温度分布の偏り、特に、ヘッドにおいて加熱後の温度低下部 の偏りを抑制し、これによつてステイツキングの発生を抑制する。なお、以下では、サ 一マルプリンタは、ホスト等力 送られた印字データに基づいて印字動作を行うものと する。また、ここで、印字データは、文字データに限らず画像データも含むものとし、 文字データと画像データの両データを含めて印字データとする。  [0013] The present invention suppresses the deviation of the temperature distribution of the head, in particular, the deviation of the temperature drop portion after heating in the head, by energizing the heating element dispersed throughout the head of the thermal printer. Suppress the occurrence of stateking. In the following, it is assumed that the thermal printer performs the printing operation based on the print data sent by the host. Here, the print data includes not only character data but also image data, and includes both character data and image data.
[0014] 本発明は、第 1の態様としてサーマルプリンタの駆動方法を有し、第 2の態様として サーマルプリンタを有する。  The present invention includes a thermal printer driving method as a first aspect, and a thermal printer as a second aspect.
[0015] 本発明の第 1の態様は、紙送り方向と直交するライン上に複数の発熱体を線状に 配置するサーマルンヘッドによって紙送りされる感熱紙に感熱記録を行うサーマルプ リンタの駆動方法であり、複数の発熱体の内から通電する発熱体を選択する複数の 分散パターンを有し、この分散パターンと一ラインの印字データとの論理積をとること によって一ラインの発熱体から通電する発熱体を選択する。選択された発熱体は、一 ライン上で印字されるドットの内から各分散パターンによって選択されたものであって 、この発熱体に通電することによって印字データの一部が印字される。一分散パター ンのみでは、一ラインデータの一部のみが印字されるに過ぎないが、複数の分散パ ターンによる印字を組み合わせることで、一ラインデータの全ての印字が行われる。  [0015] The first aspect of the present invention is the driving of a thermal printer that performs thermal recording on thermal paper that is fed by a thermal head that linearly arranges a plurality of heating elements on a line that is orthogonal to the paper feeding direction. This method has a plurality of dispersion patterns for selecting a heating element to be energized from among a plurality of heating elements, and energizes the heating element in one line by taking the logical product of this dispersion pattern and one line of print data. Select the heating element to be used. The selected heating element is selected by each dispersion pattern from the dots printed on one line, and a part of the print data is printed by energizing the heating element. With only one distributed pattern, only a part of one line data is printed. However, by combining printing with a plurality of distributed patterns, all of one line data is printed.
[0016] また、本発明のサーマルプリンタの第 2の態様は、感熱紙を搬送する紙送り手段と、 紙送り方向と直交するライン上に複数の発熱体を線状に配置するサーマルンヘッドと を備えるサーマルプリンタである。サーマルプリンタは、通電する発熱体を選択する 選択手段を備えており、選択手段は、複数の発熱体の内から通電する発熱体を選択 する複数の分散パターンを切り替え、一ライン分の印字データとの論理積を順次とる ことによって通電する発熱体を選択する。 [0016] Further, the second aspect of the thermal printer of the present invention includes a paper feeding means for conveying thermal paper, a thermal head that linearly arranges a plurality of heating elements on a line orthogonal to the paper feeding direction, and Is a thermal printer. The thermal printer selects the heating element to be energized A selection unit is provided, and the selection unit switches between a plurality of dispersion patterns for selecting a heating element to be energized from among the plurality of heating elements, and sequentially generates a logical product with one line of print data to generate energization. Select the body.
[0017] 分散パターンを用いることで、一ライン上において通電されて加熱される発熱体を 分散させることができ、加熱後の冷却による温度分布の偏りを低減させることができる 。これによつて、温度分布の偏りによるステイツキングの発生を抑制することができる。  [0017] By using the dispersion pattern, it is possible to disperse the heating elements that are energized and heated on one line, and to reduce the temperature distribution bias due to cooling after heating. Thereby, it is possible to suppress the occurrence of sticking due to the uneven temperature distribution.
[0018] 分散パターンは、複数の態様とすることができる。分散パターンの第 1の態様は、サ 一マルヘッドを複数のブロックに分割する形態に適用することができる。この態様の 分散パターンは、各ブロックが備える発熱体の内から通電する発熱体を選択するパ ターンである。各分散パターンは、ブロック内の 1つあるいは複数の発熱体を選択す る。これら分散パターンは選択する発熱体を異ならせた複数のパターンを有し、これ ら分散パターンを組み合わせることで全分散パターンを構成することができる。この全 分散パターンを用いることによって、サーマルヘッドが備える一ライン上で有する全て の発熱体を一回だけ選択する。したがって、各分散パターンを用いることによって、 印字データを分散させながら印字することができる。  [0018] The dispersion pattern can be in a plurality of modes. The first aspect of the distribution pattern can be applied to a form in which the thermal head is divided into a plurality of blocks. The dispersion pattern of this aspect is a pattern for selecting a heating element to be energized from among the heating elements included in each block. Each distribution pattern selects one or more heating elements in the block. These dispersion patterns have a plurality of patterns with different heating elements to be selected, and a total dispersion pattern can be configured by combining these dispersion patterns. By using this total dispersion pattern, all the heating elements on one line of the thermal head are selected only once. Therefore, by using each dispersion pattern, it is possible to print while dispersing the print data.
[0019] このブロックに分割する形態において、分散パターンは、各ブロックに含まれる発熱 体の内の一つあるいは複数の発熱体を通電する発熱体として選択する。 n個の発熱 体を有するブロックにおいて、一つの発熱体を選択する分散パターンの場合には n 個の分散パターンによって全ての発熱体を選択することができる。また、 n個の発熱 体を有するブロックにおいて、 m個の発熱体を選択する分散パターンの場合には n個 力 m個を重複なく選び出す組み合わせの個数である C個の分散パターンによつ  [0019] In this form of division into blocks, the dispersion pattern is selected as a heating element for energizing one or more heating elements included in each block. In the case of a dispersion pattern in which one heating element is selected in a block having n heating elements, all the heating elements can be selected by the n dispersion patterns. In addition, in a block having n heating elements, in the case of a distributed pattern in which m heating elements are selected, there are C distribution patterns that are the number of combinations in which n forces m are selected without duplication.
n m  n m
て全ての発熱体を選択することができる。また、複数の発熱体を選択する分散パター ンは、各ブロックにおいて同数の発熱体を通電する発熱体として選択することができ る。  All the heating elements can be selected. In addition, a dispersion pattern for selecting a plurality of heating elements can be selected as a heating element for energizing the same number of heating elements in each block.
[0020] 印字データに対して複数の分散パターンを適用する際には、一分散パターン毎に 切り替えて適用する。この複数の分散パターンを適用する際の一態様は、分散バタ ーンを予め記録しておき、記録した複数の分散パターン力 順次読み出すことにより 使用する分散パターンを切り替える。また、他の態様では、複数の分散パターンを、 一ラインの印字データに対して重複を避けて順次形成し、順次形成した分散パター ンを使用することにより分散パターンを切り替える。 [0020] When a plurality of dispersion patterns are applied to print data, each dispersion pattern is switched and applied. One aspect of applying the plurality of dispersion patterns is to record the dispersion pattern in advance and switch the dispersion pattern to be used by sequentially reading the recorded plurality of dispersion pattern forces. In another aspect, a plurality of dispersion patterns are The print data of one line is sequentially formed avoiding duplication, and the dispersion pattern is switched by using the dispersion pattern that is formed sequentially.
[0021] 記録手段は、複数の分散パターンを記録する。記録手段から複数の分散パターン を順次循環させて読み出すことで、分散パターンの切り替えを行う。また、分散バタ ーン形成手段は、複数の分散パターンを順次形成する。分散パターン形成手段から 複数の分散パターンを順次形成することで、分散パターンの切り替えを行う。  [0021] The recording unit records a plurality of dispersion patterns. The dispersion pattern is switched by sequentially circulating and reading out a plurality of dispersion patterns from the recording means. The dispersion pattern forming means sequentially forms a plurality of dispersion patterns. The dispersion pattern is switched by sequentially forming a plurality of dispersion patterns from the dispersion pattern forming means.
[0022] 紙送り手段は、各通電の後に感熱紙を搬送する他、一ラインの印字データの印字 が終了した後に感熱紙を搬送するようにしてもょ 、。  [0022] In addition to conveying the thermal paper after each energization, the paper feeding means may transport the thermal paper after printing of one line of print data is completed.
発明の効果  The invention's effect
[0023] 本発明のサーマルプリンタおよびサーマルプリンタの駆動方法によれば、スティツキ ングを抑制することができ、印刷品質の低下を抑制することができる。また、ヘッド全 体において温度分布の偏りを低減することができる。  [0023] According to the thermal printer and the thermal printer driving method of the present invention, sticking can be suppressed, and deterioration in print quality can be suppressed. In addition, the temperature distribution in the entire head can be reduced.
図面の簡単な説明  Brief Description of Drawings
[0024] [図 1]本発明のサーマルプリンタの概略構成を説明するための図である。 FIG. 1 is a diagram for explaining a schematic configuration of a thermal printer of the present invention.
[図 2]発明の分散パターンを用いて印字パターンの形成を説明するための概略図で ある。  FIG. 2 is a schematic diagram for explaining the formation of a print pattern using the dispersion pattern of the invention.
[図 3]本発明のサーマルプリンタのより詳細な構成例を説明するための概略図である  FIG. 3 is a schematic diagram for explaining a more detailed configuration example of the thermal printer of the present invention.
[図 4]本発明の制御部が備える ROMおよび RAMが格納するデータを説明する図で ある。 FIG. 4 is a diagram illustrating data stored in ROM and RAM included in the control unit of the present invention.
[図 5]サーマルプリンタの動作を説明するためのフローチャートである。  FIG. 5 is a flowchart for explaining the operation of the thermal printer.
[図 6]サーマルプリンタの動作を説明するためのタイムチャートである。  FIG. 6 is a time chart for explaining the operation of the thermal printer.
[図 7]ゲートアレイの動作を説明するための説明図である。  FIG. 7 is an explanatory diagram for explaining the operation of the gate array.
[図 8]ブロック内において 1つのドットを選択して印字を分散パターンの例を示す図で ある。  FIG. 8 is a diagram showing an example of a dispersion pattern in which printing is performed by selecting one dot in a block.
[図 9]ブロック内において 2つのドットを選択して印字を分散パターンの例を示す図で ある。  FIG. 9 is a diagram showing an example of a dispersion pattern for printing by selecting two dots in a block.
[図 10]分散パターンによる通電状態を示す図である。 [図 11]分散通電とブロック通電との切り替え動作を説明するためのフローチャートで ある。 FIG. 10 is a diagram showing an energized state by a dispersion pattern. FIG. 11 is a flowchart for explaining a switching operation between distributed energization and block energization.
[図 12]分散通電とブロック通電との切り替え動作を説明するためのフローチャートで ある。  FIG. 12 is a flowchart for explaining a switching operation between distributed energization and block energization.
圆 13]ブロック通電と分散通電とを切り替えて印字する状態を説明するための図であ る。 13] This is a diagram for explaining the state of printing by switching between block energization and distributed energization.
[図 14]各ラインのドットラインデータ毎に分散パターンを形成する例を示す図である。  FIG. 14 is a diagram showing an example of forming a dispersion pattern for each dot line data of each line.
[図 15]本発明の制御部が備える ROMおよび RAMが格納するデータを説明する図 である。 FIG. 15 is a diagram illustrating data stored in ROM and RAM included in the control unit of the present invention.
圆 16]ゲートアレイの別の動作を説明するための説明図である。 圆 16] An explanatory diagram for explaining another operation of the gate array.
[図 17]ブロック内において選択して印字を分散パターンの例を示す図である。  FIG. 17 is a diagram showing an example of a dispersion pattern in which printing is selected in a block.
[図 18]形成した分散パターンによって印字を行う態様を説明するためのフローチヤ一 トである。  FIG. 18 is a flowchart for explaining a mode in which printing is performed by a formed dispersion pattern.
[図 19]従来のサーマルプリンタによる印字動作を説明するための説明図である。  FIG. 19 is an explanatory diagram for explaining a printing operation by a conventional thermal printer.
[図 20]従来のサーマルプリンタによる印字動作を説明するためのフローチャートであ る。 FIG. 20 is a flowchart for explaining a printing operation by a conventional thermal printer.
圆 21]グループの順次駆動と、各駆動後の 1ドットよりも少ない紙送りとを行う動作例 を説明するためのフローチャートである。 21] This is a flowchart for explaining an operation example in which sequential driving of groups and paper feeding less than one dot after each driving are performed.
圆 22]グループの順次駆動と、各駆動後の 1ドットよりも少ない紙送りとを行う動作例 を説明するためのフローチャートである。 [22] This is a flowchart for explaining an operation example in which sequential driving of groups and paper feeding less than one dot after each driving are performed.
符号の説明 Explanation of symbols
1 サーマルプリンタ  1 Thermal printer
2 CPU  2 CPU
3 サーマノレラインヘッド  3 Thermal line head
4 分散パターン  4 Dispersion pattern
10 ホストコンピュータ  10 Host computer
20 制御部  20 Control unit
21 ROM 22 RAM 21 ROM 22 RAM
23 ゲートアレイ  23 Gate array
24 モータドライノく  24 motor dryer
25、 26, 27 コネクタ  25, 26, 27 connectors
28 AZDコンバータ  28 AZD Converter
30 プリンタ機構  30 Printer mechanism
31 第 1バッファ  31 1st buffer
32 第 2バッファ  32 Second buffer
33 ヘッド部  33 Head
34 モータ  34 Motor
35 ヘッドセンサ  35 Head sensor
36 用紙センサ  36 Media sensor
37 温度センサ  37 Temperature sensor
発明を実施するための最良の形態  BEST MODE FOR CARRYING OUT THE INVENTION
[0026] はじめに、本発明のサーマルプリンタの態様について説明する。  First, an embodiment of the thermal printer of the present invention will be described.
[0027] 図 1は本発明のサーマルプリンタの概略構成を説明するための図である。図 1にお いて、サーマルプリンタ 1は、 CPU2の処理によって、紙送りモータ 34によって紙送り される感熱紙(図示していない)に対して、紙送り方向と直交するライン上に複数の発 熱体(図示して 、な 、)を線状に配置するサーマルラインヘッド 3を駆動して感熱記録 を行う。 FIG. 1 is a diagram for explaining a schematic configuration of a thermal printer of the present invention. In FIG. 1, the thermal printer 1 generates a plurality of heat generations on a line perpendicular to the paper feed direction with respect to thermal paper (not shown) fed by the paper feed motor 34 by the processing of the CPU 2. Thermal recording is performed by driving a thermal line head 3 in which a body (not shown) is linearly arranged.
[0028] CPU2は、ホスト 10から印字データを入力し、この印字データと分散パターン 4に基 づいて、サーマルラインヘッド 3で処理可能な信号形態に変換する。 CPU2は、変換 した印字データ信号(DATA)をクロック信号 (CLOCK)の周期でサーマルラインへッ ド 3に送り、ラッチ信号 (LATCH)によってその印字データ信号 (DATA)を保持させ、 その後、ストローブ信号 (STB1〜STB3、 · ··)等によってブロック毎に印字動作を行う。 また、 CPU2は、ドライバ 24によって紙送りモータ 34を駆動する。  The CPU 2 inputs print data from the host 10 and converts it into a signal form that can be processed by the thermal line head 3 based on the print data and the dispersion pattern 4. CPU2 sends the converted print data signal (DATA) to thermal line head 3 in the cycle of the clock signal (CLOCK), holds the print data signal (DATA) by the latch signal (LATCH), and then strobe signal (STB1 to STB3,...) Etc. perform printing operation for each block. Further, the CPU 2 drives the paper feed motor 34 by the driver 24.
[0029] 本発明のサーマルプリンタ 1は、 CPU2から入力した印字データに対して分散パタ ーン 4を用いて印字パターンを形成する。分散パターンを用いることで、印字動作時 における印字パターンの印字ドットが偏らないように分散させ、これにより、温度分布 が偏ることを抑制する。 The thermal printer 1 of the present invention forms a print pattern using the dispersion pattern 4 for the print data input from the CPU 2. Using a dispersion pattern during printing The printing dots in the printing pattern are dispersed so as not to be biased, thereby preventing the temperature distribution from being biased.
[0030] 図 2は、本発明の分散パターンを用いて印字パターンの形成を説明するための概 略図である。なお、図 2では、 4つの分散パターンを用いる例を示している。 4つの分 散パターンを用いた場合には、一ラインの印字データは、 4つの分散パターンによつ て 4つの印字パターンに変換される。サーマルラインヘッド上に配列される複数の発 熱体の内で、各印字パターンに対応する発熱体に通電が行われてドット印字が行わ れる。ここでは、 4つの分散パターンによる 4つの印字パターンを備えるため、 1回目 通電〜 4回目通電の 4回の通電によって、一ラインの印字データにっ 、て印字が行 われる。  FIG. 2 is a schematic diagram for explaining the formation of a print pattern using the dispersion pattern of the present invention. FIG. 2 shows an example in which four dispersion patterns are used. When four distribution patterns are used, one line of print data is converted into four print patterns by four distribution patterns. Among the plurality of heat generating elements arranged on the thermal line head, energization is performed on the heat generating elements corresponding to each print pattern to perform dot printing. Here, four printing patterns with four dispersion patterns are provided, so printing is performed with one line of print data by four energizations from the first energization to the fourth energization.
[0031] 一ライン分の印字が終了した後、次の一ラインの印字データについて、前回の印字 処理と同様にして、 4つの印字パターンを 1回目通電〜 4回目通電の 4回で通電し、 一ラインの印字データを印字する。  [0031] After the printing of one line is completed, the next one line of print data is energized four times from the first energization to the fourth energization in the same manner as the previous printing process. Print one line of print data.
[0032] なお、ここで、各印字パターンの通電の間において、紙送りを行う態様の他に、紙 送りを行わない態様としてもよい。各印字パターンの通電の間において紙送りを行う 態様によれば、前回の通電箇所と次の通電箇所は、一ライン上で移動ピッチ分だけ 異なるライン位置となるため、ステイツキングを低減することができる。なお、移動ピッ チ分を一ラインの 1Z4とすることによって、印字箇所の移動による位置ずれを低減す る。  [0032] Here, in addition to a mode in which paper feeding is performed during energization of each print pattern, a mode in which paper feeding is not performed may be employed. According to the mode in which the paper is fed during energization of each printing pattern, the previous energized location and the next energized location are different line positions on the same line by the moving pitch, so that the sticking can be reduced. it can. By setting the movement pitch to 1Z4 for one line, misalignment due to movement of the print location is reduced.
[0033] また、各印字パターンの通電の間において紙送りを行わない態様によれば、前回 の通電箇所と次の通電箇所は一ライン上の同じライン位置となるが、分散パターンを 用いることによって各通電において近傍箇所が加熱されることになるため、加熱後の 冷却の程度を抑えることができ、ステイツキングを低減することができる。  [0033] Further, according to the aspect in which paper feeding is not performed during energization of each print pattern, the previous energization location and the next energization location are the same line position on one line, but by using the dispersion pattern, Since the vicinity is heated in each energization, the degree of cooling after heating can be suppressed, and sticking can be reduced.
[0034] 次に、図 3を用いて、本発明のサーマルプリンタのより詳細な構成例について説明 する。図 3において、サーマルプリンタ 1は、 CPU2を含む制御部 20と、ラインヘッド 部 33を含むプリンタ機構 30を備える。ここでは、ホストコンピュータ 10から印字データ を入力し、制御部 20でラインヘッド部 33での印字処理が可能な印字パターンに変換 し、この印字パターンに基づいてプリンタ機構 30のラインヘッド部 33で印字する例を 示している。 Next, a more detailed configuration example of the thermal printer of the present invention will be described with reference to FIG. In FIG. 3, the thermal printer 1 includes a control unit 20 including a CPU 2 and a printer mechanism 30 including a line head unit 33. Here, print data is input from the host computer 10 and converted into a print pattern that can be printed by the line head unit 33 by the control unit 20, and printed by the line head unit 33 of the printer mechanism 30 based on this print pattern. Example to Show.
[0035] 制御部 20は、コネクタ 25を介して接続されたホストコンピュータ 10から印字データ を入力する。制御部 20には、 ROM21, RAM22,ゲートアレイ 23,モータドライバ 2 4等が接続される。 ROM21は印字動作を制御する印字制御プログラムや分散バタ 一ン等を格納し、 RAM22はホストコンピュータ 10から入力した印字データ(第 1の印 字データ)や、この印字データを変換して得られたドットラインデータ (第 2の印字デー タ)等を格納する。また、ゲートアレイ 23は分散データをプリンタ機構 30に送る。  The control unit 20 inputs print data from the host computer 10 connected via the connector 25. The control unit 20 is connected to ROM 21, RAM 22, gate array 23, motor driver 24, and the like. The ROM 21 stores a print control program for controlling the print operation, distributed patterns, etc., and the RAM 22 is obtained by converting the print data (first print data) input from the host computer 10 or this print data. Stores dot line data (second print data), etc. The gate array 23 also sends distributed data to the printer mechanism 30.
[0036] 制御部 20は、コネクタ 26を介して、ゲートアレイ 23から分散データをプリンタ機構 3 0に送る他、変換後の印字パターンのデータ C、このデータ Cを送るためのクロック信 号 B、ラッチ信号 Aをプリンタ機構 30に送る。  [0036] The control unit 20 sends the distributed data from the gate array 23 to the printer mechanism 30 through the connector 26, the converted print pattern data C, and the clock signal B for sending the data C, Send latch signal A to printer mechanism 30.
[0037] また、制御部 20は、モータドライバ 24を有し、コネクタ 27を介してプリンタ機構 30の 紙送りモータ 34を駆動制御する。また、このコネクタ 27は、プリンタ機構 30が備える ヘッドセンサ 35,用紙センサ 36,温度センサ 37等の各センサのセンサ信号を入力し 、 CPU2に送る。なお、ヘッドセンサ 35は、サーマルラインヘッド 3の感熱紙との圧接 または離間を検出し、用紙センサ 36は用紙の搬送位置や有無等を検出し、温度セ ンサ 37はラインヘッド部 33の温度を検出する。  The control unit 20 has a motor driver 24 and drives and controls the paper feed motor 34 of the printer mechanism 30 via the connector 27. The connector 27 inputs sensor signals from the sensors such as the head sensor 35, the paper sensor 36, and the temperature sensor 37 included in the printer mechanism 30 and sends them to the CPU 2. The head sensor 35 detects the pressure contact or separation of the thermal line head 3 from the thermal paper, the paper sensor 36 detects the transport position or presence of the paper, and the temperature sensor 37 detects the temperature of the line head 33. To detect.
[0038] また、制御部 20は AZD変換部 28を備え、コネクタ 26を介してプリンタ機構 30から 受け取ったアナログ信号 (図示して 、な 、)をデジタル信号に信号変換する。  The control unit 20 includes an AZD conversion unit 28, and converts an analog signal (not shown) received from the printer mechanism 30 via the connector 26 into a digital signal.
[0039] 図 4は、本発明の制御部 20が備える ROM21および RAM22が格納するデータを 説明する図である。  FIG. 4 is a diagram illustrating data stored in the ROM 21 and RAM 22 included in the control unit 20 of the present invention.
[0040] 図 4において、 ROM21は、印字制御プログラム、キャラクタジェネレータ(フォントデ ータ)、分散データ等を格納する。印字制御プログラムは、印字動作に係わる制御を CPUに実行させるための制御プログラムであり、例えば、各コネクタ 25, 26, 27を介 して行うデータの授受の制御、ホストコンピュータ 10から取り込んだ印字データ (第 1 印字データ)を、ドットラインヘッド 33を駆動するドットラインデータ (第 2印字データ) に変換する制御、モータドライバ 24の制御等の各種制御を行う。キャラクタジ ネレ ータは、ドットラインヘッド 33に印字を形成するためのフォントデータである。  In FIG. 4, the ROM 21 stores a print control program, a character generator (font data), distributed data, and the like. The print control program is a control program for causing the CPU to execute control related to the printing operation. For example, the control of data exchange performed through each connector 25, 26, 27, the print data fetched from the host computer 10 Various controls such as control to convert (first print data) into dot line data (second print data) for driving the dot line head 33 and control of the motor driver 24 are performed. The character generator is font data for forming a print on the dot line head 33.
[0041] また、分散データは、ドットラインデータをライン上で分散させて印字させる分散バタ ーンを形成するためのパターンデータである。ここでは、予め形成しておいたパター ンデータを ROM21内に格納しておき、順次読み出して使用する。なお、分散データ は、 ROM21内に格納しておく他、処理毎に形成して RAM22に一時的に格納する 形態としてもよ ヽ。この分散パターンを形成して使用する構成にっ ヽては後述する。 [0041] Further, the distributed data is a distributed pattern in which dot line data is distributed on a line and printed. Pattern data for forming a pattern. Here, the pre-formed pattern data is stored in the ROM 21, and sequentially read out and used. The distributed data may be stored in the ROM 21 or may be formed for each process and temporarily stored in the RAM 22. The configuration for forming and using this dispersion pattern will be described later.
[0042] また、 RAM22は、ホストコンピュータ 10から入力した印字データ(第 1印字データ) と、この印字データを変換して得られたドットラインデータ (第 2印字データ)を格納す る。第 1印字データは、印字内容を表すキャラクタコードデータや画像データ、および 印字制御コードデータ等を含み、第 2印字データは各ラインに展開したドットラインデ ータ、およびストローブデータであり、 CPU2は RAM22に書き込まれた第 1印字デ ータを読み出して解析した後、 RAM22に書き込む。書き込まれた第 2印字データは 、 CPU2によって順次読み出されゲートアレイ 23を介してプリンタ機構 30の第 1バッ ファ 31に送られる。 The RAM 22 stores print data (first print data) input from the host computer 10 and dot line data (second print data) obtained by converting the print data. The first print data includes character code data and image data representing print contents, print control code data, etc., and the second print data is dot line data and strobe data developed on each line. Read and analyze the first print data written in RAM22, then write it in RAM22. The written second print data is sequentially read out by the CPU 2 and sent to the first buffer 31 of the printer mechanism 30 via the gate array 23.
[0043] 図 3において、プリンタ機構 30は、第 1バッファ 31と第 2バッファ 32とラインヘッド部 33を備える他、用紙を紙送りする紙送りモータ 34や、ヘッドセンサ 35,用紙センサ 3 6,温度センサ 37等の各紙センサを備える。第 1バッファ 31、第 2バッファ 32、および ラインヘッド部 33はサーマルラインヘッド 3を構成している。  In FIG. 3, the printer mechanism 30 includes a first buffer 31, a second buffer 32, and a line head unit 33, a paper feed motor 34 for feeding paper, a head sensor 35, a paper sensor 36, and a paper sensor 36. Each paper sensor such as temperature sensor 37 is provided. The first buffer 31, the second buffer 32, and the line head unit 33 constitute a thermal line head 3.
[0044] CPU2は、 RAM22に格納しているドットラインデータをライン毎に読み出し、コネク タ 26から第 1バッファ 31に送る。第 1バッファ 31は、クロック信号に基づいて 1ライン分 のドットラインデータを順次取り込む。図 3ではドットラインデータをデータ Cで示し、ク ロック信号をクロック Bで示している。また、第 2バッファ 32は、制御部 20からのラッチ 信号 Aに基づいて、第 1バッファ 31に格納しているドットラインデータを転送する。第 2バッファ 32は、ラインヘッド部 33を駆動するためにドットラインデータを保持する一 時メモリである。第 1バッファ 31に保持されたドットラインデータは第 2バッファ 32に転 送される。本発明は、このデータ転送において、全データを同時に行わずに分散して 行う。この第 1バッファ 31から第 2バッファ 32への分散によるデータ転送は、 ROM21 あるいは RAM22からゲートアレイ 23を介して送られる分散データによって、第 1バッ ファ 31に保持されたドットラインデータを選択することで行う。ラインヘッド部 33は、第 2バッファに転送されたドットラインデータを用いて印字を行う。 [0045] 上記したようにドットラインデータは分散データによって選択されたデータのみが第 2バッファ 32に転送され、転送されたドットラインデータのみが印字されるため、一つ の分散データのみによる転送では第 1バッファには転送されないドットラインデータが 残り、このままでは印字が完了しないことになる力 全ドットをカバーする複数の異な る分散データを用い、この各分散データを順に用いてデータ転送と印字とを繰り返す ことによって、全てのドットラインデータを印字することができる。 The CPU 2 reads the dot line data stored in the RAM 22 for each line and sends it from the connector 26 to the first buffer 31. The first buffer 31 sequentially takes in the dot line data for one line based on the clock signal. In FIG. 3, the dot line data is indicated by data C, and the clock signal is indicated by clock B. Also, the second buffer 32 transfers the dot line data stored in the first buffer 31 based on the latch signal A from the control unit 20. The second buffer 32 is a temporary memory that holds dot line data for driving the line head unit 33. The dot line data held in the first buffer 31 is transferred to the second buffer 32. The present invention performs this data transfer in a distributed manner without simultaneously performing all data. In this data transfer from the first buffer 31 to the second buffer 32, the dot line data held in the first buffer 31 is selected by the distributed data sent from the ROM 21 or RAM 22 via the gate array 23. To do. The line head unit 33 performs printing using the dot line data transferred to the second buffer. [0045] As described above, only the dot line data selected by the distributed data is transferred to the second buffer 32, and only the transferred dot line data is printed. Dot line data that is not transferred remains in the first buffer, and printing will not be completed if it remains as it is. Using a plurality of different distributed data that covers all dots, each of these distributed data is used in sequence to perform data transfer and printing. All dot line data can be printed by repeating.
[0046] このように、分散データを用いて複数回の動作でドットラインデータを印字すること で、ラインヘッド部に供給する電力を低減することができ、また、ライン状に配列され た発熱体にぉ 、て駆動する発熱体を分散させることによって、駆動間隔の時間があく ことによってヘッド部分が局所的に冷却されることを防いで、ステイツキングの発生を 抑帘 Uすることができる。  [0046] Thus, by printing dot line data by a plurality of operations using the distributed data, the power supplied to the line head unit can be reduced, and the heating elements arranged in a line shape On the other hand, by dispersing the heating elements to be driven, it is possible to prevent the head portion from being locally cooled due to the increase of the driving interval, and to suppress the occurrence of the sticking.
[0047] なお、ライン状に配列された発熱体にお!、て、実際に駆動する発熱体は分散デー タで定まる分散パターンのみで決まるのではなぐ印字データ力 得られるドットライ ンデータと分散データとの論理積で得られる重なり部分であるため、必ずしも分散パ ターンで定めるような熱分布とはならないが、印字データのばらつき力 統計的には ヘッド部分の局所的な冷却は回避される方向となる。  [0047] It should be noted that the heating elements actually arranged in a line shape are not determined only by the dispersion pattern determined by the dispersion data. The heat distribution is not necessarily determined by the dispersion pattern because it is an overlap part obtained by the logical product of the above, but the dispersion power of the print data is statistically avoided in the direction of local cooling of the head part. .
[0048] なお、図 3では、ラインヘッド部 33は複数のブロック(ブロック 1,ブロック 2,〜,ブロ ック n)に分割された例を示している。この複数のブロックを備えるラインヘッド部 33の 場合には、各ブロック内で分散パターンを形成することができる力 必ずしもブロック を単位として分散パターンを形成する必要はなぐ複数のブロックを組み合わせたも のを単位として分散パターンを形成したり、ブロックに依存することなぐラインヘッド 部が備えるドット (発熱体)について分散パターンを形成してもよい。また、複数のプロ ックを組み合わせたものを単位として分散パターンを形成する場合には、複数のプロ ックは隣接するブロックに限らず、ブロックについても分散させてもよい。  FIG. 3 shows an example in which the line head unit 33 is divided into a plurality of blocks (block 1, block 2,..., Block n). In the case of the line head section 33 having a plurality of blocks, a force capable of forming a dispersion pattern in each block is a combination of a plurality of blocks that do not necessarily need to form a dispersion pattern in units of blocks. A dispersion pattern may be formed as a unit, or a dispersion pattern may be formed for dots (heating elements) provided in a line head unit that does not depend on blocks. In the case where a dispersion pattern is formed using a combination of a plurality of blocks as a unit, the plurality of blocks are not limited to adjacent blocks but may be dispersed.
[0049] 次に、図 1,および図 5〜図 7を用いて本発明のサーマルプリンタの動作について 説明する。なお、図 5はサーマルプリンタの動作を説明するためのフローチャートであ り、図 6はサーマルプリンタの動作を説明するためのタイムチャートであり、図 7はゲー トアレイの動作を説明するための説明図である。 [0050] ホストコンピュータ 10からサーマルプリンタ 1の制御部 20に印字データを送信する。 なお、ここでは、印字データはサーマルプリンタによって印刷を行うためのデータであ り、文字データに限らず画像データを含むものとする。また、印字の用語についても、 文字に限らず画像を含むものとする(Sl)。制御部 20の CPU2は、コネクタ 25を介し て入力した印字データを RAM22内に第 1印字データとして格納する(S2)。 Next, the operation of the thermal printer of the present invention will be described with reference to FIGS. 1 and 5 to 7. 5 is a flowchart for explaining the operation of the thermal printer, FIG. 6 is a time chart for explaining the operation of the thermal printer, and FIG. 7 is an explanatory diagram for explaining the operation of the gate array. It is. Print data is transmitted from the host computer 10 to the control unit 20 of the thermal printer 1. Here, the print data is data for printing by a thermal printer, and includes not only character data but also image data. The terminology used for printing shall include images as well as characters (Sl). The CPU 2 of the control unit 20 stores the print data input via the connector 25 in the RAM 22 as the first print data (S2).
[0051] CPU2は、 RAM22から第 1印字データに含まれるキャラクタコードデータや印字制 御コードデータを読み出して解析し、ラインヘッドによって用紙上に印字を行うための ドットラインデータやストローブデータを形成し (S3)、形成した第 2印字データを RA M22に格納する。なお、このデータ解析については、通常知られた処理であるため、 ここでの説明は省略する(S4)。  [0051] CPU 2 reads and analyzes the character code data and print control code data included in the first print data from RAM 22, and forms dot line data and strobe data for printing on the paper by the line head. (S3), the formed second print data is stored in RAM22. Since this data analysis is a generally known process, a description thereof is omitted (S4).
[0052] CPU2は、 RAM22からドットラインデータ(図 6中のデータ C) (図 6 (a)に示す)を 一ライン分読み出して、コネクタ 26を通してクロック B (図 6 (b)に示す)に同期して第 1 バッファ 31に順次送り、格納する(S5, S6)。ラッチ信号(図 6 (c)に示す)によって第 1バッファ 31にラッチされたドットラインデータは、ゲートアレイ 23から送られる分散デ ータで定められるデータのみが選択されて第 2バッファ 32に転送される(S7)。  [0052] CPU 2 reads dot line data (data C in Fig. 6) (shown in Fig. 6 (a)) from RAM 22 for one line and passes it through connector 26 to clock B (shown in Fig. 6 (b)). Synchronously, sequentially send to the first buffer 31 and store (S5, S6). For the dot line data latched in the first buffer 31 by the latch signal (shown in Fig. 6 (c)), only the data determined by the distributed data sent from the gate array 23 is selected and transferred to the second buffer 32. (S7).
[0053] 図 7は、ゲートアレイの動作、および分散データによる第 1バッファ 31から第 2バッフ ァ 32へのドットラインデータの選択的な転送動作を示している。なお、図 7は、ブロッ ク単位に分散データを設定する例を示し、分散データとして 4ドット分の駆動を定める 分散パターンの例を示して 、る。  FIG. 7 shows the operation of the gate array and the selective transfer operation of the dot line data from the first buffer 31 to the second buffer 32 based on the distributed data. Fig. 7 shows an example of setting distributed data in units of blocks, and shows an example of a distributed pattern that determines driving for 4 dots as distributed data.
[0054] CPU2は分散データを選択し(S8)、 ROM21から選択した分散データ(ここでは 4 ビット分のデータ)を取り込んでゲートアレイ 23に送る(S9)。ゲートアレイ 23は、ラッ チ信号 A (図 6中の (h) )に同期して分散データ(図 6中の分散データ (d)〜 (g) )をバ ッファに送る。ここでは、 [1000]の分散データの例を示している。  The CPU 2 selects distributed data (S8), fetches the selected distributed data (here, data for 4 bits) from the ROM 21, and sends it to the gate array 23 (S9). The gate array 23 sends the distributed data (distributed data (d) to (g) in FIG. 6) to the buffer in synchronization with the latch signal A ((h) in FIG. 6). Here, an example of [1000] distributed data is shown.
[0055] 第 2バッファ 32は、送られた分散データに基づいて選択したドットラインデータを第 1バッファ 31から取り込む。ここで、第 1バッファ 31に格納されるデータの内で、分散 データで定まるビット部分のデータのみが第 2バッファ 32に転送される。図 7では、各 ブロックにおいて、 [1000]の分散データで定められた第 1番目のビットのドットライン データのみが第 2バッファ 32に転送され、第 2〜4番目のビットのドットラインデータは 第 2バッファ 32には転送されず、データ無しの状態を維持する。なお、ここでは、第 2 ノ ッファ 32は、各印字動作後にはクリアされて初期状態に戻るものとする。 The second buffer 32 takes in the dot line data selected based on the distributed data sent from the first buffer 31. Here, of the data stored in the first buffer 31, only the bit portion data determined by the distributed data is transferred to the second buffer 32. In FIG. 7, in each block, only the dot line data of the first bit determined by [1000] distributed data is transferred to the second buffer 32, and the dot line data of the second to fourth bits are The data is not transferred to the second buffer 32, and no data is maintained. Here, the second notifier 32 is cleared after each printing operation and returns to the initial state.
[0056] 図 7では、第 1バッファに格納されるドットラインデータは全ドットに対応するビット部 分に印字を有効とするデータ(參で示す)を有する例を示しているため、第 2バッファ 32の各ブロックの第 1番目のビット部分(図中の左端)にはデータ(參で示す)が格納 される。仮に、第 1番目のビット部分のドットラインデータが印字を無効とするデータの 場合には、この分散データで選択されな力 たビット部分と実質的に同様の初期状 態となる(S10)。第 2バッファ 32に格納されたデータはラインヘッド部 33に送られる ( Sl l)。ラインヘッド部 33は、各ブロックでドット印字を行う。一つの分散データによる 印字は、全ドットラインデータの一部のみを印字するものであり、残余の分散データに よる印字を全て行うことで、一ライン分の印字が行われる。図 6 (i)は第 1の分散データ による印字に対応する。 FIG. 7 shows an example in which the dot line data stored in the first buffer has data (indicated by 參) that enables printing in the bit portion corresponding to all dots. Data (indicated by 參) is stored in the first bit portion (left end in the figure) of each of the 32 blocks. If the dot line data in the first bit portion is data that disables printing, the initial state is substantially the same as the bit portion that was selected in the distributed data (S10). The data stored in the second buffer 32 is sent to the line head unit 33 (Sl l). The line head unit 33 performs dot printing in each block. Printing with one distributed data prints only a part of all dot line data, and printing for one line is performed by performing all printing with the remaining distributed data. Figure 6 (i) corresponds to printing with the first distributed data.
[0057] 図 7に示すように、 4つの分散データを備える場合には、 S8の工程で分散データを 変更しながら S9〜S12の工程を繰り返すことによって、一ライン分の印字が完了する し、図 6 (j)〜図 6 (1)は第 2の分散データ〜第 4の分散データによる印字に対応して いる(S12)。  [0057] As shown in FIG. 7, when four pieces of distributed data are provided, the printing of one line is completed by repeating the steps S9 to S12 while changing the distributed data in the step S8. Fig. 6 (j) to Fig. 6 (1) correspond to printing with the second to fourth distributed data (S12).
[0058] ここで、 CPU2は、各分散データによる印字が完了する度に、モータドライバ 24によ つて紙送りモータ 34を駆動して紙送りを行うことによって、ステイツキングをより有効的 に抑制することができる(図 6中の(m) )。この紙送りの送り量は、一ライン分の送り量 を分散処理の回数分で除算した量とすることができ、これによつて、分散による複数 の印字動作が完了した時点で、ライン幅内において一ライン分の印字が行われる (S 13)。  Here, the CPU 2 more effectively suppresses the sticking by driving the paper feed motor 34 by the motor driver 24 and feeding the paper every time printing by each distributed data is completed. ((M) in Fig. 6). The feed amount of this paper feed can be obtained by dividing the feed amount for one line by the number of times of distributed processing, so that when a plurality of printing operations by dispersion are completed, it is within the line width. In step S13, one line is printed.
[0059] 一ライン分の印字が完了した場合には (S14)、次のドットラインデータを第 1バッフ ァに取り込み、 S6〜S14の工程を繰り返すことによって、次のラインを印字する(S 15 [0059] When printing of one line is completed (S14), the next dot line data is taken into the first buffer, and the next line is printed by repeating steps S6 to S14 (S15).
) o ) o
[0060] 分散パターンは種々のパターンを用いることができる。図 8はブロック内において 1 つのドットを選択して印字を分散パターンの例を示し、図 9はブロック内において 2つ のドットを選択して印字を分散パターンの例を示している。 [0061] 図 8に示す例は、 4ドット分を 1ブロックとし、このブロック中の 1ドットを選択するときの 分散パターンの一例であり、前記図 7に示した例と同じ例を示している。ここでは、 4ド ットから 1ドットを選択するため 4つの分散パターンを含む。図 8に示す分散パターン は、 [1000] , [0100] , [0010] , [0001]の 4つの分散パターンを含む。図 8におい て、第 1の分散パターン [1000]はブロック内の第 1番目のビットを選択して印字を行 い、第 2の分散パターン [0100]はブロック内の第 2番目のビットを選択して印字を行 う。同様に、第 3の分散パターン [0010]はブロック内の第 3番目のビットを選択して 印字を行い、第 4の分散パターン [0001]はブロック内の第 4番目のビットを選択して 印字を行う。 [0060] Various patterns can be used as the dispersion pattern. Fig. 8 shows an example of a distributed pattern in which one dot is selected in the block, and Fig. 9 shows an example of a distributed pattern in which two dots are selected in the block. [0061] The example shown in FIG. 8 is an example of a dispersion pattern when four dots are one block, and one dot in this block is selected, and shows the same example as the example shown in FIG. . Here, four dispersion patterns are included to select one dot from four dots. The dispersion pattern shown in FIG. 8 includes four dispersion patterns [1000], [0100], [0010], and [0001]. In Figure 8, the first distribution pattern [1000] selects the first bit in the block for printing, and the second distribution pattern [0100] selects the second bit in the block. To print. Similarly, the third distribution pattern [0010] selects and prints the third bit in the block, and the fourth distribution pattern [0001] selects and prints the fourth bit in the block. I do.
[0062] この各分散パターンによる印字間で紙送りを行う場合には、 tl〜t4の 1サイクルで 一ライン分の印字が行われる。次の t5〜t8 (図 8では t5, t6までを示している)の 1サ イタルで次の一ライン分の印字が行われる。なお、ここでは、ドットラインデータは、各 ドットにぉ 、て印字を行うデータである例を示して 、る。  [0062] When paper is fed between prints using each of the dispersion patterns, one line is printed in one cycle from tl to t4. The next line is printed in the next t5 to t8 (showing t5 and t6 in Fig. 8). Here, an example in which the dot line data is data to be printed for each dot is shown.
[0063] 図 10 (a)は、図 8の分散パターンによる通電状態を示して!/、る。また、図 10 (b)は、 1ドットを選択する別の分散パターンによる通電状態を示して 、る。図 10 (a)の分散 パターン例はドットを順に選択する例であり、図 10 (b)の分散パターン例はドットを任 意の順で選択する例である。  [0063] FIG. 10 (a) shows an energized state according to the dispersion pattern of FIG. Fig. 10 (b) shows the energization state with another dispersion pattern for selecting one dot. The dispersion pattern example in Fig. 10 (a) is an example in which dots are selected in order, and the dispersion pattern example in Fig. 10 (b) is an example in which dots are selected in any order.
[0064] 図 10 (a)の分散パターンによれば、一ラインの直線はブロックを単位とする斜線の 繰り返しによって印字される。また、図 10 (b)の分散パターンによれば、一ラインの直 線は分散されて印字される。  [0064] According to the dispersion pattern in Fig. 10 (a), a straight line is printed by repeating diagonal lines in units of blocks. In addition, according to the distribution pattern in Fig. 10 (b), one straight line is distributed and printed.
[0065] 図 9に示す例は、 4ドット分を 1ブロックとし、このブロック中の 2ドットを選択するときの 分散パターンの一例である。ここでは、 4ドットから 1ドットを選択するため 2つの分散 パターンを含む。図 9に示す分散パターンは、 [1010] , [0101]の 2つの分散パター ンを含む。図 9において、第 1の分散パターン [1010]はブロック内の第 1番目と第 3 番目のビットを選択して印字を行い、第 2の分散パターン [0101]はブロック内の第 2 番目のビットと第 4番目のビットを選択して印字を行う。  [0065] The example shown in Fig. 9 is an example of a dispersion pattern when four dots are one block and two dots in this block are selected. Here, 2 dispersion patterns are included to select 1 dot from 4 dots. The dispersion pattern shown in Fig. 9 includes two dispersion patterns [1010] and [0101]. In Figure 9, the first distribution pattern [1010] selects the first and third bits in the block for printing, and the second distribution pattern [0101] displays the second bit in the block. Select the 4th bit and print.
[0066] この各分散パターンによる印字間で紙送りを行う場合には、 tl, t2の 1サイクルで一 ライン分の印字が行われ、次の t3, t4の 1サイクルで次の一ライン分の印字が行われ る。なお、ここでは、ドットラインデータは、各ドットにおいて印字を行うデータである例 を示している。図 10 (c)は、図 9の分散パターンによる通電状態を示している。また、 図 10 (d)は、 2ドットを選択する別の分散パターンによる通電状態を示している。 [0066] When paper is fed between prints using each dispersion pattern, one line is printed in one cycle of tl and t2, and the next line is printed in one cycle of t3 and t4. Printing is done The Here, the dot line data is an example of printing data for each dot. Fig. 10 (c) shows the energization state according to the dispersion pattern of Fig. 9. Fig. 10 (d) shows the energization state with another dispersion pattern that selects 2 dots.
[0067] 本発明のサーマルプリンタは、上述した本発明の分散パターンを用いて各ブロック が有するドットの発熱体を分散して通電する態様 (以下、分散通電という)と、ブロック が有するドットの発熱体を同時に通電する態様 (以下ブロック通電という)とを、印字 データの印字率あるいはラインヘッド部の温度に応じて切り替えて制御することがで きる。 [0067] The thermal printer of the present invention includes a mode in which the heating elements of the dots included in each block are dispersed and energized using the dispersion pattern of the present invention described above (hereinafter referred to as distributed energization), and the heat generation of the dots of the blocks. The mode in which the body is energized simultaneously (hereinafter referred to as block energization) can be controlled by switching according to the print data print rate or the line head temperature.
[0068] 分散通電と紙送りとを組み合わせる動作態様では、 1ライン分のドットラインデータを 印字した際に、印字されるドットが分散パターンに応じてばらつくために印字状態も 用紙の搬送方向においてばらつくことになる。また、ブロック通電においても、ブロッ クを印字する度に紙送りを行う動作態様では、 1ライン分のドットラインデータを印字し た際に、隣接するブロック間において用紙の搬送方向に印字がずれることが起きる。  [0068] In an operation mode that combines distributed energization and paper feeding, when dot line data for one line is printed, the printed dots vary according to the dispersion pattern, so the printing state also varies in the paper transport direction. It will be. Even when the block is energized, in the operation mode in which paper is fed each time a block is printed, when one line of dot line data is printed, the printing is shifted in the paper transport direction between adjacent blocks. Happens.
[0069] このふたつの動作態様における印字状態を比較すると、ブロック通電による場合に は少なくともブロック内では搬送方向の印字ずれはなぐブロックに含まれるドット数が 多いほど印字ずれの影響も緩和される。しカゝしながら、ブロック通電はブロックを単位 として通電を行うため、印字データの印字率が高い場合には、供給電力が制限され ている。そのため、同時に通電することができるブロック数が制限され、同じブロックで 通電が行われる時間間隔が長くなつてステイツキングが生じやすくなる。そのため、ブ ロック通電は、ステイツキングが発生しにく!/、印字率が低 、場合に適用することができ る。  [0069] When the printing states in the two operation modes are compared, the influence of the printing deviation is reduced as the number of dots contained in the block is smaller than the printing deviation in the transport direction at least in the block when the block is energized. However, since block energization energizes in units of blocks, the supply power is limited when the print rate of print data is high. Therefore, the number of blocks that can be energized at the same time is limited, and sticking is likely to occur if the time interval for energization in the same block is long. Therefore, block energization can be applied when sticking is difficult to occur! / And the printing rate is low.
[0070] そこで、印字データの印字率に応じて分散通電とブロック通電とを切り替えて行うこ とによって、ステイツキングを抑制すると共に、印字品質の低下を抑制する。図 11, 1 2は、分散通電とブロック通電との切り替え動作を説明するためのフローチャートであ る。  Accordingly, by switching between distributed energization and block energization according to the print rate of the print data, the sticking is suppressed and the deterioration of the print quality is also suppressed. 11 and 12 are flowcharts for explaining the switching operation between the distributed energization and the block energization.
[0071] 図 11のフローチャートにおいて、ホストコンピュータから送信された印字データを R AMに格納し (S21, S22)、印字データを解析してドットラインデータを形成する(S2 3)。 [0072] この一ライン分のドットラインデータについて印字率を求め、予め設定しておいた印 字率と比較する(S24)。印字率が設定値よりも高い場合には、分散パターンを用い た分散通電を行い (S25)、印字率が設定値よりも低い場合には、ブロックを単位とし たブロック通電を行う(S26)。この通電処理は、一ライン毎に行うことができる。 In the flowchart of FIG. 11, the print data transmitted from the host computer is stored in the RAM (S21, S22), and the print data is analyzed to form dot line data (S23). [0072] A print rate is obtained for the dot line data for one line, and compared with a preset print rate (S24). When the printing rate is higher than the set value, distributed energization using a dispersion pattern is performed (S25), and when the printing rate is lower than the set value, block energization is performed in units of blocks (S26). This energization process can be performed for each line.
[0073] また、ステイツキングは、サーマルプリンタのラインヘッド部の温度が高温の場合に は発生しにくいため、ラインヘッド部の温度が高温の場合にブロック通電を行い、ライ ンヘッド部の温度が低いに分散通電を行うように切り替えることによって、ステイツキン グを抑制すると共に、印字品質の低下を抑制することができる。  [0073] Further, since sticking is unlikely to occur when the temperature of the line head portion of the thermal printer is high, block energization is performed when the temperature of the line head portion is high, and the temperature of the line head portion is low. By switching so that distributed energization is performed, the sticking can be suppressed and the deterioration of the print quality can be suppressed.
[0074] 図 12のフローチャートにおいて、ホストコンピュータから送信された印字データを R AMに格納し (S31, S32)、印字データを解析してドットラインデータを形成する(S3 3)。  In the flowchart of FIG. 12, the print data transmitted from the host computer is stored in the RAM (S31, S32), and the print data is analyzed to form dot line data (S33).
[0075] ここで、温度センサ 37等で検出したラインヘッド部の温度と予め設定しておいた温 度とを比較する(S34)。ラインヘッド部の温度が設定値よりも低い場合には、分散パ ターンを用いた分散通電を行 、(S35)、ラインヘッド部の温度が設定値よりも高!、場 合には、ブロックを単位としたブロック通電を行う(S36)。この通電処理は、一ライン 毎に行うことができる。  Here, the temperature of the line head portion detected by the temperature sensor 37 or the like is compared with a preset temperature (S34). If the temperature of the line head is lower than the set value, perform distributed energization using the distributed pattern (S35). If the temperature of the line head is higher than the set value, block the block. Block energization in units is performed (S36). This energization process can be performed for each line.
[0076] 図 13は、ブロック通電と分散通電とを切り替えて印字する状態を説明するための図 である。図 13 (a) , (b)は印字データを示し、図 13 (c) , (d)は印字状態を示している 。図 13 (a)は印字率が高い場合を示し、図 13 (b)は印字率が低い場合を示している 。印字率が高い場合には図 13 (c)に示すように分散通電を行い、印字率が低い場合 には図 13 (d)に示すようにブロック通電を行う。  FIG. 13 is a diagram for explaining a state in which printing is performed by switching between block energization and distributed energization. FIGS. 13A and 13B show print data, and FIGS. 13C and 13D show the print state. FIG. 13 (a) shows the case where the printing rate is high, and FIG. 13 (b) shows the case where the printing rate is low. When the printing rate is high, distributed energization is performed as shown in Fig. 13 (c), and when the printing rate is low, block energization is performed as shown in Fig. 13 (d).
[0077] 上述した例では、分散パターンを予め設定して ROM21内に格納しておき、順次読 み出してドットラインデータ力も印字を行うドットを選択しているが、分散パターンはラ イン毎に設定してもよい。図 14は、各ラインのドットラインデータ毎に分散パターンを 形成する例を示している。図 14 (a)は、 1ライン目と 2ライン目の各通電時における分 散パターンを示している。ここで、各ラインで用いる各分散パターンは、 1ライン上のド ットについて漏れなぐまた重複することなく設定する。この分散パターンの設定は、 例えば、 1ライン上の全ドット数を通電回数(図 14では 4回の通電で全ドットを駆動す る場合を示している)で除算して各通電動作において通電を行うドット数を定め、はじ めに 1ライン上の全ドットの中から定めた個数のドットを分散させて選択して 1回目通 電用の分散パターンを形成し、次に、 1ライン上の残りのドットの中から定めた個数の ドットを分散させて選択して 2回目通電用の分散パターンを形成する。 3回目通電用 の分散パターンおよび 4回目通電用の分散パターンについても同様にして、 1ライン 上の残りのドットの中から定めた個数のドットを分散させて選択することで分散パター ンを形成する。 [0077] In the above-described example, the dispersion pattern is set in advance and stored in the ROM 21, and the dots that are sequentially read out and the dot line data force is selected for printing are also selected. It may be set. FIG. 14 shows an example in which a dispersion pattern is formed for each dot line data of each line. Figure 14 (a) shows the distribution pattern when the first and second lines are energized. Here, each dispersion pattern used in each line is set so that the dots on one line do not leak or overlap. For example, this dispersion pattern can be set using the number of all dots on one line as the number of energization times (in FIG. The number of dots to be energized in each energization operation is determined by dividing by the number of dots. First, the specified number of dots are dispersed and selected from all the dots on one line. A distribution pattern for electricity is formed, and then a predetermined number of dots are dispersed and selected from the remaining dots on one line to form a dispersion pattern for the second energization. Similarly, for the dispersion pattern for the third energization and the dispersion pattern for the fourth energization, a predetermined number of dots are dispersed and selected from the remaining dots on one line to form a dispersion pattern. .
[0078] 図 14 (a) , (b)は、 1ライン全体を範囲として分散パターンを形成する例を示して!/ヽ るが、 1ライン全体を複数の分割し、分割した範囲内で分散パターンを形成してもよい 。図 14 (c) , (d)は、 1ライン全体を 2分割し、各分割範囲内で分散パターンを形成す る。  [0078] Figs. 14 (a) and 14 (b) show examples in which a dispersion pattern is formed with one line as a range! / ヽ, but the whole line is divided into a plurality of parts and distributed within the divided range. A pattern may be formed. In Fig. 14 (c) and (d), the entire line is divided into two, and a dispersion pattern is formed within each division range.
[0079] 上記した分散パターンの形成は、ライン毎あるいは複数のライン毎に定めることがで き、また、 1ライン全体を範囲とする分散パターンの形成と、分割範囲による分散バタ ーンの形成とを、印字データ等に応じて選択して組み合わせてもよ 、。  [0079] The formation of the dispersion pattern described above can be determined for each line or for each of a plurality of lines. In addition, the formation of a dispersion pattern that covers the entire line, and the formation of a dispersion pattern based on the division range. You can select and combine them according to the print data.
[0080] 上記した分散パターンは、例えば、図 15に示すように CPU2で形成する毎に RAM 22内に格納して用いることができる。  The distribution pattern described above can be stored and used in the RAM 22 every time it is formed by the CPU 2 as shown in FIG. 15, for example.
[0081] 図 16は、分散パターンを形成する態様において、ゲートアレイの動作、および分散 データによる第 1バッファ 31から第 2バッファ 32へのドットラインデータの選択的な転 送動作を示している。なお、図 16は、形成した 1つの分散パターンの例のみを示して いる。  FIG. 16 shows the operation of the gate array and the selective transfer operation of the dot line data from the first buffer 31 to the second buffer 32 by the distributed data in the mode of forming the distributed pattern. Note that FIG. 16 shows only an example of one formed dispersion pattern.
[0082] CPU2は、分散パターン形成部で分散データ(ここでは、 [100010010· ··])を形 成し、 RAM22に一時記憶し、ゲートアレイ 23に送る。ゲートアレイ 23は、ラッチ信号 Aに同期して分散データをバッファに送る。ここでは、 [1000]の分散データの例を示 している。  The CPU 2 forms distributed data (here, [100010010...]) In the distributed pattern forming unit, temporarily stores it in the RAM 22, and sends it to the gate array 23. The gate array 23 sends the distributed data to the buffer in synchronization with the latch signal A. Here, an example of [1000] distributed data is shown.
[0083] 第 2バッファ 32は、送られた分散データに基づいて選択したドットラインデータを第 1バッファ 31から取り込む。ここで、第 1バッファ 31に格納されるデータの内で、分散 データで定まるビット部分のデータのみが第 2バッファ 32に転送される。図 16では、 [ 100010010· ··]の分散データで定められた第 1, 5, 8,…番目のビットのドットライン データのみが第 2バッファ 32に転送され、その他のビットのドットラインデータは第 2バ ッファ 32〖こは転送されず、データ無しの状態を維持する。なお、ここでは、第 2バッフ ァ 32は、各印字動作後にはクリアされて初期状態に戻るものとする。 The second buffer 32 takes in the dot line data selected based on the distributed data sent from the first buffer 31. Here, of the data stored in the first buffer 31, only the bit portion data determined by the distributed data is transferred to the second buffer 32. In Fig. 16, the dot lines of the 1st, 5th, 8th ... th bit defined by the distributed data of [100010010 ...] Only the data is transferred to the second buffer 32, and the dot line data of the other bits is not transferred to the second buffer 32, and no data is maintained. Here, it is assumed that the second buffer 32 is cleared and returns to the initial state after each printing operation.
[0084] 図 16では、第 1バッファに格納されるドットラインデータは全ドットに対応するビット 部分に印字を有効とするデータ(參で示す)を有する例を示しているため、第 2バッフ ァ 32の第 1, 5, 8,…番目のビット部分(図中の左端)にはデータ(參で示す)が格納 される。仮に、第 1番目のビット部分のドットラインデータが印字を無効とするデータの 場合には、この分散データで選択されな力 たビット部分と実質的に同様の初期状 態となる。第 2バッファ 32に格納されたデータはラインヘッド部 33に送られ、ラインへ ッド部 33はドット印字を行う。一つの分散データによる印字は、全ドットラインデータの 一部のみを印字するものであり、残余の分散データによる印字を全て行うことで、ーラ イン分の印字が行われる。  FIG. 16 shows an example in which the dot line data stored in the first buffer has data (indicated by 參) that enables printing in the bit portion corresponding to all dots. Data (indicated by 參) is stored in the 1st, 5th, 8th,..., Bit portions of 32 (the left end in the figure). If the dot line data of the first bit portion is data that disables printing, the initial state is substantially the same as the bit portion that was selected by this distributed data. The data stored in the second buffer 32 is sent to the line head unit 33, and the line head unit 33 performs dot printing. Printing with one piece of distributed data prints only a part of all dot line data. By printing all of the remaining distributed data, printing for one line is performed.
[0085] 図 17は、 4回の通電によって 1ライン分の印字を行う場合を示している。分散パター ン形成部は、各通電において分散パターンを形成する。各分散パターンによる印字 間で紙送りを行う場合には、 tl〜t4の 1サイクルで一ライン分の印字が行われる。次 の t5〜t8 (図 17では示して!/ヽな 、)の 1サイクルにお 、て次の一ライン分の印字が行 われる。  FIG. 17 shows a case where printing for one line is performed by energization four times. The dispersion pattern forming unit forms a dispersion pattern in each energization. When paper is fed between prints with each dispersion pattern, one line is printed in one cycle from tl to t4. In the next cycle from t5 to t8 (shown in Fig. 17! / ヽ), the next line is printed.
[0086] 図 18は、形成した分散パターンによって印字を行う態様を説明するためのフローチ ヤートである。  FIG. 18 is a flowchart for explaining a mode in which printing is performed using the formed dispersion pattern.
[0087] はじめに、前回形成した分散パターンが RAMに残っている場合にはクリアし (S41 )、 1ラインの全ドットから設定個数のドットを選択する。この設定個数は、前述したよう に、全ドット数を通電回数で除算することによって各通電動作において通電を行うドッ ト数を定めることができる(S42)。  [0087] First, if the previously formed dispersion pattern remains in the RAM (S41), it is cleared (S41), and a set number of dots is selected from all dots in one line. As described above, the set number can determine the number of dots to be energized in each energization operation by dividing the total number of dots by the number of energizations (S42).
[0088] 選択したドットのパターンを分散パターンとして RAMに記憶し(S43)、 RAMに記 憶した分散パターンを用いて印字を行う(S44)。次に、 1ライン上の残りのドットの中 力 定めた個数のドットを選択して次回の通電用の分散パターンを形成し (S45)、 R AMに記憶した分散パターンを用いて印字を行う(S46)。 S45, S46の工程を、ーラ インの全ドットを選択し終えるまで繰り返す (S47)。 [0089] 上記した本発明の構成により、サーマルプリンタのヘッド全体にわたって発熱体を 分散させて通電することによって、ヘッドにおいて加熱後の温度低下部の偏りを抑制 することができ、これによつてステイツキングの発生を抑制することができる。また、ステ イツキングの抑制により印字品質の劣化を抑制することができる。 [0088] The selected dot pattern is stored in the RAM as a dispersion pattern (S43), and printing is performed using the dispersion pattern stored in the RAM (S44). Next, the remaining number of dots on one line is selected to form a dispersed pattern for the next energization (S45), and printing is performed using the dispersion pattern stored in the RAM ( S46). Repeat steps S45 and S46 until all the dots on the line are selected (S47). [0089] With the configuration of the present invention described above, the heating element is dispersed over the entire head of the thermal printer and energized, so that it is possible to suppress the bias of the temperature drop portion after heating in the head. Generation of king can be suppressed. In addition, deterioration of print quality can be suppressed by suppressing sticking.
[0090] なお、上記した構成例は一例であり、本発明はこれらの例に限定されるものではな ぐ各種変更を含むものである。  Note that the above configuration examples are examples, and the present invention is not limited to these examples, and includes various modifications.
[0091] 例えば、プリンタ機構 30に含まれる第 1バッファ 31から第 2バッファ 32への分散デ ータによるドットラインデータの転送のための回路を、制御部 20のゲートアレイ 23に 含める構成とすることも可能である。  For example, a circuit for transferring dot line data by distributed data from the first buffer 31 to the second buffer 32 included in the printer mechanism 30 is included in the gate array 23 of the control unit 20. It is also possible.

Claims

請求の範囲 The scope of the claims
[1] 紙送り方向と直交するライン上に複数の発熱体を線状に配置するサーマルンヘッド によって紙送りされる感熱紙に感熱記録を行うサーマルプリンタの駆動方法において 前記複数の発熱体の内から通電する発熱体を選択する複数の分散パターンを有し 前記分散パターンと一ラインの印字データとの論理積をとることによって一ラインの 発熱体から通電する発熱体を選択し、選択した発熱体の同時駆動を複数の分散パ ターンを順次切り替えて行うことを特徴とする、サーマルプリンタの駆動方法。  [1] A method for driving a thermal printer that performs thermal recording on thermal paper fed by a thermal head in which a plurality of heating elements are linearly arranged on a line orthogonal to the paper feeding direction. A plurality of distributed patterns for selecting a heating element to be energized from the one line, and selecting a heating element to be energized from one line of heating element by taking the logical product of the dispersion pattern and one line of print data, and selecting the selected heating element A method for driving a thermal printer, wherein the simultaneous driving is performed by sequentially switching a plurality of distributed patterns.
[2] 前記分散パターンは、サーマルヘッドを分割するブロックが備える発熱体の内から 通電する発熱体を選択するパターンであり、  [2] The dispersion pattern is a pattern for selecting a heating element to be energized from heating elements provided in a block that divides the thermal head,
全分散パターンによって、サーマルヘッドが備える全ての発熱体を一回のみ選択 することを特徴とする、請求項 1に記載のサーマルプリンタの駆動方法。  2. The method for driving a thermal printer according to claim 1, wherein all the heating elements provided in the thermal head are selected only once by the total dispersion pattern.
[3] 前記分散パターンは、前記分割ブロックに含まれる発熱体の内の一つの発熱体を 通電する発熱体として選択することを特徴とする、請求項 2に記載のサーマルプリン タの駆動方法。 3. The thermal printer driving method according to claim 2, wherein the dispersion pattern is selected as a heating element that energizes one of the heating elements included in the divided block.
[4] 前記分散パターンは、前記分割ブロックに含まれる発熱体の内の複数の発熱体を 通電する発熱体として選択することを特徴とする、請求項 2に記載のサーマルプリン タの駆動方法。  4. The thermal printer driving method according to claim 2, wherein the dispersion pattern is selected as a heating element that energizes a plurality of heating elements included in the divided blocks.
[5] 前記分散パターンは、サーマルヘッドが備える全発熱体の内から通電する発熱体 を選択するパターンであり、  [5] The dispersion pattern is a pattern for selecting a heating element to be energized from all the heating elements included in the thermal head.
全分散パターンによって、サーマルヘッドが備える全ての発熱体を一回のみ選択 することを特徴とする、請求項 1に記載のサーマルプリンタの駆動方法。  2. The method for driving a thermal printer according to claim 1, wherein all the heating elements provided in the thermal head are selected only once by the total dispersion pattern.
[6] 前記各分散パターンは、同数の発熱体を通電する発熱体として選択することを特 徴とする、請求項 5に記載のサーマルプリンタの駆動方法。 6. The thermal printer driving method according to claim 5, wherein each of the dispersion patterns is selected as a heating element for energizing the same number of heating elements.
[7] 前記複数の分散パターンを予め記録しておき、順次読み出すことにより使用する分 散パターンを切り替えることを特徴とする、請求項 1から 6のいずれか一つに記載のサ 一マルプリンタの駆動方法。 [7] The thermal printer according to any one of claims 1 to 6, wherein the plurality of dispersion patterns are recorded in advance, and the dispersion pattern to be used is switched by sequentially reading the plurality of dispersion patterns. Driving method.
[8] 前記複数の分散パターンを、一ラインの印字データに対して重複を避けて順次形 成し、順次形成した分散パターンを使用することにより分散パターンを切り替えること を特徴とする、請求項 1から 6のいずれか一つに記載のサーマルプリンタの駆動方法 [8] The plurality of dispersion patterns are sequentially formed while avoiding duplication with respect to one line of print data, and the dispersion patterns are switched by using the sequentially formed dispersion patterns. The driving method of the thermal printer as described in any one of 1 to 6
[9] 前記紙送りは、前記各通電の後に感熱紙を搬送することを特徴とする、請求項 1力ゝ ら 6いずれか一つに記載のサーマルプリンタの駆動方法。 9. The thermal printer driving method according to any one of claims 1 to 6, wherein in the paper feeding, the thermal paper is conveyed after each energization.
[10] 感熱紙を搬送する紙送り手段と、 [10] a paper feeding means for conveying the thermal paper;
紙送り方向と直交するライン上に複数の発熱体を線状に配置するサーマルンヘッド とを備えるサーマルプリンタにおいて、  In a thermal printer comprising a thermal head that linearly arranges a plurality of heating elements on a line perpendicular to the paper feed direction,
前記複数の発熱体の内から通電する発熱体を選択する複数の分散パターンを有し 、前記複数の分散パターンを切り替え、一ライン分の印字データとの論理積を順次と ることによって通電する発熱体を選択する選択手段を備えることを特徴とする、サー マルプリンタ。  A plurality of dispersion patterns for selecting a heating element to be energized from among the plurality of heating elements, switching the plurality of dispersion patterns, and sequentially generating a logical product with print data for one line to generate heat A thermal printer comprising selection means for selecting a body.
[11] 前記分散パターンは、サーマルヘッドを分割するブロックが備える発熱体の内から 通電する発熱体を選択するパターンであり、  [11] The dispersion pattern is a pattern for selecting a heating element to be energized from heating elements provided in a block that divides the thermal head,
全分散パターンによって、サーマルヘッドが備える全ての発熱体を一回のみ選択 することを特徴とする、請求項 10に記載のサーマルプリンタ。  11. The thermal printer according to claim 10, wherein all the heating elements provided in the thermal head are selected only once by the total dispersion pattern.
[12] 前記分散パターンは、前記分割ブロックに含まれる発熱体の内の一つの発熱体を 通電する発熱体として選択するパターンであることを特徴とする、請求項 11に記載の サーマルプリンタ。 12. The thermal printer according to claim 11, wherein the dispersion pattern is a pattern for selecting one of the heating elements included in the divided block as a heating element to be energized.
[13] 前記分散パターンは、前記分割ブロックに含まれる発熱体の内の複数の発熱体を 通電する発熱体として選択するパターンであることを特徴とする、請求項 11に記載の サーマルプリンタ。  13. The thermal printer according to claim 11, wherein the dispersion pattern is a pattern for selecting a plurality of heating elements included in the divided blocks as heating elements to be energized.
[14] 前記分散パターンは、サーマルヘッドが備える全発熱体の内から通電する発熱体 を選択するパターンであり、  [14] The dispersion pattern is a pattern for selecting a heating element to be energized from all the heating elements included in the thermal head,
全分散パターンによって、サーマルヘッドが備える全ての発熱体を一回のみ選択 することを特徴とする、請求項 10に記載のサーマルプリンタ。  11. The thermal printer according to claim 10, wherein all the heating elements provided in the thermal head are selected only once by the total dispersion pattern.
[15] 前記各分散パターンは、同数の発熱体を通電する発熱体として選択することを特 徴とする、請求項 14に記載のサーマルプリンタ。 [15] Each of the dispersion patterns is selected as a heating element for energizing the same number of heating elements. 15. The thermal printer according to claim 14, wherein
[16] 前記複数の分散パターンを記録し、前記複数の分散パターンを順次循環させて読 み出す記録手段を備えることを特徴とする、請求項 10から 15のいずれか一つに記 載のサーマルプリンタ。 [16] The thermal device according to any one of [10] to [15], further comprising recording means for recording the plurality of dispersion patterns and sequentially reading the plurality of dispersion patterns. Printer.
[17] 前記複数の分散パターンを順次形成する分散パターン形成手段を備えることを特 徴とする、請求項 10から 15のいずれか一つに記載のサーマルプリンタ。  [17] The thermal printer according to any one of [10] to [15], further comprising dispersion pattern forming means for sequentially forming the plurality of dispersion patterns.
[18] 前記紙送り手段は、前記各通電の後に感熱紙を搬送することを特徴とする、請求項 10から 15のいずれか一つに記載のサーマルプリンタ。  18. The thermal printer according to claim 10, wherein the paper feeding means conveys thermal paper after each energization.
PCT/JP2007/050894 2006-05-19 2007-01-22 Thermal printer and driving method of thermal printer WO2007135785A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006139735A JP2007307808A (en) 2006-05-19 2006-05-19 Thermal printer
JP2006-139735 2006-05-19

Publications (1)

Publication Number Publication Date
WO2007135785A1 true WO2007135785A1 (en) 2007-11-29

Family

ID=38723099

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2007/050894 WO2007135785A1 (en) 2006-05-19 2007-01-22 Thermal printer and driving method of thermal printer

Country Status (2)

Country Link
JP (1) JP2007307808A (en)
WO (1) WO2007135785A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009269354A (en) * 2008-05-09 2009-11-19 Fujitsu Component Ltd Thermal printer and drive method thereof
JP5606103B2 (en) * 2010-03-03 2014-10-15 東芝テック株式会社 Thermal printer
JP6861260B2 (en) * 2019-11-07 2021-04-21 サトーホールディングス株式会社 Printer

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04305469A (en) * 1991-04-03 1992-10-28 Ricoh Co Ltd Heat-sensitive recorder
JPH07148964A (en) * 1993-11-30 1995-06-13 Kyocera Corp Thermal head

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04305469A (en) * 1991-04-03 1992-10-28 Ricoh Co Ltd Heat-sensitive recorder
JPH07148964A (en) * 1993-11-30 1995-06-13 Kyocera Corp Thermal head

Also Published As

Publication number Publication date
JP2007307808A (en) 2007-11-29

Similar Documents

Publication Publication Date Title
US7959246B2 (en) Apparatus and method for driving first and second nozzle arrays
JPH10337866A (en) Multipath system ink jet printer having optimized power supply, and method for controlling required power of scanning print head
JP5092380B2 (en) Printing device
WO2007135785A1 (en) Thermal printer and driving method of thermal printer
JPH10109435A (en) Driving method of thermal line printer
US6793304B2 (en) Printing apparatus
US5740332A (en) Image forming device
JP3153795B2 (en) Recording device and recording method
JP3574160B2 (en) Serial thermal printing method
JP3848099B2 (en) Image processing method in printing apparatus
JP3659257B2 (en) Image forming apparatus
JPS62290553A (en) Serial dot printer
JPS6367163A (en) Printing method by serial thermal printer
JP3749091B2 (en) Line printer energization control method
JP2591015B2 (en) Method and apparatus for energizing thermal head in thermal printer
JP2007047967A (en) Image formation apparatus
JP2009090579A (en) Thermal printer, and half-pitch printing control method
JPH1134383A (en) Thermal head driver and driving method thereof
JPH11309894A (en) Printer
JPH08132647A (en) Image recording apparatus
JP2007112106A (en) Thermal printing head and related control method
JP2011218713A (en) Thermal printer and method of compensating its printing defect
JPH10217528A (en) Method for recording color image, color image-recording apparatus, and method for controlling recording of color image
JPH06262807A (en) Color recording apparatus
JP2000198229A (en) Thermal transfer recording apparatus

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: 07707157

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07707157

Country of ref document: EP

Kind code of ref document: A1