knyga / html2thermal

JavaScript library to translate subset of HTML into commands which can be executed on the thermal printer.
MIT License
43 stars 2 forks source link

html with external style #2

Closed iCloudsPWASaaS closed 1 year ago

iCloudsPWASaaS commented 2 years ago

Hi,

I want to send html using external style, do you think this can be able to print.

knyga commented 2 years ago

@WebScaffolder Hi! It looks like the task for inline-css: https://www.npmjs.com/package/inline-css

nipoonp commented 1 year ago

Hi buddy,

I tried both inline styling and using a separate styling css tag. However, it both dont seem to work.

Even tried to the inline-css library.

Any suggestions on what I could try?