Hello,

I have formatted an invoice and saved it in a text file. In my text file i used TAB after every field, but when I am trying to print that text file using streamreader all tabs are disappeared. Can you please tell me how to retain the TABs while printing?

Thanks in advance.

Regards

When you say "print", do you mean to the screen or to a PRINTER?
When you say the tabs disappeared, do you mean the words now have NO delimiter or did something else happen?

Thanks for your reply.

I am saving the invoice format in text file using vb .net while saving the textfile i have insert TABS after every field. If i open the text file in notepad everything is fine.
Yes, you are correct while printing the textfile using .net NO TAB delimiters are printing on the print output paper.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.