TD-20891: SalReportPrintToFile to PDF
Re: TD-20891: SalReportPrintToFile to PDF
The garbled display that you show is exactly what I see when I transfer a Word document to my iPad.
I'm running the app now.
I may need to give this to another person who has an Apple machine other than my iPad if it needs to be printed.
I'm running the app now.
I may need to give this to another person who has an Apple machine other than my iPad if it needs to be printed.
Re: TD-20891: SalReportPrintToFile to PDF
Yes, I can preview this fine on my iPad. I will need to give this to someone else in Gupta for a determination.
Thanks for the simple testcase!
Best regards,
Thanks for the simple testcase!
Best regards,
Re: TD-20891: SalReportPrintToFile to PDF
Thanks for your quick response.
We are hoping for a quick solution, this is really important for us.
Dietmar Teich
We are hoping for a quick solution, this is really important for us.
Dietmar Teich
Re: TD-20891: SalReportPrintToFile to PDF
Hi all,
I've had some people able to create the PDF file and transfer it to their iPad and can print it fine on a HP OfficeJet 6700.
Two others have had problems:
"Yes can see that happen on my iMac OSX 10.9.2. Looks like a font problem to me. Maybe they need to use a font on Windows where they create the pdf that is avialble on the Mac as well? Or embed the font?"
"See garbage when printing from my son’s Macbook air – OSX Mavericks. Just the logo is fine."
So, can one of you have a look at the font you are using and confirm that this font is available on the Mac system you are using? Can you possibly embed the font in the PDF file? This makes sense with the PDF created from PDFCreator; I suspect that it embeds the font into the PDF file that it creates.
Best regards,
I've had some people able to create the PDF file and transfer it to their iPad and can print it fine on a HP OfficeJet 6700.
Two others have had problems:
"Yes can see that happen on my iMac OSX 10.9.2. Looks like a font problem to me. Maybe they need to use a font on Windows where they create the pdf that is avialble on the Mac as well? Or embed the font?"
"See garbage when printing from my son’s Macbook air – OSX Mavericks. Just the logo is fine."
So, can one of you have a look at the font you are using and confirm that this font is available on the Mac system you are using? Can you possibly embed the font in the PDF file? This makes sense with the PDF created from PDFCreator; I suspect that it embeds the font into the PDF file that it creates.
Best regards,
Re: TD-20891: SalReportPrintToFile to PDF
Hi Mike,
first of all i am glad to hear that the problem can be reproduced on mac systems.
Yor are asking about the font.
Yor can see the font we used in our testcase when you open the qrp with the report designer.
It ist just "arial", nothing unusual.
I dont know if this font is available on mac systems.
You ask if i could embed the font into the pdf file.
As you can see in our testcase we set the parameter "nFontOption" to 2, which means "Import true type fonts for all strings".
Parameter "nEmbed" ist set to 1, which means "embed the font in the generated PDF".
So i think the fonts should be embedded in the pdf.
We tried all other setting for "nFontOption" and for "nEmbed" in ervery combination, but the result is the same.
Maybe there is a problem in the function SalReportPrintToFileEx() and the fonts are NOT embedded even if parameters tell it to do so?
Maybe it has to do with the location of the fonts on the machine creating the pdf.
We tried to copy the font into the application directory, but the result is the same.
So this was no workaround for us.
Dietmar Teich
first of all i am glad to hear that the problem can be reproduced on mac systems.
Yor are asking about the font.
Yor can see the font we used in our testcase when you open the qrp with the report designer.
It ist just "arial", nothing unusual.
I dont know if this font is available on mac systems.
You ask if i could embed the font into the pdf file.
As you can see in our testcase we set the parameter "nFontOption" to 2, which means "Import true type fonts for all strings".
Parameter "nEmbed" ist set to 1, which means "embed the font in the generated PDF".
So i think the fonts should be embedded in the pdf.
We tried all other setting for "nFontOption" and for "nEmbed" in ervery combination, but the result is the same.
Maybe there is a problem in the function SalReportPrintToFileEx() and the fonts are NOT embedded even if parameters tell it to do so?
Maybe it has to do with the location of the fonts on the machine creating the pdf.
We tried to copy the font into the application directory, but the result is the same.
So this was no workaround for us.
Dietmar Teich
Re: TD-20891: SalReportPrintToFile to PDF
OK. Thanks for the confirmation.
I will need to get a bug logged for this and see what we can find out.
I will need to get a bug logged for this and see what we can find out.
Re: TD-20891: SalReportPrintToFile to PDF
Hi all,
I've logged defect TD-20849 for this issue. Someone from Development will have a look at this to see what might be going wrong.
I'm still waiting for test cases for the other issues reported in this thread. See the details that I am after from the entry for 24 April for size differences and wrong images.
Best regards,
I've logged defect TD-20849 for this issue. Someone from Development will have a look at this to see what might be going wrong.
I'm still waiting for test cases for the other issues reported in this thread. See the details that I am after from the entry for 24 April for size differences and wrong images.
Best regards,
Re: TD-20891: SalReportPrintToFile to PDF
Hi Mike,
thanks for your help.
This problem is very important for us.
Please find a solution as fast as possible.
Dietmar Teich
thanks for your help.
This problem is very important for us.
Please find a solution as fast as possible.
Dietmar Teich
Re: TD-20891: SalReportPrintToFile to PDF
With My testcase in the initial post you can not reproduce the problem?
Re: TD-20891: SalReportPrintToFile to PDF
Mike,
I took me half a day or so but I finally managed to create a testcase for the wrong images displayed in a PDF.
I'll send you a PM with the sources.
Regarding the size difference and the problem reading it on a Mac (or any android phone):
My testcase in my first post (with the qrp i added later) and the PDF's in the zip will show the problem.
Hope to hear from you soon.
Reagards,
Alexander
I took me half a day or so but I finally managed to create a testcase for the wrong images displayed in a PDF.
I'll send you a PM with the sources.
Regarding the size difference and the problem reading it on a Mac (or any android phone):
My testcase in my first post (with the qrp i added later) and the PDF's in the zip will show the problem.
Hope to hear from you soon.
Reagards,
Alexander
Re: TD-20891: SalReportPrintToFile to PDF
Thanks for the testcase, Alexander.
Yes, I can reproduce the problem of the size difference with the first testcase.
Best regards,
Yes, I can reproduce the problem of the size difference with the first testcase.
Best regards,
Re: TD-20891: SalReportPrintToFile to PDF
Hi Alexander,
Yes, I can reproduce exactly what you say. Thanks for the excellent testcase.
This works fine with TD6.1 SP4 but fails with TD6.2. I will log a defect.
Best regards,
Yes, I can reproduce exactly what you say. Thanks for the excellent testcase.
This works fine with TD6.1 SP4 but fails with TD6.2. I will log a defect.
Best regards,
Re: TD-20891: SalReportPrintToFile to PDF
Hi Guys,
I have created defect TD-20891 for the image mixing and TD-20892 for the PDF size difference. I have flagged these plus the unreadable PDF on a MAC as needing escalation.
Best regards,
I have created defect TD-20891 for the image mixing and TD-20892 for the PDF size difference. I have flagged these plus the unreadable PDF on a MAC as needing escalation.
Best regards,
Re: TD-20891: SalReportPrintToFile to PDF
Thanks Mike for the quick response!
Hope the fix will be available soon!
Regards,
Alexander
Hope the fix will be available soon!
Regards,
Alexander
Re: TD-20891: SalReportPrintToFile to PDF
Thank you Mike!
Regards
Henning
Regards
Henning
Who is online
Users browsing this forum: [Ccbot] and 0 guests