Discussion Locked

Tab value change in Print statment in VB

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Printer.print tab(3);slno;tab(15);Product
when slno is in double digit the product sting value will be pinting in 16 position instead of 15.ie).if slno is single digit no problem.how to avoid this problems

1 reply

by seagull data services

Printer.print tab(2);slno;tab(15);Product

Another option is to send a pre-formatted string to the printer rather than raw data. Look up format$ in help.

This discussion is closed to new replies.