<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Problem with external css stylesheet for printing</title><link>https://www.infopathdev.com:443/forums/thread/9863.aspx</link><pubDate>Mon, 12 Jun 2006 11:53:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9863</guid><dc:creator>glebur</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9863.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9863</wfw:commentRss><description>I solved that by creating an internal @media print style.&lt;br /&gt;This is not very convenient though since I have to rewrite the style in each view's xsl file...</description></item><item><title>Re: Problem with external css stylesheet for printing</title><link>https://www.infopathdev.com:443/forums/thread/9862.aspx</link><pubDate>Mon, 12 Jun 2006 08:43:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9862</guid><dc:creator>glebur</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9862.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9862</wfw:commentRss><description>Well I'm facing a new problem. Here's the contents of the stylesheet :&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;table {  FONT-FAMILY: Wingdings !important; }&lt;br /&gt;span {  FONT-FAMILY: Wingdings !important; }&lt;br /&gt;col {  FONT-FAMILY: Wingdings !important; }&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;When the reference to this external stylesheet is &amp;lt;link rel="stylesheet" type="text/css" href="print.css"/&amp;gt;, everything works fine (you can tell it straight away because of the weird Wingdings characters that appear).&lt;br /&gt;&lt;br /&gt;However when I try to limit the stylesheet to printing ( &amp;lt;link rel="stylesheet" type="text/css" &lt;b&gt;media="print"&lt;/b&gt; href="print.css"/&amp;gt; ), the styles don't apply !&lt;br /&gt;&lt;br /&gt;Is this because the internal styles have priority over external ones when you print ?</description></item><item><title>Re: Problem with external css stylesheet for printing</title><link>https://www.infopathdev.com:443/forums/thread/9861.aspx</link><pubDate>Fri, 09 Jun 2006 12:55:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9861</guid><dc:creator>glebur</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9861.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9861</wfw:commentRss><description>Well you won't believe me but I deleted print.css, re-created it and it works now (whatever text it contains) !&lt;br /&gt;&lt;br /&gt;Something must have been wrong with the file encoding or I don't know what...&lt;br /&gt;&lt;br /&gt;Anyway, thanks for putting in &lt;i&gt;your&lt;/i&gt; intelligence to help ;)</description></item><item><title>Re: Problem with external css stylesheet for printing</title><link>https://www.infopathdev.com:443/forums/thread/9860.aspx</link><pubDate>Fri, 09 Jun 2006 09:18:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9860</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9860.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9860</wfw:commentRss><description>Hm, Ok. Sorry to insult your intelligence :)&lt;br /&gt;&lt;br /&gt;It seems like your CSS file is not in correct syntax. Could you paste it here so we can take a look? It's interesting that you created it with VS2003, and it's using an invalid character in one of the names. Maybe you are using a reserved keyword that's only reserved in InfoPath's context?</description></item><item><title>Re: Problem with external css stylesheet for printing</title><link>https://www.infopathdev.com:443/forums/thread/9859.aspx</link><pubDate>Fri, 09 Jun 2006 08:06:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9859</guid><dc:creator>glebur</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9859.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9859</wfw:commentRss><description>Hi Matt,&lt;br /&gt;&lt;br /&gt;I followed exactly that howto (including adding the file as a resource), that's precisely what puzzles me.&lt;br /&gt;&lt;br /&gt;I've just gone through the whole process over again but the error message is still there.&lt;br /&gt;&lt;br /&gt;Could it be the css file's encoding or something ? I created it with Visual Studio 2003...&lt;br /&gt;&lt;br /&gt;&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Matt Faus&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Hi Glebur,&lt;br /&gt;&lt;br /&gt;Sorry for the late response. Please check out this HowTo:&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=a396459320204261ad2379381824683d&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=a396459320204261ad2379381824683d&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;I think the crucial step you're missing is adding the file as a resource.&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;</description></item><item><title>Re: Problem with external css stylesheet for printing</title><link>https://www.infopathdev.com:443/forums/thread/9858.aspx</link><pubDate>Thu, 08 Jun 2006 15:45:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9858</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9858.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9858</wfw:commentRss><description>Hi Glebur,&lt;br /&gt;&lt;br /&gt;Sorry for the late response. Please check out this HowTo:&lt;a target="_blank" href=http://www.infopathdev.com/howto/tutorials/default.aspx?i=a396459320204261ad2379381824683d&gt;http://www.infopathdev.com/howto/tutorials/default.aspx?i=a396459320204261ad2379381824683d&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;I think the crucial step you're missing is adding the file as a resource.</description></item><item><title>Re: Problem with external css stylesheet for printing</title><link>https://www.infopathdev.com:443/forums/thread/9857.aspx</link><pubDate>Thu, 08 Jun 2006 15:06:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9857</guid><dc:creator>glebur</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9857.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9857</wfw:commentRss><description>Anyone ?</description></item><item><title>Re: Problem with external css stylesheet for printing</title><link>https://www.infopathdev.com:443/forums/thread/9856.aspx</link><pubDate>Fri, 02 Jun 2006 11:52:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9856</guid><dc:creator>glebur</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9856.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9856</wfw:commentRss><description>The size is 731 px because many users are still in 800x600.&lt;br /&gt;But I'd like to set a different size for display and for printing, which I can't do because of that error...</description></item><item><title>Re: Problem with external css stylesheet for printing</title><link>https://www.infopathdev.com:443/forums/thread/9855.aspx</link><pubDate>Wed, 31 May 2006 16:54:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9855</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9855.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9855</wfw:commentRss><description>To print the InfoPath form correctly, limit the size of the section to be around 6.5 inches. This will print the width in a single page. What is the size of your table or the section in which your controls are present? You can reduce that width to get everything to be printed in a single page.</description></item><item><title>Problem with external css stylesheet for printing</title><link>https://www.infopathdev.com:443/forums/thread/5632.aspx</link><pubDate>Wed, 31 May 2006 15:10:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5632</guid><dc:creator>glebur</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5632.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5632</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I noticed that when you try to print an Infopath form, half the page is usually out of the print area so there's no way you can have the form in its full width on a single sheet.&lt;br /&gt;&lt;br /&gt;To avoid that, I wrote a CSS stylesheet that I tried to include in view1.xsl : &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;(view1.xsl)&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt;   ...&lt;br /&gt;   &amp;lt;style themeStyle="urn:office.microsoft.com:themeBlue"&amp;gt;BODY {&lt;br /&gt;	COLOR: black; BACKGROUND-COLOR: white&lt;br /&gt;   }&lt;br /&gt;   TABLE {&lt;br /&gt;	BORDER-RIGHT: medium none; BORDER-TOP: medium none;       BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE:    collapse&lt;br /&gt;   }&lt;br /&gt;   ...&lt;br /&gt;   &amp;lt;/style&amp;gt;&lt;br /&gt;   &amp;lt;link rel="stylesheet" type"text/css" href="print.css"/&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;print.css is in the same directory as view1.xsl.&lt;br /&gt;The problem is, when I try to open the Infopath form in design mode, I get an error : "Infopath failed to open this form : ...\...\myform.xsf.&lt;br /&gt;A name contained an invalid character".&lt;br /&gt;&lt;br /&gt;Whatever I place in that CSS stylesheet (even nothing) I get the error, but when I remove the link to the external stylesheet the error disappears.&lt;br /&gt;&lt;br /&gt;Does anyone know how to solve that ?&lt;br /&gt;Any help appreciated.</description></item></channel></rss>