PDF Stamp SDK: What to install PDF Stamp SDK into our system?

Hi,

My company, CA Technologies, recently purchased a license for PDF Stamp SDK which I had previously downloaded and tested in a classic .asp application on a test Win 2012/64 bit server running IIS 8.5/64 bit.

Following the order we received an email from SWREG but I am not clear about what I need to download and install.

There is firstly a link to http://www.verypdf.com/pdfstamp/pdfstamp_sdk.zip which has many folders and files and seems to be the same as the version that I downloaded for trial/testing.

The SWREG email seems to say that after installing the files from the first link and running install.vbs one just needs to specify the license key when calling the pdfstamp functions from within a asp. web page.

But then the email mentions Download PDF Stamp COM Server License which has far fewer folder files but much overlap compared to the folders/files in the above link.

So, what is the second link for? Do I just install the first set of files, just the second set or both? If both then in which folder as they each unzip to different folders.

Please unconfused me.

Regards,
Customer
-------------------------------------------
We apologize for any inconvenience this may have caused to you.

PDFStamp SDK contains two COM interfaces, one is PDFStampOcx.dll file, another is PDFStampCom.exe file.

PDFStampOcx.dll is a COM interface which based on PdfStamp.dll library, it can only be called from 32bit applications.

PDFStampCom.exe is also a COM interface which based on PdfStamp.dll too, it can be called from both 32bit and 64bit applications.

You can run following command lines with administrator privilege to register them into your system,

regsvr32 PDFStampOcx.dll

PDFStampCom.exe /regserver

If you wish to call PDFStampOcx.dll from a 32bit application, you can use following sample code,
--------------------------
Set oTest = CreateObject("PDFStampOCX.CPDFStamp")
id=oTest.veryOpenEx("D:\verypdf.pdf", "D:\out.pdf")
if id>0 then
oTest.veryAddTextEx id, 2, "This is a test.", 2666666,17, 0, 200, 0, 0, 0, 0, 0, 32, 0, 0, 0
oTest.veryCloseEx id
end if
--------------------------

If you wish to call PDFStampCom.exe from both 32bit and 64bit applications, you can use following sample code,
--------------------------
Set pdfstamp = CreateObject("PDFStampCOM.CPDFStamp")
pdfstamp.veryRegEx "XXXXXXXXXXXXXX"
id = pdfstamp.veryOpenEx("D:\verypdf.pdf", "D:\out.pdf")
If (id <= 0) Then
WScript.Quit
End If

nRet = pdfstamp.veryAddTextEx(id, 2, "VeryPDF", 255, 0, 0, 0, 0, 0, 0, 300, 0, 10, 1, "http://www.verypdf.com", 0)
pdfstamp.veryCloseEx (id)
--------------------------

As you see, PDFStampOcx.dll is "PDFStampOCX.CPDFStamp" and PDFStampCom.exe is "PDFStampCOM.CPDFStamp", you can call the different version of PDFStamp COM interface from your applications easily.

the test.asp file is using following code,

Set oTest = Server.CreateObject("PDFStampOCX.CPDFStamp")

so, you need run "regsvr32 PDFStampOcx.dll" to register PDFStampOcx.dll into your system first, then you can run test.asp code to stamp PDF files easily.

Please notice, in order to get both PDFStampOcx.dll and PDFStampCom.exe files to work fine, you need keep following files into same folder, because PDFStampOcx.dll and PDFStampCom.exe will load the necessary DLL files from same folder,

cimage.dll
imgconv.dll
Interop.PDFStampCom.dll
pdflayerdll.dll
pdfsdk.dll
PdfStamp.dll
PDFStampOcx.dll
pdftoolsdk.dll
PDFStampCom.exe

If you still can't get it work, please feel free to let us know, we will assist you asap,

http://support.verypdf.com

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)
Posted in PDF Stamp | Tagged , | Leave a comment

We’re looking for a way to convert PCL files to GDI and send them to a specified printer (via command line)

Our software product produces PCL files. We're looking for a way to convert them to GDI and send them to a specified printer (via command line). I've looked through your products, but have gotten confused. Do you have anything that does this?

Thanks,
Customer
------------------------------------------
Yes, we have PCL to GDI Converter software, you can by following steps to convert from PCL to GDI,

1. You can use PCL to PDF Converter to convert from PCL file PDF file first,

VeryPDF PCL Converter GUI,
http://www.verypdf.com/app/pcl-converter/try-and-buy.html
http://www.verypdf.com/order_pcl2pdf_end.html
http://www.verypdf.com/pcltools/pcl-converter.exe

You can run following command line to convert PCL file to PDF file,

pcltool.exe D:\test.pcl D:\out.pdf

2. You can convert from PDF file to EMF file or Print the PDF file to Windows printer directly,

You can use PDF2Vector to convert from PDF file to EMF file,

http://www.verydoc.com/pdf-to-vector.html
http://www.verydoc.com/pdf2vec_cmd.zip
http://www.verydoc.com/order_pdf2vec_server.htm

You can run following command line to convert from PDF file to EMF file,

pdf2vec.exe D:\test.pdf D:\out.emf

You can use PDFPrint Command Line to print the PDF file to Windows Printer,

http://www.verypdf.com/app/pdf-print-cmd/try-and-buy.html#buy
http://www.verypdf.com/pdfprint/pdfprint_cmd.zip

You can run following command line to print the PDF file,

pdfprint.exe D:\test.pdf

These products are all Command Line products for Windows system, you can call these command lines from your script to do the batch conversion easily.

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)
Posted in PCL Converter, PDF Print | Tagged , , , | Leave a comment

Develop C# Console Application using VeryPDF PDFPrint Command Line

Dear VeryPDF Support,

I would like to know is it possible to create C# Console Application using VeryPDF PDF Command?

Thank You!

Regards,
Customer
---------------------------------------

image
Yes, of course, you can create C# Console Application using VeryPDF PDFPrint Command Line application, you can download PDFPrint Command Line from this web page,

http://www.verypdf.com/app/pdf-print-cmd/try-and-buy.html#buy
http://www.verypdf.com/pdfprint/pdfprint_cmd.zip

after you download it, you can call pdfprint.exe by following sample C# source code,

using System.Diagnostics;

class Program
{
    static void Main()
    {
        LaunchCommandLineApp();
    }

    /// <summary>
    /// Launch the legacy application with some options set.
    /// </summary>
    static void LaunchCommandLineApp()
    {
        // For the example
        const string ex1 = "C:\\";
        const string ex2 = "C:\\Dir";

        // Use ProcessStartInfo class
        ProcessStartInfo startInfo = new ProcessStartInfo();
        startInfo.CreateNoWindow = false;
        startInfo.UseShellExecute = false;
        startInfo.FileName = "D:\\VeryPDF\\pdfprint.exe";
        startInfo.WindowStyle = ProcessWindowStyle.Hidden;
        startInfo.Arguments = "-printer docPrint D:\\test.pdf";

        try
        {
            // Start the process with the info we specified.
            // Call WaitForExit and then the using statement will close.
            using (Process exeProcess = Process.Start(startInfo))
            {
                exeProcess.WaitForExit();
            }
        }
        catch
        {
             // Log error.
        }
    }
}

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)
Posted in PDF Print | Tagged , | Leave a comment

ActiveX Error in application using VeryPDF.PCLtoPDFCom

I have integrated the SDK in a VB.net application to convert a .SPL file to .PDF and save that to a SQL database. This works fine in my Visual Studio IDE and as a compiled .EXE on my laptop but, it does not work on any other machine I attempt to run the .exe on. I receive an ActiveX error when trying to Declare the object reference to the PCLtoPDFCom object,

Dim VeryPDFCom As Object = CreateObject("VeryPDF.PCLtoPDFCom")

How can I register this on a workstation so that this does not stop the EXE from working? I cannot find any more information other than what was sent to us when we purchased the SDK. I need to speak with a technical resource to get this corrected ASAP. Please contact me to discuss.

Customer
-------------------------------------------
Thanks for your message, you can run a cmd window by administrator privilege, and run following command line to register PCLtoPDFCom.exe into your system,

PCLtoPDFCom.exe /regserver

after you register the PCLtoPDFCom.exe, you will able to CreateObject for "VeryPDF.PCLtoPDFCom" properly.

Here is the full example to call "VeryPDF.PCLtoPDFCom" from VB.NET source code,

Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
    Dim strFolderDir As String = Application.StartupPath()

    Dim VeryPDFCom As Object = CreateObject("VeryPDF.PCLtoPDFCom")
    Dim filesys As Object = CreateObject("Scripting.FileSystemObject")
    Dim strFolder As String = filesys.GetParentFolderName(strFolderDir)

    Dim strReturn As String = ""
    Dim nFileIndex As Integer = 0
    VeryPDFCom.EnableDebugLog(1)

    Dim strInFile As String = strFolder & "\test\test.pcl"
    Dim strOutFile As String = strFolder & "\bin\_test.pdf"
    Dim strCmd As String = "-$ XXXXXXXXXXXXXXXXXX """ & strInFile & """ """ & strOutFile & """"
    strReturn = strReturn & VeryPDFCom.PCLtoPDF(strCmd)
    nFileIndex = nFileIndex + 1

    MsgBox(strReturn)
End Sub

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)
Posted in PCL Converter | Tagged , | Leave a comment

Use PDFStitch to stitch more PDF pages into a single PDF page, stitch multiple PDF files together, stitch several PDF pages into one big canvas-like PDF

Using Windows 7 and pdfstich v2.1 dated 20130322 (is that the latest version?)

Using the command-line version, I run something like:

pdfstitch.exe -rt 0 -order H -scale 100 infile.pdf outfile.pdf

It comes back immediately with this error message:

Error input file format. Please try again.

But the input file is legitimate; I can view it in any old pdf viewer.

Help!
Customer
-------------------------------------

Hi folks
 
Time to time I have to merge PDF pages (pages 2-3 to one double sized page etc.). I have always done that by printing multiple pages per sheet... in my case 2 pages per sheet, but instead of printing, I have saved my work as PDF.
 
Now I have upgraded to MacOS X 10.6 and that doesn't work any more. If I try, I get warning "Saving a PDF file when printing is not supported, use File>Save instead".
 
My problem is that there is no option "Save multiple pages per sheet"... so there′s no use to save it.... Is there some workarounds? I really need this feature and I can′t believe it has been taken away....

Customer

-------------------------------------

Thanks for your message, you can use VeryPDF PDF Stitcher to stitch more PDF pages into one single PDF page, you may download and install VeryPDF PDF Stitcher from this web page,

http://www.verypdf.com/app/pdf-stitch/try-and-buy.html
http://www.verypdf.com/dl2.php/verypdf-pdf-stitch.exe

I have tried following command line just now, it works fine,

"C:\Program Files (x86)\VeryPDF PDF Stitch v2.1\pdfstitch.exe" -rt 0 -order H -scale 100 D:\downloads\VeryPDF.pdf D:\downloads\_out.pdf

you may use full path for both input and output filenames to try again, we hope the full path will work fine to you.

Please look at following screenshot for the stitched PDF file,

image

Here is the full command line options which supported by PDF Stitcher Command Line application,

C:\>"C:\Program Files (x86)\VeryPDF PDF Stitch v2.1\pdfstitch.exe"

=============================================================================
VeryPDF PDF Stitch
Copyright (C) 2005-2013 VeryPDF.com, Inc.
Web: http://www.verypdf.com/app/pdf-stitch/
Email: support@verypdf.com

VeryPDF PDF Stitch can help you stitch multiple PDF pages onto a sheet. You can specify how the pages are ordered, either in vertical columns or horizontally across the sheet.

Usage: pdfstitch [options] <input file> <output file>

Options:
-plan <string> <path>  : Use a plan file instead of other options. <string>
                         refers to the plan file type: "lua" or "legacy".
                         <path> refers to the path of the selected plan file.
                         Please do not use other options when used this
                         option.
-pr <int,int,...>      : Select the page range, e.g., 1,3,5-10. Or you can use
                         -even or -odd.
-even                  : Select only the even pages.
-odd                   : Select only the odd pages.
-rt <int>              : Rotate the input PDF pages. (0, 90, 180, or 270.
                         Default is 0.)
-per <int*int>         : Set pages per sheet, e.g., 2*4 refers to put 8 pages
                         per sheet: 2 pages a row and 4 pages a column.
-addline <int,int,int> : Add lines. <int,int,int> refer to the RGB values.
                         0<int<255.
-order <string>        : Specify the page order on each sheet.
        H              : Horizontal (default value)
        V              : Vertical
        HR             : Horizontal-reverse
        VR             : Vertical-reverse
-gx <int unit>         : Specify the width of each vertical gutter.
                         Unit is in, mm, or pt.
-gy <int unit>         : Specify the height of each horizontal gutter.
                         Unit is in, mm, or pt.
-t <int unit>          : Define the top margin for each output sheet.
                         Unit is in, mm, or pt.
-l <int unit>          : Define the left side margin for each output sheet.
                         Unit is in, mm, or pt.
-r <int unit>          : Define the right side margin for each output sheet.
                         Unit is in, mm, or pt.
-b <int unit>          : Define the bottom margin for each output sheet.
                         Unit is in, mm, or pt.
-size <string>         : Specify the sheet size. For instance, A3, A4, B3, and
                         letter. Cannot be used with -scale.
-scale <int>           : Enlarge or shrink sheets by an exact percentage,
                         e.g., -scale 100 is to retain the original size.
-$ <regcode>           : Register the application.

Examples:
pdfstitch -plan "lua" "test.plan" input.pdf _plan.pdf
pdfstitch -pr 1-5,6,9 input.pdf _pr.pdf
pdfstitch -even input.pdf _even.pdf
pdfstitch -odd input.pdf _odd.pdf
pdfstitch -rt 90 input.pdf _rt.pdf
pdfstitch -per 2*2 input.pdf _per.pdf
pdfstitch -addline 0 255 255 input.pdf _addline.pdf
pdfstitch -order V input.pdf _order.pdf
pdfstitch -gx 50 mm -gy 50 mm input.pdf _gxgy.pdf
pdfstitch -t 10 mm -b 10 mm -l 10 mm -r 10 mm input.pdf _tblr.pdf
pdfstitch -size A4 input.pdf _size.pdf
pdfstitch -scale 50 input.pdf _half.pdf

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)
Posted in PDF Stitcher | Tagged , , , , | Leave a comment
Page 1 of 1,38412345...102030...Last »