create pdf via command line

2006-07-19 12:21:09 by ocsrdo

Is there anyway to create a pdf file from a text file using only the command line(no dialoge boxes) ? We are trying to setup a background task that would fetch a text file and then convert it to a pdf file.


2006-07-19 14:41:28 by thesmilyface

This is possible with the script "convert2pdf.vbs". But I think the best way for this problem is to use fly2pdf via com. In this case you don't need a printer or ghostscript and it is thread-safe. If you like you can become a beta tester.


2006-07-20 15:45:49 by foerstpr

We are creating snp files with access and then pdf files with pdfcreater. Works good. But we dont want to use the /pf parameter because with /pf the pdfcreater window pops up. Is there a way to use pdfcreater.exe /if"inputfile" /of"outputfile" without a postscript file?

cu Peter


2006-07-20 16:02:01 by thesmilyface

Sorry, no.

Frank


2006-07-23 03:33:23 by ocsrdo

If fly2pdf is open source then I would love to testing with beta version. How do I go about getting it?


2006-07-23 07:16:15 by thesmilyface

I can send you the files next week for testing. But it is not a converter like any2pdf. With fly2pdf you can create pdfs via scripts without any third-party tool.

Frank


2006-08-03 14:56:33 by anonymous

I'm looking for a solution to convert MS-Office documents to PDF (within recursive directories). Is it possible via a script with fly2pdf? If yes, I'am very interresting.

I did'nt find how to do that with PDFCreator.


2006-08-03 16:02:15 by anonymous

[quote=Jeannot]I'm looking for a solution to convert MS-Office documents to PDF (within recursive directories). Is it possible via a script with fly2pdf? If yes, I'am very interresting.

I did'nt find how to do that with PDFCreator.[/quote]

I just find some usefull scripts (Conv2PDF.vbs) in COM folder...


2006-08-03 23:42:46 by anonymous

You can use ghostscript to do this.

gswin32c -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=c:\test.pdf -sPROGNAME=gslp -c .setpdfwrite -f -- gslp.ps -B c:\test.txt

cheers


2006-08-08 10:33:11 by thesmilyface

But it doesn't support word wrapping at the end of a line.