i'm trying to convert on windows 7 stdin to pdf using ghostscript, and instead of generating a local file, i want to send this file directly to my exe file.
I'm doing this
C:\Programas\gs\gs9.05\bin\gswin64c.exe -IC:\Programas\gs\gs9.05\lib;C:\Programas\gs\fonts -sDEVICE=pdfwrite -r300 -dNOPAUSE -dSAFER -sPAPERSIZE=a4 -sOutputFile=%%pipe%%"C:\Projectos\Online File Manager\Codigo\Ruby\shoes apps\FileCreate7.exe"
(I've meanwhile put the exe inside a cmd file)
I'm getting the error :
GPL Ghostscript 9.05: **** Could not open the file %pipe%c:\tempRep\filecreate.cmd .
Unrecoverable error: ioerror in setdevice
Operand stack:
--nostringval--
Any suggestions ?