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.

Richtext datawindow landscape help please

14 posts in DataWindow Last posting was on 2009-10-22 15:52:15.0Z
Leo Rodrigues Posted on 2009-10-02 15:51:27.0Z
Sender: a67.4ac61f5f.1804289383@sybase.com
From: Leo Rodrigues
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Richtext datawindow landscape help please
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4ac6217f.ae3.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 2 Oct 2009 08:51:27 -0700
X-Trace: forums-1-dub 1254498687 10.22.241.41 (2 Oct 2009 08:51:27 -0700)
X-Original-Trace: 2 Oct 2009 08:51:27 -0700, 10.22.241.41
Lines: 35
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90035
Article PK: 409642

In Powerbuilder 11.5, I am using a richtextedit datawindow
to import a text file and display it on the screen before
giving the user the option to print it.

I want to print and display it in landscape mode, but the
datawindow does not display in landscape, no matter if the
properties are set in the IDE or using script at run time.

===== here's some code ======

string stemp, sfontname, sfontsize, sfontfamily
long lthis, lmax
sfontname = "Courier New"
sfontsize = "9"
sfontfamily = "modern"
stemp = "{\rtf1\ansi\deff0{\fonttbl{\f0\f" + sfontfamily + &
" " + sfontname+ "}}\qj" + "{\f0\fs" +
string(integer(sfontsize)*2) + &
"\cf0\up0\dn0\par}}"

dw_1.pastertf(stemp)
dw_1.insertdocument(myfile, False, FileTypeText!)

=====end code====

If I leave the popup menu available, and drill into the
properties window and click on the print specifications tab
and click ok...THEN my screen changes to landscape and my
print job comes out as desired.

What gives?

I appreciate any help?

-Leo


Chris Pollach Posted on 2009-10-02 17:03:10.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4ac6217f.ae3.1681692777@sybase.com>
Subject: Re: Richtext datawindow landscape help please
Lines: 59
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4ac6324e$1@forums-1-dub>
Date: 2 Oct 2009 10:03:10 -0700
X-Trace: forums-1-dub 1254502990 10.22.241.152 (2 Oct 2009 10:03:10 -0700)
X-Original-Trace: 2 Oct 2009 10:03:10 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90036
Article PK: 409641

Hi Leo;

Did you set the RTE object into PrintPreview mode?

RTE_xxx.Preview (TRUE)

I do not believe that you will see the landscape setting unless you are in
that mode.

FWIW: Same for the DataWindow
DC.Object.DataWindow.Print.Preview = 'Yes'


HTH

--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com

<Leo Rodrigues> wrote in message news:4ac6217f.ae3.1681692777@sybase.com...
> In Powerbuilder 11.5, I am using a richtextedit datawindow
> to import a text file and display it on the screen before
> giving the user the option to print it.
>
> I want to print and display it in landscape mode, but the
> datawindow does not display in landscape, no matter if the
> properties are set in the IDE or using script at run time.
>
> ===== here's some code ======
>
> string stemp, sfontname, sfontsize, sfontfamily
> long lthis, lmax
> sfontname = "Courier New"
> sfontsize = "9"
> sfontfamily = "modern"
> stemp = "{\rtf1\ansi\deff0{\fonttbl{\f0\f" + sfontfamily + &
> " " + sfontname+ "}}\qj" + "{\f0\fs" +
> string(integer(sfontsize)*2) + &
> "\cf0\up0\dn0\par}}"
>
> dw_1.pastertf(stemp)
> dw_1.insertdocument(myfile, False, FileTypeText!)
>
> =====end code====
>
> If I leave the popup menu available, and drill into the
> properties window and click on the print specifications tab
> and click ok...THEN my screen changes to landscape and my
> print job comes out as desired.
>
> What gives?
>
> I appreciate any help?
>
> -Leo


Leo Rodrigues Posted on 2009-10-02 18:22:50.0Z
Sender: a67.4ac61f5f.1804289383@sybase.com
From: Leo Rodrigues
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Richtext datawindow landscape help please
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4ac644fa.10b2.1681692777@sybase.com>
References: <4ac6324e$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 2 Oct 2009 11:22:50 -0700
X-Trace: forums-1-dub 1254507770 10.22.241.41 (2 Oct 2009 11:22:50 -0700)
X-Original-Trace: 2 Oct 2009 11:22:50 -0700, 10.22.241.41
Lines: 91
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90037
Article PK: 409643

Chris,

thanks for the reply.

I will try tweaking more properties, including the preview
one.

Meanwhile, the real issue is that after migrating from PB
10.2 to 11.5 our reports are not printing correctly. Namely,
the left margin is cutting the first 2.5 characters of the
report.

Fixing the margin in the IDE via the dwo properties fixes
the left margin, but we still get the top pushing the
beginning of the text down (and seemingly to the right).

creating a new rte datawindow and importing the report
contents into it is one approach i am taking and that seems
to work but only if i fix the landscape issue.

The report comes from the application server in the form of
a text file. We insert the rtf encoding into the rte control
as exemplified in here and append the contents of the text
file into it at FileTypeText.

Any insight is appreciated and I will be trying your
suggestions.

Thanks,

-Leo

> Hi Leo;
>
> Did you set the RTE object into PrintPreview mode?
>
> RTE_xxx.Preview (TRUE)
>
> I do not believe that you will see the landscape setting
> unless you are in that mode.
>
> FWIW: Same for the DataWindow
> DC.Object.DataWindow.Print.Preview = 'Yes'
>
>
> HTH
>
> --
> Regards ... Chris
> ISUG - NA RUG Director
> http://chrispollach.pbdjmagazine.com
>
>
> <Leo Rodrigues> wrote in message
> > news:4ac6217f.ae3.1681692777@sybase.com... In
> > Powerbuilder 11.5, I am using a richtextedit datawindow
> > to import a text file and display it on the screen
> before giving the user the option to print it. >
> > I want to print and display it in landscape mode, but
> > the datawindow does not display in landscape, no matter
> > if the properties are set in the IDE or using script at
> run time. >
> > ===== here's some code ======
> >
> > string stemp, sfontname, sfontsize, sfontfamily
> > long lthis, lmax
> > sfontname = "Courier New"
> > sfontsize = "9"
> > sfontfamily = "modern"
> > stemp = "{\rtf1\ansi\deff0{\fonttbl{\f0\f" + sfontfamily
> > + & " " + sfontname+ "}}\qj" + "{\f0\fs" +
> > string(integer(sfontsize)*2) + &
> > "\cf0\up0\dn0\par}}"
> >
> > dw_1.pastertf(stemp)
> > dw_1.insertdocument(myfile, False, FileTypeText!)
> >
> > =====end code====
> >
> > If I leave the popup menu available, and drill into the
> > properties window and click on the print specifications
> > tab and click ok...THEN my screen changes to landscape
> > and my print job comes out as desired.
> >
> > What gives?
> >
> > I appreciate any help?
> >
> > -Leo
>
>


Chris Pollach Posted on 2009-10-02 18:59:34.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4ac6324e$1@forums-1-dub> <4ac644fa.10b2.1681692777@sybase.com>
Subject: Re: Richtext datawindow landscape help please
Lines: 102
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4ac64d96$1@forums-1-dub>
Date: 2 Oct 2009 11:59:34 -0700
X-Trace: forums-1-dub 1254509974 10.22.241.152 (2 Oct 2009 11:59:34 -0700)
X-Original-Trace: 2 Oct 2009 11:59:34 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90038
Article PK: 409644

Did you apply the 11.5.1 MR (build 4011)?

--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com

<Leo Rodrigues> wrote in message news:4ac644fa.10b2.1681692777@sybase.com...
> Chris,
>
> thanks for the reply.
>
> I will try tweaking more properties, including the preview
> one.
>
> Meanwhile, the real issue is that after migrating from PB
> 10.2 to 11.5 our reports are not printing correctly. Namely,
> the left margin is cutting the first 2.5 characters of the
> report.
>
> Fixing the margin in the IDE via the dwo properties fixes
> the left margin, but we still get the top pushing the
> beginning of the text down (and seemingly to the right).
>
> creating a new rte datawindow and importing the report
> contents into it is one approach i am taking and that seems
> to work but only if i fix the landscape issue.
>
> The report comes from the application server in the form of
> a text file. We insert the rtf encoding into the rte control
> as exemplified in here and append the contents of the text
> file into it at FileTypeText.
>
> Any insight is appreciated and I will be trying your
> suggestions.
>
> Thanks,
>
> -Leo
>
>> Hi Leo;
>>
>> Did you set the RTE object into PrintPreview mode?
>>
>> RTE_xxx.Preview (TRUE)
>>
>> I do not believe that you will see the landscape setting
>> unless you are in that mode.
>>
>> FWIW: Same for the DataWindow
>> DC.Object.DataWindow.Print.Preview = 'Yes'
>>
>>
>> HTH
>>
>> --
>> Regards ... Chris
>> ISUG - NA RUG Director
>> http://chrispollach.pbdjmagazine.com
>>
>>
>> <Leo Rodrigues> wrote in message
>> > news:4ac6217f.ae3.1681692777@sybase.com... In
>> > Powerbuilder 11.5, I am using a richtextedit datawindow
>> > to import a text file and display it on the screen
>> before giving the user the option to print it. >
>> > I want to print and display it in landscape mode, but
>> > the datawindow does not display in landscape, no matter
>> > if the properties are set in the IDE or using script at
>> run time. >
>> > ===== here's some code ======
>> >
>> > string stemp, sfontname, sfontsize, sfontfamily
>> > long lthis, lmax
>> > sfontname = "Courier New"
>> > sfontsize = "9"
>> > sfontfamily = "modern"
>> > stemp = "{\rtf1\ansi\deff0{\fonttbl{\f0\f" + sfontfamily
>> > + & " " + sfontname+ "}}\qj" + "{\f0\fs" +
>> > string(integer(sfontsize)*2) + &
>> > "\cf0\up0\dn0\par}}"
>> >
>> > dw_1.pastertf(stemp)
>> > dw_1.insertdocument(myfile, False, FileTypeText!)
>> >
>> > =====end code====
>> >
>> > If I leave the popup menu available, and drill into the
>> > properties window and click on the print specifications
>> > tab and click ok...THEN my screen changes to landscape
>> > and my print job comes out as desired.
>> >
>> > What gives?
>> >
>> > I appreciate any help?
>> >
>> > -Leo
>>
>>


Leon Rodrigues Posted on 2009-10-02 19:25:34.0Z
Sender: a67.4ac61f5f.1804289383@sybase.com
From: Leon Rodrigues
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Richtext datawindow landscape help please
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4ac653ae.1335.1681692777@sybase.com>
References: <4ac64d96$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 2 Oct 2009 12:25:34 -0700
X-Trace: forums-1-dub 1254511534 10.22.241.41 (2 Oct 2009 12:25:34 -0700)
X-Original-Trace: 2 Oct 2009 12:25:34 -0700, 10.22.241.41
Lines: 104
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90039
Article PK: 409645

No. Let me check on that....

> Did you apply the 11.5.1 MR (build 4011)?
>
> --
> Regards ... Chris
> ISUG - NA RUG Director
> http://chrispollach.pbdjmagazine.com
>
>
> <Leo Rodrigues> wrote in message
> > news:4ac644fa.10b2.1681692777@sybase.com... Chris,
> >
> > thanks for the reply.
> >
> > I will try tweaking more properties, including the
> > preview one.
> >
> > Meanwhile, the real issue is that after migrating from
> > PB 10.2 to 11.5 our reports are not printing correctly.
> > Namely, the left margin is cutting the first 2.5
> > characters of the report.
> >
> > Fixing the margin in the IDE via the dwo properties
> > fixes the left margin, but we still get the top pushing
> > the beginning of the text down (and seemingly to the
> right). >
> > creating a new rte datawindow and importing the report
> > contents into it is one approach i am taking and that
> > seems to work but only if i fix the landscape issue.
> >
> > The report comes from the application server in the form
> > of a text file. We insert the rtf encoding into the rte
> > control as exemplified in here and append the contents
> > of the text file into it at FileTypeText.
> >
> > Any insight is appreciated and I will be trying your
> > suggestions.
> >
> > Thanks,
> >
> > -Leo
> >
> >> Hi Leo;
> >>
> >> Did you set the RTE object into PrintPreview mode?
> >>
> >> RTE_xxx.Preview (TRUE)
> >>
> >> I do not believe that you will see the landscape
> setting >> unless you are in that mode.
> >>
> >> FWIW: Same for the DataWindow
> >> DC.Object.DataWindow.Print.Preview = 'Yes'
> >>
> >>
> >> HTH
> >>
> >> --
> >> Regards ... Chris
> >> ISUG - NA RUG Director
> >> http://chrispollach.pbdjmagazine.com
> >>
> >>
> >> <Leo Rodrigues> wrote in message
> >> > news:4ac6217f.ae3.1681692777@sybase.com... In
> >> > Powerbuilder 11.5, I am using a richtextedit
> datawindow >> > to import a text file and display it on
> the screen >> before giving the user the option to print
> it. > >> > I want to print and display it in landscape
> mode, but >> > the datawindow does not display in
> landscape, no matter >> > if the properties are set in the
> IDE or using script at >> run time. >
> >> > ===== here's some code ======
> >> >
> >> > string stemp, sfontname, sfontsize, sfontfamily
> >> > long lthis, lmax
> >> > sfontname = "Courier New"
> >> > sfontsize = "9"
> >> > sfontfamily = "modern"
> >> > stemp = "{\rtf1\ansi\deff0{\fonttbl{\f0\f" +
> sfontfamily >> > + & " " + sfontname+ "}}\qj" + "{\f0\fs"
> + >> > string(integer(sfontsize)*2) + &
> >> > "\cf0\up0\dn0\par}}"
> >> >
> >> > dw_1.pastertf(stemp)
> >> > dw_1.insertdocument(myfile, False, FileTypeText!)
> >> >
> >> > =====end code====
> >> >
> >> > If I leave the popup menu available, and drill into
> the >> > properties window and click on the print
> specifications >> > tab and click ok...THEN my screen
> changes to landscape >> > and my print job comes out as
> desired. >> >
> >> > What gives?
> >> >
> >> > I appreciate any help?
> >> >
> >> > -Leo
> >>
> >>
>
>


Leo Rodrigues Posted on 2009-10-02 20:01:41.0Z
Sender: a67.4ac61f5f.1804289383@sybase.com
From: Leo Rodrigues
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Richtext datawindow landscape help please
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4ac65c25.14d0.1681692777@sybase.com>
References: <4ac653ae.1335.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 2 Oct 2009 13:01:41 -0700
X-Trace: forums-1-dub 1254513701 10.22.241.41 (2 Oct 2009 13:01:41 -0700)
X-Original-Trace: 2 Oct 2009 13:01:41 -0700, 10.22.241.41
Lines: 108
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90040
Article PK: 409647

Chris,

those are localized runtime files...

> No. Let me check on that....
>
> > Did you apply the 11.5.1 MR (build 4011)?
> >
> > --
> > Regards ... Chris
> > ISUG - NA RUG Director
> > http://chrispollach.pbdjmagazine.com
> >
> >
> > <Leo Rodrigues> wrote in message
> > > news:4ac644fa.10b2.1681692777@sybase.com... Chris,
> > >
> > > thanks for the reply.
> > >
> > > I will try tweaking more properties, including the
> > > preview one.
> > >
> > > Meanwhile, the real issue is that after migrating from
> > > PB 10.2 to 11.5 our reports are not printing
> > > correctly. Namely, the left margin is cutting the
> > > first 2.5 characters of the report.
> > >
> > > Fixing the margin in the IDE via the dwo properties
> > > fixes the left margin, but we still get the top
> > > pushing the beginning of the text down (and seemingly
> > to the right). >
> > > creating a new rte datawindow and importing the report
> > > contents into it is one approach i am taking and that
> > > seems to work but only if i fix the landscape issue.
> > >
> > > The report comes from the application server in the
> > > form of a text file. We insert the rtf encoding into
> > > the rte control as exemplified in here and append the
> > > contents of the text file into it at FileTypeText.
> > >
> > > Any insight is appreciated and I will be trying your
> > > suggestions.
> > >
> > > Thanks,
> > >
> > > -Leo
> > >
> > >> Hi Leo;
> > >>
> > >> Did you set the RTE object into PrintPreview
> > mode? >>
> > >> RTE_xxx.Preview (TRUE)
> > >>
> > >> I do not believe that you will see the landscape
> > setting >> unless you are in that mode.
> > >>
> > >> FWIW: Same for the DataWindow
> > >> DC.Object.DataWindow.Print.Preview = 'Yes'
> > >>
> > >>
> > >> HTH
> > >>
> > >> --
> > >> Regards ... Chris
> > >> ISUG - NA RUG Director
> > >> http://chrispollach.pbdjmagazine.com
> > >>
> > >>
> > >> <Leo Rodrigues> wrote in message
> > >> > news:4ac6217f.ae3.1681692777@sybase.com... In
> > >> > Powerbuilder 11.5, I am using a richtextedit
> > datawindow >> > to import a text file and display it on
> > the screen >> before giving the user the option to print
> > it. > >> > I want to print and display it in landscape
> > mode, but >> > the datawindow does not display in
> > landscape, no matter >> > if the properties are set in
> > the IDE or using script at >> run time. >
> > >> > ===== here's some code ======
> > >> >
> > >> > string stemp, sfontname, sfontsize, sfontfamily
> > >> > long lthis, lmax
> > >> > sfontname = "Courier New"
> > >> > sfontsize = "9"
> > >> > sfontfamily = "modern"
> > >> > stemp = "{\rtf1\ansi\deff0{\fonttbl{\f0\f" +
> > sfontfamily >> > + & " " + sfontname+ "}}\qj" +
> > "{\f0\fs" + >> > string(integer(sfontsize)*2) + &
> > >> > "\cf0\up0\dn0\par}}"
> > >> >
> > >> > dw_1.pastertf(stemp)
> > >> > dw_1.insertdocument(myfile, False, FileTypeText!)
> > >> >
> > >> > =====end code====
> > >> >
> > >> > If I leave the popup menu available, and drill into
> > the >> > properties window and click on the print
> > specifications >> > tab and click ok...THEN my screen
> > changes to landscape >> > and my print job comes out as
> > desired. >> >
> > >> > What gives?
> > >> >
> > >> > I appreciate any help?
> > >> >
> > >> > -Leo
> > >>
> > >>
> >
> >


Chris Pollach Posted on 2009-10-05 11:17:55.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4ac65c25.14d0.1681692777@sybase.com> <4ac66a8f.1715.1681692777@sybase.com>
Subject: Re: Richtext datawindow landscape help please
Lines: 151
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4ac9d5e3$1@forums-1-dub>
Date: 5 Oct 2009 04:17:55 -0700
X-Trace: forums-1-dub 1254741475 10.22.241.152 (5 Oct 2009 04:17:55 -0700)
X-Original-Trace: 5 Oct 2009 04:17:55 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90043
Article PK: 409650

Hi Leo;

That is Excellent news!

No ... there should be no difference between a DS vs DC. Either way ... the
print properties you are setting on the "datastore.object.print.xxxx.xxx =
'??'" are the DW object's not the controls. So this should again work in
either a DS or DC.

Note: In your example syntax ... it should be coded:
DS.Object.DataWindow.Print.Margin.Left = '2'

HTH

--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com

<Leo Rodrigues> wrote in message news:4ac66a8f.1715.1681692777@sybase.com...
> Chris,
>
> I've installed the build. The issue of landscape format
> being displayed seems to be solved. As a bonus both the
> powerbuilder IDE and my application are running
> significantly faster :-).
>
> I still have to tweak things around.
>
> Question:
>
> does it make a difference whether I try to print from a
> datastore or a datawindow? The datastore does not seem to
> have print properties like
> datastore.object.print.margin.left = '2'
>
> thanks,
>
> -Leo
>
>> Chris,
>>
>> those are localized runtime files...
>>
>> > No. Let me check on that....
>> >
>> > > Did you apply the 11.5.1 MR (build 4011)?
>> > >
>> > > --
>> > > Regards ... Chris
>> > > ISUG - NA RUG Director
>> > > http://chrispollach.pbdjmagazine.com
>> > >
>> > >
>> > > <Leo Rodrigues> wrote in message
>> > > > news:4ac644fa.10b2.1681692777@sybase.com... Chris,
>> > > >
>> > > > thanks for the reply.
>> > > >
>> > > > I will try tweaking more properties, including the
>> > > > preview one.
>> > > >
>> > > > Meanwhile, the real issue is that after migrating
>> > > > from PB 10.2 to 11.5 our reports are not printing
>> > > > correctly. Namely, the left margin is cutting the
>> > > > first 2.5 characters of the report.
>> > > >
>> > > > Fixing the margin in the IDE via the dwo properties
>> > > > fixes the left margin, but we still get the top
>> > > > pushing the beginning of the text down (and
>> > > seemingly to the right). >
>> > > > creating a new rte datawindow and importing the
>> > > > report contents into it is one approach i am taking
>> > > > and that seems to work but only if i fix the
>> > > landscape issue. >
>> > > > The report comes from the application server in the
>> > > > form of a text file. We insert the rtf encoding into
>> > > > the rte control as exemplified in here and append
>> > > > the contents of the text file into it at
>> > > FileTypeText. >
>> > > > Any insight is appreciated and I will be trying your
>> > > > suggestions.
>> > > >
>> > > > Thanks,
>> > > >
>> > > > -Leo
>> > > >
>> > > >> Hi Leo;
>> > > >>
>> > > >> Did you set the RTE object into PrintPreview
>> > > mode? >>
>> > > >> RTE_xxx.Preview (TRUE)
>> > > >>
>> > > >> I do not believe that you will see the landscape
>> > > setting >> unless you are in that mode.
>> > > >>
>> > > >> FWIW: Same for the DataWindow
>> > > >> DC.Object.DataWindow.Print.Preview = 'Yes'
>> > > >>
>> > > >>
>> > > >> HTH
>> > > >>
>> > > >> --
>> > > >> Regards ... Chris
>> > > >> ISUG - NA RUG Director
>> > > >> http://chrispollach.pbdjmagazine.com
>> > > >>
>> > > >>
>> > > >> <Leo Rodrigues> wrote in message
>> > > >> > news:4ac6217f.ae3.1681692777@sybase.com... In
>> > > >> > Powerbuilder 11.5, I am using a richtextedit
>> > > datawindow >> > to import a text file and display it
>> > > on the screen >> before giving the user the option to
>> > > print it. > >> > I want to print and display it in
>> > > landscape mode, but >> > the datawindow does not
>> > > display in landscape, no matter >> > if the properties
>> > > are set in the IDE or using script at >> run time. >
>> > > >> > ===== here's some code ======
>> > > >> >
>> > > >> > string stemp, sfontname, sfontsize, sfontfamily
>> > > >> > long lthis, lmax
>> > > >> > sfontname = "Courier New"
>> > > >> > sfontsize = "9"
>> > > >> > sfontfamily = "modern"
>> > > >> > stemp = "{\rtf1\ansi\deff0{\fonttbl{\f0\f" +
>> > > sfontfamily >> > + & " " + sfontname+ "}}\qj" +
>> > > "{\f0\fs" + >> > string(integer(sfontsize)*2) + &
>> > > >> > "\cf0\up0\dn0\par}}"
>> > > >> >
>> > > >> > dw_1.pastertf(stemp)
>> > > >> > dw_1.insertdocument(myfile, False, FileTypeText!)
>> > > >> >
>> > > >> > =====end code====
>> > > >> >
>> > > >> > If I leave the popup menu available, and drill
>> > > into the >> > properties window and click on the print
>> > > specifications >> > tab and click ok...THEN my screen
>> > > changes to landscape >> > and my print job comes out
>> > > as desired. >> >
>> > > >> > What gives?
>> > > >> >
>> > > >> > I appreciate any help?
>> > > >> >
>> > > >> > -Leo
>> > > >>
>> > > >>
>> > >
>> > >


Leo Rodrigues Posted on 2009-10-06 17:28:21.0Z
Sender: 6a46.4acab333.1804289383@sybase.com
From: Leo Rodrigues
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Richtext datawindow landscape help please
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4acb7e35.1010.1681692777@sybase.com>
References: <4ac9d5e3$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 6 Oct 2009 10:28:21 -0700
X-Trace: forums-1-dub 1254850101 10.22.241.41 (6 Oct 2009 10:28:21 -0700)
X-Original-Trace: 6 Oct 2009 10:28:21 -0700, 10.22.241.41
Lines: 156
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90056
Article PK: 409663

Thanks Chris,

the teaking will continue.

> Hi Leo;
>
> That is Excellent news!
>
> No ... there should be no difference between a DS vs DC.
> Either way ... the print properties you are setting on
> the "datastore.object.print.xxxx.xxx = '??'" are the DW
> object's not the controls. So this should again work in
> either a DS or DC.
>
> Note: In your example syntax ... it should be coded:
> DS.Object.DataWindow.Print.Margin.Left = '2'
>
> HTH
>
> --
> Regards ... Chris
> ISUG - NA RUG Director
> http://chrispollach.pbdjmagazine.com
>
>
> <Leo Rodrigues> wrote in message
> > news:4ac66a8f.1715.1681692777@sybase.com... Chris,
> >
> > I've installed the build. The issue of landscape format
> > being displayed seems to be solved. As a bonus both the
> > powerbuilder IDE and my application are running
> > significantly faster :-).
> >
> > I still have to tweak things around.
> >
> > Question:
> >
> > does it make a difference whether I try to print from a
> > datastore or a datawindow? The datastore does not seem
> > to have print properties like
> > datastore.object.print.margin.left = '2'
> >
> > thanks,
> >
> > -Leo
> >
> >> Chris,
> >>
> >> those are localized runtime files...
> >>
> >> > No. Let me check on that....
> >> >
> >> > > Did you apply the 11.5.1 MR (build 4011)?
> >> > >
> >> > > --
> >> > > Regards ... Chris
> >> > > ISUG - NA RUG Director
> >> > > http://chrispollach.pbdjmagazine.com
> >> > >
> >> > >
> >> > > <Leo Rodrigues> wrote in message
> >> > > > news:4ac644fa.10b2.1681692777@sybase.com... Chris
> , >> > > >
> >> > > > thanks for the reply.
> >> > > >
> >> > > > I will try tweaking more properties, including
> the >> > > > preview one.
> >> > > >
> >> > > > Meanwhile, the real issue is that after migrating
> >> > > > from PB 10.2 to 11.5 our reports are not printing
> >> > > > correctly. Namely, the left margin is cutting the
> >> > > > first 2.5 characters of the report.
> >> > > >
> >> > > > Fixing the margin in the IDE via the dwo
> properties >> > > > fixes the left margin, but we still
> get the top >> > > > pushing the beginning of the text
> down (and >> > > seemingly to the right). >
> >> > > > creating a new rte datawindow and importing the
> >> > > > report contents into it is one approach i am
> taking >> > > > and that seems to work but only if i fix
> the >> > > landscape issue. >
> >> > > > The report comes from the application server in
> the >> > > > form of a text file. We insert the rtf
> encoding into >> > > > the rte control as exemplified in
> here and append >> > > > the contents of the text file
> into it at >> > > FileTypeText. >
> >> > > > Any insight is appreciated and I will be trying
> your >> > > > suggestions.
> >> > > >
> >> > > > Thanks,
> >> > > >
> >> > > > -Leo
> >> > > >
> >> > > >> Hi Leo;
> >> > > >>
> >> > > >> Did you set the RTE object into PrintPreview
> >> > > mode? >>
> >> > > >> RTE_xxx.Preview (TRUE)
> >> > > >>
> >> > > >> I do not believe that you will see the landscape
> >> > > setting >> unless you are in that mode.
> >> > > >>
> >> > > >> FWIW: Same for the DataWindow
> >> > > >> DC.Object.DataWindow.Print.Preview = 'Yes'
> >> > > >>
> >> > > >>
> >> > > >> HTH
> >> > > >>
> >> > > >> --
> >> > > >> Regards ... Chris
> >> > > >> ISUG - NA RUG Director
> >> > > >> http://chrispollach.pbdjmagazine.com
> >> > > >>
> >> > > >>
> >> > > >> <Leo Rodrigues> wrote in message
> >> > > >> > news:4ac6217f.ae3.1681692777@sybase.com... In
> >> > > >> > Powerbuilder 11.5, I am using a richtextedit
> >> > > datawindow >> > to import a text file and display
> it >> > > on the screen >> before giving the user the
> option to >> > > print it. > >> > I want to print and
> display it in >> > > landscape mode, but >> > the
> datawindow does not >> > > display in landscape, no matter
> >> > if the properties >> > > are set in the IDE or using
> script at >> run time. > >> > > >> > ===== here's some
> code ====== >> > > >> >
> >> > > >> > string stemp, sfontname, sfontsize,
> sfontfamily >> > > >> > long lthis, lmax
> >> > > >> > sfontname = "Courier New"
> >> > > >> > sfontsize = "9"
> >> > > >> > sfontfamily = "modern"
> >> > > >> > stemp = "{\rtf1\ansi\deff0{\fonttbl{\f0\f" +
> >> > > sfontfamily >> > + & " " + sfontname+ "}}\qj" +
> >> > > "{\f0\fs" + >> > string(integer(sfontsize)*2) + &
> >> > > >> > "\cf0\up0\dn0\par}}"
> >> > > >> >
> >> > > >> > dw_1.pastertf(stemp)
> >> > > >> > dw_1.insertdocument(myfile, False,
> FileTypeText!) >> > > >> >
> >> > > >> > =====end code====
> >> > > >> >
> >> > > >> > If I leave the popup menu available, and drill
> >> > > into the >> > properties window and click on the
> print >> > > specifications >> > tab and click ok...THEN
> my screen >> > > changes to landscape >> > and my print
> job comes out >> > > as desired. >> >
> >> > > >> > What gives?
> >> > > >> >
> >> > > >> > I appreciate any help?
> >> > > >> >
> >> > > >> > -Leo
> >> > > >>
> >> > > >>
> >> > >
> >> > >
>
>


Leo Rodrigues Posted on 2009-10-07 15:57:05.0Z
Sender: 6a46.4acab333.1804289383@sybase.com
From: Leo Rodrigues
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Richtext datawindow landscape help please
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4accba51.46cd.1681692777@sybase.com>
References: <4acb7e35.1010.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 7 Oct 2009 08:57:05 -0700
X-Trace: forums-1-dub 1254931025 10.22.241.41 (7 Oct 2009 08:57:05 -0700)
X-Original-Trace: 7 Oct 2009 08:57:05 -0700, 10.22.241.41
Lines: 181
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90067
Article PK: 409673

Chris,

I hope you're still reading this thread, if not I will
create a new one.

build 4011 fixes issues if the datawindow object properties
come from the datawindow painter.

If we try to make property changes programmatically, they
are being ignored at runtime.

It seems like this continues to be a bug (an improved bug
but still a bug on the RTE control).

Also, if displaying the popup menu and navigating to the
print specifications tab then the properties take effect.

Unless there is some command to instruct powerbuilder to
'accept' the programmatically done changes and repaint the
datawindow then this is a bug.

Any thoughts,

-Leo

> Thanks Chris,
>
> the teaking will continue.
>
> > Hi Leo;
> >
> > That is Excellent news!
> >
> > No ... there should be no difference between a DS vs DC.
> > Either way ... the print properties you are setting on
> > the "datastore.object.print.xxxx.xxx = '??'" are the DW
> > object's not the controls. So this should again work in
> > either a DS or DC.
> >
> > Note: In your example syntax ... it should be coded:
> > DS.Object.DataWindow.Print.Margin.Left = '2'
> >
> > HTH
> >
> > --
> > Regards ... Chris
> > ISUG - NA RUG Director
> > http://chrispollach.pbdjmagazine.com
> >
> >
> > <Leo Rodrigues> wrote in message
> > > news:4ac66a8f.1715.1681692777@sybase.com... Chris,
> > >
> > > I've installed the build. The issue of landscape
> > > format being displayed seems to be solved. As a bonus
> > > both the powerbuilder IDE and my application are
> > > running significantly faster :-).
> > >
> > > I still have to tweak things around.
> > >
> > > Question:
> > >
> > > does it make a difference whether I try to print from
> > > a datastore or a datawindow? The datastore does not
> > > seem to have print properties like
> > > datastore.object.print.margin.left = '2'
> > >
> > > thanks,
> > >
> > > -Leo
> > >
> > >> Chris,
> > >>
> > >> those are localized runtime files...
> > >>
> > >> > No. Let me check on that....
> > >> >
> > >> > > Did you apply the 11.5.1 MR (build 4011)?
> > >> > >
> > >> > > --
> > >> > > Regards ... Chris
> > >> > > ISUG - NA RUG Director
> > >> > > http://chrispollach.pbdjmagazine.com
> > >> > >
> > >> > >
> > >> > > <Leo Rodrigues> wrote in message
> > >> > > > news:4ac644fa.10b2.1681692777@sybase.com...
> > Chris , >> > > >
> > >> > > > thanks for the reply.
> > >> > > >
> > >> > > > I will try tweaking more properties, including
> > the >> > > > preview one.
> > >> > > >
> > >> > > > Meanwhile, the real issue is that after
> > migrating >> > > > from PB 10.2 to 11.5 our reports are
> > not printing >> > > > correctly. Namely, the left margin
> > is cutting the >> > > > first 2.5 characters of the
> > report. >> > > >
> > >> > > > Fixing the margin in the IDE via the dwo
> > properties >> > > > fixes the left margin, but we still
> > get the top >> > > > pushing the beginning of the text
> > down (and >> > > seemingly to the right). >
> > >> > > > creating a new rte datawindow and importing the
> > >> > > > report contents into it is one approach i am
> > taking >> > > > and that seems to work but only if i fix
> > the >> > > landscape issue. >
> > >> > > > The report comes from the application server in
> > the >> > > > form of a text file. We insert the rtf
> > encoding into >> > > > the rte control as exemplified in
> > here and append >> > > > the contents of the text file
> > into it at >> > > FileTypeText. >
> > >> > > > Any insight is appreciated and I will be trying
> > your >> > > > suggestions.
> > >> > > >
> > >> > > > Thanks,
> > >> > > >
> > >> > > > -Leo
> > >> > > >
> > >> > > >> Hi Leo;
> > >> > > >>
> > >> > > >> Did you set the RTE object into
> > PrintPreview >> > > mode? >>
> > >> > > >> RTE_xxx.Preview (TRUE)
> > >> > > >>
> > >> > > >> I do not believe that you will see the
> > landscape >> > > setting >> unless you are in that
> > mode. >> > > >>
> > >> > > >> FWIW: Same for the DataWindow
> > >> > > >> DC.Object.DataWindow.Print.Preview = 'Yes'
> > >> > > >>
> > >> > > >>
> > >> > > >> HTH
> > >> > > >>
> > >> > > >> --
> > >> > > >> Regards ... Chris
> > >> > > >> ISUG - NA RUG Director
> > >> > > >> http://chrispollach.pbdjmagazine.com
> > >> > > >>
> > >> > > >>
> > >> > > >> <Leo Rodrigues> wrote in message
> > >> > > >> > news:4ac6217f.ae3.1681692777@sybase.com...
> > In >> > > >> > Powerbuilder 11.5, I am using a
> > richtextedit >> > > datawindow >> > to import a text
> > file and display it >> > > on the screen >> before
> > giving the user the option to >> > > print it. > >> > I
> > want to print and display it in >> > > landscape mode,
> > but >> > the datawindow does not >> > > display in
> > landscape, no matter >> > if the properties >> > > are
> > set in the IDE or using script at >> run time. > >> > >
> > >> > ===== here's some code ====== >> > > >> >
> > >> > > >> > string stemp, sfontname, sfontsize,
> > sfontfamily >> > > >> > long lthis, lmax
> > >> > > >> > sfontname = "Courier New"
> > >> > > >> > sfontsize = "9"
> > >> > > >> > sfontfamily = "modern"
> > >> > > >> > stemp = "{\rtf1\ansi\deff0{\fonttbl{\f0\f" +
> > >> > > sfontfamily >> > + & " " + sfontname+ "}}\qj" +
> > >> > > "{\f0\fs" + >> > string(integer(sfontsize)*2) + &
> > >> > > >> > "\cf0\up0\dn0\par}}"
> > >> > > >> >
> > >> > > >> > dw_1.pastertf(stemp)
> > >> > > >> > dw_1.insertdocument(myfile, False,
> > FileTypeText!) >> > > >> >
> > >> > > >> > =====end code====
> > >> > > >> >
> > >> > > >> > If I leave the popup menu available, and
> > drill >> > > into the >> > properties window and click
> > on the print >> > > specifications >> > tab and click
> > ok...THEN my screen >> > > changes to landscape >> > and
> > my print job comes out >> > > as desired. >> >
> > >> > > >> > What gives?
> > >> > > >> >
> > >> > > >> > I appreciate any help?
> > >> > > >> >
> > >> > > >> > -Leo
> > >> > > >>
> > >> > > >>
> > >> > >
> > >> > >
> >
> >


Chris Pollach Posted on 2009-10-07 16:19:20.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <4acb7e35.1010.1681692777@sybase.com> <4accba51.46cd.1681692777@sybase.com>
Subject: Re: Richtext datawindow landscape help please
Lines: 194
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4accbf88$1@forums-1-dub>
Date: 7 Oct 2009 09:19:20 -0700
X-Trace: forums-1-dub 1254932360 10.22.241.152 (7 Oct 2009 09:19:20 -0700)
X-Original-Trace: 7 Oct 2009 09:19:20 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90068
Article PK: 409674

You can always *trick* the DWO into repainting by using the old GroupCalc
( ) method.
Even if you have no groups - this should force the repaint. Give that a try.

HTH

<Leo Rodrigues> wrote in message news:4accba51.46cd.1681692777@sybase.com...
> Chris,
>
> I hope you're still reading this thread, if not I will
> create a new one.
>
> build 4011 fixes issues if the datawindow object properties
> come from the datawindow painter.
>
> If we try to make property changes programmatically, they
> are being ignored at runtime.
>
> It seems like this continues to be a bug (an improved bug
> but still a bug on the RTE control).
>
> Also, if displaying the popup menu and navigating to the
> print specifications tab then the properties take effect.
>
> Unless there is some command to instruct powerbuilder to
> 'accept' the programmatically done changes and repaint the
> datawindow then this is a bug.
>
> Any thoughts,
>
> -Leo
>
>> Thanks Chris,
>>
>> the teaking will continue.
>>
>> > Hi Leo;
>> >
>> > That is Excellent news!
>> >
>> > No ... there should be no difference between a DS vs DC.
>> > Either way ... the print properties you are setting on
>> > the "datastore.object.print.xxxx.xxx = '??'" are the DW
>> > object's not the controls. So this should again work in
>> > either a DS or DC.
>> >
>> > Note: In your example syntax ... it should be coded:
>> > DS.Object.DataWindow.Print.Margin.Left = '2'
>> >
>> > HTH
>> >
>> > --
>> > Regards ... Chris
>> > ISUG - NA RUG Director
>> > http://chrispollach.pbdjmagazine.com
>> >
>> >
>> > <Leo Rodrigues> wrote in message
>> > > news:4ac66a8f.1715.1681692777@sybase.com... Chris,
>> > >
>> > > I've installed the build. The issue of landscape
>> > > format being displayed seems to be solved. As a bonus
>> > > both the powerbuilder IDE and my application are
>> > > running significantly faster :-).
>> > >
>> > > I still have to tweak things around.
>> > >
>> > > Question:
>> > >
>> > > does it make a difference whether I try to print from
>> > > a datastore or a datawindow? The datastore does not
>> > > seem to have print properties like
>> > > datastore.object.print.margin.left = '2'
>> > >
>> > > thanks,
>> > >
>> > > -Leo
>> > >
>> > >> Chris,
>> > >>
>> > >> those are localized runtime files...
>> > >>
>> > >> > No. Let me check on that....
>> > >> >
>> > >> > > Did you apply the 11.5.1 MR (build 4011)?
>> > >> > >
>> > >> > > --
>> > >> > > Regards ... Chris
>> > >> > > ISUG - NA RUG Director
>> > >> > > http://chrispollach.pbdjmagazine.com
>> > >> > >
>> > >> > >
>> > >> > > <Leo Rodrigues> wrote in message
>> > >> > > > news:4ac644fa.10b2.1681692777@sybase.com...
>> > Chris , >> > > >
>> > >> > > > thanks for the reply.
>> > >> > > >
>> > >> > > > I will try tweaking more properties, including
>> > the >> > > > preview one.
>> > >> > > >
>> > >> > > > Meanwhile, the real issue is that after
>> > migrating >> > > > from PB 10.2 to 11.5 our reports are
>> > not printing >> > > > correctly. Namely, the left margin
>> > is cutting the >> > > > first 2.5 characters of the
>> > report. >> > > >
>> > >> > > > Fixing the margin in the IDE via the dwo
>> > properties >> > > > fixes the left margin, but we still
>> > get the top >> > > > pushing the beginning of the text
>> > down (and >> > > seemingly to the right). >
>> > >> > > > creating a new rte datawindow and importing the
>> > >> > > > report contents into it is one approach i am
>> > taking >> > > > and that seems to work but only if i fix
>> > the >> > > landscape issue. >
>> > >> > > > The report comes from the application server in
>> > the >> > > > form of a text file. We insert the rtf
>> > encoding into >> > > > the rte control as exemplified in
>> > here and append >> > > > the contents of the text file
>> > into it at >> > > FileTypeText. >
>> > >> > > > Any insight is appreciated and I will be trying
>> > your >> > > > suggestions.
>> > >> > > >
>> > >> > > > Thanks,
>> > >> > > >
>> > >> > > > -Leo
>> > >> > > >
>> > >> > > >> Hi Leo;
>> > >> > > >>
>> > >> > > >> Did you set the RTE object into
>> > PrintPreview >> > > mode? >>
>> > >> > > >> RTE_xxx.Preview (TRUE)
>> > >> > > >>
>> > >> > > >> I do not believe that you will see the
>> > landscape >> > > setting >> unless you are in that
>> > mode. >> > > >>
>> > >> > > >> FWIW: Same for the DataWindow
>> > >> > > >> DC.Object.DataWindow.Print.Preview = 'Yes'
>> > >> > > >>
>> > >> > > >>
>> > >> > > >> HTH
>> > >> > > >>
>> > >> > > >> --
>> > >> > > >> Regards ... Chris
>> > >> > > >> ISUG - NA RUG Director
>> > >> > > >> http://chrispollach.pbdjmagazine.com
>> > >> > > >>
>> > >> > > >>
>> > >> > > >> <Leo Rodrigues> wrote in message
>> > >> > > >> > news:4ac6217f.ae3.1681692777@sybase.com...
>> > In >> > > >> > Powerbuilder 11.5, I am using a
>> > richtextedit >> > > datawindow >> > to import a text
>> > file and display it >> > > on the screen >> before
>> > giving the user the option to >> > > print it. > >> > I
>> > want to print and display it in >> > > landscape mode,
>> > but >> > the datawindow does not >> > > display in
>> > landscape, no matter >> > if the properties >> > > are
>> > set in the IDE or using script at >> run time. > >> > >
>> > >> > ===== here's some code ====== >> > > >> >
>> > >> > > >> > string stemp, sfontname, sfontsize,
>> > sfontfamily >> > > >> > long lthis, lmax
>> > >> > > >> > sfontname = "Courier New"
>> > >> > > >> > sfontsize = "9"
>> > >> > > >> > sfontfamily = "modern"
>> > >> > > >> > stemp = "{\rtf1\ansi\deff0{\fonttbl{\f0\f" +
>> > >> > > sfontfamily >> > + & " " + sfontname+ "}}\qj" +
>> > >> > > "{\f0\fs" + >> > string(integer(sfontsize)*2) + &
>> > >> > > >> > "\cf0\up0\dn0\par}}"
>> > >> > > >> >
>> > >> > > >> > dw_1.pastertf(stemp)
>> > >> > > >> > dw_1.insertdocument(myfile, False,
>> > FileTypeText!) >> > > >> >
>> > >> > > >> > =====end code====
>> > >> > > >> >
>> > >> > > >> > If I leave the popup menu available, and
>> > drill >> > > into the >> > properties window and click
>> > on the print >> > > specifications >> > tab and click
>> > ok...THEN my screen >> > > changes to landscape >> > and
>> > my print job comes out >> > > as desired. >> >
>> > >> > > >> > What gives?
>> > >> > > >> >
>> > >> > > >> > I appreciate any help?
>> > >> > > >> >
>> > >> > > >> > -Leo
>> > >> > > >>
>> > >> > > >>
>> > >> > >
>> > >> > >
>> >
>> >


naren Posted on 2009-10-21 18:59:56.0Z
From: naren <nunnanaren@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Richtext datawindow landscape help please
Date: Wed, 21 Oct 2009 11:59:56 -0700 (PDT)
Organization: http://groups.google.com
Lines: 191
Message-ID: <3503a30c-3323-4a81-b261-dddc299a5355@p9g2000vbl.googlegroups.com>
References: <4acb7e35.1010.1681692777@sybase.com> <4accba51.46cd.1681692777@sybase.com>
NNTP-Posting-Host: 208.242.12.200
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1256151596 15673 127.0.0.1 (21 Oct 2009 18:59:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 21 Oct 2009 18:59:56 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: p9g2000vbl.googlegroups.com; posting-host=208.242.12.200; posting-account=EkO5NQoAAABjpbGuzb-rodCWGLc-ZxaM
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.yul.equant.net!novia!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!p9g2000vbl.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90114
Article PK: 409718


On Oct 7, 11:57 am, Leo Rodrigues wrote:
> Chris,
>
> I hope you're still reading this thread, if not I will
> create a new one.
>
> build 4011 fixes issues if the datawindow object properties
> come from the datawindow painter.
>
> If we try to make property changes programmatically, they
> are being ignored at runtime.
>
> It seems like this continues to be a bug (an improved bug
> but still a bug on the RTE control).
>
> Also, if displaying the popup menu and navigating to the
> print specifications tab then the properties take effect.
>
> Unless there is some command to instruct powerbuilder to
> 'accept' the programmatically done changes and repaint the
> datawindow then this is a bug.
>
> Any thoughts,
>
> -Leo> Thanks Chris,
>
> > the teaking will continue.
>
> > > Hi Leo;
>
> > >     That is Excellent news!
>
> > > No ... there should be no difference between a DS vs DC.
> > > Either way ... the  print properties you are setting on
> > > the "datastore.object.print.xxxx.xxx =  '??'" are the DW
> > > object's not the controls. So this should again work in
> > > either a DS or DC.
>
> > > Note: In your example syntax ... it should be coded:
> > > DS.Object.DataWindow.Print.Margin.Left = '2'
>
> > > HTH
>
> > > --
> > > Regards ... Chris
> > > ISUG - NA RUG Director
> > >http://chrispollach.pbdjmagazine.com
>
> > > <Leo Rodrigues> wrote in message
> > > >news:4ac66a8f.1715.1681692777@sybase.com... Chris,
>
> > > > I've installed the build. The issue of landscape
> > > > format being displayed seems to be solved. As a bonus
> > > > both the powerbuilder IDE and my application are
> > > > running significantly faster :-).
>
> > > > I still have to tweak things around.
>
> > > > Question:
>
> > > > does it make a difference whether I try to print from
> > > > a datastore or a datawindow? The datastore does not
> > > > seem to have print properties like
> > > > datastore.object.print.margin.left = '2'
>
> > > > thanks,
>
> > > > -Leo
>
> > > >> Chris,
>
> > > >> those are localized runtime files...
>
> > > >> > No. Let me check on that....
>
> > > >> > > Did you apply the 11.5.1 MR (build 4011)?
>
> > > >> > > --
> > > >> > > Regards ... Chris
> > > >> > > ISUG - NA RUG Director
> > > >> > >http://chrispollach.pbdjmagazine.com
>
> > > >> > > <Leo Rodrigues> wrote in message
> > > >> > > >news:4ac644fa.10b2.1681692777@sybase.com...
> > > Chris , >> > > >
> > > >> > > > thanks for the reply.
>
> > > >> > > > I will try tweaking more properties, including
> > > the >> > > > preview one.
>
> > > >> > > > Meanwhile, the real issue is that after
> > > migrating >> > > > from PB 10.2 to 11.5 our reports are
> > > not printing >> > > > correctly. Namely, the left margin
> > > is cutting the >> > > > first 2.5 characters of the
> > > report. >> > > >
> > > >> > > > Fixing the margin in the IDE via the dwo
> > > properties >> > > > fixes the left margin, but we still
> > > get the top >> > > > pushing the beginning of the text
> > > down (and >> > > seemingly to the right). >
> > > >> > > > creating a new rte datawindow and importing the
> > > >> > > > report contents into it is one approach i am
> > > taking >> > > > and that seems to work but only if i fix
> > > the >> > > landscape issue. >
> > > >> > > > The report comes from the application server in
> > > the >> > > > form of a text file. We insert the rtf
> > > encoding into >> > > > the rte control as exemplified in
> > > here and append >> > > > the contents of the text file
> > > into it at >> > > FileTypeText. >
> > > >> > > > Any insight is appreciated and I will be trying
> > > your >> > > > suggestions.
>
> > > >> > > > Thanks,
>
> > > >> > > > -Leo
>
> > > >> > > >> Hi Leo;
>
> > > >> > > >>     Did you set the RTE object into
> > > PrintPreview >> > > mode? >>
> > > >> > > >> RTE_xxx.Preview (TRUE)
>
> > > >> > > >> I do not believe that you will see the
> > > landscape >> > > setting >> unless you are in  that
> > > mode. >> > > >>
> > > >> > > >> FWIW: Same for the DataWindow
> > > >> > > >> DC.Object.DataWindow.Print.Preview = 'Yes'
>
> > > >> > > >> HTH
>
> > > >> > > >> --
> > > >> > > >> Regards ... Chris
> > > >> > > >> ISUG - NA RUG Director
> > > >> > > >>http://chrispollach.pbdjmagazine.com
>
> > > >> > > >> <Leo Rodrigues> wrote in message
> > > >> > > >> >news:4ac6217f.ae3.1681692777@sybase.com...
> > > In >> > > >> > Powerbuilder 11.5, I am using a
> > > richtextedit >> > > datawindow >> > to import a text
> > > file and display it >> > > on the screen >> before
> > > giving the user the option to >> > > print it. > >> > I
> > > want to print and display it in >> > > landscape mode,
> > > but >> > the datawindow does not >> > > display in
> > > landscape, no matter >> > if the properties >> > > are
> > > set in the IDE or using script at >> run time. > >> > >
> > > >> > ===== here's some code ====== >> > > >> >
> > > >> > > >> > string stemp, sfontname, sfontsize,
> > > sfontfamily >> > > >> > long lthis, lmax
> > > >> > > >> > sfontname = "Courier New"
> > > >> > > >> > sfontsize = "9"
> > > >> > > >> > sfontfamily = "modern"
> > > >> > > >> > stemp = "{\rtf1\ansi\deff0{\fonttbl{\f0\f" +
> > > >> > > sfontfamily >> > + & " " + sfontname+ "}}\qj" +
> > > >> > > "{\f0\fs" + >> > string(integer(sfontsize)*2) + &
> > > >> > > >> > "\cf0\up0\dn0\par}}"
>
> > > >> > > >> > dw_1.pastertf(stemp)
> > > >> > > >> > dw_1.insertdocument(myfile, False,
> > > FileTypeText!) >> > > >> >
> > > >> > > >> > =====end code====
>
> > > >> > > >> > If I leave the popup menu available, and
> > > drill >> > > into the >> > properties window and click
> > > on the print >> > > specifications >> > tab and click
> > > ok...THEN my screen >> > > changes to landscape >> > and
> > > my print job comes out >> > > as desired. >> >
> > > >> > > >> > What gives?
>
> > > >> > > >> > I appreciate any help?
>
> > > >> > > >> > -Leo

----------------------------------------------Naren
Here-----------------------------------------

i migrated application from PB 7 to PB 11.5

rte works good in PB 7

but when i migrated to PB 11.5

rte in the preview mode is not displaying any tool bar for editing
the margins .

did naything channged in this setting in PB 11.5 or i have to give any
special properties to appear the margin editter in the preview mode ,

please help me ,i am struggling with this for past 10 days .


Thanks,
Naren Nunna


naren Posted on 2009-10-22 15:52:15.0Z
From: naren <nunnanaren@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Richtext datawindow landscape help please
Date: Thu, 22 Oct 2009 08:52:15 -0700 (PDT)
Organization: http://groups.google.com
Lines: 192
Message-ID: <bc4c32df-c5fd-4167-af00-6647dbc75b72@r31g2000vbi.googlegroups.com>
References: <4acb7e35.1010.1681692777@sybase.com> <4accba51.46cd.1681692777@sybase.com>
NNTP-Posting-Host: 208.242.12.200
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1256226735 29175 127.0.0.1 (22 Oct 2009 15:52:15 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 22 Oct 2009 15:52:15 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r31g2000vbi.googlegroups.com; posting-host=208.242.12.200; posting-account=EkO5NQoAAABjpbGuzb-rodCWGLc-ZxaM
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.cs.utexas.edu!elk.ncren.net!solaris.cc.vt.edu!news.vt.edu!news.glorb.com!postnews.google.com!r31g2000vbi.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90130
Article PK: 409735


On Oct 7, 11:57 am, Leo Rodrigues wrote:
> Chris,
>
> I hope you're still reading this thread, if not I will
> create a new one.
>
> build 4011 fixes issues if the datawindow object properties
> come from the datawindow painter.
>
> If we try to make property changes programmatically, they
> are being ignored at runtime.
>
> It seems like this continues to be a bug (an improved bug
> but still a bug on the RTE control).
>
> Also, if displaying the popup menu and navigating to the
> print specifications tab then the properties take effect.
>
> Unless there is some command to instruct powerbuilder to
> 'accept' the programmatically done changes and repaint the
> datawindow then this is a bug.
>
> Any thoughts,
>
> -Leo> Thanks Chris,
>
> > the teaking will continue.
>
> > > Hi Leo;
>
> > >     That is Excellent news!
>
> > > No ... there should be no difference between a DS vs DC.
> > > Either way ... the  print properties you are setting on
> > > the "datastore.object.print.xxxx.xxx =  '??'" are the DW
> > > object's not the controls. So this should again work in
> > > either a DS or DC.
>
> > > Note: In your example syntax ... it should be coded:
> > > DS.Object.DataWindow.Print.Margin.Left = '2'
>
> > > HTH
>
> > > --
> > > Regards ... Chris
> > > ISUG - NA RUG Director
> > >http://chrispollach.pbdjmagazine.com
>
> > > <Leo Rodrigues> wrote in message
> > > >news:4ac66a8f.1715.1681692777@sybase.com... Chris,
>
> > > > I've installed the build. The issue of landscape
> > > > format being displayed seems to be solved. As a bonus
> > > > both the powerbuilder IDE and my application are
> > > > running significantly faster :-).
>
> > > > I still have to tweak things around.
>
> > > > Question:
>
> > > > does it make a difference whether I try to print from
> > > > a datastore or a datawindow? The datastore does not
> > > > seem to have print properties like
> > > > datastore.object.print.margin.left = '2'
>
> > > > thanks,
>
> > > > -Leo
>
> > > >> Chris,
>
> > > >> those are localized runtime files...
>
> > > >> > No. Let me check on that....
>
> > > >> > > Did you apply the 11.5.1 MR (build 4011)?
>
> > > >> > > --
> > > >> > > Regards ... Chris
> > > >> > > ISUG - NA RUG Director
> > > >> > >http://chrispollach.pbdjmagazine.com
>
> > > >> > > <Leo Rodrigues> wrote in message
> > > >> > > >news:4ac644fa.10b2.1681692777@sybase.com...
> > > Chris , >> > > >
> > > >> > > > thanks for the reply.
>
> > > >> > > > I will try tweaking more properties, including
> > > the >> > > > preview one.
>
> > > >> > > > Meanwhile, the real issue is that after
> > > migrating >> > > > from PB 10.2 to 11.5 our reports are
> > > not printing >> > > > correctly. Namely, the left margin
> > > is cutting the >> > > > first 2.5 characters of the
> > > report. >> > > >
> > > >> > > > Fixing the margin in the IDE via the dwo
> > > properties >> > > > fixes the left margin, but we still
> > > get the top >> > > > pushing the beginning of the text
> > > down (and >> > > seemingly to the right). >
> > > >> > > > creating a new rte datawindow and importing the
> > > >> > > > report contents into it is one approach i am
> > > taking >> > > > and that seems to work but only if i fix
> > > the >> > > landscape issue. >
> > > >> > > > The report comes from the application server in
> > > the >> > > > form of a text file. We insert the rtf
> > > encoding into >> > > > the rte control as exemplified in
> > > here and append >> > > > the contents of the text file
> > > into it at >> > > FileTypeText. >
> > > >> > > > Any insight is appreciated and I will be trying
> > > your >> > > > suggestions.
>
> > > >> > > > Thanks,
>
> > > >> > > > -Leo
>
> > > >> > > >> Hi Leo;
>
> > > >> > > >>     Did you set the RTE object into
> > > PrintPreview >> > > mode? >>
> > > >> > > >> RTE_xxx.Preview (TRUE)
>
> > > >> > > >> I do not believe that you will see the
> > > landscape >> > > setting >> unless you are in  that
> > > mode. >> > > >>
> > > >> > > >> FWIW: Same for the DataWindow
> > > >> > > >> DC.Object.DataWindow.Print.Preview = 'Yes'
>
> > > >> > > >> HTH
>
> > > >> > > >> --
> > > >> > > >> Regards ... Chris
> > > >> > > >> ISUG - NA RUG Director
> > > >> > > >>http://chrispollach.pbdjmagazine.com
>
> > > >> > > >> <Leo Rodrigues> wrote in message
> > > >> > > >> >news:4ac6217f.ae3.1681692777@sybase.com...
> > > In >> > > >> > Powerbuilder 11.5, I am using a
> > > richtextedit >> > > datawindow >> > to import a text
> > > file and display it >> > > on the screen >> before
> > > giving the user the option to >> > > print it. > >> > I
> > > want to print and display it in >> > > landscape mode,
> > > but >> > the datawindow does not >> > > display in
> > > landscape, no matter >> > if the properties >> > > are
> > > set in the IDE or using script at >> run time. > >> > >
> > > >> > ===== here's some code ====== >> > > >> >
> > > >> > > >> > string stemp, sfontname, sfontsize,
> > > sfontfamily >> > > >> > long lthis, lmax
> > > >> > > >> > sfontname = "Courier New"
> > > >> > > >> > sfontsize = "9"
> > > >> > > >> > sfontfamily = "modern"
> > > >> > > >> > stemp = "{\rtf1\ansi\deff0{\fonttbl{\f0\f" +
> > > >> > > sfontfamily >> > + & " " + sfontname+ "}}\qj" +
> > > >> > > "{\f0\fs" + >> > string(integer(sfontsize)*2) + &
> > > >> > > >> > "\cf0\up0\dn0\par}}"
>
> > > >> > > >> > dw_1.pastertf(stemp)
> > > >> > > >> > dw_1.insertdocument(myfile, False,
> > > FileTypeText!) >> > > >> >
> > > >> > > >> > =====end code====
>
> > > >> > > >> > If I leave the popup menu available, and
> > > drill >> > > into the >> > properties window and click
> > > on the print >> > > specifications >> > tab and click
> > > ok...THEN my screen >> > > changes to landscape >> > and
> > > my print job comes out >> > > as desired. >> >
> > > >> > > >> > What gives?
>
> > > >> > > >> > I appreciate any help?
>
> > > >> > > >> > -Leo

hi,
i have migrated from PB 7 to PB 11.5
i dont find the margin edittor in the preview mode of rich text
edit ,
we need the margin edittor in preview mode to mainly adjust the top
and below margins ,
is that we have to include any more setting's for the rte preview
mode
in PB 11.5?
--- we give a commad like this rte_display.preview(TRUE)
but we could not find the margin edittor in the preview mode ,


please help me ,i am struggling ,


any suggestions are appreciated .


Thanks,
Naren Nunna


naren Posted on 2009-10-21 19:56:19.0Z
From: naren <nunnanaren@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Richtext datawindow landscape help please
Date: Wed, 21 Oct 2009 12:56:19 -0700 (PDT)
Organization: http://groups.google.com
Lines: 162
Message-ID: <7849dbe3-22de-47d8-b6b6-c4088d74ba8d@k26g2000vbp.googlegroups.com>
References: <4ac65c25.14d0.1681692777@sybase.com> <4ac66a8f.1715.1681692777@sybase.com> <4ac9d5e3$1@forums-1-dub>
NNTP-Posting-Host: 208.242.12.200
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1256154979 28133 127.0.0.1 (21 Oct 2009 19:56:19 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 21 Oct 2009 19:56:19 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: k26g2000vbp.googlegroups.com; posting-host=208.242.12.200; posting-account=EkO5NQoAAABjpbGuzb-rodCWGLc-ZxaM
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!k26g2000vbp.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:90121
Article PK: 409724


On Oct 5, 7:17 am, "Chris Pollach" <cpoll...@travel-net.com> wrote:
> Hi Leo;
>
>     That is Excellent news!
>
> No ... there should be no difference between a DS vs DC. Either way ... the
> print properties you are setting on the "datastore.object.print.xxxx.xxx =
> '??'" are the DW object's not the controls. So this should again work in
> either a DS or DC.
>
> Note: In your example syntax ... it should be coded:
> DS.Object.DataWindow.Print.Margin.Left = '2'
>
> HTH
>
> --
> Regards ... Chris
> ISUG - NA RUG Directorhttp://chrispollach.pbdjmagazine.com<Leo Rodrigues> wrote in messagenews:4ac66a8f.1715.1681692777@sybase.com...
> > Chris,
>
> > I've installed the build. The issue of landscape format
> > being displayed seems to be solved. As a bonus both the
> > powerbuilder IDE and my application are running
> > significantly faster :-).
>
> > I still have to tweak things around.
>
> > Question:
>
> > does it make a difference whether I try to print from a
> > datastore or a datawindow? The datastore does not seem to
> > have print properties like
> > datastore.object.print.margin.left = '2'
>
> > thanks,
>
> > -Leo
>
> >> Chris,
>
> >> those are localized runtime files...
>
> >> > No. Let me check on that....
>
> >> > > Did you apply the 11.5.1 MR (build 4011)?
>
> >> > > --
> >> > > Regards ... Chris
> >> > > ISUG - NA RUG Director
> >> > >http://chrispollach.pbdjmagazine.com
>
> >> > > <Leo Rodrigues> wrote in message
> >> > > >news:4ac644fa.10b2.1681692777@sybase.com... Chris,
>
> >> > > > thanks for the reply.
>
> >> > > > I will try tweaking more properties, including the
> >> > > > preview one.
>
> >> > > > Meanwhile, the real issue is that after migrating
> >> > > > from PB 10.2 to 11.5 our reports are not printing
> >> > > > correctly. Namely, the left margin is cutting the
> >> > > > first 2.5 characters of the report.
>
> >> > > > Fixing the margin in the IDE via the dwo properties
> >> > > > fixes the left margin, but we still get the top
> >> > > > pushing the beginning of the text down (and
> >> > > seemingly to the right). >
> >> > > > creating a new rte datawindow and importing the
> >> > > > report contents into it is one approach i am taking
> >> > > > and that seems to work but only if i fix the
> >> > > landscape issue. >
> >> > > > The report comes from the application server in the
> >> > > > form of a text file. We insert the rtf encoding into
> >> > > > the rte control as exemplified in here and append
> >> > > > the contents of the text file into it at
> >> > > FileTypeText. >
> >> > > > Any insight is appreciated and I will be trying your
> >> > > > suggestions.
>
> >> > > > Thanks,
>
> >> > > > -Leo
>
> >> > > >> Hi Leo;
>
> >> > > >>     Did you set the RTE object into PrintPreview
> >> > > mode? >>
> >> > > >> RTE_xxx.Preview (TRUE)
>
> >> > > >> I do not believe that you will see the landscape
> >> > > setting >> unless you are in  that mode.
>
> >> > > >> FWIW: Same for the DataWindow
> >> > > >> DC.Object.DataWindow.Print.Preview = 'Yes'
>
> >> > > >> HTH
>
> >> > > >> --
> >> > > >> Regards ... Chris
> >> > > >> ISUG - NA RUG Director
> >> > > >>http://chrispollach.pbdjmagazine.com
>
> >> > > >> <Leo Rodrigues> wrote in message
> >> > > >> >news:4ac6217f.ae3.1681692777@sybase.com... In
> >> > > >> > Powerbuilder 11.5, I am using a richtextedit
> >> > > datawindow >> > to import a text file and display it
> >> > > on the screen >> before giving the user the option to
> >> > > print it. > >> > I want to print and display it in
> >> > > landscape mode, but >> > the datawindow does not
> >> > > display in landscape, no matter >> > if the properties
> >> > > are set in the IDE or using script at >> run time. >
> >> > > >> > ===== here's some code ======
>
> >> > > >> > string stemp, sfontname, sfontsize, sfontfamily
> >> > > >> > long lthis, lmax
> >> > > >> > sfontname = "Courier New"
> >> > > >> > sfontsize = "9"
> >> > > >> > sfontfamily = "modern"
> >> > > >> > stemp = "{\rtf1\ansi\deff0{\fonttbl{\f0\f" +
> >> > > sfontfamily >> > + & " " + sfontname+ "}}\qj" +
> >> > > "{\f0\fs" + >> > string(integer(sfontsize)*2) + &
> >> > > >> > "\cf0\up0\dn0\par}}"
>
> >> > > >> > dw_1.pastertf(stemp)
> >> > > >> > dw_1.insertdocument(myfile, False, FileTypeText!)
>
> >> > > >> > =====end code====
>
> >> > > >> > If I leave the popup menu available, and drill
> >> > > into the >> > properties window and click on the print
> >> > > specifications >> > tab and click ok...THEN my screen
> >> > > changes to landscape >> > and my print job comes out
> >> > > as desired. >> >
> >> > > >> > What gives?
>
> >> > > >> > I appreciate any help?
>
> >> > > >> > -Leo

-------------Naren Here
------------------------------------------------------------------

Hi ,
i have migrated my application from PB 7 to PB 11.5

after migrating i cannot see the margin edit toolbar in the preview
mode of RTE .

shall i have to ad any more commands ti display margin edit tool bar
in mpreview mode of RTE ?

any suugestions are appreciated .
please help ,i am struggling with issue from 1 month .


Thanks.,\
Naren Nunna