Print data processing apparatus
AssigneeCanon Kabushiki Kaisha
InventorShuichi Takenaka
Life of this patent
Estimating the term…
Abstract
In processing using a print data processing apparatus that parallelly interprets pages of print data, in the case where a command to reset the number of already interpreted pages is included in the print data, a certain page to be printed is not printed. In the case of detecting a command to invalidate contents interpreted hitherto, an interpreter stores the number of already interpreted pages at the time in point of the detection of the invalidation command in a cache. Then, the interpreter generates intermediate data in the case where the sum of the cached value and the number of already interpreted pages managed by the interpreter coincides with a processing-target page number.
Claims10
A print data processing apparatus comprising:
- at least one interpretation unit configured to generate intermediate data by interpreting print data;
- a first holding unit configured to hold a number of pages already interpreted by an interpretation unit;
- a second holding unit;
- a first processing unit configured to, in a case where a predetermined command is detected by the interpretation unit in the print data, store, in the second holding unit, a sum of the number of pages held by the first holding unit and a number held by the second holding unit;
- a second processing unit configured to, in the case where the predetermined command is detected, set the number held by the first holding unit to zero;
- and
- an obtaining unit configured to obtain a page number of a page of which intermediate data is to be generated, wherein a difference is obtained by subtracting the number held by the second holding unit from the page number obtained by the obtaining unit,
- wherein the interpretation is configured to generate the intermediate data for a page number corresponding to the difference by interpreting the page of the print data.
A print data processing method executed by a print data processing apparatus comprising at least one interpretation unit configured to generate intermediate data by interpreting, print data, and a first holding unit configured to hold a number of pages already interpreted by the interpretation unit, the method comprising:
- a first processing step of, in a case where a predetermined command is detected by the interpretation unit in the print data, storing in a second holding unit, a sum of the number of pages held by the first holding unit and a number held by the second holding unit;
- a second processing step of, in the case where the predetermined command is detected, setting the number held by the first holding unit to zero;
- an obtaining step of obtaining a page number of a page of which intermediate data is to be generated, wherein a difference is obtained by subtracting the number held by the second holding unit from the page number obtained;
- and
- a generation step of generating the intermediate data for a page of a page number corresponding to the difference by the interpretation unit interpreting the page of the print data.
A non-transitory computer-readable recording medium storing code of a program for executing a print data processing method to be executed by a processor of a print data processing apparatus comprising at least one interpretation unit configured to generate intermediate data by interpreting print data, and a first holding unit configured to hold a number of pages already interpreted by the interpretation unit, the program comprising to execute:
- a first processing step of, in a case where a predetermined command is detected by the interpretation unit in the print data, storing in a second holding unit, a sum of the number of pages held by the first holding unit and a number held by the second holding unit;
- a second processing step of, in the case where the predetermined command is detected, setting the number held by the first holding unit to zero;
- an obtaining step of obtaining a page number of a page of which intermediate data is to be generated, wherein a difference is obtained by subtracting the number held by the second holding unit from the page number obtained;
- and
- a generation step of generating the intermediate data for a page of a page number corresponding to the difference by the interpretation unit interpreting the page of the print data.
Dependencies are inferred from the claim text.