Patent ID: 8817289

Claim:
A print data processing apparatus comprising: a memory which stores print data configured page by page; an unnecessary page detection portion configured to detect an unnecessary page which includes ruled line data and does not include character data from the print data stored in the memory; an unnecessary page deletion portion configured to delete, from the print data stored in the memory, the unnecessary page detected by the unnecessary page detection portion, wherein the print data include a ruled line command indicating that a ruled line is included, and a character command indicating that a character is included, and the unnecessary page detection portion is configured to detect the unnecessary page including the ruled line command and not including the character command by analyzing commands in the print data to determine whether a page includes the ruled line command and whether the page includes the character command; and an adjacent page processing portion configured to process ruled line data included in print data of a page adjacent to the unnecessary page, and to store the processed print data of the page adjacent to the unnecessary page in the memory, wherein the adjacent page processing portion is configured to delete a portion of a ruled line continuing to a ruled line of the unnecessary page.