We create PDFs from programs we write in National Instruments LabWindows. We use Adobe Distiller by creating a key in
This works well in Wndows XP, we create a pdf with a filename that the program created. But when we moved to Windows 7 it doesn't work. When we execute the code, we get a window asking for a filename.
The WIndows XP computers are running Distiller 9, the Windows 7 computers are running Distiller X.
Is this feature still support in Distiller X?
The feature is still documented the same in the Acrobat X SDK. You might find this interesting if you are on 64 bit Windows (since the exe that prints is different from the one that is run): http://forums.adobe.com/thread/790897
Don't know for sure, but I suspect you may have the preference in Distiller set to ask for a file name. That selection is under the File>Preferences menu in AA9 and I suspect a similar selection is in AAX.
No, I don't have "Ask for file name" check in preferences. When I run the code and watch the "Adobe PDF" print queue, the file briefly gets display as if the print queue saw it, but nothing gets created.
The key is HKEY_CURRENT_USER\Software\adobe\acrobat distiller\printerjobcontrol
with the following:
Name = c:\mfgtests\48-000055-001\48-000055-001.exe
Type = REG_SZ
Data = c:\mfgtests\48-000055-001\test.pdf
c:\mfgtests\48-000055-0001 is the directory where the exe is located. Test.pdf is the name of the file we want to created.
Ok, did you read the post I linked to in reply #1? Response #2 in that post suggests that in 64-bit Windows the name to use in your key is not c:\mfgtests\48-000055-001\48-000055-001.exe but the name of the 32-bit print spooler. You haven't said if you're using 64-bit Windows 7 so I don't know if that's relevant.
I no longer think it is an Adobe error. I have tried different print functions and they all work when I put splwow64.exe in.
So I will talk with the National Instrument people about their print function.