Printing 2 copies of a document where a floating field change

Avatar

Avatar

dariush1972

Avatar

dariush1972

dariush1972

03-11-2011

hi experts,

Context:

I have an interactive form compiled by a user.

when compiling is finished, I'd need to print 2 copies of that document; the 2 copies are exactly the same but a floating field that has to change, i.e. 'Copy for ME' and 'Copy for the CUSTOMER'.

Placing  2 print buttons it's not a problem, in the first button I set the Floating field to 'Copy for ME' and send a print command, in the second I do exactly the same with the 'Copy for the CUSTOMER'.

Which is the best strategy to print those 2 copies clicking the print button only once and showing the printing window only once with the whole printing spool (2 copies)?

Best regards,

Dariush.

View Entire Topic

Avatar

Avatar

pguerett

Avatar

pguerett

pguerett

07-11-2011

It woudl depend on how the form is defined ...if it is a dynamic form then you can simply use the subforms addInstance method to add a new copy of it....if it is not designed that way ...i would recommend that you make a copy in Designer and use the presence properties for those pages to hide and show it.

paul