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.

Will DW.Net have PrinterSetup function?

5 posts in DataWindow .NET Last posting was on 2004-08-17 15:35:25.0Z
lsy Posted on 2004-07-26 02:41:06.0Z
From: "lsy" <indwrld@hotmail.com>
Newsgroups: sybase.public.datawindow.net
Subject: Will DW.Net have PrinterSetup function?
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Original-NNTP-Posting-Host: 211.40.136.235
Message-ID: <41047043$1@forums-2-dub>
X-Original-Trace: 25 Jul 2004 19:45:23 -0700, 211.40.136.235
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 25 Jul 2004 19:34:00 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 25 Jul 2004 19:41:06 -0700
X-Trace: forums-1-dub 1090809666 10.22.108.75 (25 Jul 2004 19:41:06 -0700)
X-Original-Trace: 25 Jul 2004 19:41:06 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:8
Article PK: 124445

We have used PB 9.0 and developed Printer Setup Dialog looked similiar to MS
Excel's Printer Setup. Not Prompt Before Printing check box.

Nowadays, with beta DW.Net. have tested several functions, got a question of
the printerSetup function may be developed by Sybase.

Could DW.Net have PrinterSetup function ?
If true, we will wait next version of having that function. If not I have to
make that dialog. so i guess and ask. :)


dfish Posted on 2004-07-26 03:02:50.0Z
From: dfish@_no_spam_sybase.com (Dave Fish [Team Sybase])
Newsgroups: sybase.public.datawindow.net
Subject: Re: Will DW.Net have PrinterSetup function?
Organization: Sybase Professional Services
Reply-To: nospam_dfish@sybase.com_nospam
Message-ID: <41047234.7701373@forums.sybase.com>
References: <41047043$1@forums-2-dub>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: dfishxp.sybase.com
X-Original-NNTP-Posting-Host: dfishxp.sybase.com
Date: 25 Jul 2004 20:02:50 -0700
X-Trace: forums-1-dub 1090810970 158.77.11.18 (25 Jul 2004 20:02:50 -0700)
X-Original-Trace: 25 Jul 2004 20:02:50 -0700, dfishxp.sybase.com
Lines: 23
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:9
Article PK: 124446

That is really a PowerScript function and not a function of the
DataWindow. I don't believe there are plans to incorporate this in the
next release so you are better off writing your own.

Regards,
Dave Fish
Sybase

On 25 Jul 2004 19:41:06 -0700, "lsy" <indwrld@hotmail.com> wrote:

>
>We have used PB 9.0 and developed Printer Setup Dialog looked similiar to MS
>Excel's Printer Setup. Not Prompt Before Printing check box.
>
>Nowadays, with beta DW.Net. have tested several functions, got a question of
>the printerSetup function may be developed by Sybase.
>
>Could DW.Net have PrinterSetup function ?
>If true, we will wait next version of having that function. If not I have to
>make that dialog. so i guess and ask. :)
>
>


Bruce Armstrong [TeamSybase] Posted on 2004-07-26 04:43:10.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.datawindow.net
Subject: Re: Will DW.Net have PrinterSetup function?
Organization: TeamSybase
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <ig29g0hrvn2ve7740b4itb6hn17hnt14ak@4ax.com>
References: <41047043$1@forums-2-dub>
X-Newsreader: Forte Agent 2.0/32.646
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: lsanca1-ar3-012-029.biz.dsl.gtei.net
X-Original-NNTP-Posting-Host: lsanca1-ar3-012-029.biz.dsl.gtei.net
Date: 25 Jul 2004 21:43:10 -0700
X-Trace: forums-1-dub 1090816990 4.3.12.29 (25 Jul 2004 21:43:10 -0700)
X-Original-Trace: 25 Jul 2004 21:43:10 -0700, lsanca1-ar3-012-029.biz.dsl.gtei.net
Lines: 51
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:11
Article PK: 124449

DataWindow.Net is meant to be used as a control within a .Net
environment. I would think you would want to use the .Net PrintDialog
class in that case.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsPrintDialogClassTopic.asp

On 25 Jul 2004 19:41:06 -0700, "lsy" <indwrld@hotmail.com> wrote:

>
>We have used PB 9.0 and developed Printer Setup Dialog looked similiar to MS
>Excel's Printer Setup. Not Prompt Before Printing check box.
>
>Nowadays, with beta DW.Net. have tested several functions, got a question of
>the printerSetup function may be developed by Sybase.
>
>Could DW.Net have PrinterSetup function ?
>If true, we will wait next version of having that function. If not I have to
>make that dialog. so i guess and ask. :)
>

Bruce Armstrong [TeamSybase]
http://www.teamsybase.com

Vote for PocketBuilder in the Mobile Village awards
http://www.mobilevillage.com/awards.htm

Two 3rd party books on developing with PowerBuilder
http://www.pb9books.com?source=newsgroups

Need code sample? Check out CodeXchange:
http://www.codexchange.sybase.com

Preach the gospel at all times. If necessary, use words. - Francis of Assisi
http://www.needhim.org

---------------------------------------------------------------------
DISCLAIMER:

This newsgroup message is only intended for the recipient. Given that it
is a posting to a public newsgroup, that means if you can read this
message then you are the recipient. This message may contain information
that is confidential and protected from disclosure. And then again,
it may not.

Given that TeamSybase members are not employees of Sybase, the contents
of this message do not necessarily represent the views or policies of
Sybase. Given that TeamSybase is a diverse group of users of Sybase
products, the contents of this message do not necessarily represent the
views of a significant number of the members of TeamSybase. Given that the
author has mutliple personalities and hears voices in his head, the contents
of this message do not necessarily represent his own views.


Terence Posted on 2004-08-16 18:08:40.0Z
From: "Terence" <bc604No6881371Spam@hotmail.com>
Newsgroups: sybase.public.datawindow.net
References: <41047043$1@forums-2-dub> <ig29g0hrvn2ve7740b4itb6hn17hnt14ak@4ax.com>
Subject: Re: Will DW.Net have PrinterSetup function?
Lines: 72
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
X-Original-NNTP-Posting-Host: d64-180-168-73.bchsia.telus.net
Message-ID: <4120f977$1@forums-2-dub>
X-Original-Trace: 16 Aug 2004 11:14:15 -0700, d64-180-168-73.bchsia.telus.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 16 Aug 2004 10:59:28 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 16 Aug 2004 11:08:40 -0700
X-Trace: forums-1-dub 1092679720 10.22.108.75 (16 Aug 2004 11:08:40 -0700)
X-Original-Trace: 16 Aug 2004 11:08:40 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:138
Article PK: 124573

The problem is that you cannot assign the datawindow control to
printdialog.document and therefore dw.print() will always just print to the
current printer no matter how hard you try to change the printer in the
print dialog.

Perhaps I'm not using print dialog properly?

Terence



"Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>

wrote in message news:ig29g0hrvn2ve7740b4itb6hn17hnt14ak@4ax.com...
> DataWindow.Net is meant to be used as a control within a .Net
> environment. I would think you would want to use the .Net PrintDialog
> class in that case.
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsPrintDialogClassTopic.asp
>
> On 25 Jul 2004 19:41:06 -0700, "lsy" <indwrld@hotmail.com> wrote:
>
>>
>>We have used PB 9.0 and developed Printer Setup Dialog looked similiar to
>>MS
>>Excel's Printer Setup. Not Prompt Before Printing check box.
>>
>>Nowadays, with beta DW.Net. have tested several functions, got a question
>>of
>>the printerSetup function may be developed by Sybase.
>>
>>Could DW.Net have PrinterSetup function ?
>>If true, we will wait next version of having that function. If not I have
>>to
>>make that dialog. so i guess and ask. :)
>>
>
> Bruce Armstrong [TeamSybase]
> http://www.teamsybase.com
>
> Vote for PocketBuilder in the Mobile Village awards
> http://www.mobilevillage.com/awards.htm
>
> Two 3rd party books on developing with PowerBuilder
> http://www.pb9books.com?source=newsgroups
>
> Need code sample? Check out CodeXchange:
> http://www.codexchange.sybase.com
>
> Preach the gospel at all times. If necessary, use words. - Francis of
> Assisi
> http://www.needhim.org
>
> ---------------------------------------------------------------------
> DISCLAIMER:
>
> This newsgroup message is only intended for the recipient. Given that it
> is a posting to a public newsgroup, that means if you can read this
> message then you are the recipient. This message may contain information
> that is confidential and protected from disclosure. And then again,
> it may not.
>
> Given that TeamSybase members are not employees of Sybase, the contents
> of this message do not necessarily represent the views or policies of
> Sybase. Given that TeamSybase is a diverse group of users of Sybase
> products, the contents of this message do not necessarily represent the
> views of a significant number of the members of TeamSybase. Given that
> the
> author has mutliple personalities and hears voices in his head, the
> contents
> of this message do not necessarily represent his own views.


Jim O'Neil [Sybase] Posted on 2004-08-17 15:35:25.0Z
From: "Jim O'Neil [Sybase]" <joneil_at_sybase_dot_com>
Newsgroups: sybase.public.datawindow.net
Subject: Re: Will DW.Net have PrinterSetup function?
Message-ID: <nq84i0t9ru3dn5hefn92ufc8o9m053kabp@4ax.com>
References: <41047043$1@forums-2-dub> <ig29g0hrvn2ve7740b4itb6hn17hnt14ak@4ax.com> <4120f977$1@forums-2-dub>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: vpn-concord-186.sybase.com
X-Original-Trace: 17 Aug 2004 08:41:02 -0700, vpn-concord-186.sybase.com
Lines: 79
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 17 Aug 2004 08:26:06 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 17 Aug 2004 08:35:25 -0700
X-Trace: forums-1-dub 1092756925 10.22.108.75 (17 Aug 2004 08:35:25 -0700)
X-Original-Trace: 17 Aug 2004 08:35:25 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:149
Article PK: 124582

You should be able to do a
dw.Modify("DataWindow.Print.PrinterName='xxxx'"), but I would agree
some tighter integration here would be a nice enhancement.

On 16 Aug 2004 11:08:40 -0700, "Terence"

<bc604No6881371Spam@hotmail.com> wrote:

>The problem is that you cannot assign the datawindow control to
>printdialog.document and therefore dw.print() will always just print to the
>current printer no matter how hard you try to change the printer in the
>print dialog.
>
>Perhaps I'm not using print dialog properly?
>
>Terence
>
>
>
>"Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
>wrote in message news:ig29g0hrvn2ve7740b4itb6hn17hnt14ak@4ax.com...
>> DataWindow.Net is meant to be used as a control within a .Net
>> environment. I would think you would want to use the .Net PrintDialog
>> class in that case.
>>
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsPrintDialogClassTopic.asp
>>
>> On 25 Jul 2004 19:41:06 -0700, "lsy" <indwrld@hotmail.com> wrote:
>>
>>>
>>>We have used PB 9.0 and developed Printer Setup Dialog looked similiar to
>>>MS
>>>Excel's Printer Setup. Not Prompt Before Printing check box.
>>>
>>>Nowadays, with beta DW.Net. have tested several functions, got a question
>>>of
>>>the printerSetup function may be developed by Sybase.
>>>
>>>Could DW.Net have PrinterSetup function ?
>>>If true, we will wait next version of having that function. If not I have
>>>to
>>>make that dialog. so i guess and ask. :)
>>>
>>
>> Bruce Armstrong [TeamSybase]
>> http://www.teamsybase.com
>>
>> Vote for PocketBuilder in the Mobile Village awards
>> http://www.mobilevillage.com/awards.htm
>>
>> Two 3rd party books on developing with PowerBuilder
>> http://www.pb9books.com?source=newsgroups
>>
>> Need code sample? Check out CodeXchange:
>> http://www.codexchange.sybase.com
>>
>> Preach the gospel at all times. If necessary, use words. - Francis of
>> Assisi
>> http://www.needhim.org
>>
>> ---------------------------------------------------------------------
>> DISCLAIMER:
>>
>> This newsgroup message is only intended for the recipient. Given that it
>> is a posting to a public newsgroup, that means if you can read this
>> message then you are the recipient. This message may contain information
>> that is confidential and protected from disclosure. And then again,
>> it may not.
>>
>> Given that TeamSybase members are not employees of Sybase, the contents
>> of this message do not necessarily represent the views or policies of
>> Sybase. Given that TeamSybase is a diverse group of users of Sybase
>> products, the contents of this message do not necessarily represent the
>> views of a significant number of the members of TeamSybase. Given that
>> the
>> author has mutliple personalities and hears voices in his head, the
>> contents
>> of this message do not necessarily represent his own views.
>