Author Topic: Print Invoice issue  (Read 11674 times)

suyog21

  • Newbie
  • *
  • Posts: 7
Print Invoice issue
« on: March 25, 2012, 06:49:24 am »
Hi,

I have issue while printing invoice. I followed solution provided in this forum but did not get results.
Below is the coding I tried:
<J00>- {QUANTITY} {NAME}| {TOTAL}| {TOTAL AMOUNT}
But  my  total and total amount field does not  get aligned properly. As the {NAME} length varies the last two fields position also varies.

For eg:
1 Salad with Soup                  4.99    4.99
1 Chicken Lemon coriander so      60.00   60.00
 Samosa                          10.00   10.00.

I have attached the sample of invoice print.
Please help me to correct this.

Thanks in advance

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Print Invoice issue
« Reply #1 on: March 25, 2012, 10:27:18 pm »
Hello suyog21.
If you count characters used per line you'll see the printout prepared correct. That happens when you use text printer and send results to XPS printer because default font used in XPS document is not a fixed width font.

If you want to use XPS printer to preview your designs you can choose HTML printer as printer type because it formats document with a fixed width font. Alternatively you can use demo printer and keep a notepad window open to see the result.
« Last Edit: March 25, 2012, 10:30:45 pm by emre »

suyog21

  • Newbie
  • *
  • Posts: 7
Re: Print Invoice issue
« Reply #2 on: March 26, 2012, 11:09:19 pm »
Hi Emre,


Thank you for your reply on my query. I will try out the same and will let you know the results.



Thanks and Regards,

Suyog.