How to Evaluate HTML Printing Function Performance: Difference between revisions

From wizarPOS
(Replaced content with "{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/printer/evaluate-html-print-performance}}")
Tag: Replaced
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Performance description ==
{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/printer/evaluate-html-print-performance}}
* Usually it need 1 second to get the bitmap from HTML at the first time. In the next time, it only need 0.5 seconds.
* In the case of a 60 lines receipt, the printer starts 1 second or 0.5 seconds slower than the same text mode printing. And the printing stops 0.5 seconds or 0.2 seconds slower than the text mode printing.
* In the case of a 120 lines receipt, the printer starts also 1 second or 0.5 seconds slower than text mode printing. But the printing stops 0.5 seconds faster than text mode printing.
* We have tested printing 70cm receipt, it prepare the image within 1.5 second and the total printing spends 13 seconds.
 
== Optimization strategy ==
* Keep HTML content as simple as possible.
* The number of tags affects the speed of rendering bitmap from HTML, so please only use necessary tags in the HTML.
 
== Demo of print HTML ==
Please download the [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/advanceSDK/PrinterModelDemo.zip demo]

Latest revision as of 07:42, 7 April 2024

Please visit new link of same subject:

https://smartpossdk.gitbook.io/cloudpossdk/faq/printer/evaluate-html-print-performance

We're making a move! Our site's content is migrating to a new URL, to provide you with an enhanced browsing experience. Please update your bookmarks accordingly. Thank you for your continuous support!