New Forum | Previous | Next | (P-PDF) Developers
Topic: (P-PDF) Developers
Conf: (P-PDF) Developers, Msg: 119391
Date: 9/29/2004 09:06 PM
Please, in my java program I generated pdf file on the fly and it reseived ColdFusion .cfm file, using getMessage function in java program. XmlToPdf class registration as customTag
On display created frame of pdf with empty lists (5), and on the frame "opening" write message --
"... and Mozilla does not know how to handle this file type". This file save also in my java program on my folder on the disk for control and it is normal pdf file. Created PDF file on the fly is wrong.When I generated pdf as ByteArray in java program, in .cfm I reseived error " can not transformed ByteArray to String (I use function ToBase64() in ColdFusion --- , where getMess() get ByteArray.
I compare wrong(fly) and rigth pdf(disk) and its different on second line 11 columns . I using UTF-8 or ISO-8859-1 charset, but not help. In java program is right, but when .cfm received generated pdf string , it consist wrong bit.
%БЦос -- second line
%^Q&>A ---- second line
When I received ByteArray in logs files(administrator) I reseived error "Can not transver ByteArray to String". What I must do to received binary array in Coldfusion .cfm
What I can do for reseiving pdf file on the fly, how I can correct my program or where I can find answer on my question.
Thank You for advance
Regards, Susanna Harutyunyan