<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="https://www.schweda.net/style_feed.css" ?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:atom="http://www.w3.org/2005/Atom"	
	xmlns:dc="http://purl.org/dc/elements/1.1/" > 
<channel>
    <title>schweda.net - Blog</title>
    <link>https://www.schweda.net/</link>
    <description>schweda.net - Blog - Blog-Beitraege</description>
    <language>de-at</language>
    <copyright>Copyright 2006-2026</copyright>
    <generator>schweda.net</generator>
    <managingEditor>heinz.schweda@schweda.net (Heinz Schweda)</managingEditor>
    <webMaster>heinz.schweda@schweda.net (Heinz Schweda)</webMaster>
    <category>Blog</category>
	<atom:link href="https://www.schweda.net/blog_rss.php?bid=378" rel="self" type="application/rss+xml" />
<item>
<title><![CDATA[Druckoptionen von Berichten können nicht geändert werden]]></title>
<description><![CDATA[
<p>In Dynamics AX 2009 scheint es einen kleinen Bug zu geben, der bei Reports, welche &uuml;ber eine von <strong>RunBaseReport </strong>abgeleitete Klasse gestartet werden, dazu f&uuml;hrt, da&szlig; sich die Druckoptionen nicht &auml;ndern lassen.
</p>

<p>Um diesen Bug zu umgehen,&nbsp;kann man&nbsp;die Methode <strong>dialogUpdatePrinterSettings</strong>, wie in nachstehendem Beispiel beschrieben, &uuml;berschreiben.
</p>

<div class="div_blog_axcode"><span style="color: rgb(0,0,255)">public void</span> dialogUpdatePrinterSettings(Dialog dialog)<br />
{<br />
&nbsp;&nbsp;&nbsp; ;<br />
&nbsp;&nbsp;&nbsp; <span style="color: rgb(0,102,0)">// --&gt; (1) Workaround to update printJobSettings and dialog<br />
</span>&nbsp;&nbsp;&nbsp; this.printJobSettings().unpackPrintJobSettings(this.reportRun().packPrintJobSettings());<br />
&nbsp;&nbsp;&nbsp; <span style="color: rgb(0,102,0)">// &lt;-- (1)<br />
</span><br />
&nbsp;&nbsp;&nbsp; <span style="color: rgb(0,0,255)">super</span>(dialog);<br />
}
</div>

<p><strong>Update 27.12.2010<br />
</strong>Mittlerweile gibt es einen funktionierenden&nbsp;Fix von Microsoft, siehe <a href="http://blogs.msdn.com/b/emeadaxsupport/archive/2010/12/20/print-medium-change-in-dialog-not-working-on-certain-reports.aspx">http://blogs.msdn.com/b/emeadaxsupport/archive/2010/12/20/print-medium-change-in-dialog-not-working-on-certain-reports.aspx</a>
</p>]]></description>
<category>Microsoft Dynamics AX (Axapta)</category>
<pubDate>Fri, 04 Jun 2010 18:37:00 +0200</pubDate>
<link>https://www.schweda.net/blog_ax.php?bid=378</link>
<comments>https://www.schweda.net/blog_ax.php?bid=378</comments>
<guid isPermaLink="true">https://www.schweda.net/blog_ax.php?bid=378</guid>
<author>heinz.schweda@schweda.net (Heinz Schweda)</author>
<wfw:commentRss>https://www.schweda.net/blog_ax.php?bid=378</wfw:commentRss>
</item>
</channel>
</rss>	
