Convert HTML Page design to string

I need to convert my HTML page design to string to print using bluetooth thermal printer