Patent ID: 8762830

Claim:
A non-transitory computer readable medium comprising computer readable program code embodied therein for causing a processor to perform a method, the method comprising: receiving a print request to print a document encoded in a markup language; parsing the document to identify an image and text; creating a first high-level graphics (HLG) object corresponding to the image, wherein the first HLG object specifies a first z-index for the first HLG object and wherein the first z-index is less than zero; generating, in response to the print request, a first entry in a typesetting program input file comprising a pointer to the first HLG object; generating, in response to the print request, a second entry in the typesetting program input file corresponding to the text; generating, in response to the print request, a typesetting program output file using a typesetting program and the typesetting program input file, wherein the first entry in the typesetting program input file is ignored by the typesetting program; making, in response to the print request, a determination that the z-index for the first HLG object is not equal to zero; and based on the determination: parsing the typesetting output file to identify a page of the document, wherein the text and the first HLG object are located on the page; creating an ItemHandles List for the page, wherein the typesetting program output file exists before the ItemHandles List, and wherein the ItemHandles List is created based on the typesetting program output file; adding a first ItemHandle corresponding to the first entry to the ItemHandles List, wherein the first ItemHandle comprises the pointer to the first HLG object and a position for the first HLG object on the pace, wherein the typesetting program input file and the document encoded in the markup language do not have the position; and generating a display list for the page using the typesetting program output file and the ItemHandles List.