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.

How do I set Custom/ User-defined paper size in the datawindow painter?

2 posts in DataWindow Last posting was on 2009-04-29 12:56:12.0Z
Biju Skariah Posted on 2009-04-29 09:03:35.0Z
Sender: 507a.49f80960.1804289383@sybase.com
From: Biju Skariah
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: How do I set Custom/ User-defined paper size in the datawindow painter?
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <49f817e6.526a.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 29 Apr 2009 02:03:35 -0700
X-Trace: forums-1-dub 1240995815 10.22.241.41 (29 Apr 2009 02:03:35 -0700)
X-Original-Trace: 29 Apr 2009 02:03:35 -0700, 10.22.241.41
Lines: 14
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89207
Article PK: 418458

Helo,

I want to set Custom/ User-defined paper size in the
datawindow painter. I am using PowerBuilder 10.5.1 Build
6575. The Help says "To specify a user-defined paper size,
set the Paper.Size property to 255 or 256, then set the
Print.CustomPage.Length and Print.Custom.Page.Width
properties to the desired size."But how can I do it in the
datawindow painter? I have created a custom paper size in
the printer. Is it possible to get it in the datawindow
paper size?

Thanks & Regards,
Biju Skariah.


Dave Hauze Posted on 2009-04-29 12:56:12.0Z
From: "Dave Hauze" <david.hauze@steeldynamics.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <49f817e6.526a.1681692777@sybase.com>
Subject: Re: How do I set Custom/ User-defined paper size in the datawindow painter?
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
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: <49f84e6c@forums-1-dub>
Date: 29 Apr 2009 05:56:12 -0700
X-Trace: forums-1-dub 1241009772 10.22.241.152 (29 Apr 2009 05:56:12 -0700)
X-Original-Trace: 29 Apr 2009 05:56:12 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89209
Article PK: 418461

If you Right Click on the datawindow when it is not open in the Painter, and
then select EDIT SOURCE, you will be able to access these properties
directly. However, on the Print Specifications tab in the Painter, you have
access to the Paper Size and Source. The other two you will have to add in
the EDIT SOURCE view. The items will go on the 2nd line of the source view.
If you scroll to the right until you find PAPER.SIZE, change that value,
then immediately following add the additional two items so it will look
something like this:

print.paper.source = 0 print.paper.size=256 print.custompage.width=100
print.custompage.length=100

--
Dave Hauze

<Biju Skariah> wrote in message news:49f817e6.526a.1681692777@sybase.com...
> Helo,
>
> I want to set Custom/ User-defined paper size in the
> datawindow painter. I am using PowerBuilder 10.5.1 Build
> 6575. The Help says "To specify a user-defined paper size,
> set the Paper.Size property to 255 or 256, then set the
> Print.CustomPage.Length and Print.Custom.Page.Width
> properties to the desired size."But how can I do it in the
> datawindow painter? I have created a custom paper size in
> the printer. Is it possible to get it in the datawindow
> paper size?
>
> Thanks & Regards,
> Biju Skariah.