cancel
Showing results for 
Search instead for 
Did you mean: 

Smart forms - URGENT - Select paper resource (paper tray) dynamically

Former Member
0 Kudos

Hi,

I have to select trays dynamically in the print program and print the smarform in the appropriate Tray.

Can any one tell me how to do this, to which variable exactly should I pass the Tray name from the print program or in the smart form.

Can you please provide me any sample code on this ..?

Please provide me the answer urgently.

Thanks and regards,

Veerendranath Maddula.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can determine which tray that you want to use in your print program and pass this variable to the Smartform through the Interface (i.e. V_TRAY).

The value for tray 1 is 'TRY01'.

In each Page Node click on the Output Options tab and give the variable &V_TRAY& in the Resource Name field.

Message was edited by:

Matt Nagel

Answers (3)

Answers (3)

former_member863962
Discoverer
0 Kudos

Hi, I want to assign dynamic tray. It is working with:

1) Create a global variable G_RESOURCE TYPE RSPORESNAM

2) Assign the dynamic Tray name to the above variable.

3) Give the variable name in First page -> Output Options -> Resource Name, leading and trailing '&' ( &G_RESOURCE&)

--> But I also want to assign tray depending on printer name (T-table). But I cannot find the printer in the initialization tab??

I hope somebody can help

Former Member
0 Kudos

1) Create a global variable G_RESOURCE TYPE RSPORESNAM

2) Assign the dynamic Tray name to the above variable.

3) Give the variable name in First page -> Output Options -> Resource Name, leading and trailing '&' ( &G_RESOURCE&)

Former Member
0 Kudos

can you guys please tell me how we can get that tray name

we need to hardcode tray name or is there any other way to get it.

Thanks & reagrds...

Anil.T

Former Member
0 Kudos

Hi check out

SSFCOMP_PROCESS_DOCUMENT this Fm .