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.

Sybase DataWindow PS - How to create... in a distribution setup file

9 posts in DataWindow Last posting was on 2008-08-28 22:59:19.0Z
Enrico Fuoti Posted on 2008-08-27 18:58:17.0Z
From: "Enrico Fuoti" <efuoti@hotmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Sybase DataWindow PS - How to create... in a distribution setup file
Lines: 2
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 12.0.1606
X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48b5a3c9$1@forums-1-dub>
Date: 27 Aug 2008 11:58:17 -0700
X-Trace: forums-1-dub 1219863497 10.22.241.152 (27 Aug 2008 11:58:17 -0700)
X-Original-Trace: 27 Aug 2008 11:58:17 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87653
Article PK: 416909

Hi, I'm trying to include gostscript installation with my setup executable.
Everything works fine, but PDF is not generated if Sybase DataWindow PS
printer is not present.
this can be done manually using the files in the drivers directory, but i
would like to include creation within the setup file..
SaveAs(ls_file , PDF!, true) should create the printer automatically but i
guess it doesn't work...
Any suggestion???
Thankss


"Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel Posted on 2008-08-27 20:27:09.0Z
From: "Jerry Siegel [TeamSybase]" <jNOsSPAMsiegel@yahoo!.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48b5a3c9$1@forums-1-dub>
Subject: Re: Sybase DataWindow PS - How to create... in a distribution setup file
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48b5b89d$1@forums-1-dub>
Date: 27 Aug 2008 13:27:09 -0700
X-Trace: forums-1-dub 1219868829 10.22.241.152 (27 Aug 2008 13:27:09 -0700)
X-Original-Trace: 27 Aug 2008 13:27:09 -0700, vip152.sybase.com
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87654
Article PK: 416910

If you include the whole Drivers folder in the installation AND the user has
authority to add a printer, the driver should be installed the first time
the user does a SaveAs (pdf!)

"Enrico Fuoti" <efuoti@hotmail.com> wrote in message
news:48b5a3c9$1@forums-1-dub...
> Hi, I'm trying to include gostscript installation with my setup
> executable.
> Everything works fine, but PDF is not generated if Sybase DataWindow PS
> printer is not present.
> this can be done manually using the files in the drivers directory, but i
> would like to include creation within the setup file..
> SaveAs(ls_file , PDF!, true) should create the printer automatically but
> i guess it doesn't work...
> Any suggestion???
> Thankss
>
>


Arnd Schmidt Posted on 2008-08-27 22:11:22.0Z
From: Arnd Schmidt <arnd.schmidt@gmx.de>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Sybase DataWindow PS - How to create... in a distribution setup file
Message-ID: <qdkbb4tqbsj3m7bjk6ej3b2qbapeh4gf9j@4ax.com>
References: <48b5a3c9$1@forums-1-dub>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 27 Aug 2008 15:11:22 -0700
X-Trace: forums-1-dub 1219875082 10.22.241.152 (27 Aug 2008 15:11:22 -0700)
X-Original-Trace: 27 Aug 2008 15:11:22 -0700, vip152.sybase.com
Lines: 24
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87655
Article PK: 416911

If you have a setup, that is running with admin privileges,
just install the "Sybase Datawindow PS" printer druing setup.

It's worth to try something like:

rundll32.exe printui.dll, PrintUIEntry /q /if /f .\ADIST5.INF /b "Sybase DataWindow PS" /m "Acrobat Distiller" /r "FILE:"

hth

Arnd

On 27 Aug 2008 11:58:17 -0700, "Enrico Fuoti" <efuoti@hotmail.com> wrote:

>Hi, I'm trying to include gostscript installation with my setup executable.
>Everything works fine, but PDF is not generated if Sybase DataWindow PS
>printer is not present.
>this can be done manually using the files in the drivers directory, but i
>would like to include creation within the setup file..
>SaveAs(ls_file , PDF!, true) should create the printer automatically but i
>guess it doesn't work...
>Any suggestion???
>Thankss
>


Chris Pollach Posted on 2008-08-28 11:54:34.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48b5a3c9$1@forums-1-dub> <qdkbb4tqbsj3m7bjk6ej3b2qbapeh4gf9j@4ax.com>
Subject: Re: Sybase DataWindow PS - How to create... in a distribution setup file
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48b691fa$1@forums-1-dub>
Date: 28 Aug 2008 04:54:34 -0700
X-Trace: forums-1-dub 1219924474 10.22.241.152 (28 Aug 2008 04:54:34 -0700)
X-Original-Trace: 28 Aug 2008 04:54:34 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87659
Article PK: 416913

Arnd;

Have you tried this on Vista?

--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com

"Arnd Schmidt" <arnd.schmidt@gmx.de> wrote in message
news:qdkbb4tqbsj3m7bjk6ej3b2qbapeh4gf9j@4ax.com...
> If you have a setup, that is running with admin privileges,
> just install the "Sybase Datawindow PS" printer druing setup.
>
> It's worth to try something like:
>
> rundll32.exe printui.dll, PrintUIEntry /q /if /f .\ADIST5.INF /b "Sybase
> DataWindow PS" /m "Acrobat Distiller" /r "FILE:"
>
> hth
>
> Arnd
>
> On 27 Aug 2008 11:58:17 -0700, "Enrico Fuoti" <efuoti@hotmail.com> wrote:
>
>>Hi, I'm trying to include gostscript installation with my setup
>>executable.
>>Everything works fine, but PDF is not generated if Sybase DataWindow PS
>>printer is not present.
>>this can be done manually using the files in the drivers directory, but i
>>would like to include creation within the setup file..
>>SaveAs(ls_file , PDF!, true) should create the printer automatically but
>>i
>>guess it doesn't work...
>>Any suggestion???
>>Thankss
>>
>


Enrico Fuoti Posted on 2008-08-28 16:54:56.0Z
From: "Enrico Fuoti" <efuoti@hotmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48b5a3c9$1@forums-1-dub> <qdkbb4tqbsj3m7bjk6ej3b2qbapeh4gf9j@4ax.com> <48b691fa$1@forums-1-dub>
Subject: Re: Sybase DataWindow PS - How to create... in a distribution setup file
Lines: 1
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 12.0.1606
X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48b6d860$1@forums-1-dub>
Date: 28 Aug 2008 09:54:56 -0700
X-Trace: forums-1-dub 1219942496 10.22.241.152 (28 Aug 2008 09:54:56 -0700)
X-Original-Trace: 28 Aug 2008 09:54:56 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87661
Article PK: 416917

Not yet,
I'll do and let you know!


"Chris Pollach" <cpollach@travel-net.com> ha scritto nel messaggio
news:48b691fa$1@forums-1-dub...

> Arnd;
>
> Have you tried this on Vista?
>
> --
> Regards ... Chris
> ISUG - NA RUG Director
> http://chrispollach.pbdjmagazine.com
>
>
> "Arnd Schmidt" <arnd.schmidt@gmx.de> wrote in message
> news:qdkbb4tqbsj3m7bjk6ej3b2qbapeh4gf9j@4ax.com...
>> If you have a setup, that is running with admin privileges,
>> just install the "Sybase Datawindow PS" printer druing setup.
>>
>> It's worth to try something like:
>>
>> rundll32.exe printui.dll, PrintUIEntry /q /if /f .\ADIST5.INF /b "Sybase
>> DataWindow PS" /m "Acrobat Distiller" /r "FILE:"
>>
>> hth
>>
>> Arnd
>>
>> On 27 Aug 2008 11:58:17 -0700, "Enrico Fuoti" <efuoti@hotmail.com> wrote:
>>
>>>Hi, I'm trying to include gostscript installation with my setup
>>>executable.
>>>Everything works fine, but PDF is not generated if Sybase DataWindow PS
>>>printer is not present.
>>>this can be done manually using the files in the drivers directory, but i
>>>would like to include creation within the setup file..
>>>SaveAs(ls_file , PDF!, true) should create the printer automatically but
>>>i
>>>guess it doesn't work...
>>>Any suggestion???
>>>Thankss
>>>
>>
>
>


Arnd Schmidt Posted on 2008-08-28 22:59:19.0Z
From: Arnd Schmidt <arnd.schmidt@gmx.de>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Sybase DataWindow PS - How to create... in a distribution setup file
Message-ID: <ehbeb4do0b81otbpk7k1r59gn0kp6df28g@4ax.com>
References: <48b5a3c9$1@forums-1-dub> <qdkbb4tqbsj3m7bjk6ej3b2qbapeh4gf9j@4ax.com> <48b691fa$1@forums-1-dub>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 28 Aug 2008 15:59:19 -0700
X-Trace: forums-1-dub 1219964359 10.22.241.152 (28 Aug 2008 15:59:19 -0700)
X-Original-Trace: 28 Aug 2008 15:59:19 -0700, vip152.sybase.com
Lines: 22
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87666
Article PK: 416923

Unfortunately: No :-(

I read your Info about the printer driver, that is included in gs.

On XP you can install the driver with a commandline like this:

cd gs???\lib

rundll32.exe printui.dll, PrintUIEntry /q /if /f .\ghostpdf.inf /b "Sybase DataWindow PS" /m "Ghostscript PDF" /r "FILE:"

I do not know if this runs on Vista - Chris, can you try this ?

Arnd

On 28 Aug 2008 04:54:34 -0700, "Chris Pollach" <cpollach@travel-net.com> wrote:

>Arnd;
>
> Have you tried this on Vista?


Enrico Fuoti Posted on 2008-08-28 10:32:49.0Z
From: "Enrico Fuoti" <efuoti@hotmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48b5a3c9$1@forums-1-dub> <qdkbb4tqbsj3m7bjk6ej3b2qbapeh4gf9j@4ax.com>
Subject: Re: Sybase DataWindow PS - How to create... in a distribution setup file
Lines: 3
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 12.0.1606
X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48b67ed1@forums-1-dub>
Date: 28 Aug 2008 03:32:49 -0700
X-Trace: forums-1-dub 1219919569 10.22.241.152 (28 Aug 2008 03:32:49 -0700)
X-Original-Trace: 28 Aug 2008 03:32:49 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87658
Article PK: 416915

Thank you very much Arnd, It workd perfectly! :-)


"Arnd Schmidt" <arnd.schmidt@gmx.de> ha scritto nel messaggio
news:qdkbb4tqbsj3m7bjk6ej3b2qbapeh4gf9j@4ax.com...

> If you have a setup, that is running with admin privileges,
> just install the "Sybase Datawindow PS" printer druing setup.
>
> It's worth to try something like:
>
> rundll32.exe printui.dll, PrintUIEntry /q /if /f .\ADIST5.INF /b "Sybase
> DataWindow PS" /m "Acrobat Distiller" /r "FILE:"
>
> hth
>
> Arnd
>
> On 27 Aug 2008 11:58:17 -0700, "Enrico Fuoti" <efuoti@hotmail.com> wrote:
>
>>Hi, I'm trying to include gostscript installation with my setup
>>executable.
>>Everything works fine, but PDF is not generated if Sybase DataWindow PS
>>printer is not present.
>>this can be done manually using the files in the drivers directory, but i
>>would like to include creation within the setup file..
>>SaveAs(ls_file , PDF!, true) should create the printer automatically but
>>i
>>guess it doesn't work...
>>Any suggestion???
>>Thankss
>>
>


ganesh Posted on 2008-08-28 16:20:07.0Z
Reply-To: "Ganesh" <ganesh.ananthu@jenzabar.net>
From: "Ganesh" <ganesh.ananthu@jenzabar.net>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48b5a3c9$1@forums-1-dub> <qdkbb4tqbsj3m7bjk6ej3b2qbapeh4gf9j@4ax.com>
Subject: Re: Sybase DataWindow PS - How to create... in a distribution setup file
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <48b6d037$1@forums-1-dub>
Date: 28 Aug 2008 09:20:07 -0700
X-Trace: forums-1-dub 1219940407 10.22.241.152 (28 Aug 2008 09:20:07 -0700)
X-Original-Trace: 28 Aug 2008 09:20:07 -0700, vip152.sybase.com
X-Authenticated-User: pb110beta
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87660
Article PK: 416916

Thanks a lot Arnd, this is what I was expecting to happen when we use the
SAVEAS for PDF for first time when the code runs, unfortunately for some
reason it doesn't, but during our product installation we could able to add
your suggested way of installing it and that should resolve our problem.
Thanks.

"Arnd Schmidt" <arnd.schmidt@gmx.de> wrote in message
news:qdkbb4tqbsj3m7bjk6ej3b2qbapeh4gf9j@4ax.com...
> If you have a setup, that is running with admin privileges,
> just install the "Sybase Datawindow PS" printer druing setup.
>
> It's worth to try something like:
>
> rundll32.exe printui.dll, PrintUIEntry /q /if /f .\ADIST5.INF /b "Sybase
> DataWindow PS" /m "Acrobat Distiller" /r "FILE:"
>
> hth
>
> Arnd
>
> On 27 Aug 2008 11:58:17 -0700, "Enrico Fuoti" <efuoti@hotmail.com> wrote:
>
>>Hi, I'm trying to include gostscript installation with my setup
>>executable.
>>Everything works fine, but PDF is not generated if Sybase DataWindow PS
>>printer is not present.
>>this can be done manually using the files in the drivers directory, but i
>>would like to include creation within the setup file..
>>SaveAs(ls_file , PDF!, true) should create the printer automatically but
>>i
>>guess it doesn't work...
>>Any suggestion???
>>Thankss
>>
>


Arnd Schmidt Posted on 2008-08-28 22:44:52.0Z
From: Arnd Schmidt <arnd.schmidt@gmx.de>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Sybase DataWindow PS - How to create... in a distribution setup file
Message-ID: <hkaeb49l5q7usqkf9vh176eu0l8b5irh9h@4ax.com>
References: <48b5a3c9$1@forums-1-dub> <qdkbb4tqbsj3m7bjk6ej3b2qbapeh4gf9j@4ax.com> <48b6d037$1@forums-1-dub>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 28 Aug 2008 15:44:52 -0700
X-Trace: forums-1-dub 1219963492 10.22.241.152 (28 Aug 2008 15:44:52 -0700)
X-Original-Trace: 28 Aug 2008 15:44:52 -0700, vip152.sybase.com
Lines: 74
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87665
Article PK: 416921

As Chris remarked, this old ADIST5.INF and it's ddls were not made for "Vista".

So should use an other postscript printer driver for Vista.

My experience is that the quality of the ADIST5.INF drivers is really poor,
so that I am using a "HP Laserjet" Driver.

Just remember:
You need a printer named "Sybase Datawindow PS" that print to FILE:
and produces Postscript, that can be processed by ghostscript.

Chris wrote down a description to install a printer driver that is included in
GS 8.63.

DO install a PS printer as follows:
a) Open "Printers" section in Vista (Control Panel=>Printers)
b) Use RHMB in the ListView area of the Printers dialog and choose
"Run as Administrator => Add Printer"
(see attached)
c) Choose "Add Local Printer"
d) Select "File" as the Port
e) For the "driver" select "Have Disk"
f) Select "Browse" and navigate to where you installed GS 8.63
g) ** Select the .INF from GS's install location => "LIB" folder =>
"GhostPDF.inf"! **
h) Click OK
I) Accept "GhostScript PDF" as the print driver.
j) Change the printer name to "Sybase DataWindow PS" when prompted.


I am sure you can also built a setup script for this one ;-)

Arnd

On 28 Aug 2008 09:20:07 -0700, "Ganesh" <ganesh.ananthu@jenzabar.net> wrote:

>Thanks a lot Arnd, this is what I was expecting to happen when we use the
>SAVEAS for PDF for first time when the code runs, unfortunately for some
>reason it doesn't, but during our product installation we could able to add
>your suggested way of installing it and that should resolve our problem.
>Thanks.
>
>"Arnd Schmidt" <arnd.schmidt@gmx.de> wrote in message
>news:qdkbb4tqbsj3m7bjk6ej3b2qbapeh4gf9j@4ax.com...
>> If you have a setup, that is running with admin privileges,
>> just install the "Sybase Datawindow PS" printer druing setup.
>>
>> It's worth to try something like:
>>
>> rundll32.exe printui.dll, PrintUIEntry /q /if /f .\ADIST5.INF /b "Sybase
>> DataWindow PS" /m "Acrobat Distiller" /r "FILE:"
>>
>> hth
>>
>> Arnd
>>
>> On 27 Aug 2008 11:58:17 -0700, "Enrico Fuoti" <efuoti@hotmail.com> wrote:
>>
>>>Hi, I'm trying to include gostscript installation with my setup
>>>executable.
>>>Everything works fine, but PDF is not generated if Sybase DataWindow PS
>>>printer is not present.
>>>this can be done manually using the files in the drivers directory, but i
>>>would like to include creation within the setup file..
>>>SaveAs(ls_file , PDF!, true) should create the printer automatically but
>>>i
>>>guess it doesn't work...
>>>Any suggestion???
>>>Thankss
>>>
>>
>