Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0113567B2 - - Google Patents
[go: Go Back, main page]

JPH0113567B2 - - Google Patents

Info

Publication number
JPH0113567B2
JPH0113567B2 JP58008980A JP898083A JPH0113567B2 JP H0113567 B2 JPH0113567 B2 JP H0113567B2 JP 58008980 A JP58008980 A JP 58008980A JP 898083 A JP898083 A JP 898083A JP H0113567 B2 JPH0113567 B2 JP H0113567B2
Authority
JP
Japan
Prior art keywords
output
margin
printing
width
characters
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.)
Expired
Application number
JP58008980A
Other languages
Japanese (ja)
Other versions
JPS59135539A (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
Original Assignee
Sanyo Electric 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 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 OR CALCULATING; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Document Processing Apparatus (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

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

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

斯る印刷においては第1図に示す如く、紙面1
00における印刷領域(図中点線枠内)を規定す
る左マージンL、右マージンR、上マージンU、
下マージンD及び隣接する文字の中心間距離とな
る文字ピツチP等の予め設定された印刷条件に基
づいて行なう。
In such printing, as shown in FIG.
Left margin L, right margin R, top margin U, which define the print area (within the dotted line frame in the figure) at 00,
This is performed based on preset printing conditions such as the lower margin D and the character pitch P, which is the distance between the centers of adjacent characters.

上記各マージンの設定は単に糊代を形成するだ
けではなく、印刷された文書のデザイン性等をも
考慮される。
Setting each of the above-mentioned margins not only forms a glue margin, but also takes into consideration the design of the printed document.

然るに用紙幅B、左右マージンLR、1行の文
字数N、文字ピツチPが B−(L+R)<N×P …(i) となると、1行に文字N個を印刷することが不可
能となる。
However, if the paper width B, left and right margins LR, number of characters per line N, and character pitch P become B-(L+R)<N×P...(i), it becomes impossible to print N characters on one line. .

このとき、従来のこの種装置では、例えば特開
昭57−59792号公報に開示されているように単に
エラーランプを点灯させることにより印刷が不可
能な旨を報知させたり、あるいは「用紙幅が不足
しています」とか「マージンを小さくして下さ
い」といつた曖昧な表現でしか警告が与えられて
いなかつた。このため、上記警告に応じて印刷可
能なマージン値に変更しようとする際、どの程度
にマージン値を変更すれば良いかが不明確であ
り、その結果、上記マージン値を変更したとして
も再び上記警告が生じることがあり、印刷可能と
するためのマージン値の変更を複数回繰り返さな
ければならないという問題があつた。
At this time, in conventional devices of this kind, for example, as disclosed in Japanese Patent Application Laid-Open No. 57-59792, a message indicating that printing is not possible is reported by simply lighting an error lamp, or a message indicating that printing is not possible is reported. Warnings were only given in vague terms such as "There is insufficient margin" or "Please reduce the margin." For this reason, when trying to change the margin values to printable ones in response to the above warning, it is unclear how much the margin values should be changed, and as a result, even if the above margin values are changed, the above There was a problem in that a warning may occur and margin values had to be changed multiple times to enable printing.

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

(ニ) 発明の構成 第2図は本発明の印刷制御装置の基本的構成を
示し、1は既成文書を印刷するための印刷条件と
して左マージンL、右マージンR、1行の文字数
N、文字ピツチPが少なくとも格納された記憶手
段、2は印刷用紙の幅Bを設定するための用紙幅
設定手段、3は加算手段、4は乗算手段、5,6
は第1、第2減算手段、7は比較手段、8はメツ
セージ出力手段、9は上記各手段の制御を可る制
御手段であり、上記加算手段3により上記左右マ
ージンLRの和Aを、上記乗算手段4により上記
文字数Nと文字ピツチPとの積Mを、上記第1減
算手段5により上記和Aと幅Bとの差S1を、上
記第2減算手段6により上記積Mと幅Bとの差S
2を夫々求めると共に上記比較手段7により上記
積Mと差S1とを比較し、斯る比較結果信号C′に
基づいて上記差S2をメツセージ出力手段8によ
り出力する。
(D) Structure of the Invention Figure 2 shows the basic structure of the print control device of the present invention, and 1 shows the printing conditions for printing an existing document: left margin L, right margin R, number of characters in one line N, characters. 2 is a paper width setting means for setting the width B of the printing paper; 3 is an addition means; 4 is a multiplication means; 5, 6
are first and second subtraction means, 7 is a comparison means, 8 is a message output means, and 9 is a control means capable of controlling each of the above means. The multiplication means 4 calculates the product M of the number of characters N and the character pitch P, the first subtraction means 5 calculates the difference S1 between the sum A and the width B, and the second subtraction means 6 calculates the product M and the width B. difference S
2 is determined respectively, and the comparison means 7 compares the product M with the difference S1, and the message output means 8 outputs the difference S2 based on the comparison result signal C'.

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

(ホ) 実施例 第3図は本発明の一実施例を示し、11はマイ
クロコンピユータ等からなる制御部であり、該制
御部は内部に格納された制御プログラムに従つて
制御信号C1乃至C11を出力することにより以
下に説明する各手段の制御を司る。
(E) Embodiment FIG. 3 shows an embodiment of the present invention, in which 11 is a control section consisting of a microcomputer, etc., and the control section sends control signals C1 to C11 according to an internally stored control program. The output controls the various means described below.

12は例えばフロツピイデイスク等からなる大
容量の記憶手段であり、該記憶手段には一連の文
字コードからなる既成の文書及び斯る文書の印刷
条件としての左マージンL、右マージンR、1行
の文字数N、文字ピツチP等が格納されている。
また斯る記憶内容は制御信号C1により読み出さ
れる。
Reference numeral 12 denotes a large-capacity storage means such as a floppy disk, and the storage means stores an existing document consisting of a series of character codes, a left margin L, a right margin R, and 1 as printing conditions for such a document. The number of characters in a line N, character pitch P, etc. are stored.
Further, the stored contents are read out by the control signal C1.

13〜16は第1〜第4レジスタであり、該レ
ジスタには制御信号C1により記憶手段12から
読み出された左マージンL、右マージンR、文字
数N、文字ピツチPが夫々格納される。
Reference numerals 13 to 16 are first to fourth registers, and the left margin L, right margin R, number of characters N, and character pitch P read out from the storage means 12 in response to the control signal C1 are stored in the registers, respectively.

17は加算器であり、該加算器は制御信号C2
に基づいて第1、第2レジスタ13,14の内容
を加算し、その和Aを出力する。
17 is an adder, and the adder receives the control signal C2.
The contents of the first and second registers 13 and 14 are added based on the sum A, and the sum A is output.

18は乗算器であり、該乗算器は制御信号C3
に基づいて第3、第4レジスタ15,16の内容
を乗算処理しその積Mを出力する。
18 is a multiplier, and the multiplier receives the control signal C3.
The contents of the third and fourth registers 15 and 16 are multiplied based on , and the product M is output.

19は印刷手段としてのプリンタであり、該プ
リンタには用紙の幅を検出する用紙幅設定手段2
0が装着されている。斯る手段20は例えば用紙
の幅方向の両端を検出する複数のフオトセンサと
該フオトセンサの出力信号に基づいて用紙幅Bを
演算出力する回路等で構成できる。また斯る手段
20は制御信号C4により動作し、プリンタ19
の通常の印刷動作は制御信号C11により行われ
る。
Reference numeral 19 denotes a printer as a printing means, and the printer includes paper width setting means 2 for detecting the width of paper.
0 is attached. Such means 20 can be composed of, for example, a plurality of photo sensors that detect both ends of the paper in the width direction, and a circuit that calculates and outputs the paper width B based on the output signals of the photo sensors. Further, such means 20 is operated by a control signal C4, and the printer 19
The normal printing operation is performed by the control signal C11.

21は第1減算器であり、該減算器は制御信号
C6に基づいて、加算器17の出力Aと用紙幅設
定手段20の出力Bとの間で“B−A”という減
算処理を行ない、その結果S1を出力する。
21 is a first subtracter, which performs a subtraction process called "B-A" between the output A of the adder 17 and the output B of the paper width setting means 20 based on the control signal C6, As a result, S1 is output.

22は第2減算器であり、該減算器は制御信号
C7に基づいて乗算器18の出力Mと用紙幅設定
手段20の出力Bとの間で“B−M”という減算
処理を行ない、その結果S2を出力する。
Reference numeral 22 denotes a second subtracter, which performs a subtraction process called "B-M" between the output M of the multiplier 18 and the output B of the paper width setting means 20 based on the control signal C7. Output the result S2.

23は比較器であり、該比較器は制御信号C8
に基づいて第1減算器21の出力S1と乗算器1
8の出力Mとを比較する。斯る比較において“S
1≧M”のときには“0”を、“S1<M”のと
きには“1”を夫々制御部11に比較結果信号
C′として出力する。
23 is a comparator, and the comparator receives the control signal C8.
The output S1 of the first subtractor 21 and the multiplier 1 based on
Compare the output M of 8. In such a comparison, “S
A comparison result signal is sent to the control unit 11 with “0” when “1≧M” and “1” when “S1<M”.
Output as C′.

24はメツセージ出力手段であり、該手段はメ
ツセージ格納部25、第1、第2アンドゲート2
6,27、合成器28、CRTデイスプレイ29
からなり、夫々制御信号C5,C9,C10によ
り動作する。斯る出力手段では制御信号C9によ
りメツセージ格納部25に格納されているデータ
が第1アンドゲート26の一方の端子に出力さ
れ、制御信号C5により第1、第2アンドゲート
26,27がオンされることにより斯るゲートを
夫々介して、メツセージ格納部25より出力され
たデータ及び第2減算器22の出力S2が合成器
28に出力され、次いで制御信号C10により上
記両データは合成器28において合成されると共
にCRTデイスプレイ29に表示出力される。
24 is a message output means, which includes a message storage section 25, first and second AND gates 2;
6, 27, synthesizer 28, CRT display 29
They are operated by control signals C5, C9, and C10, respectively. In such an output means, the data stored in the message storage section 25 is outputted to one terminal of the first AND gate 26 by the control signal C9, and the first and second AND gates 26 and 27 are turned on by the control signal C5. As a result, the data outputted from the message storage section 25 and the output S2 of the second subtracter 22 are outputted to the synthesizer 28 through these gates, and then both of the above data are outputted to the synthesizer 28 by the control signal C10. The images are synthesized and displayed on the CRT display 29.

30は記憶手段12内の既成文書を構成する文
字コード列を一時記憶する文書メモリであり、該
メモリは半導体RAM(ランダムアクセスメモリ)
等の高速メモリで構成される。また上記文字コー
ド列の格納は制御信号C1が記憶手段12及び文
書メモリに入力されることにより行われる。31
は上記文字コードに対応したパターンをプリンタ
19に出力するキヤラクタゼネレータである。斯
る文書メモリ30、キヤラクタゼネレータ31及
びプリンタ19は制御信号C11により、文書メ
モリ30内の文字コードを順次キヤラクタゼネレ
ータ31でパターンに変換し、斯るパターンをプ
リンタ19で出力する。
Reference numeral 30 denotes a document memory for temporarily storing character code strings constituting a ready-made document in the storage means 12, and this memory is a semiconductor RAM (random access memory).
Consists of high-speed memory such as Furthermore, the above character code string is stored by inputting the control signal C1 to the storage means 12 and the document memory. 31
is a character generator that outputs a pattern corresponding to the above character code to the printer 19. The document memory 30, character generator 31, and printer 19 sequentially convert the character codes in the document memory 30 into patterns in response to the control signal C11, and the printer 19 outputs the patterns.

次に制御部11に格納された制御プログラムの
フローチヤートを示す第4図を用いて第3図の装
置の動作を説明する。尚上記制御プログラムの実
行開始は図示していないがキーボード等の入力手
段から制御部11に与えられる信号により行われ
る。
Next, the operation of the apparatus shown in FIG. 3 will be explained using FIG. 4 which shows a flowchart of the control program stored in the control section 11. Although not shown, the execution of the control program is started by a signal given to the control unit 11 from an input means such as a keyboard.

まずS1ステツプでは制御信号C1,C4に基
づいてデータ書込み及び用紙幅検出がなされる。
具体的には制御信号C1に基づいて予め記憶手段
12に格納されている左マージンL、右マージン
R、1行の文字数N、文字ピツチP及び一連の文
字コードが第1乃至第4レジスタ13〜16及び
文書メモリ30に夫々読み出され格納され、かつ
制御信号C4に基づいて用紙幅設定手段20にお
いてプリンタ19にセツトされた用紙の幅Bが検
出される。尚このとき左マージンL、右マージン
R、1行の文字数N、文字ピツチPは印刷条件と
してプリンタ19にも出力される。
First, in step S1, data writing and paper width detection are performed based on control signals C1 and C4.
Specifically, the left margin L, right margin R, number of characters in one line N, character pitch P, and a series of character codes stored in the storage means 12 in advance based on the control signal C1 are stored in the first to fourth registers 13 to 4. 16 and document memory 30, respectively, and the width B of the paper set in the printer 19 is detected by the paper width setting means 20 based on the control signal C4. At this time, the left margin L, right margin R, number of characters in one line N, and character pitch P are also output to the printer 19 as printing conditions.

S2ステツプでは制御信号C2,C3に基づい
て加算器17及び乗算器18において夫々加算処
理及び乗算処理が実行される。加算処理は第1、
第2レジスタ13,14に夫々格納されている左
マージンL、右マージンRを加算器17で加算
し、その和Aは第1減算器21の一方の入力端子
に出力される。また乗算処理は第3、第4レジス
タ15,16に夫々格納されている文字数Nと文
字ピツチPとを乗算器18において乗算し、その
結果Mは比較器23及び第2減算器22の一方の
入力端子に出力される。
In step S2, addition processing and multiplication processing are performed in adder 17 and multiplier 18, respectively, based on control signals C2 and C3. The addition process is the first,
An adder 17 adds the left margin L and right margin R stored in the second registers 13 and 14, respectively, and the sum A is output to one input terminal of the first subtracter 21. In the multiplication process, the number of characters N stored in the third and fourth registers 15 and 16, respectively, and the character pitch P are multiplied in the multiplier 18, and the result M is one of the comparator 23 and the second subtractor 22. Output to the input terminal.

S3ステツプでは制御信号C6,C7に基づい
て第1、第2減算器21,22において夫々第
1、第2減算処理が実行される。第1減算処理は
加算器17の出力Aと用紙幅Bとを第1減算器2
1において“B−A”という減算を行ない、その
結果S1を比較器23の一方の入力端子に出力す
る。第2減算処理は乗算器18の出力Mと用紙幅
Bとを第2減算器22において“B−M”という
減算を行ない、その結果S2を第2アンドゲート
26の一方の入力端子に出力する。
In step S3, first and second subtraction processes are executed in the first and second subtracters 21 and 22, respectively, based on the control signals C6 and C7. The first subtraction process converts the output A of the adder 17 and the paper width B to the first subtractor 2.
1, the subtraction "B-A" is performed, and the result S1 is outputted to one input terminal of the comparator 23. In the second subtraction process, the output M of the multiplier 18 and the paper width B are subtracted by the second subtractor 22 as "B-M", and the result S2 is outputted to one input terminal of the second AND gate 26. .

S4ステツプでは制御信号C8に基づいて比較
処理を行なう。斯る比較処理は乗算結果Mと第1
減算結果S1とを比較器23において比較し、
“S1≧M”のときには“0”を、“S1<M”の
ときには“1”を夫々比較結果信号C′として制御
部11に出力する。
In step S4, a comparison process is performed based on the control signal C8. Such a comparison process is performed by comparing the multiplication result M and the first
Compare the subtraction result S1 with the comparator 23,
When "S1≧M", "0" is outputted, and when "S1<M", "1" is outputted to the control section 11 as the comparison result signal C'.

S5ステツプでは比較器23より出力される比
較結果信号C′が“0”か“1”かを制御部11に
おいて識別する。この結果斯る信号が“0”のと
き処理はS6ステツプに進み、また“1”のとき
処理はS7ステツプに進む。
In step S5, the control section 11 identifies whether the comparison result signal C' output from the comparator 23 is "0" or "1". As a result, when the signal is "0", the process proceeds to step S6, and when it is "1", the process proceeds to step S7.

S6ステツプでは制御信号C11に基づいてプ
リンタ19が印刷動作を開始する。斯る印刷動作
はキヤラクタゼネレータ31から送られてくるパ
ターンを左右マージンLR、文字数N、文字ピツ
チP等の印刷条件に対応して行なう通常の印字処
理である。
In step S6, the printer 19 starts a printing operation based on the control signal C11. This printing operation is a normal printing process in which the pattern sent from the character generator 31 is performed in accordance with printing conditions such as the left and right margins LR, the number of characters N, and the character pitch P.

またS7ステツプでは制御信号C5,C9,C
10に基づいて以下のメツセージ出力処理がなさ
れる。制御信号C9によりメツセージ格納部25
に予め格納されていたデータが第1アンドゲート
26の一方の入力端子に出力され、かつ制御信号
C5により第1、第2アンドゲート26,27が
共に開となり、上記データ及び第2減算結果S2
が上記両ゲートを夫々通つて合成器28に入力さ
れる。また斯る合成器28に入力された両信号は
制御信号C10に基づいて合成器28内で合成さ
れCRTデイスプレイ29に表示出力され処理は
終了する。
Also, in step S7, control signals C5, C9, C
10, the following message output processing is performed. The message storage unit 25 is activated by the control signal C9.
The data previously stored in is output to one input terminal of the first AND gate 26, and both the first and second AND gates 26 and 27 are opened by the control signal C5, and the data and the second subtraction result S2 are
is input to the synthesizer 28 through the above-mentioned gates. Further, both signals inputted to the synthesizer 28 are synthesized in the synthesizer 28 based on the control signal C10, and the signal is displayed on the CRT display 29, and the processing is completed.

次に上記動作の理解をより簡単にするために左
右マージンLR、文字数N、文字ピツチP及びプ
リンタ19にセツトされている用紙の幅Bが下記
(i)(ii)の条件のときの処理動作を具体的に説明す
る。
Next, to make it easier to understand the above operation, the left and right margins LR, number of characters N, character pitch P, and width B of the paper set in the printer 19 are shown below.
Processing operations under conditions (i) and (ii) will be specifically explained.

尚このときメツセージ格納部25には「左右マ
ージンの合計値をXXmm以下として下さい」…
()というメツセージがデータとして格納され
ているものとする。
At this time, the message storage section 25 says "Please keep the total value of left and right margins below XXmm"...
Assume that the message () is stored as data.

(i) B−(L+R)<N×P このときS1乃至S4ステツプにおいて記憶手
段12より第1乃至第4レジスタ13〜16に左
右マージンLR、文字数N、文字ピツチPが夫々
格納され、かつ用紙幅Bも検出されると共に、加
算器17、乗算器18、第1、第2減算器21,
22及び比較器23において夫々“L+R”、“N
×P”、“B−A”、“B−M”、“S1>M”が演算
処理され、比較器23の出力である比較結果信号
C′は制御部11へ、また第2減算器22の出力S
2は第2アンドゲート27に夫々出力される。次
いでS5ステツプにおいて比較結果信号C′の値が
“0”か“1”かの判定が行われるが、この場合
“B−(L+R)<N×P”であるので斯る結果は
“1”であり、従つて処理はS7ステツプに進み
終了する。S7ステツプではメツセージ格納部2
5に格納された上記()のメツセージと第2減
算器22の出力S2とが合成器28において合成
され、CRTデイスプレイ29に「左右マージン
の合計値をS2mm以下として下さい」というよう
に表示される。
(i) B-(L+R)<N×P At this time, in steps S1 to S4, the left and right margins LR, the number of characters N, and the character pitch P are stored in the first to fourth registers 13 to 16 from the storage means 12, respectively, and the paper The width B is also detected, and the adder 17, multiplier 18, first and second subtracters 21,
22 and comparator 23, “L+R” and “N
×P”, “B-A”, “B-M”, and “S1>M” are processed and the comparison result signal is the output of the comparator 23.
C' is sent to the control unit 11, and the output S of the second subtracter 22
2 are output to the second AND gate 27, respectively. Next, in step S5, it is determined whether the value of the comparison result signal C' is "0" or "1", but in this case, since "B-(L+R)<N×P", the result is "1". Therefore, the process proceeds to step S7 and ends. In step S7, message storage section 2
The above message () stored in 5 and the output S2 of the second subtracter 22 are combined in the synthesizer 28, and the message "Please make the total value of left and right margins less than S2 mm" is displayed on the CRT display 29. .

(ii) B−(L+R)≧N×P このとき、S1乃至S4ステツプでの処理は上
記(i)の条件の場合と同一であるので説明を省略す
る。斯る条件では比較結果信号C′が“0”となる
のでS5ステツプからS6ステツプに進み通常の
印字処理を行なう。
(ii) B-(L+R)≧N×P In this case, the processing in steps S1 to S4 is the same as in the case of the condition (i) above, so a description thereof will be omitted. Under such conditions, the comparison result signal C' becomes "0", so the process proceeds from step S5 to step S6 and normal printing processing is performed.

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

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

また本実施例では最大可能な左右マージンLR
の合計値をCRTデイスプレイ29上で表示する
ようにしたが、これをデイスプレイ表示に換えて
音声出力手段等により報知するように構成しても
よい。
In addition, in this example, the maximum possible left and right margin LR
Although the total value of is displayed on the CRT display 29, it may be configured to be notified by audio output means or the like instead of being displayed on the display.

更に、本実施例では制御部11、第1〜第4レ
ジスタ13〜16、加算器17、乗算器18、第
1、第2減算器21,22、比較器23を別個の
構成としたが、これらをマイクロコンピユータに
よりワンチツプで構成してもよい。
Furthermore, in this embodiment, the control unit 11, the first to fourth registers 13 to 16, the adder 17, the multiplier 18, the first and second subtracters 21 and 22, and the comparator 23 are configured separately; These may be configured in one chip using a microcomputer.

(ヘ) 効果 本発明の印刷制御装置では左右マージンの可能
最大合計値が表示されるため、斯る表示に基づい
てマージン値の変更を行なえば、一回の変更で左
右マージンLRを印刷可能な値とすることができ
る。
(f) Effect Since the printing control device of the present invention displays the maximum possible total value of the left and right margins, if the margin values are changed based on such display, it is possible to print the left and right margins LR with a single change. Can be a value.

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

第1図は印刷条件を説明するための模倣図、第
2図は本発明の印刷制御装置の基本的構成を示す
ブロツク図、第3図は本発明の一実施例を示すブ
ロツク図、第4図は第3図の実施例の動作を説明
するためのフローチヤートである。 1……記憶手段、2……用紙幅設定手段、3…
…加算手段、4……乗算手段、5,6……第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. This figure is a flowchart for explaining the operation of the embodiment shown in FIG. 1... Storage means, 2... Paper width setting means, 3...
... addition means, 4 ... multiplication means, 5, 6 ... first,
Second subtraction means, 7... Comparison means, 8... Message output means, 9... Control means.

Claims (1)

【特許請求の範囲】[Claims] 1 既成文書を印刷するための印刷条件として左
マージンL、右マージンR、1行の文字数N、文
字ピツチPが少なくとも格納された記憶手段、印
刷用紙の幅Bを設定するための用紙幅設定手段、
加算手段、乗算手段、第1、第2減算手段、比較
手段、メツセージ出力手段、上記各手段の制御を
司る制御手段を備え、上記加算手段により上記左
右マージンLRの和Aを、上記乗算手段により上
記文字数Nと文字ピツチPとの積Mを、上記第1
減算手段により上記和Aと幅Bとの差S1を、上
記第2減算手段により上記積Mと幅Bとの差S2
を夫々求めると共に上記比較手段により上記積M
と差S1とを比較し、斯る比較の結果、M>S1と
判定されると上記差S2を最大可能な左右マージ
ンLRの合計値としてメツセージ出力手段により
出力することを特徴とする印刷制御装置。
1. A storage means that stores at least a left margin L, a right margin R, the number of characters in one line N, and a character pitch P as printing conditions for printing an existing document, and a paper width setting means for setting the width B of printing paper. ,
The addition means, the multiplication means, the first and second subtraction means, the comparison means, the message output means, and the control means for controlling each of the above means, the sum A of the left and right margins LR is calculated by the addition means, and the sum A of the left and right margins LR is calculated by the multiplication means. The product M of the number of characters N and the character pitch P is calculated from the first
The subtraction means calculates the difference S1 between the sum A and the width B, and the second subtraction means calculates the difference S2 between the product M and the width B.
are determined respectively, and the product M is determined by the comparison means.
and the difference S1, and if it is determined that M>S1 as a result of the comparison, the print control device outputs the difference S2 as the maximum possible total value of the left and right margins LR by a message output means. .
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 JPS59135539A (en) 1984-08-03
JPH0113567B2 true 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)

Families Citing this family (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

Family Cites Families (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

Also Published As

Publication number Publication date
JPS59135539A (en) 1984-08-03

Similar Documents

Publication Publication Date Title
JP2796628B2 (en) Printing device
US4671684A (en) Electronic typewriter with selectively deactuatable spelling checking apparatus
JPH0523956B2 (en)
US5289573A (en) Menu displaying apparatus for a word processor
JPH0113567B2 (en)
JPH0113568B2 (en)
KR860007610A (en) High Density Verification and Split Factor Method for Printing Patterns and Printing Device
JPH0359466B2 (en)
JPH01229673A (en) English and european writing printing control system
US4828414A (en) Output device for automatically changing end of line hot zone
JP3108936B2 (en) Document processing device
JPH0628130A (en) Printing controller
JP3005912B2 (en) Data output device
JP3062282B2 (en) Character processor
JPH021676B2 (en)
JP2633801B2 (en) Document processing device
JP2612402B2 (en) Display control method
JP2541221B2 (en) Decorative pattern output method
JPH0417059A (en) Document preparing device
JP2940140B2 (en) Document data processing device
JPH023714B2 (en)
JPS62297966A (en) Information output device
JPH01139267A (en) Color recording apparatus
JPH0259065B2 (en)
JPH0310856A (en) Printer