JPH01148582A - Control of printing - Google Patents

Control of printing

Info

Publication number
JPH01148582A
JPH01148582A JP30895887A JP30895887A JPH01148582A JP H01148582 A JPH01148582 A JP H01148582A JP 30895887 A JP30895887 A JP 30895887A JP 30895887 A JP30895887 A JP 30895887A JP H01148582 A JPH01148582 A JP H01148582A
Authority
JP
Japan
Prior art keywords
printing
page
data
line
pages
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
JP30895887A
Other languages
Japanese (ja)
Inventor
Tsutomu Sato
勉 佐藤
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP30895887A priority Critical patent/JPH01148582A/en
Publication of JPH01148582A publication Critical patent/JPH01148582A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Handling Of Sheets (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Laser Beam Printer (AREA)

Abstract

PURPOSE:To prevent a break of images from being generated at the boundary of adjacent pages and prevent the relationship between printing positions from being changed, by a method wherein in the case of printing data ranging across the boundary of the adjacent pages, character-forming data is directly printed by using the data on the former page as it is, whereas data on a line feeding across the boundary of adjacent pages is used at the head of the succeeding page. CONSTITUTION:Printing data from the host side is inputted through an input part 10, and characters for one line are expanded into patterns in a buffer (provided in a RAM 6). A one-line amount of data is transferred to a bit map memory (BMM) 9 in response to a line feed (LF) instruction from the host, then a paper is fed by an LF quantity given, and printing data for the next line is waited for. When printing data of 'A' to be printed in an area ranging across the boundary between pages P1 and P2, for example, the data is directly printed on the side of the former page P1 beyond a maximum printing region of the page. At this time, a surplus line feed quantity x1 required for printing the character 'A' is treated as a line feed quantity x2 (=x1) at the head of the latter page P2.

Description

【発明の詳細な説明】 技術分野 本発明は、レーザプリンタ等における印字制御方法に関
する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a printing control method in a laser printer or the like.

従来技術 一般に、パーソナルコンピュータ用のアプリケーション
・ソフトウェアには種々のものがあるが、その中にペー
ジ管理のできないソフトウェアもある。このようなソフ
トウェアを用いてレーザプリンタ等のページプリンタに
出力させると、第5図に示すような不都合を生ずること
がある。これは、ページ間にまたがる印字文字情報があ
る場合である。図面上、■は各々シート状の印字用紙で
あり、3ページ分PI、P2.P3が示されている。又
、各々の寸法a、b、Cは印字用紙1における最大印字
領域の長さを示す。よって、例えば「Ajなる印字文字
情報がページP1とページP2とにまたがり、ページP
l側に上半分が印字され、ページP2側に下半分が印字
されている。これは、ページP2とページP3とにまた
がる例えばr13Jなる印字文字情報の場合でも同様で
ある。
BACKGROUND OF THE INVENTION In general, there are various types of application software for personal computers, and some of them do not allow page management. If such software is used to output data to a page printer such as a laser printer, problems as shown in FIG. 5 may occur. This is the case when there is printed character information that spans between pages. In the drawing, ■ is a sheet of printing paper, and there are 3 pages of PI, P2, . P3 is shown. Further, each dimension a, b, and C indicates the length of the maximum printing area on the printing paper 1. Therefore, for example, "printed character information Aj spans pages P1 and P2, and page P
The upper half is printed on the l side, and the lower half is printed on the page P2 side. This also applies to the case of printed character information, for example r13J, which spans pages P2 and P3.

この点、例えばワイヤドツトプリンタ等で使用される第
6図に示すようなページ間がミシン目3により連続して
いる連続用紙2の場合であれば、このようにページ管理
がなくページ間にまたがる文字が存在し得るソフトウェ
アによるものであっても、ミシン目3上に印字はされる
のでその文字の判読は可能である。
In this regard, for example, in the case of continuous paper 2 used in wire dot printers, etc., as shown in Figure 6, in which the pages are continuous by perforations 3, there is no page management and characters that span between pages are Even if it is based on software that may exist, the characters can be read because they are printed on the perforation 3.

二のようなことから、シート状の印字用紙1への印字に
際して、ページ間にまたがる文字が分断されるのを防止
するため、例えば第7図(a)に示すようにページ間に
またがる文字r A Jの印字をページP1の途中でや
めずに継続しく即ち、最大印字領域を越えて印字する)
、その後で同図(b)に示すように次ページP2の印字
に移行させる如く印字制御する方法がある。
2) When printing on the sheet-shaped printing paper 1, in order to prevent the characters spanning between pages from being separated, for example, as shown in FIG. 7(a), the characters r (Continuously print A J without stopping in the middle of page P1, that is, print beyond the maximum print area)
There is a method of controlling printing so that the next page P2 is then printed as shown in FIG.

ところが、この第7図に示すような印字制御方法による
場合、第6図に示す印字サンプルと対比してみると、ペ
ージP1の印字文字「1」の位置は同一であるが、ペー
ジP2における印字文字「C」の位置は前ページPl側
に印字された文字「AJ用のラインフィード量の分だけ
上に上がった位置となり、第6図の連続用紙2における
ページP2の印字位置と異なるものとなってしまう。
However, when using the print control method as shown in FIG. 7, when compared with the print sample shown in FIG. 6, the position of the printed character "1" on page P1 is the same, but The position of the character "C" is raised by the line feed amount for the character "AJ" printed on the Pl side of the previous page, and is different from the printing position of page P2 on continuous paper 2 in Figure 6. turn into.

同様にして、ページP3についても印字文字「2Jの位
置が上方にずれてしまうことになる。
Similarly, for page P3, the position of the printed character "2J" will be shifted upward.

目的 本発明は、このような点に鑑みなされたもので、ページ
間にまたがる文字情報が存在する場合であってもページ
間で分断されることなく、がっ、印字位置関係のレイア
ウトも変わることなく印字し得る印字制御方法を提供す
ることを目的とする。
Purpose The present invention was made in view of the above points, and it is possible to prevent text information from being separated between pages even when there is text information that spans between pages, and also to change the layout of the print position relationship. An object of the present invention is to provide a printing control method that allows printing without any problems.

構成 本発明は、上記目的を達成するため、1ページ分のビッ
トマツプメモリを備え、このビットマツプメモリ内に印
字情報を作成して印字させる印字制御方法において、ペ
ージ間にまたがる印字情報の際には文字形成情報を前ペ
ージ側で使用してそのまま印字させ、ページ間にまたが
る分のラインフィード情報を次ページ側の先頭で使用す
ることを特徴とするものである。
Structure In order to achieve the above object, the present invention provides a print control method that includes a bitmap memory for one page and creates and prints print information in this bitmap memory. This is characterized in that the character formation information is used on the previous page side and printed as is, and the line feed information spanning between pages is used at the beginning of the next page side.

以下、本発明の一実施例を第1図ないし第4図に基づい
て説明する。まず、ブロック構成を第3図により説明す
る。まず、CPU4に対しROM5、RAM6及びキャ
ラクタジェネレータ7がパスライン8により接続されて
いるとともに、1ページ分のビットマツプメモリ9が接
続されている。
An embodiment of the present invention will be described below with reference to FIGS. 1 to 4. First, the block configuration will be explained with reference to FIG. First, a ROM 5, a RAM 6, and a character generator 7 are connected to the CPU 4 by a pass line 8, and a bitmap memory 9 for one page is also connected.

このような制御系はホスト(図示せず)に対しインプッ
ト部10を介して接続され、レーザプリンタ11に対し
てはレーザプリンタ出力部12を介して接続されている
Such a control system is connected to a host (not shown) via an input section 10, and to a laser printer 11 via a laser printer output section 12.

このような構成において、ホスト側からの印字情報はイ
ンプット部10より入力され、このような印字情報を基
にバッファ(RAMB上におく)に1ライン分の文字を
展開する。そして、ホストからのラインフィードLP指
令によりlライン分のデータ(バッファ内にある)をビ
ットマツプメモリBMM9に転送し、与えられたライン
フィードLF量の紙送りをして次のラインの印字データ
を待つ。
In such a configuration, print information from the host side is input from the input unit 10, and one line of characters is developed in a buffer (located on RAMB) based on such print information. Then, in response to a line feed LP command from the host, one line of data (in the buffer) is transferred to the bitmap memory BMM9, the paper is fed by the given line feed LF amount, and the print data for the next line is printed. wait.

しかして、第6図で示した如く、ページ間にまたがる印
字情報、例えばページPL、P2間にまたがるr A 
Jなる印字情報がある場合、第1図(a)に示すように
このようなページ間にまたがる文字は前ページ、即ちペ
ージP1側で最大印字領域を越えてそのまま印字させて
しまう。この時、「A」なる文字の印字に要した余分な
ラインフィード量X1 (つまり、第6図等で考えれば
、次のページ先頭で印字すべき分のラインフィード量に
相当する)は、処理済み扱いとはせずに、次のページ、
即ちページP2の先頭でのラインフィード量x、  (
=x、 )として処理させるものである。
Therefore, as shown in FIG. 6, printed information that spans between pages, for example, r A that spans between pages PL and P2.
When there is printing information J, as shown in FIG. 1(a), such characters that span between pages are printed as they are on the previous page, that is, on the page P1 side, beyond the maximum printing area. At this time, the extra line feed amount X1 required to print the character "A" (that is, if you consider Figure 6 etc., it corresponds to the line feed amount that should be printed at the top of the next page) is Instead of treating it as completed, go to the next page,
That is, the line feed amount x at the beginning of page P2, (
=x, ).

つまり、第1図(b)に示すようにページP2の先頭で
は「AJなる文字の下半分(破線で示す)をあたかも印
字するかの如きラインフィードx2を行ない(実際は前
ページP1の下端側に印字されている)、その後引続き
、r CJなる次の文字等の印字に移行するものである
In other words, as shown in FIG. 1(b), at the beginning of page P2, line feed x2 is performed as if printing the lower half of the character "AJ" (indicated by a broken line) (actually, the lower half of the character "AJ" is printed at the lower end of the previous page P1). ), then the next character such as r CJ is printed.

第4図はこのような思想に基づくラインフィードL P
制御のフローチャートを示すものである。
Figure 4 shows a line feed LP based on this idea.
3 shows a control flowchart.

まず、ホストからのラインフィードL F指令によりバ
ッファの内容をラスク一方向にライン分だけビットマツ
プメモリBMM9へ書込み、次のためにビットマツプメ
モリBMM9のアドレスをインクリメントする。そして
、バッファの内容を全て移動させたかをバッファが空か
否かによりチエツクする。次に、ビットマツプメモリB
MM9の指定された1ページ分が終ったか否かをチエツ
クする。この際、1ページ分が終了であれば、バッファ
にはまだ1行分のデータがあることになる。そこで、残
りのラインフィード量X、をメモリにセーブし、次に残
りのバッファ分をビットマツプメモリBMM9にバッフ
ァが空になるまで書込む。
First, in response to a line feed LF command from the host, the contents of the buffer are written to the bitmap memory BMM9 by the number of lines in one direction, and the address of the bitmap memory BMM9 is incremented for the next time. Then, it is checked whether all the contents of the buffer have been moved by checking whether the buffer is empty. Next, bitmap memory B
Check whether one specified page of MM9 has been completed. At this time, if one page has been completed, there is still one line of data in the buffer. Therefore, the remaining line feed amount X is saved in the memory, and then the remaining buffer amount is written into the bitmap memory BMM9 until the buffer becomes empty.

次いで、このビットマツプメモリBMM9の内容をレー
ザプリンタ11に出力し、前ページでその分の印字処理
をも行なう。ここまでが、前ページまでの処理である。
Next, the contents of this bitmap memory BMM9 are output to the laser printer 11, and printing processing for the previous page is also performed. This is the processing up to the previous page.

欲に、次ページの印字のためにビットマツプメモリBM
M9等を初期設定しくイニシャライズ)、前ページの残
りのラインフィード量x1分のラインフィードを実行す
る。
Bitmap memory BM to print the next page
(initialize M9, etc.) and execute line feed for the remaining line feed amount x 1 of the previous page.

このような制御方式により、例えば第6図の如きページ
管理のないアプリケーションソフトによる場合であって
も、シート状の印字用紙1に対し第2図に示す如く、ペ
ージ間の途中で文字が切断印字されるようなことがなく
、かつ、次のページ文頭における文字の印字位置関係に
ついてのレイアウトが変更されるようなことがなく、ソ
フトに忠実にしてきれいな印字状態とし得る。
With such a control method, even when using application software without page management as shown in FIG. 6, for example, characters are cut off in the middle between pages and printed on a sheet of printing paper 1 as shown in FIG. 2. Moreover, the layout regarding the printing position relationship of characters at the beginning of a sentence on the next page is not changed, and a beautiful printing state can be achieved faithfully to the software.

効果 本発明は、上述したようにページ間にまたがる印字情報
の際には文字形成情報を前ページ側で使用してそのまま
印字させ、ページ間にまたがる分のラインフィード情報
を次ページ側の先頭で使用するようにしたので、例えば
ページ管理なしの連続用紙等を想定して作成されたアプ
リケーションソフトウェアによる印字時であっても、ペ
ージの途中で印字文字が切断されることなく見やすいき
れいな印字とし、かつ、次ページの印字等についてレイ
アウト位置関係が変更されることのない忠実な印字再現
が可能となるものである。
Effects As described above, when printing information that spans between pages, the character formation information is used on the previous page side and printed as is, and the line feed information that spans between pages is printed at the beginning of the next page. For example, even when printing using application software created with the assumption of continuous paper without page management, printed characters are not cut off in the middle of the page, resulting in clear, easy-to-read printing. , it is possible to faithfully reproduce printing without changing the layout positional relationship for printing on the next page, etc.

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

第1図は本発明の一実施例を示す制御処理を示す説明図
、第2図は本実施例方式による印字例を示す平面図、第
3図はブロック図、第4図はフローチャート、第5図は
従来の印字例を示す平面図、第6図は連続用紙の場合の
印字例を示す平面図、第7図は従来の制御処理を示す説
明図である。 9・・・ビットマツプメモリ J)Z1図
FIG. 1 is an explanatory diagram showing a control process according to an embodiment of the present invention, FIG. 2 is a plan view showing an example of printing by the method of this embodiment, FIG. 3 is a block diagram, FIG. 4 is a flowchart, and FIG. FIG. 6 is a plan view showing an example of conventional printing, FIG. 6 is a plan view showing an example of printing on continuous paper, and FIG. 7 is an explanatory diagram showing conventional control processing. 9...Bitmap memory J) Z1 diagram

Claims (1)

【特許請求の範囲】[Claims] 1ページ分のビットマップメモリを備え、このビットマ
ップメモリ内に印字情報を作成して印字させる印字制御
方法において、ページ間にまたがる印字情報の際には文
字形成情報を前ページ側で使用してそのまま印字させ、
ページ間にまたがる分のラインフィード情報を次ページ
側の先頭で使用することを特徴とする印字制御方法。
In a print control method that includes a bitmap memory for one page and creates and prints printing information in this bitmap memory, when printing information that spans between pages, character formation information is used on the previous page side. Print it as is,
A print control method characterized by using line feed information spanning between pages at the beginning of the next page.
JP30895887A 1987-12-07 1987-12-07 Control of printing Pending JPH01148582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30895887A JPH01148582A (en) 1987-12-07 1987-12-07 Control of printing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30895887A JPH01148582A (en) 1987-12-07 1987-12-07 Control of printing

Publications (1)

Publication Number Publication Date
JPH01148582A true JPH01148582A (en) 1989-06-09

Family

ID=17987287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30895887A Pending JPH01148582A (en) 1987-12-07 1987-12-07 Control of printing

Country Status (1)

Country Link
JP (1) JPH01148582A (en)

Similar Documents

Publication Publication Date Title
JPH0441548B2 (en)
JPH04325267A (en) Output method and its device
JPH01148582A (en) Control of printing
JPH0232878A (en) Information processor with function for designating printing-starting position
JPH08127152A (en) Printer and translation printing method thereof
JPS60159077A (en) Printer controller
JPS59201870A (en) Printer
JPH07101113A (en) Printer
JPS5911439A (en) Character processor
JPH01258976A (en) Page printer
JP3254011B2 (en) Form drawing system
JPH04163073A (en) Printing control method
JP2977132B2 (en) Printer
JP3143118B2 (en) Printer and print image pattern development method
JPS5931752B2 (en) printing device
JPH0751374B2 (en) Document processor
JPH0311275B2 (en)
JPH02249021A (en) Printing control system
JPS6364778A (en) Recording apparatus
JPS6359575A (en) Test printing system
JPH02136269A (en) Document processing apparatus
JPH05301411A (en) Method for treating printing of page printer
JPH04189167A (en) Overlay development control method
JPS6243727A (en) Printer
JPH0570856B2 (en)