docprint pro

Support docPrint Pro Command Line

I have a question, I download your application, and i saw that you can use a command line aplication to generate a pdf from a doc. But I can't generate it with the following permissions:

-s permission=4 : Deny printing
-s permission=8 : Deny modification of contents
-s permission=16 : Deny copying of contents
-s permission=32 : No commenting

This is the current command that I′m throwing to the aplication:

doc2pdf.exe -s permission=0 -s keylen=2 -s permission=4 -s permission=16 -i "C:\HelloWorld.doc" -o "C:\Test21.pdf"

When I open the generated pdf the only permission that could be applicated is the "Deny copying of contents", I want to know if this application can support the combination of this permissions, because if I used the "docPrint Document Converter" application it work′s fine.
===========================================
You can add these permissions together, for example, you can run following command line to try again,

doc2pdf.exe -s permission=20 -s keylen=2 -s ownerpwd=456 -i "C:\HelloWorld.doc" -o "C:\Test21.pdf"

VeryPDF
===========================================
Thanks for your reply.

But when I want to "deny printing" and "deny copying of contents" it doesnt work.

This is the command im using:

doc2pdf.exe -s permission=20 -s keylen=2 -s permission=4 -s permission=16 -i "C:\Hola mundo.doc" -o "C:\prueba21.pdf"
============================================
You can only use one "-s permission" parameter in one command line, for example,

doc2pdf.exe -s permission=20 -s keylen=2 -i "C:\Hola mundo.doc" -o "C:\prueba21.pdf"

if you use several "-s permission" parameters in one command line, the only last "-s permission" parameter will take effect, please notice this matter.

VeryPDF
============================================
Thank you for your reply.

Is there another way of doing it with your application.

Can I buy the source code so i can put multiple "-s permission".
============================================
Thank you.
 
What i want is the following combinations.
 
1. Combination 1
1. -s permission=4: Deny Printing
2. -s permission=8: Deny Modificación of contents
2. Combination 2
1. -s permission=16: Deny Copying of Contents
2. -s permission=32: No commenting

Best Regards,
=============================================
Thanks for your message, you can simple add these values together, for example,

>>1. Combination 1
>>1. -s permission=4: Deny Printing
>>2. -s permission=8: Deny Modificación of contents

You can use -s permission= 12 to finish above functions, for example,

doc2pdf.exe -s permission=12 -s keylen=2 -i "C:\Hola mundo.doc" -o "C:\prueba21.pdf"

>>2. Combination 2
>>1. -s permission=16: Deny Copying of Contents
>>2. -s permission=32: No commenting

You can use -s permission= 48 to finish above functions, for example,

doc2pdf.exe -s permission=48 -s keylen=2 -i "C:\Hola mundo.doc" -o "C:\prueba21.pdf"

Can you work fine with above command lines?

VeryPDF
======================================================
Is there a more complete documentation in case i need to make other combinations, because in the documentation that comes with the installer it doesnt references the permission you mention.
=======================================================
For the permssion options, please refer to following parameters,

-s openpwd=XXX      : set 'open password' to PDF file
-s ownerpwd=XXX     : set 'owner password' to PDF file
-s keylen=XXX       : key length (40 or 128 bit)
   -s keylen=0 :  40 bit RC4 encryption (Acrobat 3 or higher)
   -s keylen=1 : 128 bit RC4 encryption (Acrobat 5 or higher)
   -s keylen=2 : 128 bit RC4 encryption (Acrobat 6 or higher)
-s permission=XXX   : set permission to PDF file
   -s permission=0    : Encrypt the file only
   -s permission=3900 : Deny anything
   -s permission=4    : Deny printing
   -s permission=8    : Deny modification of contents
   -s permission=16   : Deny copying of contents
   -s permission=32   : No commenting
   ===128 bit encryption only -> ignored if 40 bit encryption is used
   -s permission=256  : Deny FillInFormFields
   -s permission=512  : Deny ExtractObj
   -s permission=1024 : Deny Assemble
   -s permission=2048 : Disable high res. printing
   -s permission=4096 : Do not encrypt metadata
   ===Other utility options===

You can add necessary permission together to reach your requirement, you can also run following command line in CMD window to get detailed information,

"C:\Program Files\docPrint Pro v5.0\doc2pdf.exe"

If you need any information from us, please feel free to let us know, we will assist you continue.

VeryPDF

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 image converter

Visual Studio 2010 project using pdf2image sdk

Hi,
I'm trying to develop a little application, using visual studio express
2010, that tries to use your pdf2image sdk we bought some years ago.
It compiles well, but when I try to run it , there seems to be some
problems when I call the function PDFToImageDrawToHDC(). I do something
like that:

HBITMAP hBitmap;

hBitmap = PDFToImageDrawToHDC((const char *)"inputfile.pdf", 0, NULL,
NULL, 600, 600, 8, FALSE, 1);

Then, when I try to use the handle hBitmap with other functions (third
party library), it seems to be corrupted.
I used to compile the same code with visual studio 2008 and worked fine.
Is it possible or am I doing anything wrong (probably...)?  The main
difference is that now I have to compile my projects with at least the
target .NET framework 3.5 (visual studio 2010), instead of 2.0 (visual
studio 2008)
Any advice?
Thank you in advance.
Regards,
=========================================

Please compile your project with x86 mode instead of AnyCPU to try again, we hoping x86 compile mode will work fine to you.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
advanced pdf tools

Advanced PDF Tools COM 64bit version

You created a custom PDF 32 bit COM object for us in the past.  Do you have an plans for 64 bit? 
==============================
Yes, we have 64bit version for most of our Advanced PDF Tools COM product, you can download 64bit version of Advanced PDF Tools COM from following URL,

XXXXXXXXXXXXXXXXXXXXXXXX

after you unzip it to a folder, please run a CMD window by administrator, run installx64.bat, you will register both PDFSDKCOMExe.exe and pdfsdkcom.dll correctly, then you can run win64_test_***.vbs file to test the 64bit COM interface, for example,

~~~~~~~~~~~~~~~~~
     Set oPDF = CreateObject("PDFSDKCOMExe.pdftools")
     oPDF.OpenPDFFile "C:\test.pdf"
     If oPDF.IsOpened = False Then
        MsgBox "Open PDF file failed."
     Else
        MsgBox "Open PDF file successful."
     End If
     oPDF.Save "C:\test-our.pdf"
     MsgBox "Save PDF file successful."
~~~~~~~~~~~~~~~~~

VeryPDF
=====================================================
pdfsdkcom.dll is not a 64 bit COM .dll - are you sure you dropped the correct .dll in the .zip file?
=====================================================
Yes, pdfsdkcom.dll is a 32bit DLL, you need call PDFSDKCOMExe.exe from your code, PDFSDKCOMExe.exe is the 64bit COM interface, you can call it by following sample code,

~~~~~~~~~~~~~~~~
     Set oPDF = CreateObject("PDFSDKCOMExe.pdftools")
     oPDF.OpenPDFFile "C:\test.pdf"
     If oPDF.IsOpened = False Then
        MsgBox "Open PDF file failed."
     Else
        MsgBox "Open PDF file successful."
     End If
     oPDF.Save "C:\test-out.pdf"
     MsgBox "Save PDF file successful."
~~~~~~~~~~~~~~~~

Also, we have created the new 64bit version of Advanced PDF Tools COM to you, please download it from following URL,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

the new version does contain CheckPDFA() function, you can call it to check if a PDF file contains PDF/A or not.

VeryPDF
===========================================================

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 image converter

PDF to Image Converter SDK – 64-bit version

We bought a server license for one of our clients of your PDF to Image Converter SDK product…I can get you the purchase order number details (I don’t have access to that right now), but I just wanted to ask: is there a 64-bit compatible build of the SDK available?

We have a c#.net windows service that calls your SDK programmatically to convert PDFs to TIFFs.  Our windows service executable used to be built specifically with the x86-CPU setting (a 32-bit app), but recently we built our windows service executable with the AnyCPU build setting, so that on a 64-bit system, it will run as a 64-bit app.  However, now calling the VeryPDF SDK functions fails with the following error on initial registration of the license key:

System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
   at FIT.IPS.Business.VeryPdfImageConverter.PDFToImageSetCode(String lpRegcode)

I truly hope you have a 64-bit compatible build, since most new servers coming up are Windows Server 2008 64-bit and this will be a constant problem.  We have to build our windows service with the AnyCPU setting because otherwise, on a 64-bit system, it is not able to access other components which are only 64-bit on that machine, like the Microsoft Office IFilters etc.
=========================================
Are you saying the PDF to Image COM server that comes up on the link you posted is 64-bit or 64-bit compatible?  We need this to continue working as a dll that we can load and call methods from in our c# windows service.  Is this COM server the same type of thing as the SDK dll version?  Do you have some examples of its usage?
=========================================

pdf2image.dll is the 32bit DLL Library, you can call it from 32bit application,
PDF2ImageCOM.exe is a COM interface, you can call it from both 32bit and 64bit applications,

So, if you wish call PDF2Image SDK from your 64bit code, you need use PDF2ImageCOM.exe but not pdf2image.dll, you can call PDF2ImageCOM.exe by below example code,

~~~~~~~~~~~~~~~
    Dim oTest, nPageCount, nPageWidth, nPageHeight
    Set oTest = CreateObject("PDF2Image.CPDF2Image")
      
    m_strInputFileName = "C:\test.pdf"
   
    oTest.asp_PDFToImageSetCode("XXXXXXXXXXXXXXXXXXXXXX")
    nPageCount = oTest.asp_PDFToImageGetPageCount(m_strInputFileName)
    nPageWidth = oTest.asp_PDFToImageGetPageWidth(m_strInputFileName, 1)
    nPageHeight = oTest.asp_PDFToImageGetPageHeight(m_strInputFileName, 1)
   
    'Converter PDF file to TIFF file by DPI information
    oTest.asp_PDFToImageConverter m_strInputFileName, "C:\example1_tiffpack.tiff", "", "", 300, 300, 24, 32773, 70, 0, 1, -1, -1
    oTest.asp_PDFToImageConverter m_strInputFileName, "C:\example1.emf", "", "", 300, 300, 24, 32773, 70, 0, 1, -1, -1
   
    'Converter PDF file to TIFF file by page size information
    oTest.asp_PDFToImageConverterEx m_strInputFileName, "C:\example1_tiffpack_page_size.tiff", "", "", 1,  nPageWidth, nPageHeight, 24, 32773, 70, 0, 1, -1, -1

    MsgBox "Convert Success!"
~~~~~~~~~~~~~~~

The upgrade URL that I sent to you in the last email is the latest version of PDF2Image SDK product, it is contain the PDF2ImageCOM.exe COM component, so you can call PDF2ImageCOM.exe from your 64bit code properly.

VeryPDF

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

Questions of PDF to EMF Converter

Hi, I got a question
From PDF to Vectoer Converter
1) Image -> PDF -> EMF of the conversion process 201KB -> 207KB -> 2398KB Why the increase?

2) Vector -> PDF -> EMF conversions of
The size of the increment is not large

1) If the reason for an increase in the size of the EMF and
1) reduce the size of the EMF need a way to
 
Thank you for reading
==============================
This is normal, because EMF file is uncompressed format, so it will store image data at uncompressed format, the file size will become large.

Yes, vector information doesn't increase file size a lot.

We are no way to compress image data in EMF file, because EMF format doesn't support image compression, this is the limitation of EMF format, please understand.

VeryPDF

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