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.

Specify Paper Size for an RTE control

2 posts in Objects Last posting was on 2006-11-28 17:23:56.0Z
Joe Posted on 2006-11-21 14:12:39.0Z
Sender: 59a2.4561ed50.1804289383@sybase.com
From: Joe
Newsgroups: sybase.public.powerbuilder.objects
Subject: Specify Paper Size for an RTE control
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <45631767.6972.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 21 Nov 2006 07:12:39 -0700
X-Trace: forums-1-dub 1164121959 10.22.241.41 (21 Nov 2006 07:12:39 -0700)
X-Original-Trace: 21 Nov 2006 07:12:39 -0700, 10.22.241.41
Lines: 7
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9126
Article PK: 736303

Hi All,
I am looking to allow the user to specify the paper size
dynamically for contents in a RTE control. Can someone help
me with what external function I should be using, and how I
should call it?

Thanks


"John Olson [Team Sybase]" <john.olson Posted on 2006-11-28 17:23:56.0Z
From: "John Olson [Team Sybase]" <john.olson@nospam_teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <45631767.6972.1681692777@sybase.com>
Subject: Re: Specify Paper Size for an RTE control
Lines: 35
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: h46067da7.area1.spcsdns.net
X-Original-NNTP-Posting-Host: h46067da7.area1.spcsdns.net
Message-ID: <456c7ebc@forums-1-dub>
Date: 28 Nov 2006 10:23:56 -0700
X-Trace: forums-1-dub 1164738236 70.6.125.167 (28 Nov 2006 10:23:56 -0700)
X-Original-Trace: 28 Nov 2006 10:23:56 -0700, h46067da7.area1.spcsdns.net
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9134
Article PK: 736312

Joe,

I ran across this:
---------

long job
job=printopen()
printsend(job,~h1bC~h13) // code to change paper size
RTE.print(1,' ',True, false)
printclose(job)


-------


Apparently, you can also change the default printer.

Check these:
http://groups.google.com/groups/search?q=powerbuilder+rte+%22paper+size%22

Regards,
John

<Joe> wrote in message news:45631767.6972.1681692777@sybase.com...
> Hi All,
> I am looking to allow the user to specify the paper size
> dynamically for contents in a RTE control. Can someone help
> me with what external function I should be using, and how I
> should call it?
>
> Thanks