I need help for printing bill out in correct size and setup it up

The HTML in your template, all its doing is setting the font to BOLD, centering it and setting size.

All 3 of these can simply be done with printer template formatting;

In summary relavent to the formatting your HTML is doing;

<Lxx> - Left
<Cxx> - Center
<Jxx> - Justified

All of these xx is the size in the formatting of width/height multiplier, 01 makes wider, 10 makes taller, 11 makes wider and taller…

<EB>- Enable bold
<DB> - Disable bold

So my question was is why are you really using HTML? Usually people do it to change the font but you haven’t specified a font (although believe HTML defaults to something other than the normal printer font.)

1 Like