<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/117052</link>
    <title>MATLAB Central Newsreader - Bad data returned by HARDCOPY. Not calling IMWRITE</title>
    <description>Feed for thread: Bad data returned by HARDCOPY. Not calling IMWRITE</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 20 Feb 2006 11:04:52 -0500</pubDate>
      <title>Bad data returned by HARDCOPY. Not calling IMWRITE</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/117052#295571</link>
      <author>Van Lancker Eric</author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
In a batch processing using the command&lt;br&gt;
print(gcf,'-r126','-djpeg75',[Pn Fn]);&lt;br&gt;
I have sometimes (1 time upon 1000) the following error&lt;br&gt;
&lt;br&gt;
Error using ==&amp;gt; print&lt;br&gt;
Error using ==&amp;gt; graphics\private\render&lt;br&gt;
Bad data returned by HARDCOPY. Not calling IMWRITE.&lt;br&gt;
&lt;br&gt;
Hardcopy is a built-in function.&lt;br&gt;
I can't reproduce the error...and cannot find the bug !!&lt;br&gt;
&lt;br&gt;
Thanks in advance.&lt;br&gt;
Eric</description>
    </item>
    <item>
      <pubDate>Sun, 08 Nov 2009 10:36:02 -0500</pubDate>
      <title>Re: Bad data returned by HARDCOPY. Not calling IMWRITE</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/117052#692982</link>
      <author>Igal </author>
      <description>Van Lancker Eric &amp;lt;eric.vanlancker@iav.ch&amp;gt; wrote in message &amp;lt;43f99441$1_3@news.bluewin.ch&amp;gt;...&lt;br&gt;
&amp;gt; Hi,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; In a batch processing using the command&lt;br&gt;
&amp;gt; print(gcf,'-r126','-djpeg75',[Pn Fn]);&lt;br&gt;
&amp;gt; I have sometimes (1 time upon 1000) the following error&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Error using ==&amp;gt; print&lt;br&gt;
&amp;gt; Error using ==&amp;gt; graphics\private\render&lt;br&gt;
&amp;gt; Bad data returned by HARDCOPY. Not calling IMWRITE.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Hardcopy is a built-in function.&lt;br&gt;
&amp;gt; I can't reproduce the error...and cannot find the bug !!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks in advance.&lt;br&gt;
&amp;gt; Eric&lt;br&gt;
&lt;br&gt;
Hi Eric,&lt;br&gt;
I Got another case of similar problem. Did yo ufind an answer?&lt;br&gt;
Regards.</description>
    </item>
    <item>
      <pubDate>Wed, 18 Nov 2009 00:50:20 -0500</pubDate>
      <title>Re: Bad data returned by HARDCOPY. Not calling IMWRITE</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/117052#695636</link>
      <author>Isabel Andreu-Burillo</author>
      <description>&quot;Igal &quot; &amp;lt;igal@systematics.co.il&amp;gt; wrote in message &amp;lt;hd66ui$i6e$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Van Lancker Eric &amp;lt;eric.vanlancker@iav.ch&amp;gt; wrote in message &amp;lt;43f99441$1_3@news.bluewin.ch&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Hi,&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; In a batch processing using the command&lt;br&gt;
&amp;gt; &amp;gt; print(gcf,'-r126','-djpeg75',[Pn Fn]);&lt;br&gt;
&amp;gt; &amp;gt; I have sometimes (1 time upon 1000) the following error&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Error using ==&amp;gt; print&lt;br&gt;
&amp;gt; &amp;gt; Error using ==&amp;gt; graphics\private\render&lt;br&gt;
&amp;gt; &amp;gt; Bad data returned by HARDCOPY. Not calling IMWRITE.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Hardcopy is a built-in function.&lt;br&gt;
&amp;gt; &amp;gt; I can't reproduce the error...and cannot find the bug !!&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Thanks in advance.&lt;br&gt;
&amp;gt; &amp;gt; Eric&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Hi Eric,&lt;br&gt;
&amp;gt; I Got another case of similar problem. Did yo ufind an answer?&lt;br&gt;
&amp;gt; Regards.&lt;br&gt;
&lt;br&gt;
Hello,&lt;br&gt;
&lt;br&gt;
I randomly get this message and have the same problems that you describe.&lt;br&gt;
Do you know a solution to this, or a way around it?&lt;br&gt;
&lt;br&gt;
Thank you,&lt;br&gt;
&lt;br&gt;
Isabel</description>
    </item>
    <item>
      <pubDate>Wed, 21 Dec 2011 18:28:08 -0500</pubDate>
      <title>Re: Bad data returned by HARDCOPY. Not calling IMWRITE</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/117052#861960</link>
      <author>Sergio Varona Moya</author>
      <description>&quot;Isabel&quot; wrote in message &amp;lt;hdvgcc$qfb$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Igal &quot; &amp;lt;igal@systematics.co.il&amp;gt; wrote in message &amp;lt;hd66ui$i6e$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Van Lancker Eric &amp;lt;eric.vanlancker@iav.ch&amp;gt; wrote in message &amp;lt;43f99441$1_3@news.bluewin.ch&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Hi,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; In a batch processing using the command&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; print(gcf,'-r126','-djpeg75',[Pn Fn]);&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I have sometimes (1 time upon 1000) the following error&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Error using ==&amp;gt; print&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Error using ==&amp;gt; graphics\private\render&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Bad data returned by HARDCOPY. Not calling IMWRITE.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Hardcopy is a built-in function.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I can't reproduce the error...and cannot find the bug !!&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Thanks in advance.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Eric&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Hi Eric,&lt;br&gt;
&amp;gt; &amp;gt; I Got another case of similar problem. Did yo ufind an answer?&lt;br&gt;
&amp;gt; &amp;gt; Regards.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Hello,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I randomly get this message and have the same problems that you describe.&lt;br&gt;
&amp;gt; Do you know a solution to this, or a way around it?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thank you,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Isabel&lt;br&gt;
&lt;br&gt;
Hi,&lt;br&gt;
&lt;br&gt;
this error is likely due to memory shortage. I began getting it after introducing a line that loaded a large matrix into memory. Clearing the corresponding variable before printing the figures put an end to the problem.&lt;br&gt;
&lt;br&gt;
Greetings</description>
    </item>
  </channel>
</rss>

