IMAGE PRINTING METHOD AND PRINTER
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.
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.
-
Citations
10 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. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A printer, characterized in comprising:
- an acquisition module, a division module, a reception module, a mapping module and a printing module, wherein,
the acquisition module is configured to obtain an original data file of an image to be printed from a database; the division module is configured to, according to a size of the original data file, divide the original data file into a plurality of first data files and store the first data files in a plurality of first memory blocks correspondingly; the reception module is configured to receive an image printing request, the image printing request carrying first position information of the image to be printed; the mapping module is configured to, for each first data file among the plurality of first data files, determine from its position information of the image to be printed second position information contained in the first position information, and fill 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; the printing module is configured to print and output the second data file in the second memory block. - View Dependent Claims (7, 8, 9, 10)
- an acquisition module, a division module, a reception module, a mapping module and a printing module, wherein,
Specification