Hi, all

How do you print a text to the right side of a console line? In other words how do you print right aligned text in a console? I do not want to use Windows console function because this process should also work in ms-dos.