Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / August 2006

Tip: Looking for answers? Try searching our database.

Auto Print in InfoPath?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lthompson@lochinvar.com - 04 Aug 2006 15:18 GMT
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.


Help!

Lisa
Nashville, TN
Greg Collins [InfoPath MVP] - 04 Aug 2006 19:33 GMT
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 )
S.Y.M. Wong-A-Ton - 04 Aug 2006 19:59 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.