JPH08287174A - Bar code printing method - Google Patents

Bar code printing method

Info

Publication number
JPH08287174A
JPH08287174A JP7084284A JP8428495A JPH08287174A JP H08287174 A JPH08287174 A JP H08287174A JP 7084284 A JP7084284 A JP 7084284A JP 8428495 A JP8428495 A JP 8428495A JP H08287174 A JPH08287174 A JP H08287174A
Authority
JP
Japan
Prior art keywords
bar code
area
bar
image
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7084284A
Other languages
Japanese (ja)
Other versions
JP3752700B2 (en
Inventor
Akira Ichikawa
明 市川
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP08428495A priority Critical patent/JP3752700B2/en
Publication of JPH08287174A publication Critical patent/JPH08287174A/en
Application granted granted Critical
Publication of JP3752700B2 publication Critical patent/JP3752700B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE: To make printing operation for a bar code efficient while accurately printing the bar code. CONSTITUTION: When a work area overlaps with a writing-inhibited area, the entire work area is colored in white (108). After the entire work area is colored in white, only black bars are written in a print area, one by one, (110). When the writing of all the black bars is completed, the accurate writing of the bar code is completed at this point of time. Namely, the accurate bar code can be written only by coloring the entire work area in white and printing only the black bars. In a next step, writing to the work area is inhibited (112) to prevent the image of the bar code from being overwritten in other wiring processes.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、バーコード印字方法に
係り、より詳しくは、濃度又は色相が異なる2種類のバ
ーを交互に配列し且つ予め定められた情報に基づいて各
バーの幅を設定することによって構成されるバーコード
をデータ化して所定の作業用メモリの記憶領域に書き込
んだ後、所定用紙の指定された印字領域に印字するバー
コード印字方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bar code printing method, and more specifically, it arranges two types of bars having different densities or hues alternately and determines the width of each bar based on predetermined information. The present invention relates to a bar code printing method in which a bar code configured by setting is converted into data, written in a storage area of a predetermined work memory, and then printed in a specified print area of a predetermined sheet.

【0002】[0002]

【従来の技術及び発明が解決しようとする課題】従来よ
り、商品にはアイテムや価格等の情報を表すバーコード
が付されている。通常このバーコードは、種々の幅を有
し隣接して交互に付された白バーと黒バーとで構成され
ており、それらの白バー及び黒バーの各々の幅、配置に
より上記のような情報が表されている。よって、バーコ
ードが正確な情報を表すためには、隣接し合う白バーと
黒バーとを商品に正確に付す必要がある。
2. Description of the Related Art Conventionally, a commodity is provided with a bar code representing information such as item and price. Usually, this bar code is composed of white bars and black bars which have various widths and which are alternately and adjacently attached. The bar codes are as described above depending on the widths and arrangements of the white bars and the black bars. Information is presented. Therefore, in order for the barcode to represent accurate information, it is necessary to accurately attach the adjacent white bar and black bar to the product.

【0003】ところで、当初のバーコードの印字では、
下地の色はもともと白色であるという前提があったた
め、所定用紙(通常白紙)のバーコードの印字領域にお
いて、該バーコードの黒バーのみを印字することでバー
コードを形成することが多々あった。
By the way, in the initial printing of the bar code,
Since it was assumed that the background color was originally white, the bar code was often formed by printing only the black bar of the bar code in the bar code printing area of the predetermined paper (usually white paper). .

【0004】一方、前述したようにバーコードでは白バ
ー及び黒バーの各々を正確に付す必要があるため、近年
ではバーコードの印字装置として、印字対象の位置、サ
イズ等を精密に設定し印字することのできる画像記録装
置が用いられることが多い。この画像記録装置では、所
定の画像メモリ内の記憶領域において印字すべきバーコ
ードの画像を形成し、その後、形成されたバーコードの
画像を所定の用紙に印字する。
On the other hand, as described above, since it is necessary to accurately attach each of the white bar and the black bar in the bar code, in recent years, as a bar code printing device, the position and size of the object to be printed are precisely set and printed. An image recording device that can be used is often used. In this image recording apparatus, a barcode image to be printed is formed in a storage area in a predetermined image memory, and then the formed barcode image is printed on a predetermined sheet.

【0005】しかしながら、この画像記録装置による印
字において、前述したような下地の色は白色であるとい
う前提のもとで、バーコードの黒バーのみを形成するこ
とによりバーコードを形成した場合、画像メモリにおい
てバーコードの画像を形成するための記憶領域に図7
(A)に示すような前回の処理で形成された画像52、
54が記憶領域50に残存していたとすると、図7
(B)乃至(D)に示すようにバーコードの黒バーが1
本ずつ順に形成された後、図7(E)に示すように画像
52、54とバーコード65とが混在した画像が形成さ
れることになる。ここで形成された画像が所定の用紙に
印字されると、本来のバーコードとは白バー又は黒バー
の幅が異なる部分が生じ、本来バーコードが表すべき情
報とは異なった情報がバーコードにより表されてしまう
虞れがある。
However, in the printing by this image recording apparatus, if the bar code is formed by forming only the black bar of the bar code on the assumption that the background color is white as described above, In the storage area for forming the barcode image in the memory, FIG.
The image 52 formed by the previous processing as shown in FIG.
If 54 remains in the storage area 50, as shown in FIG.
As shown in (B) to (D), the black bar of the barcode is 1
After the sheets are formed one by one, an image in which the images 52 and 54 and the barcode 65 are mixed is formed as shown in FIG. When the image formed here is printed on a predetermined paper, a part where the width of the white bar or black bar differs from the original barcode, and the information different from the information that the original barcode should represent is the barcode. May be displayed.

【0006】そこで、正確なバーコード画像の形成を図
るため、バーコードの黒バーのみならず白バーも1本ず
つ順に形成していく方法が考えられる。
Therefore, in order to form an accurate barcode image, a method of sequentially forming not only the black bar but also the white bar of the barcode can be considered.

【0007】しかしながら、この方法では、複数の白バ
ーを1本ずつ順に形成するための指定を行わなければな
らず、バーコードの印字作業において従来よりも多くの
手間を要することになる。
However, according to this method, it is necessary to make a designation for sequentially forming a plurality of white bars one by one, which requires more labor in the bar code printing operation than in the prior art.

【0008】本発明は、上記事実を考慮し、正確なバー
コードの印字を図りつつ、バーコードの印字作業の効率
化を図ることのできるバーコード印字方法を提供するこ
とを目的とする。
In view of the above facts, it is an object of the present invention to provide a bar code printing method capable of accurately printing a bar code and improving the efficiency of the bar code printing operation.

【0009】[0009]

【課題を解決するための手段】上記の目的を達成するた
めに、請求項1記載の発明は、濃度又は色相が異なる2
種類のバーを交互に配列し且つ予め定められた情報に基
づいて各バーの幅を設定することによって構成されるバ
ーコードをデータ化して所定の作業用メモリの記憶領域
に書き込んだ後、所定用紙の指定された印字領域に印字
するバーコード印字方法であって、所定の作業用メモリ
において前記印字領域及びその周辺領域に対応する記憶
領域を一方のバーに対応する濃度又は色相に設定し、該
記憶領域には他方のバーのみを書き込む、ことを特徴と
する。
In order to achieve the above-mentioned object, the invention according to claim 1 has a different density or hue.
A bar code formed by alternately arranging different kinds of bars and setting the width of each bar based on predetermined information is converted into data and written in a storage area of a predetermined working memory, and then a predetermined paper A bar code printing method for printing in a designated print area, wherein a storage area corresponding to the print area and its peripheral area in a predetermined working memory is set to a density or hue corresponding to one bar, Only the other bar is written in the storage area.

【0010】また、請求項2記載の発明は、白色のバー
と黒色のバーの2種類のバーを交互に配列し且つ予め定
められた情報に基づいて各バーの幅を設定することによ
って構成されるバーコードをデータ化して所定の作業用
メモリの記憶領域に書き込んだ後、所定用紙の指定され
た印字領域に印字するバーコード印字方法であって、所
定の作業用メモリにおいて前記印字領域及びその周辺領
域に対応する記憶領域を白色に設定し、該記憶領域には
黒色のバーのみを書き込む、ことを特徴とする。
Further, the invention according to claim 2 is constituted by alternately arranging two kinds of bars of a white bar and a black bar and setting a width of each bar based on predetermined information. A bar code printing method in which a bar code is converted into data and written in a storage area of a predetermined work memory, and then printed in a specified print area of a predetermined paper, wherein the print area and its It is characterized in that the storage area corresponding to the peripheral area is set to white and only black bars are written in the storage area.

【0011】また、請求項3記載の発明は、請求項2記
載の発明において、前記記憶領域に黒色のバーを書き込
んだ後、前記印字領域へのバーコードの印字が完了する
までの間は、前記作業用メモリにおいて前記印字領域及
びその周辺領域に対応する記憶領域を書込み禁止とする
ことを特徴とする。
According to a third aspect of the present invention, in the second aspect of the invention, after the black bar is written in the storage area, until the printing of the bar code in the print area is completed, In the working memory, the storage areas corresponding to the print area and its peripheral area are write-protected.

【0012】[0012]

【作用】請求項1記載の発明では、まず所定の作業用メ
モリにおいて印字領域及びその周辺領域に対応する記憶
領域を一方のバーに対応する濃度又は色相に設定する。
これにより、当該記憶領域に前回の処理で形成され残存
していた画像等が消去されると共にこの一方のバーの書
き込みが不要となる。そして、この記憶領域に他方のバ
ーのみを書き込む。これにより、濃度又は色相が異なる
2種類のバーが実質的に書き込まれたことになる。
According to the first aspect of the present invention, first, the storage area corresponding to the print area and its peripheral area in the predetermined working memory is set to the density or hue corresponding to one bar.
As a result, the image and the like formed and left in the previous processing in the storage area are erased, and the writing of one of the bars becomes unnecessary. Then, only the other bar is written in this storage area. As a result, two types of bars having different densities or hues are substantially written.

【0013】従って、作業用メモリに残存した画像等に
よりバーコードの画像が本来とは異なるように形成され
ることはなく、正確なバーコードの印字を図ることがで
きる。また、2種類のバーを書き込む必要がなく、1回
の書込みのみで形成することができるので、バーコード
の印字作業の効率化を図ることもできる。即ち、正確な
バーコードの印字を図りつつ、バーコードの印字作業の
効率化を図ることができる。
Therefore, the image of the bar code is not formed differently from the original due to the image remaining in the working memory, and the accurate bar code can be printed. Further, since it is not necessary to write two types of bars and the bar can be formed by writing only once, it is possible to improve the efficiency of the barcode printing operation. That is, it is possible to improve the efficiency of the barcode printing operation while achieving accurate barcode printing.

【0014】また、請求項2記載の発明では、まず所定
の作業用メモリにおいて印字領域及びその周辺領域に対
応する記憶領域を白色に設定する。これにより、当該記
憶領域に前回の処理で形成され残存していた画像等が消
去されると共に白色のバーの書き込みが不要となる。そ
して、この記憶領域に黒色のバーのみを書き込む。これ
により、白色のバーと黒色のバーの2種類のバーが実質
的に書き込まれたことになる。
According to the second aspect of the invention, first, the storage area corresponding to the print area and the peripheral area in the predetermined work memory is set to white. As a result, the image and the like formed and left in the previous processing in the storage area are erased, and the writing of the white bar becomes unnecessary. Then, only the black bar is written in this storage area. As a result, two types of bars, a white bar and a black bar, are substantially written.

【0015】従って、作業用メモリに残存した画像等に
よりバーコードの画像が本来とは異なるように形成され
ることはなく、正確なバーコードの印字を図ることがで
きる。また、2種類のバーを書き込む必要がなく、1回
の書込みのみで形成することができるので、バーコード
の印字作業の効率化を図ることもできる。即ち、正確な
バーコードの印字を図りつつ、バーコードの印字作業の
効率化を図ることができる。
Therefore, the image of the bar code is not formed differently from the original due to the image remaining in the working memory, and the accurate bar code can be printed. Further, since it is not necessary to write two types of bars and the bar can be formed by writing only once, it is possible to improve the efficiency of the barcode printing operation. That is, it is possible to improve the efficiency of the barcode printing operation while achieving accurate barcode printing.

【0016】また、請求項3記載の発明では、請求項2
記載の発明において、記憶領域に黒色のバーを書き込ん
だ後、印字領域へのバーコードの印字が完了するまでの
間は、作業用メモリにおいて印字領域及びその周辺領域
に対応する記憶領域を書込み禁止とする。これにより、
記憶領域にバーコードを書き込んだ後、印字領域へのバ
ーコードの印字が完了するまでの間に、他の処理によっ
て、作業用メモリにおいて印字領域及びその周辺領域に
対応する記憶領域に、画像等の情報が書き込まれること
を防止することができる。即ち、バーコードが本来とは
異なるように印字されてしまうことを防止でき、バーコ
ード印字処理の信頼性をさらに向上させることができ
る。
In the invention according to claim 3, the invention according to claim 2
In the invention described above, after the black bar is written in the storage area, until the printing of the barcode in the print area is completed, the storage area corresponding to the print area and its peripheral area in the working memory is write-protected. And This allows
After writing the barcode in the storage area, until the printing of the barcode in the print area is completed, other processing is performed in the storage area corresponding to the print area and its peripheral area in the work memory by other processing. Can be prevented from being written. That is, it is possible to prevent the barcode from being printed differently from the original, and it is possible to further improve the reliability of the barcode printing process.

【0017】[0017]

【実施例】以下、図面を参照して、本発明のバーコード
印字方法の一実施例を説明する。まず、本発明のバーコ
ード印字方法によってバーコードの印字処理を行う画像
記録装置の概略構成を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the bar code printing method of the present invention will be described below with reference to the drawings. First, a schematic configuration of an image recording apparatus that performs a barcode printing process by the barcode printing method of the present invention will be described.

【0018】図1に示すように、画像記録装置11は、
画像の記録を専ら行うプリンタ部分としての記録部12
と、この記録部12に画像を供給する画像供給部13と
を備えており、これらには図示しない商用電源に接続さ
れた電源部14から所定の交流電流が供給されるように
なっている。また、画像記録装置11本体の前面には、
オペレータがコマンド等を入力するためのキーボード
と、処理状況の目視確認等を行うためのディスプレイ
と、アラーム音等の音を発する小型スピーカと、から構
成される操作パネル15が配置されており、この操作パ
ネル15は画像供給部13に接続されている。なお、操
作パネル15のディスプレイとしては、一例として液晶
表示ディスプレイ(LCD:Liquid Crystal Display)
を用いることができる。
As shown in FIG. 1, the image recording apparatus 11 has
Recording unit 12 as a printer unit for exclusively recording images
And an image supply unit 13 for supplying an image to the recording unit 12, and a predetermined AC current is supplied to these from a power supply unit 14 connected to a commercial power supply (not shown). Further, on the front surface of the main body of the image recording device 11,
An operation panel 15 including a keyboard for an operator to input commands and the like, a display for visually confirming the processing status, and a small speaker for emitting a sound such as an alarm sound is arranged. The operation panel 15 is connected to the image supply unit 13. The display of the operation panel 15 is, for example, a liquid crystal display (LCD).
Can be used.

【0019】この画像記録装置11では、記録の対象と
なるバーコード等の印字データを外部機器から2つの系
統で入力できるようになっている。その1つは図示しな
いホストコンピュータやパーソナルコンピュータ等から
通信ケーブル及びマシンインタフェース端子17を介し
て入力する系統であり、もう一方は図示しないネットワ
ークに接続された複数のワークステーション等から当該
ネットワーク及びネットワークインタフェース端子18
を介して入力する系統である。後者におけるネットワー
クとしては、ISDN(Integrated Services Digital
Network )等のディジタルネットワーク網やイーサネッ
ト等のLAN(Local Area Network)等に適用すること
ができる。このように画像記録装置11は、マシンイン
タフェース端子17或いはネットワークインタフェース
端子18を介して各種のホストコンピュータやワークス
テーション等の情報処理装置から印字データの供給を受
けることができる。
In this image recording device 11, print data such as a bar code to be recorded can be input from an external device through two systems. One is a system for inputting from a host computer, a personal computer, or the like (not shown) via a communication cable and a machine interface terminal 17, and the other is a network or network interface from a plurality of workstations or the like connected to a network (not shown). Terminal 18
It is a system for inputting via. The latter network is ISDN (Integrated Services Digital).
The present invention can be applied to a digital network such as Network) and a LAN (Local Area Network) such as Ethernet. As described above, the image recording apparatus 11 can receive the print data from the information processing apparatus such as various host computers or workstations via the machine interface terminal 17 or the network interface terminal 18.

【0020】ところで、上記情報処理装置には多くの種
類があり、それらが送信する制御データは必ずしも統一
されていない。例えば、ある情報処理装置が送信する制
御データは記録すべき用紙のサイズや文字の大きさ等を
細かく指定するようになっていても、別の情報処理装置
の制御データはこのような細かい指定を行うことができ
ない場合がある。そこで、この画像記録装置11では、
オペレータが操作パネル15から記録に関する必要な指
示情報19を入力することができ、指示情報19を画像
供給部13に送信することができるようになっている。
画像供給部13は指示情報19を正常に受信した場合、
指示情報19を正常に受信した旨を通知するための応答
情報21を操作パネル15に返送するようになってい
る。これにより、操作パネル15には、指示情報19が
画像供給部13に正常に送信された旨のメッセージが表
示され、オペレータは指示情報19の入力が正常に終了
したことを確認することができる。
By the way, there are many types of the above information processing devices, and the control data transmitted by them are not necessarily unified. For example, even if the control data transmitted by one information processing device is designed to finely specify the size of the paper to be printed, the size of characters, etc., the control data of another information processing device may specify such detailed designations. It may not be possible. Therefore, in this image recording device 11,
The operator can input necessary instruction information 19 regarding recording from the operation panel 15, and the instruction information 19 can be transmitted to the image supply unit 13.
When the image supply unit 13 normally receives the instruction information 19,
The response information 21 for notifying that the instruction information 19 has been normally received is returned to the operation panel 15. As a result, a message indicating that the instruction information 19 has been normally transmitted to the image supply unit 13 is displayed on the operation panel 15, and the operator can confirm that the input of the instruction information 19 has been normally completed.

【0021】なお、記録を行う用紙のサイズや文字の大
きさ等が制御データによって情報処理装置側から指定さ
れた場合でも、オペレータが制御データにより指定され
た内容を操作パネル15から変更・追加することによ
り、指示情報19を作成することも可能である。また、
情報処理装置側からの制御データにより指定された内容
を優先させることも可能であり、さらに、時間的に後で
指示を与えた方を優先させることも可能である。
Even when the size of the paper to be printed, the size of characters, etc. are specified by the information processing apparatus by the control data, the operator changes / adds the contents specified by the control data from the operation panel 15. By doing so, it is also possible to create the instruction information 19. Also,
It is possible to give priority to the content designated by the control data from the information processing apparatus side, and it is also possible to give priority to the person who gives an instruction later in time.

【0022】記録部12は、例えばレーザプリンタから
構成されており、画像供給部13と各種の信号の授受を
行って記録作業を行い、片面又は両面に記録の行われた
記録用紙23を排出するようになっている。また、記録
部12は、例えば該記録部12が装備した図示しないカ
セットトレイにどのように記録用紙が収容されている
か、図示しない定着部が定着温度に到達したか否か、と
いった記録部12における各種の状態を示す状態信号2
4を画像供給部13に送信する。また、記録部12は、
画像の転送について画像供給部13との間で同期をとる
ための同期パルス25も画像供給部13に送信する。一
方の画像供給部13は、これらに対して各種の動作指令
信号26や記録すべき画像データを表す画像信号27を
記録部12に送信するようになっている。
The recording unit 12 is composed of, for example, a laser printer, performs various recording operations by exchanging various signals with the image supply unit 13, and ejects the recording paper 23 having one side or both sides recorded. It is like this. In addition, the recording unit 12 includes, for example, how the recording paper is stored in a cassette tray (not shown) equipped in the recording unit 12, and whether a fixing unit (not shown) has reached a fixing temperature. Status signal 2 indicating various status
4 is transmitted to the image supply unit 13. In addition, the recording unit 12
A synchronization pulse 25 for synchronizing the image transfer with the image supply unit 13 is also transmitted to the image supply unit 13. On the other hand, the image supply unit 13 sends various operation command signals 26 and an image signal 27 representing image data to be recorded to the recording unit 12.

【0023】図2に示すように、画像供給部13は画像
記録装置11における各種制御の中枢的な機能を果たす
CPU31を備えており、このCPU31は、システム
バス32を介して後述する各種の回路装置に相互に接続
されている。このうちパネルインタフェース(I/F)
回路33は図1に示す操作パネル15とのインタフェー
スをとるための回路であり、オペレータにより操作パネ
ル15のキーボードが操作された場合、そのキー操作に
対応した指示信号がパネルインタフェース回路33によ
り出力されシステムバス32上を転送されることにな
る。また、操作パネル15のディスプレイに所定の情報
を表示させるための指示情報はシステムバス32を介し
てパネルインタフェース回路33へ転送され、パネルイ
ンタフェース回路33により操作パネル15に所定の情
報の表示の指示信号が出力される。
As shown in FIG. 2, the image supply unit 13 is provided with a CPU 31 which performs a central function of various controls in the image recording apparatus 11. The CPU 31 has various circuits which will be described later via a system bus 32. Mutually connected to the device. Of these, the panel interface (I / F)
The circuit 33 is a circuit for interfacing with the operation panel 15 shown in FIG. 1, and when the operator operates the keyboard of the operation panel 15, the panel interface circuit 33 outputs an instruction signal corresponding to the key operation. It will be transferred on the system bus 32. Further, instruction information for displaying predetermined information on the display of the operation panel 15 is transferred to the panel interface circuit 33 via the system bus 32, and the panel interface circuit 33 instructs the operation panel 15 to display the predetermined information. Is output.

【0024】マシンインタフェース(I/F)回路34
は、図1に示すマシンインタフェース端子17及びネッ
トワークインタフェース端子18に接続され、前述した
ホストコンピュータやワークステーション等の情報処理
装置とのインタフェースをとる機能を有する。このマシ
ンインタフェース回路34は、例えばホストコンピュー
タから入力する印字データをRS232C規格やセント
ロニクス準拠に基づいて受信するような回路構成となっ
ている。
Machine interface (I / F) circuit 34
Is connected to the machine interface terminal 17 and the network interface terminal 18 shown in FIG. 1 and has a function of interfacing with the information processing apparatus such as the host computer or workstation. The machine interface circuit 34 has a circuit configuration that receives, for example, print data input from a host computer based on the RS232C standard or the Centronics standard.

【0025】不揮発性記憶装置(NVM:Non-Volatile
Memory )37は図示しない電池によってバックアップ
された記憶装置であり、画像記録装置11自体の電源が
オフされた状態でも、記憶されたデータを保持すること
ができる。RAM38は、作業用のメモリであり、この
画像記録装置11の各種の制御を行う上で必要なデータ
やマシンインタフェース回路34から入力された印字デ
ータ等を一時的に記憶するようになっている。プログラ
ムメモリ39は、画像記録装置11の制御を行うための
各種プログラムを格納したメモリである。文字パターン
メモリ41は所謂フォントメモリと呼ばれるメモリであ
り、プリントアウトを行う時の文字パターンを格納して
いる。上記RAM38の一部は、記録すべき画像データ
の編集を行うためのページメモリ42とされており、こ
のページメモリ42では、発生した文字パターン、図形
等を記録用紙の1ページに対応させ張りつけることによ
り、記録すべき画像データの電子的な編集が行われる。
Non-volatile storage device (NVM: Non-Volatile)
Memory) 37 is a storage device backed up by a battery (not shown), and can retain the stored data even when the power of the image recording device 11 itself is turned off. The RAM 38 is a working memory, and is configured to temporarily store data necessary for performing various controls of the image recording device 11, print data input from the machine interface circuit 34, and the like. The program memory 39 is a memory that stores various programs for controlling the image recording device 11. The character pattern memory 41 is a so-called font memory, and stores a character pattern for printing out. A part of the RAM 38 is used as a page memory 42 for editing image data to be recorded. In this page memory 42, generated character patterns, figures, etc. are pasted in correspondence with one page of recording paper. Thus, electronic editing of image data to be recorded is performed.

【0026】記録部インタフェース(I/F)回路43
は、ページメモリ42において電子的な編集が完了した
画像データから該画像データを示す画像信号27を形成
し、図1に示す記録部12にこの画像信号27を送信す
る。また、記録部インタフェース回路43は、画像供給
部13が図1に示すこの他の各種信号24〜26を記録
部12との間で送受信するためのインタフェース回路と
されている。ビットマップコントローラ44は、ページ
メモリ42と記録部インタフェース回路43との両方に
接続され、これらページメモリ42、記録部インタフェ
ース回路43の間での画像データの転送に関する制御を
行うように構成されている。
Recording interface (I / F) circuit 43
Forms an image signal 27 indicating the image data from the electronically edited image data in the page memory 42, and transmits the image signal 27 to the recording unit 12 shown in FIG. The recording unit interface circuit 43 is an interface circuit for the image supply unit 13 to transmit / receive other various signals 24 to 26 shown in FIG. 1 to / from the recording unit 12. The bitmap controller 44 is connected to both the page memory 42 and the recording unit interface circuit 43, and is configured to perform control regarding transfer of image data between the page memory 42 and the recording unit interface circuit 43. .

【0027】また、オペレータは、所定の編集作業によ
り完成した画像が当該編集作業の後で行われる他の編集
作業において上書きされることを防止するために、完成
した画像を含む所望の領域を書込み禁止エリアとして設
定することができるようになっている。
Further, the operator writes a desired area including the completed image in order to prevent the image completed by the predetermined editing work from being overwritten in another editing work performed after the editing work. It can be set as a prohibited area.

【0028】この画像記録装置11は、前述したように
各種の情報処理装置と接続可能なので、これらの各種情
報処理装置から送信されてくるさまざまな印字データや
制御データに対応したプログラムや文字パターンが必要
とされる。そこで、前述した標準装備のプログラムメモ
リ39及び文字パターンメモリ41に加え、各種印字デ
ータや制御データに対応したプログラム、文字パターン
をそれぞれ格納したプログラムメモリ46、文字パター
ンメモリ47が設置されている。プログラムメモリ4
6、文字パターンメモリ47はともに、着脱自在のIC
カード形式又はSIMM形式のROMであり、バーコー
ド記録時の特殊な仕様を充足するため又は将来的なプロ
グラム、文字パターンの追加・変更等のために、画像記
録装置11に選択的に接続されるようになっている。
Since the image recording device 11 can be connected to various information processing devices as described above, programs and character patterns corresponding to various print data and control data transmitted from these various information processing devices are generated. Needed. Therefore, in addition to the standard-equipped program memory 39 and character pattern memory 41 described above, a program memory 46 and a character pattern memory 47 storing programs and character patterns corresponding to various print data and control data are installed. Program memory 4
6 and the character pattern memory 47 are both removable ICs
A ROM in a card format or a SIMM format, which is selectively connected to the image recording device 11 in order to satisfy a special specification at the time of recording a barcode or to add / change a future program or a character pattern. It is like this.

【0029】また、画像供給部13では、マシンインタ
フェース(I/F)回路35を増設し、同時に複数の情
報処理装置から記録すべきデータを入力することもでき
る。また、大容量の不揮発性記憶装置としてハードディ
スク48をシステムバス32に接続することもでき、こ
のハードディスク48を、文字パターンの追加、フォー
ムデータやロゴデータの保存、ホストコンピュータから
の入力データの保持等のために使用することができる。
Further, in the image supply unit 13, a machine interface (I / F) circuit 35 can be added and data to be recorded can be input from a plurality of information processing devices at the same time. Further, a hard disk 48 as a large-capacity non-volatile storage device can be connected to the system bus 32. The hard disk 48 can be used to add character patterns, save form data and logo data, hold input data from the host computer, etc. Can be used for.

【0030】次に本実施例の作用として、図4に示すよ
うに印字エリア58にバーコード65のみを印字する場
合のバーコード印字方法について説明する。なお、図4
に示すページメモリ42における記憶領域において、バ
ーコード65を印字するための領域を印字エリア58と
称し、該印字エリア58の上下左右の余白部分に対応す
る領域を余白エリア60と称する。そして、印字エリア
58と余白エリア60とを合わせた領域を作業エリア5
6と称する。
Next, as an operation of the present embodiment, a bar code printing method for printing only the bar code 65 in the print area 58 as shown in FIG. 4 will be described. Note that FIG.
In the storage area of the page memory 42 shown in FIG. 3, the area for printing the barcode 65 is called a printing area 58, and the areas corresponding to the upper, lower, left and right margins of the printing area 58 are called a blank area 60. The work area 5 is defined by combining the print area 58 and the margin area 60.
6.

【0031】各種情報処理装置から、バーコードの印字
指定を表すコマンドを受信し、それを解釈することによ
って、図6に示す制御ルーチンがCPU31において実
行開始される。なお、バーコードの印字指定を表すコマ
ンドのパラメータとしては、開始位置(例、印字エリア
左下)、描画(進行)方向(例、0、90、180、2
70度)、バー高さ、バー幅、文字高さ、文字データ、
余白エリアサイズ、バーコードデータ(文字)等があ
る。
The control routine shown in FIG. 6 is started in the CPU 31 by receiving a command indicating the print designation of the bar code from the various information processing devices and interpreting the command. In addition, as parameters of the command indicating the print designation of the barcode, the start position (eg, lower left of the print area), the drawing (advancing) direction (eg, 0, 90, 180, 2)
70 degrees), bar height, bar width, character height, character data,
There are margin area size, barcode data (characters), etc.

【0032】なお、余白エリア60において印字エリア
58の上下左右の幅V1、V2、H1、H2はそれぞれ
独立に設定することができる。図5に示すようにバーコ
ードの直下にバーコードデータ(文字)を印字する場合
には、バーコード描画のコマンドのパラメータ内の文字
高さを、必要な大きさに設定すれば良い。また、その周
辺に余白を設けたい場合は、同じくパラメータ内の余白
エリアサイズを、必要な大きさに設定すれば良い。
The widths V1, V2, H1, and H2 of the print area 58 in the margin area 60 can be set independently. When the bar code data (character) is printed directly below the bar code as shown in FIG. 5, the character height in the parameter of the bar code drawing command may be set to a required size. Further, if it is desired to provide a margin around the margin, the margin area size in the parameter may be set to a required size.

【0033】図6に示すステップ102では、オペレー
タにより入力された印字エリア58の位置とサイズ、及
び余白エリア60の幅V1、V2、H1、H2に基づい
て、ページメモリ42の記憶領域における作業エリア5
6の位置及びサイズを算出し、次のステップ104では
算出した作業エリア56の全部又は一部が、その時点に
おける書込み禁止エリアに重なっているか否かを判定す
る。
In step 102 shown in FIG. 6, the work area in the storage area of the page memory 42 is determined based on the position and size of the print area 58 and the widths V1, V2, H1 and H2 of the blank area 60 input by the operator. 5
The position and size of No. 6 are calculated, and in the next step 104, it is determined whether all or part of the calculated work area 56 overlaps the write-protected area at that time.

【0034】作業エリアの全部又は一部が書込み禁止エ
リアに重なっている場合は、既に印字されているバーコ
ードを優先するため、新たなバーコードの処理を中止す
る(印字は行わない)。
When all or part of the work area overlaps the write-inhibited area, the bar code already printed is prioritized, and the processing of the new bar code is stopped (printing is not performed).

【0035】作業エリア56が書込み禁止エリアに重な
っていない場合は、ステップ108へ進み、図3(B)
に示すように作業エリア56の全域を白色化する。これ
により、作業エリア56の全域がバーコードの地の色と
同じ色になることになる。そして、作業エリア56全域
の白色化完了後、ステップ110で図3(C)乃至
(E)に示すように、オペレータにより入力されたバー
コード65における各黒バーの位置と幅とに基づいて、
印字エリア58に黒バーを1本ずつ書き込んでいく。即
ち、図3(C)に示すように1本目の黒バーの位置と幅
とに基づいて黒バー62Aを書込み、次に図3(D)に
示すように2本目の黒バーの位置と幅とに基づいて黒バ
ー62Bを書込む。この時、黒バー62A、62Bの間
に白バー64Aが形成されることになる。以後、同様に
して順に黒バーを1本ずつ書き込んでいく。
If the work area 56 does not overlap the write-protected area, the process proceeds to step 108, and FIG.
The entire work area 56 is whitened as shown in FIG. As a result, the entire work area 56 becomes the same color as the background color of the barcode. Then, after the whitening of the entire work area 56 is completed, as shown in FIGS. 3C to 3E in step 110, based on the position and width of each black bar in the barcode 65 input by the operator,
Black bars are written in the printing area 58 one by one. That is, the black bar 62A is written based on the position and width of the first black bar as shown in FIG. 3C, and then the position and width of the second black bar as shown in FIG. 3D. Based on and, write the black bar 62B. At this time, the white bar 64A is formed between the black bars 62A and 62B. After that, the black bars are sequentially written one by one in the same manner.

【0036】全ての黒バーの書込みが完了すると、図3
(E)に示すように、黒バー62A、62B、62C、
62D、62E、62F及び白バー64A、64B、6
4C、64D、64Eが印字エリア58に形成されるこ
とになる。そして、ステップ112において、作業エリ
ア56に対する書込み禁止の設定を行う。これにより、
他の書込み処理によって、作業エリア56に他の画像等
の情報が書き込まれ、バーコード65の画像に上書きさ
れてしまうことを防止することができる。
When the writing of all the black bars is completed, FIG.
As shown in (E), black bars 62A, 62B, 62C,
62D, 62E, 62F and white bars 64A, 64B, 6
4C, 64D, and 64E will be formed in the print area 58. Then, in step 112, write-protection is set in the work area 56. This allows
It is possible to prevent information such as another image from being written in the work area 56 by another writing process and being overwritten on the image of the barcode 65.

【0037】以上のようにして、作業エリア56内の印
字エリア58に正確なバーコード65が書き込まれるこ
とになる。
As described above, the accurate bar code 65 is written in the print area 58 in the work area 56.

【0038】しかる後、記録用紙23が所定の位置にセ
ットされ、記録部12から画像供給部13のCPU31
へ記録用紙23への印字準備完了の旨の信号が送信され
ると、作業エリア56に記録された画像データ、即ち印
字エリア58に書き込まれたバーコード65及び白色と
された余白エリア60に対応する画像データが記録部1
2に送信され、記録部12において記録用紙23へのバ
ーコードの印字が実行される。
After that, the recording paper 23 is set at a predetermined position, and the CPU 31 of the recording unit 12 to the image supply unit 13
When a signal indicating that the preparation for printing on the recording paper 23 is transmitted, the image data recorded in the work area 56, that is, the bar code 65 written in the print area 58 and the white blank area 60 are dealt with. Image data to be recorded is recording unit 1
2, and the barcode is printed on the recording paper 23 in the recording unit 12.

【0039】以上の説明から明らかなように、本実施例
によれば、バーコードの印字において高い正確さ(高い
信頼性)を維持することができると共に、白バーの印字
についてはバーコードの印字前の白色化処理のみで代替
することによりバーコードの印字作業の効率化を図るこ
ともできる。
As is clear from the above description, according to the present embodiment, it is possible to maintain high accuracy (high reliability) in the printing of the bar code and to print the white bar in the printing of the bar code. It is also possible to improve the efficiency of the barcode printing operation by substituting only the previous whitening process.

【0040】なお、上記実施例では、白バーと黒バーと
で構成されるバーコードの印字に関して説明したが、本
発明は、濃度又は色相が異なる2種類のバー、例えば薄
い水色のバー及び濃い紺色のバー、により構成されるバ
ーコードの印字についても適用することができる。例え
ば、作業エリアの全域を、一方のバーに対応する薄い水
色とした後、印字エリアに濃い紺色のバーを書き込むよ
うにすれば、上記実施例と同様の効果を奏することがで
きる。
In the above embodiment, the printing of the bar code composed of the white bar and the black bar has been described, but the present invention has two types of bars having different densities or hues, for example, a light blue bar and a dark bar. It can also be applied to the printing of a barcode composed of a dark blue bar. For example, if the entire work area is made light blue corresponding to one bar and then the dark navy blue bar is written in the print area, the same effect as in the above-described embodiment can be obtained.

【0041】[0041]

【発明の効果】請求項1記載の発明によれば、正確なバ
ーコードの印字を図りつつ、バーコードの印字作業の効
率化を図ることができる、という効果が得られる。
According to the first aspect of the present invention, it is possible to obtain the effect that the printing operation of the bar code can be made efficient while the accurate printing of the bar code is achieved.

【0042】また、請求項2記載の発明によれば、正確
なバーコードの印字を図りつつ、バーコードの印字作業
の効率化を図ることができる、という効果が得られる。
Further, according to the second aspect of the invention, it is possible to obtain the effect that the printing operation of the bar code can be made efficient while the accurate printing of the bar code is achieved.

【0043】また、請求項3記載の発明によれば、バー
コードが本来とは異なるように印字されてしまうことを
防止でき、バーコード印字処理の信頼性をさらに向上さ
せることができる、という効果が得られる。
According to the third aspect of the present invention, it is possible to prevent the bar code from being printed differently from the original, and it is possible to further improve the reliability of the bar code printing process. Is obtained.

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

【図1】本実施例の画像記録装置の概略構成図である。FIG. 1 is a schematic configuration diagram of an image recording apparatus of this embodiment.

【図2】画像供給部の回路構成を示すブロック図であ
る。
FIG. 2 is a block diagram showing a circuit configuration of an image supply unit.

【図3】(A)乃至(E)は、本実施例のバーコード印
字方法を示す模式図である。
3A to 3E are schematic diagrams showing a barcode printing method of the present embodiment.

【図4】バーコードのみが形成された記憶領域の内容を
示す模式図である。
FIG. 4 is a schematic diagram showing the contents of a storage area in which only a barcode is formed.

【図5】バーコードと文字が形成された記憶領域の内容
を示す模式図である。
FIG. 5 is a schematic diagram showing the contents of a storage area in which a barcode and characters are formed.

【図6】本実施例のバーコード印字方法に係る制御ルー
チンを示す流図である。
FIG. 6 is a flow chart showing a control routine according to the barcode printing method of the present embodiment.

【図7】(A)乃至(E)は、従来のバーコード印字方
法の一例を示す模式図である。
7A to 7E are schematic views showing an example of a conventional barcode printing method.

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

11 画像記録装置 12 記録部 13 画像供給部 23 記録用紙 31 CPU 42 ページメモリ 56 作業エリア 58 印字エリア 60 余白エリア 62 黒バー 64 白バー 65 バーコード 11 image recording device 12 recording unit 13 image supply unit 23 recording paper 31 CPU 42 page memory 56 working area 58 printing area 60 margin area 62 black bar 64 white bar 65 bar code

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 濃度又は色相が異なる2種類のバーを交
互に配列し且つ予め定められた情報に基づいて各バーの
幅を設定することによって構成されるバーコードをデー
タ化して所定の作業用メモリの記憶領域に書き込んだ
後、所定用紙の指定された印字領域に印字するバーコー
ド印字方法であって、 所定の作業用メモリにおいて前記印字領域及びその周辺
領域に対応する記憶領域を一方のバーに対応する濃度又
は色相に設定し、該記憶領域には他方のバーのみを書き
込む、 ことを特徴とするバーコード印字方法。
1. A bar code formed by alternately arranging two types of bars having different densities or hues and setting the width of each bar based on predetermined information is converted into data for a predetermined work. A bar code printing method in which data is written in a specified print area on a specified paper after writing in the storage area of a memory, and one storage area corresponding to the print area and its peripheral area in a specified working memory The bar code printing method is characterized in that the density or hue corresponding to is set, and only the other bar is written in the storage area.
【請求項2】 白色のバーと黒色のバーの2種類のバー
を交互に配列し且つ予め定められた情報に基づいて各バ
ーの幅を設定することによって構成されるバーコードを
データ化して所定の作業用メモリの記憶領域に書き込ん
だ後、所定用紙の指定された印字領域に印字するバーコ
ード印字方法であって、 所定の作業用メモリにおいて前記印字領域及びその周辺
領域に対応する記憶領域を白色に設定し、該記憶領域に
は黒色のバーのみを書き込む、 ことを特徴とするバーコード印字方法。
2. A bar code formed by alternately arranging two kinds of bars, a white bar and a black bar, and setting the width of each bar based on predetermined information is converted into data and predetermined. Is a bar code printing method for printing in a specified print area of a predetermined paper after writing in the storage area of the work memory, and the storage area corresponding to the print area and its peripheral area in the predetermined work memory is A bar code printing method, wherein the bar code is set to white and only the black bar is written in the storage area.
【請求項3】 前記記憶領域に黒色のバーを書き込んだ
後、前記印字領域へのバーコードの印字が完了するまで
の間は、前記作業用メモリにおいて前記印字領域及びそ
の周辺領域に対応する記憶領域を書込み禁止とすること
を特徴とする請求項2記載のバーコード印字方法。
3. The memory corresponding to the print area and its peripheral area in the working memory until a bar code is printed in the print area after the black bar is written in the storage area. The bar code printing method according to claim 2, wherein the area is write-protected.
JP08428495A 1995-04-10 1995-04-10 Barcode printing method Expired - Fee Related JP3752700B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08428495A JP3752700B2 (en) 1995-04-10 1995-04-10 Barcode printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08428495A JP3752700B2 (en) 1995-04-10 1995-04-10 Barcode printing method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2005222751A Division JP3885822B2 (en) 2005-08-01 2005-08-01 Image recording device

Publications (2)

Publication Number Publication Date
JPH08287174A true JPH08287174A (en) 1996-11-01
JP3752700B2 JP3752700B2 (en) 2006-03-08

Family

ID=13826173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08428495A Expired - Fee Related JP3752700B2 (en) 1995-04-10 1995-04-10 Barcode printing method

Country Status (1)

Country Link
JP (1) JP3752700B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11161452A (en) * 1997-11-26 1999-06-18 Alps Electric Co Ltd Color recording data processing method
CN102855646A (en) * 2011-06-30 2013-01-02 北大方正集团有限公司 Method and device for generating bar-code images
JP2018103489A (en) * 2016-12-27 2018-07-05 株式会社イシダ Identification code printer, identification code printing method, label and packing material

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11161452A (en) * 1997-11-26 1999-06-18 Alps Electric Co Ltd Color recording data processing method
CN102855646A (en) * 2011-06-30 2013-01-02 北大方正集团有限公司 Method and device for generating bar-code images
JP2018103489A (en) * 2016-12-27 2018-07-05 株式会社イシダ Identification code printer, identification code printing method, label and packing material

Also Published As

Publication number Publication date
JP3752700B2 (en) 2006-03-08

Similar Documents

Publication Publication Date Title
JP3378622B2 (en) Tape printer
US7588380B2 (en) Label data creating apparatus, label data creating method, and computer program product
US6247860B1 (en) Image-printing method and device
JP2007206923A (en) Print data editing device and print data editing program
US5483623A (en) Printing apparatus
JP3752700B2 (en) Barcode printing method
JP2809314B2 (en) Printing equipment
JP2000225747A (en) Printing cutting apparatus and memory medium
JP3885822B2 (en) Image recording device
US6587216B1 (en) Image-forming method and device
JP3098632B2 (en) Print image display apparatus and method, and tape printing apparatus
JP2913894B2 (en) Image recording device
JPH05185654A (en) Tape printing apparatus
JP3168521B2 (en) Image recording device
JP2560958B2 (en) Tape printer
JP3347353B2 (en) Printing apparatus and output method and apparatus
JP2861461B2 (en) Image recording device
JP3422102B2 (en) Printer
JP3217917B2 (en) Printing device
JP3351166B2 (en) Printing equipment
JP2998915B2 (en) Double-sided printing device
JP2606589B2 (en) Data output device
JPH04246569A (en) Printer
JP3026992B2 (en) Display control method and device
JP2985530B2 (en) Tape printer

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041005

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041130

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050607

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050801

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20050902

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051205

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111222

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111222

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121222

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121222

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131222

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees