|
roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in
message <fofcr7$ef8$1@canopus.cc.umanitoba.ca>...
> In article <fof9gu$ifj$1@fred.mathworks.com>,
> Vihang Patil <vihang_patil@yahoo.com> wrote:
>
> >Probably a very dumb question,but how do I send the
data
> >from a string variable to a printer?
>
> Matlab does not provide any portable way of doing that.
>
>
> >But I get this error,
> >??? Error using ==> graphics\private\validate
>
> The \ suggest you are using MS Windows. If so,
> http://groups.google.ca/group/comp.soft-
sys.matlab/msg/4f75ac214fd7ceea
> That's Peter Boettcher, Nov 13 2007, "Formatting rows"
> --
> This is a Usenet signature block. Please do not quote it
when replying
> to one of my postings.
> http://en.wikipedia.org/wiki/Signature_block
Dear Walter
That was a really nice solution. The only one problem with
system(sprintf('notepad /p %s', filename)) , this command
was that it prints Page 1, page 2 and so on at the end of
the file which I dont want. Any way to suppress it?
Regards
Vihang
|