[changeset] printing multipage postscript files
Petr Mikulik
mikulik at physics.muni.cz
Wed Jun 3 06:47:41 CDT 2009
> Please check that this works are you expect. I've tested the three examples
> below on Mac OSX with no problems.
>
> surf(peaks)
> print -dps append.ps
> sombrero (25)
> print -dps -append append.ps
>
> surf(peaks)
> print -dpdf append.pdf
> sombrero (25)
> print -dpdf -append append.pdf
>
> surf(peaks)
> print -dps append.ps
> rename ("appdend.ps", "append.pdf");
> sombrero (25)
> print -dpdf -append append.pdf
>
> The last one I hadn't expected to work, but ghostscript handled it nicely.
With postscript, it works well. (The option is really "-append".)
However, appending to pdf fails on my system:
x=1:100;
plot (x,x)
print -dpdf z.pdf
plot (x,-x)
print -dpdf z.pdf -append
plot (x,x.*x, x,x+20)
print -dpdf z.pdf -append
However
gs -dNOPAUSE -sDEVICE=pswrite -sOutputFile=new.pdf \
z1.pdf z2.pdf -c quit
works OK, so there seems to be a some small mistake in the patch. Can you
please fix it?
---
Petr Mikulik
More information about the Bug-octave
mailing list