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 / July 2005

Tip: Looking for answers? Try searching our database.

Infopath is printing the XML for a form instead of the form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roy Chastain - 22 Jul 2005 13:24 GMT
I have a user that gets the XML (and maybe the XLST etc) when he prints a form.  This happening on all forms including the MS
provided templates.

There must be a setting somewhere, but I can not find it.

Thanks
-------------------------------------------
Roy Chastain
KMSYS Worldwide, Inc.
http://www.kmsys.com
Scott L. Heim [MSFT] - 22 Jul 2005 13:32 GMT
Hi Roy,

I realize this question may be a bit odd but please bear with me: that user
does indeed have InfoPath installed...correct?

Assuming the above is correct:

- How does the user attempt to print the InfoPath form? (Simply going
File|Print while having an InfoPath form open?)
- Is the user able to enter/edit data on the InfoPath form without issue?
- If the user has a saved InfoPath form (i.e. Form1.XML) and double-clicks
that XML file, does InfoPath open that file or another application?

Thanks Roy,
   
Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights
Roy Chastain - 22 Jul 2005 14:54 GMT
hat user does indeed have InfoPath installed...correct?

YES

Assuming the above is correct:

- How does the user attempt to print the InfoPath form? (Simply going
File|Print while having an InfoPath form open?)

Yes, File|Print or File|Print

- Is the user able to enter/edit data on the InfoPath form without issue?

Yes, data entry is no problem.

- If the user has a saved InfoPath form (i.e. Form1.XML) and double-clicks that XML file, does InfoPath open that file or another
application?

InfoPath is the default program that opens an XML file when double-click in explorer.

>Hi Roy,
>
[quoted text clipped - 15 lines]
>
>This posting is provided "AS IS" with no warranties, and confers no rights.

-------------------------------------------
Roy Chastain
KMSYS Worldwide, Inc.
http://www.kmsys.com
Scott L. Heim [MSFT] - 22 Jul 2005 15:13 GMT
Hi Roy,

Thank you for the additional information.

Unfortunately, I have not seen this behavior before so I need to ask some
additional questions:

    - You have other users that can print the same form without issue -
correct?
    - Are all users printing to the same printer?
    - Is everyone on the same version of Internet Explorer (assuming this is
what you are using?)
    - Please complete the following steps (from the "problem" machine) and
describe for me the resulting printout:

        - Create a new, blank form
        - Add just one text box to the form
        - Save the form
        - Double-click the form
        - Enter: Test in the text box
        - Print the form

Thanks again Roy,
   
Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights
Roy Chastain - 22 Jul 2005 15:32 GMT
1) - Problem actually shows in Print Preview and in Print to printer.
        Problem system is the only system with that printer, but other systems have same model (HP 970) printer

2) - Did as requested.
        Result is XML

3) - IE version
        Problem system  6.0.2900.2180  XPSP_SP2_gdr.050301-1519
        Example working system (2000 box)  6.0.2800.1106 with SP1 and lots of hotfixes

4) - Yes, we can all print same form.  We are using one of the supplied example forms straight out of the box.  We have tried
other example forms on the problem system and they all fail.

>Hi Roy,
>
[quoted text clipped - 24 lines]
>
>This posting is provided "AS IS" with no warranties, and confers no rights.

-------------------------------------------
Roy Chastain
KMSYS Worldwide, Inc.
http://www.kmsys.com
Scott L. Heim [MSFT] - 22 Jul 2005 16:07 GMT
Thanks again Roy,

Ok - let's try the following on the "problem" machine:

- Navigate to the "Temp" folder for that user (typically this would be
C:\Documents and Settings\<User>\Local Settings\temp)
- Delete the files in this temp folder entirely
- Double-click the sample file I asked you to previously create (one text
box) and Preview that form - what is the result?

If this still displays XML, then complete these additional steps:

- Close the Preview in InfoPath
- Insure the temp folder is again empty
- Leave the temp folder window on your screen
- Preview the InfoPath form again (the one with just the one text box)
- Look in your temp folder window - you should now see an HTML file created.
- Double-click that HTML file - what is displayed? If this is XML also,
please close that HTML file, open it with Notepad and post the contents of
that Notepad file back here for me to review.

Thanks!
   
Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights
Roy Chastain - 22 Jul 2005 18:44 GMT
Followed the directions.
XML was still previewed in print preview
However, the double-click on the HTM file in the temp directory produced the correct display of the form.

>Thanks again Roy,
>
[quoted text clipped - 23 lines]
>
>This posting is provided "AS IS" with no warranties, and confers no rights.

-------------------------------------------
Roy Chastain
KMSYS Worldwide, Inc.
http://www.kmsys.com
Scott L. Heim [MSFT] - 22 Jul 2005 19:06 GMT
Thanks Roy,

So we may be seeing an issue with IE rendering the XSLT - if you would,
please complete the following tests and let me know the results:

- Use the sample template with just the one text box.
- Complete the steps documented in the following Knowledge Base article:

826990: How To: View Transformed InfoPath Form Data in Internet Explorer
http://support.microsoft.com/default.aspx?scid=kb;EN-US;826990

These steps basically change any created forms to be displayed in IE
instead of InfoPath - what I would like to know is how do the resulting
forms display in IE?

Please complete the steps in the article as they are documented and let me
know the results.

Thanks again,

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights
 
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.