on 08-22-2007 3:19 PM
Hi,
I want to print 3 smartforms....all in ONE Spool with DIFFERENT no of copies and requirement is to call each smartform only ONCE....How do I do the same.
Please advise as I enquired many people but none had solution.
Thanks,
Mohit.
You need to call the three smartforms in sequence in your print program, but the values you pass to parameter OUTPUT_OPTIONS will change.
So, first form OUTPUT_OPTIONS-TDNEWID = 'X', OUTPUT_OPTIONS-TDCOPIES = '2' (for example)
Next form OUTPUT_OPTIONS-TDNEWID = SPACE, OUTPUT_OPTIONS-TDCOPIES = '1' (for example)
Final form OUTPUT_OPTIONS-TDNEWID = SPACE, OUTPUT_OPTIONS-TDFINAL = 'X', OUTPUT_OPTIONS-TDCOPIES = '3' (for example)
Three forms, different number of copies, one spool request.
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Neil,
But by this too I dont get everything in One spool..I tried ur example but I get 3 different spools everytime...Donno where am going wrong.Is there any other parameter to be used alongwith?
Also while printing I observed that whatever copies are more among 3 prints,that is first sent for printing...and I dont want like this to happen becasue by this user is uncertain of what he would see first at output among three.
Please advice...I guess you are close to what I want but not totally...
Mohit.
Ah, I think I finally understand the problem. The number of copies is an attribute of the spool request, so in my first suggestion the second and third smartforms create new spool requests because the spool attributes don't match that of the first (no. of copies is different). My second suggestion to use SSF_OPEN won't work either because there you have to specify the spool attributes (including no. of copies), and when the smartforms print they won't reuse this open spool.
The only way I can think of getting around this is to call the form once for each copy and putting these all into one spool, which I can understand you don't want to do.
Looks like Srinivasa was right in the first place, better let him have some points.
Regards,
Nick
Hi Mohit,
I am sure that it is not possible to print 3 different smartforms in a single spool that too with different number of copies.Please try to research for alternate desing possiblities.
Hope this helps.
Please reward if useful.
Thanks,
Srinivasa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.