[gs-devel] problem using -sOutputFile=%stdout
Adam Heinz
AHeinz at exstream.com
Sun Feb 1 09:23:54 PST 2004
Sorry if this is a duplicate. My network was being a bit bizarre last week and I don't see this message in the archives.
> I'm currently working on getting our rasterization moved off disk; hopefully entirely into buffers. I've been succesful using "-" as my input file, then reading in our buffer during calls to my gsdll_stdin() callback set via gsapi_set_stdio(). Now that I'm working on writing to a buffer, I've tried (on Windows, using gsapi_init_with_args()):
> -sOutputFile=%%stdout
> -sOutputFile=%%pipe%%
> -sOutputFile=-
>
> gs -q -dBATCH -dFIXEDMEDIA -dNOPAUSE -dNOSAFER -dEPSCrop -sDEVICE=tiff24nc -r300x300 -dDEVICEWIDTHPOINTS=144 -dDEVICEHEIGHTPOINTS=144 -sOutputFile=%stdout D:\Exstream\Tests\ps\penguin.ps
>
> The buffer controlled by gsdll_stdout() receives:
>
> Error: /undefinedfilename in --.outputpage--
> Operand stack:
> 1 true
> Execution stack:
> %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop --nostringval-- 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 0 4 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval--
> Dictionary stack:
> --dict:1051/1123(ro)(G)-- --dict:0/20(G)-- --dict:73/200(L)-- --dict:1/5(L)--
> Current allocation mode is local
> Current file position is 23224
>
> If this is not the intent of %stdout, how can I get output to hit my gsdll_stdout() callback?
>
> Adam Heinz
> Senior Software Developer
> Exstream Software
>
More information about the gs-devel
mailing list