

Put quotes around job option file names that contain spaces.
#Adobe distiller watched folders ps to pdf pdf
Does not affect any of the Adobe PDF settings you can set with the user interface. If you omit the file name, Distiller uses the current default settings file. If you specify a file name with no path, Distiller looks in its Settings folder for the file. Uses pdfSettingsFilePath as the Adobe PDF settings file for any input files specified on the command line. Regardless of the /F switch, all versions of Acrobat Distiller can access fonts, color profiles, and other system resources needed for normal operation. Between Distiller 8.0 and 8.1, the sense of this switch was reversed to address security concerns.įor Acrobat Distiller 8.1 and greater, the /F switch permits the PostScript file operators unlimited file access.Įnabling unlimited file access can pose security problems.įor Acrobat Distiller 5.0 through 8.0, the /F switch restricts PostScript file operators to fonts, color profiles, and other system resources needed for normal operation. Typically, this switch affects file embedding. For example:Įnables or restricts files that can be accessed by PostScript operators, depending on the version of Distiller. Put quotes around Adobe PDF settings file names that contain spaces. It just opens the Adobe PDF Settings dialog box and exits when you close that window.

Distiller will not process any PostScript files and does not display its main window. This switch cannot be combined with any other command line options.

Opens the Distiller Adobe PDF Settings dialog box to edit the specified Adobe PDF settings file. deletelog:off turns off logging for the generated PDF. deletelog:on turns on logging for the generated PDF. The following table lists the optional command line switches.įorces Distiller to create or delete the log file after the PDF file is created. To process a list of PostScript files, use this syntax:Īcrodist inputFiles Spaces and commas are both legal file name characters if a file name contains spaces or commas, enclose it in double quotes. The parameter inputFiles is a list of file names, separated by spaces or commas. Do not combine switches-give each one its own prefix (- or /). The parameter should be in quotes if it contains any spaces. (Note, however, that the deletelog and nosecurity switches can only be preceded by a double dash (–).) There should be a space after the switch letter, and if the switch takes a parameter, another space after the parameter. Either the dash (-) or slash (/) character can begin a switch, which is identified by a single case-independent letter. The switches parameter is a list of optional commands. The command acrodist by itself runs Distiller, or if a normal instance of Distiller is already running, it brings Distiller to the foreground. Switches and input file names are both optional. If any switches are present, they must come before any input files. The fileList member of the structure contains the name of the PostScript language file that was processed, and the outputFile member contains the name of the resulting PDF file. The LPARAM parameter of this WM_COPYDATA message will contain a COPYDATASTRUCT that will include a Distiller DM_DONE message and a pointer to a structure of type DISTILLRECORD. If the sending application is specified in the WPARAM parameter of the SendMessage call, a WM_COPYDATA message is returned to the application after each file specified has been distilled. DISTILLRECORD dr /* from distctrl.h */ COPYDATASTRUCT cds BOOL ok LRESULT rtn WORD res = 0 char msg hinst = ShellExec ( NULL, "acrodist.exe", strCmdArgs, NULL, SW_SHOW ) if ( res SendMessage ( WM_COPYDATA, ( WPARAM ) m_hWnd, ( LPARAM ) & cds ) if ( ok ) /* wake up Distiller */ hDistillerCWnd -> PostMessage ( WM_TIMER, ID_TIMER, 0 L ) }
