[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wait_for_file ?? [time to test ssh]
From: |
bpabbott |
Subject: |
Re: wait_for_file ?? [time to test ssh] |
Date: |
Thu, 09 Sep 2010 18:23:48 +0000 (GMT) |
Michael,
Using Shai's recent commit, I've produce a simple example that tests the conversion of eps to pdf.
I've attached two files. A modified __ghostscript__.m and go_fltk.m.
Please place each of these in a single directory and run the go_fltk.m script, via ssh.
I'm expecting you to get a pdf file like the one I've attached.
I'm allowing gs to combine the offset.ps file (which offsets the eps file from the page's LLHC) with the GL2PS eps stream.
fid = popen ("gs -dQUIET -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -dEmbedAllFonts=true -dOptimize=true -dEPSCrop -sPAPERSIZE=letter -dFIXEDMEDIA -sOutputFile=test.pdf offset.ps -", "w")
drawnow ("eps" , sprintf ("%d" , fid));
I hope to avoid using the temporary offset.ps file, but before going further, I thought it best to confirm this approach will resolve the timing problem.
Ben
go_fltk.m
Description: Binary data
__ghostscript__.m
Description: Binary data
- Re: wait_for_file ??, (continued)
- Re: wait_for_file ??, Ben Abbott, 2010/09/08
- Re: wait_for_file ??, Ben Abbott, 2010/09/08
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/08
- Re: wait_for_file ??, Shai Ayal, 2010/09/09
- Re: wait_for_file ??, Shai Ayal, 2010/09/09
- Re: wait_for_file ??, Ben Abbott, 2010/09/09
- Re: wait_for_file ??, Shai Ayal, 2010/09/09
- Re: wait_for_file ??, John W. Eaton, 2010/09/09
- Re: wait_for_file ??, Michael Godfrey, 2010/09/09
- Re: wait_for_file ??, bpabbott, 2010/09/09
- Re: wait_for_file ?? [time to test ssh],
bpabbott <=
- Re: wait_for_file ?? [time to test ssh], bpabbott, 2010/09/09
- Re: wait_for_file ?? [time to test ssh], Michael Godfrey, 2010/09/09
- Re: wait_for_file ?? [time to test ssh], Michael D Godfrey, 2010/09/09
- Re: wait_for_file ?? [time to test ssh], Shai Ayal, 2010/09/10
- Re: wait_for_file ?? [time to test ssh], Michael D Godfrey, 2010/09/10
- Re: wait_for_file ?? [time to test ssh], Michael D Godfrey, 2010/09/10
- Re: wait_for_file ?? [time to test ssh], Ben Abbott, 2010/09/10
- Re: wait_for_file ?? [time to test ssh], Michael D Godfrey, 2010/09/09
- Re: wait_for_file ?? [who/what/where does fclose()?], Ben Abbott, 2010/09/10
- Re: wait_for_file ?? [who/what/where does fclose()?], Shai Ayal, 2010/09/10