I have a full license Amyuni PDF Converter 2.50f.
My application is able to create PDF file through Converter, but my app users tell me that when they open the PDF file in Adobe Reader and try to print a hard copy, the print menu item is disabled.
How do I correct this problem?
Adobe Reader Cannot print the PDF generated by Converter
Hello,
The file generator is the application or user that is generating the PDF file.
If you are sure that the PDF file is not encrypted i don't see why the Print menu will be disabled.
Your users are opening the files in Acrobat Reader, right?
I suggest that you send a file to support@amyuni.com to check it and see how it will open.
Thanks.
The file generator is the application or user that is generating the PDF file.
If you are sure that the PDF file is not encrypted i don't see why the Print menu will be disabled.
Your users are opening the files in Acrobat Reader, right?
I suggest that you send a file to support@amyuni.com to check it and see how it will open.
Thanks.
Joan,
Sorry, I cannot send the document to you guys because of the nondisclosure agreement we've signed for clients' information privacy.
My application is using the PDF Converter which is the PDF printer to generate the PDF file. I did open the file PDF file in Acrobat Reader and checked under Document Properties->Security, it says the following:
-------Document Security---------
The document's security Method is used to restrict what can be done to the document.
Security Method: Password Security
Can be opend by: Acrobat 5.0 or later
-------Document Restriction Summary--------
Printing: not allowed
Document Assembley: not allowed
Content Copying or Extraction: not allowed
Content extraction for Accessibility: not allowed
Commenting: not allowed
Filling of form fields: not allowed
Signing: not allowed
Creation of Template Pages: not allowed
Submitting Forms: not allowed
I wrote the entire app that prints the PDF. So I know for sure that I am not encrpyting it in my code.
I checked the printer settings on the client machine using CDINTFEX ActiveX control using Visual Foxpro code:
I was able to get the following values for that particular printer:
Is it possible that there is a defalut setting on the printer that needs to be altered? Please help!!!
Sorry, I cannot send the document to you guys because of the nondisclosure agreement we've signed for clients' information privacy.
My application is using the PDF Converter which is the PDF printer to generate the PDF file. I did open the file PDF file in Acrobat Reader and checked under Document Properties->Security, it says the following:
-------Document Security---------
The document's security Method is used to restrict what can be done to the document.
Security Method: Password Security
Can be opend by: Acrobat 5.0 or later
-------Document Restriction Summary--------
Printing: not allowed
Document Assembley: not allowed
Content Copying or Extraction: not allowed
Content extraction for Accessibility: not allowed
Commenting: not allowed
Filling of form fields: not allowed
Signing: not allowed
Creation of Template Pages: not allowed
Submitting Forms: not allowed
I wrote the entire app that prints the PDF. So I know for sure that I am not encrpyting it in my code.
I checked the printer settings on the client machine using CDINTFEX ActiveX control using Visual Foxpro code:
Code: Select all
o = createobject("cdintfex.cdintfex")
o.DriverInit("printer name")
o.EnablePrinter("company name","activation key")
Code: Select all
o.Encryption returns 0
o.FileNameOptions returns 3
o.FileNameOptionsEx returns -1073479677
Joan,
I created a test PDF file and emailed to the support@amyuni.com address.
Thanks again, it is urgent!!!
I created a test PDF file and emailed to the support@amyuni.com address.
Thanks again, it is urgent!!!
Hello,
I checked the code you posted here.
I noticed that you are calling FileNameOptions and then FileNameOptionsEx.
Please note that you don't need to call these two functions, you can comment FileNameOptions and keep the call to FileNameOptionsEx only.
I don't know what does the value -1073479677 stand for but you should call:
o.FileNameOptionsEx = NoPrompt(1) + UseFileName(2) + any other feature you like to add.
Please note that the values added to FileNameOptions sould be all in Decimal value or Hexadecimal.
Hope this helps.
I checked the code you posted here.
I noticed that you are calling FileNameOptions and then FileNameOptionsEx.
Please note that you don't need to call these two functions, you can comment FileNameOptions and keep the call to FileNameOptionsEx only.
I don't know what does the value -1073479677 stand for but you should call:
o.FileNameOptionsEx = NoPrompt(1) + UseFileName(2) + any other feature you like to add.
Please note that the values added to FileNameOptions sould be all in Decimal value or Hexadecimal.
Hope this helps.
Problem solved!
Joan,
Thank you so much for you patient help!
I stated in my email to you the cause of my problem but I want people who read this thread to know as well.
Joan made the suggestion the clear the option through the registry. Instead of clearing it, I actually took the value and did bet test against the EncryptDocument128, sure enough it was set. Because I know very clearly that I am not setting that bit, the only explation is that I have a errornious constant that is setting that bit. So I examined the constants.
I had incorrect bit set in the option CCITTCompression which happen to be the bit flag for EncryptDocument128. So the docuemnt generated was encryted naturally.
For those who are curiously, the following is the registry hive:
HKEY_CURRENT_CONFIG\Software\your printer name\Options
You'll see other settings as well.
Dawa
Joan,
Thank you so much for you patient help!
I stated in my email to you the cause of my problem but I want people who read this thread to know as well.
Joan made the suggestion the clear the option through the registry. Instead of clearing it, I actually took the value and did bet test against the EncryptDocument128, sure enough it was set. Because I know very clearly that I am not setting that bit, the only explation is that I have a errornious constant that is setting that bit. So I examined the constants.
I had incorrect bit set in the option CCITTCompression which happen to be the bit flag for EncryptDocument128. So the docuemnt generated was encryted naturally.
For those who are curiously, the following is the registry hive:
HKEY_CURRENT_CONFIG\Software\your printer name\Options
You'll see other settings as well.
Dawa