Print from IIS-process is using wrong path to spool folder in Windows temp

I have installed PDFCreator 3.5.1 on Window 2016, replacing a Windows 2008 server with PDFCreator 1.7 installed. The application which is creating PDF's is hosted on IIS serving a Windows Communication Fondation (.svc). That part I do not know anything about, but I do not need to since it apparantly is able to print to the PDFCreator printer

What is happening is that when the application is creating the ps and inf-file it is dumped to the folder

C:\Users\myuser\AppData\Local\Temp\PDFCreator\Spool

The .ps and .inf file created in that folder is stuck there, nothing happens.

But if I from PDFCreator chooses "Print PDFCreator Test Page" I see that it creates a file in the spool folder on the following folder

C:\Users\myuser\AppData\Local\Temp\2\PDFCreator\Spool

Note the '2'-folder after 'temp'. Earlier today it was '3'. So that is working just fine - but why is my IIS-service using the wrong folder path to the spool folder?

Update
Did hope I did figure out how to override it using the setting

[HKEY_USERS.DEFAULT\Software\PDFCreator\Program]
"PrinterTemppath"="d:\nrsjobb\temp\PDFCreator\"

but no, that did not do the trick either

Have also tried to import the following registry settings, this was apparantly what was needed on Win 2008, but still not have done the trick on Win 2016 with the newer version

Windows Registry Editor Version 5.00

[HKEY_USERS.DEFAULT\Software\PDFCreator]

[HKEY_USERS.DEFAULT\Software\PDFCreator\Ghostscript]
"DirectoryGhostscriptBinaries"="d:\PDFCreator\Ghostscript\Bin\"
"DirectoryGhostscriptFonts"=""
"DirectoryGhostscriptLibraries"="d:\PDFCreator\Ghostscript\Lib\"
"DirectoryGhostscriptResource"=""

[HKEY_USERS.DEFAULT\Software\PDFCreator\Printers]

[HKEY_USERS.DEFAULT\Software\PDFCreator\Printing]
"Counter"="30"
"DeviceHeightPoints"="842"
"DeviceWidthPoints"="595"
"OneFilePerPage"="0"
"OneFilePerPageLeadingChar"="0"
"OneFilePerPageMaxCountOfLeadingChars"="2"
"Papersize"="a4"
"StampFontColor"="#FF0000"
"StampFontname"="Arial"
"StampFontsize"="48"
"StampOutlineFontthickness"="0"
"StampString"=""
"StampUseOutlineFont"="1"
"StandardAuthor"=""
"StandardCreationdate"=""
"StandardDateformat"="YYYYMMDDHHNNSS"
"StandardKeywords"=""
"StandardMailDomain"=""
"StandardModifydate"=""
"StandardSaveformat"="0"
"StandardSubject"=""
"StandardTitle"=""
"UseCreationDateNow"="0"
"UseCustomPaperSize"="0"
"UseFixPapersize"="0"
"UseStandardAuthor"="0"

[HKEY_USERS.DEFAULT\Software\PDFCreator\Printing\Formats]

[HKEY_USERS.DEFAULT\Software\PDFCreator\Printing\Formats\Bitmap]

[HKEY_USERS.DEFAULT\Software\PDFCreator\Printing\Formats\Bitmap\Colors]
"BMPColorscount"="1"
"BMPResolution"="150"
"JPEGColorscount"="0"
"JPEGQuality"="75"
"JPEGResolution"="150"
"PCLColorsCount"="0"
"PCLResolution"="150"
"PCXColorscount"="0"
"PCXResolution"="150"
"PNGColorscount"="0"
"PNGResolution"="150"
"PSDColorsCount"="0"
"PSDResolution"="150"
"RAWColorsCount"="0"
"RAWResolution"="150"
"SVGResolution"="72"
"TIFFColorscount"="0"
"TIFFResolution"="150"

[HKEY_USERS.DEFAULT\Software\PDFCreator\Printing\Formats\PDF]

[HKEY_USERS.DEFAULT\Software\PDFCreator\Printing\Formats\PDF\Colors]
"PDFColorsCMYKToRGB"="0"
"PDFColorsColorModel"="1"
"PDFColorsPreserveHalftone"="0"
"PDFColorsPreserveOverprint"="1"
"PDFColorsPreserveTransfer"="1"

[HKEY_USERS.DEFAULT\Software\PDFCreator\Printing\Formats\PDF\Compression]
"PDFCompressionColorCompression"="1"
"PDFCompressionColorCompressionChoice"="0"
"PDFCompressionColorCompressionJPEGHighFactor"="0.9"
"PDFCompressionColorCompressionJPEGLowFactor"="0.25"
"PDFCompressionColorCompressionJPEGManualFactor"="3"
"PDFCompressionColorCompressionJPEGMaximumFactor"="2"
"PDFCompressionColorCompressionJPEGMediumFactor"="0.5"
"PDFCompressionColorCompressionJPEGMinimumFactor"="0.1"
"PDFCompressionColorResample"="0"
"PDFCompressionColorResampleChoice"="0"
"PDFCompressionColorResolution"="300"
"PDFCompressionGreyCompression"="1"
"PDFCompressionGreyCompressionChoice"="0"
"PDFCompressionGreyCompressionJPEGHighFactor"="0.9"
"PDFCompressionGreyCompressionJPEGLowFactor"="0.25"
"PDFCompressionGreyCompressionJPEGManualFactor"="3"
"PDFCompressionGreyCompressionJPEGMaximumFactor"="2"
"PDFCompressionGreyCompressionJPEGMediumFactor"="0.5"
"PDFCompressionGreyCompressionJPEGMinimumFactor"="0.1"
"PDFCompressionGreyResample"="0"
"PDFCompressionGreyResampleChoice"="0"
"PDFCompressionGreyResolution"="300"
"PDFCompressionMonoCompression"="1"
"PDFCompressionMonoCompressionChoice"="0"
"PDFCompressionMonoResample"="0"
"PDFCompressionMonoResampleChoice"="0"
"PDFCompressionMonoResolution"="1200"
"PDFCompressionTextCompression"="1"

[HKEY_USERS.DEFAULT\Software\PDFCreator\Printing\Formats\PDF\Fonts]
"PDFFontsEmbedAll"="1"
"PDFFontsSubSetFonts"="1"
"PDFFontsSubSetFontsPercent"="100"

[HKEY_USERS.DEFAULT\Software\PDFCreator\Printing\Formats\PDF\General]
"PDFGeneralASCII85"="0"
"PDFGeneralAutorotate"="2"
"PDFGeneralCompatibility"="2"
"PDFGeneralDefault"="0"
"PDFGeneralOverprint"="0"
"PDFOptimize"="0"
"PDFPageLayout"="0"
"PDFPageMode"="0"
"PDFStartPage"="1"
"PDFUpdateMetadata"="1"

[HKEY_USERS.DEFAULT\Software\PDFCreator\Printing\Formats\PDF\Security]
"PDFAes128Encryption"="0"
"PDFAllowAssembly"="0"
"PDFAllowDegradedPrinting"="0"
"PDFAllowFillIn"="0"
"PDFAllowScreenReaders"="0"
"PDFDisallowCopy"="1"
"PDFDisallowModifyAnnotations"="0"
"PDFDisallowModifyContents"="0"
"PDFDisallowPrinting"="0"
"PDFEncryptor"="0"
"PDFHighEncryption"="0"
"PDFLowEncryption"="1"
"PDFOwnerPasswordString"=""
"PDFUserPass"="0"
"PDFUserPasswordString"=""
"PDFUseSecurity"="0"

[HKEY_USERS.DEFAULT\Software\PDFCreator\Printing\Formats\PDF\Signing]
"PDFSigningMultiSignature"="0"
"PDFSigningPFXFile"=""
"PDFSigningPFXFilePassword"=""
"PDFSigningSignatureContact"=""
"PDFSigningSignatureLeftX"="100"
"PDFSigningSignatureLeftY"="100"
"PDFSigningSignatureLocation"=""
"PDFSigningSignatureOnPage"="1"
"PDFSigningSignatureReason"=""
"PDFSigningSignatureRightX"="200"
"PDFSigningSignatureRightY"="200"
"PDFSigningSignatureVisible"="0"
"PDFSigningSignPDF"="0"
"PDFSigningTimeServerUrl"="http://timestamp.globalsign.com/scripts/timstamp.dll"

[HKEY_USERS.DEFAULT\Software\PDFCreator\Printing\Formats\PS]

[HKEY_USERS.DEFAULT\Software\PDFCreator\Printing\Formats\PS\LanguageLevel]
"EPSLanguageLevel"="2"
"PSLanguageLevel"="2"

[HKEY_USERS.DEFAULT\Software\PDFCreator\Program]
"AutosaveDirectory"="d:\nrsjobb\"
"LastsaveDirectory"="d:\nrsjobb\"
"Language"="english"
"PrinterTemppath"="d:\nrsjobb\temp\PDFCreator\"
"AdditionalGhostscriptParameters"=""
"AdditionalGhostscriptSearchpath"=""
"AddWindowsFontpath"="1"
"AllowSpecialGSCharsInFilenames"="1"
"AutosaveFilename"=""
"AutosaveFormat"="0"
"AutosaveStartStandardProgram"="0"
"ClientComputerResolveIPAddress"="0"
"DisableEmail"="0"
"DisableUpdateCheck"="0"
"DontUseDocumentSettings"="0"
"EditWithPDFArchitect"="1"
"FilenameSubstitutions"="Microsoft Word - |\.docx|\.doc|\Microsoft Excel - |\.xlsx|\.xls|\Microsoft PowerPoint - |\.pptx|\.ppt|"
"FilenameSubstitutionsOnlyInTitle"="1"
"LastUpdateCheck"="20141014"
"Logging"="0"
"LogLines"="100"
"MaximumCountOfPDFArchitectToolTip"="5"
"NoConfirmMessageSwitchingDefaultprinter"="1"
"NoProcessingAtStartup"="0"
"NoPSCheck"="0"
"OpenOutputFile"="0"
"OptionsDesign"="0"
"OptionsEnabled"="1"
"OptionsVisible"="1"
"PrintAfterSaving"="0"
"PrintAfterSavingBitsPerPixel"="2"
"PrintAfterSavingDuplex"="0"
"PrintAfterSavingMaxResolution"="600"
"PrintAfterSavingMaxResolutionEnabled"="0"
"PrintAfterSavingNoCancel"="0"
"PrintAfterSavingPrinter"=""
"PrintAfterSavingQueryUser"="0"
"PrintAfterSavingTumble"="0"
"PrinterStop"="0"
"ProcessPriority"="3"
"ProgramFont"="MS Sans Serif"
"ProgramFontCharset"="0"
"ProgramFontSize"="8"
"RemoveAllKnownFileExtensions"="1"
"RemoveSpaces"="1"
"RunProgramAfterSaving"="0"
"RunProgramAfterSavingProgramname"=""
"RunProgramAfterSavingProgramParameters"=""""
"RunProgramAfterSavingWaitUntilReady"="1"
"RunProgramAfterSavingWindowstyle"="1"
"RunProgramBeforeSaving"="0"
"RunProgramBeforeSavingProgramname"=""
"RunProgramBeforeSavingProgramParameters"=""""
"RunProgramBeforeSavingWindowstyle"="1"
"SaveFilename"=""
"SendEmailAfterAutoSaving"="0"
"SendMailMethod"="0"
"ShowAnimation"="0"
"Toolbars"="1"
"UpdateInterval"="0"
"UseAutosave"="1"
"UseAutosaveDirectory"="1"

Stumbled over this post PDFCreator on Windows 2012 R2 and the answer to that question is

only versions up to 1.7.3 had an inbuilt “server mode”. This has been separated into a standalone service which offers a much better performance:

So it seems that the only option I have at the moment is to try to install the old 1.7.3 verison which is running on 2008 on our new 2016 servers. I really hope it will work, and then later development has to update the code implementing something a bit more up to date.

Hi,

PDFCreator Server will be able to handle this properly; the desktop editions always require a user session to run in and can't handle services printing from session 0. PDFCreator 1.7.3 had an option during the installtion to force it into "server mode" but this had many downsides and is no longer recommended or supported.
If you'd like a trial for PDFCreator Server, please contact us here.

Best regards

Robin