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.

Urgent help on Print Page Range

2 posts in Objects Last posting was on 2007-12-17 17:38:33.0Z
Suresh Thoduvail. Posted on 2007-03-19 15:51:26.0Z
Sender: 225.45fb1927.1804289383@sybase.com
From: Suresh Thoduvail.
Newsgroups: sybase.public.powerbuilder.objects
Subject: Urgent help on Print Page Range
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <45feb17e.767c.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 19 Mar 2007 07:51:26 -0800
X-Trace: forums-1-dub 1174319486 10.22.241.41 (19 Mar 2007 07:51:26 -0800)
X-Original-Trace: 19 Mar 2007 07:51:26 -0800, 10.22.241.41
Lines: 14
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9298
Article PK: 736457

Hi All,

I need to print a RTE report, so i use the PrintOpen("some
name", True) function. Now the page range is disabled (the
help says so) good. But I need to be able to set the page
range, any API calls or scripts will be greatly appreciated.
Also Is there any way to set the print page size for the RTE
Control. Pls keep in mind that i am not using datawindow
here..

I am using PB 10.5.1 Build 6565 RTE Control

Thanks
Suresh


"John Olson [Team Sybase]" <john.olson Posted on 2007-12-17 17:38:33.0Z
From: "John Olson [Team Sybase]" <john.olson@nospam_teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <45feb17e.767c.1681692777@sybase.com>
Subject: Re: Urgent help on Print Page Range
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: ip72-220-87-173.sd.sd.cox.net
X-Original-NNTP-Posting-Host: ip72-220-87-173.sd.sd.cox.net
Message-ID: <4766b419$1@forums-1-dub>
Date: 17 Dec 2007 09:38:33 -0800
X-Trace: forums-1-dub 1197913113 72.220.87.173 (17 Dec 2007 09:38:33 -0800)
X-Original-Trace: 17 Dec 2007 09:38:33 -0800, ip72-220-87-173.sd.sd.cox.net
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9563
Article PK: 736718

If you use the RTE.print() method you can specify the pagerange argument.

Regards,
John

Team Sybase

<Suresh Thoduvail.> wrote in message
news:45feb17e.767c.1681692777@sybase.com...
> Hi All,
>
> I need to print a RTE report, so i use the PrintOpen("some
> name", True) function. Now the page range is disabled (the
> help says so) good. But I need to be able to set the page
> range, any API calls or scripts will be greatly appreciated.
> Also Is there any way to set the print page size for the RTE
> Control. Pls keep in mind that i am not using datawindow
> here..
>
> I am using PB 10.5.1 Build 6565 RTE Control
>
> Thanks
> Suresh