Print controller for reducing document data to be printed on sheet
First Claim
1. A print controller comprising:
- a first area calculating unit that subtracts an unprintable area from a sheet to calculate a first area having a prescribed aspect ratio;
a margin setting unit that sets a margin in the sheet;
a second area calculating unit that subtracts an overlapped area between the margin and the first area from the first area to calculate a second area;
a reduction ratio calculating unit that calculates a reduction ratio of the first area so that the first area can be reduced while maintaining the prescribed aspect ratio to achieve a maximum occupation within the second area;
a third area calculating unit that divides the second area by the reduction ratio to calculate a third area which is broader than the second area;
a laying out unit that sets the third area as a printable area to lay out document data within the third area; and
a first print commanding unit that reduces the document data laid out in the third area by the reduction ratio to issue a command for printing the reduced document data on the second area.
1 Assignment
0 Petitions
Accused Products
Abstract
A print controller is capable of printing document data within a printable area without generating unnecessary spaces on the sheet, even when the printable area of the sheet has been modified. The print controller includes a function for acquiring the sheet size from the printer driver based on the size set by a sheet size setting function. Specifically, the sheet data acquiring function transmits the sheet size set by the sheet size setting function to the printer driver via a graphics engine. The printer driver calculates the printable area of the sheet based on the sheet size set by the application. The printer driver returns the calculated area to the application. The area returned to the application is then used as a virtual print area used only in processes performed by the application. The print controller has another function for creating a layout based on the virtual print area. That is, the application recognizes the dimensions of the virtual print area received from the printer driver as the printable area and creates the layout based on this area.
24 Citations
17 Claims
-
1. A print controller comprising:
-
a first area calculating unit that subtracts an unprintable area from a sheet to calculate a first area having a prescribed aspect ratio;
a margin setting unit that sets a margin in the sheet;
a second area calculating unit that subtracts an overlapped area between the margin and the first area from the first area to calculate a second area;
a reduction ratio calculating unit that calculates a reduction ratio of the first area so that the first area can be reduced while maintaining the prescribed aspect ratio to achieve a maximum occupation within the second area;
a third area calculating unit that divides the second area by the reduction ratio to calculate a third area which is broader than the second area;
a laying out unit that sets the third area as a printable area to lay out document data within the third area; and
a first print commanding unit that reduces the document data laid out in the third area by the reduction ratio to issue a command for printing the reduced document data on the second area. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A print controller comprising:
-
a first area calculating unit that subtracts an unprintable area from a sheet to calculate a first area having a prescribed aspect ratio;
a divided print setting unit that selects a divided print to print on an area of the sheet divided by a number of N;
a second area calculating unit that multiplies the first area by a ratio of 1/N to calculate a second area;
a reduction ratio calculating unit that calculates a reduction ratio for the first area so that the first area can be reduced while maintaining the aspect ratio to achieve a maximum occupation in the second area;
a third area calculating unit that divides the second area by the reduction ratio to calculate a third area which is broader than the second area;
a laying out unit that lays out document data in the third area as a printable area; and
a first print commanding unit that reduces the document data in the third area laid out by the laying out means by the reduction ratio to issue a command to print the reduced document data in the second area. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A print controller comprising:
-
means for subtracting an unprintable area from a sheet to obtain a printable area having an aspect ratio, the unprintable area having a width;
means for setting a desired printing area within the printable area;
means for calculating a reduction ratio for the printable area so that the printable area can be reduced while maintaining the aspect ratio to achieve a maximum occupation within the desired printing area;
means for dividing the desired printing area by the reduction ratio to obtain a virtual area;
means for laying out document data with the virtual area; and
means for reducing the virtual area including the laid out document data by the reduction ratio to issue a command to print the reduced document data on the desired printing area. - View Dependent Claims (13, 14, 15, 16, 17)
-
Specification