Method and apparatus for generating XHTML-Print contents

The XHTML data generating method and apparatus are disclosed. XHTML data generation method according to the present invention performed the XHTML data from the printable printing devices with the device connected to the network, for each of one or more structured data to be printed, printing setting that determines the information for printing of the contents of the fixed form data (a) step of setting the information, by inserting the XHTML extension data for generating corresponding to set the the XHTML extension data as possible into the XHTML basic data previously provided information (b) step, and generates the XHTML basic data, the and the inclusion of (c) generating the XHTML data is preferred.