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.

How to Disable SAVE AS dialogbox in Acrobat PDF Writer

2 posts in Objects Last posting was on 2002-12-31 15:14:58.0Z
Tushar Panchal Posted on 2002-12-30 15:28:39.0Z
Newsgroups: sybase.public.powerbuilder.objects
Reply-To: "Tushar Panchal" <tc_panchal@hotmail.com>
From: "Tushar Panchal" <tc_panchal@hotmail.com>
Subject: How to Disable SAVE AS dialogbox in Acrobat PDF Writer
Date: Mon, 30 Dec 2002 10:28:39 -0500
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: wcb138pc1.wcb.state.ny.us 12.107.138.1
Message-ID: <364_SkU6cqBsCHA.199@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:666
Article PK: 713232

Hi To all,

I am doing following things to achieve printing (saving) my report in PDF
format, and provide standard names to each report files.

Platform : PB 7.0.3(under Windows2000 Professional) , Using Acrobat PDF
writer 5.0.5


1. Getting default printer key , saving it into a local variable.
2. Changing default printer to Acrobat PDF writer
3. printing the datawindow report which pops up SAVE AS.. dialog box to save
the file.


I want to suppress that SAVE AS.. dialog box , and SAVE AS file name is
standard names , based on date and time when report gets saved & userdefined
path too.


i.e. i want save my reports in to C:\REPORTS\CB123002 , 123002 is today's
date





Thanks in advance

Tushar


Tushar Panchal Posted on 2002-12-31 15:14:58.0Z
Newsgroups: sybase.public.powerbuilder.objects
Reply-To: "Tushar Panchal" <tc_panchal@hotmail.com>
From: "Tushar Panchal" <tc_panchal@hotmail.com>
Subject: Re: How to Disable SAVE AS dialogbox in Acrobat PDF Writer
Date: Tue, 31 Dec 2002 10:14:58 -0500
Lines: 55
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: wcb138pc1.wcb.state.ny.us 12.107.138.1
Message-ID: <364_GUQneHOsCHA.310@forums.sybase.com>
References: <364_SkU6cqBsCHA.199@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:663
Article PK: 713234

I resolved the problem adding a registry String value "PDFFileName" to my
Acrobat PDF writer

Key
"HKEY_CURRENT_USER\Software\Adobe\Acrobat PDFWriter"

Function used

RegistrySet("HKEY_CURRENT_USER\Software\Adobe\Acrobat
PDFWriter","PDFFileName",ls_pdffile)

ls_pdffile is my pdf file name with the path



Tushar

"Tushar Panchal" <tc_panchal@hotmail.com> wrote in message
news:SkU6cqBsCHA.199@forums.sybase.com...
> Hi To all,
>
> I am doing following things to achieve printing (saving) my report in PDF
> format, and provide standard names to each report files.
>
> Platform : PB 7.0.3(under Windows2000 Professional) , Using Acrobat PDF
> writer 5.0.5
>
>
> 1. Getting default printer key , saving it into a local variable.
> 2. Changing default printer to Acrobat PDF writer
> 3. printing the datawindow report which pops up SAVE AS.. dialog box to
save
> the file.
>
>
> I want to suppress that SAVE AS.. dialog box , and SAVE AS file name is
> standard names , based on date and time when report gets saved &
userdefined
> path too.
>
>
> i.e. i want save my reports in to C:\REPORTS\CB123002 , 123002 is today's
> date
>
>
>
>
>
> Thanks in advance
>
> Tushar
>
>