Patent ID: 7375833

Claim:
A method for generating page description language, the method, comprising: (a) accepting a drawing command; (b) determining whether or not the accepted drawing command is a logical drawing command; (c) if the accepted drawing command is a logical drawing command, adding the accepted drawing command to a held drawing command sequence table; (d) comparing the held drawing command sequence table with entries in a reference table including registered substitution conditions for drawing commands to determine if there is an entry in the reference table that matches the held drawing command sequence table; and (e) if there is an entry in the reference table that matches the held drawing command sequence table: (i) obtaining a substitution drawing command from the reference table for the entry in the reference table that matches the held drawing command sequence table; (ii) generating page description language by outputting the substitution drawing command; and (iii) clearing the held drawing command sequence table.