Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Datawindow as PDF

5 posts in DataWindow Last posting was on 2009-07-16 16:55:32.0Z
Ignacio Carrasquedo Posted on 2009-07-15 22:15:08.0Z
From: "Ignacio Carrasquedo" <icarrasquedo@oma.aero>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Datawindow as PDF
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a5e54ec$1@forums-3-dub.sybase.com>
Date: 15 Jul 2009 15:15:08 -0700
X-Trace: forums-3-dub.sybase.com 1247696108 10.22.241.152 (15 Jul 2009 15:15:08 -0700)
X-Original-Trace: 15 Jul 2009 15:15:08 -0700, vip152.sybase.com
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89641
Article PK: 418830

Hi, using PB 10.5

I'm tryingo to save a FreeForm Dw that have 2 small images as PDF and
several fields (just 1 page)

I can save it as WMF or HTML with no problem but when giving it the
dw.saveas(ls_filename,PDF!,false) instruction it just return -1

is there a way to know what is wrong .??


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2009-07-16 01:07:47.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4a5e54ec$1@forums-3-dub.sybase.com>
Subject: Re: Datawindow as PDF
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a5e7d63$2@forums-3-dub.sybase.com>
Date: 15 Jul 2009 18:07:47 -0700
X-Trace: forums-3-dub.sybase.com 1247706467 10.22.241.152 (15 Jul 2009 18:07:47 -0700)
X-Original-Trace: 15 Jul 2009 18:07:47 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89643
Article PK: 418831

Have you got GhostScript installed? PB should also automatically install the
Sybase PS Printer driver the first time you generate a PDF and the user
needs authority to install it.

--
Report Bugs: http://case-express.sybase.com/cx/welcome.do
Product Enhancement Requests:
http://my.isug.com/cgi-bin/1/c/submit_enhancement

"Ignacio Carrasquedo" <icarrasquedo@oma.aero> wrote in message
news:4a5e54ec$1@forums-3-dub.sybase.com...
> Hi, using PB 10.5
>
> I'm tryingo to save a FreeForm Dw that have 2 small images as PDF and
> several fields (just 1 page)
>
> I can save it as WMF or HTML with no problem but when giving it the
> dw.saveas(ls_filename,PDF!,false) instruction it just return -1
>
> is there a way to know what is wrong .??
>
>


Ignacio Carrasquedo Posted on 2009-07-16 16:22:11.0Z
From: "Ignacio Carrasquedo" <icarrasquedo@oma.aero>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4a5e54ec$1@forums-3-dub.sybase.com> <4a5e7d63$2@forums-3-dub.sybase.com>
Subject: Re: Datawindow as PDF
Lines: 44
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a5f53b3@forums-3-dub.sybase.com>
Date: 16 Jul 2009 09:22:11 -0700
X-Trace: forums-3-dub.sybase.com 1247761331 10.22.241.152 (16 Jul 2009 09:22:11 -0700)
X-Original-Trace: 16 Jul 2009 09:22:11 -0700, vip152.sybase.com
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89648
Article PK: 418836

HI jerry

i have installed GPL Ghostscript 8.64
but nothing happens after trying to save as PDF

is the installation of ghostscript the only setup that has to be done
previous the use of SAVEAS the pdf??

Or i have to do something else .. maybe in the code??

Thanks



"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> escribió en el
mensaje news:4a5e7d63$2@forums-3-dub.sybase.com...

> Have you got GhostScript installed? PB should also automatically install
> the Sybase PS Printer driver the first time you generate a PDF and the
> user needs authority to install it.
>
> --
> Report Bugs: http://case-express.sybase.com/cx/welcome.do
> Product Enhancement Requests:
> http://my.isug.com/cgi-bin/1/c/submit_enhancement
>
>
> "Ignacio Carrasquedo" <icarrasquedo@oma.aero> wrote in message
> news:4a5e54ec$1@forums-3-dub.sybase.com...
>> Hi, using PB 10.5
>>
>> I'm tryingo to save a FreeForm Dw that have 2 small images as PDF and
>> several fields (just 1 page)
>>
>> I can save it as WMF or HTML with no problem but when giving it the
>> dw.saveas(ls_filename,PDF!,false) instruction it just return -1
>>
>> is there a way to know what is wrong .??
>>
>>
>
>


Chris Pollach Posted on 2009-07-16 16:55:32.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4a5e54ec$1@forums-3-dub.sybase.com> <4a5e7d63$2@forums-3-dub.sybase.com> <4a5f53b3@forums-3-dub.sybase.com>
Subject: Re: Datawindow as PDF
Lines: 83
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a5f5b84$4@forums-3-dub.sybase.com>
Date: 16 Jul 2009 09:55:32 -0700
X-Trace: forums-3-dub.sybase.com 1247763332 10.22.241.152 (16 Jul 2009 09:55:32 -0700)
X-Original-Trace: 16 Jul 2009 09:55:32 -0700, vip152.sybase.com
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89650
Article PK: 418837

Hi Ignacio;

For GS to run with PB or your application properly ...

1) You must install the "Sybase DataWindow PS" print driver
Note: For GS 8.6.4, it contains an INF install file that can be used
instead of the PB supplied one.
Note2: You MUST use the GS INF printer install file on Vista. The PB one
will not work properly.
2) Add an new Environment variable GS_DLL
ie: GS_DLL=C:\Program Files\gs\gs8.64\bin
3) Add the GS "Bin" folder to your System Path
ie:
C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\WINDOWS\SYSTEM32\NLS;C:\WINDOWS\SYSTEM32\NLS\ENGLISH;C:\WINDOWS\Microsoft.NET\Framework\v3.5;C:\Program
Files\Microsoft.NET\SDK\v2.0Bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files\gs\gs8.64\bin;C:\Program Files\Sybase12\Shared\PowerBuilder;C:\Program
Files\Sybase12\PowerBuilder 12.0;C:\Program
Files\Sybase11_5\Shared\PowerBuilder; ...
4) Open your DW object and make sure that in the properties pane => Data
Export tagpage =>
Format to Configure = PDF!
Method = Distill!

The above settings work well for me and I have tested this with PB
10.5.2, 11.2, 11.5.1 and now 12.0 Beta1 in WIN32, WinForm and Webform
applications.

HTH

--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com

"Ignacio Carrasquedo" <icarrasquedo@oma.aero> wrote in message
news:4a5f53b3@forums-3-dub.sybase.com...
>
> HI jerry
>
> i have installed GPL Ghostscript 8.64
> but nothing happens after trying to save as PDF
>
> is the installation of ghostscript the only setup that has to be done
> previous the use of SAVEAS the pdf??
>
> Or i have to do something else .. maybe in the code??
>
> Thanks
>
>
>
> "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com> escribió en el
> mensaje news:4a5e7d63$2@forums-3-dub.sybase.com...
>> Have you got GhostScript installed? PB should also automatically install
>> the Sybase PS Printer driver the first time you generate a PDF and the
>> user needs authority to install it.
>>
>> --
>> Report Bugs: http://case-express.sybase.com/cx/welcome.do
>> Product Enhancement Requests:
>> http://my.isug.com/cgi-bin/1/c/submit_enhancement
>>
>>
>> "Ignacio Carrasquedo" <icarrasquedo@oma.aero> wrote in message
>> news:4a5e54ec$1@forums-3-dub.sybase.com...
>>> Hi, using PB 10.5
>>>
>>> I'm tryingo to save a FreeForm Dw that have 2 small images as PDF and
>>> several fields (just 1 page)
>>>
>>> I can save it as WMF or HTML with no problem but when giving it the
>>> dw.saveas(ls_filename,PDF!,false) instruction it just return -1
>>>
>>> is there a way to know what is wrong .??
>>>
>>>
>>
>>
>
>


Arthur Hefti Posted on 2009-07-16 03:51:59.0Z
From: "Arthur Hefti" <arthur@catsoft.ch>
Subject: Re: Datawindow as PDF
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4a5e54ec$1@forums-3-dub.sybase.com>
User-Agent: XanaNews/1.19.1.194
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a5ea3df$1@forums-3-dub.sybase.com>
Date: 15 Jul 2009 20:51:59 -0700
X-Trace: forums-3-dub.sybase.com 1247716319 10.22.241.152 (15 Jul 2009 20:51:59 -0700)
X-Original-Trace: 15 Jul 2009 20:51:59 -0700, vip152.sybase.com
Lines: 19
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89644
Article PK: 418832

You might want to give a look at CATsoftPDF,
http://www.catsoft.ch/catsoftpdf. This allows you to created PDFs and
XPS files from datawindows without printer driver.

Arthur

Ignacio Carrasquedo wrote:

> Hi, using PB 10.5
>
> I'm tryingo to save a FreeForm Dw that have 2 small images as PDF and
> several fields (just 1 page)
>
> I can save it as WMF or HTML with no problem but when giving it the
> dw.saveas(ls_filename,PDF!,false) instruction it just return -1
>
> is there a way to know what is wrong .??