<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163349</link>
    <title>MATLAB Central Newsreader - simple question on print</title>
    <description>Feed for thread: simple question on print</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The 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>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sat, 09 Feb 2008 06:26:10 -0500</pubDate>
      <title>Re: simple question on print</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163349#413960</link>
      <author>Vihang Patil</author>
      <description>Thank You&lt;br&gt;
That was helpful. &lt;br&gt;
And, I think it is high time that the people at the&lt;br&gt;
Mathworks implement this trivial code, into the Matlab itself.&lt;br&gt;
Vihang&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 08 Feb 2008 18:10:00 -0500</pubDate>
      <title>Re: simple question on print</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163349#413877</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;foi5go$4jc$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
Vihang Patil &amp;lt;vihang_patil@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt;The only one problem with&lt;br&gt;
&amp;gt;system(sprintf('notepad /p %s', filename)) , this command  &lt;br&gt;
&amp;gt;was that it prints Page 1, page 2 and so on at the end of &lt;br&gt;
&amp;gt;the file which I dont want. Any way to suppress it?&lt;br&gt;
&lt;br&gt;
&lt;a href="http://www.worldstart.com/tips/tips.php/1421"&gt;http://www.worldstart.com/tips/tips.php/1421&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
might be useful in this matter.&lt;br&gt;
-- &lt;br&gt;
This is a Usenet signature block. Please do not quote it when replying&lt;br&gt;
to one of my postings.&lt;br&gt;
&lt;a href="http://en.wikipedia.org/wiki/Signature_block"&gt;http://en.wikipedia.org/wiki/Signature_block&lt;/a&gt;&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 08 Feb 2008 18:03:04 -0500</pubDate>
      <title>Re: simple question on print</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163349#413873</link>
      <author>Vihang Patil</author>
      <description>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in &lt;br&gt;
message &amp;lt;fofcr7$ef8$1@canopus.cc.umanitoba.ca&amp;gt;...&lt;br&gt;
&amp;gt; In article &amp;lt;fof9gu$ifj$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
&amp;gt; Vihang Patil &amp;lt;vihang_patil@yahoo.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;Probably a  very dumb question,but how do I send the &lt;br&gt;
data&lt;br&gt;
&amp;gt; &amp;gt;from a string variable to a printer?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Matlab does not provide any portable way of doing that.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;But I get this error,&lt;br&gt;
&amp;gt; &amp;gt;??? Error using ==&amp;gt; graphics\private\validate&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The \ suggest you are using MS Windows. If so,&lt;br&gt;
&amp;gt; &lt;a href="http://groups.google.ca/group/comp.soft-"&gt;http://groups.google.ca/group/comp.soft-&lt;/a&gt;&lt;br&gt;
sys.matlab/msg/4f75ac214fd7ceea&lt;br&gt;
&amp;gt; That's Peter Boettcher, Nov 13 2007, "Formatting rows"&lt;br&gt;
&amp;gt; -- &lt;br&gt;
&amp;gt; This is a Usenet signature block. Please do not quote it &lt;br&gt;
when replying&lt;br&gt;
&amp;gt; to one of my postings.&lt;br&gt;
&amp;gt; &lt;a href="http://en.wikipedia.org/wiki/Signature_block"&gt;http://en.wikipedia.org/wiki/Signature_block&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Dear Walter&lt;br&gt;
That was a really nice solution. The only one problem with&lt;br&gt;
system(sprintf('notepad /p %s', filename)) , this command  &lt;br&gt;
was that it prints Page 1, page 2 and so on at the end of &lt;br&gt;
the file which I dont want. Any way to suppress it?&lt;br&gt;
Regards&lt;br&gt;
Vihang&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 07 Feb 2008 16:49:43 -0500</pubDate>
      <title>Re: simple question on print</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163349#413589</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;fof9gu$ifj$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
Vihang Patil &amp;lt;vihang_patil@yahoo.com&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt;Probably a  very dumb question,but how do I send the data&lt;br&gt;
&amp;gt;from a string variable to a printer?&lt;br&gt;
&lt;br&gt;
Matlab does not provide any portable way of doing that.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;gt;But I get this error,&lt;br&gt;
&amp;gt;??? Error using ==&amp;gt; graphics\private\validate&lt;br&gt;
&lt;br&gt;
The \ suggest you are using MS Windows. If so,&lt;br&gt;
&lt;a href="http://groups.google.ca/group/comp.soft-sys.matlab/msg/4f75ac214fd7ceea"&gt;http://groups.google.ca/group/comp.soft-sys.matlab/msg/4f75ac214fd7ceea&lt;/a&gt;&lt;br&gt;
That's Peter Boettcher, Nov 13 2007, "Formatting rows"&lt;br&gt;
-- &lt;br&gt;
This is a Usenet signature block. Please do not quote it when replying&lt;br&gt;
to one of my postings.&lt;br&gt;
&lt;a href="http://en.wikipedia.org/wiki/Signature_block"&gt;http://en.wikipedia.org/wiki/Signature_block&lt;/a&gt;&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 07 Feb 2008 15:53:02 -0500</pubDate>
      <title>simple question on print</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163349#413570</link>
      <author>Vihang Patil</author>
      <description>Hello&lt;br&gt;
Probably a  very dumb question,but how do I send the data&lt;br&gt;
from a string variable to a printer?&lt;br&gt;
&lt;br&gt;
ex: &lt;br&gt;
str = 'My nams is Vihang';&lt;br&gt;
print(str);&lt;br&gt;
&lt;br&gt;
But I get this error,&lt;br&gt;
??? Error using ==&amp;gt; graphics\private\validate&lt;br&gt;
Error using ==&amp;gt; graphics\private\validate&lt;br&gt;
No Figure to print.&lt;br&gt;
&lt;br&gt;
I dont have any figure window, just want to print the value&lt;br&gt;
from the string to the printer.&lt;br&gt;
And one more thing, I dont want any dialog box to open after&lt;br&gt;
I issue the print command. It should automatically send the&lt;br&gt;
data from the string to the default printer.&lt;br&gt;
&lt;br&gt;
Regards&lt;br&gt;
Vihang&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
