On 06/16, Jan Nieuwenhuizen wrote: > > My home directory is correct, I've added pwd command... > and canzone.ps is there too, if you add ls command?
Yep. > > Error: /undefinedfilename in ('canzone.ps') > ah, I think I see: what about the quotes? they may have to be removed > from the command, similar too the ps->pdf command. Yep! That did the trick. I had to remove quotes both from ps filename parameter and -sOutputFile too. And after that ghostscript's banner disappeared from dos window, it works now, but silently. Strange. Anyway here is what I did: ========= --- ps-to-png.save 2005-06-15 17:26:16.000000000 +0400 +++ ps-to-png.scm 2005-06-16 23:20:10.000000000 +0400 @@ -101,10 +101,10 @@ -dNOPAUSE\ -dTextAlphaBits=4\ -sDEVICE=png16m\ - -sOutputFile='~a'\ + -sOutputFile=~a\ -sPAPERSIZE=~a\ -r~S\ - '~a'\ + ~a\ -c showpage\ -c quit" (search-gs) @@ -118,9 +118,9 @@ -dNOPAUSE\ -dTextAlphaBits=4\ -sDEVICE=png16m\ - -sOutputFile='~a'\ + -sOutputFile=~a\ -r~S\ - '~a'\ + ~a\ -c quit" (search-gs) (if verbose? "" "-q") ========= But now I've got a new problem :) Canzone fits one page with global staff size 21/ When I increase it size a little so it stretches into second page I get two pages in .pdf file, but three png files instead of two, and the last png is blank. Second png has a lot of space at the the end. Another problem: it truncates bottom of the page. Something wrong with paper size, but I don't know how to fix it. -- Roman V. Isaev http://www.soprano-recorder.ru Moscow, Russia _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user