Requires code--and that your form be set to Full Trust.

Signature
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )
lthompson@lochinvar.com - 08 Aug 2006 21:54 GMT
do you know what code to put in?
> Requires code--and that your form be set to Full Trust.
>
> --
> Greg Collins [Microsoft MVP]
> Visit Brain Trove ( http://www.BrainTrove.com )
> Visit InfoPathDev ( http://www.InfoPathDev.com )
Greg Collins [InfoPath MVP] - 09 Aug 2006 21:25 GMT
Use the PrintOut() method.

Signature
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )
lthompson@lochinvar.com - 10 Aug 2006 21:39 GMT
how do you set the form to full trust?
Lisa
Nashville, TN
> Requires code--and that your form be set to Full Trust.
>
> --
> Greg Collins [Microsoft MVP]
> Visit Brain Trove ( http://www.BrainTrove.com )
> Visit InfoPathDev ( http://www.InfoPathDev.com )
Try using the PrintOut method (see
http://msdn.microsoft.com/library/en-us/ipsdk/html/xdmthPrintOut_HV01021397.asp?
frame=true)
in the OnSUbmitRequest event (see
http://msdn.microsoft.com/library/en-us/ipsdk/html/xdevtOnSubmitRequest_HV010213
70.asp?frame=true).
---
S.Y.M. Wong-A-Ton
> Does anyone know how to auto print in InfoPath? I want the document to
> print when the end user hits the 'Submit' button. Not sure what to do.
[quoted text clipped - 4 lines]
> Lisa
> Nashville, TN