I am using pdf converter 2.10 in MS Access with VBA
I have checked the FAQs, tech docs and forums, but I can't figure out how to give my users the ability to copy text from a pdf doc I have created.
I have tried to use pdf.encrypt ... as suggested on some posts, but I get a 'method not supported' (or something like that), and 'encrypt' is not an intellisense option to my pdf object.
sample code:
Private pdf As New CDIntfEx.CDIntfEx
' initialize the PDF writer printer
pdf.PDFDriverInit strPDFPrinterName
pdf.EnablePrinter strPDFPrinterUserName, strPDFPrinterAuthorization
pdf.DefaultFileName = strPDFFilename
pdf.FileNameOptions = 3
If strReportParam = "" Then
DoCmd.OpenReport strReportName, acViewNormal
Else
DoCmd.OpenReport strReportName, acViewNormal, , strReportParam
End If
pdf.FileNameOptions = 0
bolSuccess = SecurePDF.Open(strPDFFilename)
If bolSuccess = False Then GoTo Err_SecurePDFReport
SecurePDF.SetLicenseKey strPDFPrinterUserName, strPDFPrinterAuthorization
SecurePDF.Encrypt "passwordhere", "", -60
bolSuccess = SecurePDF.Save(strPDFFileDirectory & strPDFFilename)
Thanks to anyone that can point me in the right direction.
Fred Parkinson
Allow viewers to copy text
Hello,
I didn't really get your requirements.
Do you need to encrypt the PDF file or you need the end user viewing the file to be able to copy text from it?
If the file is not encrypted your user by default will be able to copy text from it.
If you wish to Encrypt the PDF file please check that you have the Professioal version of the PDF Converter.
Hope this helps.
I didn't really get your requirements.
Do you need to encrypt the PDF file or you need the end user viewing the file to be able to copy text from it?
If the file is not encrypted your user by default will be able to copy text from it.
If you wish to Encrypt the PDF file please check that you have the Professioal version of the PDF Converter.
Hope this helps.