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.

Problems printing in Web datawindow

2 posts in DataWindow Last posting was on 2008-08-15 13:08:08.0Z
Anita Posted on 2008-08-14 23:02:12.0Z
Sender: 85d.48a4b877.1804289383@sybase.com
From: Anita
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Problems printing in Web datawindow
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48a4b974.872.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 14 Aug 2008 16:02:12 -0700
X-Trace: forums-1-dub 1218754932 10.22.241.41 (14 Aug 2008 16:02:12 -0700)
X-Original-Trace: 14 Aug 2008 16:02:12 -0700, 10.22.241.41
Lines: 5
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87556
Article PK: 416813

Developing a Web app using PB11.1. It say PrintSetUp() is
not supported. How do I allow user to select a printer?

PrintGetPrinters() is returning null, even though I have
several printers available to my machine.


Ted Zimmerman [Sybase] Posted on 2008-08-15 13:08:08.0Z
Sender: 278c.48a1f068.1804289383@sybase.com
From: Ted Zimmerman [Sybase]
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Problems printing in Web datawindow
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48a57fb8.2318.1681692777@sybase.com>
References: <48a4b974.872.1681692777@sybase.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 15 Aug 2008 06:08:08 -0700
X-Trace: forums-1-dub 1218805688 10.22.241.41 (15 Aug 2008 06:08:08 -0700)
X-Original-Trace: 15 Aug 2008 06:08:08 -0700, 10.22.241.41
Lines: 21
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87562
Article PK: 416818

You save the datawindows as pdf files. The following is
from Deploying Applications and Components to .NET
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.dc00586_1110/html/dplynet/title.htm&toc=/com.sybase.help.pb_11.1/toc.xml
which you should look at as there is a section in there on
setting up printing pdf files.

Printing DataWindow objects Although the PrintDataWindow or
PrintScreen print functions are not supported, users can
save DataWindow objects and their data as PDF files, and can
print the current Web Forms page using a browser’s print
menu when those are available. (Browser menus are available
only when
the default.aspx page name is included in the URL used to
start the Web Forms
application.)

> Developing a Web app using PB11.1. It say PrintSetUp() is
> not supported. How do I allow user to select a printer?
>
> PrintGetPrinters() is returning null, even though I have
> several printers available to my machine.