USRE47519EActiveUtility
Image forming apparatus and method that adjusts an XPS file to the outputted paper size
Est. expiryOct 23, 2028(~2.3 yrs left)· nominal 20-yr term from priority
G06K 15/02G06K 15/021G06K 15/1823G06K 15/4065G06K 15/005G06K 15/1811G06F 3/12G06F 9/00
60
PatentIndex Score
0
Cited by
36
References
39
Claims
Abstract
An image forming apparatus includes a communication interface unit to receives an XML paper specification (XPS) file, an XPS file processing unit which converts the XPS file into an output data corresponding to printing paper to print the XPS file using information regarding the height and width of a FixedPage in the XPS file, and a control unit which controls the image forming apparatus to print the output data. Accordingly, even when an XPS file does not include information regarding printing paper, a user can select and print printing paper suitable for the user's demand.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. An image forming apparatus, comprising:
a communication interface unit to receive an XML paper specification (XPS) file;
an XPS file processing unit to convert the XPS file into an output data corresponding to printing paper to print the XPS file based on information regarding the height and width of a FixedPage in the XPS file; and
a control unit to control the image forming apparatus to print the output data,
wherein the XPS file Processing processing unit comprises a determination unit to determine if a printing paper option is set for the XPS file.
2. The image forming apparatus according to claim 1 , wherein the XPS file processing unit comprises:
a search unit to search for the printing paper to print the XPS file based on the information regarding the height and width of the FixedPage in the XPS file when the printing paper option is not set for the XPS file; and
a data generation unit to convert the XPS file into the output data corresponding to the searched printing paper.
3. The image forming apparatus according to claim 2 , wherein the determination unit identifies the presence of a tag “PageMediaSize” in a PrintTicket of the XPS file so as to determine if the printing paper option is set for the XPS file.
4. The image forming apparatus according to claim 1 , further comprising:
a user interface (UI) unit to display a message that a printing paper option is not set for the XPS file if a printing paper option is not set for the XPS file.
5. The image forming apparatus according to claim 2 , wherein the search unit searches for printing paper having the lowest error rate compared with the height and width of the FixedPage, or printing paper having the lowest error rate within a designated error rate range compared with the height and width of the FixedPage among printing paper supported by the image forming apparatus.
6. The image forming apparatus according to claim 5 , wherein the search unit searches for printing paper having the lowest error rate compared with the height and width of the FixedPage, or printing paper having the lowest error rate within a designated error rate range compared with the height and width of the FixedPage by comparing the height and width of the FixedPage with the size of printing paper laid on a tray of the image forming apparatus.
7. The image forming apparatus according to claim 2 , wherein:
the data generation unit converts the XPS file into the output data so as to fit to the searched printing paper when the size of the searched printing paper is smaller than the height and width of the FixedPage,
the data generation unit converts the XPS file into the output data by clipping an area of the XPS file when the height or width of the FixedPage is greater than the size of the searched printing paper, and
the data generation unit converts all pages of the XPS file into the output data corresponding to the searched printing paper.
8. The image forming apparatus according to claim 4 , wherein the UI unit displays the printing paper supported by the image forming apparatus, and receives setting of the printing paper to print the XPS file.
9. The image forming apparatus according to claim 1 , further comprising:
a storage unit to set the searched printing paper as an additional printing paper option for the XPS file, and to store the XPS file in which the printing paper option is set.
10. An image forming method of an image forming apparatus, the method comprising:
receiving an XML paper specification (XPS) file;
determining if a printing paper option is set for the XPS file;
when the printing paper option is not set for the XPS file, searching for printing paper to print the XPS file based on the information regarding the height and width of a FixedPage in the XPS file; and
adjusting the XPS file for printing and printing the XPS file to correspond to the searched printing paper.
11. The method according to claim 10 , wherein the determining operation comprises identifying the presence of a tag “PageMediaSize” in a PrintTicket of the XPS file, and determining if the printing paper option is set based on the presence of the tag “PageMediaSize”.
12. The method according to claim 10 , further comprising:
displaying a message that the printing paper option is not set for the XPS file when the printing paper option is not set for the XPS file.
13. The method according to claim 10 , wherein the searching operation comprises searching for printing paper having the lowest error rate compared with the height and width of the FixedPage, or printing paper having the lowest error rate within a designated error rate range compared with the height and width of the FixedPage among printing paper supported by the image forming apparatus.
14. The method according to claim 13 , wherein the searching operation comprises:
comparing the height and width of the FixedPage with the size of printing paper laid on a tray of the image forming apparatus; and
searching for printing paper having the lowest error rate compared with the height and width of the FixedPage, or printing paper having the lowest error rate within a designated error rate range compared with the height and width of the FixedPage.
15. The method according to claim 10 , wherein the printing operation comprises:
converting the XPS file into the output data so as to fit to the searched printing paper if the size of the searched printing paper is smaller than the height and width of the FixedPage, converting the XPS file into the output data by clipping an area of the XPS file if the height or width of the FixedPage is greater than the size of the searched printing paper; and
converting all pages of the XPS file into the output data corresponding to the searched printing paper.
16. The method according to claim 10 , further comprising:
displaying the printing paper supported by the image forming apparatus; and
receiving a setting of the printing paper to print the XPS file.
17. The method according to claim 16 , wherein the receiving operation comprises providing a preview on how the XPS file will be printed on a selected kind of paper after a user selects at least one kind of printing paper from which the user can select.
18. The method according to claim 10 , further comprising:
setting the searched printing paper as an additional printing paper option for the XPS file, and storing the XPS file in which the printing paper option is set.
19. An apparatus comprising:
a processing unit to convert an XML paper specification (XPS) file into output data corresponding to printing paper based on information regarding a height and width of a FixedPage in the XPS file; and
a communication unit to transmit the output data to an image forming apparatus for printing,
wherein the processing unit further comprises:
a determination unit to determine whether a printing paper option is set in the XPS file;
a search unit to select the printing paper based on height and width information included in the FixedPage when no printing paper option is set in the XPS file; and
a data conversion unit to adjust the XPS file into the output data using the FixedPage information based on the printing paper.
20. The apparatus according to claim 19 , wherein the data conversion unit crops the XPS file when the height and width information included in the FixedPage is greater than a height and width of the printing paper.
21. An image forming apparatus, comprising:
a communicator to receive an XML paper specification (XPS) file; and at least one processor to:
determine whether a printing paper option is set for the received XPS file,
based on the printing paper option being determined to not be set, select printing paper on which to print the received XPS file based on information regarding a height and a width of a FixedPage element in the received XPS file,
change the received XPS file based on the selected printing paper, and
control the image forming apparatus to print the changed XPS file on the selected printing paper.
22. The image forming apparatus according to claim 21, wherein the at least one processor is to change the received XPS file by performing at least one of a clip operation or a fit operation on a printing area associated with a page of the received XPS file based on at least one of the height and the width of the FixedPage element corresponding to the page being greater than a size of the selected printing paper.
23. The image forming apparatus according to claim 21, wherein the at least one processor is to change the received XPS file by fitting a printing area associated with a page of the received XPS file to the selected printing paper based on a size of the selected printing paper being smaller than the height and the width of the FixedPage element corresponding to the page.
24. The image forming apparatus according to claim 21, wherein the at least one processor is to determine whether the printing paper option is set for the received XPS file by identifying a presence of a PageMediaSize tag in a PrintTicket element of the FixedPage element of the received XPS file.
25. The image forming apparatus according to claim 21, wherein the at least one processor is to select the printer paper by selecting printing paper having a lowest error rate, compared with the height and the width of the FixedPage element among printing paper supported by the image forming apparatus.
26. The image forming apparatus according to claim 25, wherein the at least one processor is to select the printing paper having the lowest error rate by comparing the height and the width of the FixedPage element with a size of printing paper on a tray of the image forming apparatus.
27. The image forming apparatus according to claim 21, further comprising:
a display to display a message indicating whether the printing paper option is set for the received XPS file.
28. The image forming apparatus according to claim 27, wherein the display is further to display printing paper supported by the image forming apparatus.
29. The image forming apparatus according to claim 21, further comprising:
a storage to store the received XPS file, wherein the at least one processor is further to set the selected printing paper as the printing paper option for the received XPS file.
30. An image forming method of an image forming apparatus, the method comprising:
receiving, by the image forming apparatus, an XML paper specification (XPS) file; determining, by the image forming apparatus, whether a printing paper option is set for the received XPS file; based on the printing paper option being determined to not be set for the received XPS file, selecting, by the image forming apparatus, printing paper on which to print the received XPS file based on the information regarding a height and a width of a FixedPage element in the received XPS file; changing the received XPS file based on the selected printing paper; and printing, by the image forming apparatus, the changed XPS file on the selected printing paper.
31. The method according to claim 30, wherein the determining whether the printing paper option is set for the received XPS file includes identifying a presence of a PageMediaSize tag in a PrintTicket element of the FixedPage element of the received XPS file.
32. The method according to claim 30, further comprising:
displaying a message indicating whether the printing paper option is set for the received XPS file.
33. The method according to claim 30, wherein the selecting the printing paper includes selecting printing paper having a lowest error rate, compared with the height and the width of the FixedPage element among printing paper supported by the image forming apparatus.
34. The method according to claim 33, wherein the selecting the printing paper having the lowest error rate includes:
comparing the height and the width of the FixedPage element with a size of printing paper on a tray of the image forming apparatus.
35. The method according to claim 30, wherein the changing the received XPS file based on the selected printing paper includes:
performing at least one of a clipping operation or a fitting operation on a printing area associated with a page of the received XPS file based on at least one of the height and the width of the FixedPage element corresponding to the page being greater than a size of the selected printing paper.
36. The method according to claim 30, wherein the changing the received XPS file based on the selected printing paper includes:
fitting a printing area associated with a page of the received XPS file to the selected printing paper based on a size of the selected printing paper being smaller than the height and the width of the FixedPage element corresponding to the page.
37. The method according to claim 30, further comprising:
displaying printing paper supported by the image forming apparatus.
38. The method according to claim 37, further comprising displaying a preview of the XPS file printed on the selected printed paper.
39. The method according to claim 30, further comprising:
setting the selected printing paper as the printing paper option for the received XPS file, and storing the received XPS file in which the printing paper option is set.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.