Hello,
i´ve the problem that i can not convert pdfs into a pdf. I use the COM interface of the PDFCreator. The function "isprintable" gives me a false if i try to convert/print a pdf file. Not only my project, also the sample projects have the same issue.
I´ve installed Adobe Acrobat Reader. I tried it with 3 different Versions: 8.1, 9.3 and 10.1.4.
PDFCreator Version 1.4.3.
How does the function "isprintable" works? Could it be a registry problem?
Please help.
Hi,
most likely: yes. It seems this is a bug since it can be reproduced, but I can´t tell for sure untill a dev takes a look at it.
regards,
Robin
Hi,
sorry your post got hold up by the spam filter,
thank you very much for reporting this.
regards,
Robin
Hi,
my first guess would be that the PDFs you are trying to convert are pw protected or have signatures?
regards,
Robin
Hi Robin,
thx for the awnser. The PDF Files are not signatured or password protected.
A simple txt file with 2 strings converted in a pdf file with the pdfcreator. But when i try to print this generated pdf into a new one the method "isprintable" says false. It seems like the PDFCreator can not print PDF files with Adobe?
When i install Foxit Reader everything works fine.
Hi Robin,
thanks for reply.
The PDF files aren´t pw protected or singatured.
The Converting / printing over the PDF Creator print monitor works fine. It is only the com interface which says that the pdf file is not prinable (IsPrintAble function).
Hope you can help me.
Hello Robin,
thx for your reply. No, the PDF files aren´t protected or signatured.
I found the reason why the printing with Adobe Reader doesn´t work. In my opinion it is a bug of PDFCreator.
The function "IsPrintable" is looking in the registry after a Shell print command. Adobe Reader sets the default value of the key "HKEY_CLASSES_ROOT\\.pdf" to "Acroexch.Document". In the key "HKEY_CLASSES_ROOT\\Acroexch.Document" is no Shell print command, thats the reason why PDFCreator says the document is not printable. But in the key "HKEY_CLASSES_ROOT\\Acroexch.Document\\CurVer" is the default value "AcroExch.Document.7" which links the key "HKEY_CLASSES_ROOT\\Acroexch.Document.7". There is the default shell print command.
The function "IsPrintable" has to be changed. It must have a look at the "CurVer" key to find the right shell print command.
A workaround for those how need the functionality now is to copy the shell print command from "HKEY_CLASSES_ROOT\\Acroexch.Document.7" and add it to the key "HKEY_CLASSES_ROOT\\Acroexch.Document".
Greetz
Hi Robin,
oh thats the reason ;-)
Will this issue be fixed in the next version? If you need help do not hesitate to ask.
Greetz