JPH06199020A - Method and apparatus for controlling label printing - Google Patents
Method and apparatus for controlling label printingInfo
- Publication number
- JPH06199020A JPH06199020A JP21312892A JP21312892A JPH06199020A JP H06199020 A JPH06199020 A JP H06199020A JP 21312892 A JP21312892 A JP 21312892A JP 21312892 A JP21312892 A JP 21312892A JP H06199020 A JPH06199020 A JP H06199020A
- Authority
- JP
- Japan
- Prior art keywords
- label
- printing
- data
- buffer
- 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
Links
Landscapes
- Record Information Processing For Printing (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Dot-Matrix Printers And Others (AREA)
Abstract
(57)【要約】
【目的】 本発明は、任意の位置を指定して、そこから
ラベル印刷を行うことを目的としている。
【構成】 本発明において、キーボード4からラベル印
刷開始位置Mが指定されると、これがCPU1を介して
印刷用バッファ31に書き込まれる。CPU1はプログ
ラム100を実行して印刷用バッファ31内の初期印刷
開始位置(X,Y)から前記Mに対応するラベル印刷開
始位置(X´,Y´)を求め、これを変換後のラベル印
刷用バッファ32に書き込むと共に、別途キーボード4
から指定された印刷範囲内の印刷データを前記印刷用バ
ッファ31から読み出して、これを変換後のラベル印刷
用バッファ32に書き込む。その後、CPU1は変換後
のラベル印刷用バッファ32で指定される印刷開始位置
(X´,Y´)からラベル印刷をすべく、同バッファ3
2から印刷データを読み出してプリンタ9に送り、指定
された位置のラベルからラベル印刷を開始する。
(57) [Summary] [Object] The present invention aims to specify a desired position and perform label printing from that position. According to the present invention, when the label printing start position M is designated by the keyboard 4, this is written in the printing buffer 31 via the CPU 1. The CPU 1 executes the program 100 to obtain the label print start position (X ′, Y ′) corresponding to the M from the initial print start position (X, Y) in the print buffer 31, and prints the label print after conversion. Write to the buffer 32 for the keyboard
The print data within the print range designated by is read from the print buffer 31 and written in the converted label print buffer 32. After that, the CPU 1 prints the label from the print start position (X ′, Y ′) specified in the converted label print buffer 32, and then the buffer 3
The print data is read from 2 and sent to the printer 9, and label printing is started from the label at the designated position.
Description
【0001】[0001]
【産業上の利用分野】本発明は用紙にラベル印刷を行う
ラベル印刷制御方法及び装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a label printing control method and apparatus for performing label printing on paper.
【0002】[0002]
【従来の技術】従来、文書作成装置等を用いてラベル印
刷を行う場合、ラベル印刷開始時の用紙上の印刷位置が
限定されていて、任意の位置のラベルから印刷ができな
いという制約があった。例えば、2列に並んだ複数枚の
ラベルがあり、従来の文書作成装置にて最初から3枚の
ラベルに宛名等のデータを印刷し、残りのラベルを使用
しなかった場合、次に前記用紙上の残りのラベルを使用
しようとしても、前記従来の装置では前記残りのラベル
の中の先頭のラベルに印刷指定を行うことができないた
め、結局、残りのラベルを使用することができず、無駄
が生じるという欠点があった。2. Description of the Related Art Conventionally, when a label is printed by using a document creating apparatus or the like, there is a limitation that the printing position on the paper at the start of the label printing is limited, and the printing cannot be performed from the label at any position. . For example, when there are a plurality of labels arranged in two rows, data such as an address is printed on the first three labels by the conventional document creating apparatus, and the remaining labels are not used. Even if an attempt is made to use the remaining label above, the conventional apparatus cannot specify the print to the first label among the remaining labels, so that the remaining label cannot be used in the end, resulting in waste. There was a drawback that
【0003】[0003]
【発明が解決しようとする課題】上記のように従来の文
書作成装置等に用いられるラベル印刷制御方法では、印
刷開始ラベルの位置が限定されていて、ラベル印刷位置
が任意に指定できなかった。このため、用紙上にラベル
印刷の残りがあっても、残りのラベルの先頭位置から印
刷を開始することができないので、結局、残りのラベル
を使用することができず、無駄が生じるという欠点があ
った。As described above, in the conventional label printing control method used in the document creating apparatus and the like, the position of the print start label is limited, and the label printing position cannot be arbitrarily designated. For this reason, even if there is a remaining label print on the paper, printing cannot be started from the leading position of the remaining label, so that the remaining label cannot be used and waste occurs. there were.
【0004】そこで本発明は上記の欠点を除去し、任意
の位置を指定してそこからラベル印刷を行うことができ
るラベル印刷制御方法及び装置を提供することを目的と
している。Therefore, an object of the present invention is to eliminate the above-mentioned drawbacks and provide a label printing control method and apparatus capable of designating an arbitrary position and performing label printing from there.
【0005】[0005]
【課題を解決するための手段】本発明は用紙にデータを
ラベル印刷するラベル印刷制御装置において、印刷を開
始する用紙上のラベルの位置を指定する指定手段と、こ
の指定手段により指定されたラベルの位置に基づいてデ
ータをラベル印刷するための印刷開始位置を算出する演
算手段と、この演算手段により算出された印刷開始位置
からデータをラベル印刷する制御手段とを具備した構成
を有する。SUMMARY OF THE INVENTION According to the present invention, in a label printing control apparatus for printing data on a paper by a label, a designating means for designating the position of the label on the paper to start printing, and a label designated by the designating means. And a control means for label-printing the data from the print start position calculated by the calculation means.
【0006】[0006]
【作用】本発明の印刷制御装置において、指定手段は印
刷を開始する用紙上のラベルの位置を指定する。演算手
段は前記指定手段により指定されたラベルの位置に基づ
いてデータをラベル印刷するための印刷開始位置を算出
する。制御手段は前記演算手段により算出された印刷開
始位置からデータをラベル印刷する。In the print control apparatus of the present invention, the designating means designates the position of the label on the paper on which printing is started. The calculating means calculates the print start position for label printing the data based on the position of the label designated by the designating means. The control unit prints the label on the data from the print start position calculated by the calculation unit.
【0007】[0007]
【実施例】以下、本発明の一実施例を図面を参照して説
明する。図1は本発明のラベル印刷制御方法を適用した
文書作成装置の一実施例を示したブロック図である。1
は文書作成制御、ラベル印刷制御等の個別制御及び装置
全体の制御を行うマイクロプロセッサ(CPU)、2は
プログラム、辞書、その他各種データ等を格納している
ROM、3は入力された文書を記憶する文書メモリや文
書書式情報を始め印刷データ等を保存するRAM、4は
CPU1に対する文書作成のための文字入力や編集処理
の起動をキーボードインタフェース5を用いて行うキー
ボード、6はRAM3に記憶された文書データ等を表示
用ドットメモリ8に展開して、表示制御装置7とCPU
1の制御の下に表示する表示装置、9はRAM3に記憶
されたデータ等をプリンタインタフェース10とCPU
1の制御の下にラベル印刷するプリンタ、11はRAM
3に記憶された文書データ等をディスクインタフェース
12とCPU1の制御の下に記憶する外部記憶装置(フ
ロッピーディスク等)、12は外部記憶装置11に対す
るデータの読み書き制御を行うディスクインタフェース
である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a document creating apparatus to which the label printing control method of the present invention is applied. 1
Is a microprocessor (CPU) that performs individual control such as document creation control and label printing control, and control of the entire apparatus, 2 is a ROM that stores programs, dictionaries, and other various data, and 3 is an input document that is stored A RAM for storing document data such as document memory and document format information, a keyboard 4 for inputting characters to the CPU 1 for activating a document and starting an editing process using the keyboard interface 5, and a RAM 6 for storing data Document data and the like are expanded in the display dot memory 8, and the display control device 7 and the CPU
A display device for displaying under the control of 1, a printer interface 10 and a CPU for displaying data stored in the RAM 3 and the like.
A printer that prints a label under the control of 1, a RAM 11
An external storage device (such as a floppy disk) that stores the document data and the like stored in 3 under the control of the disk interface 12 and the CPU 1, and 12 is a disk interface that controls the reading and writing of data with respect to the external storage device 11.
【0008】次に本実施例の動作について説明する。ラ
ベル印刷を行いたい場合、オペレータはキーボード4上
のラベル印刷指定キーを押す。これにより、CPU1は
前記ラベル印刷指定キー入力をキーボードインタフェー
ス5を介して受付けた後、ROM3内から例えば宛名ラ
ベル印刷指定画面データを読み出して、これを表示制御
装置7を介して表示用ドットメモリ8に展開することに
より、表示装置6の画面に図2に示すような宛名ラベル
印刷指定画面を表示する。オペレータはこの画面を見て
ラベル印刷開始位置(ラベル開始枚数Mに同じ)及び受
取人印刷範囲等をキーボード4から指定する。これによ
り、図3のステップ301にて、CPU1は指定された
ラベル開始枚数Mをキーボードインタフェース5を介し
て受け取った後、ステップ302に進む。CPU1はス
テップ302にて、RAM3内に設けられている印刷用
バッファに保存されているラベル用紙の初期先頭座標
(X,Y)を読み出した後、まず、前記ラベル開始枚数
Mの印刷開始Y座標を以下の式に従って算出する。即
ち、Y´=(V+k)×(M−1)÷C…(1)の演算
を行う。ここで、Vは図4に示したラベル用紙のラベル
縦幅で、これはRAM3内の前記印刷バッファ内に図5
に示すようなラベル印刷構造データ例として格納されて
いる。このラベル印刷構造データ例にて、Cはラベル横
面数を示している。又、上記(1)式中のkはラベル間
の縦方向の長さを示し、一定値である。但し、上記
(1)式にて(M−1)÷Cの値は余りを切り捨てて、
整数のみにする。Next, the operation of this embodiment will be described. To print a label, the operator presses a label print designation key on the keyboard 4. As a result, the CPU 1 accepts the label print designation key input through the keyboard interface 5, then reads, for example, the address label print designation screen data from the ROM 3, and the display dot memory 8 is displayed through the display control device 7. 2 is displayed on the screen of the display device 6 by expanding the screen of FIG. The operator looks at this screen and designates the label print start position (same as the label start number M), the recipient print range, etc. from the keyboard 4. As a result, in step 301 of FIG. 3, the CPU 1 receives the designated label start number M via the keyboard interface 5, and then proceeds to step 302. In step 302, the CPU 1 reads the initial start coordinates (X, Y) of the label paper stored in the print buffer provided in the RAM 3, and then first, the print start Y coordinate of the label start number M. Is calculated according to the following formula. That is, the calculation of Y ′ = (V + k) × (M−1) ÷ C ... (1) is performed. Here, V is the label vertical width of the label paper shown in FIG. 4, which is stored in the print buffer in the RAM 3 as shown in FIG.
It is stored as an example of label print structure data as shown in FIG. In this example of label printing structure data, C indicates the number of horizontal sides of the label. Further, k in the above formula (1) represents the length in the vertical direction between the labels and is a constant value. However, in the above formula (1), the value of (M-1) / C is rounded down,
Use only integers.
【0009】次にCPU1はステップ303に進んで、
Zに上記(M−1)÷Cの余りをセットした後、ステッ
プ304に進む。ステップ304にてCPU1はRAM
3内の印刷用バッファに記憶されている前記ラベル用紙
の先頭のラベルの位置を示す初期先頭ラベル座標(X,
Y)から前記指定されたM枚目のラベルのX座標を次式
に従って算出する。即ち、X´=X+(H+j)×Z…
(2) この(2)式の中でHは図4のラベル用紙例及
び図5のラベル印刷構造データ例によりラベルの横幅を
示しており、jはラベル間の横方向の長さ(一定値)を
示している。これにより、ラベル印刷を開始する先頭か
らM枚目のラベルの位置座標が分かる。次にCPU1は
RAM3内の宛名データの中から図2の宛名印刷指定画
面で指定された受取人印刷範囲(全部、又は部分)に対
応する宛名データを読み出し、これをプリンタインタフ
ェース10を介してプリンタ9に送ることにより、前記
ラベル用紙のM枚目のラベル(X´,Y´)からラベル
印刷を開始する。尚、前記した印刷範囲は全部又は部分
の他に、各ラベルに印刷するデータを1個1個指定する
こともできるものとする。Next, the CPU 1 proceeds to step 303,
After setting the remainder of (M-1) ÷ C in Z, the process proceeds to step 304. In step 304, CPU1 is RAM
Initial label coordinates (X, X indicating the position of the label at the beginning of the label paper stored in the print buffer in 3).
From Y), the X coordinate of the designated Mth label is calculated according to the following equation. That is, X ′ = X + (H + j) × Z ...
(2) In the equation (2), H represents the width of the label according to the label paper example of FIG. 4 and the label printing structure data example of FIG. 5, and j is the horizontal length between labels (fixed value). ) Is shown. As a result, the position coordinates of the Mth label from the beginning where label printing is started can be known. Next, the CPU 1 reads out the address data corresponding to the recipient print range (all or part) designated on the address print designation screen of FIG. 2 from the address data in the RAM 3, and prints this out via the printer interface 10 to the printer. Then, the label printing is started from the M-th label (X ′, Y ′) of the label paper. In addition to the whole or part of the above-mentioned printing range, it is also possible to specify the data to be printed on each label one by one.
【0010】ここで、図6はラベル用紙に対するラベル
印刷開始位置が1の場合を示し、先頭のラベルから順番
に3枚目のラベルまで宛名等がラベルに印刷されている
例である。この例では、3枚印刷した所で、他のラベル
は白紙のまま残してある。図7は図6の残りのラベルに
ラベル印刷を行った例である。この場合、ラベル印刷開
始位置として4が指定されると、上記した(1)、
(2)式に基づいて4枚目のラベルの位置である(X
´,Y´)座標が算出され、この(X´,Y´)座標に
基づいて宛名等のデータが残りのラベルにプリンタ9に
より印刷されて出力される。尚、この例では、ラベル開
始位置のラベル座標はX=H+j,Y=V+kになる。Here, FIG. 6 shows the case where the label printing start position on the label sheet is 1, and is an example in which addresses and the like are printed on the labels from the first label to the third label in order. In this example, after printing three sheets, the other labels are left blank. FIG. 7 is an example in which label printing is performed on the remaining labels in FIG. In this case, if 4 is specified as the label printing start position, the above (1),
It is the position of the fourth label based on the equation (2) (X
′, Y ′) coordinates are calculated, and data such as an address is printed by the printer 9 on the remaining labels based on the (X ′, Y ′) coordinates and output. In this example, the label coordinates of the label start position are X = H + j and Y = V + k.
【0011】図8は上記したラベル印刷時の制御の流れ
を示した図である。まず、キーボード4からCPU1に
ラベル開始位置M及び印刷範囲の指定データを入力する
と、CPU1は印刷用バッファ31にラベル開始位置M
を書き込む。但し、この印刷用バッファ31にはラベル
印刷の初期ラベル印刷開始位置座標(X,Y)及び、例
えば受取人等のデータが予めセーブされている。CPU
1はプログラム100を実行して、前記ラベル印刷開始
位置Mより、実際に印刷を行うラベルの位置を示す位置
座標(X´,Y´)を算出して、これを変換後のラベル
印刷用バッファ32に書き込むと共に、前記キーボード
4から入力された印刷範囲に入る印刷データを印刷用バ
ッファ31から印刷順に変換後のラベル印刷用バッファ
32に書き込む。その後、CPU1はプログラム100
を更に実行し、変換後のラベル印刷用バッファ32で示
される印刷開始位置(X´,Y´)から同バッファ32
内に書き込まれている印刷データをラベル用紙に印刷す
べく、これらデータをプリンタ9に送る。FIG. 8 is a diagram showing the flow of control at the time of label printing described above. First, when the label start position M and the print range designation data are input to the CPU 1 from the keyboard 4, the CPU 1 causes the label start position M in the print buffer 31.
Write. However, the initial label printing start position coordinates (X, Y) of the label printing and the data such as the recipient are saved in advance in the printing buffer 31. CPU
Reference numeral 1 executes the program 100 to calculate position coordinates (X ′, Y ′) indicating the position of the label to be actually printed from the label printing start position M, and convert this to the label printing buffer after conversion. In addition to writing to 32, the print data input from the keyboard 4 within the print range is written from the print buffer 31 to the label print buffer 32 after conversion in the print order. After that, the CPU 1 executes the program 100
Is further executed, and from the print start position (X ′, Y ′) shown in the converted label printing buffer 32 to the same buffer 32.
In order to print the print data written in the label paper, these data are sent to the printer 9.
【0012】本実施例によれば、ラベル印刷を行う際
に、ラベル用紙中の任意のラベル位置を指定すると、こ
の指定されたラベルに対応する印刷開始位置を装置が自
動的に算出して、データを前記指定したラベルから順番
にラベル印刷することができる。従って、既にラベル印
刷した残りのラベル用紙を使用してラベル印刷を行うこ
とができるため、ラベル用紙を有効に使用することがで
きる。又、任意のラベル位置から印刷するデータを別途
自由に指定することができるため、ラベル印刷の自由度
が広がり、装置の操作性を著しく向上させることができ
る。According to this embodiment, when label printing is performed, when an arbitrary label position in the label paper is designated, the apparatus automatically calculates the print start position corresponding to the designated label, Data can be label-printed in order from the designated label. Therefore, since the label printing can be performed using the remaining label paper which has already been label-printed, the label paper can be effectively used. Further, since the data to be printed can be freely specified separately from an arbitrary label position, the degree of freedom in label printing can be expanded and the operability of the apparatus can be significantly improved.
【0013】[0013]
【発明の効果】以上記述した如く本発明のラベル印刷制
御方法及び装置によれば、任意の位置を指定してそこか
らラベル印刷を行うことができる。As described above, according to the label printing control method and apparatus of the present invention, it is possible to specify an arbitrary position and perform label printing from there.
【図1】本発明のラベル印刷制御装置の一実施例を示し
たブロック図。FIG. 1 is a block diagram showing an embodiment of a label printing control device of the present invention.
【図2】図1に示した表示装置に表示される宛名ラベル
印刷指定画面例を示した図。FIG. 2 is a diagram showing an example of an address label print designation screen displayed on the display device shown in FIG.
【図3】図1に示したCPUのラベル印刷開始座標計算
処理例を示したフローチャート。FIG. 3 is a flowchart showing an example of label print start coordinate calculation processing of the CPU shown in FIG.
【図4】ラベル用紙の一例を示した図。FIG. 4 is a diagram showing an example of label paper.
【図5】図1のRAM内に保存されるラベル印刷構造デ
ータ例を示した図。5 is a diagram showing an example of label print structure data stored in the RAM of FIG. 1. FIG.
【図6】ラベル用紙にデータをラベル印刷した一例を示
した図。FIG. 6 is a diagram showing an example in which data is label-printed on a label sheet.
【図7】残りのラベル用紙にデータをラベル印刷した一
例を示した図。FIG. 7 is a diagram showing an example in which data is label-printed on the remaining label paper.
【図8】図1に示した装置のラベル印刷時の制御の流れ
を示した図。FIG. 8 is a diagram showing a control flow at the time of label printing of the apparatus shown in FIG.
1…CPU 2…ROM 3…RAM 4…キーボード 5…キーボードインタフェース 6…表示装置 7…表示制御装置 8…表示用ドット
メモリ 9…プリンタ 10…プリンタイ
ンタフェース 11…外部記憶装置 12…ディスクイ
ンタフェース 31…印刷用バッファ 32…変換後のラ
ベル印刷用バッファ1 ... CPU 2 ... ROM 3 ... RAM 4 ... Keyboard 5 ... Keyboard interface 6 ... Display device 7 ... Display control device 8 ... Display dot memory 9 ... Printer 10 ... Printer interface 11 ... External storage device 12 ... Disk interface 31 ... Printing Buffer 32 ... Label printing buffer after conversion
Claims (2)
刷制御方法において、前記用紙上の任意のラベルの位置
が指定されると、指定された位置のラベルから前記デー
タをラベル印刷するための印刷開始位置を求め、この印
刷開始位置からデータをラベル印刷することを特徴とす
るラベル印刷制御方法。1. A label printing control method for label printing data on a sheet, when a position of an arbitrary label on the sheet is designated, a printing start for label printing the data from the label at the designated position. A label printing control method, wherein a position is obtained and data is printed from the printing start position.
刷制御装置において、印刷を開始する用紙上のラベルの
位置を指定する指定手段と、この指定手段により指定さ
れたラベルの位置に基づいてデータをラベル印刷するた
めの印刷開始位置を算出する演算手段と、この演算手段
により算出された印刷開始位置からデータをラベル印刷
する制御手段とを具備したことを特徴とするラベル印刷
制御装置。2. A label printing control device for printing data on a paper by a label printing device, which designates the position of the label on the paper on which printing is started, and the data based on the label position designated by the designating device. A label printing control apparatus comprising: a calculation unit that calculates a print start position for printing a label; and a control unit that prints a label from the print start position calculated by the calculation unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21312892A JPH06199020A (en) | 1992-08-11 | 1992-08-11 | Method and apparatus for controlling label printing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21312892A JPH06199020A (en) | 1992-08-11 | 1992-08-11 | Method and apparatus for controlling label printing |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06199020A true JPH06199020A (en) | 1994-07-19 |
Family
ID=16634045
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21312892A Pending JPH06199020A (en) | 1992-08-11 | 1992-08-11 | Method and apparatus for controlling label printing |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06199020A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013257602A (en) * | 2012-06-08 | 2013-12-26 | Canon Marketing Japan Inc | Information processing device, information processing method, program |
| JP2016177848A (en) * | 2016-06-29 | 2016-10-06 | キヤノンマーケティングジャパン株式会社 | Information processing system, control method thereof, and program |
-
1992
- 1992-08-11 JP JP21312892A patent/JPH06199020A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013257602A (en) * | 2012-06-08 | 2013-12-26 | Canon Marketing Japan Inc | Information processing device, information processing method, program |
| JP2016177848A (en) * | 2016-06-29 | 2016-10-06 | キヤノンマーケティングジャパン株式会社 | Information processing system, control method thereof, and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0616280B2 (en) | Document processor | |
| JPH06199020A (en) | Method and apparatus for controlling label printing | |
| US5878200A (en) | Document processing apparatus for displaying inputted data in a print area based upon the size of a recording material and the reprinted data printed thereon | |
| JPH05101058A (en) | Word processor | |
| JPH10207878A (en) | Document editing and printing device | |
| JPH05108644A (en) | Character processor with post card printing function | |
| JPS6321174A (en) | printing device | |
| JP2721339B2 (en) | Document processing device | |
| JPH06274150A (en) | Document display method | |
| JPH06270496A (en) | Document creation device | |
| JPH0581249A (en) | Word processor | |
| JPH05314124A (en) | Print controller for documentation device | |
| JPH05151214A (en) | Word processor | |
| JPH05188917A (en) | Output device | |
| JPH05151215A (en) | Document processing device with frame editing function | |
| JPH0580013B2 (en) | ||
| JPH1069359A (en) | Data processor | |
| JPH1086457A (en) | Document editing and printing device | |
| JPH0764977A (en) | Document creating apparatus and format changing method | |
| JPH0540466A (en) | Information processing equipment | |
| JPH05138978A (en) | Document printing device | |
| JPH06166234A (en) | Document creation apparatus and print control method | |
| JPH11265372A (en) | Character processor | |
| JPH0890864A (en) | Printer | |
| JPH091870A (en) | Document editing and printing device |