JP5778715B2 - Printing method and dot printer - Google Patents

Printing method and dot printer Download PDF

Info

Publication number
JP5778715B2
JP5778715B2 JP2013093688A JP2013093688A JP5778715B2 JP 5778715 B2 JP5778715 B2 JP 5778715B2 JP 2013093688 A JP2013093688 A JP 2013093688A JP 2013093688 A JP2013093688 A JP 2013093688A JP 5778715 B2 JP5778715 B2 JP 5778715B2
Authority
JP
Japan
Prior art keywords
image data
data
dots
dpi
half image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013093688A
Other languages
Japanese (ja)
Other versions
JP2014213557A (en
Inventor
義昌 井上
義昌 井上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC 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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2013093688A priority Critical patent/JP5778715B2/en
Priority to CN201410042468.7A priority patent/CN104118219B/en
Publication of JP2014213557A publication Critical patent/JP2014213557A/en
Application granted granted Critical
Publication of JP5778715B2 publication Critical patent/JP5778715B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Impact Printers (AREA)
  • Record Information Processing For Printing (AREA)

Description

この発明の実施形態は、印刷方法に係り、特に、ドットマトリックスで印刷する印刷方法およびドットプリンタに関する。   Embodiments described herein relate generally to a printing method, and more particularly, to a printing method and a dot printer for printing with a dot matrix.

従来のドットプリンタは、印字データを予め間引き処理しながらイメージ化して印字バッファに格納している。制御部では、印字バッファから印字データを読出し、印字ヘッドの印刷方向に応じてデータを供給し、印字ヘッドの印刷方向に関わらず、一定の間引きデータによる印刷が実行される。速度を上げて印刷する際に、互いに隣接したドットの一方を間引いたフォトデータに基づき生成された、2倍速あるいは3倍速に対応のフォントデータで印刷を行っている。   In a conventional dot printer, print data is imaged in advance while being thinned out and stored in a print buffer. The control unit reads the print data from the print buffer, supplies the data in accordance with the print direction of the print head, and executes printing with the thinned data regardless of the print direction of the print head. When printing at a higher speed, printing is performed with font data corresponding to double speed or triple speed generated based on photo data obtained by thinning one of adjacent dots.

しかしながら、4倍の高速で印刷を行う場合は、4倍速対応ための新たなフォントデータを用意する必要がある、という課題があった。   However, when printing at 4 times higher speed, there is a problem that it is necessary to prepare new font data corresponding to 4 times speed.

特開平5−104781号公報JP-A-5-104781

この発明が解決しようとする課題は、印刷速度に対応したフォントデータを予め用意することなしに、高速印刷に対応可能な印刷方法およびドットプリンタを提供することである。   The problem to be solved by the present invention is to provide a printing method and a dot printer capable of high-speed printing without preparing font data corresponding to the printing speed in advance.

実施形態の印刷方法は、ドットマトリックスのフォントデータに基づき、ドット印刷を行う印刷方法であって、ノーマル速度印刷時は、前記フォントデータに基づき、第1ハーフイメージデータに変換し、N倍速印刷時は、前記第1ハーフイメージデータを水平方向にNドット毎に論理和演算を行い、前記第1ハーフイメージデータを加工して1/Nのフルイメージデータを生成し、前記フルイメージデータの水平方向に隣り合うドットが黒で連続する場合は、黒のドットが連続しないようにデータ変換した第ハーフイメージデータに基づき、N倍速のドット印刷を行う。 The printing method according to the embodiment is a printing method that performs dot printing based on dot matrix font data. In normal speed printing, the first half image data is converted based on the font data, and N-times printing is performed. Performs a logical OR operation on the first half image data every N dots in the horizontal direction, processes the first half image data to generate 1 / N full image data, and generates the full image data in the horizontal direction. When dots adjacent to each other are continuous in black, N-times speed dot printing is performed based on the second half image data that has been converted so that the black dots do not continue.

実施形態のドットプリンタは、ドットマトリックスのフォントデータが格納されたメモリおよび該フォントデータを展開し、イメージバッファに展開する時点で前記フォントデータから第1ハーフイメージデータに生成する制御部と、入力データに基づき、前記制御部を制御し、前記第1ハーフイメージデータに基づき印字ヘッドを駆動するメカコントローラと、を備えたドットプリンタであって、N倍速で印刷を行う場合の前記制御部は、前記第1ハーフイメージデータを水平方向にNドット毎に論理和演算を行い、前記第1ハーフイメージデータを加工して1/Nのフルイメージデータを生成し、該フルイメージデータの水平方向に隣り合うドットが黒で連続する場合は、黒のドットが連続しないようにデータ変換した第ハーフイメージデータに基づき、N倍速のドット印刷を行う。 The dot printer according to the embodiment includes a memory in which dot matrix font data is stored, a control unit that generates the first half image data from the font data when the font data is expanded into an image buffer, and input data. And a mechanical controller that controls the control unit and drives the print head based on the first half image data, and the control unit in the case of performing printing at N times speed, The first half image data is logically ORed every N dots in the horizontal direction, the first half image data is processed to generate 1 / N full image data, and the full image data are adjacent to each other in the horizontal direction. If the dots are consecutive in black, second half Image black dots are data conversion so as not to continuously Based on the data, performs dot printing of N times speed.

ドットプリンタにかかる一実施形態について説明するための概念的な構成を示すブロック図である。It is a block diagram which shows the notional structure for describing one Embodiment concerning a dot printer. フォントのイメージデータの一例について説明するための図である。It is a figure for demonstrating an example of the image data of a font. 180dpiのフルイメージデータを360dpiのハーフイメージに展開して示した図である。FIG. 4 is a diagram illustrating 180 dpi full image data expanded into a 360 dpi half image. 90dpiのハーフイメージデータをデータ変換したハーフイメージデータの図である。It is the figure of the half image data which data-converted 90 dpi half image data. 一実施形態の4倍速印刷時のドットプリンタの動作フローチャートである。6 is an operation flowchart of a dot printer during quadruple speed printing according to an embodiment. 図3の一部を拡大して示すイメージ図である。It is an image figure which expands and shows a part of FIG. 図3のA〜Fの各4スライスを水平方向の論理和演算した結果を示す図である。It is a figure which shows the result of having carried out the logical OR operation of each 4 slice of AF of FIG. ハーフチェック後の90dpiのハーフイメージデータを示す図である。It is a figure which shows the half image data of 90 dpi after a half check. 図2に示す180dpiのフルイメージデータの一部を拡大して示す図である。It is a figure which expands and shows a part of 180 dpi full image data shown in FIG. 図9のハーフイメージデータを示す図である。It is a figure which shows the half image data of FIG.

以下、実施形態について、図面を参照しながら詳細に説明する。   Hereinafter, embodiments will be described in detail with reference to the drawings.

図1は、印刷方法の一実施形態が適用されるドットプリンタについて説明するための概念的な構成を示すブロック図である。   FIG. 1 is a block diagram illustrating a conceptual configuration for explaining a dot printer to which an embodiment of a printing method is applied.

ドットプリンタ100は、インターフェース(I/F)11を介してホスト10と接続されている。ホスト10は、例えばPC(Personal Computer)等であり、ドットプリンタ100に対し、印刷の命令と印字データを送ることができる。ドットプリンタ100は、制御部12、印字ヘッド18等から構成される。   The dot printer 100 is connected to the host 10 via an interface (I / F) 11. The host 10 is, for example, a PC (Personal Computer) or the like, and can send a print command and print data to the dot printer 100. The dot printer 100 includes a control unit 12, a print head 18, and the like.

ドットプリンタ100の制御部12は、CPU(Central Processing Unit)13、イメージバッファ14、メインファーム15aおよびキャラクタジェネレータ(CG)15bのエリアを備えたFROM(Flash Read Only Memory)15、メカコントローラ17等から構成される。   The control unit 12 of the dot printer 100 includes a CPU (Central Processing Unit) 13, an image buffer 14, a main firmware 15a and a character generator (CG) 15b, a FROM (Flash Read Only Memory) 15, a mechanical controller 17, and the like. Composed.

CPU13は、ドットプリンタ100における各種処理を行う役割を担っている。CPU13は、メインファーム15aに格納されているファームウェアの実行やキャラクタジェネレータ15bに格納されているフォントデータを読み出す役割も担っている。   The CPU 13 plays a role of performing various processes in the dot printer 100. The CPU 13 is also responsible for executing firmware stored in the main farm 15a and reading font data stored in the character generator 15b.

イメージバッファ14は、例えばRAM(Random Access Memory)であり、印字データ等が一時的に格納されている。   The image buffer 14 is, for example, a RAM (Random Access Memory), and temporarily stores print data and the like.

FROM15には、プリンタ動作の制御に用いられる各種のパラメータやプリンタの登録に関する内容等が格納されている。FROM15のメインファーム15aは、ドットプリンタ100全体をコントロールしたり、フォントデータ等が格納されたキャラクタジェネレータ15bからフォントデータを読み出したりする。   The FROM 15 stores various parameters used for printer operation control, contents related to printer registration, and the like. The main farm 15a of the FROM 15 controls the entire dot printer 100 and reads font data from the character generator 15b in which font data and the like are stored.

メカコントローラ17は、キャラクタジェネレータ15bから読み出された印字データに基づき、印字ヘッド18を駆動する。メカコントローラ17は、印字ヘッド18を搭載し、主走査させるための図示しないキャリッジやシートを搬送するための送り機構等から構成されるプリンタエンジンも駆動する。   The mechanical controller 17 drives the print head 18 based on the print data read from the character generator 15b. The mechanical controller 17 is mounted with a print head 18 and also drives a printer engine including a carriage (not shown) for main scanning and a feed mechanism for conveying a sheet.

なお、各種プログラムが格納される記録装置としては、必ずしもFROM15でなくてもよい。他の記憶装置には、光学的な例えばDVD(Digital Versatile Disc)、磁気的な例えばHDDでもよい。さらに、電気的な例えばSD(Solid State Device)等も考えられる。   Note that the recording device in which various programs are stored is not necessarily the FROM 15. The other storage device may be an optical such as a DVD (Digital Versatile Disc) or a magnetic such as an HDD. Furthermore, an electrical device such as SD (Solid State Device) is also conceivable.

図2は、キャラクタジェネレータ15bに格納されたドットマトリックスフォントのイメージの一例である漢字の「中」を示す。図2の「中」は、例えば180dpi(dots per inch)フルイメージデータを示し、例えば水平(幅)方向(X)が24ドットで、垂直方向(Y)が24ドットのイメージデータである。フルイメージデータは、メインファーム15aに記憶されたファームウェアに基づき、イメージバッファ14に展開する。   FIG. 2 shows “middle” of a Chinese character, which is an example of an image of a dot matrix font stored in the character generator 15b. “Middle” in FIG. 2 indicates, for example, 180 dpi (dots per inch) full image data. For example, the horizontal (width) direction (X) is 24 dots and the vertical direction (Y) is 24 dots. The full image data is developed in the image buffer 14 based on the firmware stored in the main farm 15a.

ここで、フルイメージデータとは、図2に示すように[黒]のドットが連続した場合でも[黒]のドットを置いてあるイメージデータのことである。   Here, the full image data is image data in which [black] dots are placed even when [black] dots are continuous as shown in FIG.

図3は、180dpiのフルイメージデータをイメージバッファ14に展開した場合に、360dpiハーフイメージデータに展開したハーフイメージを示す。第1ハーフイメージデータとしての360dpiハーフイメージは、例えば垂直方向が24ドットで水平方向が48ドットである。   FIG. 3 shows a half image developed into 360 dpi half image data when 180 dpi full image data is developed in the image buffer 14. The 360 dpi half image as the first half image data has, for example, 24 dots in the vertical direction and 48 dots in the horizontal direction.

ここで、ハーフイメージデータとは、図3に示すように、連続した[黒]のドットを置かないイメージデータに変換したものである。連続した[黒]のドットをハーフイメージデータにするには、1スライス毎にスペースを開けることで実現することができる。従って、フルイメージデータは180dpiであるのに対し、ハーフイメージデータは360dpiとなる。イメージバッファ14には、図3に示す360dpiハーフイメージデータで展開された状態で記憶されている。   Here, the half image data is converted into image data in which continuous [black] dots are not placed, as shown in FIG. Continuous [black] dots can be converted into half image data by opening a space for each slice. Therefore, the full image data is 180 dpi, while the half image data is 360 dpi. The image buffer 14 is stored in a developed state with 360 dpi half image data shown in FIG.

ドットプリンタ特有のハーフイメージデータと言われているものは、水平方向に隣り合うドットで、例えば[黒]のドットの次に[黒]のドットが来ないようにデータ変換を行っている。ハーフイメージデータで連続する[黒]のドットがある場合は、印字ヘッド18が仕様的にも追従できず、印刷することができない。このため、水平方向に対してハーフイメージデータの場合は、[黒]の次に[黒]のデータが来ないようにしている。   The so-called half-image data unique to a dot printer is data conversion so that dots adjacent in the horizontal direction, for example, [black] dots do not come after [black] dots. If there are continuous [black] dots in the half-image data, the print head 18 cannot follow the specifications and cannot print. For this reason, in the case of half image data in the horizontal direction, [black] data is prevented from coming after [black].

例えば、水平方向のドットが[白(ブランク)]、[黒]の場合は「良」とし、水平方向にドットが[黒]、[黒]の場合は「否」とする。編集時のメインファーム15aとしては、ハーフイメージデータで動作している。キャラクタジェネレータ15bのフォントデータとしては、フルイメージデータで格納されている。従って、フルイメージをハーフイメージに展開することを、メインファーム15aで実行している。ハーフイメージデータが360dpiで、これが通常のプリンタ速度とする。   For example, when the horizontal dot is [white (blank)] or [black], “good” is set, and when the dot is [black] or [black] in the horizontal direction, “no” is set. The main farm 15a at the time of editing operates with half image data. The font data of the character generator 15b is stored as full image data. Accordingly, the main farm 15a executes the full image into a half image. The half image data is 360 dpi, which is the normal printer speed.

ハーフイメージデータは、メカコントローラ17に供給される。メカコントローラ17は、次段の印字ヘッド18に印字データを供給するとともに、印字ヘッド18が搭載された図示しないキャリアを可動させ印刷を行う。印字ヘッド18は、24ピンヘッドを使用している。24ピンヘッドの印字ヘッド18によって、垂直方向に一度に印刷できる幅は、24ドット分であり、24ドットを一行として印刷する。つまり、24×24のCG構成となっている。   The half image data is supplied to the mechanical controller 17. The mechanical controller 17 supplies print data to the next print head 18 and moves a carrier (not shown) on which the print head 18 is mounted to perform printing. The print head 18 uses a 24-pin head. The width that can be printed at once in the vertical direction by the print head 18 of the 24-pin head is 24 dots, and the 24 dots are printed as one line. That is, it has a 24 × 24 CG configuration.

ドットプリンタ100のファームウェアとしては、図3のハーフイメージを使用して図2に示す状態の印刷を行う。つまり、360dpiハーフイメージデータは、イメージ的には、メインファーム15aのファームウェア処理により、180dpiのフルイメージで文字印刷される As the firmware of the dot printer 100, printing in the state shown in FIG. 2 is performed using the half image of FIG . That, 360 dpi half image data, the image, the by the firmware processing of the main firmware 15a, is a character printed in full image of 180 dpi.

FROM15のキャラクタジェネレータ15b中に、1文字分のフルイメージデータがある。これをイメージバッファ14に図2のフルイメージを読み出す。ファームウェアの処理に基づき、イメージバッファ14には、図3のハーフイメージで展開される。すなわち、メインファーム15aは、キャラクタジェネレータ15bからフルイメージデータを、イメージバッファ14に読み出す過程で、ハーフイメージデータを生成する処理を実行する。そして、360dpiハーフイメージデータをメカコントローラ17に供給する。この場合は360dpiのノーマル速度で、印字ヘッド18が追従可能な印刷を実行することができる。   The character generator 15b of the FROM 15 has full image data for one character. The full image shown in FIG. 2 is read out to the image buffer 14. Based on the processing of the firmware, the image buffer 14 is expanded with the half image of FIG. That is, the main farm 15a performs a process of generating half image data in the process of reading full image data from the character generator 15b to the image buffer 14. Then, 360 dpi half image data is supplied to the mechanical controller 17. In this case, printing that can be followed by the print head 18 can be executed at a normal speed of 360 dpi.

このように、FROM15に記憶されているフォントデータをハーフイメージに展開すると、上記したように図3に示すようになる。すると、水平方向の隣り合った状態で[黒]のドットが「あり」の次は「なし」の状態となるので、プリンタとしては追従した状態での印刷が可能となる。これはノーマル速度である。   As described above, when the font data stored in the FROM 15 is developed into a half image, the result is as shown in FIG. Then, in a state where the dots in the horizontal direction are adjacent to each other, the dot next to “black” becomes “no” after “yes”, so that the printer can perform printing in the following state. This is the normal speed.

ところで、ノーマル速度が360dpiとした場合の高速印刷速度としては、2倍速で180dpi、90dpiで印刷することができれば、理論的には4倍速の印刷が実現できる。しかし、隣り合ったイメージも連続している180dpiのフルイメージデータに対し、単純に90dpiのハーフイメージデータにするだけでは、隣り合ったイメージは連続したままであり、その速度に印字ヘッド18が追従することができない。   By the way, when the normal speed is set to 360 dpi, if it can be printed at 180 dpi and 90 dpi at double speed, theoretically, quadruple speed printing can be realized. However, when the full image data of 180 dpi where adjacent images are continuous is simply changed to 90 dpi half image data, the adjacent images remain continuous, and the print head 18 follows the speed. Can not do it.

図4は、90dpiの[黒]のドットの次に[黒]のドットが来ないようにデータ変換したハーフイメージデータを示す。この90dpiハーフイメージデータは、図3に示す360dpiハーフイメージと違って粗い状態となる。つまり、図4のハーフイメージデータは、図3の360dpiハーフイメージに対し、1/4のレゾルーションにしている。 FIG. 4 shows half image data obtained by data conversion so that a [black] dot does not come after a 90 dpi [black] dot. 9 0 dpi half image data of this becomes rough state unlike 360dpi half image shown in FIG. That is, the half image data in FIG. 4 is set to 1/4 resolution with respect to the 360 dpi half image in FIG.

図5は、この実施形態の4倍速印刷時のドットプリンタの動作フローチャートを示す。このドットプリンタは、文字データを受け入れた後、このフローチャートに従って印刷動作を実行する。   FIG. 5 shows an operation flowchart of the dot printer in quadruple speed printing according to this embodiment. After receiving the character data, the dot printer executes a printing operation according to this flowchart.

すなわち、まずACT1において、例えば文字コードをホスト10から受信する。図1の制御部12は、そのコードデータを読出し、キャラクタジェネレータ15bから文字コードに対応する図2に示す180dpiフルイメージデータのフォントデータを読み出す(ACT2)。   That is, first, in ACT1, for example, a character code is received from the host 10. The control unit 12 in FIG. 1 reads the code data, and reads font data of 180 dpi full image data shown in FIG. 2 corresponding to the character code from the character generator 15b (ACT2).

次に、間引き処理を実行し、図3および図6に示す360dpiのハーフイメージデータを生成する(ACT3)。ACT3における間引き処理は、まず、図3に示す360dpiのハーフイメージデータを、図6に示す水平方向4ドット分毎にスライスしたA,B,C,D,E,Fのそれぞれ水平方向のORを取る。そして、1スライス分に間引かれた図7に示す90dpiのハーフイメージデータを生成する。   Next, a thinning process is executed to generate 360 dpi half image data shown in FIGS. 3 and 6 (ACT3). In the thinning process in ACT3, first, the horizontal OR of A, B, C, D, E, and F obtained by slicing the 360 dpi half image data shown in FIG. 3 every 4 dots in the horizontal direction shown in FIG. take. Then, 90 dpi half image data shown in FIG. 7 thinned out for one slice is generated.

次に、図7に示すハーフイメージデータのチェックを実行する(ACT4)。なお、ハーフチェックは、図7に示すハーフイメージデータに連続して[黒]のドットが「ある」あるいは「ない」か、をチェックする。「ある」場合は、該当の[黒]のドットを[白]のドットに反転する変換処理を行う。[黒]のドットを[白]に反転する他にデータを削除しても構わない。図8は、ハーフチェックした第ハーフイメージデータとしての90dpiハーフイメージデータを示す。 Next, the half image data shown in FIG. 7 is checked (ACT4). In the half check, it is checked whether “black” dots are “present” or “not present” in succession to the half image data shown in FIG. In the case of “Yes”, a conversion process for inverting the corresponding [black] dot to the [white] dot is performed. In addition to inverting [black] dots to [white], data may be deleted. FIG. 8 shows 90 dpi half image data as second half image data subjected to half check.

図7に示す90dpiハーフイメージで隣り合うドットが連続して[黒]になっている部分は、スライスB,D,Fの一部にある。スライスBでは、ドット5〜8に、スライスDではドット5,6に、スライスFではドット1〜4およびドット7,8にある。ハーフチェックでは、この隣り合うドットが連続して[黒]となっている部分を、[白]のドットに反転している。   In the 90 dpi half image shown in FIG. 7, the adjacent dots are continuously [black] in a part of slices B, D, and F. In slice B, it is in dots 5 to 8, in slice D it is in dots 5 and 6, and in slice F it is in dots 1 to 4 and dots 7 and 8. In the half check, a portion in which the adjacent dots are continuously [black] is inverted to [white] dots.

そして、ハーフイメージデータチェック後の360dpiハーフイメージデータがイメージバッファ14に格納される(ACT5)。なお、図6は、図3に示す360dpiのハーフイメージの水平方向24ドット分と垂直方向8ドット分を拡大して示している。 Then, the 360 dpi half image data after the half image data check is stored in the image buffer 14 (ACT5). FIG. 6 is an enlarged view of 24 dots in the horizontal direction and 8 dots in the vertical direction of the 360 dpi half image shown in FIG.

次のACT6では、イメージバッファ14に格納された印字データの印字開始命令がされたかを判断する。   In the next ACT 6, it is determined whether or not a print start command for the print data stored in the image buffer 14 has been issued.

通常、この種の間引き処理は、例えば図2に示すフォントデータの8ドット分ずつを読出しながら処理を実行する。従って、ACT6において印字開始命令されていないと判断した場合(No)は、ACT2に戻り、再びACT2〜ACT5の処理が進められる。 Normally, this type of thinning process is executed while reading out, for example, 8 dots of font data shown in FIG. Therefore, when it is determined that the print start command is not issued in ACT6 (No), the process returns to ACT2 and the processes of ACT2 to ACT5 are performed again.

そして、ACT6において印字開始命令がされたと判断した場合(Yes)は、ACT7に移行し、4倍速の印刷が実行される。ここで、印字開始命令は、キャリッジリターンやシート搬送などのメカ動作を伴う命令のことである。   If it is determined in ACT6 that a print start command has been issued (Yes), the process proceeds to ACT7, and quadruple speed printing is executed. Here, the print start command is a command accompanied by a mechanical operation such as carriage return or sheet conveyance.

なお、間引きイメージデータの生成方法としては、右方向印刷のパターンでも左方向印刷のパターンでもよい。また、フォントデータの内容によって、予め最も適したパターンを選別して生成するようにしてもよい。また、制御部12の構成も同様の機能を有する各種のブロックに置き換えて差し支えない。   The thinning image data generation method may be a right direction printing pattern or a left direction printing pattern. Further, the most suitable pattern may be selected and generated in advance according to the content of the font data. The configuration of the control unit 12 may be replaced with various blocks having the same function.

このように、90dpiハーフイメージデータの隣り合うドットが連続して[黒]にならないようにした。これにより、360dpiハーフイメージデータがノーマルの印刷速度から4倍の印刷速度を実現することが可能となる。   In this way, adjacent dots of 90 dpi half-image data are prevented from being continuously [black]. As a result, the 360 dpi half image data can realize a printing speed four times that of the normal printing speed.

この実施形態は、フォントデータのレゾリューションをイメージバッファへの展開時に1/Nにしたことにより、単純な計算でかつ、特殊なフォントデータを用意することなく、N倍の高速印刷を実現することができる。   In this embodiment, the resolution of the font data is set to 1 / N at the time of development to the image buffer, so that N-times high-speed printing is realized by simple calculation and without preparing special font data. be able to.

また、180dpiフルイメージデータのフォントデータに基づき、4倍速の印刷速度に対応した印字データを生成していることから、予め高速に対応するフォントデータを記憶させておく必要もないことから、記憶容量の低減を図ることができる。   Further, since the print data corresponding to the quadruple speed printing speed is generated based on the font data of 180 dpi full image data, it is not necessary to store the font data corresponding to the high speed in advance. Can be reduced.

上記では、ノーマルと4倍の印刷速度について説明したが、2倍速や他の印刷速度と4倍速の印刷速度を切り換えて利用するドットプリンタにも適用可能である。   In the above description, the normal and quadruple printing speeds have been described. However, the present invention can also be applied to a dot printer that switches between a double speed or another print speed and a quadruple speed.

図9および図10は、2倍速の印刷について説明するためのそれぞれ説明図である。図9は、図2に示す180dpiフルイメージの水平方向14ドット分と垂直方向12ドット分を拡大して示す。図10は、図9のハーフイメージを示す。 9 and 10 are explanatory diagrams for explaining the double-speed printing. FIG. 9 is an enlarged view of 14 dots in the horizontal direction and 12 dots in the vertical direction of the 180 dpi full image shown in FIG. FIG. 10 shows the half image of FIG.

上記したように、4倍速の場合は、4スライスに1回、論理和演算するようにした。2倍速では、180dpiのフルイメージデータの連続する[黒]のドットを、[白]ドットに反転し、180dpiのハーフイメージに変換処理を行う。図10は、180dpiのハーフイメージを示している。180dpiハーフイメージデータを印字ヘッド18に供給することで、2倍速の印刷速度を実現する。   As described above, in the case of quadruple speed, the logical sum operation is performed once every four slices. At 2 × speed, continuous [black] dots of 180 dpi full image data are inverted to [white] dots and converted to a 180 dpi half image. FIG. 10 shows a 180 dpi half image. By supplying 180 dpi half image data to the print head 18, a double speed printing speed is realized.

ドットプリンタ100に、例えば、ノーマル速度、2倍速、4倍速の印刷速度に切り換えるファンクションを設ける。これらの印刷速度を選択することにより、ノーマル速度、2倍速、4倍速の印刷速度での印刷が可能となる。   For example, the dot printer 100 is provided with a function for switching to a normal speed, a double speed, or a quadruple speed. By selecting these printing speeds, printing at normal speed, double speed, and quadruple speed can be performed.

いくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、組み合わせ、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments have been described, these embodiments have been presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, combinations, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

100 ドットプリンタ
11 データ入力部
12 制御部
13 CPU
14 イメージバッファ
15 FROM
15a メインファーム
15b キャラクタジェネレータ
17 メカコントローラ
18 印字ヘッド
100 dot printer 11 data input unit 12 control unit 13 CPU
14 Image buffer 15 FROM
15a Main farm 15b Character generator 17 Mechanical controller 18 Print head

Claims (6)

ドットマトリックスのフォントデータに基づき、ドット印刷を行う印刷方法であって、
ノーマル速度印刷時は、前記フォントデータに基づき、第1ハーフイメージデータに変換し、
N倍速印刷時は、前記第1ハーフイメージデータを水平方向にNドット毎に論理和演算を行い、前記第1ハーフイメージデータを加工して1/Nのフルイメージデータを生成し、
前記フルイメージデータの水平方向に隣り合うドットが黒で連続する場合は、黒のドットが連続しないようにデータ変換した第ハーフイメージデータに基づき、N倍速のドット印刷を行う、印刷方法。
A printing method that performs dot printing based on dot matrix font data,
At the time of normal speed printing, it is converted to the first half image data based on the font data,
During N-times speed printing, the first half image data is logically ORed every N dots in the horizontal direction, the first half image data is processed to generate 1 / N full image data,
A printing method in which, when dots adjacent in the horizontal direction of the full image data are continuous in black, N-times dot printing is performed based on the second half image data that has been converted so that black dots do not continue.
前記第1ハーフイメージデータは、180dpiの前記フォントデータに基づき生成された360dpiハーフイメージデータであり、前記フルイメージデータは、前記360dpiハーフイメージデータに基づき、1/4に生成された90dpiフルイメージデータである、請求項1記載の印刷方法。 The first half image data is 360 dpi half image data generated based on the 180 dpi font data, and the full image data is 90 dpi full generated by 1/4 based on the 360 dpi half image data. The printing method according to claim 1, wherein the printing method is image data. ドットマトリックスのフォントデータが格納されたメモリおよび該フォントデータを展開し、イメージバッファに展開する時点で前記フォントデータから第1ハーフイメージデータに生成する制御部と、
入力データに基づき、前記制御部を制御し、前記第1ハーフイメージデータに基づき印字ヘッドを駆動するメカコントローラと、を備えたドットプリンタであって、
N倍速で印刷を行う場合の前記制御部は、前記第1ハーフイメージデータを水平方向にNドット毎に論理和演算を行い、前記第1ハーフイメージデータを加工して1/Nのフルイメージデータを生成し、該フルイメージデータの水平方向に隣り合うドットが黒で連続する場合は、黒のドットが連続しないようにデータ変換した第ハーフイメージデータに基づき、N倍速のドット印刷を行う、ドットプリンタ。
A memory in which dot matrix font data is stored, and a controller that expands the font data and generates the first half image data from the font data at the time of expansion into the image buffer;
A dot printer comprising: a mechanical controller that controls the control unit based on input data and drives a print head based on the first half image data;
When printing at N times speed, the control unit performs a logical OR operation on the first half image data every N dots in the horizontal direction, and processes the first half image data to obtain 1 / N full image data. When the adjacent dots in the horizontal direction of the full image data are continuous in black, N-times speed dot printing is performed based on the second half image data that is converted so that the black dots are not continuous. Dot printer.
前記第1ハーフイメージデータは、180dpiの前記フォントデータに基づき生成された360dpiハーフイメージデータであり、前記フルイメージデータは、前記360dpiハーフイメージデータに基づき、1/4に生成された90dpiフルイメージデータである、請求項3記載のドットプリンタ。 The first half image data is 360 dpi half image data generated based on the 180 dpi font data, and the full image data is 90 dpi full generated by 1/4 based on the 360 dpi half image data. The dot printer according to claim 3, wherein the dot printer is image data. 前記フルイメージデータの水平方向に隣り合うドットが黒で連続する場合に、黒のドットが連続しないようにデータ変換するときに、連続する黒のドットの左右何れかを白に反転して前記ハーフイメージデータを生成した、請求項3記載のドットプリンタ。 If the dots adjacent in the horizontal direction of the full image data is continuous in black, when the data conversion as black dots are not contiguous, the inverted either right and left black dots continuous white first The dot printer according to claim 3, wherein two half image data is generated. 前記フルイメージデータの水平方向に隣り合うドットが黒で連続する場合に、前記フォントデータに基づき、予め前記左右の何れかを反転するかを設定した、請求項5記載のドットプリンタ。 The dot printer according to claim 5, wherein when the adjacent dots in the horizontal direction of the full image data are continuous in black, whether to invert the left or right is set in advance based on the font data.
JP2013093688A 2013-04-26 2013-04-26 Printing method and dot printer Active JP5778715B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2013093688A JP5778715B2 (en) 2013-04-26 2013-04-26 Printing method and dot printer
CN201410042468.7A CN104118219B (en) 2013-04-26 2014-01-28 Printing process and dot printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013093688A JP5778715B2 (en) 2013-04-26 2013-04-26 Printing method and dot printer

Publications (2)

Publication Number Publication Date
JP2014213557A JP2014213557A (en) 2014-11-17
JP5778715B2 true JP5778715B2 (en) 2015-09-16

Family

ID=51763959

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013093688A Active JP5778715B2 (en) 2013-04-26 2013-04-26 Printing method and dot printer

Country Status (2)

Country Link
JP (1) JP5778715B2 (en)
CN (1) CN104118219B (en)

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0655524B2 (en) * 1983-10-13 1994-07-27 セイコーエプソン株式会社 Serial dot printer
JPS60139459A (en) * 1983-12-27 1985-07-24 Nhk Spring Co Ltd Printing system in dot printer
JPH0647301B2 (en) * 1985-02-19 1994-06-22 セイコーエプソン株式会社 Charactor pattern generator
JPS62212164A (en) * 1986-03-14 1987-09-18 Nec Corp Printer
JPH05177879A (en) * 1992-01-07 1993-07-20 Hitachi Ltd Wide dot printer
JPH05281948A (en) * 1992-04-02 1993-10-29 Oki Data Syst:Kk Font pattern compressing and storing method
JPH05301378A (en) * 1992-04-27 1993-11-16 Oki Electric Ind Co Ltd Printing system of dot matrix type printer
JP2626691B2 (en) * 1993-12-10 1997-07-02 セイコープレシジョン株式会社 Printing method of dot printer
JP2877036B2 (en) * 1995-06-30 1999-03-31 日本電気株式会社 Printing method and dot printer
JP3306653B2 (en) * 1997-12-26 2002-07-24 株式会社ワイ・イー・データ Dot line printer
JP2000318214A (en) * 1999-05-17 2000-11-21 Pfu Ltd Printing device, controlling method therefor, and recording medium
JP2007245620A (en) * 2006-03-17 2007-09-27 Ricoh Printing Systems Ltd Printing control method for dot line printer

Also Published As

Publication number Publication date
CN104118219A (en) 2014-10-29
JP2014213557A (en) 2014-11-17
CN104118219B (en) 2016-06-08

Similar Documents

Publication Publication Date Title
US9477914B2 (en) Image processing apparatus, method, and medium for converting page image data
US10230857B2 (en) Image forming apparatus having controlled conveyance speed, image forming method, and storage medium
JP6447564B2 (en) Image forming apparatus, program, and information processing system
JP6506577B2 (en) Image processing apparatus and method, and image recording apparatus
JP6253440B2 (en) Vector data processing apparatus, image recording system, vector data processing method and program
JP5842517B2 (en) Printing apparatus and printing apparatus control method
JP5778715B2 (en) Printing method and dot printer
JP2000001015A (en) Image formation apparatus, image formation system, information process apparatus, and their control method
US7782483B2 (en) Image forming system, image forming apparatus, image processing apparatus and storage medium readable by computer
JP2005324425A (en) Image forming apparatus and control program therefor
JP2007316943A (en) Recording control device and recording control method
JP2005212246A (en) Execution of color conversion processing according to environmental conditions
JP2006102990A (en) Printing device, printing system and program
US20230393793A1 (en) Image forming apparatus, method for controlling image forming apparatus, and storage medium
US20240028275A1 (en) Image forming apparatus, control method for controlling image forming apparatus, and storage medium
JP6455676B2 (en) Electronic device and font image output program
JP2001138590A (en) Serial printer, printing system and method of driving carriage therein
JP6455675B2 (en) Electronic device and font image output program
JP5826147B2 (en) Image forming apparatus
JP6140952B2 (en) Data processing apparatus, data processing method and program
JP2000218874A (en) Printing control method and apparatus and printing apparatus
JP2007055091A (en) Recording device
JP2011126138A (en) Device, method and program for controlling printing
JP2009262437A (en) Printing control method, computer program, print system, and printer
JP2006076059A (en) Recorder

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141125

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150122

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150709

R150 Certificate of patent or registration of utility model

Ref document number: 5778715

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150