PDA

View Full Version : PDF writing on the command line?



rajatQ2
10-02-2003, 04:12 PM
Anyone know of a way to write PDF files from the command line? I know there are a bunch of (lousy) utilities that do this for you, but i want to batch it by hand.

for example C:\pdfwriter -source myfile.doc -output poop.pdf


is there anything like that around? I want to include it in a perl script. thanks!

coleslaw
10-02-2003, 06:11 PM
Looks like it can be done via VB code, which is kinda lousy, too.

I did find this this tool though: http://www.verypdf.com/pdfcamp/pdfcamp.htm

Not sure if you had already seen it.

rajatQ2
10-02-2003, 07:08 PM
I am trying this now, its kinda hack. from the command line,
print /d:"PDF Port" mydoc.doc


I have acrobat 5 installed. The port listed under acrobat distiller's printer properties is "PDF port" but this doesn't work. HEy coleslaw, thanks for the link. I also found a prog called ConvertDoc that is helpful, but much more expensive!! THanks!