Image printing method and printer for segmenting an image to create first data files and first memory blocks and printing each data file using print position information
First Claim
1. An image printing method characterized in comprising:
- obtaining an original data file of an image to be printed from a database;
according to a size of the original data file, dividing the original data file into a plurality of first data files and storing the first data files in a plurality of first memory blocks correspondingly;
receiving an image printing request, the image printing request carrying first position information of the image to be printed;
for each first data file among the plurality of first data files, determining from its position information of the image to be printed second position information contained in the first position information, and filling a first data file corresponding to the second position information to a second memory block from the first memory block where the first data file is located through memory mapping mechanism to form a second data file to be printed; and
printing and outputting the second data file in the second memory block,wherein before obtaining the original data file of the image to be printed from the database, the method further comprises;
obtaining a third data file of the image to be printed; and
dividing the third data file into a plurality of data files, screening the divided data file to generate the original data file of the image to be printed and storing it in the database.
2 Assignments
0 Petitions
Accused Products
Abstract
An image printing method and printer is provided. The method comprises obtaining an original data file of an image to be printed from a database; dividing the original data file into a plurality of first data files and storing the first data files in a plurality of first memory blocks correspondingly; receiving an image printing request, the image printing request carrying first position information of the image to be printed; determining from its position information of the image to be printed second position information contained in the first position information, and filling a first data file corresponding to the second position information to a second memory block from the first memory block where the first data file is located through memory mapping mechanism to form a second data file to be printed; and printing and outputting the second data file in the second memory block.
6 Citations
9 Claims
-
1. An image printing method characterized in comprising:
-
obtaining an original data file of an image to be printed from a database; according to a size of the original data file, dividing the original data file into a plurality of first data files and storing the first data files in a plurality of first memory blocks correspondingly; receiving an image printing request, the image printing request carrying first position information of the image to be printed; for each first data file among the plurality of first data files, determining from its position information of the image to be printed second position information contained in the first position information, and filling a first data file corresponding to the second position information to a second memory block from the first memory block where the first data file is located through memory mapping mechanism to form a second data file to be printed; and printing and outputting the second data file in the second memory block, wherein before obtaining the original data file of the image to be printed from the database, the method further comprises; obtaining a third data file of the image to be printed; and dividing the third data file into a plurality of data files, screening the divided data file to generate the original data file of the image to be printed and storing it in the database. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A printer comprising:
-
a processor; and a memory having instructions thereon, which, when executed by the processor, cause the processor to perform operations of; obtaining an original data file of an image to be printed from a database; according to a size of the original data file, dividing the original data file into a plurality of first data files and storing the first data files in a plurality of first memory blocks correspondingly; receiving an image printing request, the image printing request carrying first position information of the image to be printed; for each first data file among the plurality of first data files, determining from its position information of the image to be printed second position information contained in the first position information, and filling a first data file corresponding to the second position information to a second memory block from the first memory block where the first data file is located through memory mapping mechanism to form a second data file to be printed; printing and outputting the second data file in the second memory block, wherein the instructions, when executed by the processor, further cause the processor to perform operations of; before obtaining the original data file of the image to be printed from the database; obtaining a third data file of the image to be printed; and dividing the third data file into a plurality of data files, screening the divided data file to generate the original data file of the image to be printed and storing it in the database. - View Dependent Claims (7, 8, 9)
-
Specification