The present invention relates to a method and a system for online creation and
ordering of customized material for printing, where each customer at front end,
through a computerized interface, participates in the process of creating, editing,
proof printing and finally ordering print-ready files through Internet, via a printing
service provider which automates the production of the print-ready files, and where
print shops carefully chosen by the printing service provider automatically receives
the print-ready files directly into their printing press. A PDF engine uses two
XML files to create a customer PDF document for printing on demand. One XML file,
the data XML file, comprises the data and it's typing for printing, and is created
by the customer through the computerized interface. The second XML file, design
XML file, comprises a description of how said data can be positioned and formatted,
in a created document by the customer through said interface. The PDF engine generates
the print-ready document through providing a new structure by analyzing the two
XML files, while analyzing merging data and formatting information, thus making
it possible to create a PDF document with a distinct difference between data to
be printed and the design of the PDF document.