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.

Could DW.Net save as PDF?

3 posts in DataWindow .NET Last posting was on 2010-07-26 18:45:47.0Z
lsy Posted on 2004-07-28 03:48:50.0Z
From: "lsy" <indwrld@hotmail.com>
Newsgroups: sybase.public.datawindow.net
Subject: Could DW.Net save as PDF?
Lines: 15
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: <41072328$1@forums-2-dub>
X-Original-Trace: 27 Jul 2004 20:53:12 -0700, 211.40.136.235
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 27 Jul 2004 20:41:31 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 27 Jul 2004 20:48:50 -0700
X-Trace: forums-1-dub 1090986530 10.22.108.75 (27 Jul 2004 20:48:50 -0700)
X-Original-Trace: 27 Jul 2004 20:48:50 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:13
Article PK: 124453

Thank for answer :)
I think it's better to choose dw.net instead of other grid tools.

I have tested dw.net for serveral days, got another question.

code)
adw_print.SaveAs(ls_path,Sybase.DataWindow.FileSaveAsType.Pdf, true);

When process meet this code, program downs.
Because I have not well known about dw.net and pb script yet,
don't know what's the matter with this code.
Dw.net can save as Excel format, but when PDF format, program downs.


S. Juan Manuel Hernandez Posted on 2010-07-26 18:45:47.0Z
From: "S. Juan Manuel Hernandez" <sidlors@gmail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1
MIME-Version: 1.0
Newsgroups: sybase.public.datawindow.net
Subject: Re: Could DW.Net save as PDF?
References: <41072328$1@forums-2-dub>
In-Reply-To: <41072328$1@forums-2-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4c4dd7db@forums-1-dub>
Date: 26 Jul 2010 11:45:47 -0700
X-Trace: forums-1-dub 1280169947 10.22.241.152 (26 Jul 2010 11:45:47 -0700)
X-Original-Trace: 26 Jul 2010 11:45:47 -0700, vip152.sybase.com
Lines: 41
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:7040
Article PK: 124405

El 27/07/2004 10:48 p.m., lsy escribió:

> Thank for answer :)
> I think it's better to choose dw.net instead of other grid tools.
>
> I have tested dw.net for serveral days, got another question.
>
> code)
> adw_print.SaveAs(ls_path,Sybase.DataWindow.FileSaveAsType.Pdf, true);
>
> When process meet this code, program downs.
> Because I have not well known about dw.net and pb script yet,
> don't know what's the matter with this code.
> Dw.net can save as Excel format, but when PDF format, program downs.
>
>

hi friend, look, i did this:

1.- install gosthCrip
2.- install CutePDF


create a funtion whith this code



adw_print.SaveAs( "c:\temp\temp.pdf",PDF!, true,EncodingUTF8!) //Para
los hispanos que usamos acentos y ñ's



#if defined PBWEBFORM then
DownloadFile("c:\temp\temp.pdf", true)
#end if





And Thats all!!


Bruce Armstrong [TeamSybase] Posted on 2004-07-28 04:30:51.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.datawindow.net
Subject: Re: Could DW.Net save as PDF?
Organization: TeamSybase
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <ahaeg091u5g8adhib32k4lk7las64ssj0u@4ax.com>
References: <41072328$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: 68-190-226-38.la-cbi.charterpipeline.net
X-Original-NNTP-Posting-Host: 68-190-226-38.la-cbi.charterpipeline.net
Date: 27 Jul 2004 21:30:51 -0700
X-Trace: forums-1-dub 1090989051 68.190.226.38 (27 Jul 2004 21:30:51 -0700)
X-Original-Trace: 27 Jul 2004 21:30:51 -0700, 68-190-226-38.la-cbi.charterpipeline.net
Lines: 51
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:14
Article PK: 124452

Have you installed GhostScript? The SaveAs PDF functionality requires
it.

On 27 Jul 2004 20:48:50 -0700, "lsy" <indwrld@hotmail.com> wrote:

>
>Thank for answer :)
>I think it's better to choose dw.net instead of other grid tools.
>
>I have tested dw.net for serveral days, got another question.
>
>code)
> adw_print.SaveAs(ls_path,Sybase.DataWindow.FileSaveAsType.Pdf, true);
>
>When process meet this code, program downs.
>Because I have not well known about dw.net and pb script yet,
>don't know what's the matter with this code.
>Dw.net can save as Excel format, but when PDF format, program downs.
>

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.