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.

DW Printing

2 posts in DataWindow Last posting was on 2008-08-07 02:39:08.0Z
Roger Posted on 2008-08-06 14:32:45.0Z
Sender: 62eb.4899b508.1804289383@sybase.com
From: Roger
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: DW Printing
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4899b60d.6312.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 6 Aug 2008 07:32:45 -0700
X-Trace: forums-1-dub 1218033165 10.22.241.41 (6 Aug 2008 07:32:45 -0700)
X-Original-Trace: 6 Aug 2008 07:32:45 -0700, 10.22.241.41
Lines: 9
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87499
Article PK: 416755

I am working on a program that sends pdf email attachments.
In my code, when I print the dw I print to pdf and it save
the dw as a pdf.
However, do you know of a way I can group all of the results
in one pdf attachment?
In other words currently, retrieve dw, print to pdf writer
which saves as a file. I want to retrieve dw w/arg, retrieve
same dw w/ another arg, etc then save all of them in one
pdf.


Jeremy Lakeman Posted on 2008-08-07 02:39:08.0Z
From: Jeremy Lakeman <jeremy.lakeman@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: DW Printing
Date: Wed, 6 Aug 2008 19:39:08 -0700 (PDT)
Organization: http://groups.google.com
Lines: 15
Message-ID: <d0ee4994-fbb3-41b3-9038-be4ee739a2ca@z66g2000hsc.googlegroups.com>
References: <4899b60d.6312.1681692777@sybase.com>
NNTP-Posting-Host: 203.122.242.105
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1218076749 2114 127.0.0.1 (7 Aug 2008 02:39:09 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 7 Aug 2008 02:39:09 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: z66g2000hsc.googlegroups.com; posting-host=203.122.242.105; posting-account=euaBtgoAAAC_vDxfsxmpMKlBxHaHpmRS
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1,gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 fly.essential.com.au:3128 (squid/2.5.STABLE8), 1.0 asp.essential.intranet:3128 (squid/2.5.STABLE8)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!z66g2000hsc.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87507
Article PK: 416762


On Aug 6, 11:32 pm, Roger wrote:
> I am working on a program that sends pdf email attachments.
> In my code, when I print the dw I print to pdf and it save
> the dw as a pdf.
> However, do you know of a way I can group all of the results
> in one pdf attachment?
> In other words currently, retrieve dw, print to pdf writer
> which saves as a file. I want to retrieve dw w/arg, retrieve
> same dw w/ another arg, etc then save all of them in one
> pdf.

You can print multiple datawindows in the same print job;
printopen
printdatawindow
printclose