Home > Archive > PowerBuilder > April 2004 > SaveAs PDF format
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Jean-Louis CANTIN 2004-04-02, 5:42 am |
| I try to save a Datawindow with PDF format. It's ok while I use a simple
DW. If it contain several Nested I the result is a blank page...
Does anybody else have this problem?
Thanks
Example :
lds_ds = create datastore
lds_ds.dataobject = "d_constitution_principale"
lds_ds.settransobject(SQLCA)
ll_ret = lds_ds.retrieve(5000)
lds_ds.Object.DataWindow.Export.PDF.Method = Distill!
lds_ds.Object.DataWindow.Printer = ls_imp
lds_ds.Object.DataWindow.Export.PDF.Distill.CustomPostScript="Yes"
ls_ret =lds_ds.Modify("datawindow.Export.PDF.Method = '1'")
ls_ret =lds_ds.Modify("datawindow.Export.PDF.xslfop.print=no")
li_ret = lds_ds.SaveAs("c:\temp\d_constitution_constitue.pdf", PDF!, true)
| |
|
| Test CutePDF Printer 1.2
Użytkownik "Jean-Louis CANTIN" <jean-louis.cantin@jii.fr> napisał w
wiadomości news:c4jd2e$gbm$1@s1.read.news.oleane.net...
> I try to save a Datawindow with PDF format. It's ok while I use a simple
> DW. If it contain several Nested I the result is a blank page...
>
> Does anybody else have this problem?
>
> Thanks
>
> Example :
> lds_ds = create datastore
> lds_ds.dataobject = "d_constitution_principale"
> lds_ds.settransobject(SQLCA)
> ll_ret = lds_ds.retrieve(5000)
> lds_ds.Object.DataWindow.Export.PDF.Method = Distill!
> lds_ds.Object.DataWindow.Printer = ls_imp
> lds_ds.Object.DataWindow.Export.PDF.Distill.CustomPostScript="Yes"
> ls_ret =lds_ds.Modify("datawindow.Export.PDF.Method = '1'")
> ls_ret =lds_ds.Modify("datawindow.Export.PDF.xslfop.print=no")
> li_ret = lds_ds.SaveAs("c:\temp\d_constitution_constitue.pdf", PDF!, true)
>
>
| |
| Jean-Louis CANTIN 2004-04-02, 9:40 am |
| Thanks for this software.
Have you a tip to save document without the save dialogbox ?
"jk" <jk72@poczta.onet.pl> a écrit dans le message de
news:c4jh6h$jf1$1@news.onet.pl...
> Test CutePDF Printer 1.2
>
>
>
> Użytkownik "Jean-Louis CANTIN" <jean-louis.cantin@jii.fr> napisał w
> wiadomości news:c4jd2e$gbm$1@s1.read.news.oleane.net...
true)[color=darkred]
>
>
|
|
|
|
|