<?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: A couple of Printing issues - advice please</title><link>https://www.infopathdev.com:443/forums/thread/61734.aspx</link><pubDate>Mon, 29 Nov 2010 15:04:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61734</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61734.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61734</wfw:commentRss><description>&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;You can have a print button that switches to a view based on Draft and have two views with different print views that include different background images. &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;You should be able to use a field in a footer for this and change the field on proint. No way to stop the number of copies (well, you could force&amp;nbsp;print using code and not give them the dialog).&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>A couple of Printing issues - advice please</title><link>https://www.infopathdev.com:443/forums/thread/61677.aspx</link><pubDate>Thu, 25 Nov 2010 13:02:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61677</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61677.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61677</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am using 2007.&amp;nbsp; I have a form which users fill in and then require a print.&amp;nbsp; The printed form is HUGE - 2 sides of A3.&amp;nbsp; I have set up 2 views one for data entry and one for the print.&amp;nbsp; I have a print button linked to a line of code &lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Me&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.Print(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;) which allows the user to select the printer and print.&amp;nbsp; This all works well.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;The user has 2 additional requirements.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;1- If the Form is in Draft (a status I hold about the form), they would like the form to be printed out but the background to have a &amp;quot;watermark&amp;quot; of Draft.&amp;nbsp; &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I assume I could use a background image for the &amp;quot;watermark&amp;quot;.&amp;nbsp; Can I change the background image in code prior to printing ?&amp;nbsp; Or do I have to have&amp;nbsp; 2 print views ?&amp;nbsp; If I have to have 2 print views how do I ensure that the correct one is printed ?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;2- Each print out needs to be numbered.&amp;nbsp;&amp;nbsp;Taking form1 as an example.&amp;nbsp; The first time it is printed&amp;nbsp;the print out should&amp;nbsp;have a number form1-1, the second time it is printed it should have a number form1-2&amp;nbsp;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;The form has a unique ID (Many thanks to Hilary for her &amp;quot;Fun with Sequential Form IDs, SQL and Sprocs!&amp;quot; article). For the&amp;nbsp;&amp;quot;print number&amp;quot;&amp;nbsp;I could increment a number on the form each time the print button is used but - is there any way of stopping the user selecting the &amp;quot;number of copies&amp;quot; when printing ?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;What would you recommend for ensuring that each print out has the form id + a&amp;nbsp;print number ?&amp;nbsp; &lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>