below is my receipt code when i print using thermal printer the print out are not big for customer how can i increase the size
'receipt.Add(malignleft)
receipt.Add(malignleft + "----------------------------------------- ")
'receipt.Add("----------------------------------------- ")
receipt.Add(String.Format("{0,-17} {1,17}", "Pin: " & MdlConn.tCompany.company_pinno, "Vat: " & MdlConn.tCompany.company_vatno))
If bill Then
receipt.Add(String.Format("{0,-17} {1,17}", Now.ToString("dd-MM-yyyy hh:mm:ss"), "Bill No: " & tReceipt.receipt_ref))
Else
receipt.Add(String.Format("{0,-17} {1,17}", Now.ToString("dd-MM-yyyy hh:mm:ss"), "Rct No: " & tReceipt.receipt_ref))
End If
If bill Then
receipt.Add("========================================= ")
Afzaal Ahmad ZeeshanPosted Jun 23, 2016, 6:36 AM
- Increase the margins of the content. Margins would let you centralize the content on the ticket.
- Increase the padding of the content to add some extra white spacing.
- Increase the font-size.
These are a few of the way that you can do to increase the area that this content is going to take in the ticket. But remember, that won't help at all. In such cases, a "footer" is always recommended. Below the final line, you can add your own information such as, "Created by: Carlos, contact me at: ###". Something like this. It all just depends on what you want to create and what your contractor is going to allow you to add.