Hi.
I´m trying to setup the PDFCreator (tried 0.9.9 and now 1.0) to work in a Terminal Service environment within a Windows 2003 R2 Server.
After install PDFCreator, the only configuration I did was turn on "Use Auto-save" and in the "Use this directory for auto-save" I fill in with "\\\\TSCLIENT\\spool".
On the RDP client I have a "device redirection" that maps a local disc folder as spool "remote TS map" on the server.
(ie. rdesktop -r disk:spool=MyLocalPrints ...)
For the PDFCreator.exe I followed the PDFCreator as a Service on Server 2008 (http://outputredirection.blogspot.com/2009/10/pdfcreator-as-service-on-server-2008.html), so I don´t need to get a logged session just to run the console.
If I let the client connect with full desktop and run their own PDFCreator.exe in the tray, wherever I try to print I get a squared windows with the following error:
Error-Nr: 75 (Path/File access error)
Modul: modPDF
Procedure: AppendPDFDocInfo
Line: 50100
And the PDFCreator.exe enters in a loop generating the file again and again when I click Exit Procedure, If I click Exit Program it closes and stop. But as far as I can see, the file is generated correctly on the client machine folder.
If I try to print without a full desktop, running a specific application, like Wordpad.exe, for example, and try to rely on the PDFCreator.exe running as a service, for the client it looks like the print goes through, because there is no error, but the file is not generated.
Stopping the PDFCreator service and let it running on the server console, I can look at the log. So when the client prints, in the log I can see the following:
`14/4/2010 17:43:33: Autosavemodus: 1files`
`14/4/2010 17:43:33: Autosavemodus: Create File '\\\\TSCLIENT\\spool\\test-Document.pdf'`
`14/4/2010 17:43:33: Ghostscriptparameter:`
`-IC:\\Program Files\\PDFCreator\\GS8.71\\gs8.71\\Lib\\`
`-q`
`-dNOPAUSE`
`-dBATCH`
`-sFONTPATH=C:\\WINDOWS\\Fonts`
`-sDEVICE=pdfwrite`
`-dPDFSETTINGS=/default`
`-dCompatibilityLevel=1.4`
`-r600x600`
`-dProcessColorModel=/DeviceCMYK`
`-dAutoRotatePages=/PageByPage`
`-dCompressPages=true`
`-dEmbedAllFonts=true`
`-dSubsetFonts=true`
`-dMaxSubsetPct=100`
`-dConvertCMYKImagesToRGB=false`
`-sOutputFile=\\\\TSCLIENT\\spool\\test-Document.pdf`
`-dEncodeColorImages=true`
`-dAutoFilterColorImages=true`
`-dEncodeGrayImages=true`
`-dAutoFilterGrayImages=true`
`-dEncodeMonoImages=true`
`-dMonoImageFilter=/CCITTFaxEncode`
`-dDownsampleMonoImages=false`
`-dPreserveOverprintSettings=true`
`-dUCRandBGInfo=/Preserve`
`-dUseFlateCompression=true`
`-dParseDSCCommentsForDocInfo=true`
`-dParseDSCComments=true`
`-dOPM=0`
`-dOffOptimizations=0`
`-dLockDistillerParams=false`
`-dGrayImageDepth=-1`
`-dASCII85EncodePages=false`
`-dDefaultRenderingIntent=/Default`
`-dTransferFunctionInfo=/Preserve`
`-dPreserveHalftoneInfo=false`
`-dDetectBlends=true`
`-f`
`C:\\Program Files\\PDFCreator\\Temp\\PDFCreatorSpool\\~PS156.tmp`
`14/4/2010 17:43:34: Error: GPL Ghostscript 8.71: **** Could not open the file \\\\TSCLIENT\\spool\\test-Document.pdf .; **** Unable to open the initial device, quitting.; `
`14/4/2010 17:43:34: Time for converting [PDF without encryption]: 00:00:00:119`
`14/4/2010 17:43:34: Autosavemodus: Create File '\\\\TSCLIENT\\spool\\test-Document.pdf' failed`
I just want to print a PDF to a mapped folder on a RDP client without "save as dialog" in a transparent way to the user, so he doesn´t even notice that it is happening.
There is a way to archive what I´m trying to do here or it is just out of the capabilities of PDFCreator?
Thank you for any help.