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.

PB11.5 & Printing & PDF

6 posts in DataWindow Last posting was on 2008-09-30 00:23:24.0Z
Obam Posted on 2008-09-26 23:16:47.0Z
Sender: 3da9.48dc2c8a.1804289383@sybase.com
From: Obam
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: PB11.5 & Printing & PDF
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48dd6d5f.63f4.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 26 Sep 2008 16:16:47 -0700
X-Trace: forums-1-dub 1222471007 10.22.241.41 (26 Sep 2008 16:16:47 -0700)
X-Original-Trace: 26 Sep 2008 16:16:47 -0700, 10.22.241.41
Lines: 7
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87861
Article PK: 417116

I am getting an error with saveas -1 when I go to print.
I click on the button and it reads: SaveAS did not complete
successfully, return code is : -1 Do I need ghostscript
installed? If yes, how can I print without it installed? If
No, what am I doing wrong. The print dialog window opens
with 2 lines, 1 with status: existed (nothing displayed when
I open it) and 1 with status: failed. TIA


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2008-09-27 02:35:53.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48dd6d5f.63f4.1681692777@sybase.com>
Subject: Re: PB11.5 & Printing & PDF
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
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: <48dd9c09$1@forums-1-dub>
Date: 26 Sep 2008 19:35:53 -0700
X-Trace: forums-1-dub 1222482953 10.22.241.152 (26 Sep 2008 19:35:53 -0700)
X-Original-Trace: 26 Sep 2008 19:35:53 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87862
Article PK: 417117

Yes, you need to download and install GhostScript on each machine that will
SaveAs(PDF!). You also need to have a Postscript driver, which will be
installed automatically if you include the drivers folder in your
deployment, AND the user has authority to install printer drivers. See
chapter 19 of the User's Guide HTML book.
There is also an XSL-FO method of saving as PDF, or you could use a
third-party product that looks like a printer. Check out www.planetpdf.com
for information on that option.

<Obam> wrote in message news:48dd6d5f.63f4.1681692777@sybase.com...
>I am getting an error with saveas -1 when I go to print.
> I click on the button and it reads: SaveAS did not complete
> successfully, return code is : -1 Do I need ghostscript
> installed? If yes, how can I print without it installed? If
> No, what am I doing wrong. The print dialog window opens
> with 2 lines, 1 with status: existed (nothing displayed when
> I open it) and 1 with status: failed. TIA


Obam Posted on 2008-09-29 16:50:30.0Z
Sender: 6913.48e10177.1804289383@sybase.com
From: obam
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: PB11.5 & Printing & PDF
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48e10756.69c0.1681692777@sybase.com>
References: <48dd9c09$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 29 Sep 2008 09:50:30 -0700
X-Trace: forums-1-dub 1222707030 10.22.241.41 (29 Sep 2008 09:50:30 -0700)
X-Original-Trace: 29 Sep 2008 09:50:30 -0700, 10.22.241.41
Lines: 27
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87868
Article PK: 417125

I couldn't find a book called: User's Guide HTML.
I looked in the PB 11.5 Users Guide chapter 19, but I
couldn't find HTML...
Where should I look for this chapter? Thanks

> Yes, you need to download and install GhostScript on each
> machine that will SaveAs(PDF!). You also need to have a
> Postscript driver, which will be installed automatically
> if you include the drivers folder in your deployment, AND
> the user has authority to install printer drivers. See
> chapter 19 of the User's Guide HTML book. There is also an
> XSL-FO method of saving as PDF, or you could use a
> third-party product that looks like a printer. Check out
> www.planetpdf.com for information on that option.
>
> <Obam> wrote in message
> news:48dd6d5f.63f4.1681692777@sybase.com... >I am getting
> > an error with saveas -1 when I go to print. I click on
> > the button and it reads: SaveAS did not complete
> > successfully, return code is : -1 Do I need
> ghostscript installed? If yes, how can I print without it
> > installed? If No, what am I doing wrong. The print
> > dialog window opens with 2 lines, 1 with status: existed
> > (nothing displayed when I open it) and 1 with status:
> failed. TIA
>
>


John Strano[Sybase] Posted on 2008-09-29 18:54:37.0Z
From: "John Strano[Sybase]" <nichtspamjstrano@csi.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48dd9c09$1@forums-1-dub> <48e10756.69c0.1681692777@sybase.com>
Subject: Re: PB11.5 & Printing & PDF
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48e1246d@forums-1-dub>
Date: 29 Sep 2008 11:54:37 -0700
X-Trace: forums-1-dub 1222714477 10.22.241.152 (29 Sep 2008 11:54:37 -0700)
X-Original-Trace: 29 Sep 2008 11:54:37 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87873
Article PK: 417128

http://infocenter.sybase.com/help/topic/com.sybase.dc00844_1150/html/pbug/BABHAFCGJK.htm

--
John Strano - Sybase Technology Evangelist

<obam> wrote in message news:48e10756.69c0.1681692777@sybase.com...
>I couldn't find a book called: User's Guide HTML.
> I looked in the PB 11.5 Users Guide chapter 19, but I
> couldn't find HTML...
> Where should I look for this chapter? Thanks
>
>> Yes, you need to download and install GhostScript on each
>> machine that will SaveAs(PDF!). You also need to have a
>> Postscript driver, which will be installed automatically
>> if you include the drivers folder in your deployment, AND
>> the user has authority to install printer drivers. See
>> chapter 19 of the User's Guide HTML book. There is also an
>> XSL-FO method of saving as PDF, or you could use a
>> third-party product that looks like a printer. Check out
>> www.planetpdf.com for information on that option.
>>
>> <Obam> wrote in message
>> news:48dd6d5f.63f4.1681692777@sybase.com... >I am getting
>> > an error with saveas -1 when I go to print. I click on
>> > the button and it reads: SaveAS did not complete
>> > successfully, return code is : -1 Do I need
>> ghostscript installed? If yes, how can I print without it
>> > installed? If No, what am I doing wrong. The print
>> > dialog window opens with 2 lines, 1 with status: existed
>> > (nothing displayed when I open it) and 1 with status:
>> failed. TIA
>>
>>


Obam Posted on 2008-09-30 00:23:24.0Z
Sender: 76a4.48e16f83.1804289383@sybase.com
From: obam
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: PB11.5 & Printing & PDF .. Help
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48e1717c.76fa.1681692777@sybase.com>
References: <48e1246d@forums-1-dub>
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: 29 Sep 2008 17:23:24 -0700
X-Trace: forums-1-dub 1222734204 10.22.241.41 (29 Sep 2008 17:23:24 -0700)
X-Original-Trace: 29 Sep 2008 17:23:24 -0700, 10.22.241.41
Lines: 82
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87876
Article PK: 417130

Thank you. I won't be able to use gnu so I am trying to
print using xsl. And I can do this in the windows app but I
get an error -1 when I deploy it to localhost and print. A
saveas returns -1 also. In the following instructions it
reads I have to put fop-0.20.4... in the PowerBuilder
runtime files. I have it installed in both program files &
inetpub but it doesn't seem to work. Where should I put
fop-0.20.4 & JRE files?
There are in:
C:\Inetpub\wwwroot\pb_webreports\fop-0.20.4
C:\Inetpub\wwwroot\pb_webreports\jdk1.5.0_12

TIA

instructions:
If a Web Form application uses the Apache processor to save
a DataWindow
and its data in PDF or XSL-FO format, you must include the
fop-0.20.4
(Apache processor) directory and the Java Runtime
Environment (JRE) on the
server computer.

The processor directory and the JRE must be in the same path
as the
PowerBuilder runtime files. For example, if pbvm110.dll and
the other
PowerBuilder runtime files are included in a server computer
directory called
ServerPB, the Apache processor and the JRE must be copied to
ServerPB/fop-0.20.4 and ServerPB/jre. However, you do not
need to place a
copy of the JRE in this location if the full JDK is
installed on the server
computer and is in its classpath.

The following JAR files must be in the server computer’s
classpath:
• fop-0.20.4\build\fop.jar
• fop-0.20.4\lib\batik.jar
• fop-0.20.4\lib\xalan-2.3.1.jar
• fop-0.20.4\lib\xercesImpl-2.1.0.jar
• fop-0.20.4\lib\xml-apis.jar
• fop-0.20.4\lib\avalon-framework-cvs-20020315.jar

>
http://infocenter.sybase.com/help/topic/com.sybase.dc00844_1150/html/pbug/BABHAFCGJK.htm
>
> --
> John Strano - Sybase Technology Evangelist
>
>
> <obam> wrote in message
> news:48e10756.69c0.1681692777@sybase.com... >I couldn't
> > find a book called: User's Guide HTML. I looked in the
> > PB 11.5 Users Guide chapter 19, but I couldn't find
> > HTML... Where should I look for this chapter? Thanks
> >
> >> Yes, you need to download and install GhostScript on
> each >> machine that will SaveAs(PDF!). You also need to
> have a >> Postscript driver, which will be installed
> automatically >> if you include the drivers folder in your
> deployment, AND >> the user has authority to install
> printer drivers. See >> chapter 19 of the User's Guide
> HTML book. There is also an >> XSL-FO method of saving as
> PDF, or you could use a >> third-party product that looks
> like a printer. Check out >> www.planetpdf.com for
> information on that option. >>
> >> <Obam> wrote in message
> >> news:48dd6d5f.63f4.1681692777@sybase.com... >I am
> getting >> > an error with saveas -1 when I go to print. I
> click on >> > the button and it reads: SaveAS did not
> complete >> > successfully, return code is : -1 Do I
> need >> ghostscript installed? If yes, how can I print
> without it >> > installed? If No, what am I doing wrong.
> The print >> > dialog window opens with 2 lines, 1 with
> status: existed >> > (nothing displayed when I open it)
> and 1 with status: >> failed. TIA
> >>
> >>
>
>


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2008-09-29 17:06:24.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48dd9c09$1@forums-1-dub> <48e10756.69c0.1681692777@sybase.com>
Subject: Re: PB11.5 & Printing & PDF
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
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: <48e10b10$1@forums-1-dub>
Date: 29 Sep 2008 10:06:24 -0700
X-Trace: forums-1-dub 1222707984 10.22.241.152 (29 Sep 2008 10:06:24 -0700)
X-Original-Trace: 29 Sep 2008 10:06:24 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87870
Article PK: 417133

You were in the right place. It is an "HTML Book" called "PB User's Guide".

<obam> wrote in message news:48e10756.69c0.1681692777@sybase.com...
>I couldn't find a book called: User's Guide HTML.
> I looked in the PB 11.5 Users Guide chapter 19, but I
> couldn't find HTML...
> Where should I look for this chapter? Thanks
>
>> Yes, you need to download and install GhostScript on each
>> machine that will SaveAs(PDF!). You also need to have a
>> Postscript driver, which will be installed automatically
>> if you include the drivers folder in your deployment, AND
>> the user has authority to install printer drivers. See
>> chapter 19 of the User's Guide HTML book. There is also an
>> XSL-FO method of saving as PDF, or you could use a
>> third-party product that looks like a printer. Check out
>> www.planetpdf.com for information on that option.
>>
>> <Obam> wrote in message
>> news:48dd6d5f.63f4.1681692777@sybase.com... >I am getting
>> > an error with saveas -1 when I go to print. I click on
>> > the button and it reads: SaveAS did not complete
>> > successfully, return code is : -1 Do I need
>> ghostscript installed? If yes, how can I print without it
>> > installed? If No, what am I doing wrong. The print
>> > dialog window opens with 2 lines, 1 with status: existed
>> > (nothing displayed when I open it) and 1 with status:
>> failed. TIA
>>
>>