APPLICATION FUNCTION EXTENSION METHOD, SYSTEM, AND PROGRAM
First Claim
Patent Images
1. A method performed in a system which includes a computer having a program installed therein for extending a function of an application also installed into the computer, wherein the computer is configured to be connected to a printing apparatus, the method comprising:
- via a specification unit, specifying an output sheet size output by the printing apparatus;
via an obtaining unit, obtaining a sheet size and margin information set on the application;
via a drawing area calculation unit, calculating a drawing area of the application from obtained the sheet size and the obtained margin information;
via a scaling factor calculation unit, calculating a scaling factor for changing the sheet size from the specified output sheet size and the obtained sheet size to the output sheet size;
via a margin information calculation unit, calculating margin information in the output sheet size on the basis of the calculated scaling factor and the margin information; and
via an update unit, updating the sheet size and the margin information of the application by the sheet size created on the basis of the calculated drawing area and the margin information calculated in the calculating the margin information.
1 Assignment
0 Petitions
Accused Products
Abstract
According to an embodiment of the present invention, in a plug-in of a general use application, sheet size information and margin information set by the application are calculated by using a scaling factor at the time of an expansion or reduction printing. The calculated sheet size information and margin information are reconfigured into the application.
-
Citations
5 Claims
-
1. A method performed in a system which includes a computer having a program installed therein for extending a function of an application also installed into the computer, wherein the computer is configured to be connected to a printing apparatus, the method comprising:
-
via a specification unit, specifying an output sheet size output by the printing apparatus; via an obtaining unit, obtaining a sheet size and margin information set on the application; via a drawing area calculation unit, calculating a drawing area of the application from obtained the sheet size and the obtained margin information; via a scaling factor calculation unit, calculating a scaling factor for changing the sheet size from the specified output sheet size and the obtained sheet size to the output sheet size; via a margin information calculation unit, calculating margin information in the output sheet size on the basis of the calculated scaling factor and the margin information; and via an update unit, updating the sheet size and the margin information of the application by the sheet size created on the basis of the calculated drawing area and the margin information calculated in the calculating the margin information. - View Dependent Claims (2, 3)
-
-
4. A system including a computer having a program installed therein for extending a function of an application also installed into the computer, wherein the computer is configured to be connected to a printing apparatus, the system comprising:
-
a specification unit which specifies an output sheet size output by the printing apparatus; an obtaining unit which obtains a sheet size and margin information set on the application; a drawing area calculation unit which calculates a drawing area of the application from the sheet size and the margin information obtained by the obtaining unit; a scaling factor calculation unit which calculates a scaling factor for changing the sheet size from the output sheet size specified by the specification unit and the sheet size obtained by the obtaining unit to the output sheet size; a margin information calculation unit which calculates margin information in the output sheet size on the basis of the scaling factor calculated by scaling factor calculation unit the and the margin information; and an update unit which updates the sheet size and the margin information of the application by the sheet size created on the basis of the drawing area calculated by the drawing area calculation unit and the margin information calculated by the margin information calculation unit.
-
-
5. A computer-readable storage medium containing computer-executable instructions for a system which includes a computer having a program installed therein for extending a function of an application also installed into the computer, wherein the computer is configured to be connected to a printing apparatus, the medium comprising:
-
computer-executable instructions for specifying an output sheet size output by the printing apparatus; computer-executable instructions for obtaining a sheet size and margin information set on the application; computer-executable instructions for calculating a drawing area of the application from obtained the sheet size and the obtained margin information; computer-executable instructions for calculating a scaling factor for changing the sheet size from the specified output sheet size and the obtained sheet size to the output sheet size; computer-executable instructions for calculating margin information in the output sheet size on the basis of the calculated scaling factor and the margin information; and computer-executable instructions for updating the sheet size and the margin information of the application by the sheet size created on the basis of the calculated drawing area and the margin information calculated in the calculating the margin information.
-
Specification