JP2013071394A - Printer, printing method, print data correction program - Google Patents

Printer, printing method, print data correction program Download PDF

Info

Publication number
JP2013071394A
JP2013071394A JP2011213798A JP2011213798A JP2013071394A JP 2013071394 A JP2013071394 A JP 2013071394A JP 2011213798 A JP2011213798 A JP 2011213798A JP 2011213798 A JP2011213798 A JP 2011213798A JP 2013071394 A JP2013071394 A JP 2013071394A
Authority
JP
Japan
Prior art keywords
print data
coordinate
printing
coordinates
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011213798A
Other languages
Japanese (ja)
Other versions
JP5892585B2 (en
Inventor
Takashi Yamaguchi
敬 山口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Embedded Products Ltd
Original Assignee
NEC Embedded Products 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 NEC Embedded Products Ltd filed Critical NEC Embedded Products Ltd
Priority to JP2011213798A priority Critical patent/JP5892585B2/en
Publication of JP2013071394A publication Critical patent/JP2013071394A/en
Application granted granted Critical
Publication of JP5892585B2 publication Critical patent/JP5892585B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a printer, a printing method, and a print data correction program which can reduce deterioration of print quality.SOLUTION: With respect to a coordinate whose print data indicates unnecessity of printing, that is, a third coordinate between a first coordinate whose print data indicates necessity of printing and a second coordinate separating by a previously determined number from the first coordinate, a print data correction part generates a correction print data which sets the print data of the third coordinate as the necessity of printing when there is no coordinate whose print data indicates the necessity of printing between the third coordinate and the second coordinate, and sets the print data of the third coordinate as the unnecessity of printing when there is a coordinate whose print data indicates the necessity of printing between the third coordinate and the second coordinate. A print part performs printing based on the generated correction print data.

Description

本発明は、印刷装置、印刷方法、及び印刷データ補正プログラムに関する。   The present invention relates to a printing apparatus, a printing method, and a print data correction program.

文字や記号等から構成される画像を印刷するプリンタには、熱を加えると色彩が変化する紙媒体(感熱紙)に、加熱した印刷素子を接触させて印刷する感熱式プリンタがある。紙媒体には、複数の感熱紙を重ね合わせて構成される複写感熱用紙がある。これにより、一度に複数の用紙に同一の画像を印刷することができる。
例えば、特許文献1に記載のラインサーマルプリンタでは、正規のキャラクタパターンに対してドットの間引きをすることで、印字の太りを防止する。そして、正規のキャラクタパターンに対して単純にドットの間引きをした場合には、印字の掠れが生ずることがあるので、そのような印字の掠れが生じないように、正規のキャラクタパターンに対してドットの補充をする。
Printers that print images composed of characters, symbols, and the like include thermal printers that print by bringing a heated printing element into contact with a paper medium (thermal paper) that changes color when heat is applied. As the paper medium, there is a copy thermal paper configured by superposing a plurality of thermal papers. Thereby, the same image can be printed on a plurality of sheets at a time.
For example, in the line thermal printer described in Patent Document 1, printing is prevented from being thickened by thinning out dots from a regular character pattern. If dots are simply thinned out from the regular character pattern, print blur may occur. Therefore, in order to prevent such print blur, dots from the regular character pattern may be generated. Replenish.

特開2002−166582号公報JP 2002-166582 A

しかしながら、感熱紙の表面に印刷した画像を隠蔽するために、熱を加えても色彩が変化しない別の情報保護用紙(いわゆる目隠しシート)を表面に備えた複写感熱用紙がある。関連する感熱式プリンタが、かかる複写感熱用紙に印刷する場合、情報保護用紙が印刷素子からの熱を吸収、拡散する。そのため、2枚目以降の感熱紙に印刷された画像に掠れが生じる等、印刷品質が劣化してしまうことがある。   However, in order to conceal the image printed on the surface of the thermal paper, there is a copy thermal paper provided with another information protection paper (so-called blindfold sheet) whose color does not change even when heat is applied. When the associated thermal printer prints on such copy thermal paper, the information protection paper absorbs and diffuses heat from the printing elements. Therefore, the print quality may be deteriorated, for example, the image printed on the second and subsequent thermal papers may be blurred.

本発明は上記の点に鑑みてなされたものであり、印刷品質の劣化を低減できる印刷装置、印刷方法及び印刷データ補正プログラムを提供する。   The present invention has been made in view of the above points, and provides a printing apparatus, a printing method, and a print data correction program capable of reducing deterioration in print quality.

(1)本発明は上記の課題を解決するためになされたものであり、本発明の一態様は、第1の座標に対する印刷データが印刷要を表し、前記第1の座標から予め定められた数だけ離れた第2の座標との間における第3の座標であって印刷データが印刷否を表す座標について、前記第3の座標と前記第2の座標との間に印刷データが印刷要を表す座標がない場合には前記第3の座標の印刷データを印刷要と設定し、前記第3の座標と前記第2の座標との間に印刷データが印刷要を表す座標がある場合には当該座標の印刷データを印刷否と設定した補正印刷データを生成する印刷データ補正部と、前記生成した補正印刷データに基づいて印刷を行う印刷部と、を備えることを特徴とする。 (1) The present invention has been made in order to solve the above-described problem. According to one aspect of the present invention, the print data for the first coordinate represents the printing necessity, and is determined in advance from the first coordinate. As for the third coordinate between the second coordinates separated by a number and the print data indicating printing failure, the print data needs to be printed between the third coordinate and the second coordinate. If there is no coordinate to be displayed, the print data of the third coordinate is set as print-needed, and if the print data has a coordinate representing print-needed between the third coordinate and the second coordinate, A print data correction unit that generates corrected print data in which the print data of the coordinates is set as print rejected, and a print unit that performs printing based on the generated corrected print data are provided.

(2)本発明のその他の態様は、前記印刷装置において、前記第3の座標について印刷否を表す印刷データを含み、前記第3の座標と前記第2の座標との間の座標について印刷要を表す印刷データを含まない入力パターン情報と、当該座標について印刷要を表す印刷データを含む補正パターン情報とを対応付けて記憶し、前記第3の座標について印刷否を表す印刷データを含み、前記第3の座標と前記第2の座標との間の座標について印刷要を表す印刷データを含む入力パターン情報と、当該座標について印刷否を表す印刷データを含む補正パターン情報とを対応付けて記憶する補正パターン記憶部を備え、前記印刷データ補正部は、前記印刷データと合致する入力パターン情報に対応する補正パターン情報を前記補正パターン記憶部から読み出して前記補正印刷データを生成することを特徴とする。 (2) According to another aspect of the present invention, in the printing apparatus, the printing apparatus includes print data indicating printing failure for the third coordinates, and printing is required for coordinates between the third coordinates and the second coordinates. Input pattern information that does not include print data that represents and correction pattern information that includes print data that represents print requirements for the coordinates, and stores print data that represents print rejection for the third coordinates, The input pattern information including print data indicating the printing necessity for the coordinates between the third coordinates and the second coordinates and the correction pattern information including the print data indicating the printing failure for the coordinates are stored in association with each other. A correction pattern storage unit, wherein the print data correction unit reads correction pattern information corresponding to input pattern information matching the print data from the correction pattern storage unit. Put out and generates the correction print data.

(3)本発明のその他の態様は、前記印刷装置において、前記印刷データ補正部は、前記第2の座標が前記第1の座標から水平方向及び垂直方向のうち一方の方向に離れている場合に生成した補正印刷データに対して、前記第2の座標が前記第1の座標から他方の方向に離れている場合に補正印刷データを生成することを特徴とする。 (3) According to another aspect of the present invention, in the printing apparatus, the print data correction unit is configured such that the second coordinate is separated from the first coordinate in one of a horizontal direction and a vertical direction. The corrected print data is generated when the second coordinates are separated from the first coordinates in the other direction with respect to the generated corrected print data.

(4)本発明のその他の態様は、第1の座標に対する印刷データが印刷要を表し、前記第1の座標から予め定められた数だけ離れた第2の座標との間における第3の座標であって印刷データが印刷否を表す座標について、前記第3の座標と前記第2の座標との間に印刷データが印刷要を表す座標がない場合には前記第3の座標の印刷データを印刷要と設定し、前記第3の座標と前記第2の座標との間に印刷データが印刷要を表す座標がある場合には当該座標の印刷データを印刷否と設定した補正印刷データを生成する過程、前記生成した補正印刷データに基づいて印刷を行う過程、を備えることを特徴とする印刷方法である。 (4) According to another aspect of the present invention, the print data for the first coordinate indicates that printing is required, and the third coordinate between the second coordinate and a second coordinate separated from the first coordinate by a predetermined number. In the case where the print data indicates that printing is not permitted, if there is no coordinate indicating that printing is necessary between the third coordinate and the second coordinate, the print data of the third coordinate is displayed. If the print data is set as print-necessary and the print data includes a coordinate indicating the print-necessity between the third coordinate and the second coordinate, corrected print data in which the print data at the coordinate is set as print reject is generated. And a printing process based on the generated corrected print data.

(5)本発明のその他の態様は、印刷装置が備えるコンピュータに、印刷装置が備えるコンピュータに、第1の座標に対する印刷データが印刷要を表し、前記第1の座標から予め定められた数だけ離れた第2の座標との間における第3の座標であって印刷データが印刷否を表す座標について、前記第3の座標と前記第2の座標との間に印刷データが印刷要を表す座標がない場合には前記第3の座標の印刷データを印刷要と設定し、前記第3の座標と前記第2の座標との間に印刷データが印刷要を表す座標がある場合には当該座標の印刷データを印刷否と設定した補正印刷データを生成する手順、を実行させるための印刷データ補正プログラムである。 (5) According to another aspect of the present invention, in the computer included in the printing apparatus, the print data corresponding to the first coordinate represents the printing necessity for the computer included in the printing apparatus, and a predetermined number from the first coordinate. Regarding the coordinates that are the third coordinates between the second coordinates that are distant and the print data indicates that printing is not permitted, the coordinates that the print data indicates that printing is necessary between the third coordinates and the second coordinates If there is no coordinate, the print data at the third coordinate is set as print-needed, and if there is a coordinate indicating the print-needed print data between the third coordinate and the second coordinate, the coordinate is Is a print data correction program for executing a procedure for generating corrected print data in which the print data is set to be print rejected.

本発明によれば、印刷品質の劣化を低減できる。   According to the present invention, it is possible to reduce deterioration in print quality.

本実施形態における入力印刷データと補正印刷データの例を示す概念図である。It is a conceptual diagram which shows the example of the input print data in this embodiment, and correction | amendment print data. 本実施形態に係る印刷装置の構成を示す概略図である。It is the schematic which shows the structure of the printing apparatus which concerns on this embodiment. 本実施形態における用紙と関連する機能部との位置関係を表す概念図である。It is a conceptual diagram showing the positional relationship with the function part relevant to the paper in this embodiment. 本実施形態に係る印刷処理を表すフローチャートである。6 is a flowchart illustrating print processing according to the present embodiment. 本実施形態に係る水平方向補正処理を表すフローチャートである。It is a flowchart showing the horizontal direction correction process which concerns on this embodiment. 本実施形態に係る垂直方向補正処理を表すフローチャートである。It is a flowchart showing the vertical direction correction process which concerns on this embodiment. 本実施形態に係る入力パターン情報と補正パターン情報の一例を示す概念図である。It is a conceptual diagram which shows an example of the input pattern information and correction pattern information which concern on this embodiment. 本実施形態に係る入力パターン情報と補正パターン情報のその他の例を示す概念図である。It is a conceptual diagram which shows the other example of the input pattern information which concerns on this embodiment, and correction pattern information. 本実施形態に係る入力印刷データの一例を示す概念図である。It is a conceptual diagram which shows an example of the input print data which concerns on this embodiment. 本実施形態に係る補正印刷データの一例を示す概念図である。It is a conceptual diagram which shows an example of the correction | amendment print data based on this embodiment. 本実施形態に係る補正印刷データのその他の例を示す概念図である。It is a conceptual diagram which shows the other example of the correction | amendment print data which concerns on this embodiment.

以下、図面を参照しながら本発明の実施形態について説明する。
本実施形態に係る印刷装置10は、第1の座標(注目座標)に対する印刷データが印刷要を表し、第1の座標から予め定められた数(α、αは2又は2よりも大きい整数)だけ離れた第2の座標との間における第3の座標であって印刷データが印刷否を表す座標について、第3の座標と第2の座標との間に印刷データが印刷要を表す座標がない場合には第3の座標の印刷データを印刷要と設定する。印刷装置10は、第3の座標と第2の座標との間に印刷データが印刷要を表す座標がある場合には第3の座標の印刷データを印刷否と設定する。印刷装置10は、設定した印刷データを補正印刷データとして生成し、生成した補正印刷データに基づいて印刷を行う。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
In the printing apparatus 10 according to the present embodiment, the print data with respect to the first coordinate (target coordinate) indicates that printing is necessary, and a predetermined number from the first coordinate (α and α are integers greater than 2 or 2). As for the third coordinate between the second coordinate and the second coordinate that is apart from each other and the print data indicates that printing is not permitted, the coordinate that the print data indicates that printing is necessary is between the third coordinate and the second coordinate. If not, the print data of the third coordinate is set to be printed. The printing apparatus 10 sets the print data of the third coordinate as “no print” when the print data includes a coordinate indicating printing necessity between the third coordinate and the second coordinate. The printing apparatus 10 generates the set print data as corrected print data, and performs printing based on the generated corrected print data.

次に、印刷装置10に入力される印刷データ(入力印刷データ)と印刷装置10により補正された印刷データ(補正印刷データ)の例について説明する。
図1は、本実施形態における入力印刷データと補正印刷データの例を示す概念図である。
図1において、左から右に向かう矢印は、水平方向を表すx軸を示す。図2は、最上行から下へ順に、(1−a)入力印刷データ、(1−b)補正印刷データ、(2−a)入力印刷データ、及び(2−b)入力印刷データを示す。図1の例ではα=2である。
印刷データは、座標毎に印刷の要否を表す信号である。印刷データは、例えば、各座標において印刷要であることを示す値1、又はその座標において印刷否であることを示す値0をとる信号を含む二値データである。印刷データは、印刷ページ毎に区分して構成されている。各印刷ページは、水平方向及び垂直方向に予め定めた数の座標の信号値を含んで構成されている。例えば、1ページ当たりの水平方向の座標の数(ドット数)は1280、垂直方向の座標の数は800である。各印刷ページの末尾には、印刷を実行することを表す出力コマンド情報が含まれている。入力印刷データとは、印刷装置10が外部から入力される印刷データである。補正印刷データとは、印刷装置10が後述のように入力印刷データに基づいて補正して生成された印刷データである。
Next, examples of print data (input print data) input to the printing apparatus 10 and print data (corrected print data) corrected by the printing apparatus 10 will be described.
FIG. 1 is a conceptual diagram showing an example of input print data and corrected print data in the present embodiment.
In FIG. 1, an arrow from left to right indicates an x-axis representing a horizontal direction. FIG. 2 shows (1-a) input print data, (1-b) corrected print data, (2-a) input print data, and (2-b) input print data in order from the top row to the bottom. In the example of FIG. 1, α = 2.
The print data is a signal that indicates whether printing is necessary for each coordinate. The print data is, for example, binary data including a signal that takes a value 1 indicating that printing is required at each coordinate or a value 0 indicating that printing is not possible at that coordinate. The print data is divided for each print page. Each print page includes signal values of a predetermined number of coordinates in the horizontal direction and the vertical direction. For example, the number of horizontal coordinates (number of dots) per page is 1280, and the number of vertical coordinates is 800. Output command information indicating execution of printing is included at the end of each print page. The input print data is print data that is input from the outside by the printing apparatus 10. The corrected print data is print data generated by the printing apparatus 10 correcting based on the input print data as will be described later.

各印刷データが示す水平方向に配列された四角の枠は、各座標におけるデータの値を示す。上向きの矢印は、注目座標を表す。黒塗りの丸印は、印刷要であることを示す記号である。空白は、印刷否であることを示す。黒塗りの四角印は、印刷データ補正部102により新たに印刷要と定められたことを示す記号である。白抜きの四角印は、印刷データ補正部102により印刷否と定められたことを示す記号である。   Square frames arranged in the horizontal direction indicated by each print data indicate the value of the data at each coordinate. An upward arrow represents a target coordinate. A black circle is a symbol indicating that printing is necessary. A blank indicates that printing is not allowed. A black square mark is a symbol indicating that the print data correction unit 102 has newly determined that printing is necessary. A white square mark is a symbol indicating that the print data correction unit 102 has determined that printing is not permitted.

(1−a)入力印刷データは、最左列から1〜3番目の座標が印刷要であることを示し、最左列の座標から4〜8番目の座標が印刷否であることを示す。そのうち、最左列から3番目の座標が注目座標(第1の座標)である。
(1−b)補正印刷データは、最左列から1〜4番目の座標が印刷要であることを示し、最左列から5〜8番目の座標が印刷否であることを示す。そのうち、最左列から4番目の座標(第3の座標)は、注目座標と注目座標から2個離れた座標(第2の座標)との間の座標である。この座標における補正印刷データは、印刷装置10により新たに印刷要と設定された印刷データである。
(1-a) The input print data indicates that the first to third coordinates from the leftmost column need to be printed, and the fourth to eighth coordinates from the leftmost column indicate that printing is not permitted. Among them, the third coordinate from the leftmost column is the attention coordinate (first coordinate).
(1-b) The corrected print data indicates that the first to fourth coordinates from the leftmost column need to be printed, and the fifth to eighth coordinates from the leftmost column indicate that printing is not permitted. Among them, the fourth coordinate (third coordinate) from the leftmost column is a coordinate between the target coordinate and a coordinate (second coordinate) two away from the target coordinate. The corrected print data at this coordinate is print data that is newly set to be printed by the printing apparatus 10.

(2−a)入力印刷データは、最左列から1〜3番目及び5番目の座標が印刷要であることを示し、最左列から4番目及び6〜8番目の座標が印刷否であることを示す。そのうち、最左列から3番目の座標が注目座標である。
(2−b)補正印刷データは、最左列から1〜3番目及び5番目の座標が印刷要であることを示し、最左列から4番目及び6〜8番目の座標が印刷否であることを示す。そのうち、最左列から4番目の座標(第3の座標)は、注目座標から2個離れた座標(第2の座標)との間の座標である。この座標における補正印刷データは、印刷装置10により新たに印刷否と設定された印刷データである。なお、印刷データ補正部102が補正印刷データを生成する処理については後述する。
(2-a) The input print data indicates that the 1st to 3rd and 5th coordinates from the leftmost column need to be printed, and the 4th and 6th to 8th coordinates from the leftmost column indicate printing failure. It shows that. Among them, the third coordinate from the leftmost column is the target coordinate.
(2-b) The corrected print data indicates that the first to third and fifth coordinates from the leftmost column need to be printed, and the fourth and sixth to eighth coordinates from the leftmost column indicate printing failure. It shows that. Among them, the fourth coordinate (third coordinate) from the leftmost column is a coordinate between two coordinates (second coordinate) separated from the target coordinate. The corrected print data at the coordinates is print data that is newly set as print rejection by the printing apparatus 10. Note that a process in which the print data correction unit 102 generates corrected print data will be described later.

次に、本実施形態に係る印刷装置10の構成について説明する。
図2は、本実施形態に係る印刷装置10の構成を示す概略図である。
印刷装置10は、上述の外部インタフェース部101、印刷データ補正部(CPU、Central Processing Unit、中央制御装置)102、サーマルヘッド(印刷部)103、RAM(Random Access Memory、ランダムアクセスメモリ)104、サーマルヘッド制御部105、搬送系モータ制御部106、プラテン、センサ制御部108、位置決めセンサ109及びROM(Read Only Memory、読み出し専用メモリ)110を含んで構成される。
Next, the configuration of the printing apparatus 10 according to the present embodiment will be described.
FIG. 2 is a schematic diagram illustrating a configuration of the printing apparatus 10 according to the present embodiment.
The printing apparatus 10 includes an external interface unit 101, a print data correction unit (CPU, Central Processing Unit) 102, a thermal head (printing unit) 103, a RAM (Random Access Memory, random access memory) 104, and a thermal device. The head control unit 105, the conveyance system motor control unit 106, the platen, the sensor control unit 108, the positioning sensor 109, and a ROM (Read Only Memory) 110 are configured.

外部インタフェース部101は、印刷装置10の外部から印刷データを受信する端子を含んで構成され、受信した印刷データを印刷データ補正部102に出力する。外部インタフェース部101は、例えばプリンタポートである。   The external interface unit 101 includes a terminal that receives print data from outside the printing apparatus 10, and outputs the received print data to the print data correction unit 102. The external interface unit 101 is a printer port, for example.

印刷データ補正部102は、外部インタフェース部101から入力された入力印刷データに基づいて上述の補正印刷データを生成する。ここで、印刷データ補正部102は、
注目座標からα個離れた第2の座標の間に印刷データが印刷否を表す座標について、その座標と第2の座標との間に印刷データが印刷要を表す座標がない場合には、その座標の印刷データを印刷要と設定する。印刷データ補正部102は、その座標と第2の座標との間に印刷データが印刷要を表す座標がある場合には、その座標の印刷データを印刷否と設定する。印刷データ補正部102は、このように設定した印刷データを含む補正印刷データを生成する。
The print data correction unit 102 generates the above-described corrected print data based on the input print data input from the external interface unit 101. Here, the print data correction unit 102
If the print data indicates that printing is not possible between the second coordinates that are a distance apart from the target coordinate, and there is no coordinate indicating that printing data needs to be printed between the coordinates and the second coordinates, Set the print data of coordinates as need printing. If the print data includes a coordinate indicating that printing is necessary between the coordinate and the second coordinate, the print data correction unit 102 sets the print data at that coordinate as “no print”. The print data correction unit 102 generates corrected print data including the print data set as described above.

印刷データ補正部102は、一の座標軸方向として、例えば水平方向の座標軸方向について補正印刷データを生成した後、生成した補正印刷データを入力印刷データとし他方の座標軸方向として垂直方向の座標軸方向について2次元の補正印刷データを生成する。
印刷データ補正部102は、生成した補正印刷データをサーマルヘッド103に出力する。
The print data correction unit 102 generates corrected print data for one coordinate axis direction, for example, for the horizontal coordinate axis direction, and then uses the generated corrected print data as input print data for the second coordinate axis direction for the vertical coordinate axis direction. Dimensionally corrected print data is generated.
The print data correction unit 102 outputs the generated corrected print data to the thermal head 103.

サーマルヘッド103は、印刷データ補正部102から入力された補正印刷データに基づき、ある座標軸方向の各座標に対応する印刷素子を駆動して複写感熱用紙(以下、単に用紙とも呼ぶ)に印刷する。サーマルヘッド103は、用紙の進行方向とは垂直方向に一定間隔(例えば、1/8mm)で配列した印刷素子を備える。各印刷素子は、所定の温度(例えば、90℃)に熱せられる。従って、用紙に対して、印刷素子が接触された部位に印刷される。   Based on the corrected print data input from the print data correction unit 102, the thermal head 103 drives a printing element corresponding to each coordinate in a certain coordinate axis direction to print on a copy thermal paper (hereinafter also simply referred to as a paper). The thermal head 103 includes printing elements arranged at regular intervals (for example, 1/8 mm) in a direction perpendicular to the paper traveling direction. Each printing element is heated to a predetermined temperature (eg, 90 ° C.). Accordingly, printing is performed on a portion where the printing element is in contact with the paper.

RAM104は、パターン記憶部1041、受信バッファ部1042、描画バッファ部1043、編集バッファ部1044、及び印刷バッファ部1045を含んで構成される。   The RAM 104 includes a pattern storage unit 1041, a reception buffer unit 1042, a drawing buffer unit 1043, an editing buffer unit 1044, and a print buffer unit 1045.

パターン記憶部1041は、入力パターン情報を補正パターン情報と対応付けて記憶されている。入力パターン情報とは、注目座標とその周辺の予め定めた領域における入力印刷データのパターンを表す情報である。入力パターン情報には、注目座標からαだけ離れた第2の座標の間の座標について印刷否を表す印刷データを含み、その座標と第2の座標との間の座標について印刷要を表す印刷データを含むものと含まないものがある。例えば、入力パターン情報は、注目座標について印刷要を表し、その座標からある座標軸方向に配列されたα+γ個の座標について印刷の要否を表す入力印刷データを含む情報である。γは、1又は1よりも大きい予め定めた整数、例えば1である。   The pattern storage unit 1041 stores input pattern information in association with correction pattern information. The input pattern information is information representing a pattern of input print data in a target area and a predetermined area around it. The input pattern information includes print data that indicates printing failure for the coordinates between the second coordinates that are separated from the target coordinates by α, and the printing data that indicates the necessity of printing for the coordinates between the coordinates and the second coordinates. Some of them include and some do not. For example, the input pattern information is information including input print data that indicates the necessity of printing for the coordinate of interest and the necessity of printing for α + γ coordinates arranged in a certain coordinate axis direction from the coordinate. γ is 1 or a predetermined integer larger than 1, for example, 1.

補正パターン情報とは、入力パターン情報に含まれる入力印刷データに対応する補正印刷データを含む情報である。補正パターン情報には、注目座標から第2の座標の間の座標について印刷要を表す印刷データを含むものと、注目座標から第2の座標の間の座標について印刷否を表す印刷データを含む。例えば、補正印刷データは、このα−1個の座標の個数がγと等しい又はγより大きい場合に、上述のα−1個の座標のうち少なくとも1個の座標について印刷否を表す印刷データである。即ち、γは、入力パターン情報が印刷否を表す座標であって上述の座標軸方向とその反対方向の座標であって入力パターン情報が印刷要を表す座標に挟まれる座標の個数の閾値を表す。入力パターン情報と補正パターン情報の一例については、後述する。   The correction pattern information is information including correction print data corresponding to the input print data included in the input pattern information. The correction pattern information includes print data that indicates the necessity of printing for coordinates between the target coordinates and the second coordinates, and print data that indicates print rejection for coordinates between the target coordinates and the second coordinates. For example, the corrected print data is print data that indicates printing failure for at least one of the above α−1 coordinates when the number of α−1 coordinates is equal to or greater than γ. is there. That is, γ represents a threshold value for the number of coordinates in which the input pattern information is a coordinate indicating printing failure and is in the opposite direction to the above-described coordinate axis direction and the input pattern information is sandwiched between coordinates indicating the necessity of printing. An example of the input pattern information and the correction pattern information will be described later.

受信バッファ部1042は、外部インタフェース部101が受信した印刷データを一時的に記憶する。
描画バッファ部1043は、印刷データ補正部102が印刷描画用に変換した入力印刷データを一時的に記憶する。
編集バッファ部1044は、印刷データ補正部102が編集処理を行った補正印刷データを一時的に記憶する。
印刷バッファ部1045は、印刷を行うためにサーマルヘッド制御部105が読み出す補正印刷データを一時的に記憶する。
The reception buffer unit 1042 temporarily stores print data received by the external interface unit 101.
The drawing buffer unit 1043 temporarily stores the input print data converted by the print data correction unit 102 for print drawing.
The editing buffer unit 1044 temporarily stores the corrected print data that has been subjected to the editing process by the print data correction unit 102.
The print buffer unit 1045 temporarily stores corrected print data read by the thermal head control unit 105 in order to perform printing.

サーマルヘッド制御部105は、印刷バッファ部1045から補正印刷データを読み出し、後述するセンサ制御部108から目標位置情報を入力される。目標位置情報とは、次時刻の印刷位置に係る用紙の搬送方向の座標値を表す情報である。サーマルヘッド制御部105は、読み出した補正印刷データと入力された目標位置情報に基づき、駆動させる印刷素子とその印刷素子を駆動させる時刻を表す印刷素子駆動信号を生成する。サーマルヘッド制御部105は、生成した印刷素子駆動信号をサーマルヘッド103に出力する。これによりサーマルヘッド103は、サーマルヘッド制御部105から入力された印刷素子駆動信号に基づいて印刷素子を駆動する。従って、用紙の表面において印刷素子が接触した部位や印刷素子からの熱が伝わった部位に印刷がなされる。   The thermal head control unit 105 reads the corrected print data from the print buffer unit 1045 and receives target position information from the sensor control unit 108 described later. The target position information is information representing coordinate values in the paper transport direction related to the printing position at the next time. The thermal head control unit 105 generates a printing element driving signal indicating a printing element to be driven and a time at which the printing element is driven based on the read correction print data and the input target position information. The thermal head control unit 105 outputs the generated printing element driving signal to the thermal head 103. As a result, the thermal head 103 drives the printing element based on the printing element drive signal input from the thermal head control unit 105. Therefore, printing is performed on a portion of the surface of the paper where the printing element contacts or a portion where heat from the printing element is transmitted.

搬送系モータ制御部106は、後述するプラテン107に動力を伝えるモータを備え、センサ制御部108から入力された目標位置情報が表す位置に用紙が到達するようにプラテン107を回転させる。また、印刷素子を駆動して印刷を行うときは用紙を固定するために、プラテン107を停止させる。
プラテン107は、サーマルヘッド103との間に用紙を挟み込んで印刷素子を駆動して印刷を行うとき固定する。また、プラテン107は、印刷位置を変更する場合に回転することによって挟み込んだ用紙を送り出す。
The transport system motor control unit 106 includes a motor that transmits power to a platen 107, which will be described later, and rotates the platen 107 so that the sheet reaches the position represented by the target position information input from the sensor control unit 108. Further, when printing is performed by driving the printing element, the platen 107 is stopped to fix the paper.
The platen 107 is fixed when printing is performed by sandwiching a sheet with the thermal head 103 and driving a printing element. Further, the platen 107 sends out the sandwiched paper by rotating when changing the printing position.

位置決めセンサ109は、用紙の位置を示す信号を検出し、検出した信号をセンサ制御部108に出力する。位置決めセンサ109は、例えばフォトカプラーである。
センサ制御部108は、位置決めセンサ109から入力された信号に基づき、次の時刻における用紙の目標位置情報を定める。これにより、予め定めた搬送ピッチ(例えば、ドット間隔、1/8mm)毎に用紙を搬送する。センサ制御部108は、生成した目標位置情報をサーマルヘッド制御部105及び搬送系モータ駆動部106に出力する。
The positioning sensor 109 detects a signal indicating the position of the paper and outputs the detected signal to the sensor control unit 108. The positioning sensor 109 is, for example, a photocoupler.
The sensor control unit 108 determines the target position information of the paper at the next time based on the signal input from the positioning sensor 109. As a result, the sheet is conveyed at a predetermined conveyance pitch (for example, dot interval, 1/8 mm). The sensor control unit 108 outputs the generated target position information to the thermal head control unit 105 and the transport system motor driving unit 106.

ROM110は、印刷データ補正部102を動作させるプログラムや前述の入力パターン情報並びに補正パターン情報を記憶されている。印刷データ補正部102は、起動時にROM110からプログラム、入力パターン情報並びに補正パターン情報を読み出し、読み出したプログラムをインストールする。また、印刷データ補正部102は、読み出した入力パターン情報並びに補正パターン情報をパターン記憶部1041に記憶する。   The ROM 110 stores a program for operating the print data correction unit 102, the above-described input pattern information, and correction pattern information. The print data correction unit 102 reads a program, input pattern information, and correction pattern information from the ROM 110 at the time of activation, and installs the read program. The print data correction unit 102 stores the read input pattern information and correction pattern information in the pattern storage unit 1041.

次に、本実施形態における用紙と関連する機能部との位置関係について説明する。
図3は、本実施形態における用紙と関連する機能部との位置関係を表す概念図である。
図3において、左中央部から右中央部に向かう2本の直線は複写感熱用紙20を示す。
2本の直線のうち、上側の細い直線は情報保護用紙201を示す。下側の太い直線は感熱紙202を示す。複写感熱用紙20の中央部の下方の三角形は位置決めセンサ109を示す。
複写感熱用紙20の左上方の三角形はサーマルヘッド103を示す。複写感熱用紙20の左下方の円はプラテン107を示す。この円の内側に示される矢印は、プラテンの回転方向を示す。また、複写感熱用紙20の左側の矢印は、複写感熱用紙20の搬送方向を示す矢印である。即ち、図4は、サーマルヘッド103とプラテン104は複写感熱用紙20を挟み、プラテン107が回転することによって複写感熱用紙20を搬送することを示す。
Next, the positional relationship between the sheet and the functional unit related to the present embodiment will be described.
FIG. 3 is a conceptual diagram showing the positional relationship between the sheet and the related functional unit in the present embodiment.
In FIG. 3, two straight lines from the left center portion to the right center portion indicate the copy thermal paper 20.
Of the two straight lines, the upper thin straight line indicates the information protection sheet 201. The lower thick straight line indicates the thermal paper 202. A triangle below the center of the copy thermal paper 20 indicates the positioning sensor 109.
The triangle on the upper left of the copy thermal paper 20 indicates the thermal head 103. The lower left circle of the copy thermal paper 20 indicates the platen 107. The arrow shown inside this circle indicates the direction of rotation of the platen. Further, the arrow on the left side of the copy thermal paper 20 is an arrow indicating the conveyance direction of the copy thermal paper 20. That is, FIG. 4 shows that the thermal head 103 and the platen 104 sandwich the copy thermal paper 20 and the copy thermal paper 20 is conveyed by the rotation of the platen 107.

複写感熱用紙20は、感熱紙202の表面に情報保護用紙201が重畳されて構成される。情報保護用紙201は、サーマルヘッド103の印刷素子に直接接触するが熱を加えると色彩が変化する感熱剤が表面に塗布されていない。他方、感熱紙202は、感熱剤が塗布されている。従って、情報保護用紙201には印刷されない。これに対し、印刷素子の熱は、情報保護用紙201を通じて感熱紙202に伝わり、熱が伝わった部分が印刷される。関連する印刷装置では、情報保護用紙201が印刷素子の熱を拡散するために感熱紙202に熱が伝わりにくく、印刷品質の劣化を招いていた。例えば、明朝体で表された文字のように細い線からからなる図形では特に印刷品質が劣化しがちであった。   The copy thermal paper 20 is configured by superimposing an information protection paper 201 on the surface of the thermal paper 202. The surface of the information protection paper 201 is not coated with a heat sensitive agent that directly contacts the printing element of the thermal head 103 but changes its color when heat is applied. On the other hand, the thermal paper 202 is coated with a thermal agent. Therefore, it is not printed on the information protection sheet 201. On the other hand, the heat of the printing element is transmitted to the thermal paper 202 through the information protection paper 201, and the portion where the heat is transmitted is printed. In the related printing apparatus, since the information protection paper 201 diffuses the heat of the printing element, it is difficult for heat to be transmitted to the thermal paper 202, resulting in deterioration of print quality. For example, the print quality tends to be deteriorated particularly in a figure composed of thin lines such as characters expressed in the Mincho style.

次に、本実施形態に係る印刷処理の全体の流れについて説明する。
図4は、本実施形態に係る印刷処理を表すフローチャートである。
(ステップS101)外部インタフェース部101は、印刷装置10の外部から印刷データを受信し、受信した印刷データを受信バッファ部1042に記憶する。その後、ステップS102に進む。
(ステップS102)印刷データ補正部102は、受信バッファ部1042から印刷データを読み出し、読み出した印刷データが表す信号値を解析し、1フレームの画像を表し各印刷素子に対応する2次元座標毎の信号値を含む入力印刷データを生成する。1フレームの画像は、予め定められた水平方向の素子数と垂直方向の素子数を乗じた数の座標毎の信号値からなる印刷データで構成される。その後、ステップS103に進む。
Next, the overall flow of the printing process according to the present embodiment will be described.
FIG. 4 is a flowchart showing print processing according to the present embodiment.
(Step S101) The external interface unit 101 receives print data from the outside of the printing apparatus 10, and stores the received print data in the reception buffer unit 1042. Thereafter, the process proceeds to step S102.
(Step S102) The print data correction unit 102 reads the print data from the reception buffer unit 1042, analyzes the signal value represented by the read print data, represents one frame image, and represents the two-dimensional coordinates corresponding to each print element. Input print data including signal values is generated. An image of one frame is composed of print data composed of signal values for each coordinate obtained by multiplying a predetermined number of elements in the horizontal direction and the number of elements in the vertical direction. Thereafter, the process proceeds to step S103.

(ステップS103)印刷データ補正部102は、生成した入力印刷データを描画バッファ部1043に記憶する。その後、ステップS104に進む。
(ステップS104)印刷データ補正部102は、印刷対象のページが確定されたか否かを判断する。印刷データ補正部102は、その判断を、例えば、読み出された印刷データが前述の出力コマンド情報を表すか否かをもって行う。ページが確定されたと判断された場合(ステップS104 Y)、ステップS105に進む。ページが確定していないと判断された場合(ステップS104 N)、ステップS101に進む。
(Step S103) The print data correction unit 102 stores the generated input print data in the drawing buffer unit 1043. Thereafter, the process proceeds to step S104.
(Step S104) The print data correction unit 102 determines whether or not the page to be printed has been confirmed. The print data correction unit 102 makes the determination based on, for example, whether the read print data represents the above-described output command information. If it is determined that the page has been confirmed (Y in step S104), the process proceeds to step S105. If it is determined that the page is not fixed (N in step S104), the process proceeds to step S101.

(ステップS105)印刷データ補正部102は、入力印刷データを補正する処理を行うか否かを判断する。印刷データ補正部102は、例えば、利用者の操作により拡大補正が必要な用紙の種類を表す用紙種類信号が、操作入力部(図示せず)から入力されたか否かにより判断する。補正処理を行うと判断された場合(ステップS105 Y)、ステップS106に進む。補正処理を行わないと判断された場合(ステップS105 N)、ステップS108に進む。 (Step S105) The print data correction unit 102 determines whether or not to perform a process of correcting the input print data. For example, the print data correction unit 102 determines whether or not a paper type signal indicating the type of paper that needs to be enlarged and corrected by a user operation is input from an operation input unit (not shown). When it is determined that correction processing is to be performed (Y in step S105), the process proceeds to step S106. If it is determined not to perform the correction process (N in step S105), the process proceeds to step S108.

(ステップS106)印刷データ補正部102は、印刷領域を水平方向に拡大する水平方向補正処理を実行する。水平方向補正処理については後述する。その後、ステップS107に進む。
(ステップS107)印刷データ補正部102は、印刷領域を垂直方向に拡大する垂直方向補正処理を実行する。垂直方向補正処理については後述する。その後、ステップS109に進む。
(ステップS108)印刷データ補正部102は、描画バッファ部1043から入力印刷データを読み出し、読み出した入力印刷データをそのまま補正印刷データとして印刷バッファ部1045に記憶する。その後、ステップS109に進む。
(Step S106) The print data correction unit 102 executes horizontal direction correction processing for enlarging the print area in the horizontal direction. The horizontal direction correction process will be described later. Thereafter, the process proceeds to step S107.
(Step S107) The print data correction unit 102 executes vertical direction correction processing for enlarging the print area in the vertical direction. The vertical direction correction process will be described later. Thereafter, the process proceeds to step S109.
(Step S108) The print data correction unit 102 reads the input print data from the drawing buffer unit 1043, and stores the read input print data in the print buffer unit 1045 as corrected print data as it is. Thereafter, the process proceeds to step S109.

(ステップS109)サーマルヘッド制御部105は、印刷バッファ部1045から補正印刷データを読み出し、読み出した補正印刷データとセンサ制御部108から入力された目標位置情報に基づいて印刷素子駆動信号を生成する。サーマルヘッド制御部105は、生成した印刷素子駆動信号をサーマルヘッド103に出力して、出力した印刷素子駆動信号に基づいてサーマルヘッド103の印刷素子を駆動させて用紙に印刷を行う。その後、処理を終了する。 (Step S109) The thermal head control unit 105 reads the corrected print data from the print buffer unit 1045, and generates a printing element drive signal based on the read corrected print data and the target position information input from the sensor control unit 108. The thermal head control unit 105 outputs the generated printing element driving signal to the thermal head 103, and drives the printing element of the thermal head 103 based on the output printing element driving signal to print on the paper. Thereafter, the process ends.

次に、本実施形態に係る水平方向補正処理について説明する。
図5は、本実施形態に係る水平方向補正処理を表すフローチャートである。
(ステップS201)印刷データ補正部102は、処理に係る変数を初期化する。初期化される変数は、例えば、入力印刷データのうち処理対象とする注目座標の水平方向(x軸方向)のインデックスxならびに垂直方向(y軸方向)のインデックスy、及び水平方向についての入力パターン情報ならびに補正パターン情報の組を表すインデックスpxaである。それらの初期値は、例えば、x=y=0(原点)、pxa=1である。また、印刷データ補正部102は、編集バッファ部1044に記憶された補正パターン情報を全ての座標について印刷否を示す0と設定する。その後、ステップS202に進む。
(ステップS202)印刷データ補正部102は、描画バッファ部1043から入力印刷データを読み出す。その後、ステップS203に進む。
Next, the horizontal direction correction process according to the present embodiment will be described.
FIG. 5 is a flowchart showing the horizontal direction correction processing according to this embodiment.
(Step S201) The print data correction unit 102 initializes variables related to the processing. The variables to be initialized include, for example, the horizontal direction (x-axis direction) index x and the vertical direction (y-axis direction) index y of the target coordinate to be processed in the input print data, and the input pattern for the horizontal direction. This is an index p xa representing a set of information and correction pattern information. Their initial values are, for example, x = y = 0 (origin) and p xa = 1. In addition, the print data correction unit 102 sets the correction pattern information stored in the editing buffer unit 1044 to 0 indicating printing failure for all coordinates. Thereafter, the process proceeds to step S202.
(Step S202) The print data correction unit 102 reads input print data from the drawing buffer unit 1043. Thereafter, the process proceeds to step S203.

(ステップS203)印刷データ補正部102は、全ての入力パターン情報について、注目座標に係る入力印刷データと照合したか否かを判断する。全ての入力パターン情報について、照合したと判断された場合(ステップS203 Y)、ステップS208に進む。全ての入力パターン情報について、照合していないと判断された場合(ステップS203 N)、ステップS204に進む。
(ステップS204)印刷データ補正部102は、注目座標から水平方向に配列されたα+γ個(例えば、α=2、γ=1)の数の座標の入力印刷データと、パターン記憶部1041に記憶された入力パターン情報のうち1つを照合する。その後、ステップS205に進む。
(ステップS205)印刷データ補正部102は、照合した入力印刷データと入力パターン情報が合致するか否か判断する。合致すると判断された場合(ステップS205 Y)、ステップS207に進む。合致しないと判断された場合(ステップS205 N)、ステップS206に進む。
(ステップS206)印刷データ補正部102は、照合の対象とする入力パターン情報を変更する。その後、ステップS203に進む。
(ステップS207)印刷データ補正部102は、照合した入力印刷データに対応する補正パターン情報をパターン記憶部1041から読み出す。その後、ステップS208に進む。
(Step S203) The print data correction unit 102 determines whether or not all the input pattern information has been collated with the input print data related to the target coordinate. If it is determined that all input pattern information has been collated (Y in step S203), the process proceeds to step S208. If it is determined that all input pattern information has not been collated (step S203 N), the process proceeds to step S204.
(Step S <b> 204) The print data correction unit 102 stores α + γ (for example, α = 2, γ = 1) coordinate input print data arranged in the horizontal direction from the target coordinate, and the pattern storage unit 1041. One of the input pattern information is collated. Thereafter, the process proceeds to step S205.
(Step S205) The print data correction unit 102 determines whether the collated input print data matches the input pattern information. If it is determined that they match (Y in step S205), the process proceeds to step S207. When it is determined that they do not match (N in step S205), the process proceeds to step S206.
(Step S206) The print data correction unit 102 changes the input pattern information to be collated. Thereafter, the process proceeds to step S203.
(Step S207) The print data correction unit 102 reads correction pattern information corresponding to the collated input print data from the pattern storage unit 1041. Thereafter, the process proceeds to step S208.

(ステップS208)印刷データ補正部102は、照合した入力印刷データと合致する入力パターン情報がある場合には、読み出した補正パターン情報が表す補正印刷データを、編集バッファ部1044の注目座標から水平方向に配列されたα+γ個の座標について記憶される記憶領域に記憶する。但し、そのような入力パターン情報がない場合には、印刷データ補正部102は、注目座標における入力印刷データを、編集バッファ部1044の対応する記憶領域に記憶する。本ステップにおいて、印刷データ補正部102が編集バッファ部1044にデータを記憶させる場合には、OR描画を行う。OR描画とは、既に記憶されているデータが示す値と、記憶させようとするデータが示す値が異なる場合、値が大きいほうのデータを記憶させる処理である。その後、ステップS209に進む。 (Step S <b> 208) When there is input pattern information that matches the collated input print data, the print data correction unit 102 displays the corrected print data represented by the read correction pattern information in the horizontal direction from the target coordinates of the edit buffer unit 1044. Are stored in the storage area for storing the α + γ coordinates arranged in the. However, when there is no such input pattern information, the print data correction unit 102 stores the input print data at the coordinate of interest in the corresponding storage area of the editing buffer unit 1044. In this step, when the print data correction unit 102 stores data in the editing buffer unit 1044, OR drawing is performed. The OR drawing is a process for storing data having a larger value when a value indicated by already stored data is different from a value indicated by data to be stored. Thereafter, the process proceeds to step S209.

(ステップS209)印刷データ補正部102は、水平方向について処理が終了したか否か、例えば、あるページの入力印刷データにおいて注目座標が、水平方向の末端の座標まで処理が終了したか否かにより判断する。水平方向について処理が終了したと判断された場合(ステップS209 Y)、ステップS211に進む。水平方向について処理が終了していないと判断された場合(ステップS209 N)、ステップS210に進む。
(ステップS210)印刷データ補正部102は、水平方向の注目座標を更新する。ここで、印刷データ補正部102は、照合した入力印刷データと合致する入力パターン情報がある場合には、注目座標をα個、水平方向に移動させる。また、印刷データ補正部102は、照合した入力印刷データと合致する入力パターン情報がない場合には、注目座標を1個水平方向に移動させる。また、印刷データ補正部102は、入力パターン情報及び補正パターン情報の組を表すインデックスpxaを初期値に戻す。その後、ステップS202に進む。
(Step S209) The print data correction unit 102 determines whether or not the process has been completed in the horizontal direction, for example, whether or not the target coordinate in the input print data of a certain page has been processed up to the end coordinate in the horizontal direction. to decide. If it is determined that the process has been completed in the horizontal direction (Y in step S209), the process proceeds to step S211. If it is determined that the process has not been completed in the horizontal direction (N in step S209), the process proceeds to step S210.
(Step S210) The print data correction unit 102 updates the horizontal attention coordinate. Here, when there is input pattern information that matches the collated input print data, the print data correction unit 102 moves α coordinates of interest in the horizontal direction. Further, when there is no input pattern information that matches the collated input print data, the print data correction unit 102 moves one target coordinate in the horizontal direction. In addition, the print data correction unit 102 returns the index pxa representing the set of input pattern information and correction pattern information to an initial value. Thereafter, the process proceeds to step S202.

(ステップS211)印刷データ補正部102は、垂直方向について処理が終了したか否か、例えば、これ以上垂直方向に処理が行われていない座標はないか否かにより判断する。垂直方向について処理が終了したと判断された場合(ステップS211 Y)、処理を終了する。垂直方向について処理が終了していないと判断された場合(ステップS211 N)、ステップS212に進む。
(ステップS212)印刷データ補正部102は、垂直方向の注目座標を更新する。ここで、印刷データ補正部102は、注目座標を1個垂直方向に移動させる。また、印刷データ補正部102は、入力パターン情報及び補正パターン情報の組を表すインデックスpxaを初期値に戻す。その後、ステップS202に進む。
(Step S211) The print data correction unit 102 determines whether or not the process has been completed in the vertical direction, for example, whether or not there is a coordinate that has not been processed in the vertical direction any more. If it is determined that the process has been completed in the vertical direction (Y in step S211), the process ends. If it is determined that the process has not been completed in the vertical direction (NO in step S211), the process proceeds to step S212.
(Step S212) The print data correction unit 102 updates the attention coordinate in the vertical direction. Here, the print data correction unit 102 moves one target coordinate in the vertical direction. In addition, the print data correction unit 102 returns the index pxa representing the set of input pattern information and correction pattern information to an initial value. Thereafter, the process proceeds to step S202.

次に、本実施形態に係る垂直方向補正処理について説明する。
垂直方向補正処理では、印刷データ補正部102は、注目座標から垂直方向に配列されたβ−1(βは、2又は2より大きい整数)個の座標について印刷要を表す補正印刷データを生成する。但し、そのβ−1個の座標のうち、入力印刷データが印刷否を表し、その座標から、その座標軸方向の座標とその反対方向の座標において印刷要を表す座標がδ個(δは、1又は1より大きい整数)又はδ個より多いとき、印刷データ補正部102は、かかる座標のうち少なくとも1つについて印刷否を表す補正印刷データを生成する。但し、印刷データ補正部102は、水平方向補正処理によって生成した補正印刷データを入力印刷データとして用いる。サーマルヘッド制御部105は、垂直方向補正処理によって生成された補正印刷データを印刷処理に用いる。
Next, the vertical direction correction process according to the present embodiment will be described.
In the vertical direction correction processing, the print data correction unit 102 generates corrected print data indicating the necessity of printing for β-1 (β is an integer greater than 2 or 2) coordinates arranged in the vertical direction from the target coordinate. . However, among the β-1 coordinates, the input print data indicates printing failure, and from the coordinates, the coordinates in the coordinate axis direction and the coordinates in the opposite direction indicate δ (δ is 1). (Or an integer greater than 1) or more than δ, the print data correction unit 102 generates corrected print data indicating printing failure for at least one of the coordinates. However, the print data correction unit 102 uses the corrected print data generated by the horizontal direction correction process as input print data. The thermal head control unit 105 uses the corrected print data generated by the vertical direction correction process for the print process.

図6は、本実施形態に係る垂直方向補正処理を表すフローチャートである。
(ステップS301)印刷データ補正部102は、処理に係る変数を初期化する。初期化される変数は、例えば、入力印刷データのうち処理対象とする注目座標の水平方向(x軸方向)のインデックスx、垂直方向(y軸方向)のインデックスy、垂直方向についての入力パターン情報及び補正パターン情報の組を表すインデックスpyaである。また、印刷データ補正部102は、編集バッファ部1044に記憶された補正パターン情報を全ての座標について印刷否を示す0を設定することでリセットする。その後、ステップS302に進む。
(ステップS302)印刷データ補正部102は、編集バッファ部1044から補正印刷データを入力印刷データとして読み出す。以下の説明でも、編集バッファ部1044から読み出した補正印刷データを入力印刷データと読んで、生成した補正印刷データと区別する。その後、ステップS303に進む。
FIG. 6 is a flowchart showing the vertical direction correction processing according to this embodiment.
(Step S301) The print data correction unit 102 initializes variables related to the process. The variables to be initialized include, for example, the horizontal direction (x-axis direction) index x, the vertical direction (y-axis direction) index y of the target coordinate to be processed in the input print data, and the input pattern information about the vertical direction. And an index p ya representing a set of correction pattern information. Further, the print data correction unit 102 resets the correction pattern information stored in the editing buffer unit 1044 by setting 0 indicating printing failure for all coordinates. Thereafter, the process proceeds to step S302.
(Step S302) The print data correction unit 102 reads the corrected print data from the editing buffer unit 1044 as input print data. Also in the following description, the corrected print data read from the editing buffer unit 1044 is read as input print data and distinguished from the generated corrected print data. Thereafter, the process proceeds to step S303.

(ステップS303)印刷データ補正部102は、全ての入力パターン情報について、注目座標に係る入力印刷データと照合したか否かを判断する。全ての入力パターン情報について、照合したと判断された場合(ステップS303 Y)、ステップS308に進む。全ての入力パターン情報について、照合していないと判断された場合(ステップS303 N)、ステップS304に進む。
(ステップS304)印刷データ補正部102は、注目座標から水平方向に配列されたβ+δ個(例えば、β=3、δ=1)の数の座標の入力印刷データと、パターン記憶部1041に記憶された入力パターン情報のうち1つを照合する。その後、ステップS305に進む。
(ステップS305)印刷データ補正部102は、照合した入力印刷データと入力パターン情報が合致するか否か判断する。合致すると判断された場合(ステップS305 Y)、ステップS307に進む。合致しないと判断された場合(ステップS305 N)、ステップS306に進む。
(ステップS306)印刷データ補正部102は、照合の対象とする入力パターン情報を変更する。その後、ステップS303に進む。
(ステップS307)印刷データ補正部102は、照合した入力印刷データに対応する補正パターン情報をパターン記憶部1041から読み出す。その後、ステップS308に進む。
(Step S303) The print data correction unit 102 determines whether or not all input pattern information has been collated with the input print data relating to the target coordinate. If it is determined that all input pattern information has been collated (Y in step S303), the process proceeds to step S308. If it is determined that all input pattern information has not been collated (N in step S303), the process proceeds to step S304.
(Step S <b> 304) The print data correction unit 102 stores β + δ (for example, β = 3, δ = 1) coordinate input print data arranged in the horizontal direction from the target coordinate, and the pattern storage unit 1041. One of the input pattern information is collated. Thereafter, the process proceeds to step S305.
(Step S305) The print data correction unit 102 determines whether the collated input print data matches the input pattern information. If it is determined that they match (Y in step S305), the process proceeds to step S307. When it is determined that they do not match (N in step S305), the process proceeds to step S306.
(Step S306) The print data correction unit 102 changes the input pattern information to be collated. Thereafter, the process proceeds to step S303.
(Step S307) The print data correction unit 102 reads correction pattern information corresponding to the collated input print data from the pattern storage unit 1041. Thereafter, the process proceeds to step S308.

(ステップS308)印刷データ補正部102は、照合した入力印刷データと合致する入力パターン情報がある場合には、読み出した補正パターン情報が表す補正印刷データを、印刷バッファ部1045の注目座標から垂直方向に配列されたβ+δ個の座標について記憶される記憶領域にOR描画を行って記憶する。但し、そのような入力パターン情報がない場合には、印刷データ補正部102は、注目座標における入力印刷データを、印刷バッファ部1045のその注目座標について記憶される記憶領域にOR描画を行って記憶する。その後、ステップS309に進む。 (Step S308) If there is input pattern information that matches the collated input print data, the print data correction unit 102 displays the corrected print data represented by the read correction pattern information in the vertical direction from the target coordinates of the print buffer unit 1045. OR drawing is performed in a storage area for storing the coordinates of β + δ arranged in the memory. However, if there is no such input pattern information, the print data correction unit 102 stores the input print data at the target coordinate by performing OR drawing in the storage area of the print buffer unit 1045 that stores the target coordinate. To do. Thereafter, the process proceeds to step S309.

(ステップS309)印刷データ補正部102は、垂直方向について処理が終了したか否か、例えば、あるページの入力印刷データにおいて注目座標が、垂直方向の末端の座標まで処理が終了したか否かにより判断する。垂直方向について処理が終了したと判断された場合(ステップS309 Y)、ステップS311に進む。垂直方向について処理が終了していないと判断された場合(ステップS309 N)、ステップS310に進む。
(ステップS310)印刷データ補正部102は、垂直方向の注目座標を更新する。ここで、印刷データ補正部102は、照合した入力印刷データと合致する入力パターン情報がある場合には、注目座標をβ個、垂直方向に移動させる。また、印刷データ補正部102は、照合した入力印刷データと合致する入力パターン情報がない場合には、注目座標を1個垂直方向に移動させる。また、印刷データ補正部102は、入力パターン情報及び補正パターン情報の組を表すインデックスpyaを初期値に戻す。その後、ステップS302に進む。
(Step S309) The print data correction unit 102 determines whether or not the process has been completed in the vertical direction, for example, whether or not the target coordinate in the input print data of a certain page has been processed to the end coordinate in the vertical direction. to decide. If it is determined that the process has been completed in the vertical direction (Y in step S309), the process proceeds to step S311. When it is determined that the process has not been completed in the vertical direction (N in step S309), the process proceeds to step S310.
(Step S310) The print data correction unit 102 updates the attention coordinate in the vertical direction. Here, when there is input pattern information that matches the collated input print data, the print data correction unit 102 moves the target coordinates in the vertical direction by β. Further, when there is no input pattern information that matches the collated input print data, the print data correction unit 102 moves one target coordinate in the vertical direction. Further, the print data correction unit 102 returns the index p ya representing the set of input pattern information and correction pattern information to an initial value. Thereafter, the process proceeds to step S302.

(ステップS311)印刷データ補正部102は、水平方向について処理が終了したか否か、例えば、これ以上水平方向に処理が行われていない座標はないか否かにより判断する。水平方向について処理が終了したと判断された場合(ステップS311 Y)、処理を終了する。水平方向について処理が終了していないと判断された場合(ステップS311 N)、ステップS312に進む。
(ステップS312)印刷データ補正部102は、水平方向の注目座標を更新する。ここで、印刷データ補正部102は、注目座標を1個水平方向に移動させる。また、印刷データ補正部102は、入力パターン情報及び補正パターン情報の組を表すインデックスpyaを初期値に戻す。その後、ステップS302に進む。
(Step S311) The print data correction unit 102 determines whether or not the processing has been completed in the horizontal direction, for example, whether or not there are any coordinates that have not been processed in the horizontal direction any more. If it is determined that the process has been completed in the horizontal direction (Y in step S311), the process ends. If it is determined that the process has not been completed in the horizontal direction (N in step S311), the process proceeds to step S312.
(Step S312) The print data correction unit 102 updates the horizontal attention coordinate. Here, the print data correction unit 102 moves one target coordinate in the horizontal direction. Further, the print data correction unit 102 returns the index p ya representing the set of input pattern information and correction pattern information to an initial value. Thereafter, the process proceeds to step S302.

次に、本実施形態に係る入力パターン情報と補正パターン情報の例について説明する。
図7は、本実施形態に係る入力パターン情報と補正パターン情報の一例を示す概念図である。図7に示される入力パターン情報と補正パターン情報は、上述の水平方向補正処理に用いられる。
図7において、最左列から右側へ順に、インデックスpxa、入力パターン情報及び補正パターン情報を示す。入力パターン情報、補正パターン情報の各欄における四角形の枠は、各座標における印刷データを示す。各入力パターン情報及び補正パターン情報の最左列の座標は、注目座標に対応する座標を示す。ここで、α=2、γ=1、即ち各パターン情報に含まれる座標の数は3である。左右に向かう矢印は、座標軸方向が水平方向(x軸)であることを示す。黒塗りの丸印は、印刷要を示す印刷データ、黒塗りの四角印は、新たに印刷要とすることを示す印刷データ、白抜きの四角印は、引き続き印刷否とすることを示す印刷データ、空白は、印刷否を示す印刷データである。
Next, examples of input pattern information and correction pattern information according to the present embodiment will be described.
FIG. 7 is a conceptual diagram showing an example of input pattern information and correction pattern information according to the present embodiment. The input pattern information and the correction pattern information shown in FIG. 7 are used for the above-described horizontal direction correction process.
In FIG. 7, the index p xa , input pattern information, and correction pattern information are shown in order from the leftmost column to the right side. A rectangular frame in each column of input pattern information and correction pattern information indicates print data at each coordinate. The coordinates in the leftmost column of each input pattern information and correction pattern information indicate coordinates corresponding to the target coordinates. Here, α = 2 and γ = 1, that is, the number of coordinates included in each pattern information is three. The left and right arrows indicate that the coordinate axis direction is the horizontal direction (x axis). Black circles indicate print data indicating that printing is required, black squares indicate print data indicating that printing is newly required, and white squares indicate print data indicating that printing is to continue. The blank is print data indicating printing failure.

図7の最上行から2行目において、インデックス1に対応する入力パターン情報の印刷データは、1列目が印刷要、2列目が印刷否、3列目が印刷否であることを示す。出力パターン情報は、1列目が印刷要、2列目が印刷要、3列目が印刷否であることを示す。ここで、2列目における出力パターンの印刷データは、新たに印刷要と補正されることを示す。   In the second line from the top line in FIG. 7, the print data of the input pattern information corresponding to the index 1 indicates that the first column requires printing, the second column does not print, and the third column does not print. The output pattern information indicates that the first column requires printing, the second column requires printing, and the third column indicates printing failure. Here, it is shown that the print data of the output pattern in the second column is newly corrected to be printed.

図7の最上行から3行目において、インデックス2に対応する入力パターン情報は、1列目が印刷要、2列目が印刷否、3列目が印刷要であることを示す。出力パターン情報は、1列目が印刷要、2列目が印刷否、3列目が印刷要であることを示す。ここで、2列目の座標における入力パターンの印刷データは印刷否であり、水平方向に位置する3列目の印刷データ、その逆方向に位置する1列目の印刷データが印刷要である。これに対して、2列目における出力パターンの印刷データは、印刷否と定めたものである。   In the third line from the top line in FIG. 7, the input pattern information corresponding to the index 2 indicates that the first column requires printing, the second column does not print, and the third column requires printing. The output pattern information indicates that the first column requires printing, the second column does not print, and the third column requires printing. Here, the print data of the input pattern at the coordinates of the second column is printing failure, and the third column of print data positioned in the horizontal direction and the first column of print data positioned in the opposite direction need to be printed. On the other hand, the print data of the output pattern in the second column is determined to be unprintable.

図7の最上行から4行目において、インデックス3に対応する入力パターン情報の印刷データは、1列目が印刷要、2列目が印刷要、3列目が印刷否であることを示す。出力パターン情報は、1列目が印刷要、2列目が印刷要、3列目が印刷否であることを示す。ここで、2列目における出力パターンの印刷データは、対応する座標の入力パターンの印刷データが印刷要であるため、引き続き印刷要であることを示す。   In the fourth line from the top line in FIG. 7, the print data of the input pattern information corresponding to the index 3 indicates that the first column requires printing, the second column requires printing, and the third column does not print. The output pattern information indicates that the first column requires printing, the second column requires printing, and the third column indicates printing failure. Here, the print data of the output pattern in the second column indicates that the print data of the input pattern with the corresponding coordinates needs to be printed, and therefore needs to be printed.

図7の最上行から5行目において、インデックス4に対応する入力パターン情報の印刷データは、1列目が印刷要、2列目が印刷要、3列目が印刷要であることを示す。出力パターン情報は、1列目が印刷要、2列目が印刷要、3列目が印刷要であることを示す。ここで、2列目における出力パターンの印刷データは、対応する座標の入力パターンの印刷データが印刷要であるため、引き続き印刷要であることを示す。   In the fifth line from the top line of FIG. 7, the print data of the input pattern information corresponding to the index 4 indicates that the first column requires printing, the second column requires printing, and the third column requires printing. The output pattern information indicates that the first column requires printing, the second column requires printing, and the third column requires printing. Here, the print data of the output pattern in the second column indicates that the print data of the input pattern with the corresponding coordinates needs to be printed, and therefore needs to be printed.

なお、上述のステップS205において、インデックス3に対応する入力パターン情報が選択された場合は、その他の入力パターン情報とは異なり、ステップS210において注目座標を1個水平方向に移動させる。これにより、次のループでは、現ループにおいて注目座標から2個水平方向に離れた印刷否を表す座標について、印刷の要否が再度判断される。また、ステップS208では、対応する補正印刷データを編集バッファ部1044に記憶する際にOR描画を行うため、次のループにおいて、この座標に関して新たに印刷要と設定されても、その設定結果が反映される。   Note that when the input pattern information corresponding to the index 3 is selected in step S205 described above, unlike the other input pattern information, one target coordinate is moved in the horizontal direction in step S210. As a result, in the next loop, whether or not printing is necessary is determined again with respect to the coordinates representing the printing failure in the current loop in the two horizontal directions away from the target coordinate. In step S208, since OR drawing is performed when the corresponding corrected print data is stored in the editing buffer unit 1044, the setting result is reflected even if a new print request is set for this coordinate in the next loop. Is done.

図8は、本実施形態に係る入力パターン情報と補正パターン情報のその他の例を示す概念図である。図8に示される入力パターン情報と補正パターン情報は、上述の垂直方向補正処理に用いられる。
図8において、最上行から下方へ順に、インデックスpya、入力パターン情報及び補正パターン情報を示す。入力パターン情報、補正パターン情報の各欄における四角形の枠は、各座標における印刷データを示す。各入力パターン情報及び補正パターン情報の最上行の座標は、注目座標に対応する座標を示す。ここで、β=3、γ=1、即ち、各パターン情報に含まれる座標の数は4である。上下に向かう矢印は、座標軸方向が垂直方向(y軸)であることを示す。黒塗りの丸印は、印刷要を示す印刷データ、黒塗りの星印は、新たに印刷要とすることを示す印刷データ、白抜きの星印は、引き続き印刷否とすることを示す印刷データ、空白は、印刷否を示す印刷データである。
FIG. 8 is a conceptual diagram illustrating another example of input pattern information and correction pattern information according to the present embodiment. The input pattern information and the correction pattern information shown in FIG. 8 are used for the above-described vertical direction correction processing.
In FIG. 8, the index p ya , input pattern information, and correction pattern information are shown in order from the top row to the bottom. A rectangular frame in each column of input pattern information and correction pattern information indicates print data at each coordinate. The coordinates of the top line of each input pattern information and correction pattern information indicate coordinates corresponding to the target coordinates. Here, β = 3 and γ = 1, that is, the number of coordinates included in each pattern information is four. The arrows going up and down indicate that the coordinate axis direction is the vertical direction (y-axis). Black circles indicate print data indicating that printing is required, black stars indicate print data indicating that printing is newly required, and white stars indicate print data indicating that printing will continue to be rejected. The blank is print data indicating printing failure.

図8の最左列から2列目において、インデックス1に対応する入力パターン情報の印刷データは、1行目が印刷要、2行目が印刷否、3行目が印刷否、4行目が印刷否であることを示す。出力パターン情報は、1行目が印刷要、2行目が印刷要、3行目が印刷要、4行目が印刷否であることを示す。ここで、2行目及び3行目における出力パターンの印刷データは、新たに印刷要と補正されることを示す。   In the second column from the leftmost column in FIG. 8, the print data of the input pattern information corresponding to the index 1 requires the first line to be printed, the second line to be printed, the third line to be printed, and the fourth line to be printed. Indicates that printing is not allowed. The output pattern information indicates that the first line requires printing, the second line requires printing, the third line requires printing, and the fourth line does not print. Here, the print data of the output pattern in the second line and the third line indicates that it is newly corrected to be printed.

図8の最左列から3列目において、インデックス2に対応する入力パターン情報は、1行目が印刷要、2行目が印刷否、3行目が印刷要、4行目が印刷要であることを示す。出力パターン情報は、1行目が印刷要、2行目が印刷否、3行目が印刷要、4行目が印刷要であることを示す。ここで、2行目の座標における入力パターンの印刷データは印刷否であり、出力パターンの印刷データは、引き続き印刷否と定められたものである。   In the third column from the leftmost column in FIG. 8, the input pattern information corresponding to the index 2 is required to be printed on the first line, not printed on the second line, printed on the third line, and printed on the fourth line. Indicates that there is. The output pattern information indicates that the first line requires printing, the second line does not print, the third line requires printing, and the fourth line requires printing. Here, the print data of the input pattern at the coordinates of the second line is print rejection, and the print data of the output pattern is continuously determined as print rejection.

図8の最左列から4列目において、インデックス3に対応する入力パターン情報は、1行目が印刷要、2行目が印刷否、3行目が印刷要、4行目が印刷否であることを示す。出力パターン情報は、1行目が印刷要、2行目が印刷否、3行目が印刷要、4行目が印刷否であることを示す。ここで、2行目の座標における入力パターンの印刷データは印刷否であり、出力パターンの印刷データは、引き続き印刷否と定められたものである。   In the fourth column from the leftmost column in FIG. 8, the input pattern information corresponding to the index 3 indicates that the first line requires printing, the second line does not print, the third line requires printing, and the fourth line does not print. Indicates that there is. The output pattern information indicates that the first line requires printing, the second line does not print, the third line requires printing, and the fourth line does not print. Here, the print data of the input pattern at the coordinates of the second line is print rejection, and the print data of the output pattern is continuously determined as print rejection.

図8の最左列から5列目において、インデックス4に対応する入力パターン情報は、1行目が印刷要、2行目が印刷否、3行目が印刷否、4行目が印刷要であることを示す。出力パターン情報は、1行目が印刷要、2行目が印刷否、3行目が印刷要、4行目が印刷要であることを示す。ここで、2行目及び3行目の座標における入力パターンの印刷データは印刷否である。これに対して、注目座標から遠い方の3行目における出力パターンの印刷データは、引き続き印刷否であり、注目座標に近い方の2行目における出力パターンの印刷データは新たに印刷要と補正されることを示す。本実施形態では、3行目の代わりに2行目における出力パターンの印刷データが印刷否であってもよい。   In the fifth column from the leftmost column in FIG. 8, the input pattern information corresponding to the index 4 requires that the first line needs printing, the second line does not print, the third line does not print, and the fourth line requires printing. Indicates that there is. The output pattern information indicates that the first line requires printing, the second line does not print, the third line requires printing, and the fourth line requires printing. Here, the print data of the input pattern at the coordinates of the second row and the third row is printing failure. On the other hand, the print data of the output pattern in the third line far from the target coordinate is still not printed, and the print data of the output pattern in the second line closer to the target coordinate is newly printed and corrected. Indicates that In the present embodiment, the print data of the output pattern in the second line instead of the third line may be print rejection.

図8の最左列から6列目において、インデックス5に対応する入力パターン情報は、1行目が印刷要、2行目が印刷要、3行目が印刷否、4行目が印刷要であることを示す。出力パターン情報は、1行目が印刷要、2行目が印刷要、3行目が印刷否、4行目が印刷要であることを示す。ここで、3行目の座標における入力パターンの印刷データは印刷否であり、出力パターンの印刷データは、引き続き印刷否と定められたものである。   In the sixth column from the leftmost column in FIG. 8, the input pattern information corresponding to the index 5 requires that the first line is printed, the second line is printed, the third line is printed, the fourth line is printed, and the fourth line is printed. Indicates that there is. The output pattern information indicates that the first line requires printing, the second line requires printing, the third line does not print, and the fourth line requires printing. Here, the print data of the input pattern at the coordinates of the third line is print rejection, and the print data of the output pattern is continuously determined as print rejection.

図8の最上行から7行目において、インデックス6に対応する入力パターン情報の印刷データは、1行目が印刷要、2行目が印刷要、3行目が印刷否、4行目が印刷否であることを示す。出力パターン情報は、1行目が印刷要、2行目が印刷要、3行目が印刷要、4行目が印刷否であることを示す。ここで、3行目における出力パターンの印刷データは、入力パターンの印刷データが印刷否であるため、新たに印刷要と定められたことを示す。   In the 7th line from the top line in FIG. 8, the print data of the input pattern information corresponding to the index 6 requires the first line to be printed, the second line to be printed, the third line to be printed, and the fourth line to be printed. Indicates no. The output pattern information indicates that the first line requires printing, the second line requires printing, the third line requires printing, and the fourth line does not print. Here, the print data of the output pattern in the third line indicates that the print data of the input pattern is not printable, so that it is newly determined to be printed.

図8の最左列から8行目において、インデックス7に対応する入力パターン情報の印刷データは、1行目が印刷要、2行目が印刷要、3行目が印刷要、4行目が印刷否であることを示す。出力パターン情報は、1行目が印刷要、2行目が印刷要、3列目が印刷要、4列目が印刷否であることを示す。ここで、2行目、3行目における出力パターンの印刷データは、対応する座標の入力パターンの印刷データが印刷要であるため、引き続き印刷要であることを示す。   In the 8th line from the leftmost column in FIG. 8, the print data of the input pattern information corresponding to the index 7 requires the first line to be printed, the second line to be printed, the third line to be printed, and the fourth line to be printed. Indicates that printing is not allowed. The output pattern information indicates that the first line requires printing, the second line requires printing, the third column requires printing, and the fourth column indicates that printing is not permitted. Here, the print data of the output pattern in the second line and the third line indicates that the print data of the input pattern of the corresponding coordinates needs to be printed, so that it is necessary to continue printing.

図8の最左列から9行目において、インデックス8に対応する入力パターン情報の印刷データは、1行目が印刷要、2行目が印刷要、3行目が印刷要、4行目が印刷要であることを示す。出力パターン情報は、1行目が印刷要、2行目が印刷要、3列目が印刷要、4列目が印刷要であることを示す。ここで、2行目、3行目における出力パターンの印刷データは、対応する座標の入力パターンの印刷データが印刷要であるため、引き続き印刷要であることを示す。   In the ninth line from the leftmost column in FIG. 8, the print data of the input pattern information corresponding to the index 8 requires the first line to be printed, the second line to be printed, the third line to be printed, and the fourth line to be printed. Indicates that printing is necessary. The output pattern information indicates that the first line requires printing, the second line requires printing, the third column requires printing, and the fourth column requires printing. Here, the print data of the output pattern in the second line and the third line indicates that the print data of the input pattern of the corresponding coordinates needs to be printed, so that it is necessary to continue printing.

なお、上述のステップS305において、インデックス3、6又は7に対応する入力パターン情報が選択された場合は、その他の入力パターン情報とは異なり、ステップS310において注目座標を2個垂直方向に移動させる。これにより、次のループでは、現ループにおいて注目座標から3個垂直方向に離れた印刷否を表す座標において、印刷の要否が再度判断される。また、ステップS308では、対応する補正印刷データを印刷バッファ部1045に記憶する際にOR描画を行うため、次のループにおいて、この座標に関して新たに印刷要と設定されても、その設定結果が反映される。   Note that when the input pattern information corresponding to the index 3, 6 or 7 is selected in the above-described step S305, unlike the other input pattern information, two coordinates of interest are moved in the vertical direction in step S310. As a result, in the next loop, the necessity of printing is determined again at the coordinates representing the printing rejection that is three pieces away from the target coordinate in the vertical direction in the current loop. In step S308, since OR drawing is performed when the corresponding corrected print data is stored in the print buffer unit 1045, the setting result is reflected even if a new print request is set for this coordinate in the next loop. Is done.

次に、本実施形態に係る入力印刷データについて説明する。
図9は、本実施形態に係る入力印刷データの一例を示す概念図である。
図9は、文字“A”を表す画像の2次元入力印刷データである。図9において、格子状に配列された四角形枠は座標毎の印刷データを表す。ここで、黒塗りの丸印は、印刷要を示す印刷データ、空白は、印刷否を示す印刷データである。x軸方向が水平方向、y軸方向が垂直方向を表す。
Next, input print data according to the present embodiment will be described.
FIG. 9 is a conceptual diagram showing an example of input print data according to the present embodiment.
FIG. 9 shows two-dimensional input print data of an image representing the character “A”. In FIG. 9, square frames arranged in a grid form represent print data for each coordinate. Here, black circles are print data indicating the necessity of printing, and blanks are print data indicating printing failure. The x-axis direction represents the horizontal direction, and the y-axis direction represents the vertical direction.

次に、本実施形態に係る補正印刷データについて説明する。
図10は、本実施形態に係る補正印刷データの一例を示す概念図である。
図10が示す補正印刷データは、文字“A”を表す画像の2次元入力印刷データに対して、印刷装置10が上述の水平方向補正処理を行って生成した2次元補正印刷データである。
図10において、格子状に配列された四角形枠は座標毎の印刷データを表す。ここで、黒塗りの丸印は、印刷要を示す印刷データ、黒塗りの四角印は、新たに印刷要と補正することを示す印刷データ、空白は、印刷否を示す印刷データである。x軸方向が水平方向、y軸方向が垂直方向を表す。図10が示す2次元補正印刷データが表す画像は、図9の文字“A”を表す2次元入力印刷データよりも水平方向に1(=α−1)座標ずつ拡大していることを示す。
Next, the corrected print data according to the present embodiment will be described.
FIG. 10 is a conceptual diagram illustrating an example of corrected print data according to the present embodiment.
The corrected print data illustrated in FIG. 10 is two-dimensional corrected print data generated by the printing apparatus 10 performing the above-described horizontal direction correction processing on the two-dimensional input print data of the image representing the character “A”.
In FIG. 10, square frames arranged in a lattice form represent print data for each coordinate. Here, a black circle is print data indicating that printing is necessary, a black square is print data indicating that the printing is newly corrected, and a blank is print data indicating printing rejection. The x-axis direction represents the horizontal direction, and the y-axis direction represents the vertical direction. The image represented by the two-dimensional corrected print data shown in FIG. 10 indicates that it is enlarged by 1 (= α−1) coordinates in the horizontal direction than the two-dimensional input print data representing the character “A” in FIG.

図11は、本実施形態に係る補正印刷データのその他の例を示す概念図である。
図11が示す補正印刷データは、図10に示す2次元補正印刷データに対して、印刷装置10が上述の垂直方向補正処理を行って生成した2次元補正印刷データである。
図11において、格子状に配列された四角形の枠は座標毎の印刷データを表す。ここで、黒塗りの丸印は、印刷要を示す印刷データ、黒塗りの星印は、新たに印刷要とすることを示す印刷データ、白抜きの星印は、引き続き印刷否とすることを示す印刷データ、空白は、印刷否を示す印刷データである。x軸方向が水平方向、y軸方向が垂直方向を表す。図11が示す2次元補正印刷データが表す画像は、全体的に図10の2次元補正印刷データが示す画像よりも水平方向に2(=β−1)座標ずつ拡大していることを示す。
FIG. 11 is a conceptual diagram illustrating another example of the corrected print data according to the present embodiment.
The corrected print data shown in FIG. 11 is two-dimensional corrected print data generated by the printing apparatus 10 performing the above-described vertical direction correction processing on the two-dimensional corrected print data shown in FIG.
In FIG. 11, square frames arranged in a lattice form represent print data for each coordinate. Here, black circles indicate print data indicating that printing is required, black stars indicate print data indicating that printing is newly required, and white stars indicate that printing is not allowed. The print data to be displayed and the blank are print data to indicate printing failure. The x-axis direction represents the horizontal direction, and the y-axis direction represents the vertical direction. The image represented by the two-dimensional corrected print data shown in FIG. 11 generally indicates that the image indicated by the two-dimensional corrected print data in FIG. 10 is enlarged by 2 (= β−1) coordinates in the horizontal direction.

本実施形態によれば、印刷要を表す座標の領域に加熱された印刷素子が表面の情報保護用紙201に接触する領域が拡大する。情報保護用紙201に覆われた感熱紙202まで熱が伝達するため、文字の掠れ等の印刷品質の劣化が回避される。
また、図11において、白抜きの星印が示す座標において印刷データは印刷否であることを示す。この座標に対して垂直方向及びその逆方向に隣接する座標ともに印刷データが印刷要である。従って、白抜きの星印が示す座標において印刷否とすることによって文字のつぶれ等の印刷品質の劣化が回避される。
即ち、入力印刷データにおいて、印刷要を表す座標に挟まれる狭い領域に印刷否を表す座標がある場合、その印刷否を表す座標までは印刷される領域の拡大が回避される。
よって、入力印刷データが表す画像が、印刷要を表す領域と印刷否を表す領域が入り組む微細な文字、記号又は記号等を表す場合であっても、印刷否を表す領域が確保されるため印刷品質の劣化(例えば、文字のつぶれ)が回避される。
According to the present embodiment, the area in which the printing element heated to the area of the coordinates representing the necessity of printing contacts the information protection paper 201 on the front surface is enlarged. Since heat is transferred to the thermal paper 202 covered with the information protection paper 201, deterioration of print quality such as curling of characters is avoided.
Further, in FIG. 11, the print data at the coordinates indicated by the white star indicates that printing is not allowed. The print data needs to be printed for both the coordinates adjacent to the coordinates in the vertical direction and in the opposite direction. Therefore, the printing quality deterioration such as the crushing of characters can be avoided by rejecting printing at the coordinates indicated by the white stars.
That is, in the input print data, if there is a coordinate indicating printing rejection in a narrow area sandwiched between coordinates indicating printing necessity, enlargement of the printed area is avoided up to the coordinates indicating printing rejection.
Therefore, even if the image represented by the input print data represents a fine character, symbol, symbol, or the like in which the area indicating the printing necessity and the area indicating the printing failure are complicated, the area indicating the printing failure is secured. Deterioration of print quality (for example, crushing of characters) is avoided.

なお、上述では、α、β、γ及びδの値が一定であることを前提に説明したが、本実施形態では、これには限られない。例えば、印刷に係るページ(もしくはフレーム)や領域(例えば、あるページの上半分又は下半分)によって、異なるα、β、γ又はδの値を用いてもよい。
また、本実施形態では、印刷に係る画像が文字を表す画像を含む場合には、文字の種別(フォント)や太さの指定によって異なるα、β、γ又はδの値を用いてもよい。例えば、画が細い明朝体について、より大きい値としてα=2、β=3、γ=δ=2、画が太いゴシック体について、より小さい値としてα=1、β=2、γ=δ=1とする。
In the above description, α, β, γ, and δ are assumed to be constant. However, the present embodiment is not limited to this. For example, different values of α, β, γ, or δ may be used depending on the page (or frame) or area (for example, the upper half or the lower half of a certain page) related to printing.
In the present embodiment, when the image related to printing includes an image representing a character, different values of α, β, γ, or δ may be used depending on the character type (font) or thickness designation. For example, α = 2, β = 3, γ = δ = 2 as the larger values for the Mincho style with a thin image, and α = 1, β = 2, γ = δ as the smaller values for the Gothic style with a thick image. = 1.

また、これらを組み合わせ、本実施形態では、文字の種別もしくは太さの指定とページもしくは座標の組み合わせによって、異なるα、β、γ又はδの値を用いてもよい。そこで、本実施形態では、ページや座標毎によって異なる種別や太さで表された文字(例えば、明朝体フォントが指定された箇所、ゴシック体フォントが指定された箇所、バーコードが指定された箇所)に応じて異なるα、β、γ又はδの値を用いて印刷を行う。
これにより、本実施形態では例えば必ず予め設定された内蔵フォントや内蔵バーコードを用いなくとも、文字の種別、太さの指定、ページ、座標等に応じて印刷品質の劣化を回避することができる。
Also, by combining these, in the present embodiment, different values of α, β, γ, or δ may be used depending on the combination of the character type or thickness designation and the page or coordinates. Therefore, in the present embodiment, characters represented by different types and thicknesses depending on the page and coordinates (for example, a location where a Mincho font is specified, a location where a Gothic font is specified, and a barcode are specified) Printing is performed using different values of α, β, γ, or δ depending on the location.
As a result, in this embodiment, for example, it is possible to avoid deterioration in print quality according to character type, thickness designation, page, coordinates, etc. without necessarily using a preset built-in font or built-in barcode. .

なお、上述では、本実施形態に係る印刷装置10が、複写感熱用紙20の2枚目に相当する感熱紙202に対して印刷を行うことを前提に説明したが、本実施形態ではこれには限られない。本実施形態では、任意の複写枚数の感熱紙が重畳した複写感熱用紙20(必ずしも情報保護用紙を備えていなくともよい)に印刷するものであってもよい。ここで、本実施形態では、印刷対象の感熱紙の表面からの枚数が増加するほど、大きいα及びβの値を用いてもよい。例えば、本実施形態では、ある印刷領域について1枚目の感熱紙に対してα=β=1、γ=δ=0と設定して、そのまま入力印刷データに基づいて印刷を行うようにする。その他の印刷領域について2枚目の感熱紙に対してα=2、β=2、γ=δ=1と設定し、さらに他の印刷領域について3枚目の感熱紙に対してα=3、β=3、γ=δ=2と設定する。これにより、本実施形態では印刷領域や複写枚数に応じて印刷品質の劣化を回避することができる。
関連する印刷装置では、複写枚数に応じてサーマルヘッドに印加する電流を調節していたが、サーマルヘッドが備える印刷素子毎に温度を調節することが困難であるうえ、温度の調節に伴い寿命が短縮される問題があった。本実施形態では、サーマルヘッドに与える温度を変化させる必要がないので、寿命が短縮される問題を回避することができる。
In the above description, it is assumed that the printing apparatus 10 according to the present embodiment performs printing on the thermal paper 202 corresponding to the second sheet of the copy thermal paper 20, but the present embodiment does not include this. Not limited. In the present embodiment, printing may be performed on a copy thermal paper 20 (which does not necessarily include an information protection paper) on which thermal paper of an arbitrary number of copies is superimposed. Here, in the present embodiment, larger values of α and β may be used as the number of sheets from the surface of the thermal paper to be printed increases. For example, in this embodiment, α = β = 1 and γ = δ = 0 are set for the first thermal paper for a certain print area, and printing is performed based on the input print data as it is. For other print areas, α = 2, β = 2, and γ = δ = 1 are set for the second thermal paper, and α = 3 for the third thermal paper for the other print areas. Set β = 3 and γ = δ = 2. Thereby, in this embodiment, deterioration of print quality can be avoided according to the print area and the number of copies.
In the related printing device, the current applied to the thermal head is adjusted according to the number of copies. However, it is difficult to adjust the temperature for each printing element included in the thermal head, and the life of the thermal head increases as the temperature is adjusted. There was a problem that was shortened. In this embodiment, since it is not necessary to change the temperature applied to the thermal head, it is possible to avoid the problem of shortening the lifetime.

なお、本実施形態では、上述の水平方向補正処理のステップS208又は垂直方向補正処理のステップS308において、所定の場合には、補正印刷データを印刷バッファ部1045に記憶する処理を省略してもよい。ここで、所定の場合とは、入力印刷データと合致する入力パターン情報と読み出した補正パターン情報が等しい場合である。例えば、図7のインデックスpxa=2、3、4及び図8のインデックスpya=2、3、5、7、8のいずれかの入力パターン情報及び補正パターン情報が選択された場合である。これにより冗長な処理を排除して処理効率を向上させることができる。 In the present embodiment, in step S208 of the horizontal direction correction process or step S308 of the vertical direction correction process described above, the process of storing the corrected print data in the print buffer unit 1045 may be omitted in a predetermined case. . Here, the predetermined case is a case where the input pattern information matching the input print data is equal to the read correction pattern information. For example, this is a case where the input pattern information and the correction pattern information of the index p xa = 2, 3, 4 in FIG. 7 and the index p ya = 2, 3, 5, 7, 8 in FIG. 8 are selected. This eliminates redundant processing and improves processing efficiency.

このように、本実施形態によれば、第1の座標(注目座標)に対する印刷データが印刷要を表し、第1の座標から予め定められた数αだけ離れた第2の座標との間における第3の座標であって印刷データが印刷否を表す座標について、第3の座標と第2の座標との間に印刷データが印刷要を表す座標がない場合には第3の座標の印刷データを印刷要と設定する。印刷装置10は、第3の座標と第2の座標との間に印刷データが印刷要を表す座標がある場合には第3の座標の印刷データを印刷否と設定する。印刷装置10は、設定した印刷データを補正印刷データとして生成し、生成した補正印刷データに基づいて印刷を行う
これにより、本実施形態では、補正印刷データに基づいて印刷される画像は、入力印刷データに基づく画像よりも印刷される画像が拡大されるため、印刷素子に接触する情報保護用紙を通じて感熱紙まで熱が通過する。また、入力印刷データにおいて、印刷要を表す座標に挟まれる狭い領域に印刷否を表す座標がある場合、その印刷否を表す座標までは印刷される領域の拡大が回避される。そのため、印刷品質の劣化が回避される。
As described above, according to the present embodiment, the print data for the first coordinate (target coordinate) represents the necessity of printing, and the second coordinate that is separated from the first coordinate by a predetermined number α is between the first coordinate and the second coordinate. If the print data is the third coordinate and the print data indicates that printing is not permitted, the print data of the third coordinate is displayed when there is no print data indicating that printing is necessary between the third coordinate and the second coordinate. Is set as required for printing. The printing apparatus 10 sets the print data of the third coordinate as “no print” when the print data includes a coordinate indicating printing necessity between the third coordinate and the second coordinate. The printing apparatus 10 generates the set print data as corrected print data, and performs printing based on the generated corrected print data. Accordingly, in the present embodiment, an image printed based on the corrected print data is input print Since the printed image is enlarged rather than the image based on the data, heat passes to the thermal paper through the information protection paper in contact with the printing element. Further, in the input print data, when there is a coordinate indicating printing rejection in a narrow area sandwiched between coordinates indicating printing necessity, enlargement of the printed area is avoided up to the coordinate indicating printing rejection. As a result, deterioration of print quality is avoided.

なお、上述では、一の座標軸方向とは、その座標軸(例えば、水平方向又は垂直方向)の正方向である場合を例にとって説明したが、本実施形態ではこれには限られない。本実施形態では、一の座標軸方向とは、その座標軸の負方向であってもよい。   In the above description, the case where one coordinate axis direction is the positive direction of the coordinate axis (for example, the horizontal direction or the vertical direction) has been described as an example. However, the present embodiment is not limited to this. In the present embodiment, the one coordinate axis direction may be the negative direction of the coordinate axis.

なお、上述した実施形態における印刷装置10の一部、例えば、印刷データ補正部102、サーマルヘッド制御部105、搬送系モータ制御部106、及びセンサ制御部108をコンピュータで実現するようにしても良い。その場合、この制御機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現しても良い。なお、ここでいう「コンピュータシステム」とは、印刷装置10に内蔵されたコンピュータシステムであって、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでも良い。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
また、上述した実施形態における印刷装置10の一部、または全部を、LSI(Large Scale Integration)等の集積回路として実現しても良い。印刷装置10の各機能ブロックは個別にプロセッサ化してもよいし、一部、または全部を集積してプロセッサ化しても良い。また、集積回路化の手法はLSIに限らず専用回路、または汎用プロセッサで実現しても良い。また、半導体技術の進歩によりLSIに代替する集積回路化の技術が出現した場合、当該技術による集積回路を用いても良い。
A part of the printing apparatus 10 in the above-described embodiment, for example, the print data correction unit 102, the thermal head control unit 105, the transport system motor control unit 106, and the sensor control unit 108 may be realized by a computer. . In that case, the program for realizing the control function may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read by a computer system and executed. Here, the “computer system” is a computer system built in the printing apparatus 10 and includes an OS and hardware such as peripheral devices. The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” is a medium that dynamically holds a program for a short time, such as a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line, In such a case, a volatile memory inside a computer system serving as a server or a client may be included and a program that holds a program for a certain period of time. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.
Further, part or all of the printing apparatus 10 in the above-described embodiment may be realized as an integrated circuit such as an LSI (Large Scale Integration). Each functional block of the printing apparatus 10 may be individually made into a processor, or a part or all of them may be integrated into a processor. Further, the method of circuit integration is not limited to LSI, and may be realized by a dedicated circuit or a general-purpose processor. Further, in the case where an integrated circuit technology that replaces LSI appears due to progress in semiconductor technology, an integrated circuit based on the technology may be used.

以上、図面を参照してこの発明の一実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、この発明の要旨を逸脱しない範囲内において様々な設計変更等をすることが可能である。   As described above, the embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to the above, and various design changes and the like can be made without departing from the scope of the present invention. It is possible to

10…印刷装置、101…外部インタフェース部、102…印刷データ補正部、
103…サーマルヘッド、104…RAM、
1041…パターンバッファ部、1042…受信バッファ部、1043…描画バッファ部、
1044…編集バッファ部、1045…印刷バッファ部、
105…サーマルヘッド制御部、106…搬送系モータ制御部、107…プラテン、
108…センサ制御部、109…位置決めセンサ、110…ROM
DESCRIPTION OF SYMBOLS 10 ... Printing apparatus, 101 ... External interface part, 102 ... Print data correction part,
103 ... thermal head, 104 ... RAM,
1041 ... Pattern buffer unit, 1042 ... Reception buffer unit, 1043 ... Drawing buffer unit,
1044 ... Editing buffer unit, 1045 ... Print buffer unit,
105 ... Thermal head control unit, 106 ... Conveyance system motor control unit, 107 ... Platen,
108 ... sensor control unit, 109 ... positioning sensor, 110 ... ROM

Claims (5)

第1の座標に対する印刷データが印刷要を表し、前記第1の座標から予め定められた数だけ離れた第2の座標との間における第3の座標であって印刷データが印刷否を表す座標について、
前記第3の座標と前記第2の座標との間に印刷データが印刷要を表す座標がない場合には前記第3の座標の印刷データを印刷要と設定し、前記第3の座標と前記第2の座標との間に印刷データが印刷要を表す座標がある場合には前記第3の座標の印刷データを印刷否と設定した補正印刷データを生成する印刷データ補正部と、
前記生成した補正印刷データに基づいて印刷を行う印刷部と、
を備えることを特徴とする印刷装置。
The print data corresponding to the first coordinate indicates a printing necessity, and is a third coordinate between the second coordinate separated from the first coordinate by a predetermined number and the print data indicates the printing failure. about,
If there is no print data indicating that printing is necessary between the third coordinate and the second coordinate, the print data of the third coordinate is set as printing necessary, and the third coordinate and the second coordinate are set. A print data correction unit that generates corrected print data in which the print data of the third coordinate is set as print rejected when the print data includes a coordinate indicating printing necessity between the second coordinate and the second coordinate;
A printing unit that performs printing based on the generated corrected print data;
A printing apparatus comprising:
前記第3の座標について印刷否を表す印刷データを含み、前記第3の座標と前記第2の座標との間の座標について印刷要を表す印刷データを含まない入力パターン情報と、前記第3の座標について印刷要を表す印刷データを含む補正パターン情報とを対応付けて記憶し、
前記第3の座標について印刷否を表す印刷データを含み、前記第3の座標と前記第2の座標との間の座標について印刷要を表す印刷データを含む入力パターン情報と、前記第3の座標について印刷否を表す印刷データを含む補正パターン情報とを対応付けて記憶する補正パターン記憶部を備え、
前記印刷データ補正部は、前記印刷データと合致する入力パターン情報に対応する補正パターン情報を前記補正パターン記憶部から読み出して前記補正印刷データを生成することを特徴とする請求項1に記載の印刷装置。
Input pattern information including print data indicating printing failure for the third coordinates, and not including print data indicating printing necessary for coordinates between the third coordinates and the second coordinates; Storing the correction pattern information including the print data representing the printing necessity for the coordinates in association with each other;
Input pattern information including print data indicating printing failure with respect to the third coordinates, and including print data indicating printing necessity with respect to coordinates between the third coordinates and the second coordinates, and the third coordinates A correction pattern storage unit that stores correction pattern information including print data that indicates printing rejection in association with each other,
2. The printing according to claim 1, wherein the print data correction unit reads the correction pattern information corresponding to the input pattern information that matches the print data from the correction pattern storage unit and generates the correction print data. apparatus.
前記印刷データ補正部は、前記第2の座標が前記第1の座標から水平方向及び垂直方向のうち一方の方向に離れている場合に生成した補正印刷データに対して、前記第2の座標が前記第1の座標から他方の方向に離れている場合に補正印刷データを生成することを特徴とする請求項1又は2に記載の印刷装置。   The print data correction unit has the second coordinate for the corrected print data generated when the second coordinate is separated from the first coordinate in one of a horizontal direction and a vertical direction. The printing apparatus according to claim 1, wherein the correction print data is generated when the print data is separated from the first coordinate in the other direction. 第1の座標に対する印刷データが印刷要を表し、前記第1の座標から予め定められた数だけ離れた第2の座標との間における第3の座標であって印刷データが印刷否を表す座標について、
前記第3の座標と前記第2の座標との間に印刷データが印刷要を表す座標がない場合には前記第3の座標の印刷データを印刷要と設定し、前記第3の座標と前記第2の座標との間に印刷データが印刷要を表す座標がある場合には前記第3の座標の印刷データを印刷否と設定した補正印刷データを生成する過程、
前記生成した補正印刷データに基づいて印刷を行う過程、
を備えることを特徴とする印刷方法。
The print data corresponding to the first coordinate indicates a printing necessity, and is a third coordinate between the second coordinate separated from the first coordinate by a predetermined number and the print data indicates the printing failure. about,
If there is no print data indicating that printing is necessary between the third coordinate and the second coordinate, the print data of the third coordinate is set as printing necessary, and the third coordinate and the second coordinate are set. A process of generating corrected print data in which the print data of the third coordinate is set as print rejected when the print data includes a coordinate indicating printing necessity between the second coordinate and the second coordinate;
A process of performing printing based on the generated corrected print data;
A printing method comprising:
印刷装置が備えるコンピュータに、
第1の座標に対する印刷データが印刷要を表し、前記第1の座標から予め定められた数だけ離れた第2の座標との間における第3の座標であって印刷データが印刷否を表す座標について、前記第3の座標と前記第2の座標との間に印刷データが印刷要を表す座標がない場合には前記第3の座標の印刷データを印刷要と設定し、前記第3の座標と前記第2の座標との間に印刷データが印刷要を表す座標がある場合には前記第3の座標の印刷データを印刷否と設定した補正印刷データを生成する手順、
を実行させるための印刷データ補正プログラム。
In the computer equipped with the printing device,
The print data corresponding to the first coordinate indicates a printing necessity, and is a third coordinate between the second coordinate separated from the first coordinate by a predetermined number and the print data indicates the printing failure. When the print data does not have a coordinate indicating that printing is required between the third coordinate and the second coordinate, the print data of the third coordinate is set as printing required, and the third coordinate Generating corrected print data in which the print data of the third coordinate is set as print rejected when there is a coordinate indicating that printing is necessary between the print data and the second coordinate;
Print data correction program to execute.
JP2011213798A 2011-09-29 2011-09-29 Printing apparatus, printing method, and print data correction program Expired - Fee Related JP5892585B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011213798A JP5892585B2 (en) 2011-09-29 2011-09-29 Printing apparatus, printing method, and print data correction program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011213798A JP5892585B2 (en) 2011-09-29 2011-09-29 Printing apparatus, printing method, and print data correction program

Publications (2)

Publication Number Publication Date
JP2013071394A true JP2013071394A (en) 2013-04-22
JP5892585B2 JP5892585B2 (en) 2016-03-23

Family

ID=48476273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011213798A Expired - Fee Related JP5892585B2 (en) 2011-09-29 2011-09-29 Printing apparatus, printing method, and print data correction program

Country Status (1)

Country Link
JP (1) JP5892585B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63166558A (en) * 1986-12-27 1988-07-09 Canon Inc Thermal transfer printer
JPH07276695A (en) * 1994-04-08 1995-10-24 Matsushita Electric Ind Co Ltd Thermal recording apparatus
JPH07334672A (en) * 1994-06-03 1995-12-22 Fuji Xerox Co Ltd Picture processor
JP2000141767A (en) * 1998-11-04 2000-05-23 Nikon Corp Image-processing apparatus
JP2009184190A (en) * 2008-02-05 2009-08-20 Ricoh Co Ltd Image forming method, program to perform the same, image processing device, image forming apparatus and image forming system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63166558A (en) * 1986-12-27 1988-07-09 Canon Inc Thermal transfer printer
JPH07276695A (en) * 1994-04-08 1995-10-24 Matsushita Electric Ind Co Ltd Thermal recording apparatus
JPH07334672A (en) * 1994-06-03 1995-12-22 Fuji Xerox Co Ltd Picture processor
JP2000141767A (en) * 1998-11-04 2000-05-23 Nikon Corp Image-processing apparatus
JP2009184190A (en) * 2008-02-05 2009-08-20 Ricoh Co Ltd Image forming method, program to perform the same, image processing device, image forming apparatus and image forming system

Also Published As

Publication number Publication date
JP5892585B2 (en) 2016-03-23

Similar Documents

Publication Publication Date Title
JP7073679B2 (en) 2D code generator
JP2014049774A (en) Image processing apparatus, image processing method, image recording apparatus, and program
JP5892585B2 (en) Printing apparatus, printing method, and print data correction program
JP5352722B2 (en) Beam scanning printer for barcode printing and beam scanning image forming apparatus for barcode printing
JP2007124623A (en) Printing method, printer and printing program
JP2008003994A (en) Printing system
JP2006281597A (en) Image forming apparatus and its program
JP4659609B2 (en) Printer
US8564843B2 (en) Image formation based on multiple images
JP2020197969A (en) Data processing device and data processing program
JP5929403B2 (en) Image forming apparatus, image processing apparatus, and program
JP2007253338A (en) Printer, method for printing, and printing program
JP2019180047A (en) Image processing device and image processing program
JP5096224B2 (en) Laser printer and barcode printing system for barcode printing
JP2007072876A (en) Image processing method and apparatus
JP6417822B2 (en) Editing device, printing device, and program
JP2006281598A (en) Image forming apparatus and its program
JP2015226302A (en) Control program and information processing device
JP2584296B2 (en) Page printer
JP2011126138A (en) Device, method and program for controlling printing
JP2023171145A (en) Printing device, method of control, and program
JP2022139176A (en) handy printer
JP2019180046A (en) Image processing device and image processing program
JP6387594B2 (en) Printing apparatus, printing apparatus control method, and program
JP2013110491A (en) Image processing device, image processing method, and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140807

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150407

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150414

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150603

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151209

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160126

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160218

R150 Certificate of patent or registration of utility model

Ref document number: 5892585

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees