by PDFlib - Product Type: Component / .NET Class / Managed/Unmanaged Code - without COM / ActiveX DLL / DLL / JavaBean / Java Class
Hi,
I have an error when using PDFLiblite on chinese windows systems.
PDF Lib Exception: Couldn't find encoding "cp936" (1552, PDF_open_file)
This happens using either open, or begindocument.
The same code works on other localisations.
Thanks
Lee
Reply
Hello,
please, I need some support for a developing problem.
I have created a signature field in a pdf file with this method:
create_field(llx, lly, urx, ury, “Signature1”, “signature”, “tooltip={MySign field} font=15”);
Now I need to associate an image to the signature.
Is it possible to insert an image file on a signature field?
Thanks for help.
Sara
Reply
My ISP has just upgraded their server to PHP 5. I now get the following error when attempt to use PDFLib (version 7):
Unable to initialize module Module compiled with module API=20020429, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=1 These options need to match in /home/mycmecre/public_html/AAGP/GPSAP01/printLC.php on line 80
Since I cannot recomile either PDFLib or PHP, how do I get this to work now? I can find no way to disable thread-safety via php.ini.
Help! My clients depend on the ability to use PDFLib on their sites!
Thanks,
June
Reply
RE: PDFlib june [USA] 25-Feb-2009 19:35:53
Found the answer - need to use the 'php-520mt' version.
Reply
I have added the UTF8 format to the pdf option using following code
// Add "textformat=utf8" to the options
CString sPDFLibOptionsWithTextLen;
sPDFLibOptionsWithTextLen.Format("%s textformat=utf8",
sPDFLibOptions);
int retval = 0;
PDFCPP_TRY
retval = m_PDFlib_api->PDF_create_textflow(p, CHAR(text), LEN
(text),
CHAR(optlist));
PDFCPP_CATCH;
Here I'm passing the string which has UTF16 control charecters and
because of this PDF_create_textflow is throwing exceptions#2230.
The exception is
---------------------------------------------------------------------
Exception occured in PDFLib: 2230, create_textflow, Can't show
character with Unicode value U+0081
---------------------------------------------------------------------
The character in between 'f' and 'r' [looks like a box] here fr
And I dont want to suppress the exception message.
Can someone will help me how to handle these kinds of exceptions?
or how to check whether the string contains UTF16 charecters?
awaiting your reply...
Reply
Hi all,
Is anybody know how to reduce PDF file size created using PDFlib/PHP
Reply
I am using Perl and PDFLib to insert a 2-d datamatrix in a PDF.
While using ' IDAutomationDMatrix ' font in " PDF_load_font " function what is the value for the encoding? ( second parameter )
Reply
I get this error message from this line of code when i run my application
p = new PDFlib();
error message -
Attempted to access an unloaded AppDomain
What am I doing wrong?
Reply
Publisher
Primary Category
Related Products
Related Categories