The medium tangibly embodies one or more programs of instructions executable by the computer to perform a method for printing that includes receiving a print request for printing a document, generating a presentation data stream defining the document, the presentation data stream including at least one page group, the page group defining at least one page for printing and placing a resource enviro