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

2 posts in Appeon (partner product) Last posting was on 2010-08-20 05:26:27.0Z
Mahendra Posted on 2010-08-19 13:36:08.0Z
From: "Mahendra" <mahendra@acutesoftwares.in>
Newsgroups: sybase.public.appeon
Organization: 121.246.75.178
X-Newsreader: AspNNTP 1.50 (JodoHost)
Subject: PDF Printer
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
Message-ID: <4c6d3348$1@forums-1-dub>
Date: 19 Aug 2010 06:36:08 -0700
X-Trace: forums-1-dub 1282224968 10.22.241.152 (19 Aug 2010 06:36:08 -0700)
X-Original-Trace: 19 Aug 2010 06:36:08 -0700, vip152.sybase.com
Lines: 33
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2533
Article PK: 21744

Issue Related PDF Printing Using PB10.5 and Appeon 6.2
1) I Install the Server PDFPrinter
There is the Following Code Work Properly in 2-tier For PDF Saving
dw_report.Object.DataWindow.Export.PDF.Method = Distill!
dw_report.Object.DataWindow.Printer = "Appeon PDFPrinter"
dw_report.Object.DataWindow.Export.PDF.Distill.CustomPostScript="Yes"
dw_report.SaveAs(ls_file_path,PDF!,True) // for Save the fil on ls_file_path
location

But it does not Work in Web base (Appeon EAserver )

So I use to Print Event to Save the PDF ,
But the Print Event Save the PDF in My Documents\AppeonPrinter Folder with
powerbuilder.pdf name
There is no Control in my Hand to Give the Name of PDF File.
When I Give the Print the it Queue to Save the PDF File to Printer Job ..the old
PDF file Override the new one..

My Problem is the I develop a atomize code for PDF Datawinodw Report Generation.
There is a loop of Datawinodw Report to generate the PDF File, But I Can&#8217;t
have Control in My Hand to Define the Location for Save them and Also to Give
the Name for that.

2) I Install the Client PDFPrinter then
After Install the Client PDF Printer&#8230;
Save as Does Not Work as per Above Describe Code
The Print Event Work and When I Call the Print() then it Ask to location for
Save the PDF File
There is no Control or I Can&#8217;t get any help related to give the Location
for Save the File..

---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Steven Posted on 2010-08-20 05:26:27.0Z
Sender: 1204.4c69f513.1804289383@sybase.com
From: steven
Newsgroups: sybase.public.appeon
Subject: Re: PDF Printer
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4c6e1203.7b77.1681692777@sybase.com>
References: <4c6d3348$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 19 Aug 2010 22:26:27 -0700
X-Trace: forums-1-dub 1282281987 10.22.241.41 (19 Aug 2010 22:26:27 -0700)
X-Original-Trace: 19 Aug 2010 22:26:27 -0700, 10.22.241.41
Lines: 17
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2534
Article PK: 21745

Hi Mahendra,

Appeon have added a new feature of DataWindow SaveAs PDF
function in 6.2 newest version. Appeon can directly support
this feature and user needn't install any other software(In
the PowerBuilder need install the Ghostscript). Appeon can
support the SaveAs PDF scripts as below:
integer dwcontrol.SaveAs (string filename, PDF!, true)
integer dwcontrol.SaveAs ( )
I suggest you contact your Sybase sales representative for
Appeon 6.2 latest EBF.

Regards,
Steven

Regards,
Steven