US5100248A - Text scale method - Google Patents
Text scale method Download PDFInfo
- Publication number
- US5100248A US5100248A US07/522,410 US52241090A US5100248A US 5100248 A US5100248 A US 5100248A US 52241090 A US52241090 A US 52241090A US 5100248 A US5100248 A US 5100248A
- Authority
- US
- United States
- Prior art keywords
- text
- scaling
- page
- characters
- distance
- 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 - Lifetime
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J5/00—Devices or arrangements for controlling character selection
- B41J5/30—Character or syllable selection controlled by recorded information
Abstract
The invented text scale method features software which vertically repositions text to be printed on a page, thereby avoiding problems associated with unprintable regions. Graphics data to be printed is left unaltered. Repositioning is accomplished by recognizing the original vertical print position of a text character relative to the page on which it will be printed, and by then scaling such position by a predetermined percentage, thereby calculating a new vertical print position. By directly changing a text character's original vertical print position formatting features such as absolute vertical moves may still be employed.
Description
This application is a continuation of application Ser. No. 07/291,490, filed Dec. 28, 1988, now abandoned.
This invention relates to a method used in formatting text to be printed on a page and, more particularly, to software capable of vertically repositioning text characters on a page. Repositioning of graphics is avoided.
Computer printers are often incapable of printing on certain regions of a page because of physical limitations such as paper handling. For example, Hewlett-Packard's DeskJet printer cannot print on the bottom 0.5-inch of a standard 8.5×11-inches sheet of paper. Accordingly, the DeskJet printer recognizes, on such a standard-size page, a printable region having a vertical dimension of 10.5-inches.
A user, however, often desires to print data in the unprintable regions. For example, a format of 66-lines per page and a spacing of 6-lines per inch is often mandated by various software applications. However, if the user sends a page to be printed with that format to the printer because of an unprintable region, the bottom lines of the text may be lost, dropped off or printed on the subsequent page.
To solve this problem, a printer's line spacing may be changed so that more lines per inch may be printed. Setting a line spacing to 6.5-lines per inch would allow 66 text lines to be printed within a printable region having a vertical dimension of 10.5-inches. For printers such as the DeskJet, this is a partial solution to the problem.
However, changing the line spacing is not a complete solution because it would only work where a printer advances the page on which the text is to be printed by line feed commands. If the software used in conjunction with the printer employs features such as absolute vertical moves, relative vertical moves or a vertical motion index, then changing the line spacing will cause the text characters positioned by such features to be misaligned.
For example, a feature such as an absolute vertical move positions a character on a page by an address identifying that character's position relative to the page size, not by line feed commands. Accordingly, irrespective of the line spacing, the printer will print the character at its address. If the line spacing has been changed, that position may be occupied by another character or misaligned in relation to other characters. In short, the character will not be positioned properly in the vertical direction.
This invention addresses the problem of nonprintable regions and overcomes the limitations of the prior art by providing a text scaling method which vertically repositions previously formatted text characters on a page without affecting the operability of software features such as absolute vertical moves.
As is implied by what has just been said, the method of the invention is specifically focused on repositioning text. Data relative to the printing of graphics is distinguished, and in no way altered, vis-a-vis repositioning, inasmuch as the kind of repositioning performed for text characters could result in significant, undesired distortion of graphics features.
The invented text scale method features software which vertically repositions text to be printed on a page so that problems resulting from unprintable regions are avoided. Repositioning is accomplished by recognizing the original vertical print position of a text character relative to the page on which it will be printed, and by then scaling such position by a predetermined percentage, thereby calculating a new vertical print position. By directly changing a text character's original vertical print position formatting features, such as absolute vertical moves, are unafffected.
The single drawing FIGURE is a block diagram showing the text scale method of the invention.
FIG. 1 shows generally at 10 a block diagram of the invented "Text Scale Method" as it would be incorporated in a printer. Initially, the printer receives a printing assignment including data describing characters to print. A page formatter 12 in the printer converts the data into the appropriate printer tasks and writes each task in an open task buffer, as signified by block 14.
The next step is to analyze the task and determine whether the text scale mode is active. In the preferred embodiment, the text scale mode is activated by a DIP-switch located on the printer. If the mode is not active, the task is conveyed to closed task buffer 30 and processed by task processer 32.
If the text scale mode is active, i.e., the user has chosen to use the text scale mode, then the next step in the invented method is to determine whether the task is a graphics task, as signified by block 20. Scaling a graphics figure would result in an overlap between the parts of the figure printed by different passes of the printhead. Accordingly, such figures would have a poor print quality if scaled. Therefore, if the task is a graphics task, the figures to be printed are not scaled.
If the task is not a graphics task, then the character described by the task is repositioned by first recognizing its original vertical print position, as shown by step 22. As used herein, "original vertical print position" means the distance from the top of the page on which the character will be printed down to the position where the character is initially intended to be printed. The print position is then scaled to produce a quotient representing the amount that it will be changed, as illustrated in step 24. In step 26, a new vertical print position is calculated by subtracting the quotient from the original vertical print position.
In the DeskJet printer, wherein the bottom 0.5-inch of a standard 8.5×11-inches page is an unprintable region, the original vertical print position should be reduced by a scaling factor of approximately 6%. Scaling an 11-inch page by 6% results in the 11-inches of text being printable within a region having a vertical dimension of 10.34-inches. Alternatively, subtracting 1/16th of the original vertical print position from such position would allow the DeskJet to print 11-inches of text, or 66-lines per page, within a printable region of 10.5-inches.
For example, consider the situation where the first line of text to be printed on an 8.5×11-inches page is at original vertical print position 0.5, or 1/2-inch from the top of the page. Scaling such position by 6% results in: 0.5-0.5 (0.06)=0.47. Thus, the first line of text would be printed 0.47-inches down the page, instead of 0.5-inches. A subsequent line of text may have an original vertical print position 5. Scaling such position by 6% results in: 5-5 (0.06)=4.7. Thus, that line will be printed at the new vertical print position of 4.7. The last line of text may have an original vertical position 11. Scaling that position results in: 11-11 (0.06)=10.34. Accordingly, 11-inches of text may be printed within a region having a vertical dimension of 10.34-inches. In this example, scaling by 6% is barely visible.
In the DeskJet printer, the scaling is most easily done in two steps, multiplying by 1/16th and then subtracting. However, in other applications, scaling may be performed by simply multiplying the original vertical print position by a certain percentage, i.e. 94%, and thereby eliminating the subtraction.
After the new vertical position has been calculated, it is employed to reposition the characters. The task is then conveyed to the closed task buffer, at step 30, subsequently routed to task processer 32 and then printed.
The above-described invention is applicable to the printer industry in that it scales certain text to be printed so that text characters originally positioned within an unprintable region are no longer lost. With this invention, only the position of the text characters to be printed would be scaled, not the size of the characters. Graphics applications would be misaligned if scaled and therefore are printed without scaling.
Again, this invention allows the vertical print position of text characters to be scaled while maintaining the usability of formatting features such as absolute vertical moves, relative vertical moves and a vertical motion index. As should now be evident, this invention could be used to scale any printed page size to any other.
While the preferred embodiment or best mode of the invention has been described herein, variations and changes may be made without departing from the spirit of the invention.
Claims (17)
1. A method for vertically repositioning a predetermined number of lines of characters to be printed on a page without enlarging the characters, the method comprising:
recognizing the distances from the top of the page down to the positions where the characters comprising each line are initially intended to be printed;
scaling the distances by a predetermined percentage amount, thereby calculating new print positions for the characters of each line; and
employing the new print positions to reposition the characters of each line vertically relative to the page.
2. The method of claim 1, wherein the step of scaling is performed without repositioning the characters horizontally relative to the page.
3. The method of claim 1, wherein the steps are all performed by a printer.
4. The method of claim 1, wherein the step of scaling comprises subtracting from the distances a predetermined percentage of the distances.
5. The method of claim 1, wherein the step of scaling comprises multiplying the distances by a predetermined percentage of the distances.
6. A text-scaling method whereby a predetermined number of lines of characters are repositioned on a page by a printer without enlarging the characters, said method comprising:
receiving a printing assignment which describes the lines of characters;
recognizing the distances from the top of page down to the positions where the characters comprising each line are initially intended to be printed;
scaling the distances by a predetermined percentage amount, thereby calculating new print positions for the characters of each line; and
printing the characters of each line at the new print positions.
7. The method of claim 6, wherein the step of scaling is performed without repositioning the characters horizontally relative to the page.
8. The method of claim 6, wherein the step of scaling comprises subtracting from the distances a predetermined percentage of the distances.
9. The method of claim 6, wherein the step of scaling comprises multiplying the distances by a predetermined percentage of the distances.
10. A task-analyzing, graphics/text-differentiating, text-scaling method whereby text is repositioned on a page by a printer comprising:
receiving a printing assignment;
analyzing the assignment to determine if it is a graphics or a text task;
if the assignment is a graphics task, then printing the graphics;
if the assignment is a text task, then recognizing the distance from the top of the page down to the position where the text was initially intended to be printed, scaling the distance by a predetermined percentage of the distance, thereby calculating a new print position, and printing the text at its new print position.
11. The method of claim 10, wherein the step of scaling is performed without repositioning the characters horizontally relative to the page.
12. The method of claim 10, wherein the step of scaling comprises subtracting from the distance a predetermined percentage of the distance.
13. The method of claim 10, wherein the step of scaling comprises multiplying the distance by a predetermined percentage of the distance.
14. The text-scaling method whereby text is repositioned on a page by a printer, the method comprising:
receiving a printing assignment having a predetermined format from a software application;
analyzing the assignment to determine if it is a graphics or a text task;
if the assignment is a graphics task, then printing the graphics;
if the assignment is a text task, then recognizing the distance from the top of the page down to the position where at least part of the text was initially intended to be printed, scaling the distance by a predetermined percentage of the distance, thereby calculating a new print position, and printing at least part of the text at its new print position.
15. The method of claim 14, wherein the step of scaling is performed without repositioning the text horizontally relative to the page.
16. The method of claim 14, wherein the step of scaling comprises subtracting from the distance a predetermined percentage of the distance.
17. The method of claim 14, wherein the step of scaling comprises multiplying the distance by a predetermined percentage of the distance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US07/522,410 US5100248A (en) | 1988-12-08 | 1990-05-10 | Text scale method |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US29149088A | 1988-12-08 | 1988-12-08 | |
US07/522,410 US5100248A (en) | 1988-12-08 | 1990-05-10 | Text scale method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US29149088A Continuation | 1988-12-08 | 1988-12-08 |
Publications (1)
Publication Number | Publication Date |
---|---|
US5100248A true US5100248A (en) | 1992-03-31 |
Family
ID=26966816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US07/522,410 Expired - Lifetime US5100248A (en) | 1988-12-08 | 1990-05-10 | Text scale method |
Country Status (1)
Country | Link |
---|---|
US (1) | US5100248A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5316396A (en) * | 1991-06-24 | 1994-05-31 | Brother Kogyo Kabushiki Kaisha | Printer capable of printing in a desired print range |
EP0634704A2 (en) * | 1993-07-16 | 1995-01-18 | Sharp Kabushiki Kaisha | Image processor |
US5388920A (en) * | 1993-02-17 | 1995-02-14 | Brother Kogyo Kabushiki Kaisha | Printer with command system selection |
US5530790A (en) * | 1991-12-13 | 1996-06-25 | Nec Corporation | Print control device for a printer or similar equipment |
US5758039A (en) * | 1992-12-25 | 1998-05-26 | Matsushita Electric Industrial Co., Ltd. | Small size printer having multiple font sizes |
US20020078096A1 (en) * | 2000-12-15 | 2002-06-20 | Milton John R. | System and method for pruning an article |
US20030023589A1 (en) * | 2001-07-26 | 2003-01-30 | Castle Daniel C. | Method and apparatus for increasing on-line publication distribution |
US6977749B2 (en) | 2001-03-02 | 2005-12-20 | Hewlett-Packard Development Company, L.P. | System and method for printing images on labels and forms in a printing device |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5787981A (en) * | 1980-11-21 | 1982-06-01 | Tokyo Electric Co Ltd | Label issuing device |
JPS58131085A (en) * | 1982-01-29 | 1983-08-04 | Fujitsu Ltd | Medium-feeding system |
JPS59106984A (en) * | 1982-12-13 | 1984-06-20 | Tokyo Electric Co Ltd | Address label issuing machine |
JPS61132360A (en) * | 1984-12-01 | 1986-06-19 | Toshiba Corp | Character processor |
US4603396A (en) * | 1982-02-26 | 1986-07-29 | Sharp Kabushiki Kaisha | Graphic printer with automatic scale information setting device |
US4608664A (en) * | 1983-02-23 | 1986-08-26 | International Business Machines Corporation | Automatically balancing and vertically justifying a plurality of text/graphics-columns |
US4627748A (en) * | 1984-03-27 | 1986-12-09 | Brother Kogyo Kabushiki Kaisha | Writing-plotting apparatus with keyboard |
US4642779A (en) * | 1984-03-12 | 1987-02-10 | Brother Kogyo Kabushiki Kaisha | Writing-plotting apparatus with keyboard |
JPS6244479A (en) * | 1985-08-22 | 1987-02-26 | Ricoh Co Ltd | Printer |
JPS6287376A (en) * | 1985-10-14 | 1987-04-21 | Sharp Corp | Paper feed controller |
US4698624A (en) * | 1985-04-16 | 1987-10-06 | International Business Machines Corp. | Definition of line unit size |
JPS62238780A (en) * | 1986-04-09 | 1987-10-19 | Nec Corp | Printer |
US4778288A (en) * | 1985-11-29 | 1988-10-18 | Sharp Kabushiki Kaisha | Automatic print zone setting system |
US4799172A (en) * | 1986-04-30 | 1989-01-17 | Gerber Scientific Products, Inc. | Apparatus and method for automatic layout of sign text |
US4804280A (en) * | 1986-05-12 | 1989-02-14 | Brother Kogyo Kabushiki Kaisha | Printer including apparatus for controlling underscore position relative to characters |
US4820069A (en) * | 1986-06-16 | 1989-04-11 | Brother Kogyo Kabushiki Kaisha | Sheet-feeding apparatus with selectable unit feed and coefficient therefor |
US4963042A (en) * | 1988-03-26 | 1990-10-16 | Brother Kogyo Kabushiki Kaisha | Horizontal line position adjusting in frame processing device |
US4964070A (en) * | 1988-05-05 | 1990-10-16 | Vital Lasertype, Inc. | Method for preparing camera-ready photostatic copies printed by raster printers for use in the publishing industry |
-
1990
- 1990-05-10 US US07/522,410 patent/US5100248A/en not_active Expired - Lifetime
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5787981A (en) * | 1980-11-21 | 1982-06-01 | Tokyo Electric Co Ltd | Label issuing device |
JPS58131085A (en) * | 1982-01-29 | 1983-08-04 | Fujitsu Ltd | Medium-feeding system |
US4603396A (en) * | 1982-02-26 | 1986-07-29 | Sharp Kabushiki Kaisha | Graphic printer with automatic scale information setting device |
JPS59106984A (en) * | 1982-12-13 | 1984-06-20 | Tokyo Electric Co Ltd | Address label issuing machine |
US4608664A (en) * | 1983-02-23 | 1986-08-26 | International Business Machines Corporation | Automatically balancing and vertically justifying a plurality of text/graphics-columns |
US4642779A (en) * | 1984-03-12 | 1987-02-10 | Brother Kogyo Kabushiki Kaisha | Writing-plotting apparatus with keyboard |
US4627748A (en) * | 1984-03-27 | 1986-12-09 | Brother Kogyo Kabushiki Kaisha | Writing-plotting apparatus with keyboard |
JPS61132360A (en) * | 1984-12-01 | 1986-06-19 | Toshiba Corp | Character processor |
US4698624A (en) * | 1985-04-16 | 1987-10-06 | International Business Machines Corp. | Definition of line unit size |
JPS6244479A (en) * | 1985-08-22 | 1987-02-26 | Ricoh Co Ltd | Printer |
JPS6287376A (en) * | 1985-10-14 | 1987-04-21 | Sharp Corp | Paper feed controller |
US4778288A (en) * | 1985-11-29 | 1988-10-18 | Sharp Kabushiki Kaisha | Automatic print zone setting system |
JPS62238780A (en) * | 1986-04-09 | 1987-10-19 | Nec Corp | Printer |
US4799172A (en) * | 1986-04-30 | 1989-01-17 | Gerber Scientific Products, Inc. | Apparatus and method for automatic layout of sign text |
US4804280A (en) * | 1986-05-12 | 1989-02-14 | Brother Kogyo Kabushiki Kaisha | Printer including apparatus for controlling underscore position relative to characters |
US4820069A (en) * | 1986-06-16 | 1989-04-11 | Brother Kogyo Kabushiki Kaisha | Sheet-feeding apparatus with selectable unit feed and coefficient therefor |
US4963042A (en) * | 1988-03-26 | 1990-10-16 | Brother Kogyo Kabushiki Kaisha | Horizontal line position adjusting in frame processing device |
US4964070A (en) * | 1988-05-05 | 1990-10-16 | Vital Lasertype, Inc. | Method for preparing camera-ready photostatic copies printed by raster printers for use in the publishing industry |
Non-Patent Citations (4)
Title |
---|
IBM T.D. Bulletin, vol. 28, No. 10, Mar. 1986, pp. 4332 4336. * |
IBM T.D. Bulletin, vol. 28, No. 10, Mar. 1986, pp. 4332-4336. |
IBM T.D. Bulletin, vol. 28, No. 8, Jan. 1986, pp. 3629 3631. * |
IBM T.D. Bulletin, vol. 28, No. 8, Jan. 1986, pp. 3629-3631. |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5316396A (en) * | 1991-06-24 | 1994-05-31 | Brother Kogyo Kabushiki Kaisha | Printer capable of printing in a desired print range |
US5530790A (en) * | 1991-12-13 | 1996-06-25 | Nec Corporation | Print control device for a printer or similar equipment |
US5758039A (en) * | 1992-12-25 | 1998-05-26 | Matsushita Electric Industrial Co., Ltd. | Small size printer having multiple font sizes |
US5388920A (en) * | 1993-02-17 | 1995-02-14 | Brother Kogyo Kabushiki Kaisha | Printer with command system selection |
EP0634704A2 (en) * | 1993-07-16 | 1995-01-18 | Sharp Kabushiki Kaisha | Image processor |
EP0634704A3 (en) * | 1993-07-16 | 1996-10-16 | Sharp Kk | Image processor. |
US5825942A (en) * | 1993-07-16 | 1998-10-20 | Sharp Kabushiki Kaisha | Image processor providing improved readability of characters |
US5896470A (en) * | 1993-07-16 | 1999-04-20 | Sharp Kabushiki Kaisha | Image processor providing improved readability of characters |
EP0981243A3 (en) * | 1993-07-16 | 2004-01-14 | Sharp Kabushiki Kaisha | Image processor |
US20020078096A1 (en) * | 2000-12-15 | 2002-06-20 | Milton John R. | System and method for pruning an article |
US6977749B2 (en) | 2001-03-02 | 2005-12-20 | Hewlett-Packard Development Company, L.P. | System and method for printing images on labels and forms in a printing device |
US20030023589A1 (en) * | 2001-07-26 | 2003-01-30 | Castle Daniel C. | Method and apparatus for increasing on-line publication distribution |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6158749A (en) | Printing processing apparatus | |
US5100248A (en) | Text scale method | |
JPH07319868A (en) | Text editing processor | |
US5007002A (en) | Serial or line printer adapted for use with page describing language | |
US5002408A (en) | Apparatus and method for printing character and ruled line | |
JPS63302083A (en) | Printer | |
JPH0330977A (en) | Page printer control system | |
JP3125906B2 (en) | Document processing device with item area designation function | |
JP3366771B2 (en) | Printing equipment | |
JPH03156668A (en) | Document preparing device | |
JP3145761B2 (en) | Printer | |
JP2525333B2 (en) | Output device | |
JPH0834142A (en) | Pie character printing apparatus | |
JP2555557B2 (en) | Character processor | |
JPS62290984A (en) | Pattern information inputting paper and method of recognizing pattern information using said paper | |
JP2555558B2 (en) | Character processor | |
JPS62208090A (en) | Image processor | |
JP2555556B2 (en) | Character processor | |
JPH1191185A (en) | Printing control method | |
JPH03247475A (en) | Data output device | |
JPH01296335A (en) | Forms overlay table preparing system | |
JPH01229319A (en) | Output device | |
JPH06274150A (en) | Document display method | |
JPS59116831A (en) | Word processor | |
JPH04294179A (en) | Printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
FPAY | Fee payment |
Year of fee payment: 8 |
|
AS | Assignment |
Owner name: HEWLETT-PACKARD COMPANY, COLORADO Free format text: MERGER;ASSIGNOR:HEWLETT-PACKARD COMPANY;REEL/FRAME:011523/0469 Effective date: 19980520 |
|
FPAY | Fee payment |
Year of fee payment: 12 |