JPH08267865A - Print control method - Google Patents
Print control methodInfo
- Publication number
- JPH08267865A JPH08267865A JP7072792A JP7279295A JPH08267865A JP H08267865 A JPH08267865 A JP H08267865A JP 7072792 A JP7072792 A JP 7072792A JP 7279295 A JP7279295 A JP 7279295A JP H08267865 A JPH08267865 A JP H08267865A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- data
- line
- printer
- ruled
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
(57)【要約】
【目的】イメージデータと罫線の重ね合わせ印刷を行な
う場合に、上位装置にて同一行内のイメージデータと罫
線を合成することにより、イメージデータと罫線の重ね
合わせ印刷を高速に行なう。
【構成】プリンタ制御プログラム120は、イメージデ
ータを印刷データ110としてデータ入力部121にて
受信し、データ処理部122にて罫線情報テーブル13
0を参照し罫線データを作成し、受信したイメージデー
タと合成する。合成されたイメージデータは、データ出
力部123を経てプリンタ102に送出される。
(57) [Abstract] [Purpose] When performing superimposition printing of image data and ruled lines, by combining the image data and ruled lines in the same line with the host device, the superimposition printing of image data and ruled lines can be performed at high speed. To do. A printer control program 120 receives image data as print data 110 by a data input unit 121, and a data processing unit 122 receives the ruled line information table 13.
The ruled line data is created by referring to 0 and is combined with the received image data. The combined image data is sent to the printer 102 via the data output unit 123.
Description
【0001】[0001]
【産業上の利用分野】本発明は、罫線印刷機能を持たな
いプリンタにおける、イメージデータと罫線の重ね合わ
せ印刷に係り、印字品質を低下させずに高速印刷を行う
のに好適な印刷制御方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to overlay printing of image data and ruled lines in a printer having no ruled line printing function, and relates to a print control method suitable for high-speed printing without degrading print quality. .
【0002】[0002]
(1)イメージデータの最適化技術については、特開平
2−294724号公報に示されるように、イメージデ
ータの空白部分を印字位置変更情報に置き換えることに
よりイメージデータ量を減らす方法等が用いられてい
た。(1) As a technique for optimizing image data, as disclosed in Japanese Patent Laid-Open No. 2-294724, a method of reducing the amount of image data by replacing a blank portion of the image data with print position change information is used. It was
【0003】(2)罫線の最適化技術については、特開
平4−245528号公報に示されるように、罫線情報
をプリンタ文字コード化することにより罫線情報量を減
らす方法等が用いられていた。(2) As for the ruled line optimization technique, as disclosed in Japanese Patent Laid-Open No. 4-245528, a method of reducing the amount of ruled line information by converting the ruled line information into a printer character code has been used.
【0004】[0004]
【発明が解決しようとする課題】上記従来技術は、イメ
ージデータあるいは罫線それぞれ別個に対する最適化技
術であり、イメージデータと罫線を重ね合わせて印刷す
る場合にはイメージデータと罫線を別々に印刷しなけれ
ばならず、それにより印刷速度が低下するという問題が
ある。The above-mentioned prior art is an optimization technique for image data or ruled lines separately. When image data and ruled lines are superposed and printed, the image data and ruled lines must be printed separately. Therefore, there is a problem in that the printing speed is reduced.
【0005】また、罫線情報をプリンタ文字コード化す
る方法は、罫線印刷機能がないプリンタには効果がな
い。Further, the method of converting ruled line information into a printer character code is not effective for a printer having no ruled line printing function.
【0006】本発明の目的は、罫線印刷機能を持たない
プリンタにおいてもイメージデータと罫線の重ね合わせ
印刷を高速に行えるよう制御することにある。An object of the present invention is to perform control so that superimposition printing of image data and ruled lines can be performed at high speed even in a printer having no ruled line printing function.
【0007】[0007]
【課題を解決するための手段】上記目的を達成するため
に、上位装置にて、同一行にあるイメージデータと罫線
を合成することにより、プリンタに送るデータを最適化
する。In order to achieve the above object, a host device optimizes data to be sent to a printer by synthesizing image data and ruled lines in the same row.
【0008】[0008]
【作用】罫線印刷機能のないプリンタにおいて罫線を印
刷するには、上位装置にて罫線をラスタイメージデータ
にしてプリンタに送らねばならず、イメージデータと重
ね合わせて印刷する場合、同一行に2個のイメージデー
タを印刷することになる。また、罫線印刷機能を持つプ
リンタにおいても、罫線をイメージデータと別に印刷し
なければならず、1行あたりの印字動作回数が増える。
よって、罫線をイメージデータと合成し1個のイメージ
データとすることにより、プリンタに送られるデータ量
および1行あたりの印字動作回数が削減され印刷速度が
向上する。[Function] To print a ruled line on a printer that does not have a ruled line printing function, the host device must convert the ruled line into raster image data and send it to the printer. When printing with the image data superimposed, two lines are printed on the same line. The image data of will be printed. Further, even in a printer having a ruled line printing function, the ruled lines must be printed separately from the image data, which increases the number of printing operations per line.
Therefore, by combining the ruled lines with the image data to form one image data, the amount of data sent to the printer and the number of printing operations per line are reduced, and the printing speed is improved.
【0009】[0009]
【実施例】以下、本発明の一実施例について図面を用い
て説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.
【0010】プリンタ制御プログラム120は、上位装
置101内にあり、データ入力部121、データ処理部
122、データ出力部123から成る。印刷データ11
0はデータ入力部121にて受信され、データ処理部1
22にて必要な加工を受けた後、データ出力部123を
経て、プリンタ102に送出される。The printer control program 120 is provided in the host device 101 and comprises a data input section 121, a data processing section 122, and a data output section 123. Print data 11
0 is received by the data input unit 121, and the data processing unit 1
After undergoing necessary processing at 22, the data is sent to the printer 102 via the data output unit 123.
【0011】従来の方法にて、印字ヘッドが24ピンで
罫線印刷機能を持たないプリンタで第2図に示すよう
な、罫線210および高さ30ドットのイメージデータ
220から成る帳票200の3行目を印刷する場合につ
いて述べる。In the printer according to the conventional method, the print head has 24 pins and does not have a ruled line printing function, as shown in FIG. 2, the third line of the form 200 consisting of ruled lines 210 and image data 220 having a height of 30 dots. The case of printing is described.
【0012】まず、プリンタ制御プログラム120が、
データ入力部121にてイメージデータ220の上部か
ら高さ24ドット分を受信し、データ処理部122にて
印字位置指定コードおよび復改コード(CR)の付加等
の処理を行なった後に、データ出力部123を経てプリ
ンタ102に送出する(301)。次に、データ処理部
122にて罫線情報テーブル130を参照し、3行目の
罫線データを作成する。この罫線データは高さ24ドッ
トのイメージデータであり、24ドット改行コードを付
加した後に、データ出力部123よりプリンタ102に
送出する(302)。次に、データ入力部121にてイ
メージデータ220の残りの高さ6ドット分を受信し、
データ処理部122にて印字位置指定コードおよび復改
コード(CR)の付加等の処理を行なった後に、データ
出力部123よりプリンタ102に送出する(30
3)。次に、データ処理部122にて罫線情報テーブル
130を参照し、3行目の行間罫線データを作成する。
この行間罫線データは改行ピッチ6LPIの場合、高さ
6ドットのイメージデータであり、6ドット改行コード
を付加した後にデータ出力部123よりプリンタ102
に送出する(304)。このように、従来はイメージデ
ータと罫線が同一行にある場合、1行分印刷するのに計
4回のイメージデータの印字が必要である。First, the printer control program 120
The data input unit 121 receives 24 dots in height from the upper portion of the image data 220, and the data processing unit 122 performs processing such as adding a print position designation code and a revision code (CR), and then outputs the data. It is sent to the printer 102 via the unit 123 (301). Next, the data processing unit 122 refers to the ruled line information table 130 and creates ruled line data for the third line. This ruled line data is image data having a height of 24 dots, and after adding a 24-dot line feed code, it is sent from the data output unit 123 to the printer 102 (302). Next, the data input unit 121 receives the remaining 6 dots of the height of the image data 220,
After the data processing unit 122 performs processing such as adding a print position designation code and a revision code (CR), it is sent from the data output unit 123 to the printer 102 (30
3). Next, the data processing unit 122 refers to the ruled line information table 130 and creates the inter-line ruled line data for the third line.
In the case of a line feed pitch of 6 LPI, this line-to-line ruled line data is image data having a height of 6 dots, and after adding a 6-dot line feed code, the printer 102
(304). As described above, conventionally, when the image data and the ruled line are on the same line, it is necessary to print the image data four times in total to print one line.
【0013】そこで、イメージおよび罫線に着目してみ
ると、行イメージと罫線はどちらも高さ24ドットのイ
メージデータであり、行間イメージと行間罫線はどちら
も高さ6ドットのイメージデータであるから、行イメー
ジと行罫線、行間イメージと行間罫線はそれぞれ合成し
て1個の行イメージおよび行間イメージにすることがで
きる。よって、プリンタ制御プログラム120がイメー
ジデータ220を受信した際に、データ処理部122に
て罫線情報テーブル130を参照し、イメージデータ2
20の上部の高さ24ドット分(行イメージ)と3行目
の行罫線データ(高さ24ドット)をメモリ上にて合成
し1個のイメージデータとし(401)、24ドット改
行コードを付加した後にデータ出力部123を経てプリ
ンタ102に送出すれば、3行目の行イメージと行罫線
を同時に印刷することができる。同様に、イメージデー
タ220の残りの高さ6ドット分(行間イメージ)と3
行目の行間罫線データ(高さ6ドット)を合成し(40
2)、6ドット改行コードを付加してプリンタ102に
送出すれば、計2回のイメージデータの印字で1行分の
イメージデータと罫線の重ね合わせ印刷ができ、印刷性
能の向上に非常に効果がある。Therefore, focusing on the image and the ruled line, both the line image and the ruled line are image data having a height of 24 dots, and the line spacing image and the line spacing are both image data having a height of 6 dots. , A line image and a line ruled line, and a line space image and a line space ruled line can be combined into one line image and line space image, respectively. Therefore, when the printer control program 120 receives the image data 220, the data processing unit 122 refers to the ruled line information table 130, and the image data 2
The height of 24 dots (row image) at the top of 20 and the line ruled line data (24 dots in height) of the third row are combined on the memory to make one image data (401), and a 24 dot line feed code is added. After that, if it is sent to the printer 102 via the data output unit 123, the line image of the third line and the line ruled line can be printed at the same time. Similarly, the remaining height of the image data 220 of 6 dots (line spacing image) and 3
The ruled line data between lines (height 6 dots) is combined (40
2) If the 6-dot line feed code is added and sent to the printer 102, the image data for one line and the ruled line can be superimposed and printed by printing the image data twice in total, which is very effective in improving the printing performance. There is.
【0014】[0014]
【発明の効果】本発明によれば、イメージデータと罫線
の重ね合わせ印刷を行なう場合に、同一行にあるイメー
ジデータと罫線を別々に印刷することが無くなり、印刷
速度が向上する。According to the present invention, when the image data and the ruled line are superposed and printed, the image data and the ruled line on the same line are not separately printed, and the printing speed is improved.
【図1】本発明を用いた装置の概略構成図である。FIG. 1 is a schematic configuration diagram of an apparatus using the present invention.
【図2】イメージデータおよび罫線を含む帳票例であ
る。FIG. 2 is an example of a form including image data and ruled lines.
【図3】従来方法によるプリンタ送出データ例である。FIG. 3 is an example of printer transmission data according to a conventional method.
【図4】本発明によるプリンタ送出データ例である。FIG. 4 is an example of printer transmission data according to the present invention.
101…上位装置、 102…プリンタ、 110
…印刷データ、120…プリンタ制御プログラム、
121…データ入力部、122…データ処理
部、123…データ出力部、130…罫線情報テーブ
ル、200…帳票、 210…罫線、 2
20…イメージデータ、301〜304…従来方法によ
るプリンタ送出データ、401〜402…本発明による
プリンタ送出データ。101 ... Upper device, 102 ... Printer, 110
... print data, 120 ... printer control program,
121 ... Data input unit, 122 ... Data processing unit, 123 ... Data output unit, 130 ... Ruled line information table, 200 ... Form, 210 ... Ruled line, 2
20 ... Image data, 301-304 ... Printer sending data according to conventional method, 401-402 ... Printer sending data according to the present invention.
Claims (1)
行なう場合に、イメージデータと罫線を上位装置にて合
成することにより、プリンタへの出力を最適化して印刷
速度を向上することを特徴とした印刷制御方式。1. When performing superimposition printing of image data and ruled lines, the image data and ruled lines are combined by a higher-level device to optimize output to a printer and improve printing speed. Print control method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7072792A JPH08267865A (en) | 1995-03-30 | 1995-03-30 | Print control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7072792A JPH08267865A (en) | 1995-03-30 | 1995-03-30 | Print control method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH08267865A true JPH08267865A (en) | 1996-10-15 |
Family
ID=13499604
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7072792A Pending JPH08267865A (en) | 1995-03-30 | 1995-03-30 | Print control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH08267865A (en) |
-
1995
- 1995-03-30 JP JP7072792A patent/JPH08267865A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5093903A (en) | System for controlling printers having differing dot densities | |
| US4987447A (en) | Control sheet generation for copiers and printers | |
| US6317802B1 (en) | System for converting raster image data contained in print data into raster image data having a resolution with which a stencil printer is capable of printing | |
| US4623978A (en) | Print control apparatus having line buffer | |
| JP2001096809A (en) | Printer print control method and printer print control device | |
| US5729634A (en) | Document processing system for enhancing halftone images including multiple centered dots | |
| US6411398B1 (en) | Computer interface unit for computer data print-out system using stencil printers | |
| US5867637A (en) | Document processing with flexible resolution and output style | |
| JPH08183207A (en) | Method for controlling color image data | |
| JPH10100485A (en) | Printer and method for printing raster image with high image quality | |
| JPH0679922A (en) | Recording device | |
| JP2798640B2 (en) | Ruled line printing control method | |
| JP3033731B2 (en) | Ruled line processing device, ruled line processing method, and recording medium for recording program | |
| KR100212981B1 (en) | Output paper and toner saving printing apparatus and method of an image forming apparatus | |
| JPH03180370A (en) | Printed data processor | |
| KR100208385B1 (en) | Data buffer device and method for separating text and picture data from printer and storing them | |
| JPS61267126A (en) | Plotter controller | |
| JPH07137403A (en) | Printing method of recording device connected to external device | |
| JPH05151403A (en) | Printer device | |
| JPH06218901A (en) | Dot pattern generation method | |
| JPH01215545A (en) | Printing apparatus | |
| JPH0434946B2 (en) | ||
| JPH0811352A (en) | Printer control device | |
| JPH11249832A (en) | Image forming device | |
| JPH09300744A (en) | Printer |