Adjusting print format in electronic device
A print format adjustment system includes a receiving module, a visual condition determination module, a print format determination module, and a print control module. The receiving module receives content for printing in a first print format. The visual condition determination module establishes the sharpness of vision of a viewer in front of a display, at a predetermined view distance. The print format determination module determines a second print format based on both the first print format and the visual condition of the viewer. The print control module prints the content in the second print format.
1. A computer-implemented method for adjusting print format in an electronic device, the method comprising:
receiving content for printing in a first print format by a processor of the electronic device;
continuously measuring current distance between a viewer and a display of the electronic device by a distance detecting device of the electronic device;
when the current distance between the viewer and the display is equal to a predetermined distance, determining a visual condition of the viewer at the predetermined distance by the processor;
determining a second print format based on the first print format and the visual condition of the viewer by the processor; and
printing the content in the second print format;
wherein the step of determining the visual condition of the viewer comprises: displaying a visual acuity test chart on the display; determining a visual acuity index by testing the viewer using the visual acuity test chart; and determining a minimal size relative to the visual acuity index, wherein the minimal size is a size of which a visual element smaller than is unrecognizable for the viewer at the predetermined distance;
the step of determining the second print format comprises obtaining size of the second print format by using an equation as follows:
{
S
2
=
S
1
,
(
S
m
i
n
≥
S
va
)
S
2
=
S
1
*
(
S
va
/
S
m
i
n
)
,
(
S
m
i
n
<
S
va
)
where S 2 represents the size of the second print format, S 1 represents size of the first print format, S va represent the minimal size relative to the visual acuity index, S min represents size of the smallest visual element defined by the first print format.
2. An electronic device, comprising:
a storage unit;
a processor coupled to the storage unit;
one or more programs being stored in the storage unit and executable by the processor, the one or more programs comprising:
a receiving module configured for receiving content for printing in a first print format;
a distance measurement module configured for continuously measuring current distance between a viewer and a display of the electronic device;
a visual condition determination module configured for determining a visual condition of the viewer at a predetermined distance when the current distance between the viewer and the display is equal to the predetermined distance;
a print format determination module configured for determining a second print format based on the first print format and the visual condition of the viewer; and
a print control module configured for printing the content in the second print format;
wherein the visual condition determination module is configured for displaying a visual acuity test chart on the display, determining a visual acuity index by testing the viewer using the visual acuity test chart, and determining a minimal size relative to the visual acuity index, where the minimal size is a size of which a visual element smaller than is unrecognizable for the viewer at the predetermined distance; and
the second print format determination module is configured for obtaining size of the second print format by using an equation as follows:
{
S
2
=
S
1
,
(
S
m
i
n
≥
S
va
)
S
2
=
S
1
*
(
S
va
/
S
m
i
n
)
,
(
S
m
i
n
<
S
va
)
where S 2 represents the size of the second print format, S 1 represents size of the first print format, S va represent the minimal size relative to the visual acuity, S min represents size of the smallest visual element defined by the first print format.