[gs-devel] Error with gsapi_init_with_args that works on command

Sheri Steeves Sheri_Steeves at peernet.com
Fri Oct 14 15:15:11 UTC 2011


The solution was provided by Russell Lang. I didn't need to the quote an
argument with "" when put in an argv array.

gsargv[i++] = "-c";
gsargv[i++] = "<< /Install { 0 currentpagedevice /PageSize get 1 get
translate 1 -1 scale } >> setpagedevice";
gsargv[i++] = "-f";

Best Regards,
Sheri 




More information about the gs-devel mailing list