doc to any converter

How to call doc2any.exe from ASP code?

Ok, That made a difference, but I need to run this from ASP so can I include the same parameters and how?

<%
    Set comEXEShell = Server.CreateObject("exeshell.shell")
    comEXEShell.RunCommandLine "Administrator", "password", "C:\doc2any_cmd\doc2any.exe C:\doc2any_cmd\example.doc C:\doc2any_cmd\new.pdf"
    Set comEXEShell = Nothing
%>
=======================================
Thanks for your message, please by following steps to call doc2any.exe inside a special user account,

1. Please download and install EXEShell COM Library (freeware) from following URL first,

https://www.verydoc.com/exeshell.html
https://www.verydoc.com/download/exeshell.zip

2. After you download it, please unzip it to a folder, register exeshell.dll by administrator privilege,

regsvr32.exe exeshell.dll

then you can call "exeshell.shell" from your ASP source code to convert DOC file to PDF file,

<%
    Set comEXEShell = Server.CreateObject("exeshell.shell")
    comEXEShell.RunCommandLine "Administrator", "password", "C:\doc2any_cmd\doc2any.exe C:\doc2any_cmd\example.doc C:\doc2any_cmd\new.pdf"
    Set comEXEShell = Nothing
%>

3. Because "exeshell.shell" COM component will switch user account from default SYSTEM user account to "Administrator" user account, in some windows systems, you may encounter #1314 permission problem, please refer to following solution for #1314 error,
===================================
Remark:
You may encounter Error 1314 in some Windows systems when you switch between user accounts, this is caused by permission setting, please by following steps to solve this 1314 Error,

ERROR 1314:
~~~~~~~~~~~~~
1314 A required privilege is not held by the client. ERROR_PRIVILEGE_NOT_HELD
~~~~~~~~~~~~~

To resolve this issue:
1. Click Start, click Run, type "secpol.msc", and then press ENTER.
2. Double-click "Local Policies".
3. Double-click "User Rights Assignment".
4. Double-click "Replace a process level token".
5. Click "Add", and then double-click the "Everyone" group
6. Click "OK".
7. You may have to logout or even reboot to have this change take effect.

Please refer to following two screenshots to understand above steps,

https://www.verydoc.com/images/err1314-1.png
https://www.verydoc.com/images/err1314-2.png

Please look at following page for the details about ERROR 1314,

https://www.verydoc.com/exeshell.html
===================================

"exeshell.shell" is a COM component for calling from ASP code, we have another solution to you, you can call cmdasuser.exe from ASP source code directly, cmdasuser.exe can also be used to switch the user account for EXE process.

Please refer to example #8 at following web page,

https://www.verydoc.com/doc-to-any-shell.html

Example #8 (Run conversion inside an interactive user account from service or web applications),

Please by following solution to run doc2any.exe inside an interactive user account,

1. Please add "Everyone" user account to the folder of doc2any.exe, give "Full Control" permission to "Everyone" user account,

2. Download CmdAsUser.exe from following page,

https://www.verydoc.com/exeshell.html

You can also download it from following URL directly,

https://www.verydoc.com/download/cmdasuser.zip

3. Run following command line to test CmdAsUser.exe application,

C:\doc2any\CmdAsUser.exe Administrator . /p password C:\doc2any\doc2any.exe C:\test.doc C:\out.pdf

If you can run above command line in Command Line Window correctly, please call above command line from PHP by shell_exec() function or other web applications, then you will get it work properly.

Please notice, you need modify "Administrator" and "password" parameters in above command line, CmdAsUser.exe will launch doc2any.exe from an interactive user account with administrator privilege.

If you encounter #1314 error, please refer to the solution for #1314 error at above.

VeryDOC

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
pdf to vector converter

PDF2VEC eps converter problem

We purchased PDF2VEC a while back. I can’t find the order number though.
This is what we have
PDF to Vector Command Line Server License PDF to Vector Command Line Server License Electronic Delivery, the registration key is:  XXXXXXXXXXXXXXX

We are trying to convert a pdf to eps and it is not converting properly please see the attached pdf and eps to see what I mean.

Can you help with this please.

Many Thanks
=================================

I can view the your EPS file without any problem in GSview application, please look at following screenshot, can you get this screenshot in your system?

clip_image002

VeryPDF
=================================
I can see the screenshot and the eps is wrong. If you look at the pdf it doesn’t have the black border around it. I have managed to sort the problem out myself anyway so
It is ok now.

Many Thanks
=================================
We are glad to hear about that you have solved this problem, thank you.

OK, we will ask our engineer to check this problem shortly, we will try solve this problem in the next version of our PDF2Vector product.

VeryDOC

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
pdf to vector converter

How to convert PDF file to HPGL file?

HPGL is an inintialism for Hewlett-Packard Graphics Language. Just as its name implies, a hpgl file is a graphics file for the HP graphics plotter. However, a pdf file is a document file. How to convert pdf file to hpgl file?  VeryDOC pdf to vector converter ( a software tool) is just what we need. It can transform a pdf file to a number of graphics formats easily in a short time.

Certainly, the first step is that we do need to get one.

There are two websites we can get on to download it.

https://www.verydoc.com/pdf-to-vector.html
https://www.verydoc.com/pdf2vec_cmd.zip

Later, one of the advantages of VeryDOC pdf to vector converter  is that we have not to install it to the computer. We just should uncompress the folder we have downloaded and make sure there exists an .exe file.

The second step is to open this .exe file.

Here, we need to find the label Run and click on it. Usually, the label Run is situated in the unfolded menu of the press button start. This is the popup dialogue box . Enter cmd and Click on Ok. To this step, a command wind is opened.

clip_image007

The last step is to run it.

There are two point we need to realize. The primary point is to ensure that the command line is running under the directory of the .exe file. To be specific, we should change the default directory ( c:\Documents and Settings\admin ) to the location of the .exe file.

 image

image

image

Tips: There is an enter operation between the first line and the last line in every window above. The third window indicates that the .exe file is seated in the pdf2vec folder which is one of disc d.

The second point to run the command line “pdf2vec.exe D:\test\test.pdf D:\test\test.hpgl”. Watch out. There are three sections in the line.They are “pdf2vec.exe” which is the executable file, “D:\test\test.pdf” which shows us that “test.pdf” is the executable filename  and its place, and “ D:\test\test.hpgl” is the file we want. Apparently, The name and location of the third can be changed. Look at the windows 4 and 5:

image

image

When we get the last window,  the assignment of conversion is done.

Actually, if you want to convert a pdf file to other graphics formats, just change .hpgl of the third part in the fourth window to the format you need. You will get a lot from VeryDOC pdf to vector converter.             

VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
doc to any converter

doc2any fails converting ppt or pptx

Having problems converting ppt or pptx with doc2any. Word and Excel convert fine. We have seen this behavior a number of times now with different installs.

Windows 2008 R2, Office Standard 2010 32bit. Running as .\Administrator

doc2any.exe -$ XXXXXXXXXXXXXXXX -debug -killoffice 1 -noretry -nortfsdk -log "c:\temp\eopconvertdebug.log" -openpwd "q" -ownerpwd "q" -keylen 0 -encryption 3900 "c:\temp\test.pptx" "c:\temp\test.pdf"

Check license information...
Thank you for choosing our product.
Check utility functions...
Start the conversion...
c:\temp\test.pptx ==> c:\temp\test.pdf
Convert PowerPoint document to other formats...
Loading "c:\temp\test.pptx" file...[20%]
Shutdown PowerPoint Application...[60%]
[FAILED] Failed by SaveAs function in MS PowerPoint application.
Prepare to convert "c:\temp\test.pptx" file...[10%]
POWERPNT.EXE (PID to terminate: 1676)
Exit code for POWERPNT.EXE: 259
Process: 259, was successful terminated.
Loading "c:\temp\test.pptx" file...[20%]
Shutdown PowerPoint Application...[60%]
[FAILED] Can't locate EMF files.
[FAILED] Failed by Render to Metafile function in MS PowerPoint application.
Convert OpenOffice Documents to other formats by OpenOffice:
'c:\temp\test.pptx'=>'c:\temp\test.pdf'
[FAILED] Can't retrieve OpenOffice information from registry.
[FAILED] OpenOffice does convert this PowerPoint document failed.
Try convert document continue (1)...
Try convert document continue (2)...
Conversion time = 657ms
c:\temp\test.pptx ==> c:\temp\test.pdf, result=ERROR
TickCount = 657ms(0.66s), Result = 0
POWERPNT.EXE (PID to terminate: 1576)
Exit code for POWERPNT.EXE: 259
Process: 259, was successful terminated.
======================================
We apologize for any inconvenience this may have caused to you, just for checking, please open this PPTX file in MS PowerPoint application, save it to a PDF file by manual, can you work fine by this method?

Also, what version of MS PowerPoint application installed in your system? Is it MS PowerPoint 2010 or MS PowerPoint 2007+PDF&XPS SaveAs addon?

VeryDOC
======================================
Yes, we can save as pdf manually from within Powerpoint. And it's Powerpoint 2010.
=================================
Can you please email to me the sample PPTX file that you are using? After I received your PPTX file, I will test it in my system asap.

VeryDOC
=================================
Of course. Attached.
=================================
I have tried to convert your PPTX document in my system just now, I can convert it to PDF file without any problem, please look at following log message and attached PDF file,
~~~~~~~~~~~~~~~~~~~~
C:\>doc2any.exe -debug D:\temp\ewrerwerweqr.pptx
D:\temp\ewrerwerweqr.pptx.pdf Check license information...
You have 96 time to evaluate this product, you may purchase a full version from http://www.verypdf.com.
Check utility functions...
Start the conversion...
D:\temp\ewrerwerweqr.pptx ==>   D:\temp\ewrerwerweqr.pptx.pdf
Convert PowerPoint document to other formats...
Loading "D:\temp\ewrerwerweqr.pptx" file...[20%] Export file(s)...
[50%] Shutdown PowerPoint Application...[60%]
Try convert document continue (1)...
Try convert document continue (2)...
Conversion time = 4368ms
D:\temp\ewrerwerweqr.pptx ==> D:\temp\ewrerwerweqr.pptx.pdf,
result=OK TickCount = 5008ms(5.01s), Result = 1
~~~~~~~~~~~~~~~~~~~~

I'm using MS PowerPoint 2010 application.

Also, is it possible for you to reinstall MS PowerPoint 2010 to try again? I don't know if something is wrong in your MS PowerPoint 2010, it is great if you can reinstall MS PowerPoint 2010 to try again.

VeryDOC
=================================
We have seen this now with multiple customers. On the server in our lab it converts too, but not reliably.

You didn't run the exact same command we did:

doc2any.exe -$ XXXXXXXXXXXXX -debug -killoffice 1 -noretry -nortfsdk -log "c:\temp\eopconvertdebug.log" -openpwd "q" -ownerpwd "q" -keylen 0 -encryption 3900 "c:\temp\test.pptx" "c:\temp\test.pdf"

Notice how we have -killoffice 1 in there to make sure that Office processes don't build up.

Please try again.
=================================
Did you convert more PPTX documents to PDF files at one time? MS PowerPoint application doesn't support concurrent conversion, so you can only convert more PPTX document to PDF file at one time, please notice this matter.

Also, just for checking, can you convert your PPTX file to PDF file correctly by "-useprinter" parameter?

doc2any.exe -$ XXXXXXXXXXXXXXX -useprinter -debug -killoffice 1 -noretry -nortfsdk -log "c:\temp\eopconvertdebug.log" -openpwd "q" -ownerpwd "q" -keylen 0 -encryption 3900 "c:\temp\test.pptx" "c:\temp\test.pdf"

If you still have same problem, please share your system by teamviewer, I will login your system to research this problem asap.

VeryPDF
=================================
Using -useprinter does not produce good looking output, so not an option. There is only 1 process running at a time.

I will ask if we can go on remote. Will be difficult to arrange, as we sell our software to distributor, who sells to reseller, who sells to customer, so we're not talking with customer directly.
=================================
Thanks for your message, I understand your concern.

Also, I guess -useprinter parameter doesn't work at all, because -useprinter parameter need to load the PPT and PPTX documents too, from the log message, it is indicate MS PowerPoint OLE program interface can not open the PPT and PPTX documents at all, so I think -useprinter parameter will fail to open the PPT and PPTX files too.

MS Office 2010 does add a "File Block" function, I don't know if this setting block you to open the PPT and PPTX documents, you may view or modify File Block settings in the Trust Center, please refer to following web page for more information,

http://office.microsoft.com/en-us/powerpoint-help/what-is-file-block-HA010355927.aspx

VeryDOC

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: -1 (from 1 vote)
pdf to vector converter

pdf2vec.exe application error, the application failed to initialize properly (0xc0000005)

When I try the command of pdf2vec.exe, I get the following error:

PDF2Vec.exe – application error, the application failed to initialize properly (0xc0000005). Click on OK to terminate the application.
clip_image001

======================================

Please turn off DEP for "pdf2vec.exe" application to try again, please refer to following steps about how to turn off DEP in your system,

1. Click "Start"
2. Select "Control Panel"
3. Select "System"
4. Click the "Advanced" tab
5. In the "Performance" region select "Settings"
6. Click the "Data Execute" tab in the dialog box that opens
7. Select "Turn on DEP for all programs and services except for those I select"
8. Click "Add"
9. The open dialog box will open. Browse and select "pdf2vec.exe" application in your computer,
10. Click "Open"
11. Click "Apply"
12. Click "Ok"
13. Reboot

OK, you can run "pdf2vec.exe" without any problem now, please to try.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)