JPH06243134A - Document processor - Google Patents

Document processor

Info

Publication number
JPH06243134A
JPH06243134A JP5029137A JP2913793A JPH06243134A JP H06243134 A JPH06243134 A JP H06243134A JP 5029137 A JP5029137 A JP 5029137A JP 2913793 A JP2913793 A JP 2913793A JP H06243134 A JPH06243134 A JP H06243134A
Authority
JP
Japan
Prior art keywords
print
data
register
sticker
stored
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
JP5029137A
Other languages
Japanese (ja)
Inventor
Takayuki Fukushima
孝幸 福島
Masahiro Sugimoto
正弘 杉本
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP5029137A priority Critical patent/JPH06243134A/en
Publication of JPH06243134A publication Critical patent/JPH06243134A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily confirm the quantity of document data that can be printed on a seal, for example, when serving as a printing medium without carrying out any trial print, etc. CONSTITUTION:The seal width data are read out of a seal width register, and the data on the maximum print range of row direction corresponding to the seal width are retrieved out of the seal data stored in a ROM 6 and stored in a row direction print range register. The row pitch data on the format data are stored in a row pitch register, and the row direction maximum print range is divided by the row pitch so that the number of seal print rows is decided. Then the data on the column direction maximum print range that is prescribed by the storage capacity of a print buffer 9 are stored in a column direction print range register. The column pitch data on the format data are stored in a column pitch register, and the column direction maximum print range is divided by the column pitch so that the number of seal print columns is decided. These decided numbers of seal print rows and columns are shown at a display part 3.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はラベル,シール等の印刷
媒体に対して文書データを印刷する日本語ワードプロセ
ッサ等の文書処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing device such as a Japanese word processor for printing document data on a printing medium such as a label or a sticker.

【0002】[0002]

【従来の技術】従来の文書処理装置におけるラベル印刷
機能,シール印刷機能は、A4サイズまたはB5サイズ
の台紙上に、個々に分離されたタックシールやビデオラ
ベルシートが設けてある印刷媒体を想定し、定まった印
刷フォーマットで印刷を行なうものである。この場合、
印刷されたタックシールやビデオラベルシートを1つ1
つ台紙から剥がして使用する。
2. Description of the Related Art A label printing function and a sticker printing function in a conventional document processing apparatus are assumed to be a printing medium in which a tack sticker or a video label sheet which is individually separated is provided on an A4 size or B5 size mount. , Prints in a fixed print format. in this case,
One printed tack sticker or one video label sheet
Peel off the mount and use.

【0003】[0003]

【発明が解決しようとする課題】最近、インクリボンと
剥離紙を有するシールとをカセットに一体化したラベル
印刷用カセットが開発され、このラベル印刷用カセット
のシールを文書データの印刷媒体として利用することが
要望されている。しかしながら、従来の文書処理装置は
ラベル印刷用カセットに一体化されたシールに対する印
刷を想定しておらず、シール印刷には全く対応していな
かった。従って、従来の文書処理装置でシール印刷を行
なう場合は部分印刷機能を用い、印刷イメージの表示や
試し印刷などを繰り返し実行して書式を設定する作業や
印刷開始位置の設定等が必要になり、作業が大変面倒で
あった。
Recently, a label printing cassette in which an ink ribbon and a seal having a release paper are integrated into a cassette has been developed, and the seal of the label printing cassette is used as a print medium for document data. Is required. However, the conventional document processing apparatus does not assume printing on a sticker integrated in the label printing cassette, and does not support sticker printing at all. Therefore, when performing sticker printing with the conventional document processing apparatus, it is necessary to use the partial printing function, repeatedly execute print image display, test printing, etc. to set the format and set the print start position. The work was very troublesome.

【0004】本発明の課題は、例えば印刷媒体としてシ
ールを用いたシール印刷を行なう場合に、試し印刷等の
確認作業を行なうことなく、どの位の文書データがシー
ルに印刷可能であるかを簡単に確認できるようにするこ
とである。
An object of the present invention is to easily determine how much document data can be printed on a sticker without performing confirmation work such as trial printing when sticker printing is performed using a sticker as a print medium. Is to be able to confirm.

【0005】[0005]

【課題を解決するための手段】本発明の手段は、少なく
とも行ピッチおよび桁ピッチを含む書式情報を記憶する
手段と、文書データが印刷される印刷媒体の幅を記憶す
る手段と、上記印刷媒体における最大印刷長さを記憶す
る手段と、上記書式情報,上記印刷媒体の幅,および上
記最大印刷長さに基づいて、上記印刷媒体に印刷可能な
文書データの印刷行数および印刷桁数を演算する手段
と、演算された上記印刷行数および印刷桁数を表示する
手段とを具備したことを特徴とする。
According to the present invention, there is provided a means for storing format information including at least a line pitch and a column pitch, a means for storing a width of a print medium on which document data is printed, and the print medium. Means for storing the maximum print length, and the number of print lines and the number of print digits of the document data printable on the print medium are calculated based on the format information, the width of the print medium, and the maximum print length. And a means for displaying the calculated print line number and print digit number.

【0006】[0006]

【作用】本発明の手段の作用は次の通りである。シール
印刷を指定すると、行ピッチおよび桁ピッチを含む書式
情報,印刷媒体の幅,および最大印刷長さに基づいて、
印刷媒体に印刷可能な文書データの印刷行数および印刷
桁数を演算し、演算された上記印刷行数および印刷桁数
を表示する。従って、例えば印刷媒体としてシールを用
いたシール印刷を行なう場合に、試し印刷等の確認作業
を行なうことなく、どの位の文書データがシールに印刷
可能であるかを簡単に確認できる。
The operation of the means of the present invention is as follows. If you specify sticker printing, based on format information, including line and column pitches, print media width, and maximum print length,
The number of print lines and the number of print digits of the document data that can be printed on the print medium are calculated, and the calculated number of print lines and the number of print digits are displayed. Therefore, for example, when performing sticker printing using a sticker as a print medium, it is possible to easily check how much document data can be printed on the sticker without performing a confirmation work such as trial printing.

【0007】[0007]

【実施例】以下、本発明の実施例について図面を参照し
ながら詳述する。図1は、本実施例の文書処理装置の回
路ブロック図である。同図において、キー入力部1はア
ルファベットキー,かなキー,変換キー等の各種キーを
具備し、キー操作に応じたキー入力信号をCPU2に出
力する。CPU2はシステム全体の制御を行なうもの
で、後述するROM6に記憶されている文書処理プログ
ラムを実行する。表示部3は例えばCRT表示装置等に
より構成され、入力された文書データを表示する。表示
メモリ4は表示部3に表示する表示データを記憶する。
外部記憶部5は例えばFDD(フロッピィ・ディスク・
ドライブ)等により構成され、文書データを記憶する。
ROM6は文書処理プログラム等の各種制御プログラ
ム、および図2に示すシールデータを固定的に記憶する
ものである。文書エリア7は外部記憶部5から読み出さ
れた文書データ、あるいは新規に作成された文書データ
を書式データと共に記憶するものである。
Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a circuit block diagram of the document processing apparatus of this embodiment. In the figure, the key input unit 1 includes various keys such as an alphabet key, a kana key, and a conversion key, and outputs a key input signal according to a key operation to the CPU 2. The CPU 2 controls the entire system and executes a document processing program stored in a ROM 6 described later. The display unit 3 is composed of, for example, a CRT display device or the like, and displays the input document data. The display memory 4 stores display data to be displayed on the display unit 3.
The external storage unit 5 is, for example, an FDD (floppy disk
Drive) and stores document data.
The ROM 6 fixedly stores various control programs such as a document processing program and the sticker data shown in FIG. The document area 7 stores the document data read from the external storage unit 5 or the newly created document data together with the format data.

【0008】RAM8は図1に示すように各種レジスタ
により構成されている。シール幅レジスタは印刷媒体で
あるシールのシール幅(横幅;mm単位)を記憶する。印
刷範囲レジスタはシール印刷を行なう文書データの範囲
を記憶する。行方向印刷範囲レジスタはシール幅に対応
する行方向の最大印刷範囲データを記憶する。桁方向印
刷範囲レジスタは後述する印刷バッファ9の記憶容量に
応じて規定される桁方向の最大印刷範囲データを記憶す
る。行ピッチレジスタは書式データにおける行ピッチを
記憶する。桁ピッチレジスタは書式データにおける桁ピ
ッチを記憶する。シール印刷行数レジスタはシール印刷
を行なう場合に印刷可能な行数を記憶する。シール印刷
桁数レジスタはシール印刷を行なう場合に印刷可能な桁
数を記憶する。aレジスタないしcレジスタは図4にお
ける演算処理で用いられる演算用レジスタである。
The RAM 8 is composed of various registers as shown in FIG. The sticker width register stores the sticker width (horizontal width; mm unit) of the sticker which is the print medium. The print range register stores a range of document data for sticker printing. The row-direction print range register stores the maximum print range data in the row direction corresponding to the seal width. The digit direction print range register stores the maximum print range data in the digit direction which is defined according to the storage capacity of the print buffer 9 described later. The row pitch register stores the row pitch in the format data. The digit pitch register stores the digit pitch in the format data. The sticker print line number register stores the number of lines that can be printed when sticker printing is performed. The sticker print digit number register stores the number of printable digits when sticker printing is performed. The registers a to c are arithmetic registers used in the arithmetic processing in FIG.

【0009】AレジスタおよびBレジスタは図5におけ
る演算処理で用いられる演算用レジスタである。Xレジ
スタは印刷バッファに展開された印刷データのx方向の
サイズを記憶する。X1レジスタは印刷開始x座標を記
憶する。X2レジスタは印刷終了x座標を記憶する。Y
レジスタは印刷バッファに展開された印刷データのy方
向のサイズを記憶する。Y1レジスタは印刷開始y座標
を記憶する。Y2レジスタは印刷終了y座標を記憶す
る。
The A register and the B register are arithmetic registers used in the arithmetic processing in FIG. The X register stores the size of the print data expanded in the print buffer in the x direction. The X1 register stores the print start x coordinate. The X2 register stores the print end x coordinate. Y
The register stores the size of the print data expanded in the print buffer in the y direction. The Y1 register stores the print start y coordinate. The Y2 register stores the print end y coordinate.

【0010】印刷バッファ9はプリンタ11で印刷され
る印刷データがビットマップ形式で展開されて格納され
るものである。印刷制御部10は印刷バッファ9に記憶
された印刷データに基づいてプリンタ11を制御して印
刷を行なわせる。プリンタ11は印刷制御部10により
制御され、印刷バッファ9に記憶された印刷データをシ
ール,ラベル,用紙等の印刷媒体に印刷する。
The print buffer 9 stores print data printed by the printer 11 in a bitmap format. The print control unit 10 controls the printer 11 to print based on the print data stored in the print buffer 9. The printer 11 is controlled by the print controller 10 and prints the print data stored in the print buffer 9 on a print medium such as a sticker, a label, or a sheet.

【0011】図2はROM6に予め記憶されたシールデ
ータの例を示す図である。シールデータは6[mm],9
[mm],12[mm]の各シールに印刷する場合におい
て、シール幅に対応する行方向最大印刷範囲を[dot]
単位で表わしたデータである。例えば、シール幅が6
[mm]のシールを用いた場合は行方向(シールの幅方
向)に最大60[dot]の印刷データを印刷できること
を示している。
FIG. 2 is a diagram showing an example of seal data stored in advance in the ROM 6. Seal data is 6 [mm], 9
When printing on each [mm] and 12 [mm] sticker, set the maximum printing range in the row direction corresponding to the sticker width to [dot].
It is data expressed in units. For example, the seal width is 6
When a [mm] sticker is used, it indicates that a maximum of 60 [dot] print data can be printed in the row direction (the width direction of the sticker).

【0012】次に、図3ないし図8を参照して上記実施
例の動作を説明する。図3は本実施例における文書処理
装置の全体の動作を示すフローチャートである。以下、
フローチャートは制御プログラムに基づいたCPU2の
動作を表わすものである。シール印刷を行なう場合は、
まず文書処理装置を起動する。起動後はモード設定の待
機状態になるので、ステップS1に示すように、キー入
力部1におけるモード設定キー等を操作してワープロモ
ードを設定する。ワープロモードでは文書データの入
力,編集ができるようになっている。ステップS2で
は、文書データ指定の待機状態になるので、シール印刷
を行なう文書データをファイル名の入力,選択等により
指定する。
Next, the operation of the above embodiment will be described with reference to FIGS. FIG. 3 is a flowchart showing the overall operation of the document processing apparatus in this embodiment. Less than,
The flowchart shows the operation of the CPU 2 based on the control program. When performing sticker printing,
First, the document processing device is activated. After the start-up, a standby state for mode setting is entered, so as shown in step S1, the mode setting key or the like in the key input unit 1 is operated to set the word processor mode. In word processing mode, you can input and edit document data. In step S2, a standby state for designation of document data is entered, so that document data to be subjected to sticker printing is designated by inputting or selecting a file name.

【0013】文書データが指定されると、ステップS3
に進み、例えば外部記憶部5から読み出された文書デー
タが、その文書データに設定された書式データと共に、
文書エリア7に格納される。ステップS4ではキー入力
部1における「シール印刷」キー等を操作してシール印
刷モードを設定する。これにより、ステップS5に進
む。ステップS5においては、シール幅の指定を促す表
示「シール幅?」が表示部3に表示されるので、キー入
力部1のテンキーを操作して、例えば数値データ「6」
を入力し、シール幅を「6mm」に指定する。指定された
シール幅はRAM8のシール幅レジスタに設定される。
When the document data is designated, step S3
And the document data read from the external storage unit 5 together with the format data set in the document data
It is stored in the document area 7. In step S4, the sticker print mode is set by operating the "sticker print" key or the like in the key input unit 1. As a result, the process proceeds to step S5. In step S5, a display "seal width?" Prompting the user to specify the seal width is displayed on the display unit 3. Therefore, by operating the ten keys of the key input unit 1, for example, the numerical data "6" is displayed.
Enter, and specify the seal width as “6 mm”. The designated seal width is set in the seal width register of the RAM 8.

【0014】この結果、ステップS6に進み、シール印
刷可能範囲演算処理が実行される。図4はシール印刷可
能範囲演算処理の動作を示すフローチャートである。ま
ず、ステップS11においてはシール幅レジスタに設定
されたデータ(シール幅:6mm)が読み込まれる。ステ
ップS12では読み込まれたシール幅に対応する行方向
の最大印刷範囲データがROM6に記憶されたシールデ
ータから検索され、この場合はシール幅(6mm)に対応
する行方向最大印刷範囲データ(60dot)がROM6
から読み出され、RAM8の行方向印刷範囲レジスタに
記憶される。
As a result, in step S6, the sticker printable range calculation process is executed. FIG. 4 is a flowchart showing the operation of the sticker printable range calculation process. First, in step S11, the data (seal width: 6 mm) set in the seal width register is read. In step S12, the maximum print range data in the row direction corresponding to the read seal width is retrieved from the seal data stored in the ROM 6, and in this case, the maximum print range data in the line direction (60 dot) corresponding to the seal width (6 mm). Is ROM6
Read from the RAM 8 and stored in the row-direction printing range register of the RAM 8.

【0015】次のステップS13において、文書エリア
7に記憶された書式データの行ピッチデータがRAM8
の行ピッチレジスタに記憶される。この場合、行ピッチ
データは[dot]単位で設定されている。ステップS1
4では行方向印刷範囲レジスタに記憶された行方向最大
印刷範囲データを行ピッチデータで除算し、除算結果を
RAM8のシール印刷行数レジスタに記憶する。これに
より、シール印刷を行なう場合の印刷行数がシール幅お
よび書式データの行ピッチに基づいて求められる。
In the next step S13, the line pitch data of the format data stored in the document area 7 is stored in the RAM 8
Stored in the row pitch register. In this case, the row pitch data is set in [dot] units. Step S1
In 4, the row-direction maximum print range data stored in the row-direction print range register is divided by the line pitch data, and the division result is stored in the sticker print line number register of the RAM 8. As a result, the number of print lines for sticker printing is obtained based on the sticker width and the line pitch of the format data.

【0016】しかし、文字ポイントの大きさによって
は、さらに行数が取れる場合があるので、これを確認す
るためにステップS15〜S19の処理を行なう。即
ち、ステップS15ではシール印刷行数と行ピッチとを
乗算し、乗算結果をaレジスタに格納する。次のステッ
プS16で行方向印刷範囲データからaレジスタに格納
された乗算結果が減算され、減算結果がbレジスタに格
納される。即ち、bレジスタには行方向印刷範囲の残り
部分が格納される。ステップS17において、書式デー
タにおける文字ポイントデータ(9.6ポイント,12
ポイント等)がcレジスタに格納される。
However, depending on the size of the character point, there may be a case where the number of lines can be increased. Therefore, in order to confirm this, steps S15 to S19 are performed. That is, in step S15, the number of sticker printing lines is multiplied by the line pitch, and the multiplication result is stored in the a register. In the next step S16, the multiplication result stored in the a register is subtracted from the row-direction printing range data, and the subtraction result is stored in the b register. That is, the remaining portion of the row-direction printing range is stored in the b register. In step S17, the character point data (9.6 points, 12
Points, etc.) are stored in the c register.

【0017】続くステップS18ではbレジスタの内容
がcレジスタの内容以上(≧)であるか否かが判別され
る。即ち、行方向印刷範囲の残り部分が文字列ポイント
以上あるか判別される。ステップS18でYesと判別
された場合は、更にもう1行印刷できるのでステップS
19に進む。ステップS19ではシール印刷行数レジス
タの内容に「1」が加算されてシール印刷行数が+1さ
れ、ステップS20に進む。また、ステップS18でN
oの場合はシール印刷行数はステップS14の結果と同
じであるから、直ちにステップS20に進む。
In a succeeding step S18, it is determined whether or not the content of the b register is equal to or more than (≧) the content of the c register. That is, it is determined whether or not the remaining portion of the print range in the row direction is at or above the character string point. If Yes is determined in step S18, another line can be printed, and thus step S18 is performed.
Proceed to 19. In step S19, "1" is added to the content of the sticker print line number register to increment the sticker print line number by 1, and the process proceeds to step S20. In step S18, N
In the case of o, the number of sticker print lines is the same as the result of step S14, and therefore the process immediately proceeds to step S20.

【0018】ステップS20において、印刷バッファ9
の記憶容量によって規定される桁方向の最大印刷範囲デ
ータ(例えば印刷長さで200mm)が[dot]単位でR
AM8の桁方向印刷範囲レジスタに記憶される。ステッ
プS21では書式エリア7に格納された書式データにお
ける桁ピッチデータがRAM8の桁ピッチレジスタに記
憶される。この場合、桁ピッチデータは[dot]単位で
設定されている。
In step S20, the print buffer 9
The maximum print range data in the digit direction (for example, 200 mm in print length) defined by the storage capacity of R is R in [dot] units.
It is stored in the column direction print range register of AM8. In step S21, the digit pitch data in the format data stored in the format area 7 is stored in the digit pitch register of the RAM 8. In this case, the digit pitch data is set in units of [dot].

【0019】ステップS22において、桁方向印刷範囲
レジスタに記憶された桁方向の最大印刷範囲データを桁
ピッチデータで除算し、除算結果をRAM8のシール印
刷桁数レジスタに記憶する。即ち、シール印刷を行なう
場合の印刷桁数が印刷バッファ9の記憶容量で規定され
る桁方向の最大印刷範囲データおよび書式データの桁ピ
ッチに基づいて求められ、シール印刷桁数レジスタに格
納されたことになる。このステップS22の実行によっ
て図4のシール印刷可能範囲演算処理を終了し、図3に
おけるステップS7に進む。
In step S22, the maximum print range data in the digit direction stored in the digit print range register is divided by the digit pitch data, and the division result is stored in the sticker print digit number register of the RAM 8. That is, the number of print digits for sticker printing is obtained based on the maximum print range data in the digit direction and the digit pitch of the format data defined by the storage capacity of the print buffer 9, and stored in the sticker print digit number register. It will be. By executing this step S22, the sticker printable range calculation process in FIG. 4 is completed, and the process proceeds to step S7 in FIG.

【0020】図3に戻って、ステップS7ではシール印
刷可能範囲が(m行,n桁)の形式で表示されると共
に、印刷範囲を促すメッセージが表示される。即ち、シ
ール印刷行数レジスタ,シール印刷桁数レジスタに夫々
記憶されたシール印刷行数,シール印刷桁数が、図6に
示すように、表示部3に表示されたウインドウ内に例え
ば「印刷可能範囲:4行 12桁」という形式で表示さ
れると共に、シール印刷を行なう範囲の指定を促す“開
始位置を指定してください”というメッセージが上記ウ
インドウ内に表示されてシール印刷範囲指定の待機状態
となる。
Returning to FIG. 3, in step S7, the seal printable range is displayed in the form of (m lines, n digits), and a message prompting the print range is displayed. That is, the number of sticker printing lines and the number of sticker printing digits stored in the number of sticker printing lines register and the number of sticker printing digits stored in the number of sticker printing digits register respectively are displayed in a window displayed on the display unit 3 as shown in FIG. "Range: 4 lines 12 digits" is displayed, and a message "Please specify the start position" prompting you to specify the range for sticker printing is displayed in the above window and the standby state for specifying the sticker print range is displayed. Becomes

【0021】なお、シール印刷可能範囲表示は、図6の
ように(m行,n桁)の形式で表示するものに限らず、
図7に示すように破線等により印刷可能範囲枠を表示し
て実質的に印刷可能範囲がm行,n桁であることを表示
するものでもよい。
Note that the sticker printable range display is not limited to the display in the format of (m lines, n digits) as shown in FIG.
As shown in FIG. 7, a printable range frame may be displayed by a broken line or the like to indicate that the printable range is substantially m rows and n digits.

【0022】ここで、キー入力部1のカーソルキーを操
作して、印刷範囲の始点および終点を指定すると、ステ
ップS8に進み、指定された印刷範囲の始点座標および
終点座標がRAM8の印刷範囲レジスタに記憶される。
この結果、指定された印刷範囲の文書データが反転表示
によって表示部3に表示され、どの範囲の文書データが
印刷されるかが明示される。
When the cursor keys of the key input unit 1 are operated to specify the start point and the end point of the print range, the process proceeds to step S8, where the start point coordinates and the end point coordinates of the specified print range are the print range register of the RAM8. Memorized in.
As a result, the document data of the designated print range is displayed in reverse on the display unit 3, and the range of the document data to be printed is clearly shown.

【0023】ステップS8の終了後は「シール印刷」キ
ーの待機状態になるので、ステップS9に示すように、
キー入力部1の「シール印刷」キー等を操作してシール
印刷を指定する。これにより、ステップS10のシール
印刷処理に進む。
After the step S8 is completed, the "sticker print" key is in a standby state, so as shown in step S9,
The sticker print is designated by operating the "sticker print" key of the key input unit 1. As a result, the process proceeds to the sticker printing process in step S10.

【0024】図5はシール印刷処理の動作を示すフロー
チャートである。まず、ステップS23において、印刷
範囲レジスタの内容に基づいて指定された範囲の文書デ
ータを印刷バッファ9に展開する。ステップS24では
印刷バッファ9に展開された印刷データのy方向のサイ
ズが検出されてRAM8のYレジスタに格納される。
FIG. 5 is a flow chart showing the operation of the sticker printing process. First, in step S23, the document data in the range specified based on the contents of the print range register is expanded in the print buffer 9. In step S24, the size of the print data expanded in the print buffer 9 in the y direction is detected and stored in the Y register of the RAM 8.

【0025】ステップS25において、RAM8のシー
ル幅レジスタに記憶されたシール幅データがAレジスタ
に格納される。ステップS26ではy方向の印刷開始位
置を示す印刷開始y座標をY1レジスタにセットする。
即ち、「(Y/2)−(A/2)」という演算を実行
し、演算結果を印刷開始y座標としてY1レジスタに記
憶する。
In step S25, the seal width data stored in the seal width register of the RAM 8 is stored in the A register. In step S26, the print start y coordinate indicating the print start position in the y direction is set in the Y1 register.
That is, the calculation "(Y / 2)-(A / 2)" is executed and the calculation result is stored in the Y1 register as the print start y coordinate.

【0026】次に、ステップS27においてはy方向の
印刷終了位置を示す印刷終了y座標をY2レジスタにセ
ットする。即ち、「(Y/2)+(A/2)」という演
算を実行し、演算結果を印刷終了y座標としてY2レジ
スタに記憶する。
Next, in step S27, the print end y coordinate indicating the print end position in the y direction is set in the Y2 register. That is, the calculation "(Y / 2) + (A / 2)" is executed, and the calculation result is stored in the Y2 register as the print end y coordinate.

【0027】ステップS28では印刷バッファ9に展開
された印刷データのx方向のサイズが検出されてRAM
8のXレジスタに格納される。ステップS29におい
て、上記ステップS20で求められたシール印刷におけ
る最大印刷長さを表わす桁方向の最大印刷範囲データが
RAM8のBレジスタに格納される。
In step S28, the size of the print data expanded in the print buffer 9 in the x-direction is detected and stored in the RAM.
8 are stored in the X register. In step S29, the maximum print range data in the digit direction representing the maximum print length in the sticker print obtained in step S20 is stored in the B register of the RAM 8.

【0028】ステップS30ではx方向の印刷開始位置
を示す印刷開始x座標をX1レジスタにセットする。こ
の実施例では、印刷開始x座標を座標「0」とするの
で、X1レジスタに“0”を記憶する。
In step S30, the print start x coordinate indicating the print start position in the x direction is set in the X1 register. In this embodiment, since the print start x coordinate is the coordinate "0", "0" is stored in the X1 register.

【0029】ステップS31において、x方向の印刷終
了位置を示す印刷終了X座標をX2レジスタにセットす
る。この場合、Xレジスタに記憶された印刷データのx
方向のサイズと、Bレジスタに記憶された最大印刷長さ
とを比較し、小さい方のデータを印刷終了x座標として
X2レジスタに記憶する。
In step S31, the print end X coordinate indicating the print end position in the x direction is set in the X2 register. In this case, x of the print data stored in the X register
The size in the direction is compared with the maximum print length stored in the B register, and the smaller data is stored in the X2 register as the print end x coordinate.

【0030】ステップS32では印刷バッファ9に展開
された印刷データを印刷制御部10を介してプリンタ1
1に出力し、シールに対する印刷を行なわせる。このス
テップS32の実行により図5のシール印刷処理が終了
するので、図3における全体の処理も終了する。
In step S32, the print data expanded in the print buffer 9 is transferred to the printer 1 via the print control unit 10.
Output to 1 to print on the sticker. Since the sticker printing process in FIG. 5 is completed by executing step S32, the entire process in FIG. 3 is also completed.

【0031】この結果、図8に示すように、シール印刷
における印刷開始位置と印刷終了位置が演算され、この
範囲に対応する印刷データだけがプリンタ11により印
刷される。
As a result, as shown in FIG. 8, the print start position and the print end position in sticker printing are calculated, and only the print data corresponding to this range is printed by the printer 11.

【0032】[0032]

【発明の効果】以上詳述したように、本発明によれば、
シール印刷を行なう場合に、試し印刷等の確認作業を行
なうことなく、どの位の文書データがシールに印刷可能
であるかを簡単に確認できる。
As described in detail above, according to the present invention,
When sticker printing is performed, it is possible to easily check how much document data can be printed on the sticker without performing confirmation work such as trial printing.

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

【図1】本実施例の文書処理装置の回路ブロック図であ
る。
FIG. 1 is a circuit block diagram of a document processing apparatus of this embodiment.

【図2】ROM6に記憶されたシールデータの例を示す
図である。
FIG. 2 is a diagram showing an example of sticker data stored in a ROM 6.

【図3】本実施例における全体の動作を示すフローチャ
ートである。
FIG. 3 is a flowchart showing the overall operation of this embodiment.

【図4】図3におけるシール印刷可能範囲演算処理の詳
細な動作を示すフローチャートである。
FIG. 4 is a flowchart showing a detailed operation of sticker printable range calculation processing in FIG.

【図5】図3におけるシール印刷処理の詳細な動作を示
すフローチャートである。
5 is a flowchart showing a detailed operation of sticker printing processing in FIG.

【図6】シール印刷可能な印刷行数および印刷桁数の表
示例を示す図である。
FIG. 6 is a diagram showing a display example of the number of print lines and the number of print digits that can be used for sticker printing.

【図7】シール印刷可能な印刷行数および印刷桁数を印
刷可能範囲枠の表示で表わす表示例を示す図である。
FIG. 7 is a diagram showing a display example in which the number of print lines and the number of print digits that can be printed on a sticker are displayed by displaying a printable range frame.

【図8】印刷データと印刷範囲との関係を示す図であ
る。
FIG. 8 is a diagram showing a relationship between print data and a print range.

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

1 キー入力部 2 CPU 3 表示部 6 ROM 7 文書エリア 8 RAM 9 印刷バッファ 11 プリンタ 1 key input part 2 CPU 3 display part 6 ROM 7 document area 8 RAM 9 print buffer 11 printer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】少なくとも行ピッチおよび桁ピッチを含む
書式情報を記憶する手段と、文書データが印刷される印
刷媒体の幅を記憶する手段と、上記印刷媒体における最
大印刷長さを記憶する手段と、上記書式情報,上記印刷
媒体の幅,および上記最大印刷長さに基づいて、上記印
刷媒体に印刷可能な文書データの印刷行数および印刷桁
数を演算する手段と、演算された上記印刷行数および印
刷桁数を表示する手段とを具備したことを特徴とする文
書処理装置。
1. A means for storing format information including at least a line pitch and a digit pitch, a means for storing a width of a print medium on which document data is printed, and a means for storing a maximum print length on the print medium. Means for calculating the number of print lines and the number of print digits of the document data that can be printed on the print medium based on the format information, the width of the print medium, and the maximum print length, and the calculated print line A document processing apparatus comprising: a unit for displaying the number and the number of print digits.
JP5029137A 1993-02-18 1993-02-18 Document processor Pending JPH06243134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5029137A JPH06243134A (en) 1993-02-18 1993-02-18 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5029137A JPH06243134A (en) 1993-02-18 1993-02-18 Document processor

Publications (1)

Publication Number Publication Date
JPH06243134A true JPH06243134A (en) 1994-09-02

Family

ID=12267899

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5029137A Pending JPH06243134A (en) 1993-02-18 1993-02-18 Document processor

Country Status (1)

Country Link
JP (1) JPH06243134A (en)

Similar Documents

Publication Publication Date Title
US5871293A (en) Tape printer
JPH08183222A (en) Printer and display
US5331337A (en) Data processing apparatus with self-repeat function
JPH06243134A (en) Document processor
JP2879757B2 (en) Printing equipment
JP3597038B2 (en) Character information processing device
JPS62255175A (en) Standardized format printer
JP2002254715A (en) Printer for tape-like printing medium
JPH0373374A (en) Image forming device
JP2993034B2 (en) Document processor with help information display function
JP3448968B2 (en) Sentence processing equipment
JPH0635903A (en) Document processor with printing correction mode
JP3463268B2 (en) Printed data development device
TW200532566A (en) System, method, and program for generating barcode data
JP2903516B2 (en) Document processing device
JPS62204368A (en) Character processor
JPS63307976A (en) Recorder
JPH0462089B2 (en)
JP2001293910A (en) Tape printer
JPH07125310A (en) Printer
JPH0422653A (en) Printer
JPH08287047A (en) Document data output device
JPS62131322A (en) Word processor
JPH0557964A (en) Printer
JPH0580953A (en) Method and device for printing