Command Syntax
Convert Office, HTML, PostScript & EPS Files to PDF
Required and optional values
Every command statement you enter for FLIP2PDF must include the following values:
- the executable name
- the name of the input file, or a web site address if you want to convert a web page to a PDF file
- the name you want to assign to the output PDF file
You can also provide the name of the JSON profile file but that is optional.
The JSON profile file includes a list of settings that define exactly what kind of PDF output document you want to produce.
Two optional values are also available:
- --password. If an input document has a password, you can include this value to provide a password so that FLIP2PDF can read and open that file. This only works with Office input files.
- --encrypt. Use this value to assign a password to a PDF output document. This only works with Office input files.
- --joboptions. Use this value to add the use of a JobOptions file during conversion. This only works with Postscript input files
For each command line option, you can use either the short or long notation:
Type flip2pdf –-help at the command line for a list of software options.
What a basic command looks like
A command might look like this:
If you are converting an input file that is password protected, you can supply the password to open that file using a command syntax like this:
Then, if you want to assign the same password (“Fischer@27”) to the PDF output file, use this command syntax to supply both passwords:
The FLIP2PDF software assumes that the file extension you provide for an input file is valid.
Providing path names
You don’t need to include the absolute path for any of these files if the input file and profile are stored in the current working directory, and if you save the output file to this directory as well. If you want FLIP2PDF to take an input file from one directory and save the output to another, however, you need to provide the path as well as the file name:
If any of the file or path names include spaces, use quotes around the name:
Converting web page content to PDF
You can also convert an HTML file or a web page to PDF output. Enter the name or the name and the path for that HTML file in the command line statement, as you would any other kind of file, like this:
If you want to convert a web page to a PDF file, enter the web site address in the command line statement instead.
The product will convert all of the content shown on that page to a PDF output file, including HTML, stylesheets, and graphics.