Command line parameters

PDFCreator enables you to create documents via the command line interface. PDFCreator currently supports the following commands:

/InitializeSettings

PDFCreator will initialize the settings (if required) as it would do when doing a regular application start, but exit directly afterwards. The settings will be saved in the registry. This can be used to initialize the current user settings before doing further changes to the settings.

If valid settings already existed, they will not be changed.

/PrintFile=”Path.extension”

Convert a file with PDFCreator. If this is a PDF or PS file, PDFCreator will convert this file directly without sending it to a printer.

Otherwise, the file will be printed with the standard program linked to the extension of the file. In general, this option is useful in connection with Auto-Save mode.

You can use this in combination with other parameters, i.e. PrinterName, Profile and Outputfile.

The original file name and directory will be available in the Tokens <InputFilename> and <InputFilepath>.

Example:

pdfcreator.exe /PrintFile="C:\test.doc"

/PrinterName=”PDFCreator Printer”

This can be used with the PrintFile parameter to specify the name of the printer PDFCreator will use. If the parameter is not specified, the default PDFCreator printer will be used.

Example:

pdfcreator.exe /PrintFile="C:\test.doc" /PrinterName="PDFCreator"

/PsFile=”filename.ps”

This parameter is obsolete and will be removed in future versions. Please use /PrintFile instead.

/PdfFile=”filename.pdf”

This parameter is obsolete and will be removed in future versions. Please use /PrintFile instead.

/OutputFile=”C:\test.pdf”

Use the Outputfile parameter to set the target path for the conversion. It overwrites the target path in the assigned profile.

Note

We recommend to set the target path directly in a profile that is linked to a printer, i.e. by using Tokens.

Warning

The target path set via parameter will be used for the next print job in the queue. If another job is processed by the queue first, the output file will be set in this job.

Example:

pdfcreator.exe /OutputFile="C:\test.pdf"

/Profile=”ProfileName”

Use the Profile parameter to set the profile for the conversion. You can either set it via the profile GUID or the profile name. If PrinterName and Profile are both set via parameter, Profile will be ignored.

Note

We recommend to link the profile to a printer and set the printer via Printer parameter.

Warning

  • The Profile set via parameter will be used for the next print job in the queue. If another job is in the queue already, the profile will be set in this job.
  • Our default profiles get translated. If you want to refer to a profile by name, please make sure to set the profile name in the current language. Alternatively, you can read the profile GUID from the registry and use that instead.

Example:

pdfcreator.exe /Profile="ProfileName"

/Merge

You can use the parameter /Merge followed by multiple files to create a print job with all files merged.

You can use this in combination with other parameters, i.e. PrinterName, Profile and Outputfile.

Example:

pdfcreator.exe /Merge "C:\file_a.pdf" "C:\file_b.pdf" "C:\file_c.pdf"

Note

This currently only works for PDF and PS files

/ManagePrintJobs

PDFCreator will start with the List of print jobs opened. This is useful when using Auto-Save as PDFCreator will keep all print jobs waiting until you manually continue the conversion. After that, all print jobs are converted automatically.