Patent ID: 8587800

Claim:
A method of generating extensible hypertext markup language (XHTML) data from predetermined content selected and set with printing options by a user, said method comprising: by a terminal which is distinct from an image forming apparatus, setting printing-related options to determine contents to be printed from among one or more predetermined contents of each of one or more standard data items; by the terminal, generating XHTML extension data corresponding to the set printing- related options; and by the terminal, generating XHTML printing data by adding the generated XHTML extension data to XHTML basic data prepared in advance, wherein the setting of the printing-related options comprises: selecting the one or more standard data items from among one or more predetermined standard data items, classifying the one or more predetermined contents of the selected one or more standard data items according to a content type and selecting the contents to be printed from among the classified one or more predetermined contents, wherein contents, from among the classified one or more predetermined contents, corresponding to a content type that cannot be generated as XHTML printing data cannot be selected, extracting the one or more predetermined contents of each of the selected one or more standard data items; selecting the contents to be printed from among the extracted one or more predetermined contents, and classifying the extracted one or more predetermined contents into a header contents, which are contents that are not of a message, and a message contents, which are contents of the message.