Application function extension method, system, and program
First Claim
Patent Images
1. A method for an application, the method comprising:
- specifying an output sheet size output by a printing apparatus;
obtaining a sheet size and margin information set on the application;
calculating a scaling factor for changing the sheet size from the obtained sheet size to the specified output sheet size, on the basis of the obtained sheet size and the specified output sheet size;
calculating margin information to be newly set on the application on the basis of the calculated scaling factor and the obtained margin information; and
updating the obtained margin information of the application to updated margin information calculated in the calculating margin information step.
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 for an application, the method comprising:
-
specifying an output sheet size output by a printing apparatus; obtaining a sheet size and margin information set on the application; calculating a scaling factor for changing the sheet size from the obtained sheet size to the specified output sheet size, on the basis of the obtained sheet size and the specified output sheet size; calculating margin information to be newly set on the application on the basis of the calculated scaling factor and the obtained margin information; and updating the obtained margin information of the application to updated margin information calculated in the calculating margin information step. - View Dependent Claims (2, 3)
-
-
4. An apparatus which operates for an application, the apparatus comprising:
-
a specification unit which specifies an output sheet size output by a printing apparatus; an obtaining unit which obtains a sheet size and margin information set on the application; a scaling factor calculation unit which calculates a scaling factor for changing the sheet size from the sheet size obtained by the obtaining unit to the output sheet size specified by the specification unit, on the basis of the obtained sheet size and the specified output sheet size; a margin information calculation unit which calculates margin information to be newly set on the application on the basis of the scaling factor calculated by scaling factor calculation unit and the margin information obtained by the obtaining unit; and an update unit which updates the margin information of the application to updated margin information calculated by the margin information calculation unit.
-
-
5. A non-transitory computer-readable storage medium containing computer-executable instructions an apparatus which operates for an application, the medium comprising:
-
computer-executable instructions for specifying an output sheet size output by a printing apparatus; computer-executable instructions for obtaining a sheet size and margin information set on the application; computer-executable instructions for calculating a scaling factor for changing the sheet size from the obtained sheet size to the specified output sheet size, on the basis of the obtained sheet size and the specified output sheet size; computer-executable instructions for calculating margin information to be newly set on the application on the basis of the calculated scaling factor and the obtained margin information; and computer-executable instructions for updating the margin information of the application to updated margin information calculated by the computer-executable instructions for calculating the margin information.
-
Specification