JPS59135539A - Print controller - Google Patents

Print controller

Info

Publication number
JPS59135539A
JPS59135539A JP58008980A JP898083A JPS59135539A JP S59135539 A JPS59135539 A JP S59135539A JP 58008980 A JP58008980 A JP 58008980A JP 898083 A JP898083 A JP 898083A JP S59135539 A JPS59135539 A JP S59135539A
Authority
JP
Japan
Prior art keywords
output
margin
subtractor
characters
character
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
JP58008980A
Other languages
Japanese (ja)
Other versions
JPH0113567B2 (en
Inventor
Kazuhiko Shiono
塩野 一彦
Toshiharu Tanaka
田中 利晴
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.)
Sanyo Electric Co Ltd
Sanyo Denki Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Sanyo Denki 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 Sanyo Electric Co Ltd, Sanyo Denki Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP58008980A priority Critical patent/JPS59135539A/en
Publication of JPS59135539A publication Critical patent/JPS59135539A/en
Publication of JPH0113567B2 publication Critical patent/JPH0113567B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers

Abstract

PURPOSE:To improve the operability in terms of print conditions by calculating the relation to the paper width and displaying the margin value when the left/ right margins, the number of characters and the character pitch are given as the print conditions. CONSTITUTION:The left margin L, the right margin R, the number of characters of a line N and the character pitch P stored in a memory means 12 are transferred to registers 13-16 respectively. An adder 17 adds both margins L and R together and supplies this sum to an input terminal of a subtractor 21. A multiplier 18 multiplies the number N by the pitch P and supplies the result of this multiplication to both a comparator 23 and a subtractor 22. A subtraction (B- A) is carried out by the subtractor 21 between the output A of the multiplier 18 and the paper width B. The comparator 23 decides whether the amounts of left and right margins are insufficient. Then the output of the subtractor 22 is displayed in the form of the possible maximum margin amount.

Description

【発明の詳細な説明】 げ)産業上の利用分野 本発明は日本語ワードプロセッサ等の文書処理装置(二
おいて有用な印刷制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (g) Field of Industrial Application The present invention relates to a print control device useful in document processing devices such as Japanese word processors (ii).

(ロ)従来技術 日本語ワードプロセッサ等の文書処理装置(二おいては
一旦作成しフロッピィディスク等の記憶手段ζ二格納さ
れた文書ヲ所望の用紙に印刷されるようになっている。
(b) Prior Art Document processing devices such as Japanese word processors (ii) documents that are once created and stored in a storage device such as a floppy disk are printed on desired paper.

斯る印刷(二おいては第1図に示す如く、紙面(100
)における印刷領域(図中点線枠内)Z規定する左マー
ジンL、右マージンR1上マージンU、下マージンD及
び隣iする文字の中心間距離となる文字ビツナP等の予
め設定された印刷条件に基づいて行なう。
Such printing (in the second case, as shown in Figure 1, the paper surface (100
) in the print area (within the dotted line frame in the figure) Z defined by left margin L, right margin R1, top margin U, bottom margin D, and preset printing conditions such as character bitna P, which is the distance between the centers of adjacent characters i. Based on

上記各マージンの設定は単(二糊代を形成するだけでは
なく、印刷された文書のデザイン性等ビも考慮される。
The settings of each of the above-mentioned margins are not limited to simply forming a glue margin, but also take into consideration the design of the printed document.

然るに用紙幅B、左右マージンLR,1行の文字数N1
文字ピップPが B−(L+R)<NXP・      (11となると
、1行(二文字N個を印刷することが不可能となる。
However, paper width B, left and right margins LR, number of characters in one line N1
When the character pip P becomes B-(L+R)<NXP・(11), it becomes impossible to print one line (two characters N pieces).

従来のこの種装置では、単に「用紙幅が不足しています
」とか「マージンを小さくして下さい」といった曖昧な
表現でしか警告が与えられていなかった。従ってこのよ
うな場合、マージン値ン適当C二変更する必要があり、
かつ斯る変更は複数回やらなければならず、非常に操作
性が悪かった。
In conventional devices of this type, warnings were given only with ambiguous expressions such as ``Paper width is insufficient'' or ``Please reduce the margins.'' Therefore, in such a case, it is necessary to change the margin value appropriately.
In addition, such changes had to be made multiple times, resulting in very poor operability.

(ハ)発明の目的 本発明は斯る点に鑑みてなされたもので、上記(11の
条件となったとき左右マージンの最大値を表示すること
によりマージンの変更が一回の操作で確実(二行える印
刷制御装置を提供せんとするものである。
(c) Purpose of the Invention The present invention has been made in view of the above-mentioned points. By displaying the maximum value of the left and right margins when the above condition (11) is met, the margins can be changed reliably in a single operation ( The present invention aims to provide a printing control device that can perform two functions.

に)発明の構成 第2図は本発明の印刷制御装置の基本的構成を示し、(
1)は既成文41F+’印刷するための印刷条件として
左マージンL、右マージンR,1行の文字数N1文字ピ
ップPが少なくとも格納された記憶手段、(2)は印刷
用紙の幅Bを設定するための用紙幅設定手段、(3)は
加算手段、(4)は乗算手段、(5)(61は第1、第
2減算手段、(7)は比較手段、(8)はメツセージ出
力手段、(9)は上記各手段の制御を可る制御手段であ
り、上記加算手段(3)C二より上記左右マージンLR
の和Aを、上記乗算手段(4)により上記文字数Nと文
字eツブPとの積M、ン、上記第1減算手段(5)(二
より上記和Aと幅Bとの差S1’4、上記第21成算手
段(6)により上記積Mと幅Bとの差S2を夫々求める
と共に上記比較手段(7)(二より上記積Mと差S1と
を比較し、斯る比較結果信号dに基づいて上記差S2を
メツセージ出力手段(8)(−より出力する。
2) Structure of the Invention FIG. 2 shows the basic structure of the printing control device of the present invention.
1) is a storage means that stores at least the left margin L, right margin R, number of characters in one line N1 character pips P as printing conditions for printing the ready-made text 41F+', and (2) is to set the width B of the printing paper. (3) is an addition means, (4) is a multiplication means, (5) (61 is a first and second subtraction means, (7) is a comparison means, (8) is a message output means, (9) is a control means that can control each of the above-mentioned means, and from the above-mentioned adding means (3) C2, the above-mentioned left and right margin LR
The sum A of the above is calculated by the multiplication means (4) as the product M of the number of characters N and the character e-tube P, and then the first subtraction means (5) (2) calculates the difference between the sum A and the width B as , the 21st computation means (6) calculates the difference S2 between the product M and the width B, and the comparison means (7) (2) compares the product M and the difference S1, and outputs the comparison result signal. Based on d, the difference S2 is output from the message output means (8) (-).

尚、図中01乃至C8は制御手段(1)から出力される
制御信号である。
Note that 01 to C8 in the figure are control signals output from the control means (1).

鯵l実施例 第3図は5本発明の一実施例〉示し、tillはマイク
ロコンピュータ等からなる制御部であり、該制御部は内
部(二格納された制御プログラムに従って制御信号C1
乃至01hを出力することにより以下に説明する各手段
の制御を司る。
Embodiment FIG. 3 shows an embodiment of the present invention, in which "till" is a control section composed of a microcomputer, etc., and the control section receives the control signal C1 according to the control program stored in the internal (2).
By outputting 01h to 01h, control of each means described below is controlled.

0zは例えばフロッピィディスク等からなる大容量の記
憶手段であり、該記憶手段C二は一連の文字ボードから
なる既成の文書及び斯る文書の印刷条件としての左マー
ジンL、右マージンR,1行の文字数N、文字ピップP
等が格納されている。また斯る記憶内容は制御信号01
により読み出される。
0z is a large-capacity storage device such as a floppy disk, and the storage device C2 stores a ready-made document consisting of a series of character boards, and the printing conditions for such a document such as left margin L, right margin R, and one line. Number of characters N, character pips P
etc. are stored. Moreover, such memory contents are controlled by control signal 01.
It is read by.

u3〜αeは第1〜第4レジスタであり、該レジスタ(
:は制御信号01により記憶手段(12+から読み出さ
れた左上−ジンL1右マージンR1文字数N。
u3 to αe are the first to fourth registers, and the registers (
: is the upper left margin L1 right margin R1 number N of characters read from the storage means (12+) by the control signal 01.

文字ピップPが夫々格納される。Character pips P are stored respectively.

(l?)は加算器であり、該加算器は制御信号02に基
づいて第1、第2レジスタ(131(141の内容!加
算し、その和Aを出力する。
(l?) is an adder, which adds the contents of the first and second registers (131 (141)) based on the control signal 02, and outputs the sum A.

αQは乗算器であり、該乗算器は制御信号03に基づい
て第3、第4レジスタQ51(161の内容ン乗算処理
しその積MY出力する。
αQ is a multiplier, which multiplies the contents of the third and fourth registers Q51 (161) based on the control signal 03 and outputs the product MY.

(19)ま印刷手段としてのプリンタであり、該プリン
タ(:は用紙の幅音検出する用紙幅設定手段(4)が装
着されている。斯る手段(2)は例えば用紙の幅方向の
両端を検出する複数のフォトセンサと該フォトセンサの
出力信号に基づいて用紙幅Bt演算出力する回路等で構
成できる。また斯る手段CCは制御信号04(二より動
作し、プリンタa9の通常の印刷動作は制御信号011
により行われる。
(19) This printer is a printing means, and the printer (: is equipped with a paper width setting means (4) for detecting the paper width sound. Such means (2) is for example used to set paper width at both ends of the paper in the width direction. It can be composed of a plurality of photosensors for detecting the paper width Bt and a circuit for calculating and outputting the sheet width Bt based on the output signals of the photosensors.The means CC is activated by the control signal 04 (2) and performs the normal printing of the printer a9. Operation is controlled by control signal 011
This is done by

(2Dは第1減算器であり、該減算器は制御信号C6(
:基づいて、加算器0ηの出力Aと用紙幅設定手段(至
)の出力Bとの間で“B−A“という減算処理を行ない
、その結果S1を出力する。
(2D is the first subtractor, and the subtractor is connected to the control signal C6(
: Based on this, a subtraction process called "B-A" is performed between the output A of the adder 0η and the output B of the paper width setting means (to), and the result S1 is output.

のは第2誠算器であり、該減算器は制御信号07に基づ
いて乗算器+181の出力Mと用紙幅設定手段□□□の
出力Bとの間で’B−M・という減算処理7行ない、そ
の結果82ン出力する。
is a second subtractor, which performs a subtraction process 7 called 'B-M' between the output M of the multiplier +181 and the output B of the paper width setting means □□□ based on the control signal 07. The result is 82 outputs.

(ハ)は比較器であり、該比較器は制御信号08(=基
づいて′i!111減算器Qυの出力S1と乗算器(1
(至)の出力Mとを比較する。斯る比較において“S1
≧M“のとき1:はo”v、  “81<M・のとき(
二は“1″を夫々制御部a℃に比較結果信号dとして出
力する。
(c) is a comparator, which is connected to the output S1 of the subtractor Qυ of 'i!111 and the multiplier (1
Compare the output M of (to). In such a comparison, “S1
When ≧M”, 1: is o”v, when “81<M・(
2 outputs "1" to each control unit a.degree. C. as a comparison result signal d.

(至)はメツセージ出力手段であり、該手段はメツセー
ジ格納部(ハ)、′@1、第2アンドデー) (2m(
27)、合成器□□□、ORTディスプレイ191から
なり、夫々制御信号C5,09、Ct101’:より動
作する。斯る出力手段では制御信号09によりメツセー
ジ格納部(ハ)(:格納されているデータが巣1アンド
ゲートCaの一方の端子に出力され、制御信号05によ
り第1、第2アンドゲート(2f9(27Jがオンされ
ること(二より斯るゲートを夫々介して、メツセージ格
納部(251より出力されたデータ及び第2減算器(2
2iの出力S2が合成器(28)に出力され、次いで制
御信号ClO4二より上記両データは合成器(281+
=おいて合成されると共(二ORTディスプレイ(20
1に表示出力される。
(To) is a message output means, and this means is a message storage part (C),'@1, 2nd ANDD) (2m(
27), a synthesizer □□□, and an ORT display 191, which are operated by control signals C5, 09 and Ct101', respectively. In such an output means, the data stored in the message storage part (c) (:) is outputted to one terminal of the nest 1 AND gate Ca by the control signal 09, and the data stored in the message storage part (c) (:) is outputted to one terminal of the first and second AND gate (2f9( 27J is turned on (the data output from the message storage section (251) and the second subtractor (2
The output S2 of 2i is output to the combiner (28), and then both of the above data are sent to the combiner (281+) by the control signal ClO42.
= (two ORT displays (20
1 is displayed and output.

clOlは記憶手段C21内の既成文書を構成する文字
コード列ケ一時記憶する文書メモリであり、該メモリは
半導体RAM(ランダムアクセスメモリ)等の高連メモ
リで構成される。ま、た上記文字コード列の格納は制御
信号C1が記憶手段(121及び文書メモリ(二人力さ
れること4−より行われる。clllは上記文字コード
C二対応したパターンをプリンタ(1引二出力するキャ
ラクタゼネレータである。斯る文書メモリ図、キャラク
タゼネレータC311及びプリンタ(1鐘は制御信号C
t11により、文舊メモリ(q内の文字コードを順次キ
ャラクタゼネレータC31+でパターン(=変換し、斯
るパターンンプリンタ(lっで出力する。
clOl is a document memory that temporarily stores the character code strings constituting the existing document in the storage means C21, and this memory is constituted by a high-speed memory such as a semiconductor RAM (random access memory). In addition, the storage of the above character code string is performed by the control signal C1 from the storage means (121) and the document memory (4-). This document memory diagram, character generator C311 and printer (1 bell is a control signal C
At t11, the character codes in the character memory (q) are sequentially converted into a pattern by the character generator C31+, and outputted by the pattern printer (l).

次(二制御部αBに格納された制御プログラムのフロー
デャートを示す第4図を用いて@6図の装置の動作を説
明する。尚上記制御プログラムの実行開始は図示してい
ないがキーボード等の入力手段から制御部011に与え
られる信号により行われる。
Next (2) The operation of the device shown in Fig. 6 will be explained using Fig. 4 which shows a flow chart of the control program stored in the control unit αB.The execution start of the above control program is not shown, but the input from the keyboard etc. This is performed by a signal given to the control unit 011 from the means.

まずS1ステツプでは制御信号C1、C4に基づいてデ
ータ書込み及び用紙幅検出がなされる。
First, in step S1, data writing and paper width detection are performed based on control signals C1 and C4.

具体的には制御信号01に基づいて予め記憶手段021
に格納されている左マージンL、右マージンR11行の
文字数N1文字ピップP及び一連の文字コードが第1乃
至第4レジスタt13i〜側及び文書メモリ001に夫
々読み出され格納され、かつ制御信号04(二基づいて
用紙幅設定手段ρO)においてプリンタri□□□にセ
ットされた用紙の幅Bが検出される。尚このとき左マー
ジンL、右マージンR,1行の文字数N、文字とツテP
は印刷条件としてプリンタa9(二も出力される。
Specifically, the storage means 021 is stored in advance based on the control signal 01.
The left margin L, the number of characters N1 characters pip P in the 11th line of the right margin R, and a series of character codes stored in the 11th line are read out and stored in the first to fourth registers t13i and the document memory 001, respectively, and the control signal 04 (2) Based on the paper width setting means ρO, the width B of the paper set in the printer ri□□□ is detected. At this time, the left margin L, the right margin R, the number of characters in one line N, and the characters and
is also output to printer a9 (2) as the printing condition.

S2ステツプでは制御信号02.064二基づいて加算
器t11)及び乗算器α1二おいて夫々加算処理及び乗
算処理が実行される。加算処理は第1、第2レジスタ1
13+141に夫々格納されている左マージンL。
In step S2, addition processing and multiplication processing are performed in the adder t11) and the multiplier α12, respectively, based on the control signal 02.0642. Addition processing is performed in the first and second registers 1
Left margin L stored in 13+141, respectively.

右マージンRを加算器(17)で加算し、その和Aは第
1城算器12Dの一方の入力端子に出力される。また乗
算処理は第3、第4レジスタII 5)(L■に夫々格
納され”〔いる文字数にと文字ピッチPとを乗l!S器
(LF9において乗算し、その結果Mは比較器(ハ)及
び第2減算器+221の一方の入力端子(=出力される
The right margin R is added by an adder (17), and the sum A is output to one input terminal of the first calculator 12D. The multiplication process is performed by multiplying the number of characters stored in the third and fourth registers II 5) (L) by the character pitch P. The result M is multiplied by the character pitch P. ) and one input terminal of the second subtractor +221 (=output).

S6ステツプでは制御信号06,07に基づいて第1、
)242減算器c11+2:aにおいて夫々第1、第2
域算処理が実行される。第1城算処理は加算器Onの出
力Aと用紙幅Bとを第1減算器1211+−おいて“B
−A”という減算を行ない、その結果81を比較器(2
4の一方の入力端子に出力する。第2誠算処理は乗算器
08の出力Mと用紙幅Bとを第2減算器Clシロおいて
“B−M・という法界を行ない、その結果S2を第2ア
ンドゲートρeの一方の入力端子に出力する。
In step S6, the first,
) 242 subtractor c11+2: the first and second subtracters in a, respectively.
Area calculation processing is executed. In the first arithmetic process, the output A of the adder On and the paper width B are combined into the first subtractor 1211+- and "B"
-A” and the result 81 is sent to the comparator (2
Output to one input terminal of 4. In the second calculation process, the output M of the multiplier 08 and the paper width B are put into the second subtractor Cl to perform the modulus "B-M", and the result S2 is sent to one input terminal of the second AND gate ρe. Output to.

S4ステツプでは制御信号c白に基づいて比較処理ン行
なう。斯る比較処理は乗算結果Mと第1減算結果S1と
を比較器(ハ)において比較し、“S1≧M鞠のときに
は“Qa−2,“81(M“のときC:は“1・を夫々
比較結果信号C′として制御部aυに出力する。
In step S4, comparison processing is performed based on the control signal c (white). In such a comparison process, the multiplication result M and the first subtraction result S1 are compared in a comparator (c). are outputted to the control unit aυ as comparison result signals C', respectively.

S5ステツプでは比較器例より出力される比較結果信号
dが“0・か°1・かを制御部aυにおいて識別する。
In step S5, the control unit aυ determines whether the comparison result signal d output from the comparator is "0" or "1".

この結果斯る信号が“0・のとき処理はS6ステツプに
進み、また“1・のとき処理は87ステツプに進む。
As a result, when the signal is "0", the process proceeds to step S6, and when it is "1", the process proceeds to step 87.

S6ステツプでは制御信号o11(二基づいてプリンタ
(11が印刷動作を開始する。斯る印刷動作はキャラク
タゼネレータG11から送られてくるパターンを左右マ
ージンLR1文字数N1文字ピッチP等の印刷条件C;
鰐応して行なう通常の印字処理である。
In step S6, the printer (11) starts a printing operation based on the control signal o11 (2). This printing operation uses the pattern sent from the character generator G11 according to printing conditions C such as left and right margins LR1 number of characters N1 character pitch P;
This is a normal printing process carried out in response to alligators.

またS7ステップでは制御信号05、C9、O10(二
基づいて以下のメツセージ出力手段がなされる。制御信
号C9によりメツセージ格納部+25) C予め格納さ
れていたデータが第1アントゲ−H6)の一方の入力端
子(二出力され、かつ制御信号05(二より第1、第2
アンドゲートC2明2Dが共(二開となり、上記データ
及び第2減算結果S2が上記両ゲートを夫々通って合成
器(2引二人力される。また斯る合成器(281に入力
された両信号は制御信号010(二基づいて合成器(2
&内で合成されORTディヌブレイ(2J(=表示出力
され処理は終了する。
Further, in step S7, the following message output means is performed based on the control signals 05, C9, and O10 (2).The control signal C9 causes the message storage section +25 to be transferred to one of the first game H6). Input terminal (2 outputs, and control signal 05 (1st, 2nd from 2)
The AND gates C2 and 2D are both opened (2 open), and the above data and the second subtraction result S2 are passed through the above two gates respectively and are input to the synthesizer (2 minus 2). The signal is sent to the synthesizer (2) based on the control signal 010 (2).
& is synthesized and ORT Dinubrei (2J (=display output) and the process ends.

次に上記動作の理解をより簡単にするために左右マージ
ンLR1文字数N1文字ピップP及びプリンタHζニセ
ットされている用紙の幅Bが下記[11(11)の条件
のときの処理動作を具体的に説明する。
Next, in order to make the above operation easier to understand, we will specifically explain the processing operation when the left and right margins LR 1 number of characters N 1 character pip P and printer Hζ width B of the set paper meet the following conditions [11 (11)] explain.

尚このときメツセージ格納部(29(二は「左右マージ
ンの合計値YXXmm以下として下さい」・・・山とい
うメツセージがデータとして格納されているものとする
At this time, it is assumed that the message storage section 29 (2 is ``Please keep the total value of the left and right margins below YXX mm''... the message ``Mountain'' is stored as data.

tll  B−(L+R)<NXP このときSl乃至S4ステツプにおいて記憶手段l′1
21より弔1乃至゛第4レジスタ(131−住6)に左
右マージンLR1文字数N、文字ピップPが夫々格納さ
れ、かつ用紙幅Bも検出されると共に、加算器任n。
tll B-(L+R)<NXP At this time, in steps Sl to S4, storage means l'1
21, the left and right margins LR1, the number of characters N, and the character pip P are stored in the fourth registers (131-6), respectively, and the paper width B is also detected, and the adder n is stored.

乗算器(181,第1、第2減算器12胚渇及び比較器
1231において夫々′L+R′、−NXP”、−B−
A”。
In the multiplier (181, first and second subtractor 12 and comparator 1231, 'L+R', -NXP'', -B-
A”.

“B−M・、“81>M・が演算処理され、比較器C(
至)の出力である比較結果信号C′は制御部Ql)へ、
また第2減算器(221の出力s2は一5182アンド
ゲート07)に夫々出力される。次いでS5ステツプに
おいて比較結果信号C1の値が“0°か“1・かの判定
が行われるが、この場合“B−(L+R)<NXPoで
あるので斯る結果は“1“であり、従って処理はS7ス
テップに進み終了する。S7ステツプではメツセージ格
納部C51に格納された上記山のメツセージと第2減算
器(22の出力S2とが合成器+21Dにおいて合成さ
れ、CRTディスプレイ伐9)(二「左右マージンの合
計値’t’82mm以下として下さい」というように表
示される。
“B-M・,”81>M・ are processed, and the comparator C(
The comparison result signal C', which is the output of
Further, the output s2 of the second subtractor (221 is outputted to the AND gate 07). Next, in step S5, it is determined whether the value of the comparison result signal C1 is "0°" or "1." In this case, since "B-(L+R)<NXPo", the result is "1", and therefore The process proceeds to step S7 and ends. In step S7, the message of the mountain stored in the message storage section C51 and the output S2 of the second subtractor (22) are combined in the combiner +21D, and the message is displayed on the CRT display (9) (second subtractor). The message "Please keep the total value of left and right margins 't' below 82 mm" is displayed.

11i1  B−(L+n)≧Nxp このとき、Sl乃至S4ステツプでの処理は上記(1)
の条件の場合と同一であるので説明を省略する。斯る条
件では比較結果信号Qlが“01となるので85ステツ
プから86ステツプに進み通常の印字処理7行なう。
11i1 B-(L+n)≧Nxp In this case, the processing in steps Sl to S4 is as described in (1) above.
Since the conditions are the same as in the case of , the explanation will be omitted. Under such conditions, the comparison result signal Ql becomes "01", so the process proceeds from step 85 to step 86 and normal printing process 7 is performed.

このよう(二本実施例装置ではプリンタにセットされた
用紙幅B、印刷条件としての左右マージンLR,文字数
N1文字ピッチPより最大可能な左右マージンLRの合
計値ンORTディスプレイ(二表示するので、斯る表示
(二基づいて左右マージンLRを決定することが可能と
なる。
In this example, the total value of the maximum possible left and right margins LR from the paper width B set in the printer, the left and right margins LR as printing conditions, the number of characters N1 and the character pitch P is displayed on the ORT display (2). It becomes possible to determine the left and right margins LR based on such display.

尚、本実施例では印刷用紙幅をプリンタ0に内蔵された
用紙幅設定手段(2■を用いて検出したが、キーボード
等の入力手段により手動で入力し、斯る入力値(二基づ
いてS3ステツプ以下の処理を行なうようC:構成して
もよい。
In this embodiment, the printing paper width was detected using the paper width setting means (2) built into the printer 0, but it was manually input using an input means such as a keyboard, and the input value (2) was detected based on the input value (2). C: may be configured to perform the processing below step.

また本実施例では用紙幅の不足分’10RTディスプレ
イ(29j上で表示するようにしたが、これンディスプ
レイ表示C二換えて音声出力手段等(二より報知するよ
うC二構成してもよい。
Further, in this embodiment, the shortage of paper width is displayed on the RT display (29j), but the display C2 may be replaced with an audio output means (29j) to notify the user.

更(:、本実施例では制御部0111第1〜第4レジヌ
タ13〜([6)、加算器fi71.乗算器08)、第
1、第2減算器圓ノ、比較器(2本?別個の構成とした
が、これらZマイクロコンピュータによりワンチップで
構成してもよい。
Furthermore, in this embodiment, the control unit 0111, the first to fourth registers 13 to ([6), the adder fi71, the multiplier 08), the first and second subtractors, and the comparators (two? Separate However, it may be constructed as a single chip using these Z microcomputers.

(へ)効 果 本発明の印刷制御装置では左右マージンの可能最大合計
値が表示されるため斯るマージンの変更C二際して非常
に荷動である。
(F) Effect: Since the printing control device of the present invention displays the maximum possible total value of the left and right margins, changing such margins is extremely difficult.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は印刷条件を説明するための模倣図、第2図は本
発明の印刷制御装置の基本的構成を示すブロック図、第
3図は本発明の一実施例を示すブロック図、第4図は第
6図の実施例の動作を説明するためのプローチヤードで
ある。 (1)・・・記憶手段、(2)・・・用紙幅設定手段、
(3)・・・加算手段、(4)・・・乗算手段、(5H
61・・・第1、第2減算手段、(7)・・・比較手段
、(8)・・・メツセージ出力手段、(9)・・・制御
手段。
FIG. 1 is an imitation diagram for explaining printing conditions, FIG. 2 is a block diagram showing the basic configuration of the printing control device of the present invention, FIG. 3 is a block diagram showing an embodiment of the present invention, and FIG. The figure shows a approach yard for explaining the operation of the embodiment shown in FIG. (1)...Storage means, (2)...Paper width setting means,
(3)...addition means, (4)...multiplication means, (5H
61...First and second subtraction means, (7)...Comparison means, (8)...Message output means, (9)...Control means.

Claims (1)

【特許請求の範囲】[Claims] (1)  既成文書を印刷するための印刷条件として左
マージンL、右マージンR,1行の文字数N1文字ピッ
プPが少なくとも格納された記憶手段、印刷用紙の幅3
g設定するための用紙幅設定手段、加算手段、乗算手段
、弗1、第2減算手段、比較手段、メツセージ出力手段
、上記各手段の制御を司る制御手段を備え、上記加算手
段C:より上記左右マージンLRの和Aを、上記乗算手
段(二より上記文字数Nと文字ピップPとの積Mを、上
記第1減算手段(二より上記和Aと幅Bとの差S1i、
上記第2減算手段(二より上記積Mと幅Bとの差S2を
夫々求めると共に上記比較手段により上記積Mと差81
とを比較し、斯る比較結果に基づいて上記差82をメツ
セージ出力手段(:より出力することを特徴とする印刷
制御装置。
(1) Storage means that stores at least the left margin L, the right margin R, the number of characters in one line N1 character pips P, and the width 3 of the printing paper as printing conditions for printing an existing document.
a paper width setting means for setting g, an addition means, a multiplication means, a second subtraction means, a comparison means, a message output means, and a control means for controlling each of the above means; The sum A of the left and right margins LR is calculated by the multiplication means (from 2), the product M of the number of characters N and the character pip P by the first subtraction means (from 2, the difference S1i between the sum A and the width B,
The second subtraction means (2) calculates the difference S2 between the product M and the width B, and uses the comparison means to calculate the difference S2 between the product M and the width B.
and outputs the difference 82 from a message output means (:) based on the comparison result.
JP58008980A 1983-01-21 1983-01-21 Print controller Granted JPS59135539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58008980A JPS59135539A (en) 1983-01-21 1983-01-21 Print controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58008980A JPS59135539A (en) 1983-01-21 1983-01-21 Print controller

Publications (2)

Publication Number Publication Date
JPS59135539A true JPS59135539A (en) 1984-08-03
JPH0113567B2 JPH0113567B2 (en) 1989-03-07

Family

ID=11707833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58008980A Granted JPS59135539A (en) 1983-01-21 1983-01-21 Print controller

Country Status (1)

Country Link
JP (1) JPS59135539A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62128327A (en) * 1985-11-29 1987-06-10 Sharp Corp Print area setting system
JPS631236U (en) * 1986-06-18 1988-01-07

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5759792A (en) * 1980-09-29 1982-04-10 Canon Inc Output apparatus
JPS5789182A (en) * 1980-11-21 1982-06-03 Sharp Corp Bound book printing control system of word processor
JPS57131585A (en) * 1981-02-06 1982-08-14 Brother Ind Ltd Typewriter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5759792A (en) * 1980-09-29 1982-04-10 Canon Inc Output apparatus
JPS5789182A (en) * 1980-11-21 1982-06-03 Sharp Corp Bound book printing control system of word processor
JPS57131585A (en) * 1981-02-06 1982-08-14 Brother Ind Ltd Typewriter

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62128327A (en) * 1985-11-29 1987-06-10 Sharp Corp Print area setting system
JPH058449B2 (en) * 1985-11-29 1993-02-02 Sharp Kk
JPS631236U (en) * 1986-06-18 1988-01-07

Also Published As

Publication number Publication date
JPH0113567B2 (en) 1989-03-07

Similar Documents

Publication Publication Date Title
JPS608980A (en) Electronic dictionary
JPH0523956B2 (en)
JPH0570175B2 (en)
JPS59135539A (en) Print controller
JPS59142643A (en) Designating device of print condition
JPS59133637A (en) Printing controller
JPH0733105B2 (en) Ruled line printing method
JPH0465259A (en) Printing machine with perfecting press
JP3663840B2 (en) Graph processing device
JPS6180294A (en) Multiscreen display unit
JP3148837B2 (en) Graph creation device
JPH06318201A (en) Table dividing method
JP2005223833A (en) Multifunctional printer device and image printing program
JPS594347Y2 (en) electronic register
JPS58101343A (en) Multiplication system
JPS63307976A (en) Recorder
JPS6367687B2 (en)
JPH03171195A (en) Memory display device of image data
JPH0470997A (en) Transaction processor
JPH11164127A (en) Image processor, and method and storage medium therefor
JPH0691991A (en) Electronic photography device
JPS58158766A (en) Automatic business form preparing device
JPS62238757A (en) Printing control system
JPH021676B2 (en)
JPS62241039A (en) Logic simulator