Hello! I would like to use my program to select the filename to print to (Output: Prompt for filename), because the default dialog window provided by Redmon EE does not support confirmation dialog for overwriting an existing file (If I select an existing filename, it will overwrite it without any confirmation, however the standard Windows SaveFileDialog provides a confirmation dialog for this).
Everything works fine, my program is called, it receives the two parameters (pipe name and default filename), I select a filename, open the pipe, write to it, close the pipe, but Redmon does not receive the filename.
The pipe-handling works, I wrote a small application, which opens a pipe and listens, and providing the correct pipe name to my "filename select" program, it writes back to the previous program. So the pipe open, write and close is working.
I'm using redmonnt.dll 180.224 26.12.2008 10:59 (Redmon EE 1.8.14).
Here is a part of the log file, what can be the problem? Thanks
d:\Dev\Sajat\HQ.Katapult\HQ.Katapult.Browse\bin\Debug\HQ.Katapult.Browse.exe \\.\pipe\redmon-run-2-administrator "xx.pdf"
Environment:
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\administrator\Application Data
CLIENTNAME=KISPISZOK
CommonProgramFiles=C:\Program Files\Common Files
...
REDMON_PORT=RPT2:
REDMON_JOB=2
REDMON_PRINTER=Redmon test
REDMON_MACHINE=\\windows-xp-sp3
REDMON_USER=administrator
REDMON_DOCNAME=Testpage
REDMON_FILENAME=xx.pdf
REDMON_SESSIONID=1
REDMON_HANDLE=19328
redmonfn.exe returns [?????]
read 10 bytes
REDMON received Filename [??????f]
StartDocPort: working process is
len=96 Command = ["C:\gs\gs8.64\bin\gswin32c.exe" @c:\gs\pdfwrite.rsp -sOutputFile="??????f" -c .setpdfwrite -f -].
StartDocPort: After Works process is
len=15 Command = ["notepad.exe" ].
REDMON StartDocPort: returning 1
"C:\gs\gs8.64\bin\gswin32c.exe" @c:\gs\pdfwrite.rsp -sOutputFile="??????f" -c .setpdfwrite -f -
Printer=Redmon teszt
JobId=2
REDMON WriteThread: started
Level=1
DocumentName="Tesztoldal"
OutputFile=""
Datatype="(null)"
output=1 show=0 delay=300
REDMON WritePort: about to write 65536 bytes to port.
GPL Ghostscript 8.64 (2009-02-03)
Copyright (C) 2009 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
**** Unable to open the initial device, quitting.
GPL Ghostscript 8.64: **** Could not open the file ??????f .



