2014 Apr 29 3:46 PM
Is it possible to have two Smartforms and have the output from each print on 1 sheet of paper via duplexing? I have Smartform "A" that I want to print on front of page and Smarform "B" that I want to print on the back of the page, is this possible?
Thanks Gary
2014 Apr 29 6:28 PM
2014 Apr 29 3:59 PM
Hi.
Wyh dont you make just one smartform using duplex page? that is possible. The printer need to able to print duplex.
I think that it is not possible to make 2 smartforms and print one in the front page and another one in the back.
Regards
Miguel
2014 Apr 29 6:28 PM
2014 Apr 29 10:43 PM
Hi,
That smartform does not permit to simply include another smartform is a limitation, but I don't believe there is a solution for combining smartforms that would sufficiently communicate developer's intent, and would be simple and transparent enough...
It would be possible to get the output of both smartforms as OTF data and then combine them. Renumbering pages across two OTFs is even fairly easy, provided the driver program (or something else - let's call it "output control module") keeps track of the last page number (in the spool). Algorithm to strip away OTF commands that indicate end of one form and OTF stream and the start of next OTF stream and the form would also be possible. Resetting the tray selection and print mode for first Open Page command of second form would also be possible. OTF format description can be found here. I guess it would be a fairly robust solution (and I don't think the OTF format itself is being extended by SAP anymore).
OTF manipulation and writing to SAP spool can even be made into separate "output control" module with an API, which smartform driver programs or Print Workbench Forms then can use. The SAP Print Workbench Application Form type Collection permits to combine Several Application Forms (Smartform or Sapscript based) and thus kind of express intent - I'm combining these forms into one "Document".
I have combined several Application Forms via renumbering the pages in OTF, so that the Output Management System, which receives the resulting Postscript (produced by SAP Spool System) recognizes both forms as one "Document" and creates one PDF out of them it. Do I think at the end of the day that it's an elegant, transparent, simple to maintain solution? Absolutely no - like every "proprietary" solution of that kind. Would I do it again if I had to..? Yes
cheers,
Janis