JP2002144682A - Method for emulating resolution in printer - Google Patents

Method for emulating resolution in printer

Info

Publication number
JP2002144682A
JP2002144682A JP2000349588A JP2000349588A JP2002144682A JP 2002144682 A JP2002144682 A JP 2002144682A JP 2000349588 A JP2000349588 A JP 2000349588A JP 2000349588 A JP2000349588 A JP 2000349588A JP 2002144682 A JP2002144682 A JP 2002144682A
Authority
JP
Japan
Prior art keywords
lines
line
emulation
printer
difference
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.)
Pending
Application number
JP2000349588A
Other languages
Japanese (ja)
Inventor
Kazukiyo Matsushita
一清 松下
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP2000349588A priority Critical patent/JP2002144682A/en
Publication of JP2002144682A publication Critical patent/JP2002144682A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method for emulating resolution to a low approximate in a printer not dependent on print data using the number of times of intersection of vertical line/horizontal line. SOLUTION: The emulation method comprises a step 31 for calculating the number of lines (C) to be deleted from the difference between the number of lines (A) of data before emulation and the number of lines (B) of data after emulation, a step 32 for calculating the rate (E) of line to be deleted from the number of lines (A) and (C), a step 33 for counting (E0-En) the number of times of intersection with a black dot for each line when a line in the vertical direction is translated, a step 34 for counting (F1-Fn) the difference in the number of times of intersection with adjacent lines for each line, and a step 35 for determining a position to delete a line (Fmin) having a smallest difference with reference to the difference (F1 to Fn-1).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はプリンタにおける解
像度エミュレーション方法に関し、特に垂直線/水平線
の交差回数を用いて、印刷データに依存しないプリンタ
における解像度エミュレーション方法に関する。
The present invention relates to a resolution emulation method in a printer, and more particularly, to a resolution emulation method in a printer that does not depend on print data by using the number of intersections of vertical lines / horizontal lines.

【0002】[0002]

【従来の技術】解像度のエミュレーションを行う際、解
像度の比率計算を用いた従来の技術だけでは、近似した
解像度へエミュレーションする場合に、表などの罫線の
印刷で線がかすれたように見えたり、線が印刷されない
ことが生じる。文字を印刷したら文字と文字がくっつく
等、印刷品質はさほど劣化していないにも関わらず、視
覚的な影響が大きいという問題がある。
2. Description of the Related Art When emulating a resolution, the conventional technique using only the ratio calculation of the resolution, when emulating the resolution to an approximate resolution, looks like a blurred line when a ruled line such as a table is printed. Lines are not printed. There is a problem that the visual effect is large even though the print quality is not so degraded, such as the characters sticking together when the characters are printed.

【0003】従来方法を用いた解像度のエミュレーショ
ンを説明する図2を参照すると、縦方向のエミュレーシ
ョンを従来方法で行った場合、空白部分が削られて2本
の線がくっついたように見える、横線の幅が細くなって
かすれて見えるなどといった印象がある。
Referring to FIG. 2 for explaining the emulation of the resolution using the conventional method, when the emulation in the vertical direction is performed by the conventional method, a blank portion is cut off and two lines appear to be stuck together. There is an impression that the width of the is narrow and looks faint.

【0004】[0004]

【発明が解決しようとする課題】この従来のプリンタに
おける解像度エミュレーション方法の問題点は、解像度
の比率計算のみを用いているので、近似した解像度へエ
ミュレーションする場合に、表などの罫線の印刷で線が
かすれたように見えたり、線が印刷されないことが生じ
る、ということである。また、文字を印刷したら文字と
文字がくっつく等、印刷品質はさほど劣化していないに
も関わらず、視覚的な影響が大きいという問題がある。
The problem with the resolution emulation method in the conventional printer is that only the calculation of the resolution ratio is used, so that when emulating to an approximate resolution, the line is printed by printing ruled lines such as a table. This can result in the appearance of fading or missing lines. In addition, there is a problem that the visual influence is large although the print quality is not so degraded, for example, when characters are printed, the characters stick to each other.

【0005】本発明の目的は、垂直線/水平線の交差回
数を用いて、印刷データに依存しないプリンタにおける
近似した解像度への低解像度化エミュレーション方法を
提供するものである。
An object of the present invention is to provide an emulation method for lowering the resolution to an approximate resolution in a printer which does not depend on print data by using the number of intersections of a vertical line and a horizontal line.

【0006】[0006]

【課題を解決するための手段】本発明のプリンタにおけ
る解像度エミュレーション方法は、垂直線を平行移動さ
せたときの黒ドットとの交差回数を求め、この交差回数
の差が最も少ないラインを間引くことによりエミュレー
ションすることを特徴とする。
A resolution emulation method in a printer according to the present invention obtains the number of intersections with a black dot when a vertical line is translated and thins out the line having the smallest difference in the number of intersections. It is characterized by emulation.

【0007】また、本発明のプリンタにおける解像度エ
ミュレーション方法は、エミュレーション前データのラ
イン数とエミュレーション後データのライン数の差から
削除する削除ライン数を算出する削除ライン数算出手順
と、エミュレーション前データの前記ライン数と前記削
除ライン数算出手順で求めた前記削除ライン数から何ラ
インに対して1ライン削除するかの比率を算出する削除
ライン比率算出手順と、垂直方向の線を平行移動させた
時の黒ドットとの交差回数を各ライン毎にカウントする
交差回数カウント手順と、前記交差回数カウント手順で
求めた交差回数をもとに、各ライン毎に両隣のラインと
の交差回数の差分をカウントする交差回数差分カウント
手順と、前記削除ライン比率算出手順で求めた範囲内で
前記交差回数差分カウント手順で求めた差分を参照し、
最も差分の少なかったラインを削除することを決定する
削除ライン位置決定手順とを備える。
Further, the resolution emulation method in the printer according to the present invention includes a deletion line number calculation procedure for calculating the number of deletion lines to be deleted from the difference between the number of lines of data before emulation and the number of lines of data after emulation; A deletion line ratio calculation procedure for calculating a ratio of how many lines to delete one line from the number of lines and the number of deletion lines calculated in the deletion line number calculation procedure, and when a vertical line is translated. Counting the number of intersections with the black dot for each line, and counting the difference between the number of intersections with both adjacent lines for each line based on the number of intersections obtained by the number of intersections obtained in the number of intersections counting step. Counting the number of crossings, and the difference between the number of crossings within the range determined in the step of calculating the deleted line ratio. Referring to the difference obtained by the count procedure,
A deletion line position determination procedure for determining to delete the line with the smallest difference.

【0008】さらに、本発明のプリンタにおける解像度
エミュレーション方法は、ドットインパクトプリンタに
使用することを特徴とする。
Further, the resolution emulation method for a printer according to the present invention is characterized in that the method is used for a dot impact printer.

【0009】さらに、本発明のプリンタにおける解像度
エミュレーション方法は、インクジェットプリンタに使
用することを特徴とする。
Further, the resolution emulation method for a printer according to the present invention is characterized in that the method is used for an ink jet printer.

【0010】さらに、本発明のプリンタにおける解像度
エミュレーション方法は、熱転写プリンタに使用するこ
とを特徴とする。
Further, the resolution emulation method for a printer according to the present invention is characterized in that the method is used for a thermal transfer printer.

【0011】さらに、本発明のプリンタにおける解像度
エミュレーション方法は、電子写真プリンタに使用する
ことを特徴とする。
Further, the resolution emulation method for a printer according to the present invention is characterized in that it is used for an electrophotographic printer.

【0012】[0012]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0013】本発明の一実施の形態を説明する図1を参
照すると、この実施の形態のプリンタにおける解像度エ
ミュレーション方法においては、垂直線を平行移動させ
たときの黒ドットとの交差回数を求め、交差回数の差が
最も少ないラインを間引くことにより、視覚的な印刷品
質劣化を招くことなくエミュレーションすることを可能
にする。
Referring to FIG. 1 illustrating an embodiment of the present invention, in a resolution emulation method in a printer according to this embodiment, the number of intersections with a black dot when a vertical line is translated is calculated. By thinning out the lines having the smallest difference in the number of intersections, emulation can be performed without visually deteriorating print quality.

【0014】本発明の一実施の形態の動作をフローチャ
ートで示す図3を参照すると、削除ライン数算出31
は、エミュレーション前データのライン数(A)とエミ
ュレーション後データのライン数(B)の差から削除す
るライン数(C)を算出する。
Referring to FIG. 3 which is a flowchart showing the operation of the embodiment of the present invention, the number of deleted lines 31 is calculated.
Calculates the number of lines to be deleted (C) from the difference between the number of lines of data before emulation (A) and the number of lines of data after emulation (B).

【0015】削除ライン比率算出32は、エミュレーシ
ョン前データのライン数(A)と削除ライン数算出31
で求めた削除ライン数(C)から何ラインに対して1ラ
イン削除するかの比率(E)を算出する。
The deletion line ratio calculation 32 includes a line number (A) of the data before emulation and a deletion line number calculation 31.
From the number of deleted lines (C) obtained in step (1), the ratio (E) of the number of lines to be deleted is calculated.

【0016】交差回数カウント33は、垂直方向の線を
平行移動させた時の黒ドットとの交差回数を各ライン毎
にカウント(E0〜En)する。
The number-of-intersections count 33 counts (E0 to En) the number of intersections with a black dot when a vertical line is moved in parallel.

【0017】交差回数差分カウント34は、交差回数カ
ウント33で求めた交差回数(E0〜En)をもとに、
各ライン毎に両隣のラインとの交差回数の差分をカウン
ト(F1〜Fn)する。
The number-of-crossings difference count 34 is based on the number of crossings (E0 to En) obtained by the number-of-crossings count 33.
For each line, the difference between the number of intersections with both adjacent lines is counted (F1 to Fn).

【0018】削除ライン位置決定35は、削除ライン比
率算出32で求めた範囲内で交差回数差分カウント34
で求めた差分(F1〜Fn−1)を参照し、最も差分の
少なかったライン(Fmin)を削除することを決定す
る。
Deletion line position determination 35 is performed by counting the number of crossings difference 34 within the range determined by the deletion line ratio calculation 32.
With reference to the differences (F1 to Fn-1) obtained in (1), it is determined that the line (Fmin) having the smallest difference is deleted.

【0019】次に、この実施の形態に基づき、180d
piのデータを160dpiの近似した解像度へエミュ
レーションする際の縦方向エミュレーションについて詳
細に説明する。
Next, based on this embodiment, 180d
The vertical emulation when emulating the data of pi to the approximate resolution of 160 dpi will be described in detail.

【0020】まず、図3に基づいて、削除ライン数算出
31を実行する。図4のようにエミュレーション前デー
タのライン数(A)からエミュレーション後データのラ
イン数(B)を減算し、削除するライン数(C)を算出
する。(A−B=C)すなわち180[ライン]−16
0[ライン]=20[ライン]となる。
First, based on FIG. 3, a deletion line number calculation 31 is executed. As shown in FIG. 4, the number of lines of data after emulation (B) is subtracted from the number of lines of data before emulation (A), and the number of lines to be deleted (C) is calculated. (AB = C), that is, 180 [lines] -16
0 [line] = 20 [line].

【0021】次に、削除ライン比率算出32を実行す
る。エミュレーション前データのライン数(A)と削除
ライン数算出31で求めた削除ライン数(C)から図5
のように何ラインに対して1ライン削除するかの比率
(D)を算出する。(A:C=D:1)すなわち180
[ライン]:20[ライン]=9[ライン]:1[ライ
ン]となる。
Next, a deletion line ratio calculation 32 is executed. 5 from the number of lines (A) of the data before emulation and the number of deleted lines (C) obtained in the deleted line number calculation 31.
The ratio (D) of how many lines are deleted from one line is calculated as shown in FIG. (A: C = D: 1), that is, 180
[Line]: 20 [line] = 9 [line]: 1 [line]

【0022】次に、交差回数カウント33を実行する。
削除ライン比率算出32で求めた比率(D)の範囲内で
図6のように垂直方向の線を平行移動させたときの黒ド
ットとの交差回数を各ライン毎にカウント(E0〜E
n)する。
Next, an intersection count 33 is executed.
The number of intersections with the black dot when the vertical line is translated as shown in FIG. 6 within the range of the ratio (D) obtained by the deletion line ratio calculation 32 is counted for each line (E0 to E
n).

【0023】次に、交差回数差分カウント34を実行す
る。交差回数カウント33で求めた交差回数(E0〜E
n)から、図7のように隣のラインとの差分(F1〜F
n−1)を算出する。次に、削除ライン位置決定35を
実行する。図8のように交差回数差分カウント34で求
めた差分(F1〜Fn−1)の中で、最も値の小さいラ
イン(Fmin)のデータを削除する。その時に同一範
囲内で最も交差回数差分の小さいラインが2ライン以上
ある場合は、更に両隣の差分を見て、その値が小さい方
のラインのデータを削除する。
Next, an intersection number difference count 34 is executed. The number of intersections (E0 to E
n), the difference (F1-F) from the adjacent line as shown in FIG.
n-1) is calculated. Next, a deletion line position determination 35 is executed. As shown in FIG. 8, the data of the line (Fmin) having the smallest value among the differences (F1 to Fn−1) obtained by the intersection number difference count 34 is deleted. At this time, if there are two or more lines having the smallest difference in the number of intersections in the same range, the difference between the two adjacent lines is further checked, and the data of the line with the smaller value is deleted.

【0024】本発明のプリンタにおける解像度エミュレ
ーション方法は、ドットインパクトプリンタ、インクジ
ェットプリンタ、熱転写プリンタまたは電子写真プリン
タ等に使用できる。
The resolution emulation method in the printer of the present invention can be used for a dot impact printer, an ink jet printer, a thermal transfer printer, an electrophotographic printer, or the like.

【0025】[0025]

【発明の効果】以上説明したように、本発明の効果は、
解像度の比率ではなく、垂直線/水平線と黒いドットと
の交差回数によりデータを削除するラインを決定するこ
とである。その結果、元のデータとエミュレーションし
た後のデータとを比較しても視覚的な印象が変わらな
い。
As described above, the effect of the present invention is as follows.
That is, a line from which data is to be deleted is determined not by the resolution ratio but by the number of intersections between a vertical line / horizontal line and a black dot. As a result, even when the original data is compared with the data after emulation, the visual impression does not change.

【0026】その理由としては、プリンタは基本的に白
い印刷媒体に黒いドットを構成して線・文字等を描画す
るものである。その中で、スペースがなくなり線と線が
つながって見える。また細い線がなくなった等の黒いド
ットの与える強い視覚的印象の変化を最小限にしたこと
があげられる。
The reason is that the printer basically draws black dots on a white print medium to draw lines and characters. In it, the space disappears and the lines seem to be connected. Also, the change in the strong visual impression given by the black dots such as the disappearance of thin lines is minimized.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施の形態を説明する図である。FIG. 1 is a diagram illustrating an embodiment of the present invention.

【図2】従来方法を説明する図である。FIG. 2 is a diagram illustrating a conventional method.

【図3】本発明の一実施の形態の動作を示すフローチャ
ートである。
FIG. 3 is a flowchart showing the operation of the embodiment of the present invention.

【図4】この実施の形態における削除ライン数算出を説
明する図である。
FIG. 4 is a diagram for explaining calculation of the number of deleted lines in this embodiment.

【図5】この実施の形態における削除ライン比率算出を
説明する図である。
FIG. 5 is a diagram illustrating calculation of a deleted line ratio according to the embodiment.

【図6】この実施の形態における交差回数カウントを説
明する図である。
FIG. 6 is a diagram for describing the number of times of intersection in this embodiment.

【図7】この実施の形態における交差回数差分カウント
を説明する図である。
FIG. 7 is a diagram for describing the number-of-crossings difference count in this embodiment.

【図8】この実施の形態における削除ライン位置決定を
説明する図である。
FIG. 8 is a diagram for explaining the deletion line position determination in this embodiment.

【符号の説明】[Explanation of symbols]

31 削除ライン数算出 32 削除ライン比率算出 33 交差回数カウント 34 交差回数差分カウント 35 削除ライン位置決定 31 Calculation of Number of Deleted Lines 32 Calculation of Deleted Line Ratio 33 Count of Number of Intersections 34 Count of Difference of Number of Intersections 35 Deletion Line Position Determination

フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) 5C076 Fターム(参考) 2C061 AQ01 AQ04 AQ05 AQ06 HJ06 HK23 2C062 AA32 2C087 AC05 AC07 AC08 AC12 BA02 BA05 BA09 2C187 AC05 AC07 AC08 AC09 5B057 AA11 CD05 5C076 AA03 AA22 BA02 BA06 BA08 BB06 BB13 CB04 Continued on the front page (51) Int.Cl. 7 Identification code FI Theme coat II (reference) 5C076 F term (reference) 2C061 AQ01 AQ04 AQ05 AQ06 HJ06 HK23 2C062 AA32 2C087 AC05 AC07 AC08 AC12 BA02 BA05 BA09 2C187 AC05 AC07 AC08 A095B0 CD05 5C076 AA03 AA22 BA02 BA06 BA08 BB06 BB13 CB04

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 垂直線を平行移動させたときの黒ドット
との交差回数を求め、この交差回数の差が最も少ないラ
インを間引くことによりエミュレーションすることを特
徴とするプリンタにおける解像度エミュレーション方
法。
1. A resolution emulation method for a printer, wherein the number of intersections with a black dot when a vertical line is translated is obtained, and emulation is performed by thinning out a line having the smallest difference in the number of intersections.
【請求項2】 エミュレーション前データのライン数と
エミュレーション後データのライン数の差から削除する
削除ライン数を算出する削除ライン数算出手順と、エミ
ュレーション前データの前記ライン数と前記削除ライン
数算出手順で求めた前記削除ライン数から何ラインに対
して1ライン削除するかの比率を算出する削除ライン比
率算出手順と、垂直方向の線を平行移動させた時の黒ド
ットとの交差回数を各ライン毎にカウントする交差回数
カウント手順と、前記交差回数カウント手順で求めた交
差回数をもとに、各ライン毎に両隣のラインとの交差回
数の差分をカウントする交差回数差分カウント手順と、
前記削除ライン比率算出手順で求めた範囲内で前記交差
回数差分カウント手順で求めた差分を参照し、最も差分
の少なかったラインを削除することを決定する削除ライ
ン位置決定手順とを備えることを特徴とするプリンタに
おける解像度エミュレーション方法。
2. A deletion line number calculation procedure for calculating the number of deletion lines to be deleted from the difference between the number of lines of data before emulation and the number of lines of data after emulation, and the steps of calculating the number of lines and the number of deletion lines of data before emulation. And calculating the number of lines to be deleted from the number of lines to be deleted from the number of lines to be deleted, and the number of intersections between the vertical lines and the black dots when the lines are moved in parallel. An intersection number counting procedure for counting each time, based on the number of intersections obtained in the intersection number counting procedure, an intersection number difference counting step for counting the difference between the number of intersections with the adjacent line for each line,
A deletion line position determining step of determining that the line having the smallest difference is deleted by referring to the difference obtained by the intersection number difference counting step within the range obtained by the deletion line ratio calculating step. Emulation method in a printer.
【請求項3】 ドットインパクトプリンタに使用するこ
とを特徴とする請求項1または2記載のプリンタにおけ
る解像度エミュレーション方法。
3. The method according to claim 1, wherein the method is used for a dot impact printer.
【請求項4】 インクジェットプリンタに使用すること
を特徴とする請求項1または2記載のプリンタにおける
解像度エミュレーション方法。
4. The resolution emulation method for a printer according to claim 1, wherein the method is used for an ink jet printer.
【請求項5】 熱転写プリンタに使用することを特徴と
する請求項1または2記載のプリンタにおける解像度エ
ミュレーション方法。
5. The method according to claim 1, wherein the method is used for a thermal transfer printer.
【請求項6】 電子写真プリンタに使用することを特徴
とする請求項1または2記載のプリンタにおける解像度
エミュレーション方法。
6. A resolution emulation method in a printer according to claim 1, wherein the resolution emulation method is used for an electrophotographic printer.
JP2000349588A 2000-11-16 2000-11-16 Method for emulating resolution in printer Pending JP2002144682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000349588A JP2002144682A (en) 2000-11-16 2000-11-16 Method for emulating resolution in printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000349588A JP2002144682A (en) 2000-11-16 2000-11-16 Method for emulating resolution in printer

Publications (1)

Publication Number Publication Date
JP2002144682A true JP2002144682A (en) 2002-05-22

Family

ID=18822966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000349588A Pending JP2002144682A (en) 2000-11-16 2000-11-16 Method for emulating resolution in printer

Country Status (1)

Country Link
JP (1) JP2002144682A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014052866A (en) * 2012-09-07 2014-03-20 Seiko Epson Corp Information processor, method for controlling information processor, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014052866A (en) * 2012-09-07 2014-03-20 Seiko Epson Corp Information processor, method for controlling information processor, and program

Similar Documents

Publication Publication Date Title
JP3504331B2 (en) Print quality improvement method and apparatus for improving dot print image quality
JP2002144682A (en) Method for emulating resolution in printer
JP2004216901A (en) Method and apparatus for processing image having color combination
JPH0795392A (en) Smooting and scaling method of facsimile image
EP0264266A3 (en) Printer control system for controlling movement of print head between successive lines of print
US4993853A (en) Matrix character modification information unique to a given font
JP2007152787A (en) Ink-jet recording device
KR100374607B1 (en) A method for extending print area
JPH1058667A (en) Ink jet printing device for print circuit substrate
JPH0655524B2 (en) Serial dot printer
JPS6143572A (en) Serial dot printer
JPH0649382B2 (en) Information processing method
JP2566013B2 (en) Printer device
JP2010143122A (en) Recording apparatus, and recording method
JP4120096B2 (en) Printing dot additional expansion method
JP2669336B2 (en) Printing equipment
JPH06143615A (en) Ink jet recorder
JP3033731B2 (en) Ruled line processing device, ruled line processing method, and recording medium for recording program
JP2740539B2 (en) Enlarged reproduction image information creation method and apparatus
JP2024004757A (en) Image processing device
JPS63182156A (en) Japanese character thermal transfer printer with automatic switching function for emphasizing printing system
US1476818A (en) System osi typewriter notation
JP4206606B2 (en) Image processing apparatus, image processing method, and recording medium recording image processing program
JPS62216758A (en) Printer capable of synthesizing character
JP2822475B2 (en) Inverted character control circuit of dot type printer

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040525

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041012