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.

Print Problem

3 posts in Last posting was on 2009-10-12 19:16:36.0Z
Randy Berghefer Posted on 2009-09-30 21:30:08.0Z
From: "Randy Berghefer" <rberghef@iastate.edu>
Newsgroups: sybase.public.powerbuilder.rte
Subject: Print Problem
Lines: 6
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: <4ac3cde0$1@forums-1-dub>
Date: 30 Sep 2009 14:30:08 -0700
X-Trace: forums-1-dub 1254346208 10.22.241.152 (30 Sep 2009 14:30:08 -0700)
X-Original-Trace: 30 Sep 2009 14:30:08 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.rte:320
Article PK: 791897

Now I have ran into another problem.I use datasource for part of the rte. I
am using a simple print command rte_1.Print(1, "", TRUE, FALSE) what is
happening is all the inputfields are turnning to "??" question marks. Again
I hope someone can tell me what I am doing wrong.


Chris Pollach Posted on 2009-10-02 16:55:59.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.powerbuilder.rte
References: <4ac3cde0$1@forums-1-dub>
Subject: Re: Print Problem
Lines: 27
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; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4ac6309f$1@forums-1-dub>
Date: 2 Oct 2009 09:55:59 -0700
X-Trace: forums-1-dub 1254502559 10.22.241.152 (2 Oct 2009 09:55:59 -0700)
X-Original-Trace: 2 Oct 2009 09:55:59 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.rte:322
Article PK: 761986

Hi Randy;

I assume that the RichTextEdit control shares data with a DataWindow.
When you Print you might be getting the RTE control confused by getting
focus and thus thinking that its in data entry mode for the data fields. I
wonder if setting the RTE control to "Disabled" and /or Tab Order to zero
might cure this behaviour (just a guess).

BTW: What version of PB are you using? I ask this because the control was
changed in recent PB releases.

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

"Randy Berghefer" <rberghef@iastate.edu> wrote in message
news:4ac3cde0$1@forums-1-dub...
> Now I have ran into another problem.I use datasource for part of the rte.
> I am using a simple print command rte_1.Print(1, "", TRUE, FALSE) what is
> happening is all the inputfields are turnning to "??" question marks.
> Again I hope someone can tell me what I am doing wrong.
>
>


Randy Berghefer Posted on 2009-10-12 19:16:36.0Z
From: "Randy Berghefer" <rberghef@iastate.edu>
Newsgroups: sybase.public.powerbuilder.rte
References: <4ac3cde0$1@forums-1-dub> <4ac6309f$1@forums-1-dub>
Subject: Re: Print Problem
Lines: 36
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; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4ad38094$1@forums-1-dub>
Date: 12 Oct 2009 12:16:36 -0700
X-Trace: forums-1-dub 1255374996 10.22.241.152 (12 Oct 2009 12:16:36 -0700)
X-Original-Trace: 12 Oct 2009 12:16:36 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.rte:325
Article PK: 791882

Setting tab order to 0 and/or disable did not help, what has worked is
savedocument and then open the document into another hidden rich text, and
then print the hidden rich text.Thanks for the suggestions.

"Chris Pollach" <cpollach@travel-net.com> wrote in message
news:4ac6309f$1@forums-1-dub...
> Hi Randy;
>
> I assume that the RichTextEdit control shares data with a DataWindow.
> When you Print you might be getting the RTE control confused by getting
> focus and thus thinking that its in data entry mode for the data fields. I
> wonder if setting the RTE control to "Disabled" and /or Tab Order to zero
> might cure this behaviour (just a guess).
>
> BTW: What version of PB are you using? I ask this because the control was
> changed in recent PB releases.
>
> --
> Regards ... Chris
> ISUG - NA RUG Director
> http://chrispollach.pbdjmagazine.com
>
>
> "Randy Berghefer" <rberghef@iastate.edu> wrote in message
> news:4ac3cde0$1@forums-1-dub...
>> Now I have ran into another problem.I use datasource for part of the rte.
>> I am using a simple print command rte_1.Print(1, "", TRUE, FALSE) what is
>> happening is all the inputfields are turnning to "??" question marks.
>> Again I hope someone can tell me what I am doing wrong.
>>
>>
>
>