How to Evaluate HTML Printing Function Performance: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== | == Initial Bitmap Generation from HTML: == | ||
* | * '''First Use:''' Approximately 1 second to generate a bitmap from HTML. | ||
* | * '''Subsequent Uses:''' Each subsequent generation takes about 0.5 seconds. | ||
* | == Performance in Different Scenarios: == | ||
* | * '''Printing 60-Line Tickets:''' | ||
** Start Time: Printing begins 1 second (or 0.5 second) later than in text mode. | |||
== Optimization | ** Stop Time: Printing ends 0.5 second (or 0.2 second) later than in text mode. | ||
* | * '''Printing 120-Line Tickets:''' | ||
* The number of tags affects the | ** Start Time: Printing begins 1 second (or 0.5 second) later than in text mode. | ||
** Stop Time: Printing ends 0.5 second earlier than in text mode. | |||
== | * '''Printing 70cm Tickets:''' | ||
** Preparation: Ready to print the image in approximately 1.5 seconds. | |||
** Total Printing Time: Around 13 seconds. | |||
== Optimization Strategies: == | |||
* '''Content Simplification:''' Keep HTML content as straightforward as possible. | |||
* '''Tag Management:''' The number of tags in HTML affects bitmap rendering speed. Use the minimum number of necessary tags. | |||
== Demonstration and Resources: == | |||
* '''Demo Availability:''' For practical demonstration and further understanding, please download the provided [http://ftp.wizarpos.com/advanceSDK/PrinterModelDemo.zip demo]. |
Revision as of 17:04, 22 December 2023
Initial Bitmap Generation from HTML:
- First Use: Approximately 1 second to generate a bitmap from HTML.
- Subsequent Uses: Each subsequent generation takes about 0.5 seconds.
Performance in Different Scenarios:
- Printing 60-Line Tickets:
- Start Time: Printing begins 1 second (or 0.5 second) later than in text mode.
- Stop Time: Printing ends 0.5 second (or 0.2 second) later than in text mode.
- Printing 120-Line Tickets:
- Start Time: Printing begins 1 second (or 0.5 second) later than in text mode.
- Stop Time: Printing ends 0.5 second earlier than in text mode.
- Printing 70cm Tickets:
- Preparation: Ready to print the image in approximately 1.5 seconds.
- Total Printing Time: Around 13 seconds.
Optimization Strategies:
- Content Simplification: Keep HTML content as straightforward as possible.
- Tag Management: The number of tags in HTML affects bitmap rendering speed. Use the minimum number of necessary tags.
Demonstration and Resources:
- Demo Availability: For practical demonstration and further understanding, please download the provided demo.