Hi all,
I have a PB 2017 R2 (build 1769) application in which I create a PDF file from a datawindow using SaveAs PDF! (Native PDF).
Here is my code :
<
dw_m.Modify("DataWindow.Export.PDF.NativePDF.UsePrintSpec = No")
dw_m.Modify("DataWindow.Export.PDF.Method = NativePDF!")
dw_m.Modify("DataWindow.Export.PDF.NativePDF.PDFStandard = 1")
dw_m.Modify("DataWindow.Export.PDF.NativePDF.CustomOrientation = 2")
dw_m.Modify("DataWindow.Export.PDF.NativePDF.CustomSize = 4")
li_ret = dw_m.SaveAs("onepager.PDF", PDF!, true)
>
The result in PB is great and the PDF file is excactly the same as the DW in preview mode. When this application is published to Powerserver WEB, the PDF file is totally different : the report is splitted on 2 horizontal pages, looks not so good (no font is Embedded in the PDF).
Does anyone have a solution with this problem ?
BTW I'll have to publish the same application on Powerserver Mobile for Ipad ...
TIA.
Best regards,
thanks for your answer and great suggestion. I'll see with the project leader which route to go. I'll open a ticket for this issue.
Regards,
Philippe.