JP2008023798A - Program, printer, and control device thereof - Google Patents

Program, printer, and control device thereof Download PDF

Info

Publication number
JP2008023798A
JP2008023798A JP2006197359A JP2006197359A JP2008023798A JP 2008023798 A JP2008023798 A JP 2008023798A JP 2006197359 A JP2006197359 A JP 2006197359A JP 2006197359 A JP2006197359 A JP 2006197359A JP 2008023798 A JP2008023798 A JP 2008023798A
Authority
JP
Japan
Prior art keywords
bar
barcode
print data
correction
printing apparatus
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
JP2006197359A
Other languages
Japanese (ja)
Inventor
Hirotaka Kato
宏隆 加藤
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2006197359A priority Critical patent/JP2008023798A/en
Publication of JP2008023798A publication Critical patent/JP2008023798A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Printers Characterized By Their Purpose (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a program constituted so as to prevent erroneous reading of a barcode reader by using an inexpensive means irrespective of various fluctuation causes of a width of a line, a printer for performing barcode printing, and a control device of the printer. <P>SOLUTION: There is disclosed the program for allowing a computer 12 to execute procedures of forming (16) print data of a barcode according to image data including barcode information, correcting (17) the formed print data and outputting the corrected print data to the printer (A). The correction is carried out such that the number of dots forming a black bar and the number of dots forming a white bar in the print data are varied in one bar of one bar code having the plurality of bars. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、バーコード印刷データを作成するプログラム、バーコード印刷を行なう印刷装置及びこの印刷装置の制御装置に関するものである。   The present invention relates to a program for creating barcode print data, a printing apparatus that performs barcode printing, and a control device for the printing apparatus.

電子写真による印刷装置は、文字、図形等をドットと言われる点の集合で描画して印刷している。その点の大きさが小さい程、文字等を構成するドット数が増して精密な印刷が可能になる。そして、その点の大きさを一般に解像度と表現している。デジタル印刷(印字)装置によるドットの形成はレーザダイオードやLEDによって光を感光体に照射し、静電潜像を作成して行なわれているものがほとんどである。
印刷装置でバーコードの印刷を行なう場合には、各バーコードの規格に合致する構成で印刷を行なう。例えば、コンビニエンスストアで支払いを行なう料金代理収納システムに用いられているバーコード規格であるUCC/EAN−128バーコード(ヨーロピアン・アーティクル・ナンバー128:国際EAN協会が標準化したバーコード)は、両側のクワイエットゾーンを含めたバーコードの全長が60mm以内とする必要があり、4種類の太さの線で構成される。
An electrophotographic printing apparatus draws and prints characters, graphics, and the like with a set of points called dots. As the size of the point is smaller, the number of dots constituting a character or the like is increased, and precise printing becomes possible. The size of the point is generally expressed as resolution. In most cases, dots are formed by a digital printing (printing) apparatus by irradiating a photosensitive member with light by a laser diode or LED to create an electrostatic latent image.
When printing barcodes with a printing apparatus, printing is performed with a configuration that conforms to the standards of each barcode. For example, UCC / EAN-128 bar code (European Article Number 128: bar code standardized by the International EAN Association) is a bar code standard that is used in a charge agent storage system that pays at convenience stores. The total length of the barcode including the quiet zone needs to be 60 mm or less, and is composed of four types of thickness lines.

そのようなバーコードを解像度600dpiで印刷する場合、バーコードを構成するドット構成は、白の線(以下「白バー」という)と黒の線(以下「黒バー」という)ともに、4ドット(0.169mm)、8ドット、12ドット、16ドットで行なうのが一般的であり、線幅は非常に細く高密度になってきているために印刷が困難になっている。
非常に細く高密度になってきている線幅の印刷の困難さなどの不都合を克服するために、従来から、種々の解決策が提案されている(例えば、特許文献1乃至3参照)。
特許文献1では、線幅の条件によって読み取り率が低くなってしまわないように、例えば、バーコードの白バー及び黒バーのどちらかの太りがないように黒バー及び白バーの線幅を適切な幅に設定したバーコードフォントテーブルを用意することでバーコードの読み取り率低下を解決するようにしている。
また、特許文献2及び3では、バーコードの方向や印刷装置の印刷枚数、温度・湿度環境に応じて黒バー及び白バーの線幅を適切な幅に可変する方法が行なわれることが開示されている。
特開2004−17399公報 特開平09−099590号公報 特開平11−265419号公報
When printing such a barcode at a resolution of 600 dpi, the dot configuration of the barcode is 4 dots (a white line (hereinafter referred to as “white bar”) and a black line (hereinafter referred to as “black bar”). 0.169 mm), 8 dots, 12 dots, and 16 dots, and the line width is becoming very thin and high density, making printing difficult.
Conventionally, various solutions have been proposed in order to overcome inconveniences such as difficulty in printing line widths that are becoming extremely thin and dense (see, for example, Patent Documents 1 to 3).
In Patent Document 1, for example, the line widths of the black bar and the white bar are appropriately set so that the white bar and the black bar of the barcode are not thickened so that the reading rate is not lowered due to the condition of the line width. By preparing a barcode font table set to a wide width, a reduction in barcode reading rate is solved.
Patent Documents 2 and 3 disclose that a method of changing the line width of the black bar and the white bar to an appropriate width according to the direction of the barcode, the number of printed sheets of the printing apparatus, and the temperature / humidity environment is disclosed. ing.
JP 2004-17399 A JP 09-099590 A Japanese Patent Laid-Open No. 11-265419

しかしながら、上述した印刷装置では、記録紙に印刷するバーコードの黒バー幅や白バー幅が印刷装置の条件によって変動し、常に安定した太さを維持できずに印刷してしまうことが多い。
例えば、印刷枚数による経時変動や温度湿度環境、記録紙の種類、バーコードの印刷方向、バーコードを印刷する長手方向位置など変動要因は様々である。
上述したコンビニエンスストア料金代理収納用UCC/EAN−128バーコードのような高精細な線を必要とするバーコードにおいて、線幅の変動はバーコードリーダによる読み取り不良を起こす原因となるものである。
そこで、本発明の目的は、上述した実情を考慮して、線幅の様々な変動要因に拘わらず、安価な手段でバーコードリーダによる読み取り不良を防ぐように構成するプログラム、バーコード印刷を行なう印刷装置及びこの印刷装置の制御装置を提供することにある。
However, in the above-described printing apparatus, the black bar width and white bar width of the barcode printed on the recording paper vary depending on the conditions of the printing apparatus, and printing is often performed without always maintaining a stable thickness.
For example, there are various fluctuation factors such as a change with time according to the number of printed sheets, a temperature / humidity environment, a type of recording paper, a printing direction of a barcode, and a longitudinal position for printing the barcode.
In a barcode that requires a high-definition line such as the convenience store fee proxy storage UCC / EAN-128 barcode described above, fluctuations in the line width cause a reading failure by the barcode reader.
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to execute a program and bar code printing that are configured to prevent reading failure by a bar code reader with an inexpensive means, regardless of various factors of variation in line width in consideration of the above-described actual situation. To provide a printing apparatus and a control apparatus for the printing apparatus.

上記の課題を解決するために、請求項1に記載の発明は、バーコード情報を含む画像データに基づいてバーコードの印刷データを作成し、作成した印刷データを補正し、補正した印刷データを印刷装置へ出力する手順を、コンピュータに実行させるプログラムにおいて、前記補正は、前記印刷データの黒バーを構成するドット数及び白バーを構成するドット数を、複数のバーを有する1つのバーコードの、1本のバーの中でドット数を可変させて行なうプログラムを特徴とする。
また、請求項2に記載の発明は、バーコード情報におけるバーコードのバーの方向が現像方向と一致するか否かを検知し、検知されたバーの方向に応じて異なる補正量で補正する請求項1記載のプログラムを特徴とする。
また、請求項3に記載の発明は、バーコード情報におけるバーコードデータの解像度に応じて、異なる補正量で補正する請求項1又は2記載のプログラムを特徴とする。
In order to solve the above problem, the invention according to claim 1 creates barcode print data based on image data including barcode information, corrects the created print data, and sets the corrected print data. In the program for causing a computer to execute a procedure of outputting to a printing apparatus, the correction is performed by changing the number of dots constituting the black bar and the number of dots constituting the white bar of the print data to one barcode having a plurality of bars. The program is characterized by changing the number of dots in one bar.
According to a second aspect of the present invention, it is detected whether or not the bar code direction in the bar code information coincides with the developing direction, and correction is performed with a different correction amount according to the detected bar direction. The program according to item 1 is characterized.
According to a third aspect of the invention, there is provided a program according to the first or second aspect, wherein the correction is performed with a different correction amount according to the resolution of the barcode data in the barcode information.

また、請求項4に記載の発明は、バーコード情報を含む画像データに基づいてバーコードの印刷データを作成する印刷データ作成手段と、この印刷データ作成手段によって作成した印刷データを補正する画像補正手段と、この画像補正手段によって補正した印刷データを出力する出力手段とを備える印刷装置において、前記印刷データ作成手段は、外部装置から与えられたバーコード情報を含む画像データを展開した上でバーコードの前記印刷データを作成し、前記画像補正手段は、前記印刷データの黒バーを構成するドット数及び白バーを構成するドット数を、複数のバーを有する1つのバーコードの、1本のバーの中でドット数を可変させて補正することを特徴とする。
また、請求項5に記載の発明は、バーコード情報におけるバーコードのバーの方向が現像方向と一致するか否かを検知するバー方向検知手段を有し、これによって検知されたバーの方向に応じて異なる補正量で補正する請求項4記載の印刷装置を特徴とする。
また、請求項6に記載の発明は、さらに、バーコード情報におけるバーコードデータの解像度に応じて、異なる補正量で補正する請求項5記載の印刷装置を特徴とする。
According to a fourth aspect of the present invention, there is provided print data creation means for creating barcode print data based on image data including barcode information, and image correction for correcting print data created by the print data creation means. And a print device comprising: output means for outputting print data corrected by the image correction means, wherein the print data creation means develops image data including bar code information provided from an external device and The print data of the code is created, and the image correction means sets the number of dots constituting the black bar and the number of dots constituting the white bar of the print data to one bar code having a plurality of bars. The correction is performed by varying the number of dots in the bar.
Further, the invention according to claim 5 has bar direction detecting means for detecting whether or not the bar code direction in the bar code information coincides with the developing direction. 5. The printing apparatus according to claim 4, wherein correction is performed with different correction amounts.
Further, the invention described in claim 6 is characterized in that the printing apparatus according to claim 5 further performs correction with different correction amounts according to the resolution of the barcode data in the barcode information.

また、請求項7に記載の発明は、バーコード情報を含む画像データに基づいてバーコードの印刷データを作成する印刷データ作成手段と、この印刷データ作成手段によって作成した印刷データを補正する画像補正手段と、この画像補正手段によって補正した印刷データを印刷装置へ出力する出力手段とを備える印刷装置の制御装置において、前記画像補正手段は、前記印刷データの黒バーを構成するドット数及び白バーを構成するドット数を、複数のバーを有する1つのバーコードの、1本のバーの中でドット数を可変させて行なうことを特徴とする。
また、請求項8に記載の発明は、バーコード情報におけるバーコードのバーの方向が現像方向と一致するか否かを検知するバー方向検知手段を有し、これによって検知されたバーの方向に応じて異なる補正量で補正する請求項7記載の印刷装置の制御装置を特徴とする。
また、請求項9に記載の発明は、バーコード情報におけるバーコードデータの解像度に応じて、異なる補正量で補正する請求項7又は8記載の印刷装置の制御装置を特徴とする。
According to a seventh aspect of the present invention, there is provided a print data creation unit for creating barcode print data based on image data including barcode information, and an image correction for correcting the print data created by the print data creation unit. And an output means for outputting the print data corrected by the image correction means to the printing apparatus, wherein the image correction means includes the number of dots and the white bar constituting the black bar of the print data. The number of dots composing the image is determined by changing the number of dots in one bar of one bar code having a plurality of bars.
The invention according to claim 8 has bar direction detecting means for detecting whether or not the bar direction of the bar code in the bar code information coincides with the developing direction, and the direction of the bar detected thereby is detected. 8. A control apparatus for a printing apparatus according to claim 7, wherein correction is performed with different correction amounts.
According to a ninth aspect of the present invention, there is provided a control apparatus for a printing apparatus according to the seventh or eighth aspect, wherein the correction is performed with a different correction amount in accordance with the resolution of the barcode data in the barcode information.

本発明によれば、コンピュータにバーコード情報を含む画像データに基づいてバーコードの印刷データを作成する作成手段と、該作成手段によって作成した印刷データを補正する画像補正手段と、この画像補正手段によって補正した印刷データを印刷装置へ出力する出力手順とを実行させるためのプログラムにおいて、前記印刷データの黒バー及び白バーを構成するドット数を、1つのバーコードの中に複数ある全てのバーにおいて、1本のバーの中でドット数を可変させて線幅を可変させているので、外部や内部の様々な要因により線幅が変動しても、このプログラムによりバーコードリーダが読み取り可能な線幅のバーコードを安価な手段による制御で作成することが可能となる。   According to the present invention, a creation unit that creates barcode print data based on image data including barcode information in a computer, an image correction unit that corrects print data created by the creation unit, and the image correction unit In the program for executing the output procedure for outputting the print data corrected by the printing apparatus to the printing apparatus, the number of dots constituting the black bar and the white bar of the print data is set to all the bars included in one barcode Since the line width is varied by changing the number of dots in one bar, even if the line width fluctuates due to various external and internal factors, the barcode reader can be read by this program. It becomes possible to create a barcode with a line width by control using inexpensive means.

以下、図面を参照して、本発明の実施の形態を詳細に説明する。図1は本発明を適用する印刷装置(プリンタ)の全体構成を示す概略図である。以下、本発明で使用した画像形成装置である電子写真プリンタ(以下、プリンタという)Aに適用した実施の形態について説明する。
まず、本実施形態に係るプリンタ全体の構成及び動作について説明する。図1において、潜像担持体としての感光体1の周面は、所定の周速度で回転駆動されながら、帯電装置2によって正又は負の所定電位に一様に帯電せしめられる。その後、スリット露光やレーザビーム走査露光等の像露光装置3によって画像情報に基づいた走査露光処理がなされて静電潜像が形成される。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a schematic diagram showing the overall configuration of a printing apparatus (printer) to which the present invention is applied. Hereinafter, an embodiment applied to an electrophotographic printer (hereinafter referred to as a printer) A which is an image forming apparatus used in the present invention will be described.
First, the configuration and operation of the entire printer according to this embodiment will be described. In FIG. 1, the peripheral surface of the photoreceptor 1 as a latent image carrier is uniformly charged to a predetermined positive or negative potential by the charging device 2 while being driven to rotate at a predetermined peripheral speed. Thereafter, scanning exposure processing based on image information is performed by the image exposure apparatus 3 such as slit exposure or laser beam scanning exposure to form an electrostatic latent image.

感光体1上に形成された静電潜像は、現像装置4によって現像されてトナー像となる。感光体1上に形成されたトナー像は、給紙カセット5からレジストローラ6、搬送ガイド板7上を通過して感光体1と転写ローラ8との間に感光体1の回転と同期して給送された転写材(図示せず)上に、転写ローラ8によって転写される。
このようにして、トナー像が転写された転写材は、感光体1の周面から分離されて像定着装置9に送り出され、ここでトナー像が定着せしめられた後、複写物(コピー)として印刷装置(プリンタ)A外に排出される。
なお、像転写後の感光体1上の表面は、クリーニング装置10によって転写残トナーが除去されて清浄面化され、図示しない除電装置により除電され、次の画像形成に使用される。
ここで、図1に示すように、上述した感光体1、帯電装置2、現像装置4、クリーニング装置10の各構成要素は、一体に構成されたプロセスカートリッジ11としてプリンタ本体に着脱可能に支持されている。
The electrostatic latent image formed on the photoreceptor 1 is developed by the developing device 4 to become a toner image. The toner image formed on the photosensitive member 1 passes through the registration roller 6 and the conveyance guide plate 7 from the paper feeding cassette 5 and is synchronized with the rotation of the photosensitive member 1 between the photosensitive member 1 and the transfer roller 8. It is transferred by a transfer roller 8 onto a fed transfer material (not shown).
The transfer material onto which the toner image has been transferred in this manner is separated from the peripheral surface of the photosensitive member 1 and sent to the image fixing device 9, where the toner image is fixed and then copied as a copy (copy). It is discharged out of the printing apparatus (printer) A.
The surface of the photoreceptor 1 after the image transfer is cleaned by removing the transfer residual toner by the cleaning device 10, and is neutralized by a neutralization device (not shown), and used for the next image formation.
Here, as shown in FIG. 1, the above-described components of the photoreceptor 1, the charging device 2, the developing device 4, and the cleaning device 10 are removably supported on the printer main body as an integrally formed process cartridge 11. ing.

図2はUCC/EAN−128バーコードの構成を示す概略図である。図2に示すように、UCC/EAN−128バーコードの構成についての説明をすると、白バー及び黒バーともに4種類の線があり、1モジュール幅の2倍、3倍、4倍の線幅で構成されている。
4種類の線幅は白バー及び黒バーともに同じ幅である。また1モジュール幅とは、バーコードを構成する4種類の太さのうち最も細いバーのことであり、基準の太さとなるものである。
FIG. 2 is a schematic diagram showing the configuration of the UCC / EAN-128 barcode. As shown in FIG. 2, the configuration of the UCC / EAN-128 barcode will be described. There are four types of lines for both the white bar and the black bar. The line width is twice, three times, and four times the width of one module. It consists of
The four types of line widths are the same for both the white bar and the black bar. One module width is the thinnest bar among the four types of thicknesses that make up the barcode, and is the reference thickness.

図3は本発明のバーコード印刷の印刷装置及び制御装置を示す原理ブロック図である。入力されたバーコード情報を含む画像データに基づきバーコードデータを作成し、プリンタドライバ情報などの本体情報によってバーコードデータを補正し、印刷(印字装置)に印刷(印字)データを与えるものである。
コンピュータ12では、メモリ13からの画像データからバーコード方向検知手段14によってバーコード方向を検知し、プリンタドライバ15を介してバーコードデータ作成手段16によってバーコードデータを作成し、このバーコードデータを画像補正手段17で補正し、プリンタAに印刷データを付与する。
FIG. 3 is a principle block diagram showing a printing apparatus and control apparatus for barcode printing according to the present invention. Barcode data is created based on image data including input barcode information, barcode data is corrected by main body information such as printer driver information, and print (printing) data is given to printing (printing device). .
The computer 12 detects the barcode direction from the image data from the memory 13 by the barcode direction detection means 14, creates barcode data by the barcode data creation means 16 via the printer driver 15, and stores the barcode data. The image is corrected by the image correcting means 17 and the print data is given to the printer A.

図4は印刷枚数と1モジュール幅(黒バー)の補正前の関係をグラフで示す図である。プリンタAにおいては、図4に示すように転写材の印刷枚数に応じて黒バーの線幅が狭くなる傾向にある。図4に書かれている1モジュール幅とは、前述のごとくバーコードを構成する4種類の太さのバーのうち最も細いバーのことである。
その他のバーは、図2に示すように、1モジュール幅の2倍、3倍、4倍の線幅の4種類で構成されており、4種類の線幅は白バー及び黒バーともに同じ幅である。上述した印刷枚数に応じて黒バーの線幅が狭くなったのは、2成分現像による現像剤の帯電量の上昇が原因であり、上述したバーコードの印刷を行なう際に、常に安定した太さを維持できないためにバーコード読み取り率低下を招いてしまう問題がある。
FIG. 4 is a graph showing the relationship between the number of printed sheets and one module width (black bar) before correction. In the printer A, as shown in FIG. 4, the line width of the black bar tends to be narrowed according to the number of printed transfer materials. The one-module width written in FIG. 4 is the thinnest bar among the four types of bars constituting the barcode as described above.
As shown in FIG. 2, the other bars are composed of four types of line widths of 2 times, 3 times and 4 times the width of one module. The four types of line widths are the same for both the white bar and the black bar. It is. The reason why the line width of the black bar becomes narrower in accordance with the number of printed sheets described above is due to an increase in the charge amount of the developer due to the two-component development. Since this cannot be maintained, there is a problem that the barcode reading rate is lowered.

図5は印刷枚数と1モジュール幅(黒バー)の補正前の関係をグラフで示す図である。上述した印刷装置とは異なり、図5に示すように、転写材の印刷枚数に応じて黒バーの線幅が太くなる傾向にある装置もある。
これは、主に1成分現像によるものであり、初期から印刷枚数が増えるに従い、トナーの帯電量が上昇し、初期よりも現像性が向上するためである。当然、太くなることでも、太さを維持できないのでバーコードの読み取り率低下を招くこととなることも明記しておく。
FIG. 5 is a graph showing the relationship between the number of printed sheets and one module width (black bar) before correction. Unlike the printing apparatus described above, as shown in FIG. 5, there is also an apparatus in which the line width of the black bar tends to increase according to the number of printed transfer materials.
This is mainly due to one-component development, and as the number of printed sheets increases from the initial stage, the charge amount of the toner increases, and the developability improves from the initial stage. Obviously, even if the thickness is increased, the thickness cannot be maintained, so that the barcode reading rate is lowered.

図6は温度と1モジュール幅(黒バー)の関係をグラフとして示す図である。また、本実施の形態で使用したプリンタにおいては、図6に示すように温度の環境に応じて黒バーの線幅が変動する傾向にある。
これには、環境により現像剤の帯電量が変動することが影響しており、温度が低い時は帯電量が上昇するために現像能力が低くなって、黒バーの線幅が狭くなり、反対に温度が高い時は帯電量が下がって、現像性が上がることでトナー量が多く現像されるため黒バーの線幅が広くなるものである。
図7は湿度と1モジュール幅(黒バー)の関係をグラフとして示す図である。同様に、このプリンタにおいては、図7に示すように湿度の環境においても黒バーの線幅が変動する傾向にある。
FIG. 6 is a graph showing the relationship between the temperature and the width of one module (black bar). In the printer used in the present embodiment, the line width of the black bar tends to vary depending on the temperature environment as shown in FIG.
This is due to the fact that the charge amount of the developer fluctuates depending on the environment. When the temperature is low, the charge amount increases, so the developing ability is lowered, and the line width of the black bar becomes narrower. In particular, when the temperature is high, the charge amount decreases, and the developability increases, so that the toner amount increases and the line width of the black bar increases.
FIG. 7 is a graph showing the relationship between the humidity and the width of one module (black bar). Similarly, in this printer, the line width of the black bar tends to fluctuate even in a humidity environment as shown in FIG.

図8は現像方向に対するバーコードの方向を示す概略図である。図8の(A)は現像方向に対して垂直であるバーコードの方向を示しており、そして図8の(B)は現像方向に対して平行であるバーコードの方向を示している。
本実施の形態に使用したプリンタにおいて、バーコードの方向によって、黒バー及び白バー線幅が異なる傾向にある。これは、露光手段であるレーザの感光体像面でのレーザビーム径による差、及び現像スリーブ上の現像剤による現像ブラシ(図示せず)が感光体(図1)上に形成されたトナー像の進行方向の後端部を掻きとってしまう等の原因であることは解っている。これらの原因によって、現像方向に対し垂直なバーコードの黒バーの線幅は平行な黒バーの線幅に比べ狭くなっている。
FIG. 8 is a schematic view showing the direction of the barcode with respect to the developing direction. 8A shows the direction of the barcode that is perpendicular to the developing direction, and FIG. 8B shows the direction of the barcode that is parallel to the developing direction.
In the printer used in the present embodiment, the black bar and white bar line widths tend to differ depending on the barcode direction. This is because a toner image in which a developing brush (not shown) by the developer on the developing sleeve is formed on the photosensitive member (FIG. 1) is a difference due to the laser beam diameter on the photosensitive member image surface of the laser as an exposure means. It is known that this is the cause of scratching the rear end of the traveling direction. For these reasons, the line width of the black bar of the bar code perpendicular to the developing direction is narrower than the line width of the parallel black bar.

図9はバーコード読み取り装置から見た反射率と1モジュール線幅の関係をグラブで示す図である。図9において、転写材の反射率に応じて線幅が変動しており、反射率が低くなるほど黒バーの線幅が太くなる傾向にある。
上述した反射率が低くなるほど黒バーの線幅が太くなる理由は、読み取り側は線幅を白及び黒それぞれの反射率で測定しており、白バーとなる転写材の反射率が低く、黒バーの反射率との差が少なくなると、エッジ認識が鈍くなって黒バーが太く読み取られるからである。上記のように、バーコードの黒バー及び白バーの線幅は様々な要因によって変動してしまうことが解っている。
FIG. 9 is a graph showing the relationship between the reflectance as viewed from the barcode reader and the line width of one module. In FIG. 9, the line width varies according to the reflectance of the transfer material, and the line width of the black bar tends to increase as the reflectance decreases.
The reason why the line width of the black bar becomes thicker as the reflectance becomes lower is that the reading side measures the line width by the reflectance of each of white and black, and the reflectance of the transfer material that becomes the white bar is low, and the black bar This is because when the difference from the reflectance of the bar is reduced, the edge recognition becomes dull and the black bar is read thickly. As described above, it has been found that the line widths of the black bar and the white bar of the barcode vary depending on various factors.

図10はそれぞれのバーの中で線幅を決定するドット数の変更を示す概略図である。図11は図10の変更を表として示す図である。上述した線幅変動の問題を対策するために、図10及び図11に表すように1つのバーコードにおいて、それぞれのバーの中で線幅を決定するドット数を可変することを行なった。
このバーコードデータは1200dpiの解像度であり、基本的に1モジュールの黒および白バーは9ドットで印刷する構成である。本実施の形態での補正は9ドットでの1モジュール幅を中段にして、上段は黒バーに2ドット足す補正を行なっており、下段は黒バーから2ドット引く補正をしている。
FIG. 10 is a schematic diagram showing a change in the number of dots for determining the line width in each bar. FIG. 11 is a diagram showing the changes in FIG. 10 as a table. In order to deal with the above-described problem of line width variation, as shown in FIGS. 10 and 11, in one bar code, the number of dots for determining the line width in each bar is varied.
This bar code data has a resolution of 1200 dpi, and basically a black and white bar of one module is printed with 9 dots. In this embodiment, correction is performed by setting one module width of 9 dots to the middle level, the upper level is corrected by adding 2 dots to the black bar, and the lower level is corrected by subtracting 2 dots from the black bar.

図12は、図10にある線幅の3段階補正を行なったバーコードの線幅が、プリンタの通紙枚数に応じて変動する結果をグラフで示す図である。初めは中段のバーコードが読み取り良好であるが、5000枚を過ぎてからは上段のバーコードの読み取りが良くなっていくことが解る。
同様に上述している変動要因となる、温度、湿度、バーコード印刷方向及び転写材の反射率の変動に応じて線幅を3段階補正したバーコードを読み取った結果、線幅が変動していっても、必ず上段、中段、下段のどこかの位置でバーコードリーダ(バーコード読み取り装置)による読み取りが可能となることを確認した。
FIG. 12 is a graph showing a result of the line width of the bar code subjected to the three-step correction of the line width shown in FIG. 10 varying according to the number of sheets passed through the printer. Initially, the middle bar code is well read, but it can be seen that the reading of the upper bar code improves after 5000 sheets.
Similarly, as a result of reading a bar code whose line width has been corrected in three steps in accordance with fluctuations in temperature, humidity, bar code printing direction, and reflectance of the transfer material, which are the above-described fluctuation factors, the line width has fluctuated. However, it was confirmed that reading by a bar code reader (bar code reading device) was always possible at some position in the upper, middle and lower levels.

図13は1モジュール幅の変動要因による変動量をグラフで示す図である。バーコードの補正は、この変動量の上下限に設定した。この結果から、様々な内部及び外部変動要因によって線幅が変わってしまうプリンタにおいて、バーコードの線幅を1本のバーの中で可変させることによって、或る部分でバーコードの読み取りができないバーコードでも、バーコードリーダの読み取り位置を変更することで、読み取り可能になるバーコードを提供することが可能となった。
本実施の形態に使用したプリンタにおいては、現像方向に対し垂直なバーコードの黒バーが平行なバーより細くなることが解っている。これは、上述したように、露光手段であるレーザの感光体像面でのレーザビーム径による差、及び現像スリーブ上の現像剤による現像ブラシが感光体上に形成されたトナー像の進行方向の後端部を掻き取ってしまう等の原因であることが解っている。
FIG. 13 is a graph showing the variation due to the variation factor of one module width. Bar code correction was set at the upper and lower limits of this fluctuation amount. From this result, in a printer whose line width changes due to various internal and external fluctuation factors, the bar code cannot be read in a certain part by changing the line width of the bar code within one bar. By changing the reading position of the barcode reader, it is possible to provide a barcode that can be read.
In the printer used in this embodiment, it is known that the black bar of the bar code perpendicular to the developing direction is thinner than the parallel bar. This is because, as described above, the difference in the laser beam diameter on the surface of the photoreceptor image of the laser as the exposure means and the development direction of the toner image formed on the photoreceptor by the developer brush on the developing sleeve. It has been found that this is the cause of scraping the rear end.

図14は図11と同じ解像度1200dpiのバーコードを表として示す図である。上述したトナー像の進行方向の後端部の掻き取りの問題を解決するために、バーコードの方向に応じて白バー及び黒バーのドット数の補正ドット数を変更することとした。
図14では図11と同じ解像度1200dpiのバーコードであるが、バーコードの方向が異なっており、平行方向と垂直方向で補正ドット数を変えて制御を行なっている。これは、縦横での線幅が異なるという印刷装置(プリンタ)の内部変動要因によるものであり、初めから適正な補正値に設定が可能なためである。
図3に示す本発明の実施の形態の構成におけるバー方向検知手段14及び画像補正手段17によるバーコードの記録形式の編集機能は図示して無いCPUと予め組み込まれたソフトウェアとの組み合わせによって実現されるものである。
コンピュータ12へバーコード画像データ及び用紙設定情報を入力すると、バーコードのバーの方向が図8の(A)であるか(B)であるかを検知する。バーの方向を検知するには画像の黒の部分が或る長さ(バーの最低の長さ)以上連続しているかを見れば良い。
上記の検出の結果、バーコードのバーが現像方向に対して垂直であると検知した時と、平行であると検知した時にバーコードの白バー及び黒バーのドット数をそれぞれに設定した補正値で変更するものである。
FIG. 14 is a table showing bar codes with the same resolution of 1200 dpi as in FIG. In order to solve the above-described problem of scraping the rear end of the toner image in the traveling direction, the number of correction dots for the white and black bar dots is changed according to the barcode direction.
In FIG. 14, the barcode has the same resolution of 1200 dpi as in FIG. 11, but the direction of the barcode is different, and control is performed by changing the number of correction dots in the parallel direction and the vertical direction. This is due to an internal variation factor of the printing apparatus (printer) in which the line widths in the vertical and horizontal directions are different, and an appropriate correction value can be set from the beginning.
The bar code recording format editing function by the bar direction detecting means 14 and the image correcting means 17 in the configuration of the embodiment of the present invention shown in FIG. 3 is realized by a combination of a CPU (not shown) and preinstalled software. Is.
When the barcode image data and the paper setting information are input to the computer 12, it is detected whether the bar direction of the barcode is (A) or (B) in FIG. In order to detect the direction of the bar, it is only necessary to check whether the black portion of the image is continuous for a certain length (the minimum length of the bar).
As a result of the above detection, when the barcode bar is detected as being perpendicular to the developing direction, and when it is detected as being parallel, the correction value is set for the number of dots in the barcode white bar and black bar, respectively. It is something to change.

図15はUCC/EAN―128料金代理収納のバーコードを表として示す図である。図15に示すように、UCC/EAN―128料金代理収納のバーコードは、バーコードシンボル長が60mm以内という規格通りのバーコードを出力するために、解像度に応じて各モジュール幅のドット数が決められている。
解像度によって1ドットの大きさが異なることは解っており、図示して無い400dpiの1ドットは0.0635mmである。また、600dpiの1ドットは0.042mm、1200dpiの1ドットは0.021mmという大きさの違いがあるため、解像度が異なるバーコードデータでは、補正ドット数を変更する必要がある。
FIG. 15 is a diagram showing a bar code of the UCC / EAN-128 fee proxy storage as a table. As shown in FIG. 15, the barcode of the UCC / EAN-128 proxy charge storage outputs a barcode according to the standard with a barcode symbol length of 60 mm or less, so the number of dots of each module width depends on the resolution. It has been decided.
It is understood that the size of one dot differs depending on the resolution, and one dot of 400 dpi not shown is 0.0635 mm. Further, since one dot of 600 dpi has a size difference of 0.042 mm and one dot of 1200 dpi has a size difference of 0.021 mm, it is necessary to change the number of correction dots for barcode data having different resolutions.

図16は解像度600dpiの時の補正値の変更を表として示す図である。ここで、図16に示すように、図11の1200dpiでの補正値に対し、解像度600dpiの時には補正値を変更できるように表(テーブル)を作成することで、解像度に応じて適切なバーコードを印刷することが可能となった。
バーコードにはANSI規格(バーコードシンボルの品質評価基準)に定められた読み取りグレードがあり、これは、A、B、C、D及びFの5段階に分けられている。5段階ではAグレードが最高品質であり、料金代理収納用バーコードのガイドラインではBグレード以上が望ましいとされている。
この場合に、実施の形態による、読み取りができないというグレードはDグレードの品質であり、読み取り可能のバーコードグレードはCグレード以上の結果である。
FIG. 16 is a table showing changes in correction values when the resolution is 600 dpi. Here, as shown in FIG. 16, by creating a table so that the correction value can be changed at the resolution of 600 dpi with respect to the correction value at 1200 dpi in FIG. 11, an appropriate barcode according to the resolution. Can be printed.
The bar code has a reading grade defined in ANSI standard (bar code symbol quality evaluation standard), and is divided into five stages of A, B, C, D and F. In grade 5, the A grade is the highest quality, and the fee proxy storage bar code guidelines indicate that the B grade or higher is desirable.
In this case, according to the embodiment, the grade that cannot be read is the quality of the D grade, and the bar code grade that can be read is the result of the C grade or higher.

本発明を適用する印刷装置(プリンタ)の全体構成を示す概略図である。1 is a schematic diagram illustrating an overall configuration of a printing apparatus (printer) to which the present invention is applied. UCC/EAN−128バーコードの構成を示す概略図である。It is the schematic which shows the structure of a UCC / EAN-128 barcode. 本発明のバーコード印刷の印刷装置及び制御装置を示す原理ブロック図である。It is a principle block diagram which shows the printing apparatus and control apparatus of barcode printing of this invention. 印刷枚数と1モジュール幅(黒バー)の補正前の関係をグラフで示す図である。It is a figure which shows the relationship before correction | amendment of the number of printed sheets and 1 module width (black bar) with a graph. 印刷枚数と1モジュール幅(黒バー)の補正前の関係をグラフで示す図である。It is a figure which shows the relationship before correction | amendment of the number of printed sheets and 1 module width (black bar) with a graph. 温度と1モジュール幅(黒バー)の関係をグラフとして示す図である。It is a figure which shows the relationship between temperature and 1 module width (black bar) as a graph. 湿度と1モジュール幅(黒バー)の関係をグラフとして示す図である。It is a figure which shows the relationship between humidity and 1 module width (black bar) as a graph. 現像方向に対するバーコードの方向を示す概略図である。It is the schematic which shows the direction of the barcode with respect to a development direction. バーコード読み取り装置から見た反射率と1モジュール線幅の関係をグラフで示す図である。It is a figure which shows the relationship between the reflectance seen from the barcode reader, and 1 module line width with a graph. それぞれのバーの中で線幅を決定するドット数の変更を示す概略図である。It is the schematic which shows the change of the number of dots which determines line | wire width in each bar. 図10の変更を表として示す図である。It is a figure which shows the change of FIG. 10 as a table | surface. 図10にある線幅の3段階補正を行なったバーコードの線幅が、プリンタの通紙枚数に応じて変動する結果をグラフで示す図である。FIG. 11 is a graph showing a result of the line width of the barcode subjected to the three-step correction of the line width shown in FIG. 1モジュール幅の変動要因による変動量をグラフで示す図である。It is a figure which shows the fluctuation amount by the fluctuation | variation factor of 1 module width with a graph. 図11と同じ解像度1200dpiのバーコードを表として示す図である。It is a figure which shows the barcode of the same resolution 1200 dpi as FIG. 11 as a table | surface. UCC/EAN―128料金代理収納のバーコードを表として示す図である。It is a figure which shows the barcode of UCC / EAN-128 charge proxy accommodation as a table | surface. 解像度600dpiの時の補正値の変更を表として示す図である。It is a figure which shows the change of the correction value at the time of the resolution of 600 dpi as a table | surface.

符号の説明Explanation of symbols

A 印刷装置(画像形成装置、プリンタ)
12 コンピュータ
14 バーコード方向検知手段
16 印刷データ作成手段(バーコードデータ作成手段)
17 画像補正手段
A Printing device (image forming device, printer)
12 Computer 14 Barcode direction detection means 16 Print data creation means (barcode data creation means)
17 Image correction means

Claims (9)

バーコード情報を含む画像データに基づいてバーコードの印刷データを作成し、作成した印刷データを補正し、補正した印刷データを印刷装置へ出力する手順を、コンピュータに実行させるプログラムにおいて、前記補正は、前記印刷データの黒バーを構成するドット数及び白バーを構成するドット数を、複数のバーを有する1つのバーコードの、1本のバーの中でドット数を可変させて行なうことを特徴とするプログラム。   In the program for causing a computer to execute a procedure of creating barcode print data based on image data including barcode information, correcting the created print data, and outputting the corrected print data to a printing apparatus, The number of dots constituting the black bar and the number of dots constituting the white bar of the print data are determined by changing the number of dots in one bar of one bar code having a plurality of bars. Program. バーコード情報におけるバーコードのバーの方向が現像方向と一致するか否かを検知し、検知されたバーの方向に応じて異なる補正量で補正することを特徴とする請求項1記載のプログラム。   2. The program according to claim 1, wherein it is detected whether or not the direction of the bar of the bar code in the bar code information coincides with the developing direction, and correction is performed with a different correction amount according to the detected bar direction. バーコード情報におけるバーコードデータの解像度に応じて、異なる補正量で補正することを特徴とする請求項1又は2記載のプログラム。   3. The program according to claim 1, wherein correction is performed with different correction amounts according to the resolution of the barcode data in the barcode information. バーコード情報を含む画像データに基づいてバーコードの印刷データを作成する印刷データ作成手段と、この印刷データ作成手段によって作成した印刷データを補正する画像補正手段と、この画像補正手段によって補正した印刷データを出力する出力手段とを備える印刷装置において、前記印刷データ作成手段は、外部装置から与えられたバーコード情報を含む画像データを展開した上でバーコードの前記印刷データを作成し、前記画像補正手段は、前記印刷データの黒バーを構成するドット数及び白バーを構成するドット数を、複数のバーを有する1つのバーコードの、1本のバーの中でドット数を可変させて補正することを特徴とする印刷装置。   Print data creation means for creating barcode print data based on image data including barcode information, image correction means for correcting print data created by the print data creation means, and print corrected by the image correction means In the printing apparatus comprising output means for outputting data, the print data creating means creates the print data of the barcode after developing the image data including the barcode information given from the external device, and the image The correction means corrects the number of dots constituting the black bar and the number of dots constituting the white bar by changing the number of dots in one bar of one barcode having a plurality of bars. The printing apparatus characterized by performing. バーコード情報におけるバーコードのバーの方向が現像方向と一致するか否かを検知するバー方向検知手段を有し、これによって検知されたバーの方向に応じて異なる補正量で補正することを特徴とする請求項4記載の印刷装置。   It has bar direction detecting means for detecting whether or not the bar direction of the bar code in the bar code information coincides with the developing direction, and the correction is made with a different correction amount according to the detected bar direction. The printing apparatus according to claim 4. さらに、バーコード情報におけるバーコードデータの解像度に応じて、異なる補正量で補正することを特徴とする請求項5記載の印刷装置。   6. The printing apparatus according to claim 5, wherein correction is performed with a different correction amount in accordance with the resolution of the barcode data in the barcode information. バーコード情報を含む画像データに基づいてバーコードの印刷データを作成する印刷データ作成手段と、この印刷データ作成手段によって作成した印刷データを補正する画像補正手段と、この画像補正手段によって補正した印刷データを印刷装置へ出力する出力手段とを備える印刷装置の制御装置において、前記画像補正手段は、前記印刷データの黒バーを構成するドット数及び白バーを構成するドット数を、複数のバーを有する1つのバーコードの、1本のバーの中でドット数を可変させて行なうことを特徴とする印刷装置の制御装置。   Print data creation means for creating barcode print data based on image data including barcode information, image correction means for correcting print data created by the print data creation means, and print corrected by the image correction means In the control device of the printing apparatus comprising output means for outputting data to the printing apparatus, the image correction means sets the number of dots constituting the black bar and the number of dots constituting the white bar of the print data to a plurality of bars. A control device for a printing apparatus, wherein the number of dots in one bar of a bar code is varied. バーコード情報におけるバーコードのバーの方向が現像方向と一致するか否かを検知するバー方向検知手段を有し、これによって検知されたバーの方向に応じて異なる補正量で補正することを特徴とする請求項7記載の印刷装置の制御装置。   It has bar direction detecting means for detecting whether or not the bar direction of the bar code in the bar code information coincides with the developing direction, and the correction is made with a different correction amount according to the detected bar direction. The control apparatus for a printing apparatus according to claim 7. バーコード情報におけるバーコードデータの解像度に応じて、異なる補正量で補正することを特徴とする請求項7又は8記載の印刷装置の制御装置。   9. The control apparatus for a printing apparatus according to claim 7, wherein correction is performed with different correction amounts according to the resolution of the barcode data in the barcode information.
JP2006197359A 2006-07-19 2006-07-19 Program, printer, and control device thereof Pending JP2008023798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006197359A JP2008023798A (en) 2006-07-19 2006-07-19 Program, printer, and control device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006197359A JP2008023798A (en) 2006-07-19 2006-07-19 Program, printer, and control device thereof

Publications (1)

Publication Number Publication Date
JP2008023798A true JP2008023798A (en) 2008-02-07

Family

ID=39114934

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006197359A Pending JP2008023798A (en) 2006-07-19 2006-07-19 Program, printer, and control device thereof

Country Status (1)

Country Link
JP (1) JP2008023798A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013071283A (en) * 2011-09-27 2013-04-22 Riso Kagaku Corp Barcode printing control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013071283A (en) * 2011-09-27 2013-04-22 Riso Kagaku Corp Barcode printing control device

Similar Documents

Publication Publication Date Title
JP5111772B2 (en) Printing device
JP4154394B2 (en) Image forming apparatus and control method
JP4321564B2 (en) Image forming apparatus
US7502147B2 (en) Image position correcting method, image position correcting jig, and image formation device
JP2006323446A (en) Program, controller for printer, and printer
JP2006293916A (en) Program, printer controller, printer
JP4548352B2 (en) Image forming apparatus and image forming system
US8422067B2 (en) Image forming apparatus and method utilizing see-through prevention patterns to increase transillumination document security
JP4784924B2 (en) Image forming apparatus
JP2009139664A (en) Image forming device
JP2008036993A (en) Controller of printer, and printer using it
JP5114279B2 (en) Control device for printing apparatus and printing apparatus
JP2008023798A (en) Program, printer, and control device thereof
US8099003B2 (en) Image forming apparatus and image forming method for eliminating image defects by considering a kind of transfer material
JP2008052349A (en) Image forming apparatus
JP4661589B2 (en) Image forming apparatus
JP2007286865A (en) Printing controller
JP5251400B2 (en) Image forming apparatus and printing method of image forming apparatus
JP2021142715A (en) Image formation device
JP2005266121A (en) Image forming apparatus
JP2004155522A (en) Image forming apparatus
JP2006092165A (en) Print processing method and print processor
JP7367340B2 (en) Image forming device and image forming method
JP2006126488A (en) Image forming apparatus
JP2010089482A (en) Image forming apparatus, bar code print control method, program, and recording medium