in reply to Re^2: Dynamic text (amount in decimal) not aligned on PDF
in thread Dynamic text (amount in decimal) not aligned on PDF

Try this
# remove these #my $len_item_amt = length $item_amt; #my $len_amt_delayed1 = length $amt_delayed1;#$amt_delayed1; # replace this line # my $v_pos1 = 140 + $len_item_amt; my $w1 = $left_column_text->advancewidth($item_ant); my $w2 = $left_column_text->advancewidth($amt_delayed1); # replace this line # -x => $v_pos1 - $len_amt_delayed1,#140 , -x => 140 + $w1 - $w2;
poj

Replies are listed 'Best First'.
Re^4: Dynamic text (amount in decimal) not aligned on PDF
by osexplorer (Novice) on Nov 18, 2014 at 18:33 UTC

    Yaaaaayyyy..it worked!!! Thank you so much poj! I was about to start writing the code to put that complete set of fields into a grid and would have tried aligning the text to the right.

    I am happy I got a drop of Wisdom today..Thank you Perl Monks!

    Thank you. OSexplorer