Tuto WEBDEV 25
Part 5: Let’s continue the development 197 Overview We are going to give the user the ability to directly print the invoice corresponding to the sought order. Answer If you have not created the pages in the previous lessons, you can still follow the report creation section by opening a corrected project: in the WEBDEV home page (Ctrl + <), click "Tutorial" and select "Full WEBDEV Site (With pages)". A full corrected project is also available: in the WEBDEV home page (Ctrl + <), click "Tutorial" and select "Full WEBDEV Site (Answer)". Principle for printing on Internet In fact, we should not talk about "printing" on Internet. Indeed, when a document must be "printed", a file is generated beforehand (in HTML, PDF or XML format) and it is transmitted to the browser. As soon as the file transfer is completed, the Web user decides whether the document that was received will be printed or not. However, "printing" on the server remains possible. But the document that is printed (on the server printer or on a shared network printer) will not be accessible to the Web user. The printed or generated document is prepared and formatted by the report editor. The information found in the document can come from a database. Two types of prints are available: • The direct print (on the server printer). • The generation of various documents (HTML, PDF, ...). Direct print The direct print consists in printing on a printer directly. This printer is plugged into the server or accessible from the network. The direct print with WEBDEV is recommended for Intranet or Extranet only. This type of print is used to print the logs for customer connections, to directly print the order on the printer of sales department.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==