Open gauravbordoloi opened 1 year ago
When I print the below code, the row items are not aligned to center with the column
printer.tableCustom( [ { text: "Tic tac 5", width: 0.4 }, { text: "1, align: "CENTER", width: 0.1, style: 'b' }, { text: "5", align: "CENTER", width: 0.166, style: 'b' }, { text: "5", align: "CENTER", width: 0.166, style: 'b' }, { text: "5", align: "CENTER", width: 0.166, style: 'b' } ], [ { text: "2 in 1 Agarbatti", width: 0.4 }, { text: "1, align: "CENTER", width: 0.1, style: 'b' }, { text: "15", align: "CENTER", width: 0.166, style: 'b' }, { text: "15", align: "CENTER", width: 0.166, style: 'b' }, { text: "30", align: "CENTER", width: 0.166, style: 'b' } ] );
When I print the below code, the row items are not aligned to center with the column