docx2pdf conversion on server - MS word hanging

General usage of the PDF Printer.

Moderator: jr

Post Reply
Yeentrancemperium
Posts: 2
Joined: Thu Oct 14, 2010 4:52 pm

docx2pdf conversion on server - MS word hanging

Post by Yeentrancemperium »

Hi!

So, we have bullzip installed on server (win 2008 R2 64-bit) and want to be able to convert docx file to pdf file without user logged in.

When the whole process is started, bullzip opens MS WORD, but then freezes. Word is just hanging without any progression.

Any suggestions?

P.S. We are using .NET interface.
LA Bull
Posts: 1
Joined: Wed Oct 20, 2010 11:07 am

Re: docx2pdf conversion on server - MS word hanging

Post by LA Bull »

We have same problem, did anyone find solution for it!
Thanks
jr
Site Admin
Posts: 500
Joined: Sun Mar 26, 2006 12:28 pm

Re: docx2pdf conversion on server - MS word hanging

Post by jr »

Hi,

I don't know why this doesn't work when not logged in.

On my system the registry tells me that the following command is run:

"C:\Program Files\Microsoft Office\Office14\WINWORD.EXE" /j "%1" "%2"

Try using some real values and run the command directly from your code:

"C:\Program Files\Microsoft Office\Office14\WINWORD.EXE" /j "d:\support\test.docx" "Bullzip PDF Printer"

Can you tell me if that helps?

Regards,
Jacob
Yeentrancemperium
Posts: 2
Joined: Thu Oct 14, 2010 4:52 pm

Re: docx2pdf conversion on server - MS word hanging

Post by Yeentrancemperium »

It seems that the problem is in .NET. Again, if I call the command in MS prompt :

C:\Program Files (x86)\Microsoft Office\Office14\winword.exe /j /q /w /x "C:\temp\test.docx\" "Bullzip PDF Printer\"

it works well. But if I do the same thing in C# (this time straight MS promt command call, not Bullzip api):

..............................................
string tCMD2 = "\"C:\\Program Files (x86)\\Microsoft Office\\Office14\\winword.exe\"";
string tParam2 = " /j /q /w /x \"C:\temp\test.docx\" \"Bullzip PDF Printer\"";
Process tP = Process.Start(tCMD2, tParam2, tUser, tPassword, tDomain);
...............................................

it won't do it.
Post Reply