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.

PDF Printer

4 posts in Appeon (partner product) Last posting was on 2010-05-19 02:51:13.0Z
Shenn Sellers Posted on 2010-05-13 16:10:12.0Z
From: "Shenn Sellers" <ssellers@co.riverside.ca.us>
Newsgroups: sybase.public.appeon
Subject: PDF Printer
Lines: 1
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4bec2464$1@forums-1-dub>
Date: 13 May 2010 09:10:12 -0700
X-Trace: forums-1-dub 1273767012 10.22.241.152 (13 May 2010 09:10:12 -0700)
X-Original-Trace: 13 May 2010 09:10:12 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2503
Article PK: 21728

I'm using PB 11.5 with Appeon Distribution version 6.2.0105.00 in IIS. I've
tried everything I can think of and I can't figure out how to get the PDF
Printer to work. I've installed the server printer version and I get an
error of "-1" every time I try to print to PDF. Does this not work with
IIS? I've noticed in AEM that there isn't a "Web" entry where you can set
the PDF Printer. Any ideas? Thanks.

Shenn Sellers

///////////////////////////////////////////////////////////////////////////////////

app_file = create appeonfileservice

ll_ret = app_file.of_logonfileserver ("10.20.230.17", 80,
"username=test;password=password" )

if (ll_ret < 0) then
MessageBox("LOGON ERROR", string(ll_ret))
return
end if

ll_ret = app_file.of_print2pdf(dw_report)

if (ll_ret < 0) then
MessageBox("PDF ERROR", string(ll_ret))
end if

ll_ret = app_file.of_logofffileserver()

if (ll_ret < 0) then
MessageBox("LOGOFF ERROR", string(ll_ret))
return
end if

if (isValid(app_file)) then destroy app_file


Steven Posted on 2010-05-14 08:08:41.0Z
Sender: 2cd1.4be8b666.1804289383@sybase.com
From: steven
Newsgroups: sybase.public.appeon
Subject: Re: PDF Printer
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4bed0509.4190.1681692777@sybase.com>
References: <4bec2464$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 14 May 2010 01:08:41 -0700
X-Trace: forums-1-dub 1273824521 10.22.241.41 (14 May 2010 01:08:41 -0700)
X-Original-Trace: 14 May 2010 01:08:41 -0700, 10.22.241.41
Lines: 8
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2504
Article PK: 21733

Hi Shenn Sellers,

Appeon can directly support Datawindow saveas pdf file. The
of_print2pdf function is only work as EAServer version. It
is a background print function.

Regards,
Steven


Shenn Sellers Posted on 2010-05-17 21:03:32.0Z
From: "Shenn Sellers" <ssellers@co.riverside.ca.us>
Newsgroups: sybase.public.appeon
References: <4bec2464$1@forums-1-dub> <4bed0509.4190.1681692777@sybase.com>
In-Reply-To: <4bed0509.4190.1681692777@sybase.com>
Subject: Re: PDF Printer
Lines: 1
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4bf1af24$1@forums-1-dub>
Date: 17 May 2010 14:03:32 -0700
X-Trace: forums-1-dub 1274130212 10.22.241.152 (17 May 2010 14:03:32 -0700)
X-Original-Trace: 17 May 2010 14:03:32 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2507
Article PK: 21729

OK. Is there a way for the client to install the client version of the PDF
Printer directly from the web application or do we have to provide them with
the install from a disk? Thanks.

Shenn Sellers

"steven" wrote in message news:4bed0509.4190.1681692777@sybase.com...
> Hi Shenn Sellers,
>
> Appeon can directly support Datawindow saveas pdf file. The
> of_print2pdf function is only work as EAServer version. It
> is a background print function.
>
> Regards,
> Steven


Steven Posted on 2010-05-19 02:51:13.0Z
Sender: 2b42.4bf33c2f.1804289383@sybase.com
From: steven
Newsgroups: sybase.public.appeon
Subject: Re: PDF Printer
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4bf35221.2de6.1681692777@sybase.com>
References: <4bf1af24$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 18 May 2010 19:51:13 -0700
X-Trace: forums-1-dub 1274237473 10.22.241.41 (18 May 2010 19:51:13 -0700)
X-Original-Trace: 18 May 2010 19:51:13 -0700, 10.22.241.41
Lines: 12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2508
Article PK: 21731

Hi Shenn Sellers,

Appeon can directly support Datawindow saveas pdf file. In
the PowerBuilder using the datawindow saveas pdf, you need
install the PostScript printing, but Appeon needn't any
software in the client.
Appeon can support the SaveAs PDF scripts as below:
integer dwcontrol.SaveAs (string filename, PDF!, true)
integer dwcontrol.SaveAs ( )

Regards,
Steven