Wrote a script in bash. Now im need to bring information into a text file,for example in PostScript, but there is one problem. I need to have a certain length of string in characters, and stretch or shrink the string on the entire width of the page layout. I have tried a2ps
and enscript
, but there is no such option. Please tell me the solution to this problem, maybe in Ghostscript. How to change letter spacing to fill the lines? Thanks in advance!
For example:
Input
aaa
bbbb
ccccccc
Output
a a a
b b b b
ccccccc