User login

Languages

Donate

Donate for a MSI Installer Package [more]

Target:
$ 1200
Achieved:
$ 1036.55
Fees:
$ 52.53
86.4 %
Donate
SourceForge.net Logo

Command Line not working

3 replies [Last post]
Trefor
User offline. Last seen 23 weeks 6 days ago. Offline
Joined: 09/07/2009

I have used PDFCreator for year via the Print method, but have recently tried to pdf a file from the command line.

This is the line I am running from a batch file:

"C:\Program Files\PDFCreator\pdfcreator.exe" /IF"c:\temp\InstNotRpt.rtf" /OF"c:\temp\InstNotRpt.pdf"

 

There are no errors, but not output file either. I have tried different file types, but with no luck.

To I have to configure something somewhere first?

Trefor

 

Frank
Frank's picture
User offline. Last seen 1 hour 8 min ago. Offline
DeveloperTranslator
Joined: 03/22/2009

Hello,

rtf is not allowed as input format.

From the help file:

 

IF<input-filename> /OF<output-filename>
Convert a postscript file or a bitmap file (JPEG, BM) to a PDF or bitmap. The /OF parameter must be used in conjunction with the /IF parameter. To set the output file format, include the file extension in the output file name. There is NO space between the parameters and the file names. The parameter /OutputSubFormat defines the subformat. Currently "PDF/A-1b" and ""PDF/X" can be used for the PDF format.
Examples:
pdfcreator.exe /IF"C:\description.ps" /OF"C:\description.pdf" /OutputSubFormat"PDF/A-1b"
pdfcreator.exe /IF"C:\description.ps" /OF"C:\description.tif"
pdfcreator.exe /IF"C:\image1.jpg" /OF"C:\image1.pdf"
pdfcreator.exe /IF"C:\image1.bmp" /OF"C:\image1.png"

 

 

__________________

Frank
Team pdfforge

© pdfforge.org :: Contact us :: Sitemap :: Design by Daniela Martin

Validate XHTML or CSS.