Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

smartforms - printing lable

Former Member
0 Likes
791

Hello all,

I am trying to print a label using smartforms. I have a single first page in my smartform with only a Main window in it. In this main window I kept all the details which I wanted to print on the label. I am able to print the label with required contents.

Now my reqiuirement is, I have a variable 'Count' in my smartform depending on which I have to print the number of labels with one lable in each page.

Can someone please help me with your ideas. Thanks

Waiting....

6 REPLIES 6
Read only

Former Member
0 Likes
753

Hi Raju,

After the label, create program lines where u can decrease the counter... v_counter = v_counter - 1.

In the label node..put the condition as when v_counter > 0.

Regards,

Vidya

Read only

0 Likes
753

Hi

I did the same but I am not getting anything displayed on the second page. I have only a main window in my page and all the contents are in this main window.

Any idea why I am not getting the contents printed in second page.....

Read only

Former Member
0 Likes
753

Hi Raju,

Do u need to display only the label or do u have any other details along with?

Are you putting the label in the main area or the header?

Regards,

Vidya.

Read only

0 Likes
753

Hi Vidya

I have only a single Main window in my page and I have a graphic node and some text nodes in this main window.

Where exactly the program lines and codition have to be kept. Please clarify.....

Read only

0 Likes
753

Can someone please put some ideas how to print contents of a main window repeatedly on different pages.

Read only

Former Member
0 Likes
753

Hi Raju,

coz the graphic is directly placed in the window..even though we put a command node..we will get the label only 2 times. if you know the v_counter , we can take those many records into a table/loop and then use the table in the table command. we can restrict the no. of records using the row option in the table/loop node.

then the command window will trigger new pages as many times the table is looped.

Regards,

Vidya.