Table in print format

how to make this kind of table for sales invoice in print format

Create a custom print format for Sales Invoice and write HTML code

i have used bootstrap in html for creating table.but i dono how to create tis part of table

you can assign bootstrap class in td also like this wat etc.