Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Diffrence in layout between Print Preview and PDF file

$
0
0

Hi,

 

I am using PB.11.2  and I am trying to export  an A4 size data window report  into pdf file .  After exporting the layout is going to different layout than the layout in print preview.  Please can you advise me how to fix this issue .

 

The following is my script.

dw_1.Object.DataWindow.Export.PDF.Method = Distill!

dw_1.Object.DataWindow.Printer =  'CutePDF Writer'

dw_1.Object.DataWindow.Export.PDF.Distill.CustomPostScript="Yes"

li_ret = dw_1.SaveAs(ls_attach, PDF!, true)


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>