AnsweredAssumed Answered

How to print 3 deferent forms at same time with one print command from the current record?

Question asked by al-kalbani on Jun 15, 2018
Latest reply on Jun 16, 2018 by ThierryGuemboura

Greetings all,

I need to print 3 deferent forms from deferent layout at same time with one print command from the current record using print script control

I try these commands in my script but when the user wants to cancel the print  the script continue printing the next layout

Set error capture [on]

Allow user abort[off]

New windows

Show all records

Omit record

Show omitted only

Go to layout ["FORM_1""]

Enter preview mode [pause:off]

Print setup [restore; with dialog:on]

Print [restore: HP laserjet 400:with dialog:off]

Go to layout ["FORM_2"]

Print [restore: HP laserjet 400:with dialog:off]

Go to layout ["FORM_3"]

Print [restore: HP laserjet 400:with dialog:off

Close window [ current window]

 

How to allow user to abort or cancel the print when needed , without going to next layout to print it ?

Outcomes