<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Printing Options</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Printing Options]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 04 Jun 2026 06:28:17 +0000</pubDate>
  <lastBuildDate>Tue, 03 Jun 2014 05:29:32 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=22316</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Printing Options : I have a report control. Records...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22316&amp;PID=72521&amp;title=printing-options#72521</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 22316<br /><strong>Posted:</strong> 03 June 2014 at 5:29am<br /><br />I have a report control. Records can contain notes. On screen the user see eg. 3 lines of preview.<br>But on printing, all lines should be print.<br><br>I tried to manipulate SetMaxPreviewLines() set to INT_MAX (maximum positive lines) and restore the value after printing like codjock it doing (see CXTPReportView::OnPreparePrinting). That works, but it has a side effect. While printing, my report on screen shows, of course, all lines of notes, too.<br><br>What's the best practice to suppress the changed properties don't take effect on screen.<br>Create a seperatre report control instance in a virtual view and copy all columns and rows? Is there an easier way? Confused<br><br>E.g. it's enough to overwrite GetPreviewLinesCount(), but it is not virtual.<br><br>Thanks]]>
   </description>
   <pubDate>Tue, 03 Jun 2014 05:29:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22316&amp;PID=72521&amp;title=printing-options#72521</guid>
  </item> 
 </channel>
</rss>