HTML Code for Thermal Printer

Job ID: 39309141

Budget: $10 – $30 USD

I have a code modification issue with my JavaScript script that prints shipping labels. After I increased the font size, the code now generates an extra page. I need an experienced JavaScript developer who can quickly debug my code and help me resolve this issue.

Ideal Skills:
- Proficient in JavaScript
- Experience with thermal printers
- Familiarity with Print API

Please find attached the code and a sample output. Your task would be to fix the code so it doesn't print the extra page, while still maintaining the larger font size.
Related categories: PHP JavaScript CSS HTML5 jQuery / Prototype