|
From: | Michael D Godfrey |
Subject: | Re: fltk printing |
Date: | Sat, 07 Aug 2010 15:30:23 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Thunderbird/3.1.1 |
On 08/07/2010 02:36 PM, Dmitri A. Sergatskov wrote:
This email should have preceded my last one, but I forgot to click on send! Right. And, I have learned something: 1, My claim that it mattered whether the command was print test.pdf or print('test.pdf') is wrong. What matters is if the print command is the first one issued in the octave session. After the first print, everything seems to work, both print test.pdf, print('test.pdf'), or print test2.pdf, etc. (Dmitri's example shows that it takes more than one print(), but so far for me one has been enough.) But, close all causes failure again. 2. But, so far I have not been able to get the first print to work. I have waiting for the file to show up as Ben suggested, drawnow(), rehash(), etc. 3. One point: after the failure, at the command line: system(' ls -l /tmp/oct-xxxx') shows that the file does exist. Michael |
[Prev in Thread] | Current Thread | [Next in Thread] |