Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Report to PDF using powerbuilder

Posted on 2009-07-06
8
Medium Priority
?
1,113 Views
Last Modified: 2013-12-26
I want to Generate PDF file from PowerBuilder, i dont want to use ghostscript
how i can do that.

0
Comment
Question by:Deyhim
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 14

Expert Comment

by:shru_0409
ID: 24783990
dw1.Modify("DataWindow.Export.PDF.Method = XSLFOP! ")

or check the power builder help
0
 
LVL 14

Expert Comment

by:shru_0409
ID: 24783999
nt li_ret

dw1.Object.DataWindow.Export.PDF.Method = Distill!

dw1.Object.DataWindow.Printer = &
   "HP LaserJet 4Si/4Si MX PostScript"

dw1.Object.DataWindow.Export.PDF.  &
   Distill.CustomPostScript="1"

li_ret = dw1.SaveAs("custom.pdf", PDF!, true)
0
 
LVL 1

Author Comment

by:Deyhim
ID: 24784056
can we use save as from Datawindow not window?
i mean user define action for button?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 1

Author Comment

by:Deyhim
ID: 24784117
when i used saverowsas() i received error message
Filed has beed damaged ....etc
0
 
LVL 14

Expert Comment

by:shru_0409
ID: 24784122
yes
u can check powerbuilder help
0
 
LVL 14

Expert Comment

by:shru_0409
ID: 24784146
in  buttonclicked event write this scrip


IF dwo.name = 'b_1' THEN
      if dw_1.Rowcount( ) > 0 THEN
            dw_1.Saveas( )
      END IF;            
END IF      
0
 
LVL 1

Author Comment

by:Deyhim
ID: 24784309
okay... im not using Window Event..
i think Using GNU Ghostscript only solution !!!!
0
 
LVL 14

Accepted Solution

by:
shru_0409 earned 1500 total points
ID: 24784639
i don't have much idea about ghostscrip  pls check this link
http://groups.google.com/group/sybase.public.powerbuilder.objects/msg/41096cc3c5311ca3
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question