How to call PDFPrint SDK from 64bit application and print PDF files on 64bit system?

I am attempting to test your pdfprint_sdk in an asp.net (vb) application. However, I am not able to add the dll as a reference. What am I doing wrong?

Customer
------------------------------------------------------------

pdfprintsdk.dll is a Win32 DLL Library, it is not a COM component, so you can't add the reference to pdfprintsdk.dll file.

However, you can add the reference to pdfprintcom.exe file, pdfprintcom.exe is a COM interface to pdfprintsdk.dll library.

Please refer to following web pages for more information,

http://www.verypdf.com/wordpress/201306/how-to-call-pdfprintcom-exe-com-from-64bit-c-source-code-to-print-pdf-file-37200.html
http://www.verypdf.com/wordpress/201306/how-to-call-pdfprintsdk-dll-from-64bit-exe-application-37172.html
http://www.verypdf.com/wordpress/201301/how-to-call-pdfprint-sdk-from-windows-64bit-x64-system-34115.html

VeryPDF
------------------------------------------------------------
hello,
Thank you for the quick response!

I really like the SDK, but I cannot get it to run on 64 bit machine.

All is good on my test machine (winxp32) However,

When I run the 64bit install script on my server (winserver2008-r2 (64 bit) I get an "unexpected error"

I even tried regsvr32 and get failure"

when I run application on my server (winserver2008-r2 (64 bit) I get the following message:

ERROR: Cannot create ActiveX component.

I also get the same results on my test server (win7 64bit)

I am serving an asp.net web application that needs to print (server side) PDF files to specific printers that are on the server network.

I have ASP configured to allow 32 bit applications. If we can get this SDK functioning, I will purchase immediately.

Thank you.
Customer
------------------------------------------------------------
You can call pdfprintcom.exe COM from 64bit C# code to print the PDF files.

You can launch a CMD window with administrator privilege, run following command line in this CMD window to register pdfprintcom.exe into your system,

pdfprintcom.exe /regserver

after you registered pdfprintcom.exe, you can call it from your C# code to print PDF files easily,

This is the sample C# source code,

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Windows.Forms;

using pdfprintcom;

 

namespace WindowsFormsApplication1

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }

 

        private void button1_Click(object sender, EventArgs e)

        {

            pdfprintcom.pdfprint pdfPrintObj = new pdfprintcom.pdfprint();

            pdfPrintObj.com_PDFPrint("pdfprint -printer \"docPrint\" D:\\temp\\5.pdf");

        }

    }

}

Please refer to following web pages for more information,

http://www.verypdf.com/wordpress/201306/how-to-call-pdfprintcom-exe-com-from-64bit-c-source-code-to-print-pdf-file-37200.html
http://www.verypdf.com/wordpress/201306/how-to-call-pdfprintsdk-dll-from-64bit-exe-application-37172.html
http://www.verypdf.com/wordpress/201301/how-to-call-pdfprint-sdk-from-windows-64bit-x64-system-34115.html

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)

Related Posts

This entry was posted in PDF Print and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!