cancel
Showing results for 
Search instead for 
Did you mean: 

Current copy number for scripts

Former Member
0 Kudos

HI All,

i have to print copies for scripts.suppose i have to print 3 copies .then it should come in 1/3,2/3,3/3.in that i am getting the total no of copies from &nast-anzal& but i am not getting the current copy number i.e i am getting like COPY : / 3.

plz give me the answer,

Anil.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anil,

&PAGE& varaible can be used to achieve the functionality you are askiing.

But this Q is asked N number of times in the group, Pls ensure you search for the solution in the forum beore posting.

Rgds,

Sripal

Former Member
0 Kudos

Hi sripal,

i have tried that &page& but i dint get it.

plz send me the correct answer plzzz.

thanks in advance,

Anil.

Former Member
0 Kudos

HI i have tried your &page& but read the question carefullly once.

i asked about no of copies but not about number of pages.

Former Member
0 Kudos

Hi Anil,

You can write a logic like,

take a counter,

while counter <= &page&

Print the script.

counter = counter + 1.

endwhile.

Hope the above pseudo code will help you.

Rgds,

Sripal

Former Member
0 Kudos

Hi,

I think this wont work in scripts because we cant give '+' symbole in scripts

and we tried like same as u said but dint get it,

i think their will be another way to solve this problem.

thanks,

Anil.