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.

pb11.5 & running & creating pdfs on server & webforms

2 posts in DataWindow Last posting was on 2008-09-30 18:52:23.0Z
Obam Posted on 2008-09-30 17:48:49.0Z
Sender: 76a4.48e16f83.1804289383@sybase.com
From: obam
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: pb11.5 & running & creating pdfs on server & webforms
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48e26681.1732.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 30 Sep 2008 10:48:49 -0700
X-Trace: forums-1-dub 1222796929 10.22.241.41 (30 Sep 2008 10:48:49 -0700)
X-Original-Trace: 30 Sep 2008 10:48:49 -0700, 10.22.241.41
Lines: 4
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87882
Article PK: 417138

I want to run & create a pdf on the server and download the
pdf to the client machine. The dw will be several pages.
How could I do this? And where do I put the xsl or gnu
files? I am trying to use PB11.5 & webforms. TIA


John Strano[Sybase] Posted on 2008-09-30 18:52:23.0Z
From: "John Strano[Sybase]" <nichtspamjstrano@csi.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48e26681.1732.1681692777@sybase.com>
Subject: Re: pb11.5 & running & creating pdfs on server & webforms
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48e27567$1@forums-1-dub>
Date: 30 Sep 2008 11:52:23 -0700
X-Trace: forums-1-dub 1222800743 10.22.241.152 (30 Sep 2008 11:52:23 -0700)
X-Original-Trace: 30 Sep 2008 11:52:23 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87884
Article PK: 417139

Once you've installed and configured GhostScript, and used SaveAs()
to persist the file to the session's virtual file system, you can call
"DownloadFile()"
to allow the user to save the PDF outside the sandbox to their file system.

"DownloadFile()"

http://infocenter.sybase.com/help/topic/com.sybase.dc00586_1150/html/dplynet/CAIDGFGAWF.htm


--
John Strano - Sybase Technology Evangelist

<obam> wrote in message news:48e26681.1732.1681692777@sybase.com...
>I want to run & create a pdf on the server and download the
> pdf to the client machine. The dw will be several pages.
> How could I do this? And where do I put the xsl or gnu
> files? I am trying to use PB11.5 & webforms. TIA