Hi
ScriptX is designed so that any margin values called in script on a ScriptX-enabled page will be applied at print time *only*, with the user's defaults being restored when the job is printed.
Do you 'own' this content? If so, you can script any margin values you like for the print job.
Note that (a) you can't set margins that are smaller than the print driver's "unprintable area" settings and (b) if IE 'thinks' that the print is too wide for the default paperWidth it will automatically apply its 'Shrink to fit' algorithm and (c) you need
to be sure what units of margin measure your printer is working in.
ScriptX-set margins will only get 'stuck' if your script seizes or power fails before we have a chance to retore the user's defaults, at which time a manual reset (IE file | Page Setup) is the only solution.
I hope that this helps.