# US 2009/0276697 A1 · Methods and Systems for Treating Overflow Conditions and For Re-Sizing Printable Content

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2009/0276697 A1
- Document ID: US20090276697A1
- Status: Published application
- Kind: A1
- Application number: 12/471,248
- Filed: 2009-05-22
- Published: 2009-11-05
- Earliest claimed: 2005-06-10
- Assignees: Microsoft Corporation
- Inventors: Markus W. Mielke; Adrian Bateman
- Web page: https://patentgrep.com/patent/US20090276697A1

## CPC

- G06F 40/106: Display of layout of documents; Previewing
- G06F 40/103: Formatting, i.e. changing of presentation of documents (automatic justification G06F40/189; automatic line break hyphenation G06F40/191)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Various embodiments evaluate content that is to be printed and ascertain whether the content is going to overflow or be “orphaned” onto a second page when printed. If some content will create an orphan when printed, then the content is scaled to fit onto a single page when printed. In some embodiments, the content is simply proportionally scaled to fit onto a single page. In other embodiments, the content is further processed to scale it in a manner that makes intelligent use of the white space on the printed page.

## Claims

### Claim 1

One or more computer-readable media comprising instructions that are executable to:
ascertain whether content laid out for printing on paper will print on a first page of paper and create an orphan on a second page of paper that is less than a predetermined percentage of the second page's printable height;
define a layout structure determined from a ratio of a height of the content laid out for printing on the first page of paper and the content's height; and
print the content on the first page of paper with the content scaled according to the ratio to fit the layout structure, the content being laid out so the content is printed on the first page of paper.

### Claim 2 (depends on 1)

One or more computer-readable media of claim 1, wherein the instructions embody standalone software that is separate from an application that provides the content laid out for printing.

### Claim 3 (depends on 1)

One or more computer-readable media of claim 1, wherein the content is received from an application that laid out the content for printing.

### Claim 4 (depends on 1)

One or more computer-readable media of claim 1, wherein the content is scaled inwardly from the layout structure.

### Claim 5 (depends on 1)

One or more computer-readable media of claim 1, wherein the layout structure' s width is a function of the ratio.

### Claim 6

A computer-implemented method comprising:
ascertaining whether content in an original layout for printing on one or more pages of paper will result in creation of an orphan which when printed on a separate page of paper would not meet a predefined criteria;
reflowing the content in a layout structure according to a scaling factor so that the content fits on the one or more pages of paper without printing the orphan on the separate page of paper, the scaling factor comprising a ratio determined from the height of the content and the height of the orphan and the reflowing being performed in response to a determination that the orphan does exist; and
resizing the content according to the scaling factor so the content fits in the layout structure and on the one or more pages of paper without printing the orphan on the separate page of paper.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the predefined criteria comprises a predefined percentage of a height of the separate page of paper.

### Claim 8 (depends on 6)

The computer-implemented method of claim 6, wherein the layout structure's height is the height of the content and the layout structure's width is the width of the content divided by the scaling factor.

### Claim 9 (depends on 6)

The computer-implemented method of claim 6, further comprising printing the content that is reflowed and resized on the one or more pages of paper.

### Claim 10 (depends on 6)

The computer-implemented method of claim 6, wherein the scaling factor comprises a ratio of a height of content on one of the one or more pages of paper divided by the height of the content.

### Claim 11 (depends on 6)

The computer-implemented method of claim 6, further comprising obtaining the scaling factor from a table.

### Claim 12 (depends on 6)

The computer-implemented method of claim 6, wherein the reflowing comprises re-laying out the content for printing in the layout structure.

### Claim 13 (depends on 6)

The computer-implemented method of claim 6, wherein the original layout for printing is laid out by an application that provided the content.

### Claim 14

A computer-implemented method comprising:
ascertaining whether content, when printed, will print on a first page of paper and create an orphan printed on a second page of paper;
scaling the content that includes the orphan based on a scale factor that is determined by dividing a height of the content that would be printed on the first page by the sum of the height of the content that would be printed on the first page and a height of the orphan responsive to the ascertaining that the orphan would exist; and
reflowing the content that includes the orphan in a layout structure that has (a) a height that is the sum of the height of the content that would be printed on the first page and the height of the orphan, and (b) a width that is determined by dividing an original width of the content by a scaling factor of between 0.83 and 1.0; and
using the layout structure to print the content on the first page of paper.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, wherein the content is received from a separate application for printing on a printer.

### Claim 16 (depends on 14)

The computer-implemented method of claim 14, wherein the content has an original layout for printing when received from an application.

### Claim 17 (depends on 14)

The computer-implemented method of claim 14, said scaling, reflowing and using are performed when the orphan comprises a predefined percentage of a height of the second page.

### Claim 18 (depends on 14)

The computer-implemented method of claim 14, further comprising obtaining the scaling factor from a table.

### Claim 19 (depends on 14)

The computer-implemented method of claim 14, wherein the reflowing comprises re-laying out the content for the printing in the layout structure.

### Claim 20 (depends on 14)

The computer-implemented method of claim 14, wherein the layout structure comprises a rectangle.
