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.

Composite Datawindow loses zoom percent when export to PDF

3 posts in DataWindow Last posting was on 2008-11-12 13:33:48.0Z
Brad L Posted on 2008-11-11 14:43:15.0Z
Sender: 6355.4919980f.1804289383@sybase.com
From: Brad L
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Composite Datawindow loses zoom percent when export to PDF
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <49199a03.638e.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 11 Nov 2008 06:43:15 -0800
X-Trace: forums-1-dub 1226414595 10.22.241.41 (11 Nov 2008 06:43:15 -0800)
X-Original-Trace: 11 Nov 2008 06:43:15 -0800, 10.22.241.41
Lines: 9
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88155
Article PK: 417408

I have a composite Datawindow in which I would like to
change the zoom percentage on one report in the detail band
so that it will fit on a single page. All of the other
reports in the composite datawindow are at 100 percent. My
print preview looks fine, but when I export to PDF or Print
the composite report the zoom percentage for the report goes
back to 100 percent. If I change the zoom percent for the
whole composite datawindow it retains that percent when
printing and exporting to PDF. Can this be done?


Jeremy Lakeman Posted on 2008-11-11 23:56:59.0Z
From: Jeremy Lakeman <jeremy.lakeman@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Composite Datawindow loses zoom percent when export to PDF
Date: Tue, 11 Nov 2008 15:56:59 -0800 (PST)
Organization: http://groups.google.com
Lines: 15
Message-ID: <ec085448-3ceb-4fd7-9ab5-ba21e3cbc5b0@w24g2000prd.googlegroups.com>
References: <49199a03.638e.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 1226447819 6022 127.0.0.1 (11 Nov 2008 23:56:59 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 11 Nov 2008 23:56:59 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: w24g2000prd.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.3) Gecko/2008092417 Firefox/3.0.3,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!w24g2000prd.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88164
Article PK: 417418


On Nov 12, 12:43 am, Brad L wrote:
> I have a composite Datawindow in which I would like to
> change the zoom percentage on one report in the detail band
> so that it will fit on a single page.  All of the other
> reports in the composite datawindow are at 100 percent.  My
> print preview looks fine, but when I export to PDF or Print
> the composite report the zoom percentage for the report goes
> back to 100 percent.  If I change the zoom percent for the
> whole composite datawindow it retains that percent when
> printing and exporting to PDF.  Can this be done?

You could refactor the printing process to load each sub report in a
datastore and use printopen, printdatawindow, printclose to print them
in the same job.


Brad L Posted on 2008-11-12 13:33:48.0Z
Sender: 6355.4919980f.1804289383@sybase.com
From: Brad L
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Composite Datawindow loses zoom percent when export to PDF
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <491adb3c.711.1681692777@sybase.com>
References: <ec085448-3ceb-4fd7-9ab5-ba21e3cbc5b0@w24g2000prd.googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 12 Nov 2008 05:33:48 -0800
X-Trace: forums-1-dub 1226496828 10.22.241.41 (12 Nov 2008 05:33:48 -0800)
X-Original-Trace: 12 Nov 2008 05:33:48 -0800, 10.22.241.41
Lines: 23
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88170
Article PK: 417422


> On Nov 12, 12:43 am, Brad L wrote:
> > I have a composite Datawindow in which I would like to
> > change the zoom percentage on one report in the detail
> > band so that it will fit on a single page.  All of the
> > other reports in the composite datawindow are at 100
> > percent.  My print preview looks fine, but when I
export
> > to PDF or Print the composite report the zoom percentage
> > for the report goes back to 100 percent.  If I change
> > the zoom percent for the whole composite datawindow it
> > retains that percent when printing and exporting to PDF.
>  Can this be done?
>
> You could refactor the printing process to load each sub
> report in a datastore and use printopen, printdatawindow,
> printclose to print them in the same job.
>

I forgot to mention that there could be multiple sub reports
in the detail band of the composite report. We need this to
display some information on the first page only. Also, it
looks like the printdatawindow uses the printer's default
fonts and not the fonts used in the datawindow.