Skip to Content
avatar image
Former Member

Indent and spacing in the paragraph format in Smartstyle .

Dear all

I have created the smartstyle , and defined the TAB formatting.

The window defined is having following details. The first tab is at 3.5cm and second tab is at 4.5 cm (the exact placment on the pre-printed invoice)

Total Value,,,,,,&totval(10)&

Cash Discount ,,&zper&,,,,&zcdamt(10)&

Taxabke Amt,,,,,,&taxamt(10)&

CST,,&zper&,,,,&zcstamt(10)&

Adj,,,,,,&adjamt(10)&

My problem is always cash discount is shifted based on the value of the Total Value , for example if the total value is

Total value----


934.50

Cash.Disc @ 3% - 102.00

but if total Value is as follows

Total value----


1934.50

Cash Disc @ 3% - 102.00

Same observation is to the last field of Adj, it varies based on CST figure, for example if CSTamt is not zero then it will print properly , if CST is zero , the CST line is not printed ( as condition is defined) but then the Adj amount shifts towards right by two digit.

Can anyone share , if the similar problems were faced.

AVS

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jul 14, 2010 at 07:48 AM

    Having a template defined as fixed place holders could help in your case.

    Check n revert in case of any questions

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2010 at 08:39 AM

    Can u please elaborate a little or guide me if any link is available.

    AVS

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2010 at 11:54 AM

    I am able to maintain a Template and then created the inferior nodes having the variables.

    But now , if suppose the variable pertaing to second column is zero and is to be suppressed, the blank line is shown in the output , how to deal with this problem.

    Can u pl. guide.

    avs

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi AVS,

      The solution to use a template works fine only if the textx are static and will be displayed always. If you have made a text display dynamic based on a condition,Use a table and add a condition for the row. In this case, If the condition is false it'll not be printed as a blank space. It'll be skipped and next row will be printed.

      Raghav