Solved

Report to PDF using powerbuilder

Posted on 2009-07-06
8
1,072 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
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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. …
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

733 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