cancel
Showing results for 
Search instead for 
Did you mean: 

Print number pages and formpages in a spool of multiple smartforms

Former Member
0 Kudos

Dear all,

I have created a program that create a spool using 4 smartforms. For each smartform the program can be create one o more pages. at the moment in my spool I have this situation:

document #1: smartforms#1 pag 1/1,

smartforms#2 pag 1/2, pag 2/2

smartforms#3 pag 1/1,

smartforms#4 pag 1/5, 2/5, 3/5, 4/5, 5/5.

document #2: smartforms#1 pag 1/1,

smartforms#2 pag 1/3, pag 2/3, pag 3/3

smartforms#3 pag 1/2, 2/2

smartforms#4 pag 1/4, 2/4, 3/4, 4/4.

...

How I can modify my program in order to have this result:

document #1: smartforms#1 pag 1/9,

smartforms#2 pag 2/9, pag 3/9

smartforms#3 pag 4/9,

smartforms#4 pag 5/9, 6/9, 7/9, 8/9, 9/9

document #2: smartforms#1 pag 1/10,

smartforms#2 pag 2/10, 3/10, 4/10,

smartforms#3 pag 5/10, 6/10,

smartforms#4 pag 7/10, 8/10, 9/10, 10/10.

...

Thanks in advance for any solutions.

Mauro

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Dear all,

I tried to setup options field TDNEWID, TDIMMED... as described; but with the same results.

I think that should be a problem of standard program, but I have not found any OSS notes for this issue.

thanks,

mauro

Former Member
0 Kudos

Max,

I tried to use jobpages, but with the same results.

I hope to use in correct mode the control output flag NO_OPEN and NO_CLOSE....first page --> No_open = space and no_close ='X', next pages --> NO_OPEN = 'X' and NO_CLOSE 'X' and last page --> NO_OPEN = 'X' and NO_CLOSE ' '.

Thanks for your cooperation.

mauro

Former Member
0 Kudos

Hi

The OPEN should be create a new job, so u should OPEN the job on the first smartform and close it on the last smartform:

document #1: 

smartforms#1 NO_OPEN = SPACE NO_CLOSE = 'X'
smartforms#2 NO_OPEN = 'X'   NO_CLOSE = 'X'
smartforms#3 NO_OPEN = 'X'   NO_CLOSE = 'X'
smartforms#4 NO_OPEN = 'X'   NO_CLOSE = SPACE

Max

Former Member
0 Kudos

hi

may be this hepls u, i have senn this in another thread..

smartfom1.

ssfcompop-TDNEWID = 'X'.
  ssfcompop-TDFINAL = ' '.
  ssfcompop-TDIMMED = ' '.

smartfom2,3,4

 ssfcompop-TDNEWID = ' '.
  ssfcompop-TDFINAL = ' '.
  ssfcompop-TDIMMED = ' '.

smartfom5,

 ssfcompop-TDNEWID = ' '.
  ssfcompop-TDFINAL = 'X'.
  ssfcompop-TDIMMED = 'X'.

Former Member
0 Kudos

Hi

I suppose you use a code like this:

&SFSY-PAGE&/&SFSY-FORMPAGES&

U should replace it with:

&SFSY-PAGE&/&SFSY-JOBPAGES&

Max